@font-face {
  font-family: 'Manrope';
  src: url('./fonts/manrope-400.ttf') format('truetype');
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: 'Manrope';
  src: url('./fonts/manrope-600.ttf') format('truetype');
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: 'Manrope';
  src: url('./fonts/manrope-700.ttf') format('truetype');
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: 'Space Grotesk';
  src: url('./fonts/space-grotesk-500.ttf') format('truetype');
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: 'Space Grotesk';
  src: url('./fonts/space-grotesk-700.ttf') format('truetype');
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: 'DM Mono';
  src: url('./fonts/dm-mono-400.ttf') format('truetype');
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: 'DM Mono';
  src: url('./fonts/dm-mono-500.ttf') format('truetype');
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}

:root {
  color-scheme: light;
  --ink: #122035;
  --ink-soft: #596b80;
  --paper: #f8f8f5;
  --paper-deep: #eef0ed;
  --line: #d4dce0;
  --surface: #ffffff;
  --surface-muted: #f1f4f2;
  --surface-translucent: rgba(255, 255, 255, .72);
  --night: #101a2a;
  --night-soft: #172840;
  --accent: #3f7281;
  --accent-soft: #dcecf0;
  --eyebrow: #526f7c;
  --grid-line: rgba(18, 32, 53, .045);
  --mint: #c8e9b5;
  --cyan: #77e1eb;
  --orange: #f3a65a;
  --critical: #f17d77;
  --high: #f6bf67;
  --medium: #75d9e7;
  --low: #a7dcae;
  --info: #aeb9c6;
  --focus-ring: #2b7e98;
  --shadow: 0 20px 55px -38px rgba(18, 32, 53, .45);
  --radius: 18px;
  --max: 1240px;
}

:root[data-theme='dark'] {
  color-scheme: dark;
  --ink: #edf4fb;
  --ink-soft: #aab8c9;
  --paper: #0e1522;
  --paper-deep: #131d2d;
  --line: #2a3a50;
  --surface: #142033;
  --surface-muted: #18263a;
  --surface-translucent: rgba(20, 32, 51, .78);
  --night: #09111e;
  --night-soft: #101d30;
  --accent: #8dd7e4;
  --accent-soft: #153948;
  --eyebrow: #9fcbd4;
  --grid-line: rgba(184, 220, 237, .055);
  --focus-ring: #8dd7e4;
  --shadow: 0 22px 65px -42px rgba(0, 0, 0, .95);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  min-width: 320px;
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: 'Manrope', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  transition: background .24s ease, color .24s ease;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button:focus-visible, a:focus-visible { outline: 3px solid var(--focus-ring); outline-offset: 4px; }
::selection { background: var(--accent); color: var(--paper); }

.page-grid {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: .85;
  background-image: linear-gradient(to right, var(--grid-line) 1px, transparent 1px), linear-gradient(to bottom, var(--grid-line) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(#000, transparent 83%);
}
.site-header {
  display: flex;
  width: min(calc(100% - 48px), var(--max));
  min-height: 84px;
  margin: 0 auto;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid var(--line);
}
.wordmark { color: var(--ink); font-family: 'Space Grotesk', sans-serif; font-size: 19px; font-weight: 700; letter-spacing: -.05em; }
.header-actions { display: flex; align-items: center; gap: 22px; }
.site-header nav { display: flex; align-items: center; gap: 24px; }
.site-header nav > a, .nav-products-toggle { color: var(--ink-soft); font-family: 'DM Mono', monospace; font-size: 14px; font-weight: 500; letter-spacing: .055em; text-transform: uppercase; transition: color .18s ease, background .18s ease; }
.site-header nav > a:hover, .site-header nav > a[aria-current='page'], .nav-products-toggle:hover, .nav-products.is-open .nav-products-toggle { color: var(--ink); }
.site-header nav > a:focus-visible, .nav-products-toggle:focus-visible, .products-menu a:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.nav-products { position: relative; }
.nav-products-toggle { display: inline-flex; min-height: 38px; align-items: center; gap: 7px; padding: 0; border: 0; background: transparent; cursor: pointer; }
.nav-products-arrow { display: inline-block; color: var(--accent); font-size: 16px; line-height: 1; transition: transform .18s ease; }
.nav-products.is-open .nav-products-arrow { transform: rotate(180deg); }
.products-menu { position: absolute; z-index: 12; top: calc(100% + 12px); right: 0; width: 244px; padding: 7px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); box-shadow: var(--shadow); }
.products-menu a { display: grid; gap: 3px; min-height: 56px; align-content: center; padding: 9px 11px; border-radius: 7px; color: var(--ink); font-family: 'Manrope', sans-serif; font-size: 14px; font-weight: 700; letter-spacing: -.015em; text-transform: none; }
.products-menu a:hover, .products-menu a[aria-current='page'] { background: var(--accent-soft); }
.products-menu small { color: var(--ink-soft); font-family: 'DM Mono', monospace; font-size: 12px; font-weight: 500; letter-spacing: .025em; }
.theme-toggle { display: inline-flex; min-height: 40px; align-items: center; gap: 8px; padding: 0 13px 0 8px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface-translucent); color: var(--ink); cursor: pointer; font-family: 'DM Mono', monospace; font-size: 12px; font-weight: 500; letter-spacing: .04em; text-transform: uppercase; transition: border-color .2s ease, background .2s ease, transform .2s ease; }
.theme-toggle:hover { border-color: var(--accent); background: var(--accent-soft); transform: translateY(-1px); }
.theme-toggle-icon { display: grid; width: 20px; height: 20px; place-items: center; border-radius: 50%; background: var(--ink); color: var(--paper); font-family: Arial, sans-serif; font-size: 12px; line-height: 1; }

.portfolio-layout { position: relative; }
.portfolio-layout > main { width: min(calc(100% - 400px), var(--max)); min-width: 0; margin: 0 auto; }
.preview-main { width: min(calc(100% - 48px), var(--max)); margin: 0 auto; }
/* The sidebar is visually restored as a divider rail, but remains independent of main
   so the portfolio column stays centered in the viewport. */
.portfolio-sidebar { position: fixed; z-index: 4; top: 116px; left: max(20px, calc(50vw - 808px)); width: 168px; padding: 18px 0; border-right: 1px solid var(--line); }
.sidebar-label { margin: 0 0 15px; color: var(--eyebrow); font-family: 'DM Mono', monospace; font-size: 12px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; }
.portfolio-section-nav { display: grid; gap: 3px; }
.portfolio-section-nav a { display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 9px; align-items: baseline; padding: 10px 12px 10px 0; border-right: 2px solid transparent; color: var(--ink-soft); font-family: 'Manrope', sans-serif; font-size: 15px; font-weight: 600; letter-spacing: -.015em; text-transform: none; }
.portfolio-section-nav a > span:first-child { color: var(--eyebrow); font-family: 'DM Mono', monospace; font-size: 12px; font-weight: 400; letter-spacing: .04em; }
.portfolio-section-nav a:hover, .portfolio-section-nav a.is-active { border-right-color: var(--accent); color: var(--ink); }
.portfolio-section-nav a.is-active > span:first-child { color: var(--accent); }
.hero { display: grid; min-height: min(660px, calc(100svh - 84px)); grid-template-columns: minmax(0, 1fr); align-items: center; gap: 40px; padding: 92px 0; }
.eyebrow { margin: 0 0 16px; color: var(--eyebrow); font-family: 'DM Mono', monospace; font-size: 12px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; }
.hero-location { margin-bottom: 23px; color: var(--ink-soft); font-family: 'Manrope', sans-serif; font-size: 15px; font-weight: 700; letter-spacing: .015em; text-transform: none; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: 'Space Grotesk', 'Manrope', sans-serif; }
h1 { max-width: 8ch; margin-bottom: 26px; font-size: clamp(3.3rem, 8vw, 7.3rem); font-weight: 700; letter-spacing: -.09em; line-height: .9; }
h1 span { color: var(--accent); }
.hero-accent > span + span { margin-left: .2em; }
.hero-summary { max-width: 53ch; color: var(--ink-soft); font-size: clamp(1rem, 1.55vw, 1.18rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.button { display: inline-flex; min-height: 50px; align-items: center; gap: 12px; padding: 0 19px; border: 1px solid var(--ink); border-radius: 9px; font-size: 15px; font-weight: 700; letter-spacing: -.01em; transition: transform .2s, background .2s, color .2s, border-color .2s; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--ink); color: var(--paper); }
.button-secondary { background: transparent; color: var(--ink); }
.button-secondary:hover { border-color: var(--accent); background: var(--accent-soft); }
.hero-index { padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface-translucent); box-shadow: var(--shadow); backdrop-filter: blur(12px); }
.index-label { margin-bottom: 18px; color: var(--ink-soft); font-family: 'DM Mono', monospace; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; }
.hero-index ol { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; font-size: 15px; font-weight: 700; }
.hero-index li { display: grid; grid-template-columns: 30px 1fr; gap: 8px; align-items: baseline; }
.hero-index li span { color: var(--accent); font-family: 'DM Mono', monospace; font-size: 12px; }
.index-note { margin: 24px 0 0; color: var(--ink-soft); font-size: 15px; line-height: 1.55; }

.section-rule { border-top: 1px solid var(--line); padding: 96px 0; }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; }
h2 { max-width: 15ch; margin: 0; font-size: clamp(2.2rem, 5vw, 4.35rem); font-weight: 700; letter-spacing: -.075em; line-height: .95; }
.profile-layout { display: grid; grid-template-columns: minmax(0, .87fr) minmax(350px, 1.13fr); gap: 64px; margin-top: 46px; }
.profile-lede { max-width: 37ch; font-size: 1.2rem; line-height: 1.6; }
.profile-proof { display: grid; min-height: 160px; grid-template-columns: 72px 1fr; gap: 22px; padding: 26px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow); }
.placeholder-number { color: var(--accent); font-family: 'DM Mono', monospace; font-size: 12px; letter-spacing: .1em; }
.placeholder-title { margin-bottom: 6px; font-family: 'Space Grotesk', sans-serif; font-size: 18px; font-weight: 700; letter-spacing: -.04em; }
.profile-proof p:last-child { margin-bottom: 0; color: var(--ink-soft); font-size: 16px; }
.experience-list { margin-top: 48px; border-top: 1px solid var(--line); }
.experience-entry { display: grid; grid-template-columns: minmax(180px, .35fr) minmax(0, 1fr); gap: 42px; padding: 30px 0; border-bottom: 1px solid var(--line); }
.experience-meta { display: grid; align-content: start; gap: 4px; color: var(--eyebrow); font-family: 'DM Mono', monospace; font-size: 12px; letter-spacing: .04em; text-transform: uppercase; }
.experience-entry h3 { margin: 0; font-size: clamp(1.4rem, 2vw, 1.86rem); font-weight: 700; letter-spacing: -.055em; line-height: 1.12; }
.experience-entry h3 span { display: block; margin-top: 5px; color: var(--accent); font-size: .68em; font-weight: 500; }
.experience-entry p { max-width: 70ch; margin: 12px 0 0; color: var(--ink-soft); font-size: 16px; }
.capability-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin-top: 48px; border: 1px solid var(--line); background: var(--line); }
.capability-grid article { min-height: 180px; padding: 24px; background: var(--surface); transition: background .2s ease; }
.capability-grid article:hover { background: var(--surface-muted); }
.capability-grid h3, .project-grid h3 { margin: 0; font-size: 18px; font-weight: 700; letter-spacing: -.045em; }
.capability-grid p { margin: 11px 0 0; color: var(--ink-soft); font-size: 15px; line-height: 1.6; }
.project-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 48px; }
.project-grid article { min-height: 238px; padding: 26px; border: 1px solid var(--line); border-radius: 13px; background: var(--surface); box-shadow: var(--shadow); transition: transform .22s ease, border-color .22s ease; }
.project-grid article:hover { border-color: var(--accent); transform: translateY(-3px); }
.project-grid .project-featured { grid-column: span 3; min-height: 216px; border-color: var(--night); background: var(--night); color: #edf3f7; }
.project-grid .project-featured:hover { border-color: var(--cyan); }
.project-type { margin-bottom: 52px; color: var(--eyebrow); font-family: 'DM Mono', monospace; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.project-featured .project-type { color: var(--mint); }
.project-grid h3 { font-size: clamp(1.45rem, 2.4vw, 2rem); }
.project-grid p:last-child { max-width: 62ch; margin: 10px 0 0; color: var(--ink-soft); font-size: 16px; }
.project-featured p:last-child { color: #bfcbd7; }

.contact-copy { color: var(--ink-soft); }
.contact-copy > p:first-child { margin-bottom: 10px; }
.contact-email { display: inline-flex; align-items: center; gap: 9px; color: var(--ink); font-family: 'Space Grotesk', sans-serif; font-size: clamp(1.05rem, 2vw, 1.35rem); font-weight: 700; letter-spacing: -.045em; }
.contact-email:hover { color: var(--accent); }
.contact-note { margin: 12px 0 0; font-family: 'DM Mono', monospace; font-size: 12px; }
.product-heading { align-items: end; }
.section-note { max-width: 36ch; margin: 0; color: var(--ink-soft); font-size: 16px; }
.preview-notice { display: flex; max-width: 760px; gap: 11px; margin: 36px 0 26px; padding: 16px 18px; border: 1px solid var(--accent); border-radius: 9px; background: var(--accent-soft); color: var(--ink); font-size: 15px; }
.preview-notice p { margin: 0; }
.notice-icon { color: var(--accent); font-family: 'DM Mono', monospace; }

.workspace { overflow: hidden; border: 1px solid #29384e; border-radius: var(--radius); background: #101827; color: #edf3f7; box-shadow: 0 30px 70px -40px #121c2a; }
.workspace-bar { display: flex; min-height: 60px; align-items: center; justify-content: space-between; padding: 0 24px; border-bottom: 1px solid #314259; background: #152238; }
.workspace-brand, .workspace-status { display: inline-flex; align-items: center; gap: 9px; font-family: 'DM Mono', monospace; font-size: 12px; letter-spacing: .03em; }
.workspace-brand { color: #dce7ee; }
.workspace-brand-mark { display: grid; width: 26px; height: 26px; place-items: center; border-radius: 7px; background: linear-gradient(135deg, var(--cyan), var(--mint)); color: #102033; font-weight: 600; }
.workspace-status { color: #b9edcb; }
.status-dot { width: 7px; height: 7px; border-radius: 50%; background: #91e0a9; box-shadow: 0 0 10px #91e0a9; }
.workspace-context { display: flex; justify-content: space-between; gap: 24px; padding: 26px; border-bottom: 1px solid #29384e; background: radial-gradient(100% 180% at 100% 0%, rgba(116, 224, 235, .12), transparent 56%), #111c2d; }
.workspace-label { margin: 0; color: #9eb2c7; font-family: 'DM Mono', monospace; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; }
.workspace-context h3 { margin: 8px 0 5px; font-size: 24px; font-weight: 700; letter-spacing: -.04em; }
.workspace-context h3 span { color: #9cafc1; font-size: 16px; font-weight: 500; letter-spacing: 0; }
.workspace-context > div > p:last-child { margin: 0; color: #9fafc0; font-family: 'DM Mono', monospace; font-size: 13px; }
.workspace-state { align-self: center; min-width: 172px; padding: 11px 13px; border: 1px solid rgba(184, 237, 203, .2); border-radius: 8px; background: rgba(145, 224, 169, .05); text-align: right; font-family: 'DM Mono', monospace; }
.workspace-state span, .workspace-state small { display: block; color: #93a7bb; font-size: 12px; }
.workspace-state strong { display: block; margin: 4px 0; color: #b9edcb; font-size: 13px; }
.workspace-metrics { display: grid; grid-template-columns: repeat(4, 1fr); border-bottom: 1px solid #29384e; }
.workspace-metrics div { padding: 20px 22px; border-right: 1px solid #29384e; }
.workspace-metrics div:last-child { border-right: 0; }
.workspace-metrics strong { display: block; font-family: 'Space Grotesk', sans-serif; font-size: 32px; line-height: 1; letter-spacing: -.06em; }
.workspace-metrics div:nth-child(1) strong { color: var(--critical); }
.workspace-metrics div:nth-child(2) strong { color: var(--high); }
.workspace-metrics span { display: block; margin-top: 9px; color: #94a7ba; font-family: 'DM Mono', monospace; font-size: 13px; }
.workspace-main { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(290px, .8fr); }
.finding-browser { padding: 24px; border-right: 1px solid #29384e; }
.finding-browser-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; }
.finding-browser h3 { margin: 5px 0 0; font-size: 18px; font-weight: 700; letter-spacing: -.035em; }
.finding-count { color: #9db2c5; font-family: 'DM Mono', monospace; font-size: 12px; }
.filters { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 20px; }
.filter { min-height: 34px; padding: 7px 10px; border: 1px solid #3b4e65; border-radius: 6px; background: #172438; color: #a7b9c9; cursor: pointer; font-family: 'DM Mono', monospace; font-size: 12px; transition: border-color .18s, color .18s, background .18s; }
.filter:hover, .filter.is-active { border-color: #82e0e8; background: rgba(119, 225, 235, .12); color: #c8f7fb; }
.finding-list { display: grid; gap: 4px; margin-top: 18px; }
.finding { display: grid; width: 100%; grid-template-columns: 66px minmax(0, 1fr) 16px; gap: 12px; align-items: center; padding: 11px 9px; border: 1px solid transparent; border-radius: 8px; background: transparent; color: inherit; cursor: pointer; text-align: left; transition: border-color .18s, background .18s; }
.finding:hover, .finding.is-selected { border-color: rgba(119, 225, 235, .35); background: linear-gradient(90deg, rgba(119, 225, 235, .12), transparent); }
.severity { display: inline-block; width: max-content; min-width: 84px; padding: 5px 8px; border-radius: 999px; font-family: 'DM Mono', monospace; font-size: 12px; font-weight: 500; letter-spacing: .04em; text-align: center; text-transform: uppercase; }
.severity-critical { background: rgba(241, 125, 119, .15); color: #ffaaa5; }
.severity-high { background: rgba(246, 191, 103, .15); color: #ffd58d; }
.severity-medium { background: rgba(117, 217, 231, .14); color: #a5eefa; }
.severity-low { background: rgba(167, 220, 174, .14); color: #bcefc1; }
.severity-informational { background: rgba(174, 185, 198, .14); color: #c2cfda; }
.finding-copy { min-width: 0; }
.finding-copy strong { display: block; overflow: hidden; font-size: 12px; font-weight: 600; line-height: 1.35; text-overflow: ellipsis; white-space: nowrap; }
.finding-copy small { display: block; overflow: hidden; margin-top: 4px; color: #91a5b9; font-family: 'DM Mono', monospace; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.finding-arrow { color: #a7eaf1; opacity: 0; transition: opacity .18s, transform .18s; }
.finding:hover .finding-arrow, .finding.is-selected .finding-arrow { opacity: 1; transform: translate(1px, -1px); }
.finding-detail { padding: 24px; background: linear-gradient(160deg, #162339, #0f1928); }
.detail-top { display: flex; align-items: center; justify-content: space-between; color: #9aafc2; font-family: 'DM Mono', monospace; font-size: 12px; }
.finding-detail h3 { margin: 17px 0 0; font-size: 24px; font-weight: 700; letter-spacing: -.04em; line-height: 1.15; }
.detail-copy { margin: 12px 0 0; color: #aabccc; font-size: 12px; line-height: 1.55; }
.finding-detail dl { display: grid; grid-template-columns: 1fr 1fr; gap: 13px 10px; margin: 22px 0 0; padding: 17px 0; border-top: 1px solid #34455a; border-bottom: 1px solid #34455a; }
.finding-detail dt { color: #8ea5b9; font-family: 'DM Mono', monospace; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; }
.finding-detail dd { margin: 4px 0 0; color: #e5edf3; font-family: 'DM Mono', monospace; font-size: 13px; overflow-wrap: anywhere; }
.detail-state { color: #b9edcb !important; }
.detail-boundary { display: flex; gap: 8px; margin-top: 18px; color: #91a5b9; font-size: 12px; line-height: 1.5; }
.detail-boundary > span { color: var(--cyan); font-family: 'DM Mono', monospace; }
.detail-boundary p { margin: 0; }
.detail-boundary strong { color: #c8d8e4; }
.workspace-footer { display: flex; align-items: center; justify-content: space-between; gap: 22px; padding: 18px 24px; border-top: 1px solid #29384e; background: #101a29; }
.workspace-footer p:last-child { margin: 5px 0 0; color: #9baec0; font-family: 'DM Mono', monospace; font-size: 12px; }
.workspace-contact { display: inline-flex; min-height: 40px; align-items: center; gap: 8px; padding: 9px 13px; border: 1px solid #80dfe8; border-radius: 7px; color: #c8f7fb; font-family: 'DM Mono', monospace; font-size: 13px; }
.tenant-tabs { display: flex; gap: 3px; padding: 8px 16px 0; border-bottom: 1px solid #29384e; background: #101a29; overflow-x: auto; scrollbar-width: thin; }
.tenant-tab { flex: 0 0 auto; min-height: 48px; padding: 13px 14px; border: 0; border-bottom: 2px solid transparent; background: transparent; color: #93a8bc; cursor: pointer; font-family: 'DM Mono', monospace; font-size: 13px; letter-spacing: .02em; transition: color .18s, border-color .18s, background .18s; }
.tenant-tab:hover, .tenant-tab.is-active { border-bottom-color: var(--cyan); background: rgba(119, 225, 235, .06); color: #d8f7fa; }
.tenant-tab:focus-visible, .asset-row:focus-visible, .finding-row:focus-visible, .recent-finding:focus-visible, .detail-finding:focus-visible { outline: 2px solid #8be8ee; outline-offset: -2px; }
.tenant-panel { min-height: 426px; }
.tenant-panel-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; padding: 24px 24px 0; }
.tenant-panel-head h3 { margin: 5px 0 0; font-size: 22px; font-weight: 700; letter-spacing: -.035em; }
.overview-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 1px; background: #29384e; }
.overview-card { min-height: 220px; padding: 24px; background: linear-gradient(160deg, #152238, #101a29); }
.overview-card h3 { max-width: 19ch; margin: 8px 0 0; font-size: 21px; font-weight: 700; letter-spacing: -.035em; }
.overview-priority { grid-row: span 2; }
.overview-recent { grid-column: 2; }
.overview-copy { max-width: 43ch; margin: 22px 0 0; color: #aebfce; font-size: 15px; line-height: 1.6; }
.severity-summary { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; margin-top: 20px; border: 1px solid #34455a; background: #34455a; }
.severity-summary div { padding: 11px; background: #132035; }
.severity-summary strong { display: block; color: #dce9f0; font-family: 'Space Grotesk', sans-serif; font-size: 27px; letter-spacing: -.05em; }
.severity-summary span { display: block; margin-top: 4px; color: #99aec0; font-family: 'DM Mono', monospace; font-size: 12px; }
.coverage-list { display: grid; gap: 0; margin-top: 15px; }
.coverage-list div { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid #314259; color: #b2c2cf; font-family: 'DM Mono', monospace; font-size: 12px; }
.coverage-list div:last-child { border-bottom: 0; }
.coverage-list strong { color: #d8e6ed; font-weight: 500; white-space: nowrap; }
.recent-findings { display: grid; gap: 5px; margin-top: 13px; }
.recent-finding { display: grid; grid-template-columns: 83px minmax(0, 1fr); gap: 6px 11px; align-items: center; width: 100%; padding: 10px 0; border: 0; border-bottom: 1px solid #314259; background: transparent; color: inherit; cursor: pointer; text-align: left; }
.recent-finding:last-child { border-bottom: 0; }
.recent-finding > span { grid-row: span 2; }
.recent-finding strong { overflow: hidden; font-size: 14px; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }
.recent-finding small { overflow: hidden; color: #91a5b9; font-family: 'DM Mono', monospace; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.asset-browser, .tenant-finding-layout { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(300px, .92fr); margin-top: 20px; border-top: 1px solid #29384e; }
.asset-list, .finding-list { min-width: 0; max-height: 536px; overflow: auto; padding: 12px; }
.asset-list { border-right: 1px solid #29384e; }
.asset-row, .finding-row { display: block; width: 100%; padding: 14px; border: 1px solid transparent; border-radius: 8px; background: transparent; color: inherit; cursor: pointer; text-align: left; transition: border-color .18s, background .18s; }
.asset-row + .asset-row, .finding-row + .finding-row { margin-top: 3px; }
.asset-row:hover, .asset-row.is-selected, .finding-row:hover, .finding-row.is-selected { border-color: rgba(119, 225, 235, .35); background: linear-gradient(90deg, rgba(119, 225, 235, .12), transparent); }
.asset-row-top, .asset-row-bottom, .finding-row-top, .finding-row-bottom { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.asset-row-top strong, .finding-row strong { display: block; min-width: 0; overflow: hidden; font-size: 15px; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }
.asset-row-top span, .finding-row-top small { color: #9bb0c3; font-family: 'DM Mono', monospace; font-size: 12px; white-space: nowrap; }
.asset-row-bottom, .finding-row-bottom { margin-top: 6px; }
.asset-row-bottom small, .finding-row-bottom small { min-width: 0; overflow: hidden; color: #91a5b9; font-family: 'DM Mono', monospace; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.asset-row-bottom em, .finding-row-bottom em { color: #b9edcb; font-family: 'DM Mono', monospace; font-size: 12px; font-style: normal; white-space: nowrap; }
.finding-row-top { justify-content: flex-start; }
.finding-row-top small { color: #9dafbf; }
.asset-detail, .finding-detail { min-width: 0; padding: 24px; background: linear-gradient(160deg, #162339, #0f1928); }
.asset-detail-title, .finding-detail-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; }
.asset-detail-title h3 { margin: 7px 0 0; font-size: 23px; font-weight: 700; letter-spacing: -.04em; }
.asset-detail-title > span, .finding-detail-header > span { flex: 0 0 auto; color: #b9edcb; font-family: 'DM Mono', monospace; font-size: 12px; text-align: right; }
.detail-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 13px 10px; margin: 22px 0 0; padding: 17px 0; border-top: 1px solid #34455a; border-bottom: 1px solid #34455a; }
.detail-meta dt { color: #8ea5b9; font-family: 'DM Mono', monospace; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; }
.detail-meta dd { margin: 5px 0 0; color: #e5edf3; font-family: 'DM Mono', monospace; font-size: 13px; overflow-wrap: anywhere; }
.asset-detail-findings { margin-top: 20px; }
.detail-finding { display: flex; width: 100%; gap: 9px; align-items: flex-start; padding: 10px 0; border: 0; border-bottom: 1px solid #314259; background: transparent; color: inherit; cursor: pointer; text-align: left; }
.detail-finding:last-child { border-bottom: 0; }
.detail-finding strong { display: block; font-size: 14px; font-weight: 600; line-height: 1.4; }
.detail-finding small { display: block; margin-top: 4px; color: #91a5b9; font-family: 'DM Mono', monospace; font-size: 12px; }
.finding-detail-header > div { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.finding-detail-header .workspace-label { color: #98afc2; }
.finding-detail h3 { margin: 16px 0 0; }
.finding-detail-asset { margin: 9px 0 0; color: #a9bdcc; font-family: 'DM Mono', monospace; font-size: 12px; line-height: 1.55; }
.finding-meta { margin-top: 18px; }
.finding-detail-section { margin-top: 19px; }
.finding-detail-section > p:last-child { margin: 8px 0 0; color: #b6c6d2; font-size: 15px; line-height: 1.6; }
.control-tags > div { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 8px; }
.control-tags span { padding: 6px 8px; border: 1px solid #3c5269; border-radius: 5px; color: #bfeef1; font-family: 'DM Mono', monospace; font-size: 12px; }
.schedule-list, .control-list { display: grid; gap: 1px; margin-top: 20px; border-top: 1px solid #29384e; background: #29384e; }
.schedule-row { display: grid; grid-template-columns: 135px minmax(0, 1fr) 160px; gap: 20px; align-items: center; padding: 18px 24px; background: #111c2d; }
.schedule-status { display: inline-flex; align-items: center; gap: 8px; color: #b9edcb; font-family: 'DM Mono', monospace; font-size: 12px; }
.schedule-row h3 { margin: 4px 0 0; font-size: 17px; font-weight: 700; letter-spacing: -.02em; }
.schedule-row div > p:last-child { margin: 6px 0 0; color: #9cb0c1; font-family: 'DM Mono', monospace; font-size: 12px; }
.schedule-next { text-align: right; font-family: 'DM Mono', monospace; }
.schedule-next span { display: block; color: #8ea5b9; font-size: 12px; text-transform: uppercase; }
.schedule-next strong { display: block; margin-top: 5px; color: #dce9f0; font-size: 13px; font-weight: 500; }
.schedule-note { display: flex; gap: 9px; margin: 18px 24px 24px; padding: 14px 15px; border: 1px solid #344d64; border-radius: 8px; background: rgba(119, 225, 235, .04); color: #aabfcd; font-size: 14px; line-height: 1.6; }
.schedule-note span { color: #8be8ee; font-family: 'DM Mono', monospace; }
.schedule-note p { margin: 0; }
.schedule-note strong { color: #d8e7ef; }
.control-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.control-card { padding: 22px 24px; background: linear-gradient(160deg, #152238, #101a29); }
.control-card-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.control-card-top span { color: #bfeef1; font-family: 'DM Mono', monospace; font-size: 13px; }
.control-card-top strong { color: #b9edcb; font-family: 'DM Mono', monospace; font-size: 12px; font-weight: 500; white-space: nowrap; }
.control-card > .workspace-label { margin-top: 17px; }
.control-card h3 { margin: 7px 0 0; font-size: 19px; font-weight: 700; letter-spacing: -.025em; }
.control-card > p:not(.workspace-label) { margin: 10px 0 0; color: #adbfcd; font-size: 14px; line-height: 1.6; }
.control-applicability { margin-top: 16px; padding-top: 12px; border-top: 1px solid #314259; }
.control-applicability span, .control-applicability strong { display: block; font-family: 'DM Mono', monospace; }
.control-applicability span { color: #89a1b5; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; }
.control-applicability strong { margin-top: 6px; color: #c9d8e3; font-size: 12px; font-weight: 500; line-height: 1.5; }
.empty-state { margin: 0; padding: 14px 0; color: #9cb0c1; font-family: 'DM Mono', monospace; font-size: 13px; line-height: 1.5; }
.contact-section { display: grid; grid-template-columns: 1fr .65fr; gap: 60px; align-items: end; }
.contact-section h2 { max-width: 12ch; }
.contact-section > p { margin: 0; color: var(--ink-soft); }
.site-footer { display: flex; width: min(calc(100% - 48px), var(--max)); align-items: center; justify-content: space-between; margin: 0 auto; padding: 22px 0 34px; border-top: 1px solid var(--line); color: var(--ink-soft); font-family: 'DM Mono', monospace; font-size: 12px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
@media (max-width: 1199px) {
  .portfolio-layout > main { width: min(calc(100% - 48px), var(--max)); }
  .portfolio-sidebar { display: none; }
}
@media (max-width: 820px) {
  .hero { grid-template-columns: 1fr; gap: 34px; padding: 72px 0; }
  .hero-index { max-width: 580px; }
  .profile-layout, .contact-section { grid-template-columns: 1fr; gap: 28px; }
  .experience-entry { grid-template-columns: 170px 1fr; gap: 28px; }
  .capability-grid, .project-grid { grid-template-columns: repeat(2, 1fr); }
  .project-grid .project-featured { grid-column: span 2; }
  .workspace-main, .asset-browser, .tenant-finding-layout { grid-template-columns: 1fr; }
  .finding-browser, .asset-list { border-right: 0; border-bottom: 1px solid #29384e; }
  .asset-list, .finding-list { max-height: 390px; }
}
@media (max-width: 620px) {
  .site-header, .preview-main, .site-footer { width: min(calc(100% - 32px), var(--max)); }
  .portfolio-layout > main { width: min(calc(100% - 32px), var(--max)); }
  .site-header { display: grid; grid-template-columns: minmax(0, 1fr) auto; min-height: auto; align-items: center; gap: 10px 16px; padding: 15px 0 13px; }
  .wordmark { grid-column: 1; grid-row: 1; }
  .header-actions { display: contents; }
  .site-header nav { display: flex; grid-column: 1 / -1; grid-row: 2; min-width: 0; justify-content: space-between; gap: 12px; overflow: visible; white-space: nowrap; }
  .site-header nav > a, .nav-products-toggle { flex: 0 1 auto; font-size: 13px; }
  .nav-products-toggle { min-height: 36px; }
  .products-menu { width: min(244px, calc(100vw - 32px)); }
  .theme-toggle { grid-column: 2; grid-row: 1; flex: 0 0 auto; min-height: 38px; padding: 0 10px 0 7px; font-size: 12px; }
  .wordmark { font-size: 16px; }
  .hero { min-height: auto; padding: 72px 0; }
  h1 { font-size: clamp(3.1rem, 16vw, 4.8rem); }
  .hero h1 > .hero-accent { display: block; margin-top: .16em; font-size: .72em; line-height: 1; white-space: nowrap; }
  .section-rule { padding: 68px 0; }
  .section-heading, .product-heading { align-items: flex-start; flex-direction: column; gap: 18px; }
  .profile-proof { grid-template-columns: 1fr; gap: 14px; }
  .experience-entry { grid-template-columns: 1fr; gap: 12px; padding: 24px 0; }
  .capability-grid, .project-grid { grid-template-columns: 1fr; }
  .capability-grid article { min-height: 0; }
  .project-grid .project-featured { grid-column: auto; }
  .project-grid article { min-height: 0; }
  .project-type { margin-bottom: 32px; }
  .workspace-bar, .workspace-context, .workspace-footer { padding-right: 16px; padding-left: 16px; }
  .workspace-context { flex-direction: column; gap: 16px; }
  .workspace-state { width: 100%; min-width: 0; text-align: left; }
  .workspace-metrics { grid-template-columns: 1fr 1fr; }
  .workspace-metrics div { border-bottom: 1px solid #29384e; }
  .workspace-metrics div:nth-child(2n) { border-right: 0; }
  .workspace-metrics div:nth-child(n+3) { border-bottom: 0; }
  .tenant-tabs { padding-right: 10px; padding-left: 10px; }
  .tenant-tab { min-height: 46px; padding-right: 12px; padding-left: 12px; font-size: 12px; }
  .tenant-panel { min-height: 0; }
  .tenant-panel-head { align-items: flex-start; flex-direction: column; gap: 8px; padding: 18px 17px 0; }
  .overview-grid, .control-list { grid-template-columns: 1fr; }
  .overview-priority, .overview-recent { grid-column: auto; grid-row: auto; }
  .overview-card { min-height: 0; padding: 18px 17px; }
  .recent-finding strong, .recent-finding small { overflow: visible; white-space: normal; }
  .finding-browser, .finding-detail, .asset-detail { padding: 17px; }
  .asset-list, .finding-list { max-height: 410px; padding: 9px; }
  .asset-row, .finding-row { padding: 10px 8px; }
  .asset-row-top, .asset-row-bottom, .finding-row-bottom { gap: 8px; }
  .asset-row-top strong, .finding-row strong, .asset-row-bottom small, .finding-row-bottom small { overflow: visible; white-space: normal; }
  .schedule-row { grid-template-columns: 1fr; gap: 10px; padding: 16px 17px; }
  .schedule-next { text-align: left; }
  .schedule-note { margin: 15px 17px 18px; }
  .control-card { padding: 18px 17px; }
  .control-card-top { align-items: flex-start; flex-direction: column; gap: 6px; }
  .finding-browser, .finding-detail { padding: 17px; }
  .finding { grid-template-columns: 55px minmax(0, 1fr) 14px; gap: 8px; padding: 10px 4px; }
  .severity { min-width: 84px; font-size: 12px; }
  .finding-copy strong, .finding-copy small { overflow: visible; white-space: normal; }
  .finding-detail dl { grid-template-columns: 1fr; gap: 11px; }
  .workspace-footer { align-items: flex-start; flex-direction: column; }
  .workspace-contact { width: 100%; justify-content: center; }
  .site-footer { align-items: flex-start; flex-direction: column; gap: 6px; }
}
@media (max-width: 420px) {
  h1 { font-size: 2.6rem; }
}
@media (max-width: 350px) {
  .hero-accent > span { display: block; }
  .hero-accent > span + span { margin-left: 0; }
}
