@font-face {
  font-family: "Manrope";
  src: url("../offers/assets/fonts/Manrope-Variable.woff2") format("woff2");
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
}

:root {
  --ink: #050505;
  --ink-soft: #171717;
  --paper: #f3f1ed;
  --white: #ffffff;
  --warm: #faf8f5;
  --panel: #e7e5e0;
  --line: rgba(5, 5, 5, 0.13);
  --line-inverse: rgba(255, 255, 255, 0.16);
  --muted: #6d6b66;
  --orange: #ffae4f;
  --orange-dark: #de7f16;
  --ready: #238458;
  --draft: #e19031;
  --source: #7869cc;
  --queue: #aaa7a0;
  --radius-xs: 10px;
  --radius-s: 16px;
  --radius-m: 24px;
  --radius-l: 36px;
  --shadow: 0 26px 80px rgba(17, 12, 7, 0.08);
  --shell: min(1500px, calc(100vw - 64px));
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--paper);
  color: var(--ink);
  font-family: "Manrope", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.48;
  text-rendering: optimizeLegibility;
}

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

a {
  color: inherit;
}

.shell {
  width: var(--shell);
  margin-inline: auto;
}

.topbar {
  position: sticky;
  z-index: 30;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 68px;
  padding: 10px max(32px, calc((100vw - 1500px) / 2));
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(5, 5, 5, 0.95);
  color: #fff;
  backdrop-filter: blur(18px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: inherit;
  text-decoration: none;
  white-space: nowrap;
}

.brand__mark {
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 5px rgba(255, 174, 79, 0.12);
}

.brand__name {
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -0.03em;
  text-transform: lowercase;
}

.brand__area {
  margin-left: 5px;
  padding-left: 15px;
  border-left: 1px solid rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.55);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.topnav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.topnav a {
  padding: 9px 13px;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.66);
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  transition: 180ms ease;
}

.topnav a:hover,
.topnav a:focus-visible {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.topnav .topnav__accent {
  background: var(--orange);
  color: var(--ink);
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(420px, 0.8fr);
  gap: clamp(38px, 7vw, 110px);
  overflow: hidden;
  min-height: 710px;
  margin-top: 24px;
  padding: clamp(44px, 7vw, 96px);
  border-radius: var(--radius-l);
  background: var(--ink);
  color: #fff;
  box-shadow: var(--shadow);
}

.hero::before {
  position: absolute;
  top: -34%;
  left: 20%;
  width: 820px;
  height: 820px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 50%;
  content: "";
  box-shadow: 0 0 0 120px rgba(255, 255, 255, 0.014), 0 0 0 260px rgba(255, 255, 255, 0.01);
  pointer-events: none;
}

.hero::after {
  position: absolute;
  right: -160px;
  bottom: -210px;
  width: 530px;
  height: 530px;
  border-radius: 50%;
  background: var(--orange);
  content: "";
  filter: blur(1px);
  opacity: 0.92;
}

.hero__copy,
.hero__system,
.hero__metrics {
  position: relative;
  z-index: 2;
}

.hero__copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}

.eyebrow {
  margin: 0 0 18px;
  color: rgba(255, 255, 255, 0.52);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.eyebrow--dark {
  color: var(--muted);
}

.hero h1 {
  max-width: 840px;
  margin: 0;
  font-size: clamp(54px, 6.1vw, 106px);
  font-weight: 650;
  letter-spacing: -0.075em;
  line-height: 0.9;
}

.hero h1 span {
  color: var(--orange);
}

.hero__lead {
  max-width: 720px;
  margin: 34px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: clamp(17px, 1.55vw, 23px);
  line-height: 1.45;
}

.route {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 42px;
}

.route span {
  padding: 8px 11px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 11px;
  font-weight: 750;
}

.route span:first-child {
  border-color: var(--orange);
  background: var(--orange);
  color: var(--ink);
}

.route i {
  color: rgba(255, 255, 255, 0.36);
  font-size: 13px;
  font-style: normal;
}

.hero__system {
  align-self: center;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 14px;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(22px);
}

.system-card {
  min-height: 160px;
  padding: 20px;
  border-radius: 20px;
  background: #fff;
  color: var(--ink);
}

.system-card--niche {
  background: var(--orange);
}

.system-card small,
.system-result small {
  display: block;
  margin-bottom: 32px;
  color: rgba(5, 5, 5, 0.48);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.system-card strong {
  display: block;
  font-size: clamp(23px, 2.2vw, 34px);
  font-weight: 720;
  letter-spacing: -0.045em;
  line-height: 1;
}

.system-card span {
  display: block;
  margin-top: 7px;
  color: rgba(5, 5, 5, 0.56);
  font-size: 12px;
}

.system-sign,
.system-equals {
  align-self: center;
  color: rgba(255, 255, 255, 0.62);
  font-size: 26px;
  font-weight: 300;
}

.system-equals {
  grid-column: 1 / -1;
  justify-self: center;
  margin: -6px 0;
}

.system-result {
  grid-column: 1 / -1;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 20px;
  background: rgba(0, 0, 0, 0.34);
}

.system-result small {
  margin-bottom: 11px;
  color: rgba(255, 255, 255, 0.46);
}

.system-result strong {
  display: block;
  font-size: clamp(20px, 2vw, 30px);
  font-weight: 680;
  letter-spacing: -0.04em;
  line-height: 1.1;
}

.system-result p {
  margin: 11px 0 0;
  color: rgba(255, 255, 255, 0.53);
  font-size: 12px;
}

.hero__metrics {
  grid-column: 1 / -1;
  align-self: end;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin-top: -4px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.12);
}

.hero__metrics div {
  padding: 18px 20px;
  background: rgba(5, 5, 5, 0.83);
}

.hero__metrics strong {
  display: block;
  color: var(--orange);
  font-size: 26px;
  font-variant-numeric: tabular-nums;
  font-weight: 720;
  letter-spacing: -0.04em;
}

.hero__metrics span {
  color: rgba(255, 255, 255, 0.52);
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.portfolio,
.workflow,
.sources {
  padding-top: 132px;
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 48px;
  margin-bottom: 38px;
}

.section-head--wide {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.44fr);
}

.section-head h2 {
  max-width: 900px;
  margin: 0;
  font-size: clamp(40px, 5vw, 76px);
  font-weight: 650;
  letter-spacing: -0.065em;
  line-height: 0.98;
}

.section-head__note {
  margin: 0;
  padding-left: 24px;
  border-left: 2px solid var(--orange);
  color: var(--muted);
  font-size: 14px;
}

.toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
  padding: 14px 16px 14px 20px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.54);
}

.toolbar__legend,
.filter {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 16px;
}

.toolbar__legend span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 720;
}

.legend-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--queue);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--queue) 14%, transparent);
}

.legend-dot--ready { background: var(--ready); box-shadow: 0 0 0 4px color-mix(in srgb, var(--ready) 14%, transparent); }
.legend-dot--draft { background: var(--draft); box-shadow: 0 0 0 4px color-mix(in srgb, var(--draft) 14%, transparent); }
.legend-dot--source { background: var(--source); box-shadow: 0 0 0 4px color-mix(in srgb, var(--source) 14%, transparent); }
.legend-dot--queue { background: var(--queue); box-shadow: 0 0 0 4px color-mix(in srgb, var(--queue) 14%, transparent); }

.filter {
  gap: 4px;
  padding: 4px;
  border-radius: 999px;
  background: #dedbd5;
}

.filter__button {
  appearance: none;
  padding: 7px 11px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-size: 11px;
  font-weight: 750;
}

.filter__button:hover,
.filter__button:focus-visible {
  color: var(--ink);
}

.filter__button.is-active {
  background: var(--white);
  color: var(--ink);
  box-shadow: 0 2px 9px rgba(5, 5, 5, 0.08);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  align-items: start;
}

.track {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 18px 60px rgba(5, 5, 5, 0.035);
}

.track--niches {
  background: #ebe7df;
}

.track__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 26px 28px 22px;
}

.track__axis {
  display: block;
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.track__head h3 {
  margin: 0;
  font-size: 36px;
  font-weight: 690;
  letter-spacing: -0.055em;
  line-height: 1;
}

.track__count {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  font-size: 13px;
  font-variant-numeric: tabular-nums;
  font-weight: 740;
}

.track--niches .track__count {
  background: var(--orange);
  color: var(--ink);
}

.track__stages {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-left: min(48%, 340px);
  padding: 0 28px 11px;
  color: #8d8981;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-align: center;
  text-transform: uppercase;
}

.track__list {
  border-top: 1px solid var(--line);
}

.portfolio-card {
  border-bottom: 1px solid var(--line);
}

.portfolio-card:last-child {
  border-bottom: 0;
}

.portfolio-card[hidden] {
  display: none;
}

.portfolio-card summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(250px, 44%);
  gap: 22px;
  align-items: center;
  min-height: 132px;
  padding: 22px 28px;
  cursor: pointer;
  list-style: none;
  transition: background 160ms ease;
}

.portfolio-card summary::-webkit-details-marker {
  display: none;
}

.portfolio-card summary:hover,
.portfolio-card summary:focus-visible {
  background: rgba(255, 174, 79, 0.1);
  outline: 0;
}

.portfolio-card[open] summary {
  background: var(--ink);
  color: #fff;
}

.portfolio-card__title {
  position: relative;
  min-width: 0;
  padding-left: 40px;
}

.portfolio-card__number {
  position: absolute;
  top: 3px;
  left: 0;
  color: #aaa59c;
  font-size: 10px;
  font-variant-numeric: tabular-nums;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.portfolio-card__title h4 {
  margin: 0;
  font-size: clamp(17px, 1.3vw, 22px);
  font-weight: 680;
  letter-spacing: -0.035em;
  line-height: 1.15;
}

.portfolio-card__title p {
  display: -webkit-box;
  overflow: hidden;
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 11px;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.portfolio-card[open] .portfolio-card__title p {
  color: rgba(255, 255, 255, 0.58);
}

.status-line {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 7px;
}

.status-cell {
  min-width: 0;
  text-align: center;
}

.status-cell__bar {
  display: block;
  height: 7px;
  margin-bottom: 8px;
  border-radius: 999px;
  background: var(--queue);
}

.status-cell--ready .status-cell__bar { background: var(--ready); }
.status-cell--draft .status-cell__bar { background: var(--draft); }
.status-cell--source .status-cell__bar { background: var(--source); }
.status-cell--queue .status-cell__bar { background: var(--queue); }

.status-cell__label {
  display: block;
  overflow: hidden;
  color: #817d76;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.portfolio-card[open] .status-cell__label {
  color: rgba(255, 255, 255, 0.48);
}

.portfolio-card__body {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 28px;
  padding: 28px;
  background: #fff;
}

.track--niches .portfolio-card__body {
  background: #f8f5ef;
}

.portfolio-card__result {
  margin: 0 0 20px;
  padding-left: 16px;
  border-left: 3px solid var(--orange);
  font-size: 14px;
  font-weight: 650;
}

.portfolio-card__subhead {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.portfolio-card__body ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.portfolio-card__body li {
  position: relative;
  margin-top: 9px;
  padding-left: 17px;
  color: #5c5953;
  font-size: 12px;
}

.portfolio-card__body li::before {
  position: absolute;
  top: 0.62em;
  left: 0;
  width: 6px;
  height: 2px;
  background: var(--ink);
  content: "";
}

.portfolio-card__next {
  margin: 0 0 22px;
  font-size: 13px;
}

.portfolio-card__links {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.portfolio-card__links a,
.portfolio-card__links span {
  display: inline-flex;
  padding: 7px 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #5f5b54;
  font-size: 9px;
  font-weight: 750;
  text-decoration: none;
}

.portfolio-card__links a:hover,
.portfolio-card__links a:focus-visible {
  border-color: var(--ink);
  color: var(--ink);
}

.portfolio-card__links span {
  border-style: dashed;
  color: #928e86;
}

.calibration {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(480px, 1.1fr);
  gap: clamp(38px, 7vw, 110px);
  margin-top: 96px;
  padding: clamp(40px, 6vw, 82px);
  border-radius: var(--radius-l);
  background: var(--ink);
  color: #fff;
}

.calibration__copy h2 {
  margin: 0;
  font-size: clamp(38px, 4.6vw, 72px);
  font-weight: 650;
  letter-spacing: -0.065em;
  line-height: 0.98;
}

.calibration__copy h2 span {
  color: var(--orange);
}

.calibration__copy > p:not(.eyebrow) {
  max-width: 650px;
  margin: 27px 0 0;
  color: rgba(255, 255, 255, 0.66);
  font-size: 16px;
}

.calibration__status {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin-top: 32px;
}

.calibration__status span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.63);
  font-size: 10px;
  font-weight: 700;
}

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

.calibration__grid article {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 190px;
  padding: 24px;
  border-radius: 22px;
  background: #fff;
  color: var(--ink);
}

.calibration__grid article:nth-child(2),
.calibration__grid article:nth-child(3) {
  background: var(--orange);
}

.calibration__grid span {
  margin-bottom: auto;
  color: rgba(5, 5, 5, 0.42);
  font-size: 10px;
  font-weight: 800;
}

.calibration__grid strong {
  font-size: clamp(24px, 2.6vw, 42px);
  font-weight: 680;
  letter-spacing: -0.055em;
  line-height: 1;
}

.calibration__grid p {
  margin: 7px 0 0;
  color: rgba(5, 5, 5, 0.56);
  font-size: 11px;
}

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

.workflow-card {
  display: flex;
  flex-direction: column;
  min-height: 480px;
  padding: 27px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: #fff;
}

.workflow-card--accent {
  background: var(--orange);
}

.workflow-card--dark {
  border-color: var(--ink);
  background: var(--ink);
  color: #fff;
}

.workflow-card__num {
  color: #a4a098;
  font-size: 11px;
  font-variant-numeric: tabular-nums;
  font-weight: 800;
}

.workflow-card__tag {
  margin: 44px 0 12px;
  color: var(--muted);
  font-size: 9px;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.workflow-card--accent .workflow-card__tag,
.workflow-card--accent .workflow-card__num {
  color: rgba(5, 5, 5, 0.5);
}

.workflow-card--dark .workflow-card__tag,
.workflow-card--dark .workflow-card__num {
  color: rgba(255, 255, 255, 0.45);
}

.workflow-card h3 {
  min-height: 92px;
  margin: 0;
  font-size: clamp(22px, 1.8vw, 31px);
  font-weight: 670;
  letter-spacing: -0.05em;
  line-height: 1.08;
}

.workflow-card ul {
  margin: 30px 0;
  padding: 0;
  list-style: none;
}

.workflow-card li {
  padding: 10px 0;
  border-top: 1px solid var(--line);
  color: #5e5a53;
  font-size: 12px;
}

.workflow-card--accent li {
  border-color: rgba(5, 5, 5, 0.16);
  color: rgba(5, 5, 5, 0.7);
}

.workflow-card--dark li {
  border-color: var(--line-inverse);
  color: rgba(255, 255, 255, 0.67);
}

.workflow-card__result {
  margin: auto 0 0;
  padding-top: 18px;
  border-top: 3px solid var(--orange);
  font-size: 12px;
  font-weight: 650;
}

.framework-callout {
  display: grid;
  grid-template-columns: minmax(250px, 0.65fr) minmax(0, 1fr) auto;
  gap: 44px;
  align-items: center;
  margin-top: 14px;
  padding: 28px 32px;
  border-radius: 24px;
  background: #dcd8d1;
  color: var(--ink);
  text-decoration: none;
  transition: 180ms ease;
}

.framework-callout:hover,
.framework-callout:focus-visible {
  background: var(--orange);
  transform: translateY(-2px);
}

.framework-callout small,
.framework-callout strong {
  display: block;
}

.framework-callout small {
  margin-bottom: 5px;
  color: var(--muted);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.framework-callout strong {
  font-size: clamp(22px, 2.2vw, 34px);
  letter-spacing: -0.045em;
}

.framework-callout p {
  margin: 0;
  color: #625e57;
  font-size: 13px;
}

.framework-callout i {
  font-size: 30px;
  font-style: normal;
}

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

.source-card {
  display: flex;
  flex-direction: column;
  min-height: 260px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.66);
  text-decoration: none;
  transition: 170ms ease;
}

a.source-card:hover,
a.source-card:focus-visible {
  border-color: var(--ink);
  background: #fff;
  transform: translateY(-3px);
  box-shadow: 0 14px 40px rgba(5, 5, 5, 0.08);
}

.source-card--private {
  border-style: dashed;
  background: #e7e2da;
}

.source-card__type {
  color: var(--muted);
  font-size: 8px;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.source-card h3 {
  margin: 36px 0 12px;
  font-size: 20px;
  font-weight: 680;
  letter-spacing: -0.04em;
  line-height: 1.08;
}

.source-card p {
  margin: 0;
  color: var(--muted);
  font-size: 11px;
}

.source-card__action {
  margin-top: auto;
  padding-top: 18px;
  color: var(--ink);
  font-size: 10px;
  font-weight: 800;
}

.next-step {
  margin-top: 132px;
  padding: clamp(40px, 6vw, 82px);
  border-radius: var(--radius-l);
  background: var(--orange);
}

.next-step .eyebrow {
  color: rgba(5, 5, 5, 0.5);
}

.next-step h2 {
  max-width: 1080px;
  margin: 0;
  font-size: clamp(42px, 5.4vw, 84px);
  font-weight: 650;
  letter-spacing: -0.07em;
  line-height: 0.94;
}

.next-step ol {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin: 58px 0 0;
  padding: 0;
  list-style: none;
}

.next-step li {
  padding-top: 15px;
  border-top: 2px solid rgba(5, 5, 5, 0.42);
  font-size: 12px;
  font-weight: 650;
}

.next-step li span {
  display: block;
  margin-bottom: 24px;
  color: rgba(5, 5, 5, 0.48);
  font-size: 10px;
  font-weight: 850;
}

.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-block: 34px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* Presentation framework */
.framework-page {
  background: #efede8;
}

.framework-hero {
  overflow: hidden;
  margin-top: 24px;
  padding: clamp(48px, 7vw, 100px);
  border-radius: var(--radius-l);
  background: var(--ink);
  color: #fff;
}

.framework-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(360px, 0.68fr);
  gap: clamp(48px, 8vw, 130px);
  align-items: end;
}

.framework-hero h1 {
  max-width: 980px;
  margin: 0;
  font-size: clamp(55px, 7.2vw, 118px);
  font-weight: 640;
  letter-spacing: -0.08em;
  line-height: 0.86;
}

.framework-hero h1 span {
  color: var(--orange);
}

.framework-hero__note {
  padding: 26px;
  border: 1px solid var(--line-inverse);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.06);
}

.framework-hero__note strong {
  display: block;
  margin-bottom: 12px;
  font-size: 20px;
  letter-spacing: -0.035em;
}

.framework-hero__note p {
  margin: 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 13px;
}

.framework-hero__formula {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: 68px;
  overflow: hidden;
  border: 1px solid var(--line-inverse);
  border-radius: 20px;
  background: var(--line-inverse);
}

.framework-hero__formula div {
  min-height: 145px;
  padding: 22px;
  background: var(--ink-soft);
}

.framework-hero__formula div:nth-child(2) {
  background: var(--orange);
  color: var(--ink);
}

.framework-hero__formula span,
.framework-hero__formula strong {
  display: block;
}

.framework-hero__formula span {
  color: rgba(255, 255, 255, 0.42);
  font-size: 9px;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.framework-hero__formula div:nth-child(2) span {
  color: rgba(5, 5, 5, 0.45);
}

.framework-hero__formula strong {
  margin-top: 44px;
  font-size: clamp(19px, 2vw, 29px);
  font-weight: 650;
  letter-spacing: -0.04em;
  line-height: 1.06;
}

.framework-section {
  padding-top: 128px;
}

.principle-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.principle-card {
  min-height: 330px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: #fff;
}

.principle-card:nth-child(2) {
  background: var(--orange);
}

.principle-card:nth-child(3) {
  background: var(--ink);
  color: #fff;
}

.principle-card > span {
  color: var(--muted);
  font-size: 10px;
  font-weight: 850;
}

.principle-card:nth-child(3) > span {
  color: rgba(255, 255, 255, 0.45);
}

.principle-card h3 {
  margin: 72px 0 14px;
  font-size: clamp(27px, 2.4vw, 40px);
  font-weight: 650;
  letter-spacing: -0.055em;
  line-height: 1;
}

.principle-card p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.principle-card:nth-child(2) p {
  color: rgba(5, 5, 5, 0.63);
}

.principle-card:nth-child(3) p {
  color: rgba(255, 255, 255, 0.58);
}

.story-rail {
  counter-reset: story;
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 8px;
}

.story-step {
  counter-increment: story;
  display: flex;
  flex-direction: column;
  min-height: 330px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff;
}

.story-step:nth-child(4),
.story-step:nth-child(8) {
  background: var(--orange);
}

.story-step::before {
  content: counter(story, decimal-leading-zero);
  color: #aaa69e;
  font-size: 10px;
  font-weight: 850;
}

.story-step:nth-child(4)::before,
.story-step:nth-child(8)::before {
  color: rgba(5, 5, 5, 0.45);
}

.story-step h3 {
  margin: auto 0 12px;
  font-size: clamp(18px, 1.55vw, 25px);
  font-weight: 670;
  letter-spacing: -0.04em;
  line-height: 1.04;
}

.story-step p {
  min-height: 64px;
  margin: 0;
  color: var(--muted);
  font-size: 10px;
}

.story-step:nth-child(4) p,
.story-step:nth-child(8) p {
  color: rgba(5, 5, 5, 0.62);
}

.story-step small {
  display: block;
  margin-top: 20px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  color: #8c877f;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

.pattern-card {
  min-height: 360px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: #fff;
}

.pattern-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}

.pattern-card__meta span {
  color: #99948c;
  font-size: 9px;
  font-weight: 850;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.pattern-card__meta strong {
  font-size: 15px;
  font-weight: 720;
}

.wire {
  position: relative;
  display: grid;
  gap: 8px;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  padding: 15px;
  border-radius: 16px;
  background: #e8e5df;
}

.wire::before,
.wire::after,
.wire span,
.wire i,
.wire b {
  display: block;
  border-radius: 6px;
  content: "";
}

.wire::before,
.wire span {
  background: var(--ink);
}

.wire::after,
.wire i {
  background: var(--orange);
}

.wire b {
  background: #fff;
}

.wire--hero {
  grid-template: "a c" 1fr "b c" 0.65fr / 1fr 0.75fr;
}

.wire--hero::before { grid-area: a; }
.wire--hero::after { grid-area: b; }
.wire--hero span { grid-area: c; background: #fff; }

.wire--statement::before {
  position: absolute;
  top: 18%;
  right: 13%;
  bottom: 18%;
  left: 13%;
}

.wire--statement::after {
  position: absolute;
  right: 16%;
  bottom: 14%;
  width: 20%;
  height: 9px;
}

.wire--process {
  grid-template-columns: repeat(4, 1fr);
  align-items: end;
}

.wire--process span,
.wire--process i,
.wire--process b,
.wire--process::before {
  height: 72%;
}

.wire--process::after {
  display: none;
}

.wire--process i { height: 88%; }
.wire--process b { height: 64%; }

.wire--audience {
  grid-template: repeat(2, 1fr) / repeat(2, 1fr);
}

.wire--audience::before,
.wire--audience::after,
.wire--audience span,
.wire--audience i {
  min-height: 0;
}

.wire--audience span { background: #fff; }
.wire--audience i { background: #d0ccc4; }

.wire--split {
  grid-template-columns: 1fr 1fr;
}

.wire--split::before,
.wire--split::after {
  height: 100%;
}

.wire--architecture {
  grid-template: "a a a" 0.7fr "b c d" 1fr / repeat(3, 1fr);
}

.wire--architecture::before { grid-area: a; }
.wire--architecture::after { grid-area: b; }
.wire--architecture span { grid-area: c; background: #fff; }
.wire--architecture i { grid-area: d; background: #c4c0b8; }

.wire--metrics {
  grid-template-columns: repeat(3, 1fr);
}

.wire--metrics::before,
.wire--metrics::after,
.wire--metrics span {
  height: 100%;
}

.wire--metrics span { background: #fff; }

.wire--case {
  grid-template: "a a c" 1fr "b b c" 0.35fr / 1fr 1fr 0.8fr;
}

.wire--case::before { grid-area: a; background: #fff; }
.wire--case::after { grid-area: b; }
.wire--case span { grid-area: c; }

.wire--roadmap {
  grid-template-columns: repeat(4, 1fr);
  align-items: center;
}

.wire--roadmap::before,
.wire--roadmap::after,
.wire--roadmap span,
.wire--roadmap i {
  height: 22px;
  border-radius: 999px;
}

.wire--roadmap span { background: #fff; }
.wire--roadmap i { background: #bdb8af; }

.pattern-card p {
  margin: 18px 2px 0;
  color: var(--muted);
  font-size: 11px;
}

.content-contract {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
  gap: 12px;
}

.contract-lead,
.contract-list {
  padding: 36px;
  border-radius: 28px;
}

.contract-lead {
  background: var(--orange);
}

.contract-lead h3 {
  margin: 0;
  font-size: clamp(37px, 4vw, 64px);
  font-weight: 650;
  letter-spacing: -0.065em;
  line-height: 0.95;
}

.contract-lead p {
  margin: 26px 0 0;
  color: rgba(5, 5, 5, 0.64);
  font-size: 13px;
}

.contract-list {
  background: var(--ink);
  color: #fff;
}

.contract-list ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

.contract-list li {
  display: grid;
  grid-template-columns: 38px minmax(0, 0.72fr) minmax(0, 1fr);
  gap: 18px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line-inverse);
}

.contract-list li:last-child {
  border-bottom: 0;
}

.contract-list span {
  color: rgba(255, 255, 255, 0.34);
  font-size: 10px;
  font-weight: 800;
}

.contract-list strong {
  font-size: 13px;
}

.contract-list p {
  margin: 0;
  color: rgba(255, 255, 255, 0.58);
  font-size: 11px;
}

.handoff-table {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: #fff;
}

.handoff-row {
  display: grid;
  grid-template-columns: minmax(180px, 0.55fr) repeat(2, minmax(0, 1fr));
  border-bottom: 1px solid var(--line);
}

.handoff-row:last-child {
  border-bottom: 0;
}

.handoff-row > * {
  padding: 20px 24px;
  border-right: 1px solid var(--line);
}

.handoff-row > *:last-child {
  border-right: 0;
}

.handoff-row--head {
  background: var(--ink);
  color: #fff;
}

.handoff-row span {
  font-size: 12px;
  font-weight: 720;
}

.handoff-row p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}

.handoff-row--head p {
  color: rgba(255, 255, 255, 0.62);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

.quality-card {
  min-height: 250px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #fff;
}

.quality-card:nth-child(4) {
  background: var(--orange);
}

.quality-card span {
  color: #9b968e;
  font-size: 9px;
  font-weight: 850;
}

.quality-card h3 {
  margin: 58px 0 11px;
  font-size: 23px;
  font-weight: 660;
  letter-spacing: -0.045em;
  line-height: 1.05;
}

.quality-card p {
  margin: 0;
  color: var(--muted);
  font-size: 11px;
}

@media (max-width: 1240px) {
  :root {
    --shell: min(1180px, calc(100vw - 48px));
  }

  .hero {
    grid-template-columns: minmax(0, 1fr) minmax(370px, 0.78fr);
    padding: 62px;
  }

  .source-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

  .workflow-card {
    min-height: 420px;
  }

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

@media (max-width: 980px) {
  .topbar {
    align-items: flex-start;
    padding-inline: 24px;
  }

  .brand__area,
  .topnav > a:not(.topnav__accent) {
    display: none;
  }

  .hero,
  .framework-hero__grid,
  .calibration,
  .section-head--wide,
  .content-contract {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding: 58px 46px 42px;
  }

  .hero__system {
    width: 100%;
  }

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

  .calibration__grid {
    min-width: 0;
  }

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

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

  .principle-card {
    min-height: 260px;
  }

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

@media (max-width: 720px) {
  :root {
    --shell: calc(100vw - 24px);
    --radius-l: 26px;
  }

  html {
    scroll-padding-top: 76px;
  }

  .topbar {
    min-height: 58px;
    padding: 8px 13px;
  }

  .brand__mark {
    width: 10px;
    height: 10px;
  }

  .brand__name {
    font-size: 14px;
  }

  .topnav .topnav__accent {
    padding: 8px 10px;
    font-size: 9px;
  }

  .hero,
  .framework-hero {
    margin-top: 12px;
    padding: 37px 23px 24px;
  }

  .hero::before {
    display: none;
  }

  .hero::after {
    right: -170px;
    bottom: -190px;
    width: 370px;
    height: 370px;
    opacity: 0.72;
  }

  .eyebrow {
    margin-bottom: 14px;
    font-size: 8px;
  }

  .hero h1,
  .framework-hero h1 {
    font-size: clamp(44px, 15vw, 66px);
    line-height: 0.91;
  }

  .hero__lead {
    margin-top: 24px;
    font-size: 15px;
  }

  .route {
    gap: 5px;
    margin-top: 28px;
  }

  .route span {
    padding: 6px 8px;
    font-size: 8px;
  }

  .hero__system {
    gap: 7px;
    padding: 10px;
    border-radius: 20px;
  }

  .system-card {
    min-height: 126px;
    padding: 15px;
    border-radius: 15px;
  }

  .system-card small {
    margin-bottom: 25px;
    font-size: 7px;
  }

  .system-card strong {
    font-size: 22px;
  }

  .system-card span,
  .system-result p {
    font-size: 9px;
  }

  .system-sign {
    font-size: 18px;
  }

  .system-result {
    padding: 16px;
    border-radius: 15px;
  }

  .system-result strong {
    font-size: 20px;
  }

  .hero__metrics {
    grid-template-columns: repeat(2, 1fr);
    margin-top: 10px;
  }

  .hero__metrics div {
    padding: 14px;
  }

  .hero__metrics strong {
    font-size: 22px;
  }

  .portfolio,
  .workflow,
  .sources,
  .framework-section {
    padding-top: 86px;
  }

  .section-head,
  .section-head--wide {
    display: block;
    margin-bottom: 25px;
  }

  .section-head h2 {
    font-size: 42px;
  }

  .section-head__note {
    margin-top: 20px;
    font-size: 12px;
  }

  .toolbar {
    display: block;
    padding: 13px;
  }

  .toolbar__legend {
    gap: 8px 13px;
  }

  .filter {
    justify-content: space-between;
    margin-top: 13px;
  }

  .filter__button {
    flex: 1;
    padding-inline: 8px;
  }

  .track__head {
    padding: 21px 18px 17px;
  }

  .track__head h3 {
    font-size: 31px;
  }

  .track__stages {
    margin-left: 0;
    padding: 0 18px 9px calc(42% + 14px);
    font-size: 6px;
  }

  .portfolio-card summary {
    grid-template-columns: minmax(0, 0.85fr) minmax(155px, 1.15fr);
    gap: 12px;
    min-height: 118px;
    padding: 17px 18px;
  }

  .portfolio-card__title {
    padding-left: 25px;
  }

  .portfolio-card__title h4 {
    font-size: 15px;
  }

  .portfolio-card__title p {
    font-size: 9px;
    -webkit-line-clamp: 3;
  }

  .status-line {
    gap: 4px;
  }

  .status-cell__bar {
    height: 6px;
    margin-bottom: 5px;
  }

  .status-cell__label {
    font-size: 6px;
  }

  .portfolio-card__body {
    grid-template-columns: 1fr;
    gap: 22px;
    padding: 22px 18px 26px;
  }

  .calibration {
    gap: 34px;
    margin-top: 64px;
    padding: 34px 22px 22px;
  }

  .calibration__copy h2 {
    font-size: 42px;
  }

  .calibration__copy > p:not(.eyebrow) {
    font-size: 13px;
  }

  .calibration__grid {
    gap: 7px;
  }

  .calibration__grid article {
    min-height: 145px;
    padding: 16px;
    border-radius: 16px;
  }

  .calibration__grid strong {
    font-size: 25px;
  }

  .workflow-grid,
  .source-grid,
  .pattern-grid,
  .quality-grid {
    grid-template-columns: 1fr;
  }

  .workflow-card {
    min-height: 390px;
  }

  .framework-callout {
    grid-template-columns: 1fr auto;
    gap: 12px;
    padding: 23px;
  }

  .framework-callout p {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  .source-card {
    min-height: 220px;
  }

  .next-step {
    margin-top: 86px;
    padding: 38px 23px;
  }

  .next-step h2 {
    font-size: 43px;
  }

  .next-step ol {
    grid-template-columns: 1fr 1fr;
    gap: 25px 12px;
    margin-top: 40px;
  }

  .footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
  }

  .framework-hero__grid {
    gap: 36px;
  }

  .framework-hero__formula {
    grid-template-columns: 1fr;
    margin-top: 42px;
  }

  .framework-hero__formula div {
    min-height: 112px;
  }

  .framework-hero__formula strong {
    margin-top: 24px;
  }

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

  .story-step {
    min-height: 270px;
  }

  .principle-card,
  .contract-lead,
  .contract-list {
    padding: 24px;
  }

  .contract-list li {
    grid-template-columns: 30px 1fr;
    gap: 8px 12px;
  }

  .contract-list p {
    grid-column: 2;
  }

  .handoff-row {
    grid-template-columns: 1fr;
  }

  .handoff-row > * {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .handoff-row > *:last-child {
    border-bottom: 0;
  }
}

@media (max-width: 420px) {
  .hero h1,
  .framework-hero h1 {
    font-size: 43px;
  }

  .system-card strong {
    font-size: 18px;
  }

  .portfolio-card summary {
    grid-template-columns: minmax(0, 0.92fr) minmax(145px, 1.08fr);
    padding-inline: 14px;
  }

  .portfolio-card__title {
    padding-left: 19px;
  }

  .portfolio-card__number {
    font-size: 8px;
  }

  .portfolio-card__title h4 {
    font-size: 13px;
  }

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

  .calibration__grid article {
    min-height: 124px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

/* Compact one-screen workspace */
body.dashboard-page {
  height: 100dvh;
  overflow: hidden;
  background: #ebe8e2;
}

.dashboard-topbar {
  position: relative;
  min-height: 58px;
  height: 58px;
  padding-block: 7px;
}

.dashboard-topbar__actions {
  display: flex;
  align-items: center;
  gap: 6px;
}

.topbar-button,
.topbar-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 7px 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: transparent;
  color: rgba(255, 255, 255, 0.67);
  cursor: pointer;
  font-size: 10px;
  font-weight: 750;
  text-decoration: none;
}

.topbar-button:hover,
.topbar-button:focus-visible,
.topbar-link:hover,
.topbar-link:focus-visible {
  border-color: rgba(255, 255, 255, 0.34);
  color: #fff;
}

.topbar-button span {
  margin-left: 6px;
  color: var(--orange);
  font-variant-numeric: tabular-nums;
}

.topbar-link {
  border-color: var(--orange);
  background: var(--orange);
  color: var(--ink);
}

.topbar-link:hover,
.topbar-link:focus-visible {
  border-color: #ffc379;
  background: #ffc379;
  color: var(--ink);
}

.dashboard-app {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  gap: 10px;
  width: min(1680px, calc(100vw - 28px));
  height: calc(100dvh - 58px);
  margin-inline: auto;
  padding: 12px 0 10px;
}

.dashboard-summary {
  display: grid;
  grid-template-columns: minmax(330px, 1.2fr) auto minmax(330px, 0.85fr) auto;
  gap: 10px;
  min-height: 102px;
}

.dashboard-title,
.dashboard-flow,
.dashboard-focus,
.dashboard-metrics {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.72);
}

.dashboard-title {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  padding: 17px 20px;
}

.dashboard-kicker {
  margin: 0 0 6px;
  color: #918c84;
  font-size: 8px;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.dashboard-title h1 {
  margin: 0;
  font-size: clamp(30px, 3vw, 48px);
  font-weight: 660;
  letter-spacing: -0.065em;
  line-height: 0.9;
}

.dashboard-title h1 span {
  color: var(--orange-dark);
}

.dashboard-title > p {
  max-width: 230px;
  margin: 0;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.4;
}

.dashboard-flow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 12px 15px;
  background: var(--ink);
  color: #fff;
}

.dashboard-flow span {
  padding: 6px 8px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 8px;
  font-weight: 800;
  white-space: nowrap;
}

.dashboard-flow span:first-child {
  border-color: var(--orange);
  background: var(--orange);
  color: var(--ink);
}

.dashboard-flow i {
  color: rgba(255, 255, 255, 0.32);
  font-size: 9px;
  font-style: normal;
}

.dashboard-focus {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 15px 18px;
  border-color: rgba(222, 127, 22, 0.34);
  background: #fff4e6;
  color: inherit;
  text-decoration: none;
  transition: border-color 160ms ease, background 160ms ease, transform 160ms ease;
}

.dashboard-focus:hover {
  border-color: rgba(222, 127, 22, 0.68);
  background: #ffecd3;
  transform: translateY(-1px);
}

.dashboard-focus:focus-visible {
  outline: 3px solid rgba(222, 127, 22, 0.28);
  outline-offset: 2px;
}

.dashboard-focus > span {
  color: var(--orange-dark);
  font-size: 8px;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.dashboard-focus strong {
  display: block;
  overflow: hidden;
  margin-top: 8px;
  font-size: clamp(15px, 1.35vw, 21px);
  font-weight: 690;
  letter-spacing: -0.04em;
  line-height: 1.06;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dashboard-focus strong i {
  color: var(--orange-dark);
  font-style: normal;
}

.dashboard-focus small {
  display: block;
  overflow: hidden;
  margin-top: 6px;
  color: #7a736a;
  font-size: 8px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dashboard-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  overflow: hidden;
  background: var(--line);
}

.dashboard-metrics div {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 64px;
  padding: 12px 14px;
  background: #fff;
}

.dashboard-metrics strong {
  color: var(--orange-dark);
  font-size: 24px;
  font-variant-numeric: tabular-nums;
  font-weight: 720;
  letter-spacing: -0.05em;
  line-height: 1;
}

.dashboard-metrics span {
  margin-top: 7px;
  color: #8f8a82;
  font-size: 7px;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.dashboard-switch {
  display: none;
}

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

.dashboard-track {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.78);
}

.dashboard-track--niches {
  background: #f4eee5;
}

.dashboard-track__head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(190px, 34%) 34px;
  gap: 14px;
  align-items: end;
  min-height: 62px;
  padding: 11px 14px;
  border-bottom: 1px solid var(--line);
}

.dashboard-track__head > div:first-child > span {
  display: block;
  margin-bottom: 4px;
  color: #938e86;
  font-size: 7px;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.dashboard-track__head h2 {
  margin: 0;
  font-size: 25px;
  font-weight: 690;
  letter-spacing: -0.055em;
  line-height: 1;
}

.dashboard-track__head > strong {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  font-size: 9px;
  font-variant-numeric: tabular-nums;
}

.dashboard-track--niches .dashboard-track__head > strong {
  background: var(--orange);
  color: var(--ink);
}

.dashboard-stage-head {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
}

.dashboard-stage-head span {
  color: #918c84;
  font-size: 6px;
  font-weight: 850;
  letter-spacing: 0.05em;
  text-align: center;
  text-transform: uppercase;
}

.dashboard-list {
  display: grid;
  grid-template-rows: repeat(var(--rows), minmax(0, 1fr));
  min-height: 0;
}

.dashboard-row {
  appearance: none;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(190px, 34%) 34px;
  gap: 14px;
  align-items: center;
  min-width: 0;
  min-height: 0;
  padding: 8px 14px;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  text-align: left;
  transition: 140ms ease;
}

.dashboard-row:last-child {
  border-bottom: 0;
}

.dashboard-row:hover,
.dashboard-row:focus-visible {
  z-index: 1;
  background: #fff;
  outline: 0;
  box-shadow: inset 4px 0 0 var(--orange);
}

.dashboard-row__copy {
  display: flex;
  align-items: center;
  gap: 11px;
  min-width: 0;
}

.dashboard-row__copy > i {
  flex: 0 0 27px;
  color: #9b968e;
  font-size: 8px;
  font-style: normal;
  font-variant-numeric: tabular-nums;
  font-weight: 850;
  letter-spacing: 0.06em;
}

.dashboard-row__copy > span {
  min-width: 0;
}

.dashboard-row__copy strong,
.dashboard-row__copy small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dashboard-row__copy strong {
  font-size: clamp(11px, 1vw, 15px);
  font-weight: 680;
  letter-spacing: -0.025em;
  line-height: 1.15;
}

.dashboard-row__copy small {
  max-width: 390px;
  margin-top: 4px;
  color: #817c74;
  font-size: 7px;
}

.dashboard-row__status {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
  min-width: 0;
}

.dashboard-status {
  display: block;
  min-width: 0;
}

.dashboard-status > i {
  display: block;
  height: 7px;
  border-radius: 999px;
  background: var(--queue);
}

.dashboard-status--ready > i { background: var(--ready); }
.dashboard-status--draft > i { background: var(--draft); }
.dashboard-status--source > i { background: var(--source); }
.dashboard-status--queue > i { background: var(--queue); }

.dashboard-row__open {
  display: grid;
  width: 26px;
  height: 26px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: #858078;
  font-size: 11px;
}

.dashboard-row:hover .dashboard-row__open,
.dashboard-row:focus-visible .dashboard-row__open {
  border-color: var(--ink);
  background: var(--ink);
  color: #fff;
}

.dashboard-footer {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  min-height: 30px;
  color: #817c74;
  font-size: 8px;
}

.dashboard-legend {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.dashboard-legend span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 8px;
  font-weight: 750;
}

.dashboard-legend .legend-dot {
  width: 6px;
  height: 6px;
  box-shadow: none;
}

.dashboard-footer p {
  overflow: hidden;
  margin: 0;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dashboard-footer time {
  font-weight: 750;
  white-space: nowrap;
}

.dashboard-dialog {
  width: min(860px, calc(100vw - 30px));
  max-width: none;
  max-height: min(86dvh, 820px);
  margin: auto;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 26px;
  background: #f5f2ec;
  color: var(--ink);
  box-shadow: 0 34px 120px rgba(0, 0, 0, 0.38);
}

.dashboard-dialog::backdrop {
  background: rgba(0, 0, 0, 0.68);
  backdrop-filter: blur(8px);
}

.dashboard-dialog__frame {
  position: relative;
  max-height: min(86dvh, 820px);
  overflow: auto;
  padding: 30px;
}

.dashboard-dialog__close {
  position: sticky;
  z-index: 3;
  top: 0;
  float: right;
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  margin: 0 0 -34px;
  border: 0;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  cursor: pointer;
  font-size: 20px;
  font-weight: 400;
}

.dialog-detail__head {
  padding-right: 50px;
}

.dialog-detail__head > span,
.dialog-detail__grid small,
.dialog-source-card small {
  display: block;
  color: #8c877f;
  font-size: 8px;
  font-weight: 850;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.dialog-detail__head h2 {
  max-width: 680px;
  margin: 10px 0 0;
  font-size: clamp(34px, 5vw, 60px);
  font-weight: 660;
  letter-spacing: -0.065em;
  line-height: 0.95;
}

.dialog-detail__head p {
  max-width: 680px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.dialog-statuses {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-top: 26px;
}

.dialog-statuses .dashboard-status {
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
}

.dialog-statuses .dashboard-status > i {
  height: 8px;
}

.dialog-statuses .dashboard-status small {
  display: block;
  margin-top: 10px;
  color: #8c877f;
  font-size: 7px;
  font-weight: 800;
  text-transform: uppercase;
}

.dialog-statuses .dashboard-status b {
  display: block;
  margin-top: 4px;
  color: var(--ink);
  font-size: 9px;
}

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

.dialog-detail__grid > section {
  min-width: 0;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
}

.dialog-detail__grid > section:first-child {
  background: var(--orange);
}

.dialog-detail__grid strong {
  display: block;
  margin: 9px 0 24px;
  font-size: 18px;
  font-weight: 670;
  letter-spacing: -0.035em;
  line-height: 1.25;
}

.dialog-detail__grid ul {
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
}

.dialog-detail__grid li {
  padding: 8px 0;
  border-top: 1px solid rgba(5, 5, 5, 0.14);
  font-size: 10px;
}

.dialog-detail__grid section > p {
  margin: 10px 0 25px;
  font-size: 12px;
}

.dialog-sources {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}

.dialog-source {
  display: inline-flex;
  padding: 7px 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #5f5a53;
  font-size: 8px;
  font-weight: 750;
  text-decoration: none;
}

.dialog-source--private {
  border-style: dashed;
  color: #8e8981;
}

.dialog-source-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 25px;
}

.dialog-source-card {
  display: flex;
  flex-direction: column;
  min-height: 180px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  color: var(--ink);
  text-decoration: none;
}

a.dialog-source-card:hover,
a.dialog-source-card:focus-visible {
  border-color: var(--ink);
  box-shadow: inset 4px 0 0 var(--orange);
}

.dialog-source-card--private {
  border-style: dashed;
  background: #e9e4db;
}

.dialog-source-card strong {
  display: block;
  margin-top: 18px;
  font-size: 16px;
  letter-spacing: -0.035em;
}

.dialog-source-card p {
  margin: 8px 0 15px;
  color: var(--muted);
  font-size: 9px;
}

.dialog-source-card > span {
  margin-top: auto;
  font-size: 8px;
  font-weight: 800;
}

@media (max-width: 1260px) {
  .dashboard-summary {
    grid-template-columns: minmax(320px, 1fr) minmax(300px, 0.8fr) auto;
  }

  .dashboard-flow {
    display: none;
  }

  .dashboard-row__copy small {
    max-width: 260px;
  }
}

@media (max-width: 900px) {
  .dashboard-summary {
    grid-template-columns: minmax(290px, 1fr) minmax(280px, 0.9fr);
  }

  .dashboard-metrics {
    display: none;
  }

  .dashboard-track__head,
  .dashboard-row {
    grid-template-columns: minmax(0, 1fr) minmax(150px, 37%) 28px;
    gap: 8px;
  }

  .dashboard-row__copy small {
    display: none;
  }
}

@media (max-width: 700px) {
  body.dashboard-page {
    min-height: 100dvh;
  }

  .dashboard-topbar {
    min-height: 54px;
    height: 54px;
  }

  .dashboard-topbar .brand__area,
  .dashboard-topbar .topbar-button {
    display: none;
  }

  .dashboard-topbar .topbar-link {
    min-height: 30px;
    padding: 6px 9px;
    font-size: 8px;
  }

  .dashboard-app {
    grid-template-rows: auto auto minmax(0, 1fr) auto;
    gap: 7px;
    width: calc(100vw - 14px);
    height: calc(100dvh - 54px);
    padding: 7px 0 6px;
  }

  .dashboard-summary {
    grid-template-columns: 1fr;
    gap: 7px;
    min-height: 0;
  }

  .dashboard-title {
    align-items: center;
    padding: 12px 14px;
    border-radius: 15px;
  }

  .dashboard-kicker {
    margin-bottom: 4px;
    font-size: 6px;
  }

  .dashboard-title h1 {
    font-size: 30px;
  }

  .dashboard-title > p {
    max-width: 145px;
    font-size: 8px;
  }

  .dashboard-focus {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 4px 12px;
    align-items: center;
    padding: 10px 13px;
    border-radius: 15px;
  }

  .dashboard-focus > span {
    grid-column: 1 / -1;
    font-size: 6px;
  }

  .dashboard-focus strong {
    margin-top: 0;
    font-size: 12px;
  }

  .dashboard-focus small {
    margin-top: 0;
    font-size: 6px;
    text-align: right;
  }

  .dashboard-switch {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3px;
    padding: 3px;
    border-radius: 12px;
    background: #d8d4cd;
  }

  .dashboard-switch button {
    appearance: none;
    padding: 7px 10px;
    border: 0;
    border-radius: 9px;
    background: transparent;
    color: #77726a;
    cursor: pointer;
    font-size: 9px;
    font-weight: 800;
  }

  .dashboard-switch button span {
    margin-left: 5px;
    color: #9a958d;
    font-variant-numeric: tabular-nums;
  }

  .dashboard-switch button.is-active {
    background: #fff;
    color: var(--ink);
    box-shadow: 0 2px 7px rgba(5, 5, 5, 0.08);
  }

  .dashboard-board {
    display: block;
    min-height: 0;
  }

  .dashboard-track {
    display: none;
    height: 100%;
    border-radius: 16px;
  }

  .dashboard-track.is-mobile-active {
    display: grid;
  }

  .dashboard-track__head {
    grid-template-columns: minmax(0, 1fr) minmax(130px, 42%) 28px;
    min-height: 49px;
    padding: 8px 10px;
  }

  .dashboard-track__head h2 {
    font-size: 20px;
  }

  .dashboard-track__head > div:first-child > span {
    font-size: 5px;
  }

  .dashboard-track__head > strong {
    width: 27px;
    height: 27px;
    font-size: 7px;
  }

  .dashboard-stage-head {
    gap: 4px;
  }

  .dashboard-stage-head span {
    font-size: 5px;
  }

  .dashboard-row {
    grid-template-columns: minmax(0, 1fr) minmax(130px, 42%) 24px;
    gap: 7px;
    padding: 6px 10px;
  }

  .dashboard-row__copy {
    gap: 6px;
  }

  .dashboard-row__copy > i {
    flex-basis: 18px;
    font-size: 6px;
  }

  .dashboard-row__copy strong {
    font-size: 10px;
  }

  .dashboard-row__status {
    gap: 4px;
  }

  .dashboard-status > i {
    height: 6px;
  }

  .dashboard-row__open {
    width: 21px;
    height: 21px;
    font-size: 8px;
  }

  .dashboard-footer {
    grid-template-columns: 1fr auto;
    min-height: 23px;
    font-size: 6px;
  }

  .dashboard-footer p {
    display: none;
  }

  .dashboard-legend {
    gap: 5px 8px;
  }

  .dashboard-legend span {
    gap: 4px;
    font-size: 6px;
  }

  .dashboard-dialog {
    width: calc(100vw - 12px);
    max-height: calc(100dvh - 12px);
    border-radius: 20px;
  }

  .dashboard-dialog__frame {
    max-height: calc(100dvh - 12px);
    padding: 22px 16px 18px;
  }

  .dashboard-dialog__close {
    width: 31px;
    height: 31px;
  }

  .dialog-detail__head h2 {
    font-size: 35px;
  }

  .dialog-detail__head p {
    font-size: 11px;
  }

  .dialog-statuses {
    gap: 5px;
    margin-top: 20px;
  }

  .dialog-statuses .dashboard-status {
    padding: 8px;
    border-radius: 11px;
  }

  .dialog-statuses .dashboard-status small {
    font-size: 5px;
  }

  .dialog-statuses .dashboard-status b {
    font-size: 7px;
  }

  .dialog-detail__grid,
  .dialog-source-grid {
    grid-template-columns: 1fr;
  }

  .dialog-detail__grid > section {
    padding: 18px;
  }
}

@media (max-height: 720px) and (min-width: 701px) {
  .dashboard-app {
    gap: 7px;
    padding-block: 8px 6px;
  }

  .dashboard-summary {
    min-height: 84px;
  }

  .dashboard-title,
  .dashboard-focus {
    padding-block: 11px;
  }

  .dashboard-title h1 {
    font-size: 33px;
  }

  .dashboard-track__head {
    min-height: 53px;
  }

  .dashboard-row__copy small {
    display: none;
  }
}

.dashboard-single .dashboard-board {
  grid-template-columns: minmax(0, 1fr);
  align-items: start;
}

.dashboard-single .dashboard-track {
  width: min(1180px, 100%);
  height: auto;
}

.dashboard-single .dashboard-list {
  grid-template-rows: repeat(var(--rows), 92px);
}

@media (max-width: 700px) {
  .dashboard-single .dashboard-app {
    grid-template-rows: auto minmax(0, 1fr) auto;
  }

  .dashboard-single .dashboard-track {
    height: auto;
  }

  .dashboard-single .dashboard-list {
    grid-template-rows: repeat(var(--rows), 84px);
  }
}
