:root {
    --graphite: #25282b;
    --graphite-soft: #34383c;
    --warm-white: #f5f2eb;
    --warm-white-dim: #e6e1d7;
    --copper: #b56f3b;
  
    --stonebridge-navy: #183447;
    --stonebridge-teal: #2f7f7a;
    --stonebridge-green: #55745d;
  
    --text: #25282b;
    --muted: #6f7375;
    --border: rgba(37, 40, 43, 0.14);
  
    --page-width: 1380px;
    --radius: 14px;
  }
  
  * {
    box-sizing: border-box;
  }
  
  html {
    scroll-behavior: smooth;
  }
  
  body {
    margin: 0;
    background: var(--warm-white);
    color: var(--text);
    font-family:
      -apple-system,
      BlinkMacSystemFont,
      "Segoe UI",
      Helvetica,
      Arial,
      sans-serif;
    line-height: 1.55;
  }
  
  a {
    color: inherit;
  }
  
  .site-header,
  main,
  .site-footer {
    width: min(calc(100% - 96px), var(--page-width));
    margin-inline: auto;
  }
  
  .site-header {
    min-height: 96px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--border);
  }
  
  .brand {
    display: flex;
    align-items: center;
    gap: 14px;
    color: inherit;
    text-decoration: none;
  }
  
  .brand-mark {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border: 1px solid var(--copper);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.14em;
  }
  
  .brand strong,
  .brand small {
    display: block;
  }
  
  .brand strong {
    font-size: 1rem;
    letter-spacing: 0.03em;
  }
  
  .brand small {
    margin-top: 2px;
    color: var(--muted);
    font-size: 0.78rem;
  }
  
  .site-nav {
    display: flex;
    gap: 30px;
  }
  
  .site-nav a {
    color: var(--muted);
    text-decoration: none;
    font-size: 0.9rem;
  }
  
  .site-nav a:hover {
    color: var(--text);
  }
  
  .hero {
    min-height: 610px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    max-width: 1000px;
    padding: 80px 0;
  }
  
  .eyebrow,
  .card-kicker {
    margin: 0 0 18px;
    color: var(--copper);
    font-size: 0.74rem;
    font-weight: 750;
    letter-spacing: 0.16em;
    text-transform: uppercase;
  }
  
  .hero h1 {
    max-width: 950px;
    margin: 0;
    font-size: clamp(3rem, 6vw, 5.7rem);
    line-height: 0.98;
    letter-spacing: -0.055em;
    font-weight: 650;
  }
  
  .hero-copy {
    max-width: 760px;
    margin: 34px 0 0;
    color: var(--muted);
    font-size: 1.25rem;
  }
  
  .hero-actions {
    display: flex;
    gap: 14px;
    margin-top: 38px;
  }
  
  .button {
    padding: 13px 19px;
    border: 1px solid var(--graphite);
    text-decoration: none;
    font-size: 0.88rem;
    font-weight: 650;
  }
  
  .button-primary {
    background: var(--graphite);
    color: var(--warm-white);
  }
  
  .button-secondary {
    background: transparent;
  }
  
  .section {
    padding: 110px 0;
    border-top: 1px solid var(--border);
  }
  
  .section-heading {
    max-width: 780px;
    margin-bottom: 48px;
  }
  
  .section h2 {
    margin: 0;
    font-size: clamp(2rem, 3.5vw, 3.4rem);
    line-height: 1.06;
    letter-spacing: -0.035em;
  }
  
  .feature-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 18px;
  }
  
  .feature-card {
    min-height: 300px;
    padding: 34px;
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.22);
  }
  
  .feature-card-large {
    background: var(--graphite);
    color: var(--warm-white);
  }
  
  .feature-card h3 {
    margin: 0 0 20px;
    font-size: 1.7rem;
    letter-spacing: -0.025em;
  }
  
  .feature-card p:not(.card-kicker) {
    color: var(--muted);
  }
  
  .feature-card-large p:not(.card-kicker) {
    color: var(--warm-white-dim);
  }
  
  .text-link {
    display: inline-block;
    margin-top: 24px;
    color: inherit;
    font-weight: 700;
    text-decoration: none;
  }
  
  .philosophy {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 90px;
    align-items: start;
  }
  
  .philosophy-copy {
    margin: 0;
    color: var(--muted);
    font-size: 1.35rem;
  }
  
  .site-footer {
    min-height: 110px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid var(--border);
    color: var(--muted);
    font-size: 0.78rem;
  }
  /* ---------------------------------------------------------
   Stonebridge Systems
   --------------------------------------------------------- */

.stonebridge {
    --sb-navy: #183447;
    --sb-teal: #2f7f7a;
    --sb-green: #55745d;
    --sb-ink: #17242d;
    --sb-muted: #66747c;
    --sb-surface: #f3f5f3;
    --sb-border: rgba(24, 52, 71, 0.16);
  
    background: var(--sb-surface);
    color: var(--sb-ink);
  }
  
  .stonebridge .site-nav a:hover {
    color: var(--sb-navy);
  }
  
  .stonebridge-mark {
    border-color: var(--sb-teal);
    color: var(--sb-navy);
  }
  
  .stonebridge-eyebrow,
  .portal-kicker {
    margin: 0 0 16px;
    color: var(--sb-teal);
    font-size: 0.73rem;
    font-weight: 750;
    letter-spacing: 0.16em;
    text-transform: uppercase;
  }
  
  
  /* Stonebridge introduction */
  
  .stonebridge-intro-main {
    min-height: calc(100vh - 206px);
  }
  
  .stonebridge-intro-hero {
    min-height: calc(100vh - 206px);
    max-width: 1020px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 80px 0 100px;
  }
  
  .stonebridge-intro-hero h1 {
    margin: 0;
    max-width: 1000px;
    color: var(--sb-navy);
    font-size: clamp(3.4rem, 6.2vw, 6rem);
    line-height: 0.97;
    letter-spacing: -0.055em;
    font-weight: 650;
  }
  
  .stonebridge-intro-copy {
    max-width: 790px;
    margin: 36px 0 0;
    color: var(--sb-ink);
    font-size: 1.22rem;
  }
  
  .stonebridge-intro-note {
    max-width: 730px;
    margin: 18px 0 0;
    color: var(--sb-muted);
    font-size: 0.96rem;
  }
  
  .stonebridge-button {
    background: var(--sb-navy);
    border-color: var(--sb-navy);
    color: white;
  }
  
  .stonebridge-button:hover {
    background: var(--sb-teal);
    border-color: var(--sb-teal);
  }
  
  
  /* Stonebridge portal */
  
  .stonebridge-portal {
    min-width: 1180px;
    min-height: 100vh;
    background: #eef1ef;
  }
  
  .portal-header {
    height: 82px;
    padding: 0 34px;
    display: grid;
    grid-template-columns: minmax(270px, 1fr) auto minmax(270px, 1fr);
    align-items: center;
    background: var(--sb-navy);
    color: white;
  }
  
  .portal-brand {
    display: flex;
    align-items: center;
    gap: 13px;
    color: white;
    text-decoration: none;
  }
  
  .portal-brand .stonebridge-mark {
    border-color: rgba(255, 255, 255, 0.55);
    color: white;
  }
  
  .portal-brand strong,
  .portal-brand small {
    display: block;
  }
  
  .portal-brand strong {
    font-size: 0.96rem;
    letter-spacing: 0.02em;
  }
  
  .portal-brand small {
    margin-top: 2px;
    color: rgba(255, 255, 255, 0.62);
    font-size: 0.72rem;
  }
  
  .portal-nav {
    height: 100%;
    display: flex;
    align-items: stretch;
  }
  
  .portal-nav a {
    display: flex;
    align-items: center;
    padding: 0 23px;
    color: rgba(255, 255, 255, 0.62);
    border-bottom: 3px solid transparent;
    text-decoration: none;
    font-size: 0.84rem;
    font-weight: 600;
  }
  
  .portal-nav a:hover {
    color: white;
  }
  
  .portal-nav a.active {
    color: white;
    border-bottom-color: var(--sb-teal);
  }
  
  .portal-meta {
    justify-self: end;
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.74rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
  }
  
  .portal-main {
    width: min(calc(100% - 68px), 1560px);
    margin: 0 auto;
    padding: 34px 0;
  }
  
  .portal-title-row {
    min-height: 76px;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
  }
  
  .portal-title-row h1 {
    margin: 0;
    color: var(--sb-navy);
    font-size: 2rem;
    line-height: 1;
    letter-spacing: -0.035em;
  }
  
  .context-trigger {
    padding: 9px 14px;
    border: 1px solid var(--sb-border);
    background: transparent;
    color: var(--sb-muted);
    font: inherit;
    font-size: 0.78rem;
    cursor: pointer;
  }
  
  .context-trigger:hover {
    border-color: var(--sb-teal);
    color: var(--sb-navy);
  }
  
  .portal-placeholder {
    min-height: calc(100vh - 242px);
    display: grid;
    place-items: center;
    border: 1px dashed rgba(24, 52, 71, 0.22);
    background: rgba(255, 255, 255, 0.42);
  }
  
  .portal-placeholder > div {
    max-width: 610px;
    text-align: center;
  }
  
  .portal-placeholder h2 {
    margin: 0 0 18px;
    color: var(--sb-navy);
    font-size: 2rem;
    letter-spacing: -0.035em;
  }
  
  .portal-placeholder p:last-child {
    margin: 0;
    color: var(--sb-muted);
    font-size: 0.98rem;
  }
  /* Context inspector */

.context-panel {
    position: fixed;
    top: 82px;
    right: 0;
    bottom: 0;
    width: 420px;
    padding: 30px;
    background: #f8faf8;
    border-left: 1px solid var(--sb-border);
    box-shadow: -18px 0 40px rgba(24, 52, 71, 0.08);
    transform: translateX(100%);
    transition: transform 180ms ease;
    z-index: 20;
  }
  
  .context-panel.open {
    transform: translateX(0);
  }
  
  .context-panel-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--sb-border);
  }
  
  .context-panel-header h2 {
    margin: 0;
    color: var(--sb-navy);
    font-size: 1.55rem;
    letter-spacing: -0.03em;
  }
  
  .context-close {
    border: 0;
    background: transparent;
    color: var(--sb-muted);
    font-size: 1.8rem;
    line-height: 1;
    cursor: pointer;
  }
  
  .context-panel-body {
    padding-top: 26px;
  }
  
  .context-panel-body section + section {
    margin-top: 30px;
    padding-top: 26px;
    border-top: 1px solid var(--sb-border);
  }
  
  .context-panel-body h3 {
    margin: 0 0 9px;
    color: var(--sb-navy);
    font-size: 0.92rem;
  }
  
  .context-panel-body p {
    margin: 0;
    color: var(--sb-muted);
    font-size: 0.9rem;
    line-height: 1.65;
  }
  /* ---------------------------------------------------------
   Organization dashboard
   --------------------------------------------------------- */

.organization-dashboard {
    padding-top: 28px;
  }
  
  .dashboard-label {
    margin: 0 0 7px;
    color: var(--sb-muted);
    font-size: 0.68rem;
    font-weight: 750;
    letter-spacing: 0.13em;
    text-transform: uppercase;
  }
  
  .enterprise-state {
    min-height: 96px;
    display: grid;
    grid-template-columns: 320px 1fr;
    align-items: center;
    gap: 42px;
    padding: 18px 24px;
    background: white;
    border: 1px solid var(--sb-border);
  }
  
  .enterprise-state-label {
    display: flex;
    align-items: center;
    gap: 17px;
  }
  
  .state-indicator {
    width: 11px;
    height: 46px;
    background: var(--sb-teal);
  }
  
  .enterprise-state h2 {
    margin: 0;
    color: var(--sb-navy);
    font-size: 1.8rem;
    line-height: 1;
    letter-spacing: -0.035em;
  }
  
  .enterprise-state-summary {
    margin: 0;
    max-width: 720px;
    color: var(--sb-muted);
    font-size: 1rem;
  }
  
  .organization-metrics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    margin-top: 14px;
    border: 1px solid var(--sb-border);
    background: white;
  }
  
  .organization-metric {
    min-height: 96px;
    padding: 16px 24px;
  }
  
  .organization-metric + .organization-metric {
    border-left: 1px solid var(--sb-border);
  }
  
  .metric-value {
    display: flex;
    align-items: baseline;
    gap: 8px;
  }
  
  .metric-value strong {
    color: var(--sb-navy);
    font-size: 1.7rem;
    line-height: 1;
    letter-spacing: -0.035em;
  }
  
  .metric-value span {
    color: var(--sb-muted);
    font-size: 0.76rem;
  }
  
  .metric-detail {
    margin: 9px 0 0;
    color: var(--sb-muted);
    font-size: 0.78rem;
  }
  
  .organization-detail-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 14px;
    margin-top: 14px;
  }
  
  .dashboard-panel {
    min-height: 238px;
    padding: 18px 24px;
    background: white;
    border: 1px solid var(--sb-border);
  }
  
  .dashboard-panel-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--sb-border);
  }
  
  .dashboard-panel-header h2 {
    margin: 0;
    color: var(--sb-navy);
    font-size: 1.05rem;
    letter-spacing: -0.02em;
  }
  
  .panel-count {
    min-width: 28px;
    height: 28px;
    display: grid;
    place-items: center;
    border: 1px solid var(--sb-border);
    color: var(--sb-navy);
    font-size: 0.75rem;
    font-weight: 750;
  }
  
  .exception-list {
    display: grid;
  }
  
  .exception-item {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 24px;
    align-items: center;
    padding: 12px 2px;
    color: inherit;
    text-decoration: none;
  }
  
  .exception-item + .exception-item {
    border-top: 1px solid var(--sb-border);
  }
  
  .exception-item:hover h3,
  .exception-item:hover .exception-arrow {
    color: var(--sb-teal);
  }
  
  .exception-type {
    color: var(--sb-teal);
    font-size: 0.66rem;
    font-weight: 750;
    letter-spacing: 0.1em;
    text-transform: uppercase;
  }
  
  .exception-item h3 {
    margin: 3px 0 3px;
    color: var(--sb-navy);
    font-size: 0.94rem;
  }
  
  .exception-item p {
    margin: 0;
    color: var(--sb-ink);
    font-size: 0.82rem;
  }
  
  .exception-item small {
    display: block;
    margin-top: 4px;
    color: var(--sb-muted);
    font-size: 0.72rem;
  }
  
  .exception-arrow {
    color: var(--sb-muted);
    font-size: 1.15rem;
  }
  
  .program-row {
    padding: 11px 0;
  }
  
  .program-row + .program-row {
    border-top: 1px solid var(--sb-border);
  }
  
  .program-row-heading {
    display: flex;
    justify-content: space-between;
    gap: 20px;
  }
  
  .program-row-heading strong {
    color: var(--sb-navy);
    font-size: 0.82rem;
  }
  
  .program-row-heading span {
    color: var(--sb-muted);
    font-size: 0.72rem;
  }
  
  .program-progress {
    height: 5px;
    margin: 9px 0 6px;
    overflow: hidden;
    background: #dde4e1;
  }
  
  .program-progress span {
    display: block;
    height: 100%;
    background: var(--sb-teal);
  }
  
  .program-row small {
    color: var(--sb-muted);
    font-size: 0.7rem;
  }
  /* ---------------------------------------------------------
   IT Operations dashboard
   --------------------------------------------------------- */

.stonebridge {
    --sb-attention: #a86f3d;
  }
  
  .ops-dashboard {
    padding-top: 28px;
  }
  
  .ops-state {
    min-height: 96px;
    display: grid;
    grid-template-columns: 320px 1fr;
    align-items: center;
    gap: 42px;
    padding: 18px 24px;
    background: white;
    border: 1px solid var(--sb-border);
  }
  
  .ops-state-label {
    display: flex;
    align-items: center;
    gap: 17px;
  }
  
  .ops-state-indicator {
    width: 11px;
    height: 46px;
    background: var(--sb-attention);
  }
  
  .ops-state h2 {
    margin: 0;
    color: var(--sb-navy);
    font-size: 1.8rem;
    line-height: 1;
    letter-spacing: -0.035em;
  }
  
  .ops-state-summary {
    margin: 0;
    max-width: 760px;
    color: var(--sb-muted);
    font-size: 1rem;
  }
  
  .ops-summary-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    margin-top: 14px;
    background: white;
    border: 1px solid var(--sb-border);
  }
  
  .ops-summary-grid article {
    min-height: 88px;
    padding: 15px 24px;
  }
  
  .ops-summary-grid article + article {
    border-left: 1px solid var(--sb-border);
  }
  
  .ops-summary-grid strong {
    color: var(--sb-navy);
    font-size: 1.6rem;
    line-height: 1;
    letter-spacing: -0.035em;
  }
  
  .ops-summary-grid span {
    margin-left: 7px;
    color: var(--sb-muted);
    font-size: 0.75rem;
  }
  
  .ops-detail-grid {
    display: grid;
    grid-template-columns: 1.55fr 0.65fr;
    gap: 14px;
    margin-top: 14px;
  }
  
  .network-exception-panel,
  .operational-areas-panel {
    min-height: 270px;
  }
  
  .attention-badge {
    padding: 5px 9px;
    border: 1px solid rgba(168, 111, 61, 0.35);
    color: var(--sb-attention);
    font-size: 0.67rem;
    font-weight: 750;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }
  
  .network-event-copy {
    padding: 13px 0 15px;
  }
  
  .network-event-copy p {
    margin: 0;
    color: var(--sb-ink);
    font-size: 0.84rem;
  }
  
  .network-event-copy small {
    display: block;
    margin-top: 4px;
    color: var(--sb-muted);
    font-size: 0.72rem;
  }
  
  .path-visual {
    display: grid;
    grid-template-columns: 1fr 40px 0.8fr 40px 1fr;
    align-items: stretch;
  }
  
  .path-node {
    min-height: 116px;
    padding: 15px 17px;
    border: 1px solid var(--sb-border);
    background: #f8faf8;
  }
  
  .path-node.degraded {
    border-top: 3px solid var(--sb-attention);
  }
  
  .path-node.active {
    border-top: 3px solid var(--sb-teal);
  }
  
  .path-node.edge {
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-top: 3px solid var(--sb-green);
  }
  
  .path-role {
    display: block;
    margin-bottom: 5px;
    color: var(--sb-muted);
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }
  
  .path-node h3 {
    margin: 0;
    color: var(--sb-navy);
    font-size: 0.9rem;
  }
  
  .path-node > strong {
    display: block;
    margin-top: 4px;
    color: var(--sb-muted);
    font-size: 0.72rem;
  }
  
  .path-node.degraded > strong {
    color: var(--sb-attention);
  }
  
  .path-node.active > strong {
    color: var(--sb-teal);
  }
  
  .path-metrics {
    display: flex;
    gap: 18px;
    margin-top: 15px;
    color: var(--sb-muted);
    font-size: 0.67rem;
  }
  
  .path-metrics b {
    display: block;
    color: var(--sb-navy);
    font-size: 0.8rem;
  }
  
  .path-connector {
    display: grid;
    place-items: center;
  }
  
  .path-connector span {
    width: 100%;
    height: 1px;
    background: var(--sb-border);
  }
  
  .network-observed {
    margin: 12px 0 0;
    color: var(--sb-muted);
    font-size: 0.68rem;
  }
  
  .network-observed strong {
    color: var(--sb-ink);
  }
  
  .operational-area-list {
    display: grid;
  }
  
  .operational-area {
    min-height: 61px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
  }
  
  .operational-area + .operational-area {
    border-top: 1px solid var(--sb-border);
  }
  
  .operational-area strong,
  .operational-area small {
    display: block;
  }
  
  .operational-area strong {
    color: var(--sb-navy);
    font-size: 0.8rem;
  }
  
  .operational-area small {
    margin-top: 3px;
    color: var(--sb-muted);
    font-size: 0.69rem;
  }
  
  .area-state {
    margin: 0 !important;
    font-size: 0.66rem !important;
    font-weight: 750;
    text-transform: uppercase;
  }
  
  .area-state.normal {
    color: var(--sb-teal);
  }
  
  .area-state.attention {
    color: var(--sb-attention);
  }
  /* ---------------------------------------------------------
   Program Operations dashboard
   --------------------------------------------------------- */

.program-dashboard {
    padding-top: 28px;
  }
  
  .program-state {
    min-height: 96px;
    display: grid;
    grid-template-columns: 320px 1fr;
    align-items: center;
    gap: 42px;
    padding: 18px 24px;
    background: white;
    border: 1px solid var(--sb-border);
  }
  
  .program-state-label {
    display: flex;
    align-items: center;
    gap: 17px;
  }
  
  .program-state-indicator {
    width: 11px;
    height: 46px;
    background: var(--sb-attention);
  }
  
  .program-state h2 {
    margin: 0;
    color: var(--sb-navy);
    font-size: 1.8rem;
    line-height: 1;
    letter-spacing: -0.035em;
  }
  
  .program-state-summary {
    margin: 0;
    max-width: 760px;
    color: var(--sb-muted);
    font-size: 1rem;
  }
  
  .program-summary-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    margin-top: 14px;
    background: white;
    border: 1px solid var(--sb-border);
  }
  
  .program-summary-grid article {
    min-height: 88px;
    padding: 15px 24px;
  }
  
  .program-summary-grid article + article {
    border-left: 1px solid var(--sb-border);
  }
  
  .program-summary-grid strong {
    color: var(--sb-navy);
    font-size: 1.6rem;
    line-height: 1;
    letter-spacing: -0.035em;
  }
  
  .program-summary-grid span {
    margin-left: 7px;
    color: var(--sb-muted);
    font-size: 0.75rem;
  }
  
  .program-detail-grid {
    display: grid;
    grid-template-columns: 1.5fr 0.7fr;
    gap: 14px;
    margin-top: 14px;
  }
  
  .deployment-exception-panel,
  .active-programs-panel {
    min-height: 286px;
  }
  
  .deployment-summary {
    margin: 14px 0;
    color: var(--sb-muted);
    font-size: 0.82rem;
  }
  
  .state-comparison {
    display: grid;
    grid-template-columns: 1fr 38px 1fr;
    align-items: stretch;
  }
  
  .state-comparison article {
    min-height: 88px;
    padding: 13px 15px;
    border: 1px solid var(--sb-border);
    background: #f8faf8;
  }
  
  .state-comparison .observed-state {
    border-top: 3px solid var(--sb-teal);
  }
  
  .comparison-label {
    display: block;
    color: var(--sb-muted);
    font-size: 0.62rem;
    font-weight: 750;
    letter-spacing: 0.09em;
    text-transform: uppercase;
  }
  
  .state-comparison strong,
  .state-comparison small {
    display: block;
  }
  
  .state-comparison strong {
    margin-top: 6px;
    color: var(--sb-navy);
    font-size: 0.83rem;
  }
  
  .state-comparison small {
    margin-top: 5px;
    color: var(--sb-muted);
    font-size: 0.68rem;
  }
  
  .comparison-arrow {
    display: grid;
    place-items: center;
    color: var(--sb-muted);
  }
  
  .milestone-strip {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    margin-top: 16px;
  }
  
  .milestone {
    position: relative;
    padding-top: 16px;
    text-align: center;
  }
  
  .milestone::before {
    content: "";
    position: absolute;
    top: 5px;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--sb-border);
  }
  
  .milestone:first-child::before {
    left: 50%;
  }
  
  .milestone:last-child::before {
    right: 50%;
  }
  
  .milestone-marker {
    position: absolute;
    top: 1px;
    left: 50%;
    width: 9px;
    height: 9px;
    transform: translateX(-50%);
    border: 2px solid #bcc8c4;
    border-radius: 50%;
    background: white;
  }
  
  .milestone strong {
    color: var(--sb-muted);
    font-size: 0.66rem;
  }
  
  .milestone.complete .milestone-marker {
    border-color: var(--sb-green);
    background: var(--sb-green);
  }
  
  .milestone.recorded .milestone-marker {
    border-color: var(--sb-attention);
    background: var(--sb-attention);
  }
  
  .milestone.observed .milestone-marker {
    border-color: var(--sb-teal);
    background: var(--sb-teal);
  }
  
  .reconciliation-note {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    margin-top: 14px;
    padding-top: 12px;
    border-top: 1px solid var(--sb-border);
  }
  
  .reconciliation-note p {
    margin: 0;
    color: var(--sb-muted);
    font-size: 0.72rem;
  }
  
  .reconciliation-note strong {
    flex: 0 0 auto;
    color: var(--sb-attention);
    font-size: 0.7rem;
  }


/* ---------------------------------------------------------
   Program Operations — deployment review
   --------------------------------------------------------- */

.deployment-review-link {
  display: inline-block;
  margin-top: 14px;
  color: var(--sb-navy);
  font-size: 0.72rem;
  font-weight: 750;
  text-decoration: none;
}

.deployment-review-link:hover {
  color: var(--sb-teal);
}

.program-review-dashboard {
  padding-top: 24px;
}

.program-review-state {
  border-left-color: var(--sb-attention);
}

.program-review-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.85fr;
  gap: 12px;
  margin-top: 12px;
}

.review-comparison {
  display: grid;
  grid-template-columns: 1fr 44px 1fr;
  align-items: stretch;
  margin-top: 14px;
}

.review-comparison article {
  min-height: 104px;
  padding: 14px 16px;
  border: 1px solid var(--sb-border);
  background: #f8faf8;
}

.review-comparison .review-recorded {
  border-top: 3px solid var(--sb-attention);
}

.review-comparison .review-observed {
  border-top: 3px solid var(--sb-teal);
}

.review-comparison span,
.review-comparison strong,
.review-comparison small {
  display: block;
}

.review-comparison span {
  color: var(--sb-muted);
  font-size: 0.62rem;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.review-comparison strong {
  margin-top: 7px;
  color: var(--sb-navy);
  font-size: 0.86rem;
}

.review-comparison small {
  margin-top: 10px;
  color: var(--sb-muted);
  font-size: 0.68rem;
}

.review-comparison-arrow {
  display: grid;
  place-items: center;
  color: var(--sb-muted);
}

.program-review-milestones {
  margin-top: 24px;
}

  /* ---------------------------------------------------------
   IT Operations — site detail
   --------------------------------------------------------- */

.site-detail-dashboard {
    padding-top: 24px;
  }
  
  .detail-heading {
    min-height: 82px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
  }
  
  .detail-back {
    display: inline-block;
    margin-bottom: 8px;
    color: var(--sb-muted);
    font-size: 0.72rem;
    text-decoration: none;
  }
  
  .detail-back:hover {
    color: var(--sb-teal);
  }
  
  .detail-heading .portal-kicker {
    margin-bottom: 7px;
  }
  
  .detail-heading h1 {
    margin: 0;
    color: var(--sb-navy);
    font-size: 2rem;
    line-height: 1;
    letter-spacing: -0.035em;
  }
  
  .detail-state {
    min-height: 82px;
    display: grid;
    grid-template-columns: 330px 1fr;
    align-items: center;
    gap: 40px;
    padding: 15px 24px;
    background: white;
    border: 1px solid var(--sb-border);
    border-left: 8px solid var(--sb-attention);
  }
  
  .detail-state h2 {
    margin: 0;
    color: var(--sb-navy);
    font-size: 1.45rem;
  }
  
  .detail-state > p {
    margin: 0;
    color: var(--sb-muted);
    font-size: 0.88rem;
  }
  
  .detail-summary-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    margin-top: 12px;
    background: white;
    border: 1px solid var(--sb-border);
  }
  
  .detail-summary-grid article {
    min-height: 82px;
    padding: 14px 22px;
  }
  
  .detail-summary-grid article + article {
    border-left: 1px solid var(--sb-border);
  }
  
  .detail-summary-grid strong,
  .detail-summary-grid span {
    display: block;
  }
  
  .detail-summary-grid strong {
    color: var(--sb-navy);
    font-size: 0.96rem;
  }
  
  .detail-summary-grid span {
    margin-top: 4px;
    color: var(--sb-muted);
    font-size: 0.7rem;
  }
  
  .site-detail-grid {
    display: grid;
    grid-template-columns: 1.45fr 0.75fr;
    gap: 12px;
    margin-top: 12px;
  }
  
  .detail-path {
    display: grid;
    grid-template-columns: 1fr 34px 0.8fr 34px 1fr;
    align-items: center;
    margin-top: 14px;
  }
  
  .detail-path-node {
    min-height: 105px;
    padding: 13px 15px;
    border: 1px solid var(--sb-border);
    background: #f8faf8;
  }
  
  .detail-path-node.degraded {
    border-top: 3px solid var(--sb-attention);
  }
  
  .detail-path-node.healthy {
    border-top: 3px solid var(--sb-green);
  }
  
  .detail-path-node.active {
    border-top: 3px solid var(--sb-teal);
  }
  
  .detail-path-node span,
  .detail-path-node strong,
  .detail-path-node small {
    display: block;
  }
  
  .detail-path-node span {
    color: var(--sb-muted);
    font-size: 0.61rem;
    font-weight: 750;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }
  
  .detail-path-node h3 {
    margin: 6px 0 2px;
    color: var(--sb-navy);
    font-size: 0.86rem;
  }
  
  .detail-path-node strong {
    color: var(--sb-muted);
    font-size: 0.7rem;
  }
  
  .detail-path-node small {
    margin-top: 13px;
    color: var(--sb-muted);
    font-size: 0.67rem;
  }
  
  .detail-path-line {
    height: 1px;
    background: var(--sb-border);
  }
  
  .detail-timeline {
    margin-top: 8px;
  }
  
  .timeline-item {
    display: grid;
    grid-template-columns: 44px 1fr;
    gap: 12px;
    padding: 10px 0;
  }
  
  .timeline-item + .timeline-item {
    border-top: 1px solid var(--sb-border);
  }
  
  .timeline-item time {
    color: var(--sb-teal);
    font-size: 0.7rem;
    font-weight: 750;
  }
  
  .timeline-item strong {
    color: var(--sb-navy);
    font-size: 0.75rem;
  }
  
  .timeline-item p {
    margin: 3px 0 0;
    color: var(--sb-muted);
    font-size: 0.67rem;
    line-height: 1.4;
  }
  
  .evidence-panel {
    min-height: 0;
    margin-top: 12px;
  }
  
  .evidence-list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
  }
  
  .evidence-item {
    padding: 13px 16px 2px 0;
  }
  
  .evidence-item + .evidence-item {
    padding-left: 16px;
    border-left: 1px solid var(--sb-border);
  }
  
  .evidence-item span,
  .evidence-item strong,
  .evidence-item small {
    display: block;
  }
  
  .evidence-item span {
    color: var(--sb-muted);
    font-size: 0.62rem;
    font-weight: 750;
    letter-spacing: 0.07em;
    text-transform: uppercase;
  }
  
  .evidence-item strong {
    margin-top: 4px;
    color: var(--sb-navy);
    font-size: 0.78rem;
  }
  
  .evidence-item small {
    margin-top: 3px;
    color: var(--sb-muted);
    font-size: 0.67rem;
  }
  /* ---------------------------------------------------------
   H. Michael Smith, Jr. — professional profile
   --------------------------------------------------------- */

/* v1.11: tighter homepage vertical rhythm; internal content spacing remains unchanged. */

.profile-site {
  --profile-width: 1240px;
  --profile-rule: rgba(37, 40, 43, 0.16);
  --profile-rule-strong: rgba(37, 40, 43, 0.34);
  --profile-paper: #f5f2eb;
  --profile-paper-deep: #ece6db;

  background: var(--profile-paper);
  color: var(--graphite);
}

.profile-header,
.profile-main,
.profile-footer {
  width: min(calc(100% - 96px), var(--profile-width));
  margin-inline: auto;
}

.profile-header {
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
  border-bottom: 1px solid var(--profile-rule);
}

.profile-identity {
  display: flex;
  align-items: center;
  gap: 12px;
  color: inherit;
  text-decoration: none;
}

.profile-avatar {
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  border-radius: 50%;
  object-fit: cover;
  object-position: 50% 42%;
  border: 1px solid rgba(37, 40, 43, 0.16);
}

.profile-identity-copy {
  display: block;
}

.profile-identity strong,
.profile-identity small {
  display: block;
}

.profile-identity strong {
  font-size: 1.1rem;
  font-weight: 720;
  letter-spacing: 0.005em;
}

.profile-identity small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.7rem;
  letter-spacing: 0.025em;
}

.profile-nav {
  display: flex;
  align-items: center;
  gap: 25px;
}

.profile-nav a {
  position: relative;
  padding: 8px 0;
  color: var(--muted);
  text-decoration: none;
  font-size: 0.8rem;
}

.profile-nav a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 2px;
  left: 0;
  height: 1px;
  background: var(--copper);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 140ms ease;
}

.profile-nav a:hover {
  color: var(--graphite);
}

.profile-nav a:hover::after {
  transform: scaleX(1);
}

.profile-hero {
  min-height: 410px;
  max-width: 1030px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 30px 0 62px;
}

.profile-eyebrow,
.profile-card-label {
  margin: 0 0 18px;
  color: var(--copper);
  font-size: 0.69rem;
  font-weight: 760;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.profile-section .profile-eyebrow {
  color: #925129;
  font-size: 0.78rem;
  font-weight: 820;
  letter-spacing: 0.18em;
}

.profile-card-label {
  font-size: 0.63rem;
  font-weight: 730;
  letter-spacing: 0.14em;
}

.profile-hero > .profile-eyebrow {
  display: none;
}

.profile-hero h1,
.profile-section h2,
.work-story-heading h3,
.interest-list h3 {
  font-family: Georgia, "Times New Roman", serif;
}

.profile-hero h1 {
  max-width: 980px;
  margin: 0;
  font-size: clamp(3.25rem, 5.4vw, 5.1rem);
  line-height: 1.01;
  letter-spacing: -0.037em;
  font-weight: 400;
}

.profile-lead {
  max-width: 790px;
  margin: 27px 0 0;
  color: #5f6365;
  font-size: 1.15rem;
  line-height: 1.72;
}

.profile-actions {
  display: flex;
  align-items: center;
  gap: 25px;
  margin-top: 31px;
}

.profile-button {
  display: inline-block;
  color: var(--graphite);
  font-size: 0.8rem;
  font-weight: 690;
  text-decoration: none;
}

.profile-button.primary {
  padding: 11px 16px;
  border: 1px solid var(--graphite);
  background: var(--graphite);
  color: var(--warm-white);
}

.profile-button.primary:hover {
  background: var(--graphite-soft);
}

.profile-button.secondary {
  padding: 4px 0 3px;
  border: 0;
  border-bottom: 1px solid var(--profile-rule-strong);
  background: transparent;
}

.profile-button.secondary:hover {
  border-bottom-color: var(--copper);
}

.profile-section {
  padding: 78px 0;
  border-top: 2px solid var(--graphite);
}

.profile-section-heading {
  max-width: 830px;
  margin-bottom: 36px;
}

.profile-section h2 {
  margin: 0;
  max-width: 840px;
  font-size: clamp(2.25rem, 3.35vw, 3.35rem);
  line-height: 1.08;
  letter-spacing: -0.032em;
  font-weight: 400;
}

.profile-section-heading > p:last-child {
  max-width: 700px;
  margin: 19px 0 0;
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.72;
}


/* Selected work */

.work-index {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 0 0 34px;
  border-top: 1px solid var(--profile-rule-strong);
  border-bottom: 1px solid var(--profile-rule-strong);
  background: rgba(37, 40, 43, 0.042);
}

.work-index a {
  padding: 15px 17px;
  color: var(--graphite);
  font-size: 0.8rem;
  font-weight: 700;
  line-height: 1.35;
  text-decoration: none;
  font-variant-numeric: tabular-nums;
}

.work-index a + a {
  border-left: 1px solid var(--profile-rule);
}

.work-index a:hover {
  color: var(--graphite);
}

.selected-work {
  display: grid;
  gap: 0;
}

.work-story {
  padding: 42px 0;
  border: 0;
  border-top: 1px solid var(--profile-rule);
  background: transparent;
}

.work-story:first-child {
  border-top: 0;
}

.work-story-feature {
  margin-bottom: 7px;
  padding: 43px 46px 41px;
  background: var(--graphite);
  color: var(--warm-white);
}

.work-story-feature + .work-story {
  border-top: 0;
}

.work-story-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 36px;
}

.work-story-heading h3 {
  margin: 0;
  font-size: 1.5rem;
  line-height: 1.16;
  letter-spacing: -0.018em;
  font-weight: 400;
}

.work-story-feature .work-story-heading h3 {
  font-size: clamp(1.9rem, 2.6vw, 2.25rem);
  line-height: 1.1;
  letter-spacing: -0.027em;
}

.work-story-title-lockup {
  display: flex;
  align-items: center;
  gap: 17px;
}

.portfolio-stonebridge-mark {
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(245, 242, 235, 0.2);
  background: rgba(255, 255, 255, 0.035);
}

.portfolio-stonebridge-mark svg {
  width: 35px;
  height: 35px;
  fill: none;
  stroke-linecap: square;
  stroke-linejoin: miter;
}

.portfolio-stonebridge-structure {
  stroke: var(--warm-white-dim);
  stroke-width: 2.2;
}

.portfolio-stonebridge-flow {
  stroke: #6fa6a2;
  stroke-width: 2.4;
}

.work-story-title-lockup .profile-card-label {
  margin-bottom: 7px;
}

.work-story-heading small {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.71rem;
}

.work-story-feature .work-story-heading small {
  color: var(--warm-white-dim);
}

.work-era {
  flex: 0 0 auto;
  padding-top: 5px;
  color: var(--muted);
  font-size: 0.66rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.work-story-feature .work-era {
  color: var(--warm-white-dim);
}

.work-summary {
  max-width: 880px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.7;
}

.work-story-feature .work-summary {
  color: var(--warm-white-dim);
}

.work-evidence {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 29px;
  padding-inline: 18px;
  border-top: 1px solid var(--profile-rule);
  border-bottom: 1px solid var(--profile-rule);
  background: rgba(37, 40, 43, 0.045);
}

.work-story-feature .work-evidence {
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.055);
}

.work-evidence > div {
  min-height: 126px;
  padding: 20px 24px 20px 0;
}

.work-evidence > div + div {
  padding-left: 24px;
  border-left: 1px solid var(--profile-rule);
}

.work-story-feature .work-evidence > div + div {
  border-left-color: rgba(255, 255, 255, 0.16);
}

.work-evidence span {
  color: var(--copper);
  font-size: 0.64rem;
  font-weight: 760;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.work-evidence p {
  margin: 9px 0 0;
  color: #585d5f;
  font-size: 0.84rem;
  line-height: 1.62;
}

.work-story-feature .work-evidence p {
  color: var(--warm-white-dim);
}

.work-action {
  display: inline-block;
  margin-top: 23px;
  padding-bottom: 3px;
  border-bottom: 1px solid currentColor;
  color: inherit;
  font-size: 0.78rem;
  font-weight: 690;
  text-decoration: none;
}

.work-action:hover {
  border-bottom-color: var(--copper);
}

#stonebridge,
#cmlg,
#infrastructure-automation {
  scroll-margin-top: 2rem;
}

#cmlg + #infrastructure-automation {
  margin-top: 10px;
  padding-top: 50px;
  border-top-color: var(--profile-rule-strong);
}


/* Approach */

.profile-approach {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 84px;
  align-items: start;
  padding-top: 84px;
}

.profile-approach-copy {
  padding-left: 30px;
  border-left: 1px solid var(--copper);
}

.profile-approach-copy p {
  margin: 0;
  color: #5f6365;
  font-size: 1.08rem;
  line-height: 1.72;
}

.profile-approach-copy p + p {
  margin-top: 24px;
}


/* Professional experience */

.experience-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  margin-bottom: 0;
  padding: 10px 12px 0;
  border-top: 1px solid var(--profile-rule);
  border-right: 1px solid var(--profile-rule);
  border-left: 1px solid var(--profile-rule);
  border-bottom: 1px solid var(--profile-rule);
  background: rgba(37, 40, 43, 0.042);
}

.experience-filter-button {
  margin-bottom: -1px;
  padding: 10px 13px 11px;
  border: 0;
  border-bottom: 2px solid transparent;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 0.72rem;
  cursor: pointer;
}

.experience-filter-button:hover {
  color: var(--graphite);
}

.experience-filter-button.active {
  border-bottom-color: var(--copper);
  color: var(--graphite);
  background: transparent;
  font-weight: 690;
}

.experience-intro {
  min-height: 43px;
  padding: 14px 12px 18px;
  border-right: 1px solid var(--profile-rule);
  border-bottom: 1px solid var(--profile-rule);
  border-left: 1px solid var(--profile-rule);
  background: rgba(37, 40, 43, 0.042);
}

.experience-intro p {
  margin: 0;
  max-width: 790px;
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.55;
}

.experience-history {
  display: grid;
}

.experience-role {
  display: grid;
  grid-template-columns: 142px minmax(0, 1fr);
  gap: 34px;
  padding: 26px 0 28px;
  border-bottom: 1px solid var(--profile-rule);
}

.experience-role[hidden] {
  display: none;
}

.experience-date {
  padding-top: 3px;
  color: var(--muted);
  font-size: 0.7rem;
  font-variant-numeric: tabular-nums;
}

.experience-employer {
  margin: 0 0 5px;
  color: var(--copper);
  font-size: 0.66rem;
  font-weight: 760;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.experience-role h3 {
  margin: 0;
  max-width: 850px;
  font-size: 1.04rem;
  line-height: 1.35;
  letter-spacing: -0.012em;
  font-weight: 680;
}

.experience-role div:last-child > p:last-child {
  max-width: 850px;
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.62;
}

.earlier-experience {
  opacity: 0.84;
}

.experience-actions {
  padding-top: 27px;
}

/* ---------------------------------------------------------
   Case studies
   --------------------------------------------------------- */

.case-study-header,
.case-study-main,
.case-study-site .profile-footer {
  width: min(calc(100% - 96px), 1240px);
  margin-inline: auto;
}

.case-study-header {
  min-height: 96px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border);
}

.case-study-identity {
  color: inherit;
  text-decoration: none;
}

.case-study-identity strong,
.case-study-identity small {
  display: block;
}

.case-study-identity strong {
  font-size: 1.1rem;
  font-weight: 720;
  letter-spacing: 0.01em;
}

.case-study-identity small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.72rem;
}

.case-study-back {
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 650;
  text-decoration: none;
}

.case-study-back:hover {
  color: var(--graphite);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.case-study-hero {
  max-width: 1040px;
  padding: 94px 0 106px;
}

.case-study-hero h1 {
  max-width: 980px;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.3rem, 5.6vw, 5.45rem);
  line-height: 0.98;
  letter-spacing: -0.045em;
  font-weight: 500;
}

.case-study-subtitle {
  margin: 18px 0 0;
  color: var(--copper);
  font-size: 0.75rem;
  font-weight: 750;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.case-study-lead {
  max-width: 820px;
  margin: 34px 0 0;
  color: var(--muted);
  font-size: 1.12rem;
  line-height: 1.68;
}

.case-study-section {
  padding: 88px 0 92px;
  border-top: 2px solid rgba(37, 40, 43, 0.42);
}

.case-study-section h2 {
  margin: 0;
  max-width: 900px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1.08;
  letter-spacing: -0.032em;
  font-weight: 500;
}

.case-study-problem,
.case-study-technical,
.case-study-reflection {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 84px;
  align-items: start;
}

.case-study-copy p {
  max-width: 710px;
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.72;
}

.case-study-copy p + p {
  margin-top: 24px;
}

.case-study-section-heading {
  max-width: 900px;
  margin-bottom: 44px;
}

/* Approach: one sequence, not four floating cards. */
.case-study-principles {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.case-study-principles article {
  min-height: 232px;
  padding: 25px 28px 27px;
}

.case-study-principles article + article {
  border-left: 1px solid var(--border);
}

.case-study-principles span {
  color: var(--copper);
  font-size: 0.67rem;
  font-weight: 750;
  letter-spacing: 0.08em;
}

.case-study-principles h3 {
  margin: 27px 0 13px;
  font-size: 1rem;
  line-height: 1.32;
}

.case-study-principles p {
  margin: 0;
  color: var(--muted);
  font-size: 0.81rem;
  line-height: 1.58;
}

/* The system map is intentionally more diagrammatic than the surrounding page. */
.cmlg-system-map {
  display: grid;
  grid-template-columns: 1fr 58px 1.14fr 58px 1fr;
  align-items: center;
}

.cmlg-system-map article {
  padding: 24px 25px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.2);
}

.cmlg-system-map .system-core {
  background: var(--graphite);
  border-color: var(--graphite);
  color: var(--warm-white);
}

.system-source-stack {
  display: grid;
  gap: 12px;
}

.system-role {
  color: var(--copper);
  font-size: 0.64rem;
  font-weight: 750;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.cmlg-system-map h3 {
  margin: 8px 0;
  font-size: 1rem;
}

.cmlg-system-map p {
  margin: 0;
  color: var(--muted);
  font-size: 0.76rem;
  line-height: 1.52;
}

.system-core p {
  color: var(--warm-white-dim);
}

.system-arrow {
  text-align: center;
  color: var(--muted);
  font-size: 1.15rem;
}

/* Capabilities read as a documented body of work rather than a card gallery. */
.case-study-capabilities {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.case-study-capabilities article {
  min-height: 164px;
  padding: 24px 28px 25px;
}

.case-study-capabilities article:not(:nth-child(3n + 1)) {
  border-left: 1px solid var(--border);
}

.case-study-capabilities article:nth-child(n + 4) {
  border-top: 1px solid var(--border);
}

.case-study-capabilities h3 {
  margin: 0 0 12px;
  font-size: 0.97rem;
  line-height: 1.35;
}

.case-study-capabilities p {
  margin: 0;
  color: var(--muted);
  font-size: 0.81rem;
  line-height: 1.58;
}

/* Implementation stays technical, but avoids badge/pill styling. */
.technical-stack {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-content: start;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.technical-stack span {
  padding: 10px 0;
  color: var(--muted);
  font-size: 0.79rem;
  font-weight: 620;
}

.technical-stack span:nth-child(even) {
  padding-left: 28px;
  border-left: 1px solid var(--border);
}

.technical-stack span:nth-child(n + 3) {
  border-top: 1px solid var(--border);
}

.case-study-reflection {
  border-top-width: 3px;
  border-top-color: rgba(37, 40, 43, 0.68);
}

.case-study-site .profile-footer {
  margin-top: 4px;
}

@media (max-width: 980px) {
  .case-study-header,
  .case-study-main,
  .case-study-site .profile-footer {
    width: min(calc(100% - 56px), 1240px);
  }

  .case-study-hero {
    padding: 78px 0 88px;
  }

  .case-study-problem,
  .case-study-technical,
  .case-study-reflection {
    grid-template-columns: 1fr;
    gap: 34px;
  }

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

  .case-study-principles article + article {
    border-left: 0;
  }

  .case-study-principles article:nth-child(even) {
    border-left: 1px solid var(--border);
  }

  .case-study-principles article:nth-child(n + 3) {
    border-top: 1px solid var(--border);
  }

  .cmlg-system-map {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .system-arrow {
    padding: 12px 0;
    transform: rotate(90deg);
  }

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

  .case-study-capabilities article:not(:nth-child(3n + 1)) {
    border-left: 0;
  }

  .case-study-capabilities article:nth-child(n + 4) {
    border-top: 0;
  }

  .case-study-capabilities article:nth-child(even) {
    border-left: 1px solid var(--border);
  }

  .case-study-capabilities article:nth-child(n + 3) {
    border-top: 1px solid var(--border);
  }
}

@media (max-width: 680px) {
  .case-study-header,
  .case-study-main,
  .case-study-site .profile-footer {
    width: calc(100% - 36px);
  }

  .case-study-header {
    min-height: 84px;
    gap: 20px;
  }

  .case-study-identity strong {
    font-size: 0.96rem;
  }

  .case-study-back {
    font-size: 0.74rem;
  }

  .case-study-hero {
    padding: 62px 0 72px;
  }

  .case-study-hero h1 {
    font-size: clamp(2.55rem, 12vw, 4rem);
  }

  .case-study-lead {
    font-size: 1.02rem;
  }

  .case-study-section {
    padding: 68px 0 72px;
  }

  .case-study-principles,
  .case-study-capabilities,
  .technical-stack {
    grid-template-columns: 1fr;
  }

  .case-study-principles article {
    min-height: 0;
  }

  .case-study-principles article:nth-child(even) {
    border-left: 0;
  }

  .case-study-principles article + article {
    border-top: 1px solid var(--border);
  }

  .case-study-capabilities article {
    min-height: 0;
  }

  .case-study-capabilities article:nth-child(even) {
    border-left: 0;
  }

  .case-study-capabilities article + article {
    border-top: 1px solid var(--border);
  }

  .technical-stack span:nth-child(even) {
    padding-left: 0;
    border-left: 0;
  }

  .technical-stack span + span {
    border-top: 1px solid var(--border);
  }

  .case-study-site .profile-footer {
    min-height: 96px;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 4px;
  }
}

/* ---------------------------------------------------------
   Beyond work
   --------------------------------------------------------- */

.profile-interests {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  gap: 84px;
  align-items: start;
  border-top: 1px solid var(--profile-rule-strong);
}

.profile-interests::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 0;
  bottom: 0;
  left: 50%;
  width: calc(100% + 112px);
  max-width: calc(100vw - 32px);
  transform: translateX(-50%);
  background: #e8e1d5;
}

.profile-interests-intro {
  max-width: 500px;
  margin: 23px 0 0;
  color: var(--muted);
  font-size: 0.93rem;
  line-height: 1.7;
}

.interest-list {
  display: grid;
  counter-reset: profile-interest;
  border-top: 1px solid var(--profile-rule);
}

.interest-list article {
  position: relative;
  counter-increment: profile-interest;
  padding: 24px 0 25px 48px;
  border-bottom: 1px solid var(--profile-rule);
}

.interest-list article::before {
  content: "0" counter(profile-interest);
  position: absolute;
  top: 28px;
  left: 0;
  color: var(--copper);
  font-size: 0.64rem;
  font-weight: 760;
  letter-spacing: 0.09em;
}

.interest-list h3 {
  margin: 0 0 8px;
  font-size: 1.24rem;
  line-height: 1.2;
  letter-spacing: -0.018em;
  font-weight: 400;
}

.interest-list p {
  max-width: 610px;
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.62;
}


/* ---------------------------------------------------------
   Contact
   --------------------------------------------------------- */

.profile-contact {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 80px;
  margin-top: 10px;
  padding: 58px 58px;
  border-top: 0;
  background: var(--graphite);
  color: var(--warm-white);
}

.profile-contact .profile-eyebrow {
  color: #cf8b58;
}

.profile-contact h2 {
  color: var(--warm-white);
}

.profile-contact-copy > p {
  max-width: 560px;
  margin: 0;
  color: var(--warm-white-dim);
  font-size: 0.98rem;
  line-height: 1.72;
}

.profile-contact-links {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 28px;
}

.profile-contact-links a {
  padding-bottom: 3px;
  border-bottom: 1px solid rgba(245, 242, 235, 0.38);
  color: var(--warm-white);
  font-size: 0.8rem;
  font-weight: 690;
  text-decoration: none;
}

.profile-contact-links a:hover {
  border-color: #cf8b58;
}

.profile-footer {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  border-top: 0;
  color: var(--muted);
  font-size: 0.7rem;
}


/* Stonebridge escape hatch */

.stonebridge-portfolio-link {
  color: inherit;
  font-size: 0.72rem;
  font-weight: 650;
  text-decoration: none;
  white-space: nowrap;
}

.stonebridge-portfolio-link:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}


/* Focus treatment */

.profile-site a:focus-visible,
.profile-site button:focus-visible {
  outline: 2px solid var(--copper);
  outline-offset: 4px;
}


/* ---------------------------------------------------------
   Professional profile — responsive
   --------------------------------------------------------- */

@media (max-width: 980px) {
  .profile-header,
  .profile-main,
  .profile-footer {
    width: min(calc(100% - 56px), var(--profile-width));
  }

  .profile-header {
    align-items: flex-start;
    padding: 22px 0;
  }

  .profile-nav {
    max-width: 430px;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 8px 20px;
  }

  .profile-hero {
    min-height: 400px;
  }

  .profile-approach,
  .profile-interests,
  .profile-contact {
    gap: 54px;
  }

  .work-evidence {
    grid-template-columns: 1fr;
    padding-inline: 16px;
  }

  .work-evidence > div {
    min-height: 0;
    padding: 19px 0;
  }

  .work-evidence > div + div {
    padding-left: 0;
    border-left: 0;
    border-top: 1px solid var(--profile-rule);
  }

  .work-story-feature .work-evidence > div + div {
    border-top-color: rgba(255, 255, 255, 0.16);
  }
}

@media (max-width: 760px) {
  .profile-header,
  .profile-main,
  .profile-footer {
    width: min(calc(100% - 36px), var(--profile-width));
  }

  .profile-header {
    display: block;
    min-height: 0;
    padding: 19px 0 17px;
  }

  .profile-nav {
    justify-content: flex-start;
    margin-top: 17px;
    gap: 4px 17px;
  }

  .profile-nav a {
    font-size: 0.76rem;
  }

  .profile-hero {
    min-height: 0;
    padding: 42px 0 58px;
  }

  .profile-hero h1 {
    font-size: clamp(2.7rem, 12vw, 4rem);
  }

  .profile-lead {
    margin-top: 26px;
    font-size: 1.02rem;
  }

  .profile-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 16px;
    margin-top: 31px;
  }

  .profile-section {
    padding: 62px 0;
  }

  .profile-section-heading {
    margin-bottom: 30px;
  }

  .work-index {
    grid-template-columns: 1fr;
  }

  .work-index a + a {
    border-left: 0;
    border-top: 1px solid var(--profile-rule);
  }

  .work-story-feature {
    margin-inline: -18px;
    padding: 34px 18px;
  }

  .work-story-heading {
    display: block;
  }

  .work-era {
    display: block;
    margin-top: 10px;
    padding-top: 0;
  }

  .profile-approach,
  .profile-interests,
  .profile-contact {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .profile-approach-copy {
    padding-left: 22px;
  }

  .experience-filter {
    gap: 0 4px;
  }

  .experience-filter-button {
    padding-inline: 8px;
  }

  .experience-role {
    grid-template-columns: 1fr;
    gap: 7px;
    padding: 24px 0 26px;
  }

  .experience-date {
    padding-top: 0;
  }

  .profile-contact {
    margin-inline: -18px;
    padding: 50px 18px;
  }

  .profile-footer {
    min-height: 92px;
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
  }
}


/* ---------------------------------------------------------
   Organization — location detail (v1.2)
   --------------------------------------------------------- */

.location-detail-dashboard {
  padding-top: 24px;
}

.location-detail-state {
  border-left-color: var(--sb-green);
}

.location-detail-role {
  display: block;
  margin-top: 6px;
  color: var(--sb-muted);
  font-size: 0.72rem;
}

.location-state-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 12px;
  background: white;
  border: 1px solid var(--sb-border);
}

.location-state-card {
  min-height: 88px;
  padding: 14px 20px;
  border-top: 3px solid var(--sb-green);
}

.location-state-card + .location-state-card {
  border-left: 1px solid var(--sb-border);
}

.location-state-card.attention {
  border-top-color: var(--sb-attention);
}

.location-state-card strong,
.location-state-card span {
  display: block;
}

.location-state-card strong {
  color: var(--sb-navy);
  font-size: 0.96rem;
}

.location-state-card span {
  margin-top: 4px;
  color: var(--sb-muted);
  font-size: 0.7rem;
  line-height: 1.45;
}

.location-detail-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 12px;
  margin-top: 12px;
}

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

.location-evidence-list .evidence-item:nth-child(3),
.location-evidence-list .evidence-item:nth-child(4) {
  border-top: 1px solid var(--sb-border);
}

.location-related-panel {
  min-height: 0;
  margin-top: 12px;
}

.location-related-content {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 28px;
  align-items: center;
  padding-top: 12px;
}

.location-related-content > div span,
.location-related-content > div strong,
.location-related-content > div small {
  display: block;
}

.location-related-content > div span {
  color: var(--sb-muted);
  font-size: 0.62rem;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.location-related-content > div strong {
  margin-top: 5px;
  color: var(--sb-navy);
  font-size: 0.86rem;
}

.location-related-content > div small {
  margin-top: 4px;
  color: var(--sb-muted);
  font-size: 0.68rem;
}

.location-related-link {
  color: var(--sb-navy);
  font-size: 0.72rem;
  font-weight: 750;
  text-decoration: none;
  white-space: nowrap;
}

.location-related-link:hover {
  color: var(--sb-teal);
}


/* Stonebridge cross-audience continuity (v1.2) */
.detail-peer-link {
  display: inline-block;
  margin-top: 7px;
  color: var(--sb-muted);
  font-size: 0.7rem;
  font-weight: 700;
  text-decoration: none;
}

.detail-peer-link:hover {
  color: var(--sb-teal);
}

/* Stonebridge shared operational history (v1.2) */
.history-meta {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  text-align: right;
}

.history-meta span,
.history-meta small,
.history-meta strong {
  display: block;
}

.history-meta span {
  min-width: 92px;
}

.history-meta small {
  color: var(--sb-muted);
  font-size: 0.56rem;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.history-meta strong {
  margin-top: 4px;
  color: var(--sb-navy);
  font-size: 0.7rem;
  line-height: 1.3;
}


/* Stonebridge location browsing + healthy baseline (v1.2) */
.location-browser-panel {
  min-height: 0;
  margin-top: 14px;
}

.location-browser-note {
  color: var(--sb-muted);
  font-size: 0.66rem;
  font-weight: 700;
}

.location-browser-list {
  display: grid;
}

.location-browser-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 190px 20px;
  gap: 24px;
  align-items: center;
  padding: 13px 2px;
  color: inherit;
  text-decoration: none;
}

.location-browser-item + .location-browser-item {
  border-top: 1px solid var(--sb-border);
}

.location-browser-item:hover h3,
.location-browser-item:hover .exception-arrow {
  color: var(--sb-teal);
}

.location-browser-item.attention {
  box-shadow: inset 3px 0 0 var(--sb-attention);
  padding-left: 12px;
}

.location-browser-role {
  color: var(--sb-muted);
  font-size: 0.62rem;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.location-browser-main h3 {
  margin: 3px 0 3px;
  color: var(--sb-navy);
  font-size: 0.92rem;
}

.location-browser-main p {
  margin: 0;
  color: var(--sb-muted);
  font-size: 0.76rem;
}

.location-browser-state {
  text-align: right;
}

.location-browser-state strong,
.location-browser-state small {
  display: block;
}

.location-browser-state strong {
  color: var(--sb-teal);
  font-size: 0.74rem;
}

.location-browser-item.attention .location-browser-state strong {
  color: var(--sb-attention);
}

.location-browser-state small {
  margin-top: 4px;
  color: var(--sb-muted);
  font-size: 0.64rem;
}

.attention-badge.normal-badge {
  border-color: rgba(47, 127, 122, 0.32);
  color: var(--sb-teal);
}


/* Stonebridge business service + dependency layer (v2.0) */
.business-service-panel,
.service-dependency-panel {
  min-height: 0;
  margin-top: 14px;
}

.business-service-list,
.service-dependency-list {
  display: grid;
}

.business-service-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 190px;
  gap: 28px;
  align-items: center;
  padding: 13px 2px;
}

.business-service-row + .business-service-row,
.service-dependency-row + .service-dependency-row {
  border-top: 1px solid var(--sb-border);
}

.business-service-main h3 {
  margin: 0 0 3px;
  color: var(--sb-navy);
  font-size: 0.88rem;
}

.business-service-main p {
  margin: 0;
  color: var(--sb-ink);
  font-size: 0.76rem;
}

.business-service-main small {
  display: block;
  margin-top: 4px;
  color: var(--sb-muted);
  font-size: 0.68rem;
}

.business-service-state {
  text-align: right;
}

.business-service-state strong,
.business-service-state small {
  display: block;
}

.business-service-state strong {
  color: var(--sb-teal);
  font-size: 0.76rem;
}

.business-service-state small {
  margin-top: 4px;
  color: var(--sb-muted);
  font-size: 0.66rem;
}

.service-dependency-row {
  display: grid;
  grid-template-columns: minmax(250px, 1.05fr) 160px minmax(300px, 1.2fr) 90px;
  gap: 24px;
  align-items: center;
  padding: 14px 2px;
}

.service-dependency-name strong,
.service-dependency-name small,
.service-dependency-business span,
.service-dependency-business strong,
.service-dependency-business small,
.service-dependency-technical span,
.service-dependency-technical strong,
.service-dependency-technical small {
  display: block;
}

.service-dependency-name strong {
  color: var(--sb-navy);
  font-size: 0.82rem;
}

.service-dependency-name small {
  margin-top: 4px;
  color: var(--sb-muted);
  font-size: 0.67rem;
  line-height: 1.4;
}

.service-dependency-business span,
.service-dependency-technical span {
  color: var(--sb-muted);
  font-size: 0.58rem;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.service-dependency-business strong,
.service-dependency-technical strong {
  margin-top: 4px;
  color: var(--sb-navy);
  font-size: 0.74rem;
}

.service-dependency-business small,
.service-dependency-technical small {
  margin-top: 3px;
  color: var(--sb-muted);
  font-size: 0.64rem;
  line-height: 1.35;
}

.service-dependency-state {
  justify-self: end;
  font-size: 0.66rem;
  font-weight: 750;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.service-dependency-state.normal {
  color: var(--sb-teal);
}

.service-dependency-state.attention {
  color: var(--sb-attention);
}

/* Stonebridge evidence provenance + source agreement (v2.0) */
.context-panel {
  overflow-y: auto;
}

.history-meta {
  gap: 12px;
}

.history-meta span {
  min-width: 78px;
}

.evidence-provenance {
  margin-top: 8px !important;
  padding-top: 6px;
  border-top: 1px solid rgba(24, 52, 71, 0.09);
  font-size: 0.58rem !important;
  line-height: 1.4;
}

.evidence-provenance.attention {
  color: var(--sb-attention) !important;
}

.evidence-assessment {
  display: grid;
  grid-template-columns: 170px 260px minmax(0, 1fr);
  gap: 20px;
  align-items: baseline;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--sb-border);
}

.evidence-assessment span,
.evidence-assessment strong,
.evidence-assessment small {
  display: block;
}

.evidence-assessment span {
  color: var(--sb-muted);
  font-size: 0.62rem;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.evidence-assessment strong {
  color: var(--sb-navy);
  font-size: 0.78rem;
}

.evidence-assessment small {
  color: var(--sb-muted);
  font-size: 0.67rem;
  line-height: 1.45;
}

.source-scope-note {
  margin: 14px 0 0;
  padding-top: 12px;
  border-top: 1px solid var(--sb-border);
  color: var(--sb-muted);
  font-size: 0.68rem;
  line-height: 1.5;
}

/* Stonebridge technology-backed operational evidence (v2.0) */
.service-dependency-source {
  margin-top: 6px !important;
  padding-top: 5px;
  border-top: 1px solid rgba(24, 52, 71, 0.08);
  color: var(--sb-ink) !important;
  font-size: 0.6rem !important;
}

.technology-evidence-panel {
  min-height: 0;
  margin-top: 14px;
}

.technology-evidence-list {
  display: grid;
}

.technology-evidence-row {
  display: grid;
  grid-template-columns: minmax(230px, 0.95fr) minmax(260px, 1.05fr) minmax(340px, 1.35fr) 90px;
  gap: 24px;
  align-items: center;
  padding: 14px 2px;
}

.technology-evidence-row + .technology-evidence-row {
  border-top: 1px solid var(--sb-border);
}

.technology-evidence-source span,
.technology-evidence-source strong,
.technology-evidence-source small,
.technology-evidence-observes span,
.technology-evidence-observes strong,
.technology-evidence-finding span,
.technology-evidence-finding strong,
.technology-evidence-finding small {
  display: block;
}

.technology-evidence-source span,
.technology-evidence-observes span,
.technology-evidence-finding span {
  color: var(--sb-muted);
  font-size: 0.58rem;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.technology-evidence-source strong {
  margin-top: 4px;
  color: var(--sb-navy);
  font-size: 0.78rem;
}

.technology-evidence-source small,
.technology-evidence-finding small {
  margin-top: 3px;
  color: var(--sb-muted);
  font-size: 0.63rem;
}

.technology-evidence-observes strong,
.technology-evidence-finding strong {
  margin-top: 4px;
  color: var(--sb-ink);
  font-size: 0.69rem;
  font-weight: 650;
  line-height: 1.4;
}

.technology-evidence-state {
  justify-self: end;
  font-size: 0.66rem;
  font-weight: 750;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.technology-evidence-state.normal {
  color: var(--sb-teal);
}

.technology-evidence-state.attention {
  color: var(--sb-attention);
}

.evidence-source-system {
  margin-top: 7px !important;
  color: var(--sb-navy) !important;
  font-size: 0.61rem !important;
  font-weight: 650;
}


/* Stonebridge condition ownership + lifecycle (v2.0) */
.condition-overview {
  display: grid;
  grid-template-columns: 0.75fr 0.9fr 1.6fr;
  gap: 22px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--sb-border);
}

.condition-overview > div span,
.condition-overview > div strong,
.condition-overview > div small,
.condition-action-grid > div span,
.condition-action-grid > div strong,
.condition-action-grid > div small {
  display: block;
}

.condition-overview > div span,
.condition-action-grid > div span {
  color: var(--sb-muted);
  font-size: 0.58rem;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.condition-overview > div strong {
  margin-top: 4px;
  color: var(--sb-navy);
  font-size: 0.74rem;
  line-height: 1.4;
}

.condition-overview > div small {
  margin-top: 3px;
  color: var(--sb-muted);
  font-size: 0.62rem;
  line-height: 1.4;
}

.condition-overview-action strong {
  font-weight: 650;
}

.condition-lifecycle {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 16px;
  border: 1px solid var(--sb-border);
  background: rgba(255, 255, 255, 0.42);
}

.condition-lifecycle-step {
  min-height: 112px;
  padding: 14px 16px;
  border-top: 3px solid rgba(24, 52, 71, 0.18);
}

.condition-lifecycle-step + .condition-lifecycle-step {
  border-left: 1px solid var(--sb-border);
}

.condition-lifecycle-step.complete {
  border-top-color: var(--sb-teal);
}

.condition-lifecycle-step.current {
  border-top-color: var(--sb-attention);
  background: rgba(168, 111, 61, 0.055);
}

.condition-lifecycle-step.pending {
  color: var(--sb-muted);
}

.condition-lifecycle-step span,
.condition-lifecycle-step strong,
.condition-lifecycle-step small {
  display: block;
}

.condition-lifecycle-step span {
  color: var(--sb-muted);
  font-size: 0.58rem;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.condition-lifecycle-step strong {
  margin-top: 5px;
  color: var(--sb-navy);
  font-size: 0.78rem;
}

.condition-lifecycle-step small {
  margin-top: 4px;
  color: var(--sb-muted);
  font-size: 0.63rem;
  line-height: 1.35;
}

.condition-lifecycle-step p {
  margin: 10px 0 0;
  color: var(--sb-muted);
  font-size: 0.66rem;
  line-height: 1.45;
}

.condition-lifecycle.compact .condition-lifecycle-step {
  min-height: 78px;
  padding: 11px 13px;
}

.condition-lifecycle.compact .condition-lifecycle-step p {
  display: none;
}

.condition-lifecycle-panel {
  margin-top: 14px;
}

.condition-action-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr 1.4fr;
  gap: 24px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--sb-border);
}

.condition-action-grid > div strong {
  margin-top: 5px;
  color: var(--sb-navy);
  font-size: 0.72rem;
  line-height: 1.45;
}

.condition-action-grid > div small {
  margin-top: 4px;
  color: var(--sb-muted);
  font-size: 0.63rem;
  line-height: 1.4;
}

/* Stonebridge persistent simulation state (v2.0) */
.ops-state-indicator.normal {
  background: var(--sb-teal);
}

.path-node.standby,
.detail-path-node.standby {
  border-top: 3px solid rgba(24, 52, 71, 0.24);
}

.path-node.standby > strong,
.detail-path-node.standby strong {
  color: var(--sb-muted);
}

.condition-lifecycle-step.current.resolved {
  border-top-color: var(--sb-teal);
  background: rgba(47, 127, 122, 0.055);
}

.simulation-controls {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  margin-top: 16px;
  padding: 14px 16px;
  border: 1px solid var(--sb-border);
  background: rgba(255, 255, 255, 0.55);
}

.simulation-controls span,
.simulation-controls strong,
.simulation-controls small {
  display: block;
}

.simulation-controls span {
  color: var(--sb-muted);
  font-size: 0.58rem;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.simulation-controls strong {
  margin-top: 4px;
  color: var(--sb-navy);
  font-size: 0.74rem;
}

.simulation-controls small {
  margin-top: 3px;
  color: var(--sb-muted);
  font-size: 0.63rem;
  line-height: 1.4;
}

.simulation-actions {
  display: flex;
  gap: 8px;
  align-items: center;
}

.simulation-actions button {
  min-height: 34px;
  padding: 7px 11px;
  border: 1px solid var(--sb-border);
  font: inherit;
  font-size: 0.66rem;
  font-weight: 750;
  letter-spacing: 0.02em;
  cursor: pointer;
}

.simulation-primary {
  border-color: var(--sb-navy) !important;
  background: var(--sb-navy);
  color: white;
}

.simulation-secondary {
  background: transparent;
  color: var(--sb-navy);
}

.simulation-actions button:hover:not(:disabled) {
  border-color: var(--sb-teal) !important;
}

.simulation-primary:hover:not(:disabled) {
  background: var(--sb-teal);
}

.simulation-actions button:disabled {
  cursor: default;
  opacity: 0.52;
}

/* ---------------------------------------------------------
   Stonebridge branded introduction — first identity pass
   --------------------------------------------------------- */

.stonebridge-intro {
  --sb-navy: #17384a;
  --sb-teal: #4b8782;
  --sb-water: #6f9f9a;
  --sb-stone: #d8d5cc;
  --sb-mineral: #ebe8df;
  --sb-ink: #1b2b33;
  --sb-muted: #6a7679;
  --sb-surface: #f3f1ea;
  --sb-border: rgba(23, 56, 74, 0.16);
  background: var(--sb-surface);
}

.stonebridge-intro .stonebridge-eyebrow {
  color: var(--sb-teal);
}

.stonebridge-intro-shell {
  width: min(calc(100% - 96px), 1380px);
  margin-inline: auto;
}

.stonebridge-intro-header {
  min-height: 104px;
  border-bottom-color: var(--sb-border);
}

.stonebridge-brand-lockup {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--sb-navy);
  text-decoration: none;
}

.stonebridge-brand-symbol {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(23, 56, 74, 0.18);
  background: rgba(255, 255, 255, 0.32);
}

.stonebridge-brand-symbol svg {
  width: 36px;
  height: 36px;
  fill: none;
  stroke-linecap: square;
  stroke-linejoin: miter;
}

.stonebridge-symbol-structure {
  stroke: var(--sb-navy);
  stroke-width: 2.2;
}

.stonebridge-symbol-flow {
  stroke: var(--sb-teal);
  stroke-width: 2.4;
}

.stonebridge-brand-copy strong,
.stonebridge-brand-copy small {
  display: block;
}

.stonebridge-brand-copy strong {
  font-size: 1rem;
  letter-spacing: 0.025em;
}

.stonebridge-brand-copy small {
  margin-top: 2px;
  color: var(--sb-muted);
  font-size: 0.72rem;
}

.stonebridge-intro-nav {
  display: flex;
  align-items: center;
  gap: 26px;
}

.stonebridge-intro-nav a {
  color: var(--sb-muted);
  font-size: 0.79rem;
  font-weight: 620;
  text-decoration: none;
}

.stonebridge-intro-nav a:hover {
  color: var(--sb-navy);
}

.stonebridge-intro-nav .stonebridge-intro-nav-portal {
  padding-left: 26px;
  border-left: 1px solid var(--sb-border);
  color: var(--sb-navy);
}

.stonebridge-intro-nav .stonebridge-portfolio-link {
  color: rgba(23, 56, 74, 0.55);
  font-size: 0.68rem;
}

.stonebridge-intro-main {
  width: 100%;
  max-width: none;
  min-height: 0;
}

.stonebridge-intro-hero {
  min-height: 650px;
  max-width: none;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(420px, 0.95fr);
  gap: 80px;
  align-items: center;
  padding: 86px 0 96px;
}

.stonebridge-hero-copy {
  max-width: 760px;
}

.stonebridge-intro-hero h1 {
  max-width: 760px;
  color: var(--sb-navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.7rem, 6.3vw, 6.35rem);
  font-weight: 400;
  line-height: 0.96;
  letter-spacing: -0.055em;
}

.stonebridge-intro-copy {
  max-width: 710px;
  margin-top: 32px;
  color: var(--sb-ink);
  font-size: 1.15rem;
  line-height: 1.7;
}

.stonebridge-hero-actions {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 34px;
}

.stonebridge-text-link {
  color: var(--sb-navy);
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
}

.stonebridge-text-link:hover {
  color: var(--sb-teal);
}

.stonebridge-flow-field {
  position: relative;
  min-height: 480px;
  display: grid;
  grid-template-rows: 1fr auto;
  border-top: 1px solid var(--sb-border);
  border-bottom: 1px solid var(--sb-border);
  background: rgba(255, 255, 255, 0.22);
}

.stonebridge-flow-field::before,
.stonebridge-flow-field::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 1px;
  background: var(--sb-border);
}

.stonebridge-flow-field::before {
  left: 25%;
}

.stonebridge-flow-field::after {
  right: 25%;
}

.stonebridge-flow-mark {
  display: grid;
  place-items: center;
  padding: 34px;
}

.stonebridge-flow-mark svg {
  width: min(100%, 520px);
  height: auto;
  fill: none;
}

.stonebridge-flow-structure {
  stroke: var(--sb-navy);
  stroke-width: 3;
}

.stonebridge-flow-water {
  stroke: var(--sb-teal);
  stroke-width: 4;
}

.stonebridge-flow-water-secondary {
  stroke: rgba(75, 135, 130, 0.45);
  stroke-width: 2;
}

.stonebridge-flow-caption {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--sb-border);
}

.stonebridge-flow-caption span {
  padding: 14px 12px;
  color: var(--sb-muted);
  font-size: 0.62rem;
  font-weight: 750;
  letter-spacing: 0.11em;
  text-align: center;
  text-transform: uppercase;
}

.stonebridge-flow-caption span + span {
  border-left: 1px solid var(--sb-border);
}

.stonebridge-company-strip {
  border-top: 1px solid var(--sb-border);
  border-bottom: 1px solid var(--sb-border);
  background: var(--sb-mineral);
}

.stonebridge-company-strip-inner {
  min-height: 112px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 72px;
  align-items: center;
}

.stonebridge-company-strip p,
.stonebridge-company-strip span {
  margin: 0;
}

.stonebridge-company-strip p {
  max-width: 760px;
  color: var(--sb-navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.28rem;
  line-height: 1.45;
}

.stonebridge-company-strip span {
  justify-self: end;
  max-width: 420px;
  color: var(--sb-muted);
  font-size: 0.73rem;
  line-height: 1.65;
  text-align: right;
}

.stonebridge-intro-section {
  padding: 112px 0 118px;
}

.stonebridge-intro-section-heading {
  max-width: 830px;
}

.stonebridge-intro-section-heading h2,
.stonebridge-approach-grid h2,
.stonebridge-portal-copy h2 {
  margin: 0;
  color: var(--sb-navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.6rem, 4.4vw, 4.6rem);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -0.045em;
}

.stonebridge-intro-section-heading > p:last-child {
  max-width: 690px;
  margin: 24px 0 0;
  color: var(--sb-muted);
  font-size: 1rem;
  line-height: 1.7;
}

.stonebridge-work-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 64px;
  border-top: 1px solid var(--sb-border);
  border-bottom: 1px solid var(--sb-border);
}

.stonebridge-work-grid article {
  min-height: 290px;
  padding: 30px 30px 36px 0;
}

.stonebridge-work-grid article + article {
  padding-left: 30px;
  border-left: 1px solid var(--sb-border);
}

.stonebridge-work-index {
  color: var(--sb-teal);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.stonebridge-work-grid h3 {
  max-width: 300px;
  margin: 50px 0 16px;
  color: var(--sb-navy);
  font-size: 1.35rem;
  line-height: 1.2;
}

.stonebridge-work-grid p {
  margin: 0;
  color: var(--sb-muted);
  font-size: 0.86rem;
  line-height: 1.65;
}

.stonebridge-approach-band {
  background: var(--sb-navy);
  color: #f3f1ea;
}

.stonebridge-approach-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 100px;
  padding: 100px 0 106px;
}

.stonebridge-approach-grid .stonebridge-eyebrow {
  color: #8ab7b2;
}

.stonebridge-approach-grid h2 {
  max-width: 600px;
  color: #f3f1ea;
}

.stonebridge-approach-copy {
  padding-top: 34px;
}

.stonebridge-approach-copy p {
  margin: 0;
  color: rgba(243, 241, 234, 0.72);
  font-size: 1rem;
  line-height: 1.78;
}

.stonebridge-approach-copy p + p {
  margin-top: 22px;
  padding-top: 22px;
  border-top: 1px solid rgba(243, 241, 234, 0.16);
}

.stonebridge-portal-section {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 94px;
  align-items: center;
  padding: 112px 0 120px;
}

.stonebridge-portal-copy > p:not(.stonebridge-eyebrow) {
  max-width: 690px;
  margin: 28px 0 0;
  color: var(--sb-muted);
  font-size: 1rem;
  line-height: 1.72;
}

.stonebridge-portal-copy .button {
  display: inline-block;
  margin-top: 34px;
}

.stonebridge-portal-proof {
  border-top: 1px solid var(--sb-border);
  border-bottom: 1px solid var(--sb-border);
}

.stonebridge-portal-proof > div {
  min-height: 98px;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 24px;
  align-items: center;
  padding: 0 4px;
}

.stonebridge-portal-proof > div + div {
  border-top: 1px solid var(--sb-border);
}

.stonebridge-portal-proof span {
  color: var(--sb-teal);
  font-size: 0.68rem;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.stonebridge-portal-proof strong {
  color: var(--sb-navy);
  font-size: 0.94rem;
}

.stonebridge-intro-footer {
  min-height: 118px;
  border-top-color: var(--sb-border);
}

.stonebridge-intro-footer > div strong,
.stonebridge-intro-footer > div span {
  display: block;
}

.stonebridge-intro-footer > div strong {
  color: var(--sb-navy);
  font-size: 0.8rem;
}

.stonebridge-intro-footer > div span {
  margin-top: 2px;
  color: var(--sb-muted);
  font-size: 0.7rem;
}

.stonebridge-intro-footer p {
  margin: 0;
  color: var(--sb-muted);
  font-size: 0.7rem;
}

.stonebridge-intro-footer a {
  color: var(--sb-navy);
  text-decoration: none;
}

.stonebridge-intro-footer a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 1060px) {
  .stonebridge-intro-shell {
    width: min(calc(100% - 56px), 1380px);
  }

  .stonebridge-intro-header {
    width: min(calc(100% - 56px), var(--page-width));
  }

  .stonebridge-intro-nav {
    gap: 18px;
  }

  .stonebridge-intro-nav a:not(.stonebridge-intro-nav-portal):not(.stonebridge-portfolio-link) {
    display: none;
  }

  .stonebridge-intro-hero {
    grid-template-columns: 1fr 0.8fr;
    gap: 48px;
  }

  .stonebridge-flow-field {
    min-height: 420px;
  }

  .stonebridge-company-strip-inner,
  .stonebridge-approach-grid,
  .stonebridge-portal-section {
    gap: 56px;
  }
}

@media (max-width: 760px) {
  .stonebridge-intro-header,
  .stonebridge-intro-shell,
  .stonebridge-intro-footer {
    width: calc(100% - 36px);
  }

  .stonebridge-intro-header {
    min-height: 92px;
  }

  .stonebridge-brand-symbol {
    width: 42px;
    height: 42px;
  }

  .stonebridge-brand-copy small,
  .stonebridge-intro-nav-portal {
    display: none;
  }

  .stonebridge-intro-nav {
    gap: 0;
  }

  .stonebridge-intro-hero {
    min-height: 0;
    grid-template-columns: 1fr;
    gap: 52px;
    padding: 60px 0 72px;
  }

  .stonebridge-intro-hero h1 {
    font-size: clamp(3rem, 14vw, 4.4rem);
  }

  .stonebridge-intro-copy {
    font-size: 1rem;
  }

  .stonebridge-hero-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
  }

  .stonebridge-flow-field {
    min-height: 320px;
  }

  .stonebridge-company-strip-inner,
  .stonebridge-approach-grid,
  .stonebridge-portal-section {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .stonebridge-company-strip-inner {
    padding: 28px 0;
  }

  .stonebridge-company-strip span {
    justify-self: start;
    text-align: left;
  }

  .stonebridge-intro-section,
  .stonebridge-portal-section {
    padding: 76px 0 82px;
  }

  .stonebridge-work-grid {
    grid-template-columns: 1fr;
    margin-top: 46px;
  }

  .stonebridge-work-grid article {
    min-height: 0;
    padding: 26px 0 30px;
  }

  .stonebridge-work-grid article + article {
    padding-left: 0;
    border-left: 0;
    border-top: 1px solid var(--sb-border);
  }

  .stonebridge-work-grid h3 {
    margin-top: 26px;
  }

  .stonebridge-approach-grid {
    padding: 74px 0 82px;
  }

  .stonebridge-approach-copy {
    padding-top: 0;
  }

  .stonebridge-intro-footer {
    min-height: 0;
    display: block;
    padding: 26px 0;
  }

  .stonebridge-intro-footer p {
    margin-top: 16px;
  }
}

/* ---------------------------------------------------------
   Stonebridge portal — branded working environment (v2.1)
   Same corporate identity, tuned for repeated operational use.
   --------------------------------------------------------- */

.stonebridge-portal {
  --sb-navy: #17384a;
  --sb-navy-deep: #102e3c;
  --sb-teal: #4b8782;
  --sb-water: #6f9f9a;
  --sb-green: #55745d;
  --sb-mineral: #ebe8df;
  --sb-stone: #d8d5cc;
  --sb-ink: #1b2b33;
  --sb-muted: #68777a;
  --sb-surface: #eceeea;
  --sb-panel: #f8f8f4;
  --sb-panel-quiet: #f1f2ed;
  --sb-border: rgba(23, 56, 74, 0.17);
  --sb-border-strong: rgba(23, 56, 74, 0.28);

  background:
    linear-gradient(rgba(23, 56, 74, 0.025) 1px, transparent 1px),
    var(--sb-surface);
  background-size: 100% 42px;
  color: var(--sb-ink);
}

/* Portal chrome */
.stonebridge-portal .portal-header {
  position: relative;
  height: 78px;
  padding: 0 34px;
  background: var(--sb-navy-deep);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 8px 24px rgba(16, 46, 60, 0.08);
}

.stonebridge-portal .portal-header::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--sb-teal) 0 22%, rgba(111,159,154,.36) 22% 48%, transparent 48%);
  pointer-events: none;
}

.portal-brand-symbol {
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.26);
  background: rgba(255, 255, 255, 0.035);
}

.portal-brand-symbol svg {
  width: 31px;
  height: 31px;
  fill: none;
  stroke-linecap: square;
  stroke-linejoin: miter;
}

.portal-symbol-structure {
  stroke: rgba(255, 255, 255, 0.92);
  stroke-width: 2.2;
}

.portal-symbol-flow {
  stroke: #8ab7b2;
  stroke-width: 2.5;
}

.stonebridge-portal .portal-brand {
  gap: 12px;
}

.stonebridge-portal .portal-brand strong {
  font-size: 0.9rem;
  font-weight: 720;
  letter-spacing: 0.025em;
}

.stonebridge-portal .portal-brand small {
  margin-top: 1px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.66rem;
  letter-spacing: 0.035em;
}

.stonebridge-portal .portal-nav a {
  padding: 0 22px;
  color: rgba(255, 255, 255, 0.56);
  border-bottom-width: 0;
  font-size: 0.78rem;
  font-weight: 680;
  letter-spacing: 0.015em;
}

.stonebridge-portal .portal-nav a:hover {
  background: rgba(255, 255, 255, 0.035);
  color: rgba(255, 255, 255, 0.9);
}

.stonebridge-portal .portal-nav a.active {
  position: relative;
  background: rgba(255, 255, 255, 0.05);
  color: white;
}

.stonebridge-portal .portal-nav a.active::after {
  content: "";
  position: absolute;
  right: 20px;
  bottom: 0;
  left: 20px;
  height: 3px;
  background: #8ab7b2;
}

.stonebridge-portal .portal-meta {
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.65rem;
  letter-spacing: 0.1em;
}

.stonebridge-portal .stonebridge-portfolio-link {
  color: rgba(255, 255, 255, 0.56);
}

.stonebridge-portal .stonebridge-portfolio-link:hover {
  color: white;
}

/* Working canvas */
.stonebridge-portal .portal-main {
  width: min(calc(100% - 64px), 1560px);
  padding: 30px 0 42px;
}

.stonebridge-portal .portal-title-row,
.stonebridge-portal .detail-heading {
  min-height: 72px;
}

.stonebridge-portal .portal-kicker,
.stonebridge-portal .dashboard-label {
  color: var(--sb-teal);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.15em;
}

.stonebridge-portal .portal-title-row h1,
.stonebridge-portal .detail-heading h1 {
  color: var(--sb-navy);
  font-size: 1.86rem;
  font-weight: 680;
  letter-spacing: -0.034em;
}

.stonebridge-portal .context-trigger {
  position: relative;
  padding: 8px 14px 8px 28px;
  border-color: var(--sb-border-strong);
  background: rgba(248, 248, 244, 0.74);
  color: var(--sb-navy);
  font-size: 0.72rem;
  font-weight: 700;
}

.stonebridge-portal .context-trigger::before {
  content: "";
  position: absolute;
  left: 12px;
  top: 50%;
  width: 7px;
  height: 7px;
  transform: translateY(-50%);
  border: 1px solid var(--sb-teal);
  background: transparent;
}

.stonebridge-portal .context-trigger:hover {
  background: white;
  border-color: var(--sb-teal);
}

/* Shared surface language */
.stonebridge-portal .dashboard-panel,
.stonebridge-portal .enterprise-state,
.stonebridge-portal .ops-state,
.stonebridge-portal .program-state,
.stonebridge-portal .detail-state,
.stonebridge-portal .organization-metrics,
.stonebridge-portal .ops-summary-grid,
.stonebridge-portal .program-summary-grid,
.stonebridge-portal .detail-summary-grid,
.stonebridge-portal .location-state-grid,
.stonebridge-portal .simulation-panel,
.stonebridge-portal .condition-lifecycle-panel,
.stonebridge-portal .technology-evidence-panel,
.stonebridge-portal .service-dependency-panel {
  background: var(--sb-panel);
  border-color: var(--sb-border);
  box-shadow: 0 1px 0 rgba(23, 56, 74, 0.025);
}

.stonebridge-portal .dashboard-panel {
  padding: 17px 22px;
}

.stonebridge-portal .dashboard-panel-header {
  padding-bottom: 13px;
  border-bottom-color: var(--sb-border-strong);
}

.stonebridge-portal .dashboard-panel-header h2 {
  color: var(--sb-navy);
  font-size: 0.98rem;
  font-weight: 720;
}

.stonebridge-portal .dashboard-panel-header .portal-kicker,
.stonebridge-portal .dashboard-panel-header .dashboard-label {
  margin-bottom: 6px;
}

.stonebridge-portal .panel-count {
  border-color: var(--sb-border-strong);
  background: var(--sb-panel-quiet);
}

/* Status bands are intentionally stronger than content panels. */
.stonebridge-portal .enterprise-state,
.stonebridge-portal .ops-state,
.stonebridge-portal .program-state,
.stonebridge-portal .detail-state {
  border-top: 3px solid var(--sb-water);
}

.stonebridge-portal .ops-state,
.stonebridge-portal .program-state {
  border-top-color: var(--sb-attention);
}

.stonebridge-portal .enterprise-state,
.stonebridge-portal .ops-state,
.stonebridge-portal .program-state {
  min-height: 92px;
  padding: 16px 22px;
}

.stonebridge-portal .enterprise-state h2,
.stonebridge-portal .ops-state h2,
.stonebridge-portal .program-state h2 {
  font-size: 1.65rem;
  font-weight: 700;
}

.stonebridge-portal .state-indicator,
.stonebridge-portal .ops-state-indicator,
.stonebridge-portal .program-state-indicator {
  width: 6px;
  height: 42px;
}

/* Summary strips become a compact instrument row. */
.stonebridge-portal .organization-metrics,
.stonebridge-portal .ops-summary-grid,
.stonebridge-portal .program-summary-grid,
.stonebridge-portal .detail-summary-grid,
.stonebridge-portal .location-state-grid {
  margin-top: 10px;
  background: rgba(248, 248, 244, 0.92);
}

.stonebridge-portal .organization-metric,
.stonebridge-portal .ops-summary-grid article,
.stonebridge-portal .program-summary-grid article,
.stonebridge-portal .detail-summary-grid article,
.stonebridge-portal .location-state-card {
  min-height: 78px;
  padding-top: 12px;
  padding-bottom: 12px;
}

.stonebridge-portal .metric-value strong,
.stonebridge-portal .ops-summary-grid strong,
.stonebridge-portal .program-summary-grid strong {
  font-size: 1.48rem;
}

/* Quiet evidence cells; state is carried by their top edge. */
.stonebridge-portal .path-node,
.stonebridge-portal .detail-path-node,
.stonebridge-portal .state-comparison article,
.stonebridge-portal .review-comparison article,
.stonebridge-portal .technology-evidence-row,
.stonebridge-portal .service-dependency-row,
.stonebridge-portal .location-browser-item,
.stonebridge-portal .evidence-row {
  background: var(--sb-panel-quiet);
}

.stonebridge-portal .path-node,
.stonebridge-portal .detail-path-node {
  border-color: var(--sb-border-strong);
}

.stonebridge-portal .path-node h3,
.stonebridge-portal .detail-path-node h3,
.stonebridge-portal .operational-area strong {
  color: var(--sb-navy);
}

.stonebridge-portal .path-role,
.stonebridge-portal .comparison-label,
.stonebridge-portal .detail-path-node span,
.stonebridge-portal .evidence-source-type,
.stonebridge-portal .source-type,
.stonebridge-portal .dependency-label {
  color: var(--sb-muted);
  font-weight: 800;
}

/* Stronger grouping between major operating blocks. */
.stonebridge-portal .organization-detail-grid,
.stonebridge-portal .ops-detail-grid,
.stonebridge-portal .program-detail-grid,
.stonebridge-portal .site-detail-grid,
.stonebridge-portal .program-review-grid {
  gap: 12px;
  margin-top: 12px;
}

.stonebridge-portal .service-dependency-panel,
.stonebridge-portal .technology-evidence-panel,
.stonebridge-portal .condition-lifecycle-panel,
.stonebridge-portal .simulation-panel,
.stonebridge-portal .location-browser-panel,
.stonebridge-portal .business-services-panel {
  margin-top: 12px;
}

/* Context is the operator's explanatory inspector, not a marketing drawer. */
.stonebridge-portal .context-panel {
  top: 78px;
  width: 430px;
  padding: 28px 30px 36px;
  overflow-y: auto;
  background: #f5f5f0;
  border-left: 1px solid var(--sb-border-strong);
  box-shadow: -22px 0 48px rgba(16, 46, 60, 0.12);
}

.stonebridge-portal .context-panel-header {
  padding-bottom: 20px;
  border-bottom-color: var(--sb-border-strong);
}

.stonebridge-portal .context-panel-header h2 {
  font-size: 1.38rem;
}

.stonebridge-portal .context-panel-body {
  padding-top: 22px;
}

.stonebridge-portal .context-panel-body section + section {
  margin-top: 24px;
  padding-top: 22px;
}

.stonebridge-portal .context-panel-body h3 {
  color: var(--sb-navy);
  font-size: 0.82rem;
  letter-spacing: 0.005em;
}

.stonebridge-portal .context-panel-body p {
  color: #637174;
  font-size: 0.83rem;
  line-height: 1.62;
}

/* Actions should read as operational controls, not CTA buttons. */
.stonebridge-portal .simulation-actions button,
.stonebridge-portal .simulation-action,
.stonebridge-portal .simulation-reset {
  min-height: 34px;
  border: 1px solid var(--sb-border-strong);
  background: var(--sb-navy);
  color: white;
  font-size: 0.68rem;
  font-weight: 760;
  letter-spacing: 0.02em;
}

.stonebridge-portal .simulation-actions button:hover,
.stonebridge-portal .simulation-action:hover,
.stonebridge-portal .simulation-reset:hover {
  background: var(--sb-teal);
  border-color: var(--sb-teal);
}

.stonebridge-portal .simulation-reset {
  background: transparent;
  color: var(--sb-muted);
}

.stonebridge-portal .simulation-reset:hover {
  color: white;
}

/* Detail-page navigation should feel like moving within an operating system. */
.stonebridge-portal .detail-back,
.stonebridge-portal .detail-peer-link,
.stonebridge-portal .deployment-review-link {
  color: var(--sb-navy);
  font-weight: 700;
}

.stonebridge-portal .detail-back {
  color: var(--sb-muted);
}

.stonebridge-portal .detail-peer-link {
  padding: 7px 10px;
  border: 1px solid var(--sb-border);
  background: rgba(248, 248, 244, 0.7);
  font-size: 0.7rem;
  text-decoration: none;
}

.stonebridge-portal .detail-peer-link:hover {
  border-color: var(--sb-teal);
  color: var(--sb-teal);
}

/* Preserve desktop-first operating density; only prevent accidental clipping. */
@media (max-width: 1240px) {
  .stonebridge-portal .portal-header {
    padding-inline: 24px;
  }

  .stonebridge-portal .portal-nav a {
    padding-inline: 17px;
  }

  .stonebridge-portal .portal-main {
    width: calc(100% - 48px);
  }
}

/* ---------------------------------------------------------
   Stonebridge visual hierarchy study — layout / flow scaffold
   Deliberately stronger grouping and shading for human-processing
   validation. Visual weight can be reduced after hierarchy settles.
   --------------------------------------------------------- */

/* Public introduction: clearer chapter rhythm, stronger material fields. */
.stonebridge-intro {
  --sb-intro-water-field: #e2e9e5;
  --sb-intro-stone-field: #e6e1d6;
  --sb-intro-paper: #f7f5ef;
}

.stonebridge-intro-hero {
  min-height: 610px;
  padding-top: 74px;
  padding-bottom: 82px;
}

.stonebridge-flow-field {
  min-height: 450px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.28), rgba(23,56,74,.035)),
    var(--sb-intro-water-field);
  border-color: rgba(23, 56, 74, 0.24);
}

.stonebridge-flow-field::before,
.stonebridge-flow-field::after,
.stonebridge-flow-caption,
.stonebridge-flow-caption span + span {
  border-color: rgba(23, 56, 74, 0.19);
}

.stonebridge-company-strip {
  background: var(--sb-intro-stone-field);
  border-color: rgba(23, 56, 74, 0.22);
}

.stonebridge-intro-section {
  position: relative;
  padding-top: 94px;
  padding-bottom: 102px;
}

.stonebridge-intro-section-heading {
  max-width: none;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, .65fr);
  gap: 18px 86px;
  align-items: end;
  padding-bottom: 34px;
  border-bottom: 1px solid rgba(23, 56, 74, 0.22);
}

.stonebridge-intro-section-heading .stonebridge-eyebrow {
  grid-column: 1 / -1;
  margin-bottom: 0;
}

.stonebridge-intro-section-heading h2 {
  grid-column: 1;
}

.stonebridge-intro-section-heading > p:last-child {
  grid-column: 2;
  max-width: 500px;
  margin: 0;
  padding-bottom: 5px;
}

.stonebridge-work-grid {
  margin-top: 30px;
  border-top: 0;
  background: var(--sb-intro-paper);
  border: 1px solid rgba(23, 56, 74, 0.18);
}

.stonebridge-work-grid article {
  min-height: 260px;
  padding: 28px 30px 32px;
}

.stonebridge-work-grid article + article {
  padding-left: 30px;
}

.stonebridge-work-grid article:nth-child(2) {
  background: rgba(75, 135, 130, 0.075);
}

.stonebridge-work-grid h3 {
  margin-top: 36px;
}

.stonebridge-approach-grid {
  padding-top: 88px;
  padding-bottom: 94px;
}

.stonebridge-portal-section {
  position: relative;
  margin-top: 0;
  padding-top: 96px;
  padding-bottom: 104px;
}

.stonebridge-portal-section::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 28px;
  right: -28px;
  bottom: 28px;
  left: -28px;
  background: rgba(111, 159, 154, 0.085);
  border-top: 1px solid rgba(23, 56, 74, 0.12);
  border-bottom: 1px solid rgba(23, 56, 74, 0.12);
}

.stonebridge-portal-proof {
  background: rgba(255,255,255,.38);
  border-color: rgba(23, 56, 74, 0.22);
}

.stonebridge-portal-proof > div {
  min-height: 88px;
  padding-inline: 18px;
}

/* Portal: explicit visual zones for state, instruments, work, evidence, action. */
.stonebridge-portal {
  --sb-zone-state: #e0e8e5;
  --sb-zone-instrument: #e8e8df;
  --sb-zone-work: #f2f1ea;
  --sb-zone-water: #e1ebe8;
  --sb-zone-evidence: #dfe7e7;
  --sb-zone-attention: #efe5d8;
  --sb-zone-reference: #ece9df;
  --sb-zone-context: #e8ece8;
}

.stonebridge-portal .portal-main {
  width: min(calc(100% - 64px), 1460px);
  padding-top: 24px;
}

.stonebridge-portal .portal-title-row,
.stonebridge-portal .detail-heading {
  min-height: 66px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(23, 56, 74, 0.18);
}

.stonebridge-portal .portal-title-row h1,
.stonebridge-portal .detail-heading h1 {
  font-size: 2rem;
}

.stonebridge-portal .enterprise-state,
.stonebridge-portal .ops-state,
.stonebridge-portal .program-state,
.stonebridge-portal .detail-state {
  margin-top: 12px;
  background: var(--sb-zone-state);
  border-color: rgba(23, 56, 74, 0.22);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.5);
}

.stonebridge-portal .ops-state,
.stonebridge-portal .program-state {
  background: linear-gradient(90deg, rgba(168,111,61,.095), transparent 44%), var(--sb-zone-state);
}

.stonebridge-portal .organization-metrics,
.stonebridge-portal .ops-summary-grid,
.stonebridge-portal .program-summary-grid,
.stonebridge-portal .detail-summary-grid,
.stonebridge-portal .location-state-grid {
  background: var(--sb-zone-instrument);
  border-color: rgba(23, 56, 74, 0.2);
}

.stonebridge-portal .organization-metric,
.stonebridge-portal .ops-summary-grid article,
.stonebridge-portal .program-summary-grid article,
.stonebridge-portal .detail-summary-grid article,
.stonebridge-portal .location-state-card {
  min-height: 72px;
}

.stonebridge-portal .organization-detail-grid,
.stonebridge-portal .ops-detail-grid,
.stonebridge-portal .program-detail-grid,
.stonebridge-portal .site-detail-grid,
.stonebridge-portal .program-review-grid,
.stonebridge-portal .location-detail-grid {
  padding: 10px;
  gap: 10px;
  background: rgba(23, 56, 74, 0.045);
  border: 1px solid rgba(23, 56, 74, 0.12);
}

.stonebridge-portal .dashboard-panel {
  padding: 16px 20px;
  background: var(--sb-zone-work);
}

.stonebridge-portal .dashboard-panel-header {
  min-height: 44px;
  align-items: end;
  padding-bottom: 10px;
}

.stonebridge-portal .dashboard-panel-header h2 {
  font-size: 1.08rem;
  line-height: 1.18;
}

.stonebridge-portal .dashboard-panel-header .portal-kicker,
.stonebridge-portal .dashboard-panel-header .dashboard-label {
  margin-bottom: 5px;
}

/* Semantic panel fields: intentionally obvious during hierarchy tuning. */
.stonebridge-portal .business-service-panel,
.stonebridge-portal .service-dependency-panel {
  background: var(--sb-zone-water);
  border-left: 4px solid rgba(75, 135, 130, 0.65);
}

.stonebridge-portal .location-browser-panel,
.stonebridge-portal .active-programs-panel,
.stonebridge-portal .operational-areas-panel,
.stonebridge-portal .location-related-panel {
  background: var(--sb-zone-reference);
  border-left: 4px solid rgba(23, 56, 74, 0.23);
}

.stonebridge-portal .attention-panel,
.stonebridge-portal .network-exception-panel,
.stonebridge-portal .deployment-exception-panel,
.stonebridge-portal .condition-lifecycle-panel {
  background: var(--sb-zone-attention);
  border-left: 4px solid rgba(168, 111, 61, 0.72);
}

.stonebridge-portal .technology-evidence-panel,
.stonebridge-portal .evidence-panel {
  background: var(--sb-zone-evidence);
  border-left: 4px solid rgba(65, 103, 116, 0.55);
}

.stonebridge-portal .simulation-controls {
  margin-top: 14px;
  padding: 12px 14px;
  background: rgba(23, 56, 74, 0.075);
  border: 1px solid rgba(23, 56, 74, 0.16);
}

/* Reduce empty-feeling panels while making text hierarchy less uniform. */
.stonebridge-portal .network-exception-panel,
.stonebridge-portal .deployment-exception-panel,
.stonebridge-portal .active-programs-panel,
.stonebridge-portal .operational-areas-panel {
  min-height: 0;
}

.stonebridge-portal .location-browser-item,
.stonebridge-portal .service-dependency-row,
.stonebridge-portal .technology-evidence-row,
.stonebridge-portal .evidence-row,
.stonebridge-portal .operational-area {
  background: rgba(255,255,255,.42);
}

.stonebridge-portal .location-browser-item + .location-browser-item,
.stonebridge-portal .service-dependency-row + .service-dependency-row,
.stonebridge-portal .technology-evidence-row + .technology-evidence-row,
.stonebridge-portal .evidence-row + .evidence-row {
  border-top-color: rgba(23, 56, 74, 0.18);
}

.stonebridge-portal .location-browser-item h3,
.stonebridge-portal .service-dependency-row strong,
.stonebridge-portal .technology-evidence-row strong,
.stonebridge-portal .evidence-row strong {
  color: var(--sb-navy);
}

.stonebridge-portal .location-browser-item p,
.stonebridge-portal .service-dependency-row p,
.stonebridge-portal .technology-evidence-row p,
.stonebridge-portal .evidence-row p,
.stonebridge-portal .operational-area small {
  font-size: 0.74rem;
  line-height: 1.48;
}

.stonebridge-portal .path-node,
.stonebridge-portal .detail-path-node,
.stonebridge-portal .state-comparison article,
.stonebridge-portal .review-comparison article {
  background: rgba(255,255,255,.52);
}

/* History should read as a timeline block, not another anonymous white panel. */
.stonebridge-portal .detail-timeline,
.stonebridge-portal .condition-lifecycle {
  background: rgba(255,255,255,.34);
  border: 1px solid rgba(23, 56, 74, 0.14);
}

.stonebridge-portal .timeline-item,
.stonebridge-portal .condition-lifecycle-step {
  padding-inline: 12px;
}

/* Context: explicit chapters so the eye can recover position quickly. */
.stonebridge-portal .context-panel {
  background: var(--sb-zone-context);
}

.stonebridge-portal .context-panel-body section {
  padding: 14px 16px;
  background: rgba(255,255,255,.5);
  border: 1px solid rgba(23, 56, 74, 0.12);
}

.stonebridge-portal .context-panel-body section + section {
  margin-top: 12px;
  padding-top: 14px;
}

.stonebridge-portal .context-panel-body h3 {
  margin-bottom: 8px;
  font-size: 0.86rem;
}

.stonebridge-portal .context-panel-body p {
  font-size: 0.84rem;
}

@media (max-width: 1060px) {
  .stonebridge-intro-section-heading {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .stonebridge-intro-section-heading .stonebridge-eyebrow,
  .stonebridge-intro-section-heading h2,
  .stonebridge-intro-section-heading > p:last-child {
    grid-column: 1;
  }

  .stonebridge-intro-section-heading > p:last-child {
    max-width: 690px;
  }
}

@media (max-width: 760px) {
  .stonebridge-intro-hero {
    padding-top: 54px;
    padding-bottom: 66px;
  }

  .stonebridge-intro-section {
    padding-top: 72px;
    padding-bottom: 78px;
  }

  .stonebridge-work-grid article:nth-child(2) {
    background: transparent;
  }

  .stonebridge-portal-section::before {
    right: -18px;
    left: -18px;
  }
}

/* ---------------------------------------------------------
   Stonebridge hierarchy refinement — pass 1
   Preserve the grouping proven by the scaffold while reducing
   visual weight one step. Typography and information structure
   intentionally remain unchanged for comparison.
   --------------------------------------------------------- */

/* Public introduction: retain chapter fields, soften only the fill weight. */
.stonebridge-intro {
  --sb-intro-water-field: #e5ebe8;
  --sb-intro-stone-field: #e9e5dc;
}

.stonebridge-flow-field {
  background:
    linear-gradient(180deg, rgba(255,255,255,.32), rgba(23,56,74,.028)),
    var(--sb-intro-water-field);
  border-color: rgba(23, 56, 74, 0.21);
}

.stonebridge-company-strip {
  border-color: rgba(23, 56, 74, 0.19);
}

.stonebridge-work-grid article:nth-child(2) {
  background: rgba(75, 135, 130, 0.06);
}

.stonebridge-portal-section::before {
  background: rgba(111, 159, 154, 0.07);
  border-color: rgba(23, 56, 74, 0.105);
}

/* Portal: reduce field saturation while keeping each semantic zone visible. */
.stonebridge-portal {
  --sb-zone-state: #e4ebe8;
  --sb-zone-instrument: #ecece5;
  --sb-zone-work: #f4f3ee;
  --sb-zone-water: #e6eeeb;
  --sb-zone-evidence: #e5ebeb;
  --sb-zone-attention: #f1e9df;
  --sb-zone-reference: #efede6;
  --sb-zone-context: #edf0ed;
}

.stonebridge-portal .enterprise-state,
.stonebridge-portal .ops-state,
.stonebridge-portal .program-state,
.stonebridge-portal .detail-state {
  border-color: rgba(23, 56, 74, 0.19);
}

.stonebridge-portal .ops-state,
.stonebridge-portal .program-state {
  background: linear-gradient(90deg, rgba(168,111,61,.075), transparent 44%), var(--sb-zone-state);
}

.stonebridge-portal .organization-metrics,
.stonebridge-portal .ops-summary-grid,
.stonebridge-portal .program-summary-grid,
.stonebridge-portal .detail-summary-grid,
.stonebridge-portal .location-state-grid {
  border-color: rgba(23, 56, 74, 0.17);
}

.stonebridge-portal .organization-detail-grid,
.stonebridge-portal .ops-detail-grid,
.stonebridge-portal .program-detail-grid,
.stonebridge-portal .site-detail-grid,
.stonebridge-portal .program-review-grid,
.stonebridge-portal .location-detail-grid {
  background: rgba(23, 56, 74, 0.032);
  border-color: rgba(23, 56, 74, 0.10);
}

/* Keep semantic color-coding, but let the content lead instead of the border. */
.stonebridge-portal .business-service-panel,
.stonebridge-portal .service-dependency-panel {
  border-left-width: 3px;
  border-left-color: rgba(75, 135, 130, 0.54);
}

.stonebridge-portal .location-browser-panel,
.stonebridge-portal .active-programs-panel,
.stonebridge-portal .operational-areas-panel,
.stonebridge-portal .location-related-panel {
  border-left-width: 3px;
  border-left-color: rgba(23, 56, 74, 0.19);
}

.stonebridge-portal .attention-panel,
.stonebridge-portal .network-exception-panel,
.stonebridge-portal .deployment-exception-panel,
.stonebridge-portal .condition-lifecycle-panel {
  border-left-width: 3px;
  border-left-color: rgba(168, 111, 61, 0.62);
}

.stonebridge-portal .technology-evidence-panel,
.stonebridge-portal .evidence-panel {
  border-left-width: 3px;
  border-left-color: rgba(65, 103, 116, 0.47);
}

.stonebridge-portal .simulation-controls {
  background: rgba(23, 56, 74, 0.06);
  border-color: rgba(23, 56, 74, 0.14);
}

.stonebridge-portal .location-browser-item,
.stonebridge-portal .service-dependency-row,
.stonebridge-portal .technology-evidence-row,
.stonebridge-portal .evidence-row,
.stonebridge-portal .operational-area {
  background: rgba(255,255,255,.34);
}

.stonebridge-portal .location-browser-item + .location-browser-item,
.stonebridge-portal .service-dependency-row + .service-dependency-row,
.stonebridge-portal .technology-evidence-row + .technology-evidence-row,
.stonebridge-portal .evidence-row + .evidence-row {
  border-top-color: rgba(23, 56, 74, 0.155);
}

.stonebridge-portal .path-node,
.stonebridge-portal .detail-path-node,
.stonebridge-portal .state-comparison article,
.stonebridge-portal .review-comparison article {
  background: rgba(255,255,255,.44);
}

.stonebridge-portal .detail-timeline,
.stonebridge-portal .condition-lifecycle {
  background: rgba(255,255,255,.28);
  border-color: rgba(23, 56, 74, 0.12);
}

.stonebridge-portal .context-panel-body section {
  background: rgba(255,255,255,.42);
  border-color: rgba(23, 56, 74, 0.105);
}

/* ---------------------------------------------------------
   Stonebridge brand depth — dark corporate field (v2.1)
   Establish the visual progression from the light portfolio to
   a darker public Stonebridge identity, then into the portal's
   lighter working surface under persistent dark chrome.
   --------------------------------------------------------- */

.stonebridge-intro {
  --sb-intro-dark: #142f3d;
  --sb-intro-dark-soft: #1d3a46;
  --sb-intro-dark-line: rgba(226, 235, 231, 0.16);
  --sb-intro-light-text: #edf0ea;
  --sb-intro-light-muted: #b6c2be;
  --sb-intro-mineral-panel: #e9e5da;
  --sb-intro-water-panel: #dce7e3;
  background: var(--sb-intro-dark);
  color: var(--sb-intro-light-text);
}

/* Dark corporate chrome: root portfolio stays light; Stonebridge enters dark. */
.stonebridge-intro .stonebridge-intro-header {
  border-bottom-color: var(--sb-intro-dark-line);
}

.stonebridge-intro .stonebridge-brand-lockup,
.stonebridge-intro .stonebridge-intro-nav .stonebridge-intro-nav-portal {
  color: var(--sb-intro-light-text);
}

.stonebridge-intro .stonebridge-brand-symbol {
  border-color: rgba(237, 240, 234, 0.22);
  background: rgba(237, 240, 234, 0.035);
}

.stonebridge-intro .stonebridge-symbol-structure {
  stroke: #dfe8e3;
}

.stonebridge-intro .stonebridge-symbol-flow {
  stroke: #78aaa3;
}

.stonebridge-intro .stonebridge-brand-copy small,
.stonebridge-intro .stonebridge-intro-nav a {
  color: var(--sb-intro-light-muted);
}

.stonebridge-intro .stonebridge-intro-nav a:hover,
.stonebridge-intro .stonebridge-intro-nav .stonebridge-intro-nav-portal:hover {
  color: #ffffff;
}

.stonebridge-intro .stonebridge-intro-nav .stonebridge-intro-nav-portal {
  border-left-color: var(--sb-intro-dark-line);
}

.stonebridge-intro .stonebridge-intro-nav .stonebridge-portfolio-link {
  color: rgba(237, 240, 234, 0.58);
}

/* Hero: material and structural rather than decorative. */
.stonebridge-intro .stonebridge-intro-hero h1 {
  color: var(--sb-intro-light-text);
}

.stonebridge-intro .stonebridge-intro-copy {
  color: #c5cfcb;
}

.stonebridge-intro .stonebridge-text-link {
  color: #dfe8e3;
}

.stonebridge-intro .stonebridge-text-link:hover {
  color: #8eb9b3;
}

.stonebridge-intro .stonebridge-button {
  background: #dfe8e3;
  border-color: #dfe8e3;
  color: #17384a;
}

.stonebridge-intro .stonebridge-button:hover {
  background: #ffffff;
  border-color: #ffffff;
  color: #17384a;
}

.stonebridge-intro .stonebridge-flow-field {
  background: var(--sb-intro-dark-soft);
  border-color: rgba(226, 235, 231, 0.20);
}

.stonebridge-intro .stonebridge-flow-field::before,
.stonebridge-intro .stonebridge-flow-field::after {
  background: rgba(226, 235, 231, 0.12);
}

.stonebridge-intro .stonebridge-flow-structure {
  stroke: #d8e3de;
}

.stonebridge-intro .stonebridge-flow-water {
  stroke: #79aaa4;
}

.stonebridge-intro .stonebridge-flow-water-secondary {
  stroke: rgba(121, 170, 164, 0.46);
}

.stonebridge-intro .stonebridge-flow-caption {
  border-top-color: rgba(226, 235, 231, 0.16);
}

.stonebridge-intro .stonebridge-flow-caption span {
  color: #aebdb8;
}

.stonebridge-intro .stonebridge-flow-caption span + span {
  border-left-color: rgba(226, 235, 231, 0.12);
}

/* Keep the company statement inside the dark material world. */
.stonebridge-intro .stonebridge-company-strip {
  background: #203b47;
  border-color: rgba(226, 235, 231, 0.16);
}

.stonebridge-intro .stonebridge-company-strip p {
  color: #e7ece7;
}

.stonebridge-intro .stonebridge-company-strip span {
  color: #afbfba;
}

/* What-we-do becomes the principal mineral field: a deliberate light chapter. */
.stonebridge-intro #work {
  margin-top: 34px;
  margin-bottom: 34px;
  padding: 82px 48px 90px;
  background: var(--sb-intro-mineral-panel);
  color: var(--sb-ink);
}

.stonebridge-intro #work .stonebridge-intro-section-heading {
  border-bottom-color: rgba(23, 56, 74, 0.20);
}

.stonebridge-intro #work .stonebridge-intro-section-heading h2,
.stonebridge-intro #work .stonebridge-work-grid h3 {
  color: var(--sb-navy);
}

.stonebridge-intro #work .stonebridge-intro-section-heading > p:last-child,
.stonebridge-intro #work .stonebridge-work-grid p {
  color: #626f72;
}

.stonebridge-intro #work .stonebridge-work-grid {
  background: rgba(255, 255, 255, 0.34);
  border-color: rgba(23, 56, 74, 0.18);
}

.stonebridge-intro #work .stonebridge-work-grid article:nth-child(2) {
  background: rgba(75, 135, 130, 0.08);
}

/* Approach remains the deepest corporate chapter. */
.stonebridge-intro .stonebridge-approach-band {
  background: #0f2835;
  border-top: 1px solid rgba(226, 235, 231, 0.10);
  border-bottom: 1px solid rgba(226, 235, 231, 0.10);
}

/* The portal chapter lightens toward the actual light working surface. */
.stonebridge-intro .stonebridge-portal-section {
  margin-top: 34px;
  margin-bottom: 34px;
  padding: 82px 48px 88px;
  background: var(--sb-intro-water-panel);
  color: var(--sb-ink);
}

.stonebridge-intro .stonebridge-portal-section::before {
  display: none;
}

.stonebridge-intro .stonebridge-portal-copy h2 {
  color: var(--sb-navy);
}

.stonebridge-intro .stonebridge-portal-copy > p:not(.stonebridge-eyebrow) {
  color: #617074;
}

.stonebridge-intro .stonebridge-portal-copy .stonebridge-button {
  background: var(--sb-navy);
  border-color: var(--sb-navy);
  color: #f3f1ea;
}

.stonebridge-intro .stonebridge-portal-copy .stonebridge-button:hover {
  background: #214c5d;
  border-color: #214c5d;
  color: #ffffff;
}

.stonebridge-intro .stonebridge-portal-proof {
  background: rgba(255, 255, 255, 0.38);
  border-color: rgba(23, 56, 74, 0.20);
}

.stonebridge-intro .stonebridge-portal-proof > div + div {
  border-top-color: rgba(23, 56, 74, 0.16);
}

.stonebridge-intro .stonebridge-portal-proof strong {
  color: var(--sb-navy);
}

/* Footer returns to dark corporate chrome and quietly closes the public page. */
.stonebridge-intro .stonebridge-intro-footer {
  border-top-color: var(--sb-intro-dark-line);
  color: var(--sb-intro-light-muted);
}

.stonebridge-intro .stonebridge-intro-footer > div strong,
.stonebridge-intro .stonebridge-intro-footer a {
  color: #e3ebe6;
}

.stonebridge-intro .stonebridge-intro-footer > div span,
.stonebridge-intro .stonebridge-intro-footer p {
  color: #aebdb8;
}

@media (max-width: 1060px) {
  .stonebridge-intro #work,
  .stonebridge-intro .stonebridge-portal-section {
    padding-inline: 34px;
  }
}

@media (max-width: 760px) {
  .stonebridge-intro #work,
  .stonebridge-intro .stonebridge-portal-section {
    margin-top: 18px;
    margin-bottom: 18px;
    padding: 66px 22px 72px;
  }
}

.stonebridge-intro .stonebridge-intro-hero .stonebridge-eyebrow {
  color: #8eb9b3;
}

/* ---------------------------------------------------------
   Stonebridge typography refinement — pass 1 (v2.1)
   Give the public company side a distinct editorial voice while
   preserving the portal's utilitarian operating typography.
   --------------------------------------------------------- */

.stonebridge-intro {
  --sb-public-serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, "Times New Roman", serif;
}

/* Hero: preserve scale and authority without crushing the lines together. */
.stonebridge-intro .stonebridge-intro-hero h1 {
  max-width: 720px;
  font-family: var(--sb-public-serif);
  font-size: clamp(3.55rem, 5.65vw, 5.8rem);
  font-weight: 500;
  line-height: 1.035;
  letter-spacing: -0.032em;
}

/* Reuse the public serif selectively so Stonebridge feels related to,
   but not typographically identical with, the HMSJR portfolio. */
.stonebridge-intro .stonebridge-company-strip p,
.stonebridge-intro .stonebridge-intro-section-heading h2,
.stonebridge-intro .stonebridge-approach-grid h2,
.stonebridge-intro .stonebridge-portal-copy h2 {
  font-family: var(--sb-public-serif);
}

.stonebridge-intro .stonebridge-company-strip p {
  font-size: 1.3rem;
  line-height: 1.5;
  letter-spacing: -0.012em;
}

.stonebridge-intro .stonebridge-intro-section-heading h2,
.stonebridge-intro .stonebridge-approach-grid h2,
.stonebridge-intro .stonebridge-portal-copy h2 {
  font-size: clamp(2.5rem, 4.05vw, 4.35rem);
  font-weight: 500;
  line-height: 1.06;
  letter-spacing: -0.028em;
}

.stonebridge-intro .stonebridge-work-grid h3 {
  font-family: var(--sb-public-serif);
  font-size: 1.48rem;
  font-weight: 600;
  line-height: 1.18;
  letter-spacing: -0.014em;
}

/* Keep portal typography deliberately sans and operational, but give the
   hierarchy a little more confidence now that the public side has diverged. */
.stonebridge-portal .portal-title-row h1,
.stonebridge-portal .detail-heading h1 {
  font-size: 1.92rem;
  font-weight: 720;
  letter-spacing: -0.026em;
}

.stonebridge-portal .dashboard-panel-header h2 {
  font-size: 1.02rem;
  font-weight: 740;
  letter-spacing: -0.008em;
}

@media (max-width: 760px) {
  .stonebridge-intro .stonebridge-intro-hero h1 {
    font-size: clamp(2.9rem, 13vw, 4.15rem);
    line-height: 1.035;
    letter-spacing: -0.028em;
  }
}

/* ---------------------------------------------------------
   Stonebridge portal microcopy readability — pass 1 (v2.1)
   Preserve operational density and hierarchy while making the
   smallest provenance, ownership, timing, and context text readable
   without requiring extra effort from the operator.
   --------------------------------------------------------- */

/* Dense working rows: supporting copy remains secondary, but readable. */
.stonebridge-portal .service-dependency-row p,
.stonebridge-portal .technology-evidence-row p,
.stonebridge-portal .evidence-row p,
.stonebridge-portal .operational-area small {
  font-size: 0.78rem;
  line-height: 1.55;
}

/* Provenance and source metadata. */
.stonebridge-portal .evidence-provenance {
  font-size: 0.66rem !important;
  line-height: 1.52;
}

.stonebridge-portal .evidence-assessment span,
.stonebridge-portal .technology-evidence-source span,
.stonebridge-portal .technology-evidence-observes span,
.stonebridge-portal .technology-evidence-finding span,
.stonebridge-portal .condition-overview > div span,
.stonebridge-portal .condition-action-grid > div span,
.stonebridge-portal .condition-lifecycle-step span {
  font-size: 0.64rem;
  letter-spacing: 0.07em;
}

.stonebridge-portal .evidence-assessment strong,
.stonebridge-portal .technology-evidence-source strong {
  font-size: 0.82rem;
  line-height: 1.42;
}

.stonebridge-portal .evidence-assessment small,
.stonebridge-portal .technology-evidence-source small,
.stonebridge-portal .technology-evidence-finding small,
.stonebridge-portal .condition-overview > div small,
.stonebridge-portal .condition-action-grid > div small,
.stonebridge-portal .condition-lifecycle-step small {
  font-size: 0.70rem;
  line-height: 1.5;
}

.stonebridge-portal .technology-evidence-observes strong,
.stonebridge-portal .technology-evidence-finding strong {
  font-size: 0.75rem;
  line-height: 1.5;
}

.stonebridge-portal .source-scope-note {
  font-size: 0.73rem;
  line-height: 1.55;
}

.stonebridge-portal .service-dependency-source,
.stonebridge-portal .evidence-source-system {
  font-size: 0.68rem !important;
  line-height: 1.48;
}

.stonebridge-portal .service-dependency-state,
.stonebridge-portal .technology-evidence-state {
  font-size: 0.69rem;
}

/* Ownership and lifecycle metadata: readable at a glance without
   competing with the state/value directly above it. */
.stonebridge-portal .condition-overview > div strong {
  font-size: 0.79rem;
  line-height: 1.48;
}

.stonebridge-portal .condition-lifecycle-step strong {
  font-size: 0.82rem;
}

.stonebridge-portal .condition-lifecycle-step p {
  font-size: 0.72rem;
  line-height: 1.52;
}

.stonebridge-portal .condition-action-grid > div strong {
  font-size: 0.77rem;
  line-height: 1.5;
}

/* Context is a reading surface. Keep its hierarchy quiet, but make
   explanatory prose comfortable enough to read without squinting. */
.stonebridge-portal .context-panel-body h3 {
  font-size: 0.89rem;
  line-height: 1.3;
}

.stonebridge-portal .context-panel-body p {
  color: #425861;
  font-size: 0.89rem;
  line-height: 1.62;
}


/* ---------------------------------------------------------
   Stonebridge synthetic-enterprise disclosure (v2.1)
   Make the fictional nature unmistakable without turning the
   corporate landing or working portal into a mockup disclaimer.
   --------------------------------------------------------- */

/* Public landing: disclosure is visible immediately in the chrome,
   but reads as portfolio context rather than part of Stonebridge's brand. */
.stonebridge-intro .stonebridge-disclosure-badge {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 10px;
  border: 1px solid rgba(237, 240, 234, 0.18);
  color: rgba(237, 240, 234, 0.64);
  font-size: 0.62rem;
  font-weight: 650;
  letter-spacing: 0.075em;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
}

/* Portal: retain a much quieter marker in persistent chrome so the
   simulation context remains available without competing with operations. */
.stonebridge-portal .portal-meta {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
}

.stonebridge-portal .stonebridge-fictional-marker {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  padding: 0 8px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  color: rgba(255, 255, 255, 0.40);
  font-size: 0.56rem;
  font-weight: 650;
  letter-spacing: 0.085em;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
}

@media (max-width: 1180px) {
  .stonebridge-intro .stonebridge-disclosure-badge {
    display: none;
  }
}

/* ---------------------------------------------------------
   Stonebridge presentation closeout — selective refinement (v2.1)
   Preserve the settled hierarchy. Bring the few remaining legacy-small
   operational labels into the readability system and finish interaction
   affordances without adding visual noise.
   --------------------------------------------------------- */

/* Remaining operational metadata that predates the microcopy pass. */
.stonebridge-portal .location-browser-note {
  color: #5d6d73;
  font-size: 0.70rem;
  line-height: 1.4;
}

.stonebridge-portal .history-meta small {
  font-size: 0.63rem;
  line-height: 1.4;
}

.stonebridge-portal .history-meta strong {
  font-size: 0.74rem;
  line-height: 1.38;
}

.stonebridge-portal .path-role {
  font-size: 0.66rem;
  line-height: 1.35;
}

.stonebridge-portal .path-metrics {
  font-size: 0.70rem;
  line-height: 1.4;
}

.stonebridge-portal .network-observed {
  font-size: 0.71rem;
  line-height: 1.45;
}

.stonebridge-portal .simulation-controls span {
  font-size: 0.64rem;
}

.stonebridge-portal .simulation-controls strong {
  font-size: 0.80rem;
  line-height: 1.4;
}

.stonebridge-portal .simulation-controls small {
  font-size: 0.70rem;
  line-height: 1.5;
}

.stonebridge-portal .simulation-actions button {
  font-size: 0.70rem;
}

/* Actionable rows should reveal themselves on interaction without turning
   the portal into a button-heavy interface. */
.stonebridge-portal .location-browser-item {
  transition: background-color 120ms ease;
}

.stonebridge-portal .location-browser-item:hover {
  background: rgba(255, 255, 255, 0.50);
}

/* Keyboard focus gets the same restrained Stonebridge accent used for
   active navigation and operational emphasis. */
.stonebridge-intro a:focus-visible,
.stonebridge-portal a:focus-visible,
.stonebridge-portal button:focus-visible {
  outline: 2px solid #6f9f9a;
  outline-offset: 3px;
}

.stonebridge-intro .stonebridge-button:focus-visible,
.stonebridge-portal .simulation-primary:focus-visible {
  outline-color: #8eb9b3;
}

/* Securitysmith identity — restrained maker's mark */
.profile-footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: inherit;
}

.profile-footer-brand img {
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
}

.profile-footer-brand > span,
.profile-footer-brand strong,
.profile-footer-brand small {
  display: block;
}

.profile-footer-brand strong {
  color: #25282b;
  font-size: 0.72rem;
  font-weight: 720;
  letter-spacing: 0.015em;
}

.profile-footer-brand small {
  margin-top: 1px;
  color: var(--muted);
  font-size: 0.63rem;
  letter-spacing: 0.025em;
}

@media (max-width: 760px) {
  .profile-footer-brand {
    align-self: flex-start;
  }
}


/* ---------------------------------------------------------
   Stonebridge Organization entry — synthesis-first hierarchy
   Step 1: state -> interpretation -> exceptions -> depth.
   --------------------------------------------------------- */

.stonebridge-portal .organization-state-panel {
  padding: 18px 20px 20px;
  background: var(--sb-zone-state);
  border: 1px solid rgba(23, 56, 74, 0.19);
  border-top: 3px solid var(--sb-water);
}

.stonebridge-portal .organization-state-heading,
.stonebridge-portal .organization-footprint-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
}

.stonebridge-portal .organization-state-heading h2,
.stonebridge-portal .organization-footprint-heading h2 {
  margin: 2px 0 0;
  color: var(--sb-navy);
  font-size: 1rem;
  line-height: 1.2;
}

.stonebridge-portal .organization-state-note {
  color: var(--sb-muted);
  font-size: 0.72rem;
}

.stonebridge-portal .organization-state-scale {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin-top: 14px;
}

.stonebridge-portal .organization-state-option {
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  background: #d9ddda;
  border: 1px solid rgba(23, 56, 74, 0.13);
  color: #6e7778;
}

.stonebridge-portal .organization-state-option strong {
  font-size: 0.88rem;
  font-weight: 760;
}

.stonebridge-portal .organization-state-option span {
  visibility: hidden;
  font-size: 0.62rem;
  font-weight: 780;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.stonebridge-portal .organization-state-option.is-current {
  color: white;
  border-color: transparent;
  box-shadow: 0 1px 0 rgba(16, 46, 60, 0.08);
}

.stonebridge-portal .organization-state-option.is-current span {
  visibility: visible;
  color: rgba(255, 255, 255, 0.82);
}

.stonebridge-portal .organization-state-option.is-normal {
  background: var(--sb-green);
}

.stonebridge-portal .organization-state-option.is-stable {
  background: var(--sb-teal);
}

.stonebridge-portal .organization-state-option.is-attention {
  background: var(--sb-attention);
}

.stonebridge-portal .organization-state-option.is-critical {
  background: #8e4d4d;
}

.stonebridge-portal .organization-first-answer {
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr);
  align-items: center;
  gap: 28px;
  margin-top: 12px;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.54);
  border: 1px solid rgba(23, 56, 74, 0.13);
}

.stonebridge-portal .organization-first-answer h2 {
  margin: 2px 0 0;
  color: var(--sb-navy);
  font-size: 1.56rem;
  line-height: 1;
  letter-spacing: -0.025em;
}

.stonebridge-portal .organization-first-answer-copy {
  margin: 0;
  max-width: 920px;
  color: #40545c;
  font-size: 0.98rem;
  line-height: 1.52;
}

.stonebridge-portal .organization-attention-panel {
  margin-top: 12px;
}

.stonebridge-portal .organization-attention-summary {
  display: flex;
  align-items: baseline;
  gap: 8px;
  text-align: right;
}

.stonebridge-portal .organization-attention-summary strong {
  color: var(--sb-attention);
  font-size: 1.28rem;
  line-height: 1;
}

.stonebridge-portal .organization-attention-summary span {
  color: var(--sb-muted);
  font-size: 0.7rem;
}

.stonebridge-portal .organization-exception-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
}

.stonebridge-portal .organization-exception-item {
  min-height: 126px;
  padding: 16px 18px;
}

.stonebridge-portal .organization-exception-item + .organization-exception-item {
  border-top: 0;
  border-left: 1px solid rgba(23, 56, 74, 0.17);
}

.stonebridge-portal .organization-exception-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
  margin-top: 5px;
}

.stonebridge-portal .organization-exception-heading h3 {
  margin: 0;
}

.stonebridge-portal .organization-exception-heading strong {
  flex: 0 0 auto;
  color: var(--sb-attention);
  font-size: 0.72rem;
  font-weight: 760;
}

.stonebridge-portal .organization-exception-item p {
  margin-top: 7px;
}

.stonebridge-portal .organization-exception-item small {
  margin-top: 6px;
}

.stonebridge-portal .organization-footprint {
  margin-top: 12px;
}

.stonebridge-portal .organization-footprint-heading {
  padding: 0 2px 8px;
}

.stonebridge-portal .organization-footprint-heading > p {
  max-width: 510px;
  margin: 0;
  color: var(--sb-muted);
  font-size: 0.72rem;
  line-height: 1.45;
  text-align: right;
}

.stonebridge-portal .organization-footprint .organization-metrics {
  margin-top: 0;
}

.stonebridge-portal .organization-programs-panel {
  margin-top: 12px;
}

@media (max-width: 980px) {
  .stonebridge-portal .organization-state-scale {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .stonebridge-portal .organization-first-answer {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .stonebridge-portal .organization-exception-list {
    grid-template-columns: 1fr;
  }

  .stonebridge-portal .organization-exception-item + .organization-exception-item {
    border-left: 0;
    border-top: 1px solid rgba(23, 56, 74, 0.17);
  }
}

@media (max-width: 760px) {
  .stonebridge-portal .organization-state-heading,
  .stonebridge-portal .organization-footprint-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
  }

  .stonebridge-portal .organization-footprint-heading > p {
    text-align: left;
  }

  .stonebridge-portal .organization-state-scale {
    grid-template-columns: 1fr 1fr;
  }

  .stonebridge-portal .organization-state-option {
    min-height: 52px;
  }

  .stonebridge-portal .organization-attention-summary {
    align-items: flex-end;
    flex-direction: column;
    gap: 2px;
  }
}


/* ---------------------------------------------------------
   Stonebridge common operational-state grammar — pass 1
   Primary object state uses the full four-state model.
   Subordinate object state uses a compact colored dot.
   --------------------------------------------------------- */

.stonebridge-portal .status-dot {
  width: 9px;
  height: 9px;
  flex: 0 0 9px;
  display: inline-block;
  border-radius: 50%;
  background: #9aa3a2;
  box-shadow: 0 0 0 1px rgba(23, 56, 74, 0.08);
}

.stonebridge-portal .status-dot.normal {
  background: var(--sb-green);
}

.stonebridge-portal .status-dot.stable {
  background: var(--sb-teal);
}

.stonebridge-portal .status-dot.attention {
  background: var(--sb-attention);
}

.stonebridge-portal .status-dot.critical {
  background: #8e4d4d;
}

.stonebridge-portal .subordinate-state-line,
.stonebridge-portal .subordinate-state-value {
  display: inline-flex !important;
  align-items: center;
  gap: 7px;
}

/* Shared full-state model. Organization keeps its existing composition;
   location pages now use the same visual vocabulary. */
.stonebridge-portal .operating-state-scale {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.stonebridge-portal .operating-state-option {
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  background: #d9ddda;
  border: 1px solid rgba(23, 56, 74, 0.13);
  color: #6e7778;
}

.stonebridge-portal .operating-state-option strong {
  font-size: 0.88rem;
  font-weight: 760;
}

.stonebridge-portal .operating-state-option > span {
  visibility: hidden;
  font-size: 0.62rem;
  font-weight: 780;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.stonebridge-portal .operating-state-option.is-current {
  color: white;
  border-color: transparent;
  box-shadow: 0 1px 0 rgba(16, 46, 60, 0.08);
}

.stonebridge-portal .operating-state-option.is-current > span {
  visibility: visible;
  color: rgba(255, 255, 255, 0.82);
}

.stonebridge-portal .operating-state-option.is-normal {
  background: var(--sb-green);
}

.stonebridge-portal .operating-state-option.is-stable {
  background: var(--sb-teal);
}

.stonebridge-portal .operating-state-option.is-attention {
  background: var(--sb-attention);
}

.stonebridge-portal .operating-state-option.is-critical {
  background: #8e4d4d;
}

/* Location-level state now leads with the common state model rather than
   a unique one-off status treatment. */
.stonebridge-portal .location-detail-state.operating-state-panel {
  min-height: 0;
  display: block;
  margin-top: 12px;
  padding: 16px 20px 18px;
  background: var(--sb-zone-state);
  border: 1px solid rgba(23, 56, 74, 0.19);
  border-top: 3px solid var(--sb-water);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.stonebridge-portal .location-operating-state-heading {
  margin-bottom: 12px;
}

.stonebridge-portal .location-operating-state-heading h2 {
  margin: 0;
  color: var(--sb-navy);
  font-size: 1rem;
  line-height: 1.2;
}

.stonebridge-portal .location-state-interpretation {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  align-items: center;
  gap: 24px;
  margin-top: 10px;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.54);
  border: 1px solid rgba(23, 56, 74, 0.13);
}

.stonebridge-portal .location-state-interpretation > strong {
  color: var(--sb-navy);
  font-size: 1.2rem;
  line-height: 1.1;
}

.stonebridge-portal .location-state-interpretation > p {
  margin: 0;
  color: #40545c;
  font-size: 0.9rem;
  line-height: 1.5;
}

/* Subordinate operational elements use dots instead of competing colored
   bands. The parent operating-state bar remains the strongest signal. */
.stonebridge-portal .location-state-card {
  border-top-color: rgba(23, 56, 74, 0.16);
}

.stonebridge-portal .location-state-card.attention {
  border-top-color: rgba(23, 56, 74, 0.16);
}

.stonebridge-portal .location-state-card .subordinate-state-value {
  min-height: 19px;
}

.stonebridge-portal .location-state-card .subordinate-state-value strong {
  font-size: 0.96rem;
}

.stonebridge-portal .metric-value .status-dot {
  margin-right: 2px;
}

.stonebridge-portal .business-service-state .subordinate-state-line,
.stonebridge-portal .location-browser-state .subordinate-state-line {
  justify-content: flex-end;
}

.stonebridge-portal .location-browser-item.stable .location-browser-state strong {
  color: var(--sb-teal);
}

.stonebridge-portal .related-context-state {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 0;
  border: 0;
  color: var(--sb-muted);
  letter-spacing: 0.06em;
}

.stonebridge-portal .related-context-state.normal-badge {
  border: 0;
  color: var(--sb-muted);
}

@media (max-width: 980px) {
  .stonebridge-portal .operating-state-scale {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .stonebridge-portal .location-state-interpretation {
    grid-template-columns: 1fr;
    gap: 7px;
  }
}

@media (max-width: 760px) {
  .stonebridge-portal .operating-state-option {
    min-height: 52px;
  }
}


/* ---------------------------------------------------------
   Stonebridge semantic status signal — pass 2
   Keep surfaces restrained; let small operational indicators
   carry stronger categorical color.
   --------------------------------------------------------- */

.stonebridge-portal {
  --sb-signal-normal: #2fbd72;
  --sb-signal-stable: #249fb2;
  --sb-signal-attention: #efa000;
  --sb-signal-critical: #df4b52;
  --sb-state-normal: #2d7f52;
  --sb-state-stable: #2d7f8e;
  --sb-state-attention: #b87500;
  --sb-state-critical: #a83f47;
}

.stonebridge-portal .status-dot {
  width: 10px;
  height: 10px;
  flex-basis: 10px;
  background: #98a09f;
  box-shadow: 0 0 0 1px rgba(23, 56, 74, 0.10);
}

.stonebridge-portal .status-dot.normal {
  background: var(--sb-signal-normal);
}

.stonebridge-portal .status-dot.stable {
  background: var(--sb-signal-stable);
}

.stonebridge-portal .status-dot.attention {
  background: var(--sb-signal-attention);
}

.stonebridge-portal .status-dot.critical {
  background: var(--sb-signal-critical);
}

.stonebridge-portal .operating-state-option.is-normal {
  background: var(--sb-state-normal);
}

.stonebridge-portal .operating-state-option.is-stable {
  background: var(--sb-state-stable);
}

.stonebridge-portal .operating-state-option.is-attention {
  background: var(--sb-state-attention);
}

.stonebridge-portal .operating-state-option.is-critical {
  background: var(--sb-state-critical);
}

.stonebridge-portal .evidence-result-state,
.stonebridge-portal .history-evidence-state {
  display: inline-flex !important;
  align-items: center;
  gap: 7px;
}

/* Stonebridge status-dot geometry repair — pass 2a
   Protect compact status indicators from generic span min-width rules
   used by history metadata. */
.stonebridge-portal .status-dot {
  min-width: 10px;
  max-width: 10px;
  flex: 0 0 10px;
}

/* ---------------------------------------------------------
   Stonebridge portal section structure — pass 1
   Major conceptual units should remain visible at a squint.
   Shading carries macro structure; spacing, containment and
   rules carry the finer hierarchy inside each section.
   --------------------------------------------------------- */

.stonebridge-portal {
  --sb-section-gap: 14px;
  --sb-section-border: rgba(23, 56, 74, 0.15);
  --sb-section-state: #e2ebe8;
  --sb-section-instrument: #ecebe4;
  --sb-section-attention: #f2e7d9;
  --sb-section-water: #e3eeeb;
  --sb-section-reference: #eeece4;
  --sb-section-evidence: #e3eaea;
  --sb-section-work: #f5f3ed;
}

/* Consistent chapter rhythm. The page background becomes a visible gutter
   between atomic sections without requiring heavier borders everywhere. */
.stonebridge-portal .organization-dashboard > section:not(.portal-title-row),
.stonebridge-portal .location-detail-dashboard > section:not(.detail-heading),
.stonebridge-portal .ops-dashboard > section:not(.portal-title-row),
.stonebridge-portal .program-dashboard > section:not(.portal-title-row) {
  margin-top: var(--sb-section-gap);
}

/* Organization: each major question occupies its own visual field. */
.stonebridge-portal .organization-state-panel {
  background: var(--sb-section-state);
  border-color: var(--sb-section-border);
}

.stonebridge-portal .organization-attention-panel {
  background: var(--sb-section-attention);
  border-color: rgba(168, 111, 61, 0.28);
}

.stonebridge-portal .organization-footprint {
  padding: 14px 0 0;
  background: var(--sb-section-instrument);
  border: 1px solid var(--sb-section-border);
}

.stonebridge-portal .organization-footprint-heading {
  padding: 0 18px 11px;
}

.stonebridge-portal .organization-footprint .organization-metrics {
  border-width: 1px 0 0;
  border-color: rgba(23, 56, 74, 0.14);
  background: rgba(255, 255, 255, 0.34);
}

.stonebridge-portal .business-service-panel {
  background: var(--sb-section-water);
  border-color: rgba(75, 135, 130, 0.27);
}

.stonebridge-portal .location-browser-panel {
  background: var(--sb-section-reference);
  border-color: rgba(23, 56, 74, 0.16);
}

.stonebridge-portal .organization-programs-panel {
  background: var(--sb-section-work);
  border-color: rgba(23, 56, 74, 0.14);
}

/* Location pages: state, operational elements, evidence/history and related
   context should read as four distinct layers before any text is read. */
.stonebridge-portal .location-detail-state.operating-state-panel {
  background: var(--sb-section-state);
  border-color: var(--sb-section-border);
}

.stonebridge-portal .location-detail-dashboard > .location-state-grid {
  padding: 0;
  background: var(--sb-section-instrument);
  border: 1px solid var(--sb-section-border);
}

.stonebridge-portal .location-detail-dashboard > .location-detail-grid {
  padding: 10px;
  background: var(--sb-section-evidence);
  border-color: rgba(65, 103, 116, 0.20);
}

.stonebridge-portal .location-detail-grid > .dashboard-panel {
  background: rgba(255, 255, 255, 0.52);
  border-color: rgba(23, 56, 74, 0.13);
}

.stonebridge-portal .location-related-panel {
  background: var(--sb-section-reference);
  border-color: rgba(23, 56, 74, 0.16);
}

/* IT Operations: preserve technical depth while making the major layers
   visible from across the page. */
.stonebridge-portal .ops-state {
  background:
    linear-gradient(90deg, rgba(168, 111, 61, 0.075), transparent 44%),
    var(--sb-section-state);
  border-color: var(--sb-section-border);
}

.stonebridge-portal .ops-summary-grid {
  background: var(--sb-section-instrument);
  border-color: var(--sb-section-border);
}

.stonebridge-portal .ops-detail-grid {
  padding: 10px;
  background: #eee9e1;
  border-color: rgba(168, 111, 61, 0.16);
}

.stonebridge-portal .ops-detail-grid > .dashboard-panel {
  border-color: rgba(23, 56, 74, 0.13);
}

.stonebridge-portal .service-dependency-panel {
  background: var(--sb-section-water);
  border-color: rgba(75, 135, 130, 0.27);
}

.stonebridge-portal .technology-evidence-panel {
  background: var(--sb-section-evidence);
  border-color: rgba(65, 103, 116, 0.22);
}

/* Program Operations follows the same chapter grammar without forcing the
   technology-oriented color assignments onto program work. */
.stonebridge-portal .program-state {
  background:
    linear-gradient(90deg, rgba(168, 111, 61, 0.075), transparent 44%),
    var(--sb-section-state);
  border-color: var(--sb-section-border);
}

.stonebridge-portal .program-summary-grid {
  background: var(--sb-section-instrument);
  border-color: var(--sb-section-border);
}

.stonebridge-portal .program-detail-grid {
  padding: 10px;
  background: #eee9e1;
  border-color: rgba(168, 111, 61, 0.16);
}

.stonebridge-portal .program-detail-grid > .dashboard-panel {
  border-color: rgba(23, 56, 74, 0.13);
}

/* Keep inner content quieter than its containing chapter. */
.stonebridge-portal .organization-attention-panel .organization-exception-item,
.stonebridge-portal .business-service-panel .business-service-row,
.stonebridge-portal .location-browser-panel .location-browser-item,
.stonebridge-portal .organization-programs-panel .program-item,
.stonebridge-portal .service-dependency-panel .service-dependency-row,
.stonebridge-portal .technology-evidence-panel .technology-evidence-row {
  background: rgba(255, 255, 255, 0.34);
}

/* Narrow screens keep the chapter separation but avoid excess vertical air. */
@media (max-width: 760px) {
  .stonebridge-portal {
    --sb-section-gap: 10px;
  }

  .stonebridge-portal .organization-footprint {
    padding-top: 12px;
  }

  .stonebridge-portal .organization-footprint-heading {
    padding-inline: 14px;
  }

  .stonebridge-portal .location-detail-dashboard > .location-detail-grid,
  .stonebridge-portal .ops-detail-grid,
  .stonebridge-portal .program-detail-grid {
    padding: 8px;
  }
}

/* ---------------------------------------------------------
   Stonebridge portal section structure — pass 2
   Pass 1 proved too subtle on the live working canvas.
   Increase macro separation while keeping inner hierarchy restrained.
   --------------------------------------------------------- */

.stonebridge-portal {
  --sb-section-gap: 20px;
  --sb-section-border: rgba(23, 56, 74, 0.22);
  --sb-section-state: #d7e5e2;
  --sb-section-instrument: #e5e2d8;
  --sb-section-attention: #f0dcc5;
  --sb-section-water: #d5e7e3;
  --sb-section-reference: #e9e2d6;
  --sb-section-evidence: #d8e4e5;
  --sb-section-work: #eee6da;
}

/* Make the canvas itself function as a clear gutter between chapters. */
.stonebridge-portal .organization-dashboard > section:not(.portal-title-row),
.stonebridge-portal .location-detail-dashboard > section:not(.detail-heading),
.stonebridge-portal .ops-dashboard > section:not(.portal-title-row),
.stonebridge-portal .program-dashboard > section:not(.portal-title-row) {
  margin-top: var(--sb-section-gap);
}

/* Stronger macro fields. Color remains quiet enough that status dots retain
   semantic authority. */
.stonebridge-portal .organization-state-panel,
.stonebridge-portal .location-detail-state.operating-state-panel {
  background: var(--sb-section-state);
  border-color: rgba(49, 112, 113, 0.30);
}

.stonebridge-portal .organization-attention-panel {
  background: var(--sb-section-attention);
  border-color: rgba(168, 111, 61, 0.36);
}

.stonebridge-portal .organization-footprint,
.stonebridge-portal .location-detail-dashboard > .location-state-grid,
.stonebridge-portal .ops-summary-grid,
.stonebridge-portal .program-summary-grid {
  background: var(--sb-section-instrument);
  border-color: rgba(23, 56, 74, 0.22);
}

.stonebridge-portal .business-service-panel,
.stonebridge-portal .service-dependency-panel {
  background: var(--sb-section-water);
  border-color: rgba(49, 112, 113, 0.32);
}

.stonebridge-portal .location-browser-panel,
.stonebridge-portal .location-related-panel {
  background: var(--sb-section-reference);
  border-color: rgba(132, 104, 72, 0.23);
}

.stonebridge-portal .organization-programs-panel {
  background: var(--sb-section-work);
  border-color: rgba(132, 104, 72, 0.20);
}

.stonebridge-portal .location-detail-dashboard > .location-detail-grid,
.stonebridge-portal .technology-evidence-panel {
  background: var(--sb-section-evidence);
  border-color: rgba(65, 103, 116, 0.28);
}

.stonebridge-portal .ops-detail-grid,
.stonebridge-portal .program-detail-grid {
  background: #e9e2d7;
  border-color: rgba(168, 111, 61, 0.23);
}

.stonebridge-portal .ops-state,
.stonebridge-portal .program-state {
  background:
    linear-gradient(90deg, rgba(168, 111, 61, 0.10), transparent 46%),
    var(--sb-section-state);
  border-color: rgba(49, 112, 113, 0.28);
}

/* Let the chapter color remain visible around inner content rather than
   bleaching every section back toward white. */
.stonebridge-portal .organization-attention-panel .organization-exception-item,
.stonebridge-portal .business-service-panel .business-service-row,
.stonebridge-portal .location-browser-panel .location-browser-item,
.stonebridge-portal .organization-programs-panel .program-item,
.stonebridge-portal .service-dependency-panel .service-dependency-row,
.stonebridge-portal .technology-evidence-panel .technology-evidence-row {
  background: rgba(255, 255, 255, 0.48);
}

.stonebridge-portal .location-detail-grid > .dashboard-panel,
.stonebridge-portal .ops-detail-grid > .dashboard-panel,
.stonebridge-portal .program-detail-grid > .dashboard-panel {
  background: rgba(255, 255, 255, 0.64);
  border-color: rgba(23, 56, 74, 0.17);
}

/* Slightly more breathing room around grouped evidence so the larger chapter
   remains perceptible even when the interior is dense. */
.stonebridge-portal .location-detail-dashboard > .location-detail-grid,
.stonebridge-portal .ops-detail-grid,
.stonebridge-portal .program-detail-grid {
  padding: 12px;
}

@media (max-width: 760px) {
  .stonebridge-portal {
    --sb-section-gap: 12px;
  }

  .stonebridge-portal .location-detail-dashboard > .location-detail-grid,
  .stonebridge-portal .ops-detail-grid,
  .stonebridge-portal .program-detail-grid {
    padding: 9px;
  }
}

/* ---------------------------------------------------------
   Stonebridge Location / IT Site distinction — pass 1
   Make audience scope obvious through labels, state grammar,
   cross-links and the same macro section treatment.
   --------------------------------------------------------- */

.stonebridge-portal .detail-peer-link[hidden] {
  display: none !important;
}

/* Business-location pages and IT-site pages share the same page-level state
   grammar while keeping different scope labels in the heading. */
.stonebridge-portal .site-detail-state.operating-state-panel {
  min-height: 0;
  display: block;
  margin-top: var(--sb-section-gap);
  padding: 16px 20px 18px;
  background: var(--sb-section-state);
  border: 1px solid rgba(49, 112, 113, 0.30);
  border-top: 3px solid var(--sb-water);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.stonebridge-portal .site-operating-state-heading {
  margin-bottom: 12px;
}

.stonebridge-portal .site-operating-state-heading h2 {
  margin: 0;
  color: var(--sb-navy);
  font-size: 1rem;
  line-height: 1.2;
}

.stonebridge-portal .site-state-interpretation {
  margin-top: 10px;
}

/* The technical page should scan with the same chapter rhythm already proven
   on Organization and Location Detail. */
.stonebridge-portal .site-detail-dashboard > section:not(.detail-heading) {
  margin-top: var(--sb-section-gap);
}

.stonebridge-portal .site-detail-dashboard > .detail-summary-grid {
  margin-top: var(--sb-section-gap);
  background: var(--sb-section-instrument);
  border-color: rgba(23, 56, 74, 0.22);
}

.stonebridge-portal .site-detail-dashboard > .site-detail-grid {
  margin-top: var(--sb-section-gap);
  padding: 12px;
  gap: 10px;
  background: var(--sb-section-evidence);
  border: 1px solid rgba(65, 103, 116, 0.28);
}

.stonebridge-portal .site-detail-grid > .dashboard-panel {
  background: rgba(255, 255, 255, 0.64);
  border-color: rgba(23, 56, 74, 0.17);
}

.stonebridge-portal .site-detail-dashboard > .condition-lifecycle-panel {
  margin-top: var(--sb-section-gap);
  background: var(--sb-section-attention);
  border-color: rgba(168, 111, 61, 0.36);
}

.stonebridge-portal .site-detail-dashboard > .evidence-panel {
  margin-top: var(--sb-section-gap);
  background: var(--sb-section-evidence);
  border-color: rgba(65, 103, 116, 0.28);
}

/* State-bearing values get the shared compact signal. Metadata remains quiet. */
.stonebridge-portal .detail-summary-grid .subordinate-state-value,
.stonebridge-portal .detail-path-node .subordinate-state-value,
.stonebridge-portal .history-meta .subordinate-state-value,
.stonebridge-portal .evidence-assessment .subordinate-state-value {
  display: inline-flex !important;
  align-items: center;
  gap: 7px;
}

.stonebridge-portal .detail-path-node .subordinate-state-value {
  margin-top: 4px;
}

.stonebridge-portal .history-meta .subordinate-state-value {
  justify-content: flex-end;
}

.stonebridge-portal .evidence-assessment .subordinate-state-value {
  margin-top: 5px;
}

@media (max-width: 760px) {
  .stonebridge-portal .site-detail-dashboard > .site-detail-grid {
    padding: 9px;
  }
}


/* ---------------------------------------------------------
   Stonebridge signal navigation — pass 1
   Visual signals should lead to the natural next question
   when a meaningful destination exists. No decorative links.
   --------------------------------------------------------- */

.stonebridge-portal {
  scroll-behavior: smooth;
}

.stonebridge-portal .organization-metric-action {
  display: block;
  width: 100%;
  min-height: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
}

.stonebridge-portal .organization-metric-action:hover .metric-value,
.stonebridge-portal .organization-metric-action:focus-visible .metric-value {
  transform: translateX(2px);
}

.stonebridge-portal .organization-metric-action:focus-visible,
.stonebridge-portal .program-row-link:focus-visible,
.stonebridge-portal .location-state-card-link:focus-visible,
.stonebridge-portal .site-summary-link:focus-visible,
.stonebridge-portal .organization-location-inventory-item.is-modeled:focus-visible {
  outline: 2px solid var(--sb-water);
  outline-offset: 3px;
}

.stonebridge-portal .organization-location-inventory {
  padding: 16px 18px 18px;
  border-top: 1px solid rgba(23, 56, 74, 0.16);
  background: rgba(255, 255, 255, 0.44);
}

.stonebridge-portal .organization-location-inventory[hidden] {
  display: none;
}

.stonebridge-portal .organization-location-inventory-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 12px;
}

.stonebridge-portal .organization-location-inventory-heading strong {
  color: var(--sb-navy);
}

.stonebridge-portal .organization-location-inventory-heading span {
  color: var(--sb-muted);
  font-size: 0.82rem;
}

.stonebridge-portal .organization-location-inventory-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid rgba(23, 56, 74, 0.13);
  border-left: 1px solid rgba(23, 56, 74, 0.13);
}

.stonebridge-portal .organization-location-inventory-item {
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 9px 11px;
  border-right: 1px solid rgba(23, 56, 74, 0.13);
  border-bottom: 1px solid rgba(23, 56, 74, 0.13);
  color: var(--sb-muted);
  font-size: 0.84rem;
  line-height: 1.25;
}

.stonebridge-portal a.organization-location-inventory-item.is-modeled {
  color: var(--sb-navy);
  font-weight: 700;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.64);
}

.stonebridge-portal a.organization-location-inventory-item.is-modeled:hover {
  background: rgba(255, 255, 255, 0.9);
}

.stonebridge-portal .program-row-link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.stonebridge-portal .program-row-link:hover {
  background: rgba(255, 255, 255, 0.74);
}

.stonebridge-portal .program-row-arrow {
  margin-left: 5px;
  color: var(--sb-navy);
  font-weight: 700;
}

.stonebridge-portal .location-state-card-link {
  position: relative;
  display: block;
  color: inherit;
  text-decoration: none;
  cursor: pointer;
}

.stonebridge-portal .location-state-card-link:hover {
  background: rgba(255, 255, 255, 0.68);
}

.stonebridge-portal .state-card-arrow {
  position: absolute;
  right: 13px;
  bottom: 11px;
  color: var(--sb-navy);
  font-size: 0.9rem;
  font-weight: 700;
}

.stonebridge-portal .related-context-state-link {
  cursor: pointer;
}

.stonebridge-portal .related-context-state-link:hover {
  filter: brightness(0.97);
}

.stonebridge-portal .detail-summary-grid .site-summary-link {
  position: relative;
  display: block;
  min-width: 0;
  min-height: 72px;
  padding: 12px 22px;
  color: inherit;
  text-decoration: none;
}

.stonebridge-portal .detail-summary-grid .site-summary-link + .site-summary-link {
  border-left: 1px solid rgba(23, 56, 74, 0.14);
}

.stonebridge-portal .detail-summary-grid .site-summary-link:hover {
  background: rgba(255, 255, 255, 0.54);
}

.stonebridge-portal .site-summary-arrow {
  position: absolute;
  top: 13px;
  right: 14px;
  color: var(--sb-navy);
  font-size: 0.85rem;
  font-weight: 700;
}

@media (max-width: 880px) {
  .stonebridge-portal .organization-location-inventory-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .stonebridge-portal .organization-location-inventory-heading {
    display: block;
  }

  .stonebridge-portal .organization-location-inventory-heading span {
    display: block;
    margin-top: 4px;
  }

  .stonebridge-portal .organization-location-inventory-list {
    grid-template-columns: 1fr;
  }

  .stonebridge-portal .detail-summary-grid .site-summary-link + .site-summary-link {
    border-left: 0;
    border-top: 1px solid rgba(23, 56, 74, 0.14);
  }
}


/* Securitysmith landing-page editorial separation.
   Restrained contained fields; no full-bleed section bands. */
.profile-site #work > .profile-section-heading {
  box-sizing: border-box;
  max-width: 880px;
  padding: 28px 34px 30px;
  background: #ece7de;
  border: 1px solid rgba(37, 40, 43, 0.10);
}

.profile-site .profile-approach {
  box-sizing: border-box;
  padding: 54px 48px;
  background: #e9e4da;
  border: 1px solid rgba(37, 40, 43, 0.12);
}

.profile-site .interest-list .quiet-link {
  color: inherit;
  text-decoration: none;
  cursor: pointer;
}

.profile-site .interest-list .quiet-link:hover,
.profile-site .interest-list .quiet-link:focus-visible {
  color: var(--copper);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.profile-site .interest-list .quiet-link:focus-visible {
  outline: 2px solid var(--copper);
  outline-offset: 3px;
}

@media (max-width: 760px) {
  .profile-site #work > .profile-section-heading {
    padding: 24px 22px 26px;
  }

  .profile-site .profile-approach {
    padding: 38px 24px;
  }
}


/* Stonebridge clarity pass: distinguish domains before a visitor reads.
   Shared navigation and status grammar remain, while work surfaces diverge. */
.stonebridge-portal .organization-dashboard > .portal-title-row,
.stonebridge-portal .ops-dashboard > .portal-title-row,
.stonebridge-portal .program-dashboard > .portal-title-row,
.stonebridge-portal .location-detail-dashboard > .detail-heading,
.stonebridge-portal .site-detail-dashboard > .detail-heading,
.stonebridge-portal .program-review-dashboard > .detail-heading {
  min-height: 0;
  padding: 20px 26px 22px;
  border: 1px solid rgba(23,56,74,.16);
  border-left: 6px solid var(--sb-water);
  background: #e3eeeb;
}
.stonebridge-portal .ops-dashboard > .portal-title-row,
.stonebridge-portal .site-detail-dashboard > .detail-heading {
  border-left-color: #2a677f;
  background: #dfebf0;
}
.stonebridge-portal .program-dashboard > .portal-title-row,
.stonebridge-portal .program-review-dashboard > .detail-heading {
  border-left-color: #a86f3d;
  background: #f0e4d4;
}
.stonebridge-portal .location-detail-dashboard > .detail-heading {
  border-left-color: #397f70;
  background: #e2eee5;
}
.stonebridge-portal .portal-title-row h1,
.stonebridge-portal .detail-heading h1 {
  font-size: clamp(1.55rem, 2.4vw, 2.18rem);
  line-height: 1.15;
  max-width: 900px;
}
.stonebridge-portal .dashboard-panel-header .dashboard-label + h2 {
  margin-top: 2px;
}
.stonebridge-portal .organization-dashboard .organization-metrics .metric-detail {
  display: none;
}
.stonebridge-portal .ops-dashboard .network-exception-panel {
  border-top: 4px solid #2a677f;
}
.stonebridge-portal .program-dashboard .deployment-exception-panel,
.stonebridge-portal .program-review-dashboard .program-review-grid > .dashboard-panel:first-child {
  border-top: 4px solid #a86f3d;
}
.stonebridge-portal .location-detail-dashboard > .location-detail-grid,
.stonebridge-portal .site-detail-dashboard > .site-detail-grid,
.stonebridge-portal .program-review-dashboard > .program-review-grid {
  margin-top: 16px;
}
.stonebridge-portal .context-trigger {
  flex-shrink: 0;
}
@media (max-width: 760px) {
  .stonebridge-portal .organization-dashboard > .portal-title-row,
  .stonebridge-portal .ops-dashboard > .portal-title-row,
  .stonebridge-portal .program-dashboard > .portal-title-row,
  .stonebridge-portal .location-detail-dashboard > .detail-heading,
  .stonebridge-portal .site-detail-dashboard > .detail-heading,
  .stonebridge-portal .program-review-dashboard > .detail-heading {
    padding: 17px 16px;
  }
}

/* A shared status grammar across technical and program workspaces. */
.stonebridge-portal .attention-badge,
.stonebridge-portal .area-state,
.stonebridge-portal .service-dependency-state,
.stonebridge-portal .technology-evidence-state {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.stonebridge-portal .attention-badge .status-dot,
.stonebridge-portal .area-state .status-dot,
.stonebridge-portal .service-dependency-state .status-dot,
.stonebridge-portal .technology-evidence-state .status-dot {
  flex: 0 0 10px;
}
.stonebridge-portal .program-state-indicator.normal {
  background: var(--sb-signal-normal);
}
.stonebridge-portal .program-review-dashboard .history-meta #review-history-evidence {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.stonebridge-portal .program-dashboard .program-row .subordinate-state-line {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.stonebridge-portal .program-review-dashboard .simulation-controls {
  margin-top: 18px;
}


/* Shared operating-state bars: Organization, Business Location, IT Site,
   Infrastructure Control, Program Operations, and Program Review. */
.stonebridge-portal .ops-state.operating-state-panel,
.stonebridge-portal .program-state.operating-state-panel,
.stonebridge-portal .program-review-state.operating-state-panel {
  display: block;
  min-height: 0;
  margin-top: var(--sb-section-gap);
  padding: 16px 20px 18px;
  background: var(--sb-section-state);
  border: 1px solid rgba(49,112,113,.30);
  border-top: 3px solid var(--sb-water);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.5);
}
.stonebridge-portal .state-bar-heading {
  margin-bottom: 12px;
}
.stonebridge-portal .state-bar-heading h2 {
  margin: 0;
  color: var(--sb-navy);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.2;
}
.stonebridge-portal .operating-state-panel .location-state-interpretation {
  margin-top: 10px;
}
.stonebridge-portal .operating-state-panel .location-state-interpretation > strong {
  font-size: 1.2rem;
}
.stonebridge-portal .operating-state-panel .location-state-interpretation > p {
  font-size: .9rem;
  max-width: none;
}
@media(max-width: 760px) {
  .stonebridge-portal .ops-state.operating-state-panel,
  .stonebridge-portal .program-state.operating-state-panel,
  .stonebridge-portal .program-review-state.operating-state-panel {
    padding: 14px 16px 16px;
  }
}

/* Stonebridge visual hierarchy pass: domain shading, stronger titles, readable chapters.
   Scoped entirely to the fictional portal; personal site remains unchanged. */
.stonebridge-portal .organization-dashboard > .portal-title-row {
  background:#bad7cc;
  border-color:#91b7a9;
  border-left-color:#286c5c;
}
.stonebridge-portal .ops-dashboard > .portal-title-row {
  background:#b9d1df;
  border-color:#89afc2;
  border-left-color:#245f79;
}
.stonebridge-portal .program-dashboard > .portal-title-row {
  background:#dfc7aa;
  border-color:#bb9a70;
  border-left-color:#98602f;
}
/* Organization: visible chapter separation without decorative cards. */
.stonebridge-portal .organization-dashboard {
  --sb-section-state:#d0e1da;
  --sb-section-attention:#ebdbc8;
  --sb-section-instrument:#e4e3d9;
  --sb-section-water:#d4e7e0;
  --sb-section-reference:#e9e3d6;
  --sb-section-work:#e9e1d4;
}
.stonebridge-portal .organization-dashboard > .organization-state-panel {background:#d0e1da}
.stonebridge-portal .organization-dashboard > .organization-attention-panel {background:#ebdbc8}
.stonebridge-portal .organization-dashboard > .organization-footprint {background:#e4e3d9}
.stonebridge-portal .organization-dashboard > .business-service-panel {background:#d4e7e0}
.stonebridge-portal .organization-dashboard > .location-browser-panel {background:#e9e3d6}
.stonebridge-portal .organization-dashboard > .organization-programs-panel {background:#e9e1d4}
/* Technical workspace: blue-gray operating/evidence, warm risk, green service. */
.stonebridge-portal .ops-dashboard > .ops-state {
  background:#d5e2e7;
  border-color:#a7bdc8;
}
.stonebridge-portal .ops-dashboard > .ops-summary-grid {background:#e1e7e5;border-color:#b8c7cb}
.stonebridge-portal .ops-dashboard > .ops-detail-grid {background:#d7e1e7;border:1px solid #a9c0ca}
.stonebridge-portal .ops-dashboard .network-exception-panel {background:#eadccb;border-color:#c8b092}
.stonebridge-portal .ops-dashboard .operational-areas-panel {background:#e6edf0;border-color:#b9cad1}
.stonebridge-portal .ops-dashboard > .service-dependency-panel {background:#d5e7df;border-color:#a8c6ba}
.stonebridge-portal .ops-dashboard > .technology-evidence-panel {background:#d6e2e9;border-color:#afc2ce}
.stonebridge-portal .ops-dashboard > .drilldown-panel {background:#e3e8e5;border-color:#b8c7cb}
/* Delivery workspace: copper attention and warm gray work/reference chapters. */
.stonebridge-portal .program-dashboard > .program-state {
  background:#e7dfd0;
  border-color:#c5b399;
}
.stonebridge-portal .program-dashboard > .program-summary-grid {background:#e9e3d8;border-color:#cfc0aa}
.stonebridge-portal .program-dashboard > .program-detail-grid {background:#e2d7c6;border:1px solid #c7b39a}
.stonebridge-portal .program-dashboard .deployment-exception-panel {background:#ebddc9;border-color:#c8ad8b}
.stonebridge-portal .program-dashboard .active-programs-panel {background:#ebe7db;border-color:#cec4b1}
.stonebridge-portal .program-dashboard > .drilldown-panel {background:#e9e2d5;border-color:#cfc0aa}
.stonebridge-portal .ops-dashboard > section,
.stonebridge-portal .program-dashboard > section,
.stonebridge-portal .organization-dashboard > section {
  scroll-margin-top:16px;
}

/* Shared, opt-in synthetic state scenarios. Compact by default. */
.stonebridge-portal .stonebridge-scenario-lab {
  margin-top:12px;
  padding:9px 18px;
  border:1px solid rgba(23,56,74,.22);
  background:#e7ebe8;
  color:var(--sb-navy);
}
.stonebridge-portal .ops-dashboard .stonebridge-scenario-lab {background:#dce7eb}
.stonebridge-portal .program-dashboard .stonebridge-scenario-lab {background:#eae2d6}
.stonebridge-portal .stonebridge-scenario-lab > summary {
  cursor:pointer;font-size:.78rem;font-weight:750;padding:4px 0;
}
.stonebridge-portal .scenario-current {
  margin-left:9px;color:#315e64;font-size:.71rem;font-weight:700;
}
.stonebridge-portal .scenario-description {
  font-size:.77rem;line-height:1.5;margin:13px 0 10px;
}
.stonebridge-portal .scenario-buttons {display:flex;flex-wrap:wrap;gap:7px;margin-bottom:10px}
.stonebridge-portal .scenario-buttons button {
  padding:7px 12px;border:1px solid rgba(23,56,74,.25);background:#f7f8f4;
  border-radius:3px;color:var(--sb-navy);font:inherit;font-size:.73rem;font-weight:750;cursor:pointer;
}
.stonebridge-portal .scenario-buttons button[aria-pressed="true"] {
  color:#fff;background:#234a56;border-color:#234a56;
}
.stonebridge-portal .scenario-buttons button:hover:not([aria-pressed="true"]) {background:#fff}
.stonebridge-portal .scenario-buttons button:focus-visible,
.stonebridge-portal .stonebridge-scenario-lab > summary:focus-visible {outline:2px solid #2a677f;outline-offset:2px}
.stonebridge-portal .stonebridge-scenario-lab small {display:block;font-size:.68rem;color:#53666a;line-height:1.5}



/* Business locations and technical sites are first-class visual domains.
   Section shading expresses relationship and reading order, not health state. */
.stonebridge-portal .location-detail-dashboard > .detail-heading {
  background: #bad7cc;
  border-color: #91b7a9;
  border-left-color: #286c5c;
}
.stonebridge-portal .site-detail-dashboard > .detail-heading {
  background: #b9d1df;
  border-color: #89afc2;
  border-left-color: #245f79;
}
.stonebridge-portal .location-detail-dashboard > .location-detail-state {
  background: #cbded5;
  border-color: #9ebcae;
}
.stonebridge-portal .location-detail-dashboard > .location-state-grid {
  background: #e0e3d8;
  border-color: #bcc9bd;
}
.stonebridge-portal .location-detail-dashboard > .location-detail-grid {
  background: #cedfdc;
  border: 1px solid #aac6bd;
}
.stonebridge-portal .location-detail-dashboard > .location-related-panel {
  background: #e7ddce;
  border-color: #c8baa4;
}
.stonebridge-portal .site-detail-dashboard > .site-detail-state {
  background: #d0e1e9;
  border-color: #a2bfcd;
}
.stonebridge-portal .site-detail-dashboard > .detail-summary-grid {
  background: #e3e9e7;
  border-color: #becbd1;
}
.stonebridge-portal .site-detail-dashboard > .site-detail-grid {
  background: #cedde6;
  border: 1px solid #a6becc;
}
.stonebridge-portal .site-detail-dashboard > .condition-lifecycle-panel {
  background: #e6d9c7;
  border-color: #c8b599;
}
.stonebridge-portal .site-detail-dashboard > .evidence-panel {
  background: #d2e0e6;
  border-color: #adc1c9;
}
.stonebridge-portal .location-detail-dashboard > .location-detail-grid > .dashboard-panel,
.stonebridge-portal .site-detail-dashboard > .site-detail-grid > .dashboard-panel {
  background: rgba(255,255,255,.57);
}

/* One reset control in the fictional portal header. */
.stonebridge-portal .portal-reset-simulation {
  padding:6px 9px;border:1px solid rgba(255,255,255,.30);border-radius:3px;
  color:rgba(255,255,255,.82);background:rgba(255,255,255,.08);
  font:inherit;font-size:.66rem;font-weight:650;white-space:nowrap;cursor:pointer;
}
.stonebridge-portal .portal-reset-simulation:hover {color:#fff;background:rgba(255,255,255,.17)}
.stonebridge-portal .portal-reset-simulation:focus-visible {outline:2px solid #fff;outline-offset:2px}
.stonebridge-portal [hidden] {display:none !important}


/* Securitysmith landing hero — editorial portrait.
   The portrait is part of the opening statement, not a separate headshot card. */
.profile-site .profile-header .profile-identity {
  gap: 0;
}

.profile-site .profile-hero {
  max-width: none;
  min-height: 520px;
  display: grid;
  grid-template-columns: minmax(0, 1.38fr) minmax(360px, 0.84fr);
  gap: clamp(46px, 5vw, 68px);
  align-items: stretch;
  padding: 44px 0 68px;
}

.profile-site .profile-hero-copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.profile-site .profile-hero h1 {
  max-width: 750px;
}

.profile-site .profile-lead {
  max-width: 700px;
}

.profile-site .profile-hero-portrait {
  min-height: 510px;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(37, 40, 43, 0.14);
  background: #d9e0e2;
}

.profile-site .profile-hero-portrait img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: 50% 34%;
}

@media (max-width: 980px) {
  .profile-site .profile-hero {
    min-height: 0;
    grid-template-columns: minmax(0, 1.08fr) minmax(300px, 0.92fr);
    gap: 34px;
    padding: 38px 0 60px;
  }

  .profile-site .profile-hero h1 {
    font-size: clamp(2.9rem, 6vw, 4rem);
  }

  .profile-site .profile-hero-portrait {
    min-height: 440px;
  }
}

@media (max-width: 760px) {
  .profile-site .profile-hero {
    grid-template-columns: 1fr;
    gap: 34px;
    padding: 42px 0 58px;
  }

  .profile-site .profile-hero-portrait {
    min-height: 0;
    height: min(108vw, 500px);
  }

  .profile-site .profile-hero-portrait img {
    object-position: 50% 29%;
  }
}


/* Securitysmith landing — white canvas and photo-derived blue accents. */
.profile-site {
  --profile-paper: #ffffff;
  --profile-paper-deep: #f5f7fa;
  --profile-blue-deep: #18357f;
  --profile-blue: #2f63cf;
  --profile-blue-bright: #4f7fe0;
  --profile-blue-pale: #9ab8f2;
  --profile-rule: rgba(24, 53, 127, 0.13);
  --profile-rule-strong: rgba(24, 53, 127, 0.28);

  background: #ffffff;
}

.profile-site .profile-header {
  border-bottom-color: var(--profile-rule);
}

.profile-site .profile-nav a::after {
  background: var(--profile-blue);
}

.profile-site .profile-nav a:hover {
  color: var(--profile-blue-deep);
}

.profile-site .profile-eyebrow,
.profile-site .profile-section .profile-eyebrow {
  color: var(--profile-blue);
}

.profile-site .profile-button.secondary:hover {
  border-bottom-color: var(--profile-blue);
}

.profile-site .profile-hero-portrait {
  border-color: rgba(47, 99, 207, 0.22);
}

.profile-site .profile-section {
  border-top-color: rgba(24, 53, 127, 0.48);
}

.profile-site #work > .profile-section-heading {
  background: #f5f7fa;
  border-color: rgba(47, 99, 207, 0.14);
}

.profile-site .work-index,
.profile-site .experience-filter,
.profile-site .experience-intro {
  background: rgba(47, 99, 207, 0.045);
}

.profile-site .work-story:not(.work-story-feature) .profile-card-label,
.profile-site .work-story:not(.work-story-feature) .work-evidence span,
.profile-site .experience-employer,
.profile-site .interest-list article::before {
  color: var(--profile-blue);
}

.profile-site .work-story-feature .profile-card-label,
.profile-site .work-story-feature .work-evidence span {
  color: var(--profile-blue-pale);
}

.profile-site .work-action:hover,
.profile-site .experience-filter-button.active {
  border-bottom-color: var(--profile-blue);
}

.profile-site .profile-approach {
  background: #f5f7fa;
  border-color: rgba(47, 99, 207, 0.14);
}

.profile-site .profile-approach-copy {
  border-left-color: var(--profile-blue);
}

/* Keep the landing page cool and white; section contrast comes from pale blue-gray,
   not cream or beige. */
.profile-site .profile-header,
.profile-site .profile-hero,
.profile-site .profile-footer {
  background: #ffffff;
}

.profile-site #work > .profile-section-heading {
  background: #f7f9fc;
}

.profile-site .profile-approach {
  background: #f4f7fb;
}

.profile-site .profile-interests::before {
  background: #f6f8fb;
}

/* Copper remains a quiet Securitysmith signature rather than a primary UI accent. */
.profile-site .profile-contact .profile-eyebrow {
  color: #cf8b58;
}


/* Securitysmith landing — integrated white/blue visual pass. */

/* Pull the text and portrait into one hero composition. */
.profile-site .profile-hero {
  gap: clamp(18px, 2.4vw, 32px);
  background:
    linear-gradient(
      90deg,
      #ffffff 0%,
      #ffffff 58%,
      #f7f9ff 72%,
      #ffffff 100%
    );
}

.profile-site .profile-hero-portrait {
  position: relative;
  border: 0;
  background: #ffffff;
}

.profile-site .profile-hero-portrait::before {
  content: "";
  position: absolute;
  z-index: 1;
  top: 0;
  bottom: 0;
  left: 0;
  width: 25%;
  pointer-events: none;
  background:
    linear-gradient(
      90deg,
      #ffffff 0%,
      rgba(255, 255, 255, 0.94) 18%,
      rgba(255, 255, 255, 0.68) 44%,
      rgba(255, 255, 255, 0.24) 72%,
      rgba(255, 255, 255, 0) 100%
    );
}

/* Controls now belong to the portrait's blue/white language. */
.profile-site .profile-button.primary {
  border-color: var(--profile-blue-deep);
  background: var(--profile-blue-deep);
  color: #ffffff;
}

.profile-site .profile-button.primary:hover {
  border-color: var(--profile-blue);
  background: var(--profile-blue);
}

.profile-site .profile-button.secondary {
  color: var(--profile-blue-deep);
  border-bottom-color: rgba(24, 53, 127, 0.32);
}

.profile-site .profile-button.secondary:hover {
  color: var(--profile-blue);
  border-bottom-color: var(--profile-blue);
}

.profile-site .work-index {
  background: #ffffff;
  border-color: rgba(24, 53, 127, 0.24);
}

.profile-site .work-index a + a {
  border-left-color: rgba(24, 53, 127, 0.13);
}

.profile-site .work-index a:hover {
  color: var(--profile-blue-deep);
  background: #f4f7fb;
}

.profile-site .experience-filter {
  background: #ffffff;
}

.profile-site .experience-intro {
  background: #f7f9fc;
}

.profile-site .experience-filter-button.active {
  color: var(--profile-blue-deep);
}

/* Replace the largest black fields with deep architectural blue. */
.profile-site .work-story-feature {
  background: var(--profile-blue-deep);
}

.profile-site .profile-contact {
  background: #112f68;
}

.profile-site .profile-contact .profile-eyebrow {
  color: var(--profile-blue-pale);
}

.profile-site .profile-contact-links a {
  border-bottom-color: rgba(154, 184, 242, 0.46);
}

.profile-site .profile-contact-links a:hover {
  border-color: var(--profile-blue-bright);
}

/* Remove the last visible brown accent behavior from the landing page. */
.profile-site .interest-list .quiet-link:hover,
.profile-site .interest-list .quiet-link:focus-visible {
  color: var(--profile-blue);
}

.profile-site .interest-list .quiet-link:focus-visible {
  outline-color: var(--profile-blue);
}

@media (max-width: 980px) {
  .profile-site .profile-hero {
    gap: 22px;
  }

  .profile-site .profile-hero-portrait::before {
    width: 20%;
  }
}

@media (max-width: 760px) {
  .profile-site .profile-hero {
    gap: 34px;
    background: #ffffff;
  }

  .profile-site .profile-hero-portrait::before {
    display: none;
  }
}


/* Securitysmith landing — pure-white checkpoint. */

/* Let layout, rules, typography and blue accents create separation instead of tinted paper. */
.profile-site,
.profile-site .profile-header,
.profile-site .profile-hero,
.profile-site .profile-section,
.profile-site #work > .profile-section-heading,
.profile-site .profile-approach,
.profile-site .profile-interests::before,
.profile-site .work-index,
.profile-site .experience-filter,
.profile-site .experience-intro,
.profile-site .profile-footer {
  background-color: #ffffff;
}

.profile-site #work > .profile-section-heading,
.profile-site .profile-approach {
  border-color: rgba(47, 99, 207, 0.15);
}

/* Lighter CTA: still clearly primary, but no longer a heavy dark block. */
.profile-site .profile-button.primary {
  border: 1px solid var(--profile-blue);
  background: #ffffff;
  color: var(--profile-blue-deep);
}

.profile-site .profile-button.primary:hover {
  border-color: var(--profile-blue-deep);
  background: #f4f7ff;
  color: var(--profile-blue-deep);
}

/* Stonebridge remains the featured work, but reads as a light architectural field. */
.profile-site .work-story-feature {
  background: #f1f5ff;
  color: var(--graphite);
  border: 1px solid rgba(47, 99, 207, 0.20);
}

.profile-site .work-story-feature .work-story-heading h3 {
  color: var(--graphite);
}

.profile-site .work-story-feature .profile-card-label,
.profile-site .work-story-feature .work-evidence span {
  color: var(--profile-blue);
}

.profile-site .work-story-feature .work-story-heading small,
.profile-site .work-story-feature .work-era,
.profile-site .work-story-feature .work-summary,
.profile-site .work-story-feature .work-evidence p {
  color: var(--muted);
}

.profile-site .work-story-feature .work-evidence {
  border-color: rgba(24, 53, 127, 0.14);
  background: #ffffff;
}

.profile-site .work-story-feature .work-evidence > div + div {
  border-left-color: rgba(24, 53, 127, 0.13);
}

.profile-site .work-story-feature .portfolio-stonebridge-mark {
  border-color: rgba(24, 53, 127, 0.18);
  background: #ffffff;
}

.profile-site .work-story-feature .portfolio-stonebridge-structure {
  stroke: var(--profile-blue-deep);
}

.profile-site .work-story-feature .portfolio-stonebridge-flow {
  stroke: var(--profile-blue-bright);
}

.profile-site .work-story-feature .work-action {
  color: var(--profile-blue-deep);
}

/* Keep only a very faint cool cue on hover; no beige/cream surface remains. */
.profile-site .work-index a:hover {
  background: #f7f9ff;
}


/* Securitysmith hero — full-crop silver blend checkpoint. */
.profile-site .profile-hero {
  grid-template-columns: minmax(0, 1.22fr) minmax(470px, 0.98fr);
  gap: 0;
  background: #ffffff;
}

.profile-site .profile-hero-copy {
  position: relative;
  z-index: 2;
  padding-right: clamp(28px, 3.2vw, 46px);
  background:
    linear-gradient(
      90deg,
      #ffffff 0%,
      #ffffff 70%,
      #f7f8fa 84%,
      #eef1f5 100%
    );
}

.profile-site .profile-hero-portrait {
  min-height: 0;
  aspect-ratio: 1069 / 975;
  align-self: center;
  overflow: hidden;
  background: #eef1f5;
}

.profile-site .profile-hero-portrait::before {
  width: 18%;
  background:
    linear-gradient(
      90deg,
      #eef1f5 0%,
      rgba(238, 241, 245, 0.90) 22%,
      rgba(238, 241, 245, 0.56) 50%,
      rgba(238, 241, 245, 0.18) 78%,
      rgba(238, 241, 245, 0) 100%
    );
}

.profile-site .profile-hero-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 50%;
}

.profile-site .profile-footer-brand strong {
  color: var(--profile-blue-deep);
}

@media (max-width: 980px) {
  .profile-site .profile-hero {
    grid-template-columns: minmax(0, 1.08fr) minmax(390px, 0.92fr);
    gap: 0;
  }

  .profile-site .profile-hero-copy {
    padding-right: 28px;
  }

  .profile-site .profile-hero-portrait::before {
    width: 15%;
  }
}

@media (max-width: 760px) {
  .profile-site .profile-hero {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .profile-site .profile-hero-copy {
    padding-right: 0;
    background: #ffffff;
  }

  .profile-site .profile-hero-portrait {
    width: 100%;
    height: auto;
    aspect-ratio: 1069 / 975;
  }
}


/* Securitysmith hero — lift copy after removing duplicate identity. */
@media (min-width: 761px) {
  .profile-site .profile-hero-copy {
    transform: translateY(-18px);
  }
}


/* Securitysmith hero — header-flush alignment pass. */
@media (min-width: 761px) {
  .profile-site .profile-hero {
    padding-top: 0;
    align-items: stretch;
  }

  .profile-site .profile-hero-copy {
    transform: none;
    align-self: stretch;
    justify-content: center;
    padding-top: 28px;
    padding-bottom: 28px;
  }

  .profile-site .profile-hero-portrait {
    align-self: stretch;
  }
}


/* Securitysmith hero CTA — dark inverse checkpoint. */
.profile-site .profile-button.primary {
  border-color: var(--profile-blue-deep);
  background: var(--profile-blue-deep);
  color: #ffffff;
}

.profile-site .profile-button.primary:hover {
  border-color: var(--profile-blue);
  background: var(--profile-blue);
  color: #ffffff;
}


/* Securitysmith landing — functional experience lens strip. */
.profile-site .profile-hero {
  padding-bottom: 0;
}

.profile-site #work {
  border-top: 0;
  padding-top: 58px;
}

.profile-lens-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  border-top: 1px solid rgba(24, 53, 127, 0.10);
  border-bottom: 1px solid rgba(24, 53, 127, 0.16);
  background: #ffffff;
}

.profile-lens-link {
  min-height: 108px;
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 15px;
  align-items: center;
  padding: 18px 20px;
  color: var(--graphite);
  text-decoration: none;
}

.profile-lens-link + .profile-lens-link {
  border-left: 1px solid rgba(24, 53, 127, 0.11);
}

.profile-lens-icon {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  color: var(--profile-blue);
}

.profile-lens-icon svg {
  width: 38px;
  height: 38px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: square;
  stroke-linejoin: miter;
}

.profile-lens-copy,
.profile-lens-copy strong,
.profile-lens-copy small {
  display: block;
}

.profile-lens-copy strong {
  font-size: 0.81rem;
  line-height: 1.32;
  font-weight: 720;
}

.profile-lens-copy small {
  margin-top: 5px;
  color: var(--muted);
  font-size: 0.69rem;
  line-height: 1.4;
}

.profile-lens-link:hover {
  background: #f8faff;
}

.profile-lens-link:hover .profile-lens-icon,
.profile-lens-link:focus-visible .profile-lens-icon {
  color: var(--profile-blue-bright);
}

.profile-lens-link:focus-visible {
  outline: 2px solid var(--profile-blue);
  outline-offset: -2px;
}

@media (max-width: 980px) {
  .profile-lens-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .profile-lens-link:nth-child(3) {
    border-left: 0;
  }

  .profile-lens-link:nth-child(n + 3) {
    border-top: 1px solid rgba(24, 53, 127, 0.11);
  }
}

@media (max-width: 620px) {
  .profile-site #work {
    padding-top: 48px;
  }

  .profile-lens-strip {
    grid-template-columns: 1fr;
  }

  .profile-lens-link {
    min-height: 0;
    padding: 16px 14px;
  }

  .profile-lens-link + .profile-lens-link,
  .profile-lens-link:nth-child(3) {
    border-left: 0;
    border-top: 1px solid rgba(24, 53, 127, 0.11);
  }
}


/* Securitysmith landing — lower-page separation and rhythm pass. */

/* Bring Selected Work closer to the functional lens strip. */
.profile-site #work {
  padding-top: 34px;
  padding-bottom: 38px;
}

/* Treat the two historical work stories as one related field beneath Stonebridge. */
.profile-site #cmlg,
.profile-site #infrastructure-automation {
  margin-top: 0;
  padding: 38px 34px;
  border-right: 1px solid rgba(24, 53, 127, 0.14);
  border-left: 1px solid rgba(24, 53, 127, 0.14);
  background: #f7f9fc;
}

.profile-site #cmlg {
  border-top: 1px solid rgba(24, 53, 127, 0.14);
}

.profile-site #infrastructure-automation,
.profile-site #cmlg + #infrastructure-automation {
  margin-top: 0;
  padding-top: 38px;
  border-top: 1px solid rgba(24, 53, 127, 0.14);
  border-bottom: 1px solid rgba(24, 53, 127, 0.14);
}

.profile-site #cmlg .work-evidence,
.profile-site #infrastructure-automation .work-evidence {
  background: #ffffff;
}

/* Approach becomes a deliberate bordered bridge between work and career. */
.profile-site .profile-approach {
  gap: 64px;
  padding: 48px;
  border: 1px solid rgba(24, 53, 127, 0.24);
  background: #ffffff;
}

.profile-site .profile-approach-copy {
  align-self: center;
}

/* Give the entire Experience chapter one quiet visual field. */
.profile-site #experience {
  margin-top: 38px;
  padding: 52px 40px 38px;
  border-top: 0;
  background: #f6f8fc;
}

.profile-site #experience .profile-section-heading {
  margin-bottom: 30px;
}

.profile-site #experience .experience-filter,
.profile-site #experience .experience-intro {
  background: #ffffff;
}

.profile-site #experience .experience-actions {
  padding-top: 20px;
}

/* Tighten the transition out of Experience and into Beyond Work. */
.profile-site .profile-interests {
  padding-top: 42px;
  padding-bottom: 42px;
  border-top-width: 1px;
}

/* Restore Contact as the strong closing anchor, with less air above it. */
.profile-site .profile-contact {
  margin-top: 0;
  padding: 46px 48px;
  border: 0;
  background: #112f68;
  color: #ffffff;
}

.profile-site .profile-contact .profile-eyebrow {
  color: var(--profile-blue-pale);
}

.profile-site .profile-contact h2 {
  max-width: 500px;
  color: #ffffff;
  font-size: clamp(2.35rem, 3vw, 3rem);
}

.profile-site .profile-contact-copy {
  align-self: center;
}

.profile-site .profile-contact-copy > p {
  color: rgba(255, 255, 255, 0.78);
}

.profile-site .profile-contact-links {
  margin-top: 22px;
}

.profile-site .profile-contact-links a {
  color: #ffffff;
  border-bottom-color: rgba(154, 184, 242, 0.50);
}

.profile-site .profile-footer {
  min-height: 74px;
}

@media (max-width: 980px) {
  .profile-site #cmlg,
  .profile-site #infrastructure-automation {
    padding: 34px 28px;
  }

  .profile-site .profile-approach {
    gap: 46px;
    padding: 42px 36px;
  }

  .profile-site #experience {
    padding: 46px 30px 34px;
  }

  .profile-site .profile-contact {
    padding: 42px 36px;
  }
}

@media (max-width: 760px) {
  .profile-site #work {
    padding-top: 30px;
    padding-bottom: 32px;
  }

  .profile-site #cmlg,
  .profile-site #infrastructure-automation {
    padding: 30px 22px;
  }

  .profile-site .profile-approach {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 34px 24px;
  }

  .profile-site #experience {
    margin-top: 30px;
    padding: 38px 22px 30px;
  }

  .profile-site .profile-interests {
    padding-top: 34px;
    padding-bottom: 34px;
  }

  .profile-site .profile-contact {
    padding: 36px 24px;
  }
}


/* Securitysmith header — final compact spacing pass. */
@media (min-width: 981px) {
  .profile-site .profile-header {
    min-height: 74px;
  }
}


/* Securitysmith — Business Automation case study links. */
.profile-site .profile-actions {
  gap: 14px;
}

.profile-site .approach-case-study-link {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1fr);
  column-gap: 24px;
  row-gap: 4px;
  margin-top: 30px;
  padding: 18px 20px;
  border: 1px solid rgba(24, 53, 127, 0.22);
  background: #f6f8fc;
  color: var(--graphite);
  text-decoration: none;
  transition:
    border-color 120ms ease,
    background-color 120ms ease;
}

.profile-site .approach-case-study-link > span {
  grid-column: 1;
  grid-row: 1 / span 2;
  align-self: center;
  color: var(--profile-blue);
  font-size: 0.66rem;
  font-weight: 780;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.profile-site .approach-case-study-link strong {
  grid-column: 2;
  display: block;
  color: var(--profile-blue-deep);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.18rem;
  line-height: 1.15;
  font-weight: 400;
}

.profile-site .approach-case-study-link small {
  grid-column: 2;
  display: block;
  color: var(--muted);
  font-size: 0.74rem;
  line-height: 1.5;
}

.profile-site .approach-case-study-link:hover {
  border-color: var(--profile-blue);
  background: #f1f5ff;
}

.profile-site .approach-case-study-link:focus-visible {
  outline-color: var(--profile-blue);
}

@media (max-width: 760px) {
  .profile-site .profile-actions {
    gap: 12px;
    flex-wrap: wrap;
  }

  .profile-site .approach-case-study-link {
    grid-template-columns: 1fr;
    row-gap: 5px;
  }

  .profile-site .approach-case-study-link > span,
  .profile-site .approach-case-study-link strong,
  .profile-site .approach-case-study-link small {
    grid-column: 1;
  }

  .profile-site .approach-case-study-link > span {
    grid-row: auto;
    margin-bottom: 4px;
  }
}
/* Securitysmith experience résumé links. */
.profile-site .experience-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 27px;
}


/* SecuritySmith Selected Work: four-project lineup, October 2026.
   Keep the ThousandEyes live demo first while preserving Stonebridge as a featured card. */
.profile-site .work-index {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.profile-site #thousandeyes {
  scroll-margin-top: 2rem;
}

/* The Explorer uses the established featured layout, with a separate quiet treatment. */
.profile-site .work-story-thousandeyes {
  background: #ffffff;
  border: 1px solid rgba(47, 99, 207, 0.25);
  border-top: 3px solid var(--profile-blue);
  margin-bottom: 18px;
}

.profile-site .portfolio-thousandeyes-mark {
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(24, 53, 127, 0.18);
  background: #f1f5ff;
}

.profile-site .portfolio-thousandeyes-mark svg {
  width: 35px;
  height: 35px;
  stroke: var(--profile-blue-deep);
  stroke-width: 2.1;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Keep four project links legible on laptop and mobile widths. */
@media (max-width: 1040px) {
  .profile-site .work-index {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .profile-site .work-index a:nth-child(3) {
    border-left: 0;
    border-top: 1px solid rgba(24, 53, 127, 0.13);
  }
  .profile-site .work-index a:nth-child(4) {
    border-top: 1px solid rgba(24, 53, 127, 0.13);
  }
}

@media (max-width: 610px) {
  .profile-site .work-index {
    grid-template-columns: minmax(0, 1fr);
  }
  .profile-site .work-index a + a {
    border-left: 0;
    border-top: 1px solid rgba(24, 53, 127, 0.13);
  }
}
