:root {
  --paper: #07101f;
  --ink: #edf5ff;
  --accent: #7d9cc0;
  --display: "Oswald", sans-serif;
  --body: "Golos Text", sans-serif;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --side: clamp(20px, 4vw, 64px);
  --header: 72px;
  --line: color-mix(in srgb, var(--ink) 20%, transparent);
}

/* Below-fold redesign v26. The hero rules above remain untouched. */
:root {
  --surface: color-mix(in srgb, var(--ink) 4%, var(--paper));
  --surface-raised: color-mix(in srgb, var(--ink) 7%, var(--paper));
  --line-soft: color-mix(in srgb, var(--ink) 13%, transparent);
  --muted: color-mix(in srgb, var(--ink) 62%, transparent);
}

.theme-original main > .section,
.theme-original main > .proof,
.theme-original main > .contact {
  position: relative;
  isolation: isolate;
}

.theme-original main > .section {
  padding-top: clamp(104px, 11vw, 176px);
  padding-bottom: clamp(104px, 11vw, 176px);
  color: var(--ink);
  background: var(--paper);
  border-top: 1px solid var(--line-soft);
}

.theme-original main > .section::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 0;
  right: var(--side);
  left: var(--side);
  height: min(440px, 32vw);
  background: radial-gradient(circle at 74% 0%, color-mix(in srgb, var(--accent) 11%, transparent), transparent 64%);
  pointer-events: none;
}

.theme-original main > .section h2 {
  max-width: 14ch;
}

.theme-original .section-heading {
  margin-bottom: clamp(64px, 8vw, 112px);
}

.theme-original .split-heading,
.theme-original .ui-heading {
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, .55fr);
  align-items: end;
  gap: clamp(42px, 7vw, 112px);
}

.theme-original .split-heading > p,
.theme-original .ui-heading > p {
  max-width: 42ch;
  justify-self: end;
  color: var(--muted);
}

.theme-original .kicker,
.theme-original .project-type,
.theme-original .project-number {
  color: var(--accent);
}

.theme-original .proof {
  min-height: 136px;
  display: grid;
  grid-template-columns: minmax(220px, .7fr) minmax(0, 1.3fr);
  align-items: stretch;
  gap: 40px;
  padding: 0 var(--side);
  color: var(--ink);
  background: var(--surface);
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}

.theme-original .proof-label {
  align-self: center;
  max-width: 24ch;
  color: var(--muted);
  font-size: 14px;
}

.theme-original .proof ol {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  list-style: none;
  border-left: 1px solid var(--line-soft);
}

.theme-original .proof li {
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
  padding: 24px clamp(14px, 2.2vw, 34px);
  border-right: 1px solid var(--line-soft);
}

.theme-original .proof li::after {
  display: none;
}

.theme-original .proof li span {
  color: var(--accent);
  font-size: 10px;
  letter-spacing: .18em;
}

.theme-original .proof li b {
  overflow-wrap: normal;
  font-family: var(--display);
  font-size: clamp(17px, 1.6vw, 24px);
  font-weight: 300;
  line-height: 1;
}

.theme-original .projects {
  overflow: hidden;
}

.theme-original .project-grid {
  grid-template-columns: minmax(0, 1.25fr) minmax(340px, .75fr);
  gap: clamp(88px, 10vw, 148px) clamp(30px, 5vw, 72px);
}

.theme-original .project-featured {
  grid-template-columns: minmax(0, 1.55fr) minmax(280px, .45fr);
  align-items: end;
  gap: clamp(38px, 6vw, 92px);
}

.theme-original .project-featured .browser-preview {
  height: min(61vw, 720px);
}

.theme-original .project-card:not(.project-featured) .browser-preview {
  height: min(39vw, 510px);
}

.theme-original .project-shift-down {
  margin-top: clamp(80px, 9vw, 136px);
}

.theme-original .browser-preview {
  min-height: 320px;
  background: var(--surface);
  border: 1px solid color-mix(in srgb, var(--accent) 22%, transparent);
  box-shadow: 0 38px 90px color-mix(in srgb, var(--paper) 72%, transparent);
}

.theme-original .browser-preview::after {
  content: "";
  position: absolute;
  z-index: 3;
  inset: 44px 0 0;
  border: 1px solid color-mix(in srgb, var(--ink) 7%, transparent);
  pointer-events: none;
}

.theme-original .browser-bar {
  background: var(--surface-raised);
  border-bottom: 1px solid var(--line-soft);
}

.theme-original .preview-stage {
  background: var(--surface);
}

.theme-original .preview-stage iframe {
  transition: transform 780ms var(--ease);
}

.theme-original .preview-open {
  min-width: 196px;
  min-height: 52px;
  box-shadow: 0 16px 42px color-mix(in srgb, var(--paper) 42%, transparent);
}

.theme-original .browser-preview:hover .preview-open,
.theme-original .preview-open:focus-visible {
  transform: translateY(-4px);
}

.theme-original .project-copy {
  padding-top: 34px;
}

.theme-original .project-number {
  margin-bottom: 54px;
  font-size: 10px;
  line-height: 1;
  letter-spacing: .2em;
}

.theme-original .project-type {
  margin-bottom: 16px;
}

.theme-original .project-copy h3 {
  max-width: 17ch;
  font-size: clamp(2rem, 3.4vw, 4rem);
  line-height: .98;
  letter-spacing: -.03em;
}

.theme-original .project-copy > p:not(.project-type):not(.project-number) {
  max-width: 42ch;
  margin-top: 24px;
  color: var(--muted);
}

.theme-original .chips {
  gap: 8px;
  margin-top: 28px;
}

.theme-original .chips li,
.theme-original .stack li {
  color: color-mix(in srgb, var(--ink) 72%, transparent);
  background: color-mix(in srgb, var(--ink) 6%, transparent);
  border: 1px solid color-mix(in srgb, var(--ink) 9%, transparent);
}

.theme-original .ui-showcase {
  overflow: hidden;
  background: var(--surface);
}

.theme-original .ui-heading {
  display: grid;
}

.theme-original .ui-case {
  display: grid;
  align-items: center;
  gap: clamp(48px, 7vw, 108px);
}

.theme-original .ui-case + .ui-case {
  margin-top: clamp(120px, 15vw, 220px);
}

.theme-original .ui-case-dashboard {
  grid-template-columns: minmax(270px, .38fr) minmax(600px, 1.12fr);
}

.theme-original .ui-case-mobile {
  grid-template-columns: minmax(600px, 1.12fr) minmax(270px, .38fr);
}

.theme-original .ui-case-copy .project-number {
  margin-bottom: 48px;
}

.theme-original .ui-case-copy .project-type {
  margin-bottom: 16px;
}

.theme-original .ui-case-copy h3 {
  max-width: 15ch;
  font-size: clamp(2.2rem, 3.7vw, 4.5rem);
  line-height: .98;
  letter-spacing: -.035em;
}

.theme-original .ui-case-copy > p:not(.project-number):not(.project-type) {
  margin-top: 28px;
  color: var(--muted);
}

.dashboard-scene,
.mobile-scene {
  position: relative;
  min-width: 0;
  overflow: hidden;
  background: var(--paper);
  border: 1px solid color-mix(in srgb, var(--accent) 22%, transparent);
}

.dashboard-scene {
  min-height: 690px;
  display: flex;
  align-items: center;
  padding: clamp(26px, 4.5vw, 72px) 0 clamp(26px, 4.5vw, 72px) clamp(26px, 4.5vw, 72px);
}

.dashboard-scene::before,
.mobile-scene::before {
  content: "";
  position: absolute;
  width: 70%;
  aspect-ratio: 1;
  border-radius: 999px;
  background: color-mix(in srgb, var(--accent) 18%, transparent);
  filter: blur(100px);
  pointer-events: none;
}

.dashboard-scene::before {
  top: -36%;
  left: 22%;
}

.dashboard-window {
  position: relative;
  width: 112%;
  min-width: 830px;
  overflow: hidden;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid color-mix(in srgb, var(--accent) 34%, transparent);
  box-shadow: -34px 44px 90px color-mix(in srgb, var(--paper) 68%, transparent);
}

.dashboard-top {
  height: 54px;
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 0 22px;
  color: var(--muted);
  border-bottom: 1px solid var(--line-soft);
  font-size: 10px;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.dashboard-top b {
  color: var(--ink);
  font-weight: 400;
}

.dashboard-top span {
  margin-left: auto;
}

.dashboard-top i {
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 999px;
  box-shadow: 0 0 20px var(--accent);
}

.dashboard-layout {
  min-height: 520px;
  display: grid;
  grid-template-columns: 150px 1fr;
}

.dashboard-nav {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 30px 18px;
  border-right: 1px solid var(--line-soft);
}

.dashboard-nav strong,
.dashboard-nav span {
  min-height: 38px;
  display: flex;
  align-items: center;
  padding: 0 12px;
  font-size: 11px;
  font-weight: 400;
}

.dashboard-nav strong {
  color: var(--ink);
  background: color-mix(in srgb, var(--accent) 16%, transparent);
  border-left: 2px solid var(--accent);
}

.dashboard-nav span {
  color: var(--muted);
}

.dashboard-content {
  min-width: 0;
  padding: 30px;
}

.dashboard-title {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
}

.dashboard-title small,
.metric-row small,
.sales-chart small,
.pipeline small {
  display: block;
  color: var(--muted);
  font-size: 9px;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.dashboard-title h4 {
  margin: 6px 0 0;
  font-family: var(--display);
  font-size: 26px;
  font-weight: 300;
  line-height: 1;
}

.dashboard-title .ui-demo-action {
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  color: var(--paper);
  background: var(--accent);
  border-radius: 999px;
  font-size: 11px;
}

.metric-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 26px;
}

.metric-row > div {
  min-height: 94px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 14px;
  background: color-mix(in srgb, var(--ink) 4%, transparent);
  border: 1px solid var(--line-soft);
}

.metric-row b {
  margin-top: 9px;
  font-family: var(--display);
  font-size: 22px;
  font-weight: 300;
}

.metric-row span {
  margin-top: 4px;
  color: var(--accent);
  font-size: 9px;
}

.dashboard-panels {
  display: grid;
  grid-template-columns: 1.35fr .65fr;
  gap: 10px;
  margin-top: 10px;
}

.sales-chart,
.pipeline,
.dashboard-table {
  background: color-mix(in srgb, var(--ink) 3%, transparent);
  border: 1px solid var(--line-soft);
}

.sales-chart,
.pipeline {
  min-height: 178px;
  padding: 16px;
}

.sales-chart header,
.pipeline header,
.dashboard-table header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.sales-chart header b,
.pipeline header b,
.dashboard-table header b {
  display: block;
  margin-top: 6px;
  font-size: 11px;
  font-weight: 400;
}

.sales-chart header > span {
  color: var(--accent);
  font-size: 10px;
}

.chart-bars {
  height: 104px;
  display: flex;
  align-items: flex-end;
  gap: 9px;
  padding-top: 18px;
}

.chart-bars i {
  width: 100%;
  height: 44%;
  background: color-mix(in srgb, var(--accent) 34%, transparent);
  border-top: 1px solid var(--accent);
}

.chart-bars i:nth-child(2) { height: 61%; }
.chart-bars i:nth-child(3) { height: 48%; }
.chart-bars i:nth-child(4) { height: 76%; }
.chart-bars i:nth-child(5) { height: 67%; }
.chart-bars i:nth-child(6) { height: 88%; }
.chart-bars i:nth-child(7) { height: 100%; background: var(--accent); }

.pipeline ol {
  margin: 17px 0 0;
  padding: 0;
  list-style: none;
}

.pipeline li {
  min-height: 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--muted);
  border-top: 1px solid var(--line-soft);
  font-size: 9px;
}

.pipeline li b {
  color: var(--ink);
  font-weight: 400;
}

.dashboard-table {
  margin-top: 10px;
  padding: 14px 16px 6px;
}

.dashboard-table header {
  padding-bottom: 11px;
}

.dashboard-table header span {
  color: var(--accent);
  font-size: 9px;
}

.dashboard-table > div {
  min-height: 38px;
  display: grid;
  grid-template-columns: 8px minmax(180px, 1fr) 100px 75px;
  align-items: center;
  gap: 12px;
  border-top: 1px solid var(--line-soft);
  font-size: 9px;
}

.dashboard-table > div i {
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 999px;
}

.dashboard-table > div b {
  overflow: hidden;
  font-weight: 400;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dashboard-table > div span,
.dashboard-table > div small {
  color: var(--muted);
}

.mobile-scene {
  min-height: 720px;
}

.mobile-scene::before {
  right: -18%;
  bottom: -28%;
}

.mobile-scene::after {
  content: "";
  position: absolute;
  top: 18%;
  right: 10%;
  left: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--accent) 44%, transparent), transparent);
}

.phone {
  position: absolute;
  z-index: 2;
  width: min(37%, 270px);
  aspect-ratio: .51;
  padding: 9px;
  background: color-mix(in srgb, var(--ink) 11%, var(--paper));
  border: 1px solid color-mix(in srgb, var(--accent) 42%, transparent);
  border-radius: 34px;
  box-shadow: 0 34px 80px color-mix(in srgb, var(--paper) 74%, transparent);
}

.phone::before {
  content: "";
  position: absolute;
  z-index: 2;
  top: 15px;
  left: 50%;
  width: 34%;
  height: 18px;
  background: var(--paper);
  border-radius: 999px;
  transform: translateX(-50%);
}

.phone-back {
  top: 18%;
  left: 12%;
  transform: rotate(-8deg);
  opacity: .72;
}

.phone-front {
  top: 9%;
  right: 18%;
  transform: rotate(5deg);
}

.phone-screen {
  height: 100%;
  overflow: hidden;
  padding: 42px 20px 20px;
  color: var(--ink);
  background: var(--surface);
  border-radius: 26px;
}

.phone-time {
  position: absolute;
  top: 17px;
  left: 25px;
  font-size: 8px;
}

.phone-screen > small {
  color: var(--accent);
  font-size: 8px;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.phone-screen h4 {
  margin: 44px 0 0;
  font-family: var(--display);
  font-size: clamp(28px, 3.1vw, 40px);
  font-weight: 300;
  line-height: .98;
  letter-spacing: -.035em;
}

.phone-progress {
  height: 4px;
  margin: 38px 0 13px;
  background: color-mix(in srgb, var(--ink) 11%, transparent);
}

.phone-progress i {
  width: 72%;
  height: 100%;
  display: block;
  background: var(--accent);
}

.phone-screen > b {
  font-size: 10px;
  font-weight: 400;
}

.phone-screen > p {
  margin-top: 5px;
  color: var(--muted);
  font-size: 8px;
}

.phone-task {
  height: 42px;
  margin-top: 20px;
  background: color-mix(in srgb, var(--ink) 5%, transparent);
  border: 1px solid var(--line-soft);
}

.phone-task.short {
  width: 82%;
  margin-top: 8px;
}

.phone-status {
  min-height: 46px;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 34px;
  padding: 0 12px;
  background: color-mix(in srgb, var(--accent) 12%, transparent);
  border-left: 2px solid var(--accent);
  font-size: 9px;
}

.phone-status i {
  width: 7px;
  height: 7px;
  background: var(--accent);
  border-radius: 999px;
}

.phone-message {
  margin-top: 16px;
  padding: 16px 13px;
  background: color-mix(in srgb, var(--ink) 4%, transparent);
  border: 1px solid var(--line-soft);
}

.phone-message small {
  color: var(--muted);
  font-size: 8px;
}

.phone-message p {
  margin-top: 10px;
  font-size: 10px;
  line-height: 1.45;
}

.phone-screen > .ui-demo-action {
  width: 100%;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 18px;
  color: var(--paper);
  background: var(--accent);
  border-radius: 999px;
  font-size: 9px;
}

.mobile-orbit {
  position: absolute;
  border: 1px solid color-mix(in srgb, var(--accent) 24%, transparent);
  border-radius: 999px;
}

.orbit-a {
  width: 520px;
  height: 520px;
  right: -160px;
  bottom: -230px;
}

.orbit-b {
  width: 310px;
  height: 310px;
  top: -170px;
  left: -100px;
}

.theme-original .services {
  color: var(--ink);
  background: var(--paper);
}

.theme-original .services .kicker,
.theme-original .services em {
  color: var(--accent);
}

.capability-list {
  border-bottom: 1px solid var(--line-soft);
}

.capability-row {
  min-height: 190px;
  display: grid;
  grid-template-columns: 70px minmax(250px, .75fr) minmax(300px, .9fr) minmax(180px, .45fr);
  align-items: center;
  gap: clamp(22px, 4vw, 68px);
  padding: 34px 0;
  border-top: 1px solid var(--line-soft);
  transition: padding 620ms var(--ease), background 500ms var(--ease);
}

.capability-row:hover {
  padding-right: 24px;
  padding-left: 24px;
  background: color-mix(in srgb, var(--accent) 6%, transparent);
}

.capability-row > span {
  align-self: start;
  padding-top: 7px;
  color: var(--accent);
  font-size: 10px;
  letter-spacing: .18em;
}

.capability-row h3 {
  max-width: 13ch;
  font-size: clamp(1.8rem, 3vw, 3.5rem);
  line-height: .98;
  letter-spacing: -.03em;
}

.capability-row p {
  max-width: 44ch;
  color: var(--muted);
}

.capability-row small {
  color: color-mix(in srgb, var(--ink) 47%, transparent);
  font-size: 10px;
  line-height: 1.7;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.theme-original .approach {
  grid-template-columns: minmax(300px, .72fr) minmax(0, 1.28fr);
  align-items: start;
  gap: clamp(64px, 11vw, 172px);
  background: var(--surface);
}

.theme-original .approach-copy {
  position: sticky;
  top: 42px;
}

.theme-original .approach-copy > p:not(.kicker) {
  color: var(--muted);
}

.theme-original .approach-note {
  padding-top: 26px;
  border-top: 1px solid var(--line-soft);
}

.theme-original .flow li {
  min-height: 132px;
  grid-template-columns: 64px 1fr;
  border-color: var(--line-soft);
}

.theme-original .flow b {
  color: var(--ink);
  font-size: clamp(1.7rem, 2.5vw, 2.9rem);
  line-height: 1;
}

.theme-original .flow small {
  color: var(--muted);
  font-size: 13px;
}

.theme-original .process {
  background: var(--paper);
}

.theme-original .process-list {
  gap: 0;
  border-bottom: 1px solid var(--line-soft);
}

.theme-original .process-list li {
  min-height: 310px;
  padding: 28px clamp(20px, 3vw, 44px) 36px;
  border-top: 1px solid var(--line-soft);
  border-right: 1px solid var(--line-soft);
}

.theme-original .process-list li:first-child {
  border-left: 1px solid var(--line-soft);
}

.theme-original .process-list span {
  color: var(--accent);
  font-size: 10px;
}

.theme-original .process-list h3 {
  margin-top: 92px;
  font-size: clamp(1.55rem, 2.3vw, 2.8rem);
  line-height: .96;
}

.theme-original .process-list p {
  margin-top: 20px;
  color: var(--muted);
  font-size: 14px;
}

.theme-original .about {
  grid-template-columns: minmax(440px, .9fr) minmax(360px, 1.1fr);
  align-items: center;
  gap: clamp(54px, 9vw, 140px);
  padding-left: 0;
  background: var(--surface);
}

.theme-original .about::before {
  right: 0;
  left: 0;
}

.theme-original .portrait-card,
.theme-original .portrait-card > img {
  min-height: clamp(680px, 74vw, 880px);
}

.theme-original .portrait-card {
  border-top: 1px solid color-mix(in srgb, var(--accent) 22%, transparent);
  border-right: 1px solid color-mix(in srgb, var(--accent) 22%, transparent);
  border-bottom: 1px solid color-mix(in srgb, var(--accent) 22%, transparent);
}

.theme-original .portrait-card > img {
  /* реальный портрет: лицо в верхней трети кадра, живой цвет почти сохраняем */
  object-position: center 24%;
  filter: contrast(1.06) saturate(.85);
}

.theme-original .portrait-card > p {
  z-index: 2;
}

.theme-original .about-copy {
  max-width: 720px;
}

.theme-original .about-lead {
  max-width: 44ch;
  color: var(--ink);
  font-size: clamp(19px, 1.8vw, 25px);
}

.theme-original .about-copy > p:not(.kicker):not(.about-lead) {
  max-width: 54ch;
  color: var(--muted);
}

.about-principles {
  margin-top: 42px;
  border-bottom: 1px solid var(--line-soft);
}

.about-principles p {
  min-height: 56px;
  display: flex;
  align-items: center;
  gap: 22px;
  max-width: none;
  color: color-mix(in srgb, var(--ink) 78%, transparent);
  border-top: 1px solid var(--line-soft);
  font-size: 14px;
}

.about-principles span {
  color: var(--accent);
  font-size: 9px;
  letter-spacing: .16em;
}

.theme-original .faq {
  grid-template-columns: minmax(260px, .6fr) minmax(0, 1.4fr);
  gap: clamp(60px, 11vw, 172px);
}

.theme-original .faq-list details,
.theme-original .faq-list details:last-child {
  border-color: var(--line-soft);
}

.theme-original .faq-list summary {
  min-height: 106px;
  color: var(--ink);
  font-size: clamp(1.45rem, 2.2vw, 2.7rem);
  line-height: .96;
}

.theme-original .faq-list summary span {
  border-color: var(--line-soft);
}

.theme-original .faq-list details p {
  max-width: 58ch;
  color: var(--muted);
}

.theme-original .contact {
  min-height: min(820px, 92svh);
  overflow: hidden;
  justify-content: center;
  padding-top: clamp(100px, 12vw, 180px);
  padding-bottom: clamp(100px, 12vw, 180px);
  color: var(--ink);
  background: var(--paper);
  border-top: 1px solid var(--line-soft);
}

.theme-original .contact::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 50%;
  right: 3%;
  width: min(50vw, 720px);
  aspect-ratio: 1;
  border: 1px solid color-mix(in srgb, var(--accent) 22%, transparent);
  border-radius: 999px;
  box-shadow: inset 0 0 120px color-mix(in srgb, var(--accent) 7%, transparent), 0 0 120px color-mix(in srgb, var(--accent) 7%, transparent);
  transform: translateY(-50%);
}

.theme-original .contact .kicker {
  color: var(--accent);
}

.theme-original .contact h2 {
  max-width: 15ch;
  font-size: clamp(3.6rem, 8vw, 8.8rem);
}

.theme-original .contact > p:not(.kicker) {
  max-width: 48ch;
  color: var(--muted);
}

.contact-action {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 38px;
}

.theme-original .contact .button {
  min-width: 254px;
  margin: 0;
  color: var(--paper);
  background: var(--accent);
}

.contact-action small {
  max-width: 15ch;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.theme-original .footer {
  min-height: 116px;
  background: var(--surface);
}

.theme-original .site-header .brand,
.theme-original .footer a {
  min-width: 44px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

@media (max-width: 1180px) {
  .theme-original .project-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .theme-original .ui-case-dashboard,
  .theme-original .ui-case-mobile {
    grid-template-columns: 1fr;
  }

  .theme-original .ui-case-dashboard .ui-case-copy {
    max-width: 560px;
  }

  .theme-original .ui-case-mobile .mobile-scene {
    order: 2;
  }

  .theme-original .ui-case-mobile .ui-case-copy {
    max-width: 560px;
    justify-self: end;
  }

  .capability-row {
    grid-template-columns: 56px minmax(220px, .8fr) minmax(320px, 1.2fr);
  }

  .capability-row small {
    grid-column: 2 / -1;
  }
}

@media (max-width: 980px) {
  .theme-original .split-heading,
  .theme-original .ui-heading {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .theme-original .split-heading > p,
  .theme-original .ui-heading > p {
    justify-self: start;
  }

  .theme-original .proof {
    grid-template-columns: 1fr;
    gap: 0;
    padding-top: 26px;
  }

  .theme-original .proof-label {
    padding-bottom: 24px;
  }

  .theme-original .proof ol {
    margin: 0 calc(var(--side) * -1);
    border-top: 1px solid var(--line-soft);
    border-left: 0;
  }

  .theme-original .project-featured {
    grid-template-columns: 1fr;
  }

  .theme-original .approach,
  .theme-original .faq {
    grid-template-columns: 1fr;
  }

  .theme-original .project-featured .project-copy {
    max-width: 620px;
  }

  .theme-original .project-featured .browser-preview {
    height: min(70vw, 650px);
  }

  .theme-original .approach-copy {
    position: static;
  }

  .theme-original .about {
    grid-template-columns: 1fr;
    padding-right: 0;
  }

  .theme-original .portrait-card,
  .theme-original .portrait-card > img {
    min-height: 640px;
  }

  .theme-original .about-copy {
    max-width: none;
    padding: 0 var(--side);
  }
}

@media (max-width: 700px) {
  .theme-original main > .section {
    padding-top: 88px;
    padding-bottom: 88px;
  }

  .theme-original .section-heading {
    margin-bottom: 54px;
  }

  .theme-original .proof {
    min-height: 0;
  }

  .theme-original .proof ol {
    grid-template-columns: repeat(2, 1fr);
  }

  .theme-original .proof li {
    min-height: 94px;
    padding: 18px var(--side);
    border-bottom: 1px solid var(--line-soft);
  }

  .theme-original .project-grid {
    grid-template-columns: 1fr;
    gap: 88px;
  }

  .theme-original .project-shift-down {
    margin-top: 0;
  }

  .theme-original .project-featured .browser-preview,
  .theme-original .project-card:not(.project-featured) .browser-preview {
    height: 72vw;
    min-height: 292px;
  }

  .theme-original .project-number,
  .theme-original .ui-case-copy .project-number {
    margin-bottom: 34px;
  }

  .theme-original .project-copy h3,
  .theme-original .ui-case-copy h3 {
    font-size: clamp(2.25rem, 11vw, 3.5rem);
  }

  .theme-original .preview-open {
    right: 12px;
    bottom: 12px;
    min-width: 178px;
  }

  .theme-original .ui-case + .ui-case {
    margin-top: 112px;
  }

  .dashboard-scene {
    min-height: 480px;
    padding: 24px 0 24px 24px;
  }

  .dashboard-window {
    min-width: 650px;
    transform: scale(.49);
    transform-origin: left center;
  }

  .mobile-scene {
    min-height: 540px;
  }

  .phone {
    width: 48%;
    max-width: 220px;
    border-radius: 28px;
  }

  .phone-back {
    top: 19%;
    left: 7%;
  }

  .phone-front {
    top: 8%;
    right: 8%;
  }

  .phone-screen {
    padding-right: 15px;
    padding-left: 15px;
    border-radius: 21px;
  }

  .phone-screen h4 {
    margin-top: 34px;
    font-size: clamp(24px, 8vw, 34px);
  }

  .orbit-a {
    width: 300px;
    height: 300px;
    right: -20px;
    bottom: -120px;
  }

  .orbit-b {
    width: 220px;
    height: 220px;
    top: -110px;
    left: -20px;
  }

  .capability-row {
    min-height: 0;
    grid-template-columns: 42px 1fr;
    gap: 16px;
    padding: 28px 0 38px;
  }

  .capability-row:hover {
    padding-right: 0;
    padding-left: 0;
  }

  .capability-row h3 {
    font-size: clamp(2rem, 9vw, 3rem);
  }

  .capability-row p,
  .capability-row small {
    grid-column: 2;
  }

  .theme-original .flow li {
    min-height: 112px;
  }

  .theme-original .process-list {
    border-bottom: 0;
  }

  .theme-original .process-list li,
  .theme-original .process-list li:first-child {
    min-height: 0;
    padding: 26px 0 42px;
    border-right: 0;
    border-left: 0;
  }

  .theme-original .process-list h3 {
    margin-top: 34px;
  }

  .theme-original .portrait-card,
  .theme-original .portrait-card > img {
    min-height: 520px;
  }

  .theme-original .faq-list summary {
    min-height: 92px;
    font-size: clamp(1.4rem, 7vw, 2.1rem);
  }

  .theme-original .faq-list details p {
    padding-right: 0;
  }

  .theme-original .contact {
    min-height: 760px;
  }

  .theme-original .contact::before {
    top: 70%;
    right: -36%;
    width: 88vw;
  }

  .theme-original .contact h2 {
    max-width: none;
    font-size: clamp(2.9rem, 12vw, 5.2rem);
  }

  .contact-action {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
  }

  .theme-original .contact .button {
    width: 100%;
    min-width: 0;
  }
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--paper);
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--body);
  font-weight: 400;
  overflow-x: hidden;
}

body.viewer-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  color: inherit;
  font: inherit;
}

button {
  cursor: pointer;
}

img {
  display: block;
  max-width: 100%;
}

p {
  max-width: 56ch;
  margin: 0;
  font-size: clamp(15px, 1.1vw, 18px);
  line-height: 1.6;
  text-wrap: pretty;
}

h1,
h2,
h3,
summary {
  margin: 0;
  font-family: var(--display);
  font-weight: 300;
  text-wrap: balance;
  hyphens: none;
}

.theme-original h1,
.theme-original h2 {
  text-transform: uppercase;
}

.theme-original {
  background: radial-gradient(circle at 18% 0%, color-mix(in srgb, var(--ink) 18%, var(--paper)) 0, var(--paper) 42%) fixed;
}

.theme-original .site-header {
  grid-template-columns: 1fr auto auto;
  gap: 24px;
}

.theme-original .brand,
.theme-original .flow b {
  font-weight: 300;
}

.theme-original .hero-copy {
  background: transparent;
}

.theme-original .hero {
  display: block;
  background: var(--paper);
}

.theme-original .hero-art {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.theme-original .hero-copy {
  position: absolute;
  z-index: 4;
  inset: 0;
  width: min(44%, 650px);
  /* Блок стоит по центру колонки: прижатый к низу оставлял пустую
     середину слева, и композиция разваливалась. */
  justify-content: center;
  gap: clamp(16px, 2.4vh, 26px);
  padding: calc(var(--header) + 18px) 26px clamp(44px, 8vh, 84px) var(--side);
  pointer-events: none;
}

.theme-original .hero-copy h1,
.theme-original .hero-lead {
  text-shadow: 0 2px 22px var(--paper);
}

.theme-original .hero-copy h1 {
  max-width: 11.5ch;
  font-size: clamp(3rem, 5.4vw, 6.5rem);
  line-height: .86;
  letter-spacing: -.043em;
}

.theme-original .hero-copy h1 em {
  color: var(--accent);
  background: transparent;
}

.theme-original .hero-lead {
  max-width: 48ch;
  color: color-mix(in srgb, var(--ink) 78%, transparent);
  font-size: clamp(14px, 1vw, 17px);
  line-height: 1.55;
}

.theme-original .hero-actions {
  pointer-events: auto;
}

.theme-original .hero-status {
  max-width: none;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 2px;
  color: color-mix(in srgb, var(--ink) 72%, transparent);
  font-size: 11px;
  line-height: 1.8;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.theme-original .hero-status span {
  width: 8px;
  height: 8px;
  flex: 0 0 auto;
  background: var(--accent);
}

.theme-original .hero-art > img,
.theme-original .hero-art > video {
  width: 100%;
  height: 100%;
  display: block;
  object-position: center;
  object-fit: cover;
  filter: contrast(1.04) saturate(.82);
  transition: transform 820ms var(--ease);
}

.theme-original .system-map {
  position: absolute;
  z-index: 2;
  inset: 0;
  width: 100%;
  height: 100%;
  container-type: size;
  overflow: hidden;
  background: var(--paper);
}

.system-composite {
  position: absolute;
  z-index: 3;
  inset: 0;
  filter: contrast(1.04) saturate(.82);
}

.theme-original .system-image {
  position: absolute;
  z-index: 1;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
  filter: contrast(1.04) saturate(.82);
  transition: filter 700ms var(--ease);
}

.system-intro {
  position: absolute;
  z-index: 2;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  background: var(--paper);
  opacity: 1;
  visibility: visible;
  pointer-events: none;
  transform: none;
  transition: none;
}

.system-intro.is-failed {
  opacity: 0 !important;
  visibility: hidden !important;
}

.theme-original .hero:hover .system-image,
.theme-original .hero:hover .system-intro {
  transform: none;
}

.system-void-patches {
  position: absolute;
  z-index: 4;
  top: 50%;
  left: 50%;
  width: max(100cqw, calc(100cqh * 16 / 9));
  height: max(100cqh, calc(100cqw * 9 / 16));
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.system-void-patch {
  position: absolute;
  display: block;
  object-fit: fill;
  opacity: 0;
  /* Кросс-фейд во время подъёма этажа: раньше слой включался щелчком
     через 480мс, и экран «телепортировался» в приподнятое положение. */
  transition: opacity 380ms var(--ease);
}

.patch-sites { top: 2.638889%; left: 62.395833%; width: 24.244792%; height: 37.962963%; }
.patch-ux { top: 3.333333%; left: 44.401042%; width: 19.921875%; height: 33.518519%; }
.patch-landings { top: 25.185185%; left: 40%; width: 18.229167%; height: 32.268519%; }
.patch-agents { top: 25.277778%; left: 64.505208%; width: 23.515625%; height: 31.296296%; }
.patch-bots { top: 43.888889%; left: 38.229167%; width: 20.546875%; height: 31.25%; }
.patch-crm { top: 44.768519%; left: 66.796875%; width: 22.760417%; height: 33.240741%; }

.system-map[data-system-open="sites"] .patch-sites,
.system-map[data-system-open="ux"] .patch-ux,
.system-map[data-system-open="landings"] .patch-landings,
.system-map[data-system-open="agents"] .patch-agents,
.system-map[data-system-open="bots"] .patch-bots,
.system-map[data-system-open="crm"] .patch-crm {
  opacity: 1;
  transition-delay: 80ms;
}

.system-hotspots {
  position: absolute;
  z-index: 5;
  top: 50%;
  left: 50%;
  width: max(100cqw, calc(100cqh * 16 / 9));
  height: max(100cqh, calc(100cqw * 9 / 16));
  transform: translate(-50%, -50%);
  visibility: visible;
}

.system-map.is-building .system-hotspots {
  visibility: hidden;
  pointer-events: none;
}

.system-hotspot {
  --lift-x: 0px;
  --lift-y: -10px;
  position: absolute;
  min-width: 44px;
  min-height: 44px;
  display: block;
  isolation: isolate;
  overflow: visible;
  color: transparent;
  transform: translate3d(0, 0, 0) scale(1);
  transform-origin: center;
  backface-visibility: hidden;
  will-change: transform, filter;
  /* Спокойная кривая: фирменная (.22,1,.36,1) «выстреливала» в начале,
     и подъём читался как рывок. Тут разгон мягкий, торможение то же. */
  transition: transform 760ms cubic-bezier(.32, .08, .24, 1),
              filter 760ms cubic-bezier(.32, .08, .24, 1);
}

.system-hotspot > img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: fill;
  opacity: 0;
  pointer-events: none;
  user-select: none;
  transition: opacity 380ms var(--ease);
}

.system-hotspot:hover > img,
.system-hotspot:focus-visible > img,
.system-hotspot.is-preview > img,
.system-hotspot.is-active > img {
  opacity: 1;
  transition-delay: 80ms;
}

.system-hotspot::after {
  content: "";
  position: absolute;
  z-index: -1;
  right: 8%;
  bottom: -18%;
  left: 8%;
  height: 24%;
  background: radial-gradient(ellipse, color-mix(in srgb, var(--accent) 70%, transparent), transparent 68%);
  filter: blur(18px);
  opacity: 0;
  transform: scaleY(.18);
  transition: opacity 560ms var(--ease), transform 760ms var(--ease);
}

.system-hotspot span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}

.system-hotspot:hover,
.system-hotspot:focus-visible,
.system-hotspot.is-preview {
  z-index: 8;
  filter: brightness(1.1) saturate(1.08) drop-shadow(0 16px 20px color-mix(in srgb, var(--paper) 68%, transparent));
  transform: translate3d(var(--lift-x), var(--lift-y), 0) scale(1.07);
}

.system-hotspot:focus-visible {
  outline: none;
}

.system-hotspot.is-active {
  z-index: 9;
  filter: brightness(1.1) saturate(1.08) drop-shadow(0 16px 20px color-mix(in srgb, var(--paper) 68%, transparent));
  transform: translate3d(var(--lift-x), var(--lift-y), 0) scale(1.07);
}

.system-hotspot:hover::after,
.system-hotspot:focus-visible::after,
.system-hotspot.is-preview::after {
  opacity: .8;
  transform: scaleY(.22);
}

.system-hotspot.is-active::after {
  opacity: .8;
  transform: scaleY(.22);
}

.hotspot-sites {
  top: 9.583333%;
  left: 66.302083%;
  width: 16.432292%;
  height: 24.074074%;
}

.hotspot-sites {
  --lift-x: 32px;
  --lift-y: 0px;
}

.hotspot-ux {
  top: 10.277778%;
  left: 48.307292%;
  width: 12.109375%;
  height: 19.62963%;
}

.hotspot-ux {
  --lift-x: -32px;
  --lift-y: 0px;
}

.hotspot-landings {
  top: 32.12963%;
  left: 43.90625%;
  width: 10.416667%;
  height: 18.37963%;
}

.hotspot-landings {
  --lift-x: -28px;
  --lift-y: -14px;
}

.hotspot-agents {
  top: 32.222222%;
  left: 68.411458%;
  width: 15.703125%;
  height: 17.407407%;
}

.hotspot-agents {
  --lift-x: 28px;
  --lift-y: -14px;
}

.hotspot-bots {
  top: 50.833333%;
  left: 42.135417%;
  width: 12.734375%;
  height: 17.361111%;
}

.hotspot-bots {
  --lift-x: -28px;
  --lift-y: -14px;
}

.hotspot-crm {
  top: 51.712963%;
  left: 70.703125%;
  width: 14.947917%;
  height: 19.351852%;
}

.hotspot-crm {
  --lift-x: 28px;
  --lift-y: -14px;
}

.system-hint {
  position: absolute;
  z-index: 10;
  right: var(--side);
  bottom: 24px;
  max-width: none;
  display: flex;
  align-items: baseline;
  gap: 14px;
  color: var(--ink);
  text-shadow: 0 2px 14px var(--paper);
  pointer-events: none;
}

.system-hint > span {
  font-family: var(--display);
  font-size: 18px;
  font-weight: 300;
  letter-spacing: -.02em;
}

.system-hint small {
  color: color-mix(in srgb, var(--ink) 58%, transparent);
  font-size: 10px;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.theme-original .orbit {
  display: none;
}

.theme-original .art-note {
  color: var(--ink);
  text-shadow: 0 2px 12px var(--paper);
}

.theme-original .proof {
  color: var(--ink);
  background: color-mix(in srgb, var(--ink) 5%, var(--paper));
  border-bottom: 1px solid var(--line);
}

.theme-original .proof li {
  color: color-mix(in srgb, var(--ink) 72%, transparent);
}

.theme-original .projects,
.theme-original .approach,
.theme-original .about,
.theme-original .faq {
  background: transparent;
}

.theme-original .browser-preview,
.theme-original .browser-bar {
  color: var(--ink);
  background: var(--paper);
}

.theme-original .services,
.theme-original .process {
  color: var(--ink);
  background: color-mix(in srgb, var(--ink) 5%, var(--paper));
}

.theme-original .services em,
.theme-original .services .kicker,
.theme-original .services .service-card > span {
  color: var(--accent);
}

.theme-original .services .service-card {
  border-color: color-mix(in srgb, var(--ink) 20%, transparent);
}

.theme-original .services .service-card p {
  color: color-mix(in srgb, var(--ink) 72%, transparent);
}

.theme-original .services .service-card small {
  color: color-mix(in srgb, var(--ink) 56%, transparent);
}

.theme-original .contact {
  color: var(--ink);
  background: radial-gradient(circle at 82% 38%, color-mix(in srgb, var(--accent) 34%, var(--paper)) 0, var(--paper) 38%);
}

.theme-original .contact em,
.theme-original .contact .kicker {
  color: var(--accent);
}

.theme-original .contact .button-light {
  color: var(--paper);
  background: var(--ink);
}

.theme-original .contact .button-light::before {
  background: var(--accent);
}

.theme-original .contact .button-light:hover .button-label {
  color: var(--paper);
}

.theme-original .button-primary,
.theme-original .preview-open {
  color: var(--paper);
}

.theme-original .portrait-card > p {
  color: var(--ink);
  text-shadow: 0 2px 14px var(--paper);
}

.theme-original .portrait-card > img {
  object-position: 72% center;
  filter: contrast(1.05) saturate(.72);
}

.theme-original .footer {
  color: var(--ink);
  background: var(--paper);
  border-top: 1px solid var(--line);
}

h1 {
  max-width: 14ch;
  font-size: clamp(2.6rem, 5.8vw, 7.1rem);
  line-height: .98;
  letter-spacing: -.04em;
}

h2 {
  max-width: 13ch;
  font-size: clamp(2.25rem, 5.2vw, 5.2rem);
  line-height: .98;
  letter-spacing: -.035em;
}

h3 {
  font-size: clamp(1.35rem, 2.2vw, 2.1rem);
  line-height: 1.06;
  letter-spacing: -.02em;
}

em {
  color: var(--accent);
  font-style: normal;
}

.skip {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  min-height: 44px;
  padding: 11px 18px;
  color: var(--paper);
  background: var(--ink);
  border-radius: 999px;
  transform: translateY(-160%);
  transition: transform 320ms var(--ease);
}

.skip:focus {
  transform: none;
}

.site-header {
  position: absolute;
  z-index: 60;
  top: 0;
  right: 0;
  left: 0;
  height: var(--header);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0 var(--side);
  background: color-mix(in srgb, var(--paper) 97%, transparent);
  border-bottom: 1px solid var(--line);
}

.brand {
  justify-self: start;
  font-family: var(--display);
  font-size: 21px;
  font-weight: 400;
  letter-spacing: -.025em;
}

.brand span {
  color: var(--accent);
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(22px, 3vw, 48px);
}

.nav a,
.footer a {
  position: relative;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  font-size: 13px;
}

.nav a::after,
.footer div a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 8px;
  left: 0;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 500ms var(--ease);
}

.nav a:hover::after,
.footer div a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.header-contact {
  justify-self: end;
}

.button {
  position: relative;
  isolation: isolate;
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 0 25px;
  border-radius: 999px;
  font-size: 14px;
  text-align: center;
  transition: transform 620ms var(--ease);
}

.button::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 500ms var(--ease);
}

.button-label {
  position: relative;
  z-index: 1;
  transition: color 320ms var(--ease);
}

.button:hover {
  transform: translateY(-3px);
}

.button:hover::before {
  transform: scaleX(1);
}

.button-small {
  min-height: 44px;
  padding-inline: 20px;
}

.button-primary {
  color: var(--ink);
  background: var(--accent);
  border: 0;
}

.button-primary:hover .button-label {
  color: var(--paper);
}

.button-ghost {
  color: var(--ink);
  background: transparent;
  border: 1px solid var(--line);
}

.button-ghost:hover .button-label {
  color: var(--paper);
}

.button-light {
  color: var(--ink);
  background: var(--paper);
  border: 0;
}

.button-light::before {
  background: var(--ink);
}

.button-light:hover .button-label {
  color: var(--paper);
}

.menu {
  width: 44px;
  height: 44px;
  display: none;
  place-content: center;
  gap: 6px;
  padding: 0;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 999px;
}

.menu span {
  width: 18px;
  height: 1px;
  display: block;
  background: var(--ink);
  transition: transform 500ms var(--ease);
}

.hero {
  position: relative;
  height: 100svh;
  min-height: 0;
  display: grid;
  grid-template-columns: minmax(0, 60fr) minmax(0, 40fr);
  overflow: hidden;
}

.hero-copy {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  gap: clamp(20px, 3vh, 34px);
  padding: calc(var(--header) + 24px) clamp(24px, 6vw, 100px) clamp(52px, 10vh, 104px) var(--side);
  background: var(--paper);
}

.hero-lead {
  max-width: 50ch;
  color: color-mix(in srgb, var(--ink) 76%, transparent);
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.hero-actions small {
  max-width: 15ch;
  color: color-mix(in srgb, var(--ink) 58%, transparent);
  font-size: 12px;
  line-height: 1.45;
  text-wrap: balance;
}

.hero-art {
  position: relative;
  min-width: 0;
  height: 100%;
  overflow: hidden;
  background: var(--ink);
}

.hero-art > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 820ms var(--ease);
}

.hero-art > video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}

.hero:hover .hero-art > img,
.hero:hover .hero-art > video {
  transform: scale(1.025);
}

.orbit {
  position: absolute;
  z-index: 2;
  width: 11px;
  height: 11px;
  background: var(--accent);
  border-radius: 999px;
}

.orbit-one {
  top: 20%;
  left: 15%;
}

.orbit-two {
  right: 16%;
  bottom: 23%;
}

.art-note {
  position: absolute;
  z-index: 3;
  right: 24px;
  bottom: 22px;
  max-width: none;
  color: var(--paper);
  font-size: 11px;
  line-height: 1.8;
  letter-spacing: .18em;
  text-transform: uppercase;
  text-shadow: 0 1px 10px var(--ink);
}

.rise {
  opacity: 0;
  filter: blur(14px);
  transform: translateY(28px);
}

.is-in .rise {
  opacity: 1;
  filter: blur(0);
  transform: none;
  transition: opacity 900ms var(--ease) var(--d, 0ms),
              transform 900ms var(--ease) var(--d, 0ms),
              filter 900ms var(--ease) var(--d, 0ms);
}

.delay-logo { --d: 300ms; }
.delay-nav { --d: 420ms; }
.delay-heading { --d: 900ms; }
.delay-lead { --d: 1040ms; }
.delay-cta { --d: 1200ms; }

.proof {
  min-height: 112px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 24px var(--side);
  color: var(--paper);
  background: var(--ink);
}

.proof p {
  font-size: 14px;
}

.proof ul,
.chips,
.stack {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.proof li {
  color: color-mix(in srgb, var(--paper) 72%, transparent);
  font-size: 12px;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.proof li:not(:last-child)::after {
  content: "/";
  margin-left: 9px;
  color: var(--accent);
}

.section {
  padding: clamp(88px, 13vw, 190px) var(--side);
}

.section-heading {
  margin-bottom: clamp(50px, 8vw, 104px);
}

.split-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(260px, .6fr);
  align-items: end;
  gap: 56px;
}

.split-heading > p {
  justify-self: end;
  color: color-mix(in srgb, var(--ink) 70%, transparent);
}

.kicker,
.project-type,
.service-card > span {
  max-width: none;
  margin: 0 0 24px;
  color: color-mix(in srgb, var(--ink) 58%, transparent);
  font-size: 11px;
  line-height: 1.8;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.projects {
  background: var(--paper);
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(70px, 9vw, 132px) clamp(26px, 4vw, 64px);
}

.project-card {
  min-width: 0;
}

.project-featured {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(260px, .6fr);
  align-items: end;
  gap: clamp(30px, 5vw, 76px);
}

.browser-preview {
  position: relative;
  min-height: 320px;
  overflow: hidden;
  background: var(--ink);
}

.project-featured .browser-preview {
  height: min(68vw, 700px);
}

.project-card:not(.project-featured) .browser-preview {
  height: min(42vw, 480px);
}

.browser-bar {
  height: 44px;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 0 15px;
  color: var(--paper);
  background: var(--ink);
}

.browser-bar > span {
  width: 7px;
  height: 7px;
  background: var(--accent);
  border-radius: 999px;
}

.browser-bar > span:nth-child(2),
.browser-bar > span:nth-child(3) {
  opacity: .4;
}

.browser-bar small {
  margin-left: auto;
  font-size: 10px;
  letter-spacing: .14em;
  text-transform: uppercase;
  opacity: .7;
}

.preview-stage {
  position: absolute;
  inset: 44px 0 0;
  overflow: hidden;
  background: var(--paper);
}

.preview-stage iframe {
  width: 1280px;
  height: 900px;
  display: block;
  border: 0;
  pointer-events: none;
  transform-origin: 0 0;
}

.preview-open {
  position: absolute;
  z-index: 4;
  right: 18px;
  bottom: 18px;
  min-width: 188px;
  min-height: 48px;
  padding: 0 21px;
  color: var(--ink);
  background: var(--accent);
  border: 0;
  border-radius: 999px;
  transform: translateY(8px);
  opacity: 0;
  transition: transform 620ms var(--ease), opacity 320ms var(--ease);
}

.browser-preview:hover .preview-open,
.preview-open:focus-visible {
  transform: none;
  opacity: 1;
}

.project-copy {
  padding-top: 28px;
}

.project-copy .project-type {
  margin-bottom: 15px;
}

.project-copy > p:not(.project-type) {
  margin-top: 18px;
  color: color-mix(in srgb, var(--ink) 72%, transparent);
}

.chips {
  margin-top: 24px;
}

.chips li,
.stack li {
  padding: 9px 13px;
  color: color-mix(in srgb, var(--ink) 70%, transparent);
  background: color-mix(in srgb, var(--ink) 7%, transparent);
  border-radius: 999px;
  font-size: 12px;
}

.services {
  color: var(--paper);
  background: var(--ink);
}

.services em,
.services .kicker,
.services .service-card > span {
  color: var(--accent);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 0 clamp(24px, 4vw, 68px);
}

.service-card {
  grid-column: span 4;
  min-height: 330px;
  padding: 27px 0 36px;
  border-top: 1px solid color-mix(in srgb, var(--paper) 26%, transparent);
}

.service-main,
.service-wide {
  grid-column: span 8;
}

.service-card:nth-child(even) {
  margin-top: 76px;
}

.service-card h3 {
  max-width: 18ch;
}

.service-card p {
  margin-top: 26px;
  color: color-mix(in srgb, var(--paper) 70%, transparent);
}

.service-card small {
  display: block;
  margin-top: 38px;
  color: color-mix(in srgb, var(--paper) 55%, transparent);
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.approach {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  gap: clamp(60px, 10vw, 160px);
}

.approach-copy > p:not(.kicker) {
  margin-top: 32px;
}

.approach-note {
  color: color-mix(in srgb, var(--ink) 62%, transparent);
}

.flow,
.process-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.flow li {
  min-height: 116px;
  display: grid;
  grid-template-columns: 54px 1fr;
  align-content: center;
  column-gap: 24px;
  border-top: 1px solid var(--line);
}

.flow li:last-child {
  border-bottom: 1px solid var(--line);
}

.flow span {
  grid-row: 1 / 3;
  align-self: center;
  color: var(--accent);
  font-size: 12px;
  letter-spacing: .16em;
}

.flow b {
  font-family: var(--display);
  font-size: 22px;
  font-weight: 400;
}

.flow small {
  margin-top: 6px;
  color: color-mix(in srgb, var(--ink) 60%, transparent);
}

.process {
  background: color-mix(in srgb, var(--ink) 7%, var(--paper));
}

.process-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 34px;
}

.process-list li {
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.process-list span {
  color: var(--accent);
  font-size: 12px;
  letter-spacing: .18em;
}

.process-list h3 {
  margin-top: 64px;
}

.process-list p {
  margin-top: 16px;
  color: color-mix(in srgb, var(--ink) 68%, transparent);
}

.about {
  display: grid;
  grid-template-columns: minmax(280px, .78fr) minmax(0, 1.22fr);
  align-items: end;
  gap: clamp(50px, 9vw, 140px);
  padding-left: 0;
}

.portrait-card {
  position: relative;
  min-height: 720px;
  overflow: hidden;
  background: var(--ink);
}

.portrait-card > img {
  width: 100%;
  height: 100%;
  min-height: 720px;
  object-fit: cover;
  filter: saturate(.78) contrast(1.08);
}

.portrait-card > p {
  position: absolute;
  right: 24px;
  bottom: 22px;
  left: 24px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: var(--paper);
  text-shadow: 0 1px 12px var(--ink);
}

.portrait-card strong {
  font-weight: 400;
}

.portrait-card small {
  font-size: 11px;
  letter-spacing: .14em;
  text-align: right;
  text-transform: uppercase;
}

.about-copy {
  padding-right: var(--side);
}

.about-copy > p:not(.kicker) {
  margin-top: 28px;
}

.about-lead {
  font-size: clamp(18px, 1.8vw, 25px);
  line-height: 1.45;
}

.stack {
  margin-top: 34px;
}

.faq {
  display: grid;
  grid-template-columns: minmax(240px, .7fr) minmax(0, 1.3fr);
  gap: clamp(60px, 10vw, 160px);
}

.faq-list details {
  border-top: 1px solid var(--line);
}

.faq-list details:last-child {
  border-bottom: 1px solid var(--line);
}

.faq-list summary {
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  font-size: clamp(19px, 2vw, 28px);
  list-style: none;
  cursor: pointer;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary span {
  position: relative;
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  transition: transform 500ms var(--ease);
}

.faq-list summary span::before,
.faq-list summary span::after {
  content: "";
  width: 14px;
  height: 1px;
  position: absolute;
  background: currentColor;
}

.faq-list summary span::after {
  transform: rotate(90deg);
}

.faq-list details[open] summary span {
  transform: rotate(45deg);
}

.faq-list details p {
  padding: 0 70px 30px 0;
  color: color-mix(in srgb, var(--ink) 70%, transparent);
}

.contact {
  min-height: min(760px, 88svh);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  padding: clamp(80px, 11vw, 160px) var(--side);
  color: var(--ink);
  background: var(--accent);
}

.contact .kicker {
  color: color-mix(in srgb, var(--ink) 60%, transparent);
}

.contact h2 {
  max-width: 13ch;
  font-size: clamp(3rem, 8vw, 8rem);
}

.contact em {
  color: var(--paper);
}

.contact > p:not(.kicker) {
  margin-top: 32px;
}

.contact .button {
  margin-top: 34px;
}

.contact > small {
  margin-top: 14px;
  color: color-mix(in srgb, var(--ink) 60%, transparent);
  font-size: 12px;
}

.footer {
  min-height: 130px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 28px;
  padding: 24px var(--side);
  color: var(--paper);
  background: var(--ink);
}

.footer p {
  font-size: 13px;
  text-align: center;
  opacity: .7;
}

.footer div {
  justify-self: end;
  display: flex;
  gap: 24px;
}

.viewer[hidden] {
  display: none;
}

.viewer {
  position: fixed;
  z-index: 900;
  inset: 0;
  display: grid;
  place-items: center;
  padding: clamp(10px, 3vw, 42px);
}

.viewer-scrim {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  border: 0;
}

.viewer-window {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  display: grid;
  grid-template-rows: 76px 1fr;
  overflow: hidden;
  background: var(--paper);
}

.viewer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 10px 18px 10px 24px;
  border-bottom: 1px solid var(--line);
}

.viewer-header small {
  display: block;
  color: color-mix(in srgb, var(--ink) 58%, transparent);
  font-size: 10px;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.viewer-header h2 {
  max-width: none;
  margin-top: 2px;
  font-size: 20px;
  line-height: 1;
  letter-spacing: -.02em;
}

.viewer-tools {
  display: flex;
  align-items: center;
  gap: 6px;
}

.viewer-tools button {
  min-width: 44px;
  min-height: 44px;
  padding: 0 13px;
  color: color-mix(in srgb, var(--ink) 62%, transparent);
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 999px;
  transition: transform 500ms var(--ease), color 320ms var(--ease);
}

.viewer-tools button:hover {
  color: var(--ink);
  transform: translateY(-2px);
}

.viewer-tools button.active {
  color: var(--paper);
  background: var(--ink);
  border-color: var(--ink);
}

.viewer-close {
  position: relative;
  width: 44px;
  padding: 0 !important;
}

.viewer-close::before,
.viewer-close::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 16px;
  height: 1px;
  background: currentColor;
}

.viewer-close::before {
  transform: translate(-50%, -50%) rotate(45deg);
}

.viewer-close::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.viewer-canvas {
  display: flex;
  justify-content: center;
  overflow: auto;
  padding: 22px;
  background: color-mix(in srgb, var(--ink) 8%, var(--paper));
}

.viewer-canvas iframe {
  width: 1280px;
  height: 100%;
  flex: 0 0 auto;
  background: var(--paper);
  border: 0;
  transition: width 620ms var(--ease);
}

@media (max-width: 980px) {
  .theme-original .site-header {
    grid-template-columns: 1fr auto;
  }

  .site-header {
    grid-template-columns: 1fr auto;
  }

  .nav {
    position: absolute;
    top: var(--header);
    right: 0;
    left: 0;
    display: grid;
    gap: 0;
    padding: 10px var(--side) 22px;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-18px);
    transition: opacity 320ms var(--ease), transform 500ms var(--ease);
  }

  .is-in .nav:not(.open) {
    opacity: 0;
    filter: none;
    pointer-events: none;
    transform: translateY(-18px);
  }

  .nav.open {
    opacity: 1;
    pointer-events: auto;
    transform: none;
  }

  .nav a {
    border-bottom: 1px solid var(--line);
  }

  .header-contact {
    display: none;
  }

  .menu {
    display: grid;
  }

  .project-featured,
  .approach,
  .about,
  .faq {
    grid-template-columns: 1fr;
  }

  .project-featured .browser-preview {
    height: min(75vw, 620px);
  }

  .about {
    padding-right: 0;
  }

  .portrait-card,
  .portrait-card > img {
    min-height: 560px;
  }

  .about-copy {
    padding: 0 var(--side);
  }

  .service-card,
  .service-main,
  .service-wide {
    grid-column: span 6;
  }

  .service-card:nth-child(even) {
    margin-top: 58px;
  }
}

@media (max-width: 700px) {
  :root {
    --header: 64px;
  }

  .system-void-patches {
    display: none;
  }

  .hero {
    grid-template-columns: minmax(0, 68fr) minmax(0, 32fr);
  }

  .hero-copy {
    gap: 16px;
    padding: 0 12px 38px var(--side);
  }

  .theme-original .hero-copy {
    width: 100%;
    gap: 9px;
    padding: calc(var(--header) + 18px) 31% 16px var(--side);
  }

  .theme-original .hero-art > img,
  .theme-original .hero-art > video {
    object-position: 67% center;
  }

  .theme-original .hero-copy h1 {
    max-width: 10ch;
    font-size: clamp(2.15rem, 9.5vw, 3.5rem);
    line-height: .86;
  }

  .theme-original .hero-lead {
    max-width: 28ch;
    font-size: 10px;
    line-height: 1.4;
  }

  .theme-original .hero-actions {
    flex-wrap: nowrap;
    align-items: center;
    gap: 8px;
  }

  .theme-original .hero-actions .button {
    min-height: 48px;
    max-width: 185px;
    padding-inline: 14px;
    font-size: 12px;
  }

  .theme-original .hero-actions small {
    max-width: 10ch;
    font-size: 9px;
  }

  .theme-original .system-image,
  .system-intro {
    object-position: 67% center;
  }

  .system-hotspots {
    top: calc(var(--header) + 14px);
    right: 12px;
    bottom: auto;
    left: auto;
    width: 96px;
    display: grid;
    gap: 7px;
  }

  .system-hotspot,
  .hotspot-sites,
  .hotspot-ux,
  .hotspot-landings,
  .hotspot-agents,
  .hotspot-bots,
  .hotspot-crm {
    position: relative;
    inset: auto;
    width: 100%;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--ink);
    background: color-mix(in srgb, var(--paper) 90%, transparent);
    border: 0;
    border-radius: 999px;
    clip-path: none;
  }

  .system-hotspot span {
    position: static;
    width: auto;
    height: auto;
    clip-path: none;
    color: inherit;
    font-size: 10px;
    letter-spacing: .08em;
    text-transform: uppercase;
  }

  .system-hotspot:hover,
  .system-hotspot:focus-visible,
  .system-hotspot.is-active {
    transform: translate3d(-8px, 0, 0) scale(1.04);
  }

  .system-hint {
    display: none;
  }

  h1 {
    max-width: 14ch;
    font-size: clamp(2.35rem, 10vw, 4.2rem);
  }

  .hero-lead {
    max-width: 30ch;
    font-size: 14px;
    line-height: 1.5;
  }

  .hero-actions {
    align-items: flex-start;
    gap: 10px;
  }

  .hero-actions .button {
    width: 100%;
    max-width: 235px;
  }

  .hero-actions small {
    max-width: none;
  }

  .art-note,
  .orbit-two {
    display: none;
  }

  .proof {
    align-items: flex-start;
    flex-direction: column;
  }

  .split-heading {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .split-heading > p {
    justify-self: start;
  }

  .project-grid,
  .process-list {
    grid-template-columns: 1fr;
  }

  .project-featured {
    grid-column: auto;
  }

  .project-featured .browser-preview,
  .project-card:not(.project-featured) .browser-preview {
    height: 68vw;
    min-height: 300px;
  }

  .preview-open {
    transform: none;
    opacity: 1;
  }

  .service-grid {
    display: block;
  }

  .service-card,
  .service-card:nth-child(even) {
    min-height: 0;
    margin: 0;
    padding: 25px 0 44px;
  }

  .process-list h3 {
    margin-top: 34px;
  }

  .footer {
    grid-template-columns: 1fr auto;
  }

  .footer p {
    display: none;
  }

  .viewer {
    padding: 0;
  }

  .viewer-window {
    grid-template-rows: auto 1fr;
  }

  .viewer-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .viewer-tools {
    width: 100%;
    overflow-x: auto;
  }
}

@media (max-height: 680px) and (min-width: 701px) {
  .hero-copy {
    gap: 14px;
    padding-bottom: 34px;
  }

  h1 {
    font-size: clamp(2.4rem, 5vw, 5rem);
  }
}

@media (max-width: 700px) and (max-height: 720px) {
  .theme-original .hero-copy {
    display: flex;
    justify-content: flex-end;
    gap: 5px;
    padding-top: calc(var(--header) + 8px);
    padding-right: 31%;
    padding-bottom: 30px;
    transform: translateY(-22px);
  }

  .theme-original .hero-copy h1 {
    font-size: clamp(1.8rem, 8vw, 2.9rem);
  }

  .theme-original .hero-actions {
    position: static;
  }

  .theme-original .hero-status {
    font-size: 8px;
  }

  .theme-original .hero-lead {
    display: none;
    font-size: 9px;
    line-height: 1.38;
  }

  .theme-original .hero-actions .button {
    min-height: 44px;
  }

  .theme-original .hero-actions small {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .system-void-patches {
    display: none;
  }

  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-delay: 0ms !important;
    transition-duration: .01ms !important;
    transition-delay: 0ms !important;
  }

  .rise {
    opacity: 1;
    filter: none;
    transform: none;
  }

  .system-intro {
    display: none;
  }

  .system-map.is-building .system-hotspots {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .theme-original .hero-art > video {
    display: none;
  }

  .theme-original .hero-art {
    background: var(--paper) url("assets/hero-metal-sphere-1400.webp") center / cover no-repeat;
  }
}

/* Cascade locks for the redesigned sections. */
.theme-original .proof {
  background: var(--surface);
  border-bottom-color: var(--line-soft);
}

.theme-original .browser-preview {
  background: var(--surface);
}

.theme-original .browser-bar {
  background: var(--surface-raised);
}

.theme-original .contact {
  background: var(--paper);
}

.theme-original .contact .button.button-light {
  color: var(--paper);
  background: var(--accent);
}

.theme-original .portrait-card > img {
  object-position: 70% center;
  filter: contrast(1.1) saturate(.7);
}

.theme-original .footer {
  background: var(--surface);
  border-top-color: var(--line-soft);
}

.theme-original main > .section h3,
.theme-original main > .section summary {
  line-height: .95;
  letter-spacing: -.02em;
}
