:root {
  --ink: #152027;
  --muted: #65717a;
  --line: #d8e1e7;
  --panel: #ffffff;
  --bg: #f4f7f8;
  --green: #0f766e;
  --blue: #2454a6;
  --red: #b42318;
  --amber: #b45309;
  --violet: #6d28d9;
  --shadow: 0 10px 32px rgba(25, 40, 52, 0.08);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--bg);
}

button,
input,
select {
  font: inherit;
}

.app-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
}

.sidebar {
  background: #111820;
  color: #ffffff;
  padding: 16px 12px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.brand {
  display: grid;
  gap: 8px;
  justify-items: center;
  text-align: center;
}

.brand-mark {
  width: 42px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: #10a37f;
  font-weight: 800;
}

.brand strong,
.brand span {
  display: none;
}

nav {
  display: grid;
  gap: 10px;
}

.nav-item,
.icon-button {
  border: 1px solid transparent;
  border-radius: 8px;
  min-width: 42px;
  height: 42px;
  cursor: pointer;
}

.nav-item {
  background: #1c2732;
  color: #cbd5dd;
  font-weight: 700;
}

.nav-item.active {
  background: #eaf7f3;
  color: #0f766e;
}

main {
  padding: 24px;
  min-width: 0;
}

.portfolio-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(320px, 0.55fr);
  gap: 18px;
  align-items: stretch;
  margin-bottom: 14px;
}

.hero-copy,
.hero-proof,
.hire-grid article,
.proof-band {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.hero-copy {
  padding: clamp(22px, 4vw, 42px);
  display: grid;
  align-content: center;
  min-height: 360px;
}

.eyebrow {
  color: var(--green);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero-copy h1 {
  max-width: 960px;
  margin-top: 12px;
  font-size: clamp(34px, 5vw, 64px);
  line-height: 1.02;
}

.hero-copy p {
  max-width: 820px;
  margin-top: 16px;
  font-size: 17px;
  line-height: 1.62;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.link-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.jump-button {
  min-width: 118px;
}

.hero-proof {
  padding: 22px;
  display: grid;
  align-content: space-between;
  gap: 18px;
}

.hero-proof span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.hero-proof strong {
  display: block;
  margin-top: 6px;
  font-size: 25px;
  line-height: 1.1;
}

.hero-proof-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.hero-proof-grid span {
  min-height: 82px;
  display: grid;
  align-content: center;
  gap: 4px;
  padding: 12px;
  border: 1px solid #d7ece6;
  border-radius: 8px;
  background: #f3fbf8;
  color: var(--ink);
}

.hero-proof-grid strong {
  margin: 0;
  font-size: 24px;
  color: var(--green);
}

.hire-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 14px;
}

.hire-grid article {
  padding: 18px;
  min-height: 170px;
}

.hire-grid h2 {
  margin-top: 8px;
}

.hire-grid p {
  line-height: 1.55;
}

.proof-band {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  margin-bottom: 18px;
}

.proof-band div {
  display: grid;
  gap: 6px;
  padding: 16px;
  background: #ffffff;
}

.proof-band strong {
  font-size: 15px;
}

.proof-band span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.topbar {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 18px;
}

.dashboard-heading {
  padding-top: 8px;
}

h1 {
  margin: 0;
  font-size: 28px;
  line-height: 1.12;
  letter-spacing: 0;
}

h2 {
  margin: 0 0 10px;
  font-size: 18px;
  letter-spacing: 0;
}

p {
  margin: 6px 0 0;
  color: var(--muted);
}

.top-actions {
  display: flex;
  gap: 10px;
  flex: 0 0 auto;
}

.icon-button {
  background: #ffffff;
  color: var(--ink);
  border-color: var(--line);
  font-weight: 800;
}

.primary-button {
  height: 42px;
  padding: 0 16px;
  border: 0;
  border-radius: 8px;
  background: #0f766e;
  color: #ffffff;
  font-weight: 700;
  cursor: pointer;
}

.secondary-button {
  height: 42px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  color: var(--ink);
  font-weight: 700;
  cursor: pointer;
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 14px;
}

.analysis-banner {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  background: #eaf7f3;
  border: 1px solid #b8ddd3;
  border-radius: 8px;
  padding: 12px 14px;
  margin-bottom: 14px;
}

.analysis-banner span {
  display: block;
  color: var(--green);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.analysis-banner strong {
  display: block;
  margin-top: 3px;
}

.analysis-banner p {
  margin: 0;
  text-align: right;
  max-width: 560px;
}

.metric {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  padding: 14px;
  min-height: 112px;
}

.metric span,
.metric small {
  color: var(--muted);
}

.metric strong {
  display: block;
  font-size: 30px;
  margin: 8px 0 4px;
}

.toolbar {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) 180px 220px 220px 140px;
  gap: 12px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  margin-bottom: 14px;
}

label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

input,
select {
  width: 100%;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 0 10px;
  background: #ffffff;
  color: var(--ink);
}

input[type="file"] {
  padding: 7px 10px;
}

.toolbar-button {
  align-self: end;
}

.tab-panel {
  display: none;
}

.tab-panel.active {
  display: block;
}

.queue-layout {
  display: grid;
  grid-template-columns: minmax(330px, 0.9fr) minmax(420px, 1.2fr);
  gap: 14px;
  align-items: start;
}

.ticket-list,
.detail-panel,
.report-card,
.evidence-panel,
.decision-panel,
.ops-panel,
.proof-hub-panel,
.case-study-panel,
.playbook-grid article {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.ticket-list {
  overflow: hidden;
}

.ticket-card {
  width: 100%;
  text-align: left;
  background: #ffffff;
  border: 0;
  border-bottom: 1px solid var(--line);
  padding: 14px;
  cursor: pointer;
}

.ticket-card:hover,
.ticket-card.active {
  background: #eef7f8;
}

.ticket-row {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
}

.ticket-title {
  margin-top: 6px;
  font-weight: 750;
}

.ticket-meta {
  margin-top: 8px;
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.pill {
  display: inline-flex;
  align-items: center;
  height: 24px;
  padding: 0 8px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 750;
  background: #edf2f7;
  color: #2d3748;
}

.pill.Critical {
  background: #fee4e2;
  color: var(--red);
}

.pill.High {
  background: #fff4df;
  color: var(--amber);
}

.pill.Medium {
  background: #e7efff;
  color: var(--blue);
}

.pill.Low {
  background: #eaf7f3;
  color: var(--green);
}

.detail-panel {
  padding: 18px;
  min-height: 560px;
}

.detail-header {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-start;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.detail-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 14px 0;
}

.fact {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px;
  background: #fbfcfd;
}

.fact span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.fact strong {
  display: block;
  margin-top: 4px;
}

.draft {
  background: #f8fafc;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  margin-top: 12px;
}

.draft p {
  color: var(--ink);
}

.override-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 10px;
}

.override-reason {
  margin-bottom: 10px;
}

.override-button {
  margin-top: 4px;
}

.small-note {
  font-size: 13px;
  color: var(--muted) !important;
}

.report-card {
  padding: 18px;
}

.evidence-layout {
  display: grid;
  grid-template-columns: minmax(360px, 0.95fr) minmax(420px, 1.05fr);
  gap: 14px;
  align-items: start;
}

.evidence-panel {
  padding: 18px;
}

.control-matrix-panel {
  grid-column: 1 / -1;
}

.live-readiness-panel {
  grid-column: 1 / -1;
}

.objective-audit-panel {
  grid-column: 1 / -1;
}

.evidence-header {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 14px;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 4px 10px;
  border-radius: 999px;
  background: #edf2f7;
  color: #2d3748;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}

.status-pill.passing {
  background: #eaf7f3;
  color: var(--green);
}

.status-pill.pending {
  background: #fff4df;
  color: var(--amber);
}

.evidence-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.evidence-stat {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  background: #fbfcfd;
  min-height: 122px;
}

.evidence-stat span,
.evidence-stat small,
.eval-case span {
  color: var(--muted);
}

.evidence-stat span {
  display: block;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.evidence-stat strong {
  display: block;
  margin: 7px 0 6px;
  font-size: 20px;
}

.case-list {
  display: grid;
  gap: 10px;
}

.control-matrix-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.live-readiness-runbook {
  display: grid;
  gap: 10px;
}

.objective-audit {
  display: grid;
  gap: 10px;
}

.objective-audit-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.objective-audit-grid div,
.objective-audit-list {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  background: #fbfcfd;
}

.objective-audit-grid span,
.objective-audit-list li {
  color: var(--muted);
}

.objective-audit-grid strong {
  display: block;
  margin-top: 4px;
}

.live-readiness-summary {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
  background: #fbfcfd;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-start;
}

.live-readiness-summary strong,
.live-readiness-grid strong {
  display: block;
}

.live-readiness-summary p {
  color: var(--muted);
  margin-bottom: 0;
}

.live-readiness-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.live-readiness-grid div,
.live-readiness-detail {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  background: #fbfcfd;
}

.live-readiness-grid span,
.live-readiness-detail li {
  color: var(--muted);
}

.eval-case {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  background: #fbfcfd;
}

.control-matrix-item {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  background: #fbfcfd;
  min-height: 154px;
}

.eval-case strong,
.eval-case span,
.control-matrix-item strong,
.control-matrix-item span {
  display: block;
}

.control-matrix-item p,
.control-matrix-item span {
  color: var(--muted);
}

pre {
  white-space: pre-wrap;
  background: #101820;
  color: #e5edf3;
  padding: 16px;
  border-radius: 8px;
  min-height: 440px;
  overflow: auto;
}

.playbook-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.signals-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 14px;
}

.signals-panel {
  padding: 18px;
}

.signals-summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 160px;
  align-items: center;
  gap: 16px;
  grid-column: 1 / -1;
}

.risk-dial {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcfd;
  padding: 18px;
  text-align: center;
}

.risk-dial strong,
.risk-dial span,
.signal-cluster strong,
.signal-cluster span,
.roadmap-action strong {
  display: block;
}

.risk-dial strong {
  color: var(--red);
  font-size: 42px;
  line-height: 1;
}

.risk-dial span,
.signal-cluster span,
.signal-cluster p,
.roadmap-action p {
  color: var(--muted);
}

.signal-cluster-list,
.roadmap-action-list,
.stakeholder-brief-list,
.trend-history-list,
.role-fit-scorecard {
  display: grid;
  gap: 10px;
}

.signal-cluster,
.roadmap-action,
.stakeholder-brief,
.trend-snapshot,
.role-fit-item {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  background: #fbfcfd;
}

.stakeholder-panel {
  grid-column: 1 / -1;
}

.stakeholder-brief strong,
.stakeholder-brief span,
.trend-snapshot strong,
.trend-snapshot span,
.role-fit-item strong,
.role-fit-item span {
  display: block;
}

.stakeholder-brief span,
.stakeholder-brief p,
.stakeholder-brief li,
.trend-snapshot span,
.role-fit-item span,
.role-fit-item p,
.role-fit-item li {
  color: var(--muted);
}

.trend-metrics {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
  margin-top: 10px;
}

.trend-metrics span {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 8px;
  background: #ffffff;
  color: #2d3748;
}

.case-study-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.proof-hub-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.proof-hub-panel {
  padding: 18px;
}

.proof-hub-lead,
.proof-hub-wide {
  grid-column: 1 / -1;
}

.proof-hub-lead {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: flex-start;
}

.proof-hub-grid,
.proof-mini-grid {
  display: grid;
  gap: 10px;
}

.proof-hub-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.proof-mini-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-bottom: 12px;
}

.proof-mini-grid div,
.proof-hub-split article,
.proof-command-panel,
.proof-query-list article,
.proof-trace-list article {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  background: #fbfcfd;
}

.proof-mini-grid span,
.proof-mini-grid strong,
.proof-query-list strong,
.proof-query-list span {
  display: block;
}

.proof-mini-grid span,
.proof-query-list span {
  color: var(--muted);
}

.proof-hub-split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 10px;
}

.proof-query-list {
  display: grid;
  gap: 10px;
}

.proof-outreach-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: 10px;
  margin-bottom: 10px;
}

.proof-outreach-grid > article,
.proof-message-list section {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  background: #fbfcfd;
}

.proof-message-list {
  display: grid;
  gap: 10px;
}

.proof-message-list strong,
.proof-message-list span {
  display: block;
}

.proof-message-list span {
  color: var(--muted);
  font-weight: 700;
}

.proof-message-list p {
  font-size: 13px;
}

.proof-action-list,
.proof-role-action-list {
  display: grid;
  gap: 12px;
}

.proof-action-list section,
.proof-role-action-list article {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  background: #fbfcfd;
}

.proof-action-list section {
  gap: 8px;
}

.proof-role-action-list {
  margin-top: 12px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.proof-role-action-list article {
  gap: 10px;
}

.proof-trace-list {
  display: grid;
  gap: 10px;
}

.proof-trace-header {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 10px;
}

.proof-trace-header strong,
.proof-trace-header span {
  display: block;
}

.proof-trace-header span,
.proof-trace-grid span,
.proof-trace-grid small {
  color: var(--muted);
}

.proof-trace-grid {
  display: grid;
  grid-template-columns: 1.1fr 1.1fr 0.8fr;
  gap: 10px;
}

.proof-trace-grid div {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px;
  background: #ffffff;
}

.proof-trace-grid span,
.proof-trace-grid strong,
.proof-trace-grid small {
  display: block;
}

.proof-query-list code {
  display: block;
  margin-top: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px;
  background: #101820;
  color: #e5edf3;
  overflow-wrap: anywhere;
}

.decision-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.ops-review-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.decision-panel {
  padding: 18px;
}

.ops-panel {
  padding: 18px;
}

.decision-lead {
  grid-column: 1 / -1;
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: flex-start;
}

.ops-lead {
  grid-column: 1 / -1;
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: flex-start;
}

.ops-wide {
  grid-column: 1 / -1;
}

.decision-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.decision-grid div {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  background: #fbfcfd;
}

.decision-grid span,
.decision-grid strong {
  display: block;
}

.decision-grid span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.decision-grid strong {
  margin-top: 6px;
  font-size: 20px;
}

.case-study-panel {
  padding: 18px;
}

.case-study-lead {
  grid-column: 1 / -1;
}

.eyebrow {
  display: block;
  color: var(--green);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.proof-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 16px;
}

.proof-strip div {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  background: #fbfcfd;
}

.proof-strip strong,
.proof-strip span {
  display: block;
}

.proof-strip strong {
  font-size: 24px;
}

.proof-strip span,
.tight-list,
.timeline-list p {
  color: var(--muted);
}

.tight-list {
  padding-left: 18px;
}

.timeline-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}

.timeline-list li {
  border-left: 3px solid #10a37f;
  padding-left: 12px;
}

.timeline-list span {
  font-weight: 800;
}

.command-list {
  display: grid;
  gap: 8px;
}

.command-list code {
  display: block;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px;
  background: #101820;
  color: #e5edf3;
  overflow-wrap: anywhere;
}

.playbook-grid article {
  padding: 18px;
}

li {
  margin-bottom: 8px;
}

@media (max-width: 940px) {
  .app-shell {
    grid-template-columns: 1fr;
  }

  .sidebar {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  nav {
    display: flex;
  }

  main {
    padding: 16px;
  }

  .topbar,
  .portfolio-hero,
  .hire-grid,
  .proof-band,
  .queue-layout,
  .evidence-layout,
  .signals-layout,
  .decision-layout,
  .ops-review-layout,
  .proof-hub-layout,
  .proof-hub-split,
  .proof-outreach-grid,
  .case-study-layout,
  .playbook-grid {
    grid-template-columns: 1fr;
    display: grid;
  }

  .proof-hub-lead,
  .proof-hub-wide {
    grid-column: auto;
  }

  .proof-hub-lead {
    display: grid;
  }

  .case-study-lead {
    grid-column: auto;
  }

  .decision-lead {
    grid-column: auto;
    display: grid;
  }

  .ops-lead,
  .ops-wide {
    grid-column: auto;
  }

  .stakeholder-panel {
    grid-column: auto;
  }

  .signals-summary {
    grid-template-columns: 1fr;
    grid-column: auto;
  }

  .proof-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .trend-metrics {
    grid-template-columns: 1fr;
  }

  .metric-grid,
  .toolbar,
  .detail-grid,
  .override-grid,
  .evidence-grid,
  .live-readiness-grid,
  .objective-audit-grid,
  .proof-hub-grid,
  .proof-mini-grid,
  .proof-trace-grid,
  .control-matrix-list,
  .analysis-banner {
    grid-template-columns: 1fr;
    display: grid;
  }

  .analysis-banner p {
    text-align: left;
  }

  .proof-trace-header {
    display: grid;
  }

  .top-actions {
    flex-wrap: wrap;
  }
}

@media (max-width: 620px) {
  .hero-copy {
    min-height: auto;
    padding: 22px;
  }

  .hero-copy h1 {
    font-size: 34px;
  }

  .hero-actions,
  .hero-actions .primary-button,
  .hero-actions .secondary-button {
    width: 100%;
  }

  .hero-proof-grid,
  .proof-strip {
    grid-template-columns: 1fr;
  }
}

/* Portfolio presentation stays distinct from the working operations console. */
:root { --bg: #fafaf9; --ink: #222321; --green: #28604e; --shadow: none; }
html { scroll-behavior: smooth; }
.app-shell { display: block; }
.sidebar { background: #fafaf9; color: var(--ink); padding: 14px 28px; border-bottom: 1px solid var(--line); gap: 16px; flex-direction: row; align-items: center; }
.brand-mark { background: #000; border-radius: 0; flex-shrink: 0; text-decoration: none; }
.brand .signature-monogram { display: block; position: relative; width: 34px; height: 26px; overflow: hidden; }
.signature-monogram img { position: absolute; width: 120px; max-width: none; height: 60px; left: -1.5px; top: -16px; filter: invert(1); clip-path: polygon(1.25% 31%,30% 31%,30% 49%,20% 49%,18.5% 62.5%,15.5% 62.5%,16.5% 50%,1.25% 50%); }
.sidebar nav { display: flex; gap: 4px; overflow-x: auto; min-width: 0; }
.portfolio-nav { margin-left: auto; }
.portfolio-nav a { padding: 10px 12px; color: #222321; text-decoration: none; white-space: nowrap; font-weight: 600; }
.portfolio-nav a:hover { color: #0f766e; text-decoration: underline; }
.demo-navigation { position: relative; font-size: 13px; }
.demo-navigation summary { cursor: pointer; padding: 10px; }
.demo-navigation[open] nav { position: absolute; right: 0; top: 42px; z-index: 20; background: #fff; padding: 14px; border: 1px solid #ccc; width: 230px; flex-wrap: wrap; box-shadow: 0 8px 20px #0001; }
.service-offers { scroll-margin-top: 90px; padding-bottom: 54px; }
.service-row { display: grid; grid-template-columns: 180px minmax(0,1fr) 180px; align-items: center; gap: 28px; padding: 28px 0; border-top: 1px solid #c6cbc7; }
.service-preview { display: block; aspect-ratio: 4/3; overflow: hidden; background: #f0f2ee; padding: 6px; }
.service-preview img { display: block; width: 100%; height: 100%; object-fit: contain; object-position: center; }
.service-row h3 { font-size: 27px; line-height: 1.2; margin: 9px 0; font-weight: 600; }
.service-row p { line-height: 1.6; margin: 8px 0; }
.service-facts { font-size: 13px; color: #54605a; }
.service-facts span { padding: 0 8px; }
.service-proof-link { display: inline-block; color: #08665f; font-weight: 700; margin-top: 8px; }
.service-request { color: #252a26; font-weight: 600; line-height: 1.6; text-underline-offset: 5px; }
.service-more { border-top: 2px solid #222; margin-top: 12px; padding-top: 20px; }
.service-more h3 { font-size: 24px; }
#moreServices { display: grid; grid-template-columns: repeat(3,1fr); gap: 0 24px; }
#moreServices a { display: flex; justify-content: space-between; color: #242824; text-decoration: none; padding: 16px 0; border-bottom: 1px solid #c6cbc7; gap: 10px; }
#moreServices a:hover { color: #08776c; }
.service-disclosure { max-width: 880px; font-size: 13px; color: #58635b; line-height: 1.7; margin-top: 24px; }
@media(max-width:800px) { .sidebar { flex-wrap: wrap; } .portfolio-nav { order: 3; width: 100%; margin: 0; } .demo-navigation { margin-left: auto; } .service-row { grid-template-columns: 120px minmax(0,1fr); gap: 20px; } .service-request { grid-column: 2; } #moreServices { grid-template-columns: repeat(2,1fr); } }
@media(max-width:500px) { .portfolio-nav a { font-size: 13px; padding: 10px 9px; } .service-row { grid-template-columns: 1fr; gap: 16px; } .service-preview { width: 100%; aspect-ratio: 16/8; } .service-request { grid-column: 1; } .service-row h3 { font-size: 25px; } #moreServices { grid-template-columns: 1fr; } }
.nav-item { background: transparent; color: #545852; font-size: 12px; white-space: nowrap; padding: 0 12px; border-radius: 0; }
.nav-item.active { background: #e6ebe4; color: #244d39; }
main { max-width: 1320px; margin: auto; padding: 36px 40px; }
.portfolio-hero { grid-template-columns: 1fr; gap: 0; margin: 0 0 48px; }
.hero-copy { background: transparent; border: 0; box-shadow: none; padding: 30px 0 44px; min-height: 0; }
.hero-copy h1 { font-family: Georgia, 'Times New Roman', serif; font-size: 80px; font-weight: 400; line-height: 1.05; margin: 22px 0; letter-spacing: 0; }
.name-period { color: #c74739; }
.personal-signature { display: block; width: 230px; max-width: 75%; height: auto; margin: 8px 0 0; filter: url(#signature-ink); }
.hero-statement { font-size: 30px; line-height: 1.25; font-weight: 500; }
.hero-copy p { max-width: 670px; font-size: 17px; color: #545852; }
.hero-actions { margin-top: 24px; }
.hero-proof { border: 0; border-top: 2px solid #222321; border-bottom: 1px solid #b9bdb4; border-radius: 0; background: #edf0e9; padding: 28px; grid-template-columns: 1fr 1fr; gap: 40px; }
.hero-proof strong { font-size: 27px; font-weight: 500; }
.hero-proof p { line-height: 1.6; max-width: 490px; }
.hero-proof-grid { gap: 0 22px; }
.hero-proof-grid span { background: none; border: 0; border-bottom: 1px solid #c7d0c2; border-radius: 0; padding: 14px 0; font-weight: 400; }
.hero-proof-grid strong { font-size: 16px; color: #222321; }
.sample-work { margin: 36px 0 55px; }
.sample-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 24px; }
.sample-link { text-decoration: none; color: var(--ink); min-width: 0; }
.sample-art { aspect-ratio: 4 / 3; position: relative; overflow: hidden; display: flex; align-items: center; padding: 25px; }
.sample-caption { padding: 20px 0; border-bottom: 1px solid #bfc6ba; }
.sample-caption>span { font-size: 11px; color: var(--muted); }
.sample-caption h3 { font-size: 22px; margin: 12px 0; font-weight: 500; }
.sample-caption p { font-size: 14px; line-height: 1.6; min-height: 68px; }
.sample-caption strong { font-size: 13px; color: #28604e; }
.studio-art { background: #191d17; color: #d9ef75; }
.studio-art>span { font-size: 44px; font-weight: 700; line-height: .96; z-index: 1; }
.studio-art i { position:absolute; width: 220px; height: 220px; right:-65px; border: 1px solid #d9ef75; border-radius: 50%; box-shadow:0 0 0 13px #191d17,0 0 0 14px #d9ef75,0 0 0 27px #191d17,0 0 0 28px #d9ef75,0 0 0 41px #191d17,0 0 0 42px #d9ef75; transition: transform .7s ease; }
.sample-link:hover .studio-art i { transform:scale(1.15) translateX(-12px); }
.relay-art { background: #e8ece2; flex-direction: column; align-items: flex-start; justify-content: space-between; }
.relay-art>span { font-size: 62px; font-weight: 700; }.relay-dot { color: #c9573e; }
.relay-lines { display:flex; gap:8px; width:100%; }.relay-lines i { font-size:10px; font-style:normal; flex:1; border-top:4px solid #abb99b; padding-top:12px; }.relay-lines i:nth-child(2){border-color:#cc934a}.relay-lines i:nth-child(3){border-color:#398365}
.travel-art { color:white; align-items:flex-end; }.travel-art img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;transition:transform .7s ease}.travel-art>span{position:relative;font-family:Georgia,serif;font-size:42px;text-shadow:0 2px 12px #000}.sample-link:hover .travel-art img{transform:scale(1.06)}
@media(max-width:800px){.sample-grid{grid-template-columns:1fr}.sample-art{aspect-ratio:16/9}.sample-caption p{min-height:0}}
@media(prefers-reduced-motion:reduce){.sample-art i,.sample-art img{transition:none}}
.project-preview { margin: 0 0 24px; }
.project-preview summary { cursor: pointer; color: #28604e; padding: 12px 0; }
.project-preview figure { margin: 12px 0; }
.project-preview img { display: block; width: 100%; height: auto; }
.project-preview figcaption { font-size: 13px; padding-top: 12px; color: var(--muted); }
.section-intro { margin: 0 0 22px; }
.section-intro h2, .contact-section h2 { font-family: Georgia, 'Times New Roman', serif; font-size: 32px; font-weight: 400; margin: 12px 0; }
.section-intro p { color: var(--muted); }
.hire-grid { gap: 30px; margin-bottom: 36px; }
.hire-grid article { border: 0; border-top: 1px solid #9fa79b; border-radius: 0; background: transparent; padding: 22px 0; min-height: 0; }
.hire-grid h2 { font-size: 20px; line-height: 1.35; }
.proof-band { border: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); border-radius: 0; background: transparent; margin-bottom: 40px; }
.proof-band div { background: transparent; padding: 24px 16px 24px 0; }
.contact-section { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; padding: 24px 0 48px; border-bottom: 2px solid #222321; margin-bottom: 40px; }
.contact-section p { line-height: 1.6; max-width: 460px; }
.contact-section { scroll-margin-top: 32px; }
.contact-highlight {
  background-image: linear-gradient(#f6e58d, #f6e58d);
  background-repeat: no-repeat;
  background-position: left 85%;
  background-size: 0% 75%;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}
.contact-highlight.is-highlighted {
  background-size: 100% 75%;
  transition: background-size 700ms ease-in-out;
}
@media (prefers-reduced-motion: reduce) {
  .contact-highlight.is-highlighted { transition: none; }
}
.contact-section form { display: grid; gap: 10px; }
.contact-section label { font-size: 13px; font-weight: 600; }
.contact-section textarea { font: inherit; resize: vertical; padding: 12px; border: 1px solid #adb5ab; border-radius: 4px; width: 100%; }
.contact-section a { color: #28604e; overflow-wrap: anywhere; font-size: 14px; }
.contact-section button { justify-self: start; }
#contactStatus:empty { display: none; }
#contactStatus { font-size: 13px; }
.dashboard-heading { padding-top: 10px; scroll-margin-top: 24px; }
.tab-panel { scroll-margin-top: 24px; }
.demo-disclosure { font-size: 13px; color: #77532a; }
button, a, input, select, textarea { touch-action: manipulation; }
:focus-visible { outline: 3px solid #b95240; outline-offset: 4px; }
.primary-button, .secondary-button { border-radius: 4px; }
@media (max-width: 940px) {
  main { padding: 24px; }
  .sidebar { padding: 12px 20px; }
  .hero-copy h1 { font-size: 64px; }
  .hire-grid { grid-template-columns: 1fr; gap: 0; }
  .proof-band { grid-template-columns: 1fr; }
  .proof-band div { padding: 16px 0; }
}
@media (max-width: 620px) {
  main { padding: 18px; }
  .hero-copy { padding: 18px 0 30px; }
  .hero-copy h1 { font-size: 46px; }
  .hero-statement { font-size: 25px; }
  .hero-proof { grid-template-columns: 1fr; padding: 20px; gap: 16px; }
  .hero-proof-grid { grid-template-columns: 1fr 1fr; }
  .contact-section { grid-template-columns: 1fr; gap: 20px; }
  .section-intro h2, .contact-section h2 { font-size: 28px; }
  .top-actions { gap: 8px; }
  .top-actions button { max-width: 100%; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
@media print {
  .portfolio-hero, .section-intro, .hire-grid, .proof-band, .contact-section { display: none !important; }
  body {
    background: #ffffff;
  }

  .sidebar,
  .top-actions,
  .analysis-banner,
  .metric-grid,
  .toolbar,
  #queue,
  #evals,
  #proofHub,
  #decision,
  #opsReview,
  #caseStudy,
  #playbook {
    display: none !important;
  }

  .app-shell {
    display: block;
  }

  main {
    padding: 0;
  }

  .topbar {
    margin-bottom: 12px;
  }

  #report {
    display: block !important;
  }

  .report-card {
    border: 0;
    box-shadow: none;
    padding: 0;
  }

  pre {
    background: #ffffff;
    color: #111820;
    border: 1px solid #d8e1e7;
    min-height: 0;
    white-space: pre-wrap;
  }
}
