/* Restored from abe0686. Original objects, motion timing and scroll equations. */
.product-engine {
  --engine-x: 0px;
  --engine-y: 0px;
  position: relative;
  z-index: 12;
  top: auto;
  right: auto;
  display: grid;
  grid-template-rows: 42px minmax(0, 1fr) 48px 32px;
  width: 100%;
  max-width: 520px;
  justify-self: end;
  aspect-ratio: 1.12 / 1;
  overflow: hidden;
  border: 1px solid rgba(23, 26, 23, 0.72);
  border-radius: 16px;
  background: var(--ink);
  box-shadow: 0 34px 90px rgba(23, 26, 23, 0.2);
  color: var(--paper);
}

.product-engine__bar,
.product-engine__readout {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-inline: 16px;
  font-family: var(--mono);
  font-size: 0.56rem;
  letter-spacing: 0.09em;
}

.product-engine__bar {
  border-bottom: 1px solid rgba(242, 240, 233, 0.18);
}

.product-engine__status {
  display: flex;
  align-items: center;
  gap: 7px;
  color: rgba(242, 240, 233, 0.66);
}

.product-engine__status i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--olive-deep);
  box-shadow: 0 0 0 4px rgba(102, 118, 75, 0.16);
  animation: engine-pulse 1.8s ease-in-out infinite;
}

.product-engine__viewport {
  position: relative;
  min-height: 0;
  overflow: hidden;
  background: var(--sage);
  color: var(--ink);
}

.specimen-grid {
  position: absolute;
  inset: -18px;
  background-image:
    linear-gradient(rgba(23, 26, 23, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(23, 26, 23, 0.1) 1px, transparent 1px);
  background-size: 36px 36px;
  transform: translate3d(var(--engine-x), var(--engine-y), 0);
  transition: transform 240ms ease-out;
}

.specimen-scene {
  position: absolute;
  z-index: 2;
  inset: 0;
  opacity: 0;
  transform: scale(1.035);
  transition: opacity 360ms ease, transform 600ms var(--ease);
}

.product-engine[data-mode="structure"] .specimen-scene--structure,
.product-engine[data-mode="interface"] .specimen-scene--interface,
.product-engine[data-mode="motion"] .specimen-scene--motion,
.product-engine[data-mode="logic"] .specimen-scene--logic {
  z-index: 3;
  opacity: 1;
  transform: scale(1);
}

.specimen-scene--structure strong {
  position: absolute;
  left: 38%;
  top: 25%;
  font-family: var(--serif);
  font-size: clamp(4.2rem, 6.2vw, 6.4rem);
  font-weight: 400;
  line-height: 0.62;
  letter-spacing: -0.08em;
}

.specimen-node {
  position: absolute;
  z-index: 3;
  display: grid;
  width: 52px;
  aspect-ratio: 1;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 50%;
  background: var(--sage);
  font-family: var(--mono);
  font-size: 0.5rem;
}

.specimen-node::after {
  position: absolute;
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--olive-deep);
}

.specimen-node--a { left: 8%; top: 15%; }
.specimen-node--b { right: 8%; top: 18%; color: var(--olive); }
.specimen-node--c { left: 12%; bottom: 13%; color: var(--olive-deep); }
.specimen-node--d { right: 13%; bottom: 11%; }
.specimen-node--a::after { right: -3px; top: 22px; }
.specimen-node--b::after { left: -3px; bottom: 12px; }
.specimen-node--c::after { right: 4px; top: -2px; }
.specimen-node--d::after { left: -2px; top: 18px; }

.specimen-path {
  position: absolute;
  border: 1px solid rgba(23, 26, 23, 0.34);
  border-radius: 50%;
}

.specimen-path--a { inset: 12% 18% 14% 11%; rotate: -10deg; }
.specimen-path--b { inset: 23% 9% 8% 27%; rotate: 16deg; border-color: rgba(102, 118, 75, 0.45); }

.specimen-scene--interface {
  display: grid;
  grid-template-columns: 54px 1fr 112px;
  grid-template-rows: 58px 1fr;
  gap: 1px;
  background: rgba(23, 26, 23, 0.16);
}

.specimen-ui__rail {
  grid-row: 1 / 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 13px;
  padding-top: 19px;
  background: var(--ink);
}

.specimen-ui__rail i {
  width: 16px;
  height: 3px;
  background: rgba(242, 240, 233, 0.34);
}

.specimen-ui__rail i:first-child {
  height: 16px;
  border-radius: 50%;
  background: var(--olive-deep);
}

.specimen-ui__head {
  grid-column: 2 / 4;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  background: var(--ivory);
  font-family: var(--mono);
  font-size: 0.55rem;
}

.specimen-ui__head b { color: var(--olive-deep); font-size: 1rem; }

.specimen-ui__chart {
  display: flex;
  align-items: end;
  gap: 7%;
  padding: 35px 22px 22px;
  background: var(--ivory);
}

.specimen-ui__chart i {
  flex: 1;
  height: 25%;
  background: var(--olive);
  animation: engine-bars 2.8s var(--ease) infinite alternate;
}

.specimen-ui__chart i:nth-child(2) { height: 48%; animation-delay: -0.8s; }
.specimen-ui__chart i:nth-child(3) { height: 35%; animation-delay: -1.4s; }
.specimen-ui__chart i:nth-child(4) { height: 76%; background: var(--olive-deep); animation-delay: -2s; }
.specimen-ui__chart i:nth-child(5) { height: 58%; animation-delay: -0.4s; }
.specimen-ui__chart i:nth-child(6) { height: 91%; background: var(--olive); animation-delay: -1.1s; }

.specimen-ui__metric {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 17px;
  background: var(--ivory);
  font-family: var(--mono);
  font-size: 0.52rem;
}

.specimen-ui__metric:last-child { display: none; }
.specimen-ui__metric strong { font-family: var(--serif); font-size: 4rem; font-weight: 400; line-height: 0.8; }

.specimen-scene--motion {
  overflow: hidden;
  background: var(--olive-deep);
  color: var(--paper);
  font-family: var(--serif);
  font-size: clamp(5.5rem, 10vw, 10rem);
  line-height: 0.55;
  letter-spacing: -0.08em;
}

.specimen-scene--motion > span { position: absolute; white-space: nowrap; }
.specimen-scene--motion > span:nth-child(1) { left: -3%; top: 12%; }
.specimen-scene--motion > span:nth-child(2) { right: -2%; top: 39%; color: var(--ink); }
.specimen-scene--motion > span:nth-child(3) { left: 6%; bottom: -1%; }
.specimen-scene--motion > i { position: absolute; right: 14%; top: 11%; width: 26%; aspect-ratio: 1; border: 1px solid var(--ink); border-radius: 50%; animation: engine-orbit 5s linear infinite; }
.specimen-scene--motion > b { position: absolute; right: 4%; bottom: 4%; font-family: var(--mono); font-size: 0.5rem; letter-spacing: 0.1em; }

.specimen-scene--logic {
  display: grid;
  align-content: center;
  gap: 10px;
  padding: 10%;
  background: var(--olive);
  color: var(--paper);
}

.specimen-scene--logic > div {
  display: grid;
  grid-template-columns: 38px 1fr auto;
  align-items: center;
  gap: 15px;
  padding: 13px 0;
  border-bottom: 1px solid rgba(242, 240, 233, 0.3);
  font-family: var(--mono);
  font-size: 0.58rem;
}

.specimen-scene--logic > div span { color: rgba(242, 240, 233, 0.5); }
.specimen-scene--logic > div i { color: var(--sage); font-style: normal; }
.specimen-scene--logic > div:nth-child(2) i { animation: logic-blink 1.2s steps(1) infinite; }
.specimen-scene--logic > strong { position: absolute; right: 7%; top: 8%; font-family: var(--serif); font-size: 3.5rem; font-weight: 400; }

.product-engine__controls {
  position: relative;
  z-index: 10;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(242, 240, 233, 0.18);
  border-bottom: 1px solid rgba(242, 240, 233, 0.18);
}

.product-engine__controls button {
  border: 0;
  border-right: 1px solid rgba(242, 240, 233, 0.18);
  background: transparent;
  color: rgba(242, 240, 233, 0.5);
  font-family: var(--mono);
  font-size: 0.56rem;
  text-transform: uppercase;
  transition: background 240ms ease, color 240ms ease;
}

.product-engine__controls button:last-child { border-right: 0; }
.product-engine__controls button:hover,
.product-engine__controls button.is-active { background: var(--olive-deep); color: var(--paper); }
.product-engine__readout { color: rgba(242, 240, 233, 0.45); }
.product-engine__readout b { color: var(--paper); font-weight: 400; }

.projects-table {
  position: relative;
  border-bottom: 1px solid var(--line);
}

.projects-table__head,
.project__row {
  display: grid;
  grid-template-columns: 62px minmax(260px, 1fr) 110px minmax(180px, 0.36fr) 26px;
  align-items: center;
  gap: 18px;
}

.projects-table__head {
  padding: 0 0 16px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.projects-table__head span:first-child {
  grid-column: 2;
}

.project {
  position: relative;
  overflow: clip;
  border-top: 1px solid var(--line);
  transition: opacity 280ms ease;
}

.projects-table:has(.project:hover) .project:not(:hover):not(.is-open) {
  opacity: 0.32;
}

.project__row {
  width: 100%;
  padding: clamp(28px, 3.4vw, 52px) 0;
  border: 0;
  background: transparent;
  text-align: left;
  cursor: pointer;
}

.project__row strong {
  font-family: var(--serif);
  font-size: clamp(3rem, 5.5vw, 6rem);
  font-weight: 400;
  line-height: 0.78;
  letter-spacing: -0.05em;
  transition: color 300ms ease, translate 450ms var(--ease);
}

.project:hover .project__row strong,
.project.is-open .project__row strong {
  color: var(--olive-deep);
  translate: 10px 0;
}

.project__row > span:not(.project__index) {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.72rem;
}

.project__index {
  color: var(--olive-deep);
  font-family: var(--mono);
  font-size: 0.66rem;
}

.project__row i {
  justify-self: end;
  color: var(--olive-deep);
  font-size: 1.35rem;
  font-style: normal;
  transition: rotate 450ms var(--ease);
}

.project.is-open .project__row i {
  rotate: 90deg;
}

.project__preview-source {
  display: none;
}

.project-follower {
  position: fixed;
  z-index: 100;
  left: 0;
  top: 0;
  width: min(27vw, 380px);
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 14px;
  background: var(--sage);
  box-shadow: 0 24px 70px rgba(23, 26, 23, 0.18);
  pointer-events: none;
  opacity: 0;
  scale: 0.88;
  translate: 0 20px;
  transform-origin: center;
  transition: opacity 220ms ease, scale 520ms var(--ease), translate 520ms var(--ease);
}

.project-follower.is-visible {
  opacity: 1;
  scale: 1;
  translate: 0 0;
}

.project-follower.is-leaving-up {
  opacity: 0;
  scale: 0.96;
  translate: 0 -30px;
}

.project-follower__inner,
.project-follower__inner > *,
.project-follower .project-art {
  width: 100%;
  height: 100%;
}

.project-follower__inner {
  position: relative;
  overflow: hidden;
}

.project-follower__panel {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  visibility: hidden;
  will-change: transform;
}

.project-follower__panel > * {
  width: 100%;
  height: 100%;
}

.project-follower > span {
  position: absolute;
  z-index: 4;
  left: 50%;
  top: 50%;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 12px 17px;
  border: 1px solid rgba(242, 240, 233, 0.22);
  border-radius: 999px;
  background: rgba(23, 26, 23, 0.96);
  box-shadow: 0 8px 28px rgba(23, 26, 23, 0.24);
  color: var(--paper);
  font-family: var(--mono);
  font-size: 0.64rem;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  white-space: nowrap;
  transform: translate(-50%, -50%);
}

.project-follower > span::after {
  content: "↗";
  color: var(--olive-deep);
  font-size: 0.85rem;
  line-height: 1;
}

body.is-preview .cursor {
  opacity: 0;
}

.project-art {
  position: relative;
  min-height: 100%;
  overflow: hidden;
  isolation: isolate;
}

.project-art--kultura {
  background-color: var(--sage);
  background-image:
    linear-gradient(rgba(23, 26, 23, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(23, 26, 23, 0.12) 1px, transparent 1px);
  background-size: 42px 42px;
}

.project-art--kultura::before {
  position: absolute;
  z-index: -1;
  content: "";
  right: 9%;
  top: 9%;
  width: 34%;
  height: 72%;
  background: var(--olive-deep);
}

.project-art__word {
  position: absolute;
  left: 9%;
  bottom: -16%;
  font-family: var(--serif);
  font-size: clamp(10rem, 21vw, 20rem);
  line-height: 1;
}

.project-art--kultura > i {
  position: absolute;
  inset: 22% 17% 22% 38%;
  border: 1px solid var(--ink);
  border-radius: 50%;
}

.project-art--kultura > b {
  position: absolute;
  right: 5%;
  bottom: 5%;
  font-family: var(--mono);
  font-size: 0.58rem;
  letter-spacing: 0.12em;
}

.project-art--notam {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3%;
  padding: 8%;
  background: var(--olive);
  color: var(--paper);
}

.project-art--notam > span {
  display: grid;
  place-items: center;
  width: 23%;
  aspect-ratio: 1;
  border: 1px solid rgba(242, 240, 233, 0.72);
  border-radius: 50%;
  font-family: var(--mono);
  font-size: 0.54rem;
}

.project-art--notam > i {
  width: 10%;
  height: 1px;
  background: var(--paper);
}

.project-art--levelup {
  display: flex;
  align-items: end;
  justify-content: space-between;
  padding: 8%;
  background: var(--ink);
  color: var(--paper);
}

.project-art--levelup::before {
  position: absolute;
  content: "";
  right: -12%;
  top: -35%;
  width: 68%;
  aspect-ratio: 1;
  border: 1px solid var(--olive-deep);
  border-radius: 50%;
  box-shadow: 0 0 0 54px rgba(102, 118, 75, 0.12), 0 0 0 108px rgba(102, 118, 75, 0.07);
}

.project-art--levelup > b {
  font-family: var(--serif);
  font-size: clamp(2.8rem, 6vw, 5.6rem);
  font-weight: 400;
  line-height: 0.72;
}

.project-art--levelup > span {
  color: var(--olive-deep);
  font-family: var(--mono);
  font-size: 0.7rem;
}

.project__details {
  display: grid;
  grid-template-rows: 0fr;
  overflow: hidden;
  opacity: 0;
  transition: grid-template-rows 650ms var(--ease), opacity 350ms ease;
}

.project.is-open .project__details {
  grid-template-rows: 1fr;
  opacity: 1;
}

.project__details-inner {
  min-height: 0;
  padding: 6px 0 clamp(54px, 7vw, 100px) 80px;
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 300ms ease, transform 650ms var(--ease);
}

.project.is-open .project__details-inner {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 100ms;
}

.project__statement {
  display: grid;
  grid-template-columns: 0.35fr 1fr;
  gap: 42px;
  align-items: start;
  margin-bottom: 32px;
}

.project__statement h3 {
  max-width: 17ch;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(2.6rem, 4.8vw, 5.2rem);
  font-weight: 400;
  line-height: 0.82;
  letter-spacing: -0.045em;
}

.project__description {
  max-width: 66ch;
  margin: 0 0 28px 35%;
  padding-left: 20px;
  border-left: 1px solid var(--olive);
  font-size: 0.9rem;
  line-height: 1.7;
}

.project__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  margin: 0 0 45px 35%;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.64rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.project__facts span::before {
  content: "•";
  margin-right: 9px;
  color: var(--olive-deep);
}

.project__gallery {
  display: grid;
  grid-template-columns: 1.2fr 0.9fr 0.9fr;
  gap: 12px;
}

.project__gallery .project-art {
  min-height: 280px;
}

.project-art--detail {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: end;
  gap: 8px;
  padding: 28px;
}

.project-art--detail::before {
  opacity: 0.25;
}

.project-art--detail > b {
  position: relative;
  right: auto;
  bottom: auto;
  font-family: var(--serif);
  font-size: 5rem;
  font-weight: 400;
  line-height: 0.8;
}

.project-art--detail > small {
  font-family: var(--mono);
  font-size: 0.62rem;
}

.project-art--kultura.project-art--detail > span {
  font-family: var(--mono);
  font-size: 1rem;
  line-height: 1.5;
}

/* Software solutions — scroll-built system inspired by the reference's layered logic */
.assembly {
  position: relative;
  height: 340svh;
  overflow: clip;
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}

.assembly__sticky {
  position: sticky;
  top: 0;
  height: 100svh;
  overflow: hidden;
}

.assembly__intro,
.assembly__system {
  position: absolute;
  inset: 0;
  will-change: opacity, transform;
}

.assembly__intro {
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 100px var(--gutter) 70px;
  text-align: center;
}

.assembly__intro .section-code {
  position: absolute;
  top: clamp(95px, 12vh, 130px);
  left: var(--gutter);
}

.assembly__intro h2 {
  max-width: 13ch;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(5rem, 8.2vw, 9rem);
  font-weight: 400;
  line-height: 0.75;
  letter-spacing: -0.065em;
}

.assembly__intro h2 em {
  color: var(--olive-deep);
  font-style: normal;
}

.assembly__intro > p:last-child {
  max-width: 48ch;
  margin: clamp(38px, 5vh, 58px) 0 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.65;
}

.assembly__system {
  z-index: 3;
  --system-progress: 0;
  opacity: 0;
  perspective: 1100px;
  pointer-events: none;
}

.assembly__stack {
  position: absolute;
  inset: 0;
  transform-style: preserve-3d;
}

.assembly__stack::before,
.assembly__stack::after {
  content: "";
  position: absolute;
  left: 47%;
  top: 48%;
  border-radius: 50%;
  pointer-events: none;
  will-change: transform, opacity;
}

.assembly__stack::before {
  width: min(59vw, 840px);
  aspect-ratio: 1.9;
  border: 1px solid rgba(102, 118, 75, 0.14);
  opacity: calc(var(--system-progress) * 0.8);
  transform: translate(-50%, -50%) scale(calc(0.72 + var(--system-progress) * 0.28)) rotate(calc(var(--system-progress) * 8deg));
}

.assembly__stack::after {
  width: min(45vw, 650px);
  aspect-ratio: 1.55;
  border: 1px solid rgba(91, 111, 55, 0.16);
  opacity: calc(var(--system-progress) * 0.65);
  transform: translate(-50%, -50%) scale(calc(0.62 + var(--system-progress) * 0.38)) rotate(calc(var(--system-progress) * -13deg));
}

.assembly-layer {
  --focus: 0;
  position: absolute;
  left: 47%;
  top: 48%;
  width: min(42vw, 590px);
  height: 94px;
  transform: translate(-50%, -50%) rotateX(7deg);
  transform-origin: center;
  transform-style: preserve-3d;
  will-change: transform, opacity;
}

.assembly-layer::before {
  content: "";
  position: absolute;
  z-index: 2;
  left: -27px;
  top: 50%;
  width: 7px;
  height: 7px;
  border: 1px solid var(--olive-deep);
  border-radius: 50%;
  opacity: var(--focus);
  transform: translateY(-50%) scale(calc(0.45 + var(--focus) * 0.55));
  box-shadow: 0 0 0 calc(var(--focus) * 7px) rgba(102, 118, 75, 0.08);
}

.assembly-layer__surface {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border: 1px solid rgba(23, 26, 23, 0.12);
  border-radius: 13px;
  background: rgba(242, 240, 233, 0.96);
  box-shadow:
    0 18px 45px rgba(23, 26, 23, 0.1),
    0 0 calc(var(--focus) * 48px) rgba(102, 118, 75, calc(var(--focus) * 0.13));
}

.assembly-layer__surface::after {
  content: "";
  position: absolute;
  z-index: 4;
  inset: -30% -20%;
  background: linear-gradient(105deg, transparent 28%, rgba(255, 255, 255, 0.42) 48%, transparent 68%);
  opacity: calc(var(--focus) * 0.72);
  transform: translate3d(calc(-72% + var(--focus) * 105%), 0, 0);
  pointer-events: none;
}

.assembly-layer > strong {
  position: absolute;
  left: calc(100% + 58px);
  top: 50%;
  display: flex;
  align-items: center;
  gap: 17px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  transform: translateY(-50%);
}

.assembly-layer > strong::before {
  content: "";
  width: 46px;
  height: 1px;
  background: var(--line);
}

.assembly-layer--context .assembly-layer__surface {
  display: flex;
  align-items: flex-end;
  gap: 7px;
  padding: 17px 22px;
}

.assembly-layer--context .assembly-layer__surface::before {
  content: "“";
  position: absolute;
  right: 20px;
  top: -22px;
  color: rgba(102, 118, 75, 0.16);
  font-family: var(--display);
  font-size: 7rem;
  line-height: 1;
}

.assembly-layer--context .assembly-layer__surface > b {
  position: absolute;
  left: 22px;
  top: 14px;
  color: var(--ink);
  font-family: var(--display);
  font-size: 1.12rem;
  font-weight: 500;
}

.assembly-layer--context .assembly-layer__surface > span {
  padding: 5px 8px;
  border: 1px solid rgba(23, 26, 23, 0.14);
  border-radius: 999px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.46rem;
  letter-spacing: 0.08em;
}

.assembly-layer--context .assembly-layer__surface > span:nth-of-type(2) {
  border-color: rgba(102, 118, 75, 0.35);
  color: var(--olive-deep);
}

.assembly-layer--scenario .assembly-layer__surface {
  display: flex;
  align-items: center;
  padding: 17px 30px;
}

.assembly-layer--scenario code {
  color: var(--ink);
  font-family: var(--mono);
  font-size: clamp(0.55rem, 0.72vw, 0.72rem);
  line-height: 1.65;
}

.assembly-layer--character .assembly-layer__surface {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 22px;
  background: var(--olive);
}

.assembly-layer--character .assembly-layer__surface b {
  margin-right: auto;
  color: var(--paper);
  font-family: var(--mono);
  font-size: 0.56rem;
  font-weight: 400;
  line-height: 1.35;
  letter-spacing: 0.09em;
}

.assembly-layer--character .assembly-layer__surface i {
  width: 48px;
  height: 48px;
  border: 1px solid rgba(242, 240, 233, 0.65);
}

.assembly-layer--character .assembly-layer__surface i:nth-of-type(1) {
  border-radius: 50%;
}

.assembly-layer--character .assembly-layer__surface i:nth-of-type(2) {
  border: 0;
  border-radius: 50% 50% 4px 50%;
  background: var(--olive-deep);
}

.assembly-layer--character .assembly-layer__surface i:nth-of-type(3) {
  border-radius: 50%;
  transform: scaleX(1.45);
}

.assembly-layer--personal .assembly-layer__surface {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 12px 26px;
  background: var(--ink);
}

.assembly-personal__mark {
  position: relative;
  flex: 0 0 66px;
  width: 66px;
  height: 66px;
}

.assembly-personal__mark i {
  position: absolute;
  inset: 5px;
  border: 1px solid rgba(242, 240, 233, 0.48);
  border-radius: 47% 53% 56% 44%;
}

.assembly-personal__mark i:nth-child(2) { inset: 12px 7px; transform: rotate(28deg); }
.assembly-personal__mark i:nth-child(3) { inset: 8px 15px; border-color: var(--olive-deep); transform: rotate(-22deg); }
.assembly-personal__mark > b {
  position: absolute;
  left: 50%;
  top: 50%;
  color: var(--paper);
  font-family: var(--mono);
  font-size: 0.52rem;
  font-weight: 400;
  transform: translate(-50%, -50%);
}

.assembly-layer--personal p {
  display: grid;
  gap: 6px;
  margin: 0;
}

.assembly-layer--personal p b {
  color: var(--paper);
  font-family: var(--display);
  font-size: clamp(1rem, 1.35vw, 1.35rem);
  font-weight: 500;
}

.assembly-layer--personal p span {
  color: rgba(242, 240, 233, 0.5);
  font-family: var(--mono);
  font-size: 0.52rem;
}

.assembly__caption {
  position: absolute;
  left: 50%;
  bottom: 92px;
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.56rem;
  letter-spacing: 0.08em;
  opacity: 0;
  transform: translateX(-50%);
}

.assembly__caption span {
  transition: color 180ms ease;
}

.assembly__caption i {
  width: 28px;
  height: 1px;
  background: var(--line);
}

.assembly__system > p {
  position: absolute;
  left: 50%;
  bottom: 48px;
  width: max-content;
  margin: 0;
  color: var(--olive-deep);
  font-family: var(--mono);
  font-size: 0.62rem;
  opacity: 0;
  transform: translateX(-50%);
}

.assembly__progress {
  position: absolute;
  z-index: 5;
  left: var(--gutter);
  right: var(--gutter);
  bottom: 18px;
  height: 1px;
  background: var(--line);
}

.assembly__progress i {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--olive-deep);
  transform: scaleX(0);
  transform-origin: left center;
  will-change: transform;
}

@media (max-width: 760px) {
  .assembly {
    height: auto;
    padding: 100px var(--gutter);
  }

  .assembly__sticky {
    position: relative;
    height: auto;
    overflow: visible;
  }

  .assembly__intro,
  .assembly__system {
    position: relative;
    inset: auto;
    opacity: 1 !important;
    transform: none !important;
  }

  .assembly__intro {
    display: block;
    padding: 0;
    text-align: left;
  }

  .assembly__intro .section-code {
    position: relative;
    top: auto;
    left: auto;
  }

  .assembly__intro h2 {
    margin-top: 52px;
    font-size: clamp(4.1rem, 17vw, 5.6rem);
  }

  .assembly__intro > p:last-child {
    margin-top: 34px;
  }

  .assembly__system {
    margin-top: 78px;
    perspective: none;
  }

  .assembly__stack {
    position: relative;
    display: grid;
    gap: 15px;
  }

  .assembly__stack::before,
  .assembly__stack::after,
  .assembly-layer::before,
  .assembly-layer__surface::after {
    display: none;
  }

  .assembly-layer {
    position: relative;
    left: auto;
    top: auto;
    width: 100%;
    height: 112px;
    transform: none !important;
  }

  .assembly-layer__surface {
    border-radius: 10px;
    box-shadow: none;
  }

  .assembly-layer > strong {
    left: auto;
    right: 14px;
    top: 14px;
    color: var(--ink);
    font-size: 0.48rem;
    transform: none;
  }

  .assembly-layer > strong::before {
    display: none;
  }

  .assembly-layer--scenario code {
    max-width: 29ch;
    font-size: 0.52rem;
  }

  .assembly__caption {
    position: relative;
    left: auto;
    bottom: auto;
    flex-wrap: wrap;
    gap: 9px;
    margin-top: 32px;
    opacity: 1 !important;
    transform: none;
  }

  .assembly__caption i {
    width: 14px;
  }

  .assembly__system > p {
    position: relative;
    left: auto;
    bottom: auto;
    width: auto;
    margin-top: 22px;
    opacity: 1 !important;
    line-height: 1.55;
    transform: none;
  }

  .assembly__progress {
    display: none;
  }
}
@keyframes engine-pulse {
  0%, 100% { opacity: .45; scale: .85; }
  50% { opacity: 1; scale: 1; }
}

@keyframes engine-pulse-node {
  0%, 100% { box-shadow: 0 0 0 0 rgba(102, 118, 75, 0); }
  50% { box-shadow: 0 0 0 18px rgba(102, 118, 75, .13); }
}

@keyframes engine-bars {
  to { height: 96%; }
}

@keyframes engine-orbit {
  to { rotate: 360deg; }
}

@keyframes logic-blink {
  50% { color: var(--paper); }
}

.approach__orbit {
  position: absolute;
  z-index: 0;
  inset: -3% -10% 4% 17%;
  border: 1px solid rgba(102, 118, 75, 0.2);
  border-radius: 50%;
  rotate: -13deg;
}

.approach__orbit::after {
  position: absolute;
  content: "";
  inset: 12% -5% 17% 8%;
  border: 1px solid rgba(95, 112, 54, 0.22);
  border-radius: 50%;
  rotate: 23deg;
}

.approach__orbit i {
  position: absolute;
  z-index: 3;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--olive-deep);
}

.approach__orbit i:nth-child(1) { left: 4%; top: 51%; }
.approach__orbit i:nth-child(2) { right: 10%; top: 12%; background: var(--olive); }
.approach__orbit i:nth-child(3) { left: 57%; bottom: -4px; background: var(--olive); }

.contact__orbit {
  position: absolute;
  z-index: 1;
  right: -4%;
  top: 28%;
  width: 62%;
  aspect-ratio: 1.8 / 1;
  border: 1px solid rgba(102, 118, 75, 0.18);
  border-radius: 50%;
  rotate: -11deg;
}

.contact__orbit::after {
  position: absolute;
  content: "";
  inset: 16% -5% 8% 4%;
  border: 1px solid rgba(102, 118, 75, 0.2);
  border-radius: 50%;
  rotate: 18deg;
}

.contact__orbit i {
  position: absolute;
  z-index: 2;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--olive);
}

.contact__orbit i:nth-child(1) { left: 4%; top: 50%; background: var(--olive-deep); }
.contact__orbit i:nth-child(2) { left: 32%; top: -5px; background: var(--olive); }
.contact__orbit i:nth-child(3) { right: -5px; top: 40%; }
.contact__orbit i:nth-child(4) { left: 51%; bottom: -5px; background: var(--ink); }
.contact__orbit i:nth-child(5) { left: 23%; bottom: 12%; }

.cursor {
  position: fixed;
  z-index: 110;
  width: 0;
  height: 0;
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
  border-left: 15px solid var(--olive);
  pointer-events: none;
  opacity: 0;
  transform: translate(-2px, -2px) rotate(-30deg);
  transition: opacity 180ms ease, scale 180ms var(--ease);
}

body.has-pointer .cursor {
  opacity: 1;
}

body.is-link .cursor {
  scale: 1.6;
}

/* Integrate the original objects into the Editorial Olive layout. */
.hero { position: relative; }
.scroll-cue { position: absolute; left: var(--gutter); bottom: 28px; display: inline-flex; gap: 20px; align-items: center; min-height: 32px; color: var(--muted); font: 10px/1.5 var(--mono); }
.scroll-cue span { display: inline-block; animation: nudge 1.6s ease-in-out infinite; }
@keyframes nudge { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(5px); } }
body.is-preview .cursor { opacity: 0; }
.product-engine__bar, .product-engine__readout { color: var(--on-dark-muted); }
.product-engine__bar { font-size: 8px; }
.product-engine__readout { gap: 12px; font-size: 8px; letter-spacing: .02em; }
.product-engine__readout b { color: var(--paper); font-weight: 400; }
.product-engine__controls button { min-height: 48px; color: var(--on-dark-muted); }
.product-engine__controls button:hover,
.product-engine__controls button.is-active { background: var(--olive-deep); color: var(--paper); }
.product-engine__viewport { aspect-ratio: auto; }
.product-engine :focus-visible { outline-color: var(--sage); outline-offset: -5px; }
.specimen-scene--structure strong { line-height: .8; left: 30%; top: 22%; font-size: clamp(64px, 5.7vw, 90px); }
.specimen-scene--logic { background: var(--olive-deep); }
.specimen-scene--logic > div span { color: var(--sage); }
.specimen-scene--logic > div i { color: var(--paper); }
.specimen-scene--motion { font-size: clamp(75px, 8.2vw, 128px); }
.specimen-scene--motion > span:nth-child(3) { bottom: 6%; }
.specimen-scene--motion > span:nth-child(2) { color: var(--sage); }
.specimen-scene--motion > b { bottom: 2%; }
.specimen-node--b, .specimen-node--c { color: var(--olive-deep); }

.motion-portfolio { margin-top: 18px; }
.motion-portfolio__note { max-width: 74ch; margin-bottom: 46px; font-size: 12px; color: var(--muted); }
.projects-table__head, .project__row { grid-template-columns: 48px minmax(0, 1fr) 160px minmax(160px, .36fr) 26px; }
.project__row strong { line-height: .95; }
.project__status.concept-label { margin-left: 0; }
.project__gallery--real img { width: 100%; height: 280px; object-fit: cover; object-position: top; }
.project__gallery--real + .text-link { margin-top: 28px; }
.project-follower__panel > img { object-fit: cover; object-position: top; }
.project-follower > span::after { color: var(--sage); }
.project-art--notam { color: #fff; }
.project-art--levelup > span { color: var(--sage); }
.project__details-inner { overflow: hidden; }

.assembly { --display: var(--sans); --muted: var(--on-dark-muted); --line: var(--dark-line); background: var(--ink); color: var(--paper); }
.assembly__intro h2 { line-height: .9; }
.assembly__intro h2 em { color: var(--sage); }
.assembly__intro .section-code { color: var(--on-dark-muted); }
.assembly__system > p { color: var(--sage); }
.assembly-layer__surface { --muted: #575d52; --line: rgb(23 26 23 / 20%); color: var(--ink); }
.assembly-layer > strong { color: var(--sage); }
.assembly-layer--character .assembly-layer__surface { background: var(--olive-deep); }
.assembly-layer--character .assembly-layer__surface i:nth-of-type(2) { background: var(--sage); }
.assembly-layer--personal .assembly-layer__surface { border-color: var(--dark-line); }
.assembly-layer--personal p span { color: var(--on-dark-muted); }
.assembly__stack::before { border-color: rgb(213 217 201 / 18%); }
.assembly__stack::after { border-color: rgb(213 217 201 / 14%); }
.assembly__progress i { background: var(--sage); }

/* A static layout is also the default before JavaScript initializes. */
.assembly.is-static { height: auto; padding: 90px var(--gutter); }
.assembly.is-static .assembly__sticky { position: relative; height: auto; overflow: visible; }
.assembly.is-static .assembly__intro, .assembly.is-static .assembly__system { position: relative; inset: auto; opacity: 1 !important; transform: none !important; }
.assembly.is-static .assembly__intro { display: block; padding: 0; text-align: left; }
.assembly.is-static .assembly__intro .section-code { position: static; }
.assembly.is-static .assembly__intro h2 { max-width: 19ch; margin-top: 30px; }
.assembly.is-static .assembly__system { margin: 60px auto 0; max-width: 700px; perspective: none; }
.assembly.is-static .assembly__stack { position: relative; display: grid; gap: 20px; }
.assembly.is-static .assembly-layer { position: relative; left: auto; top: auto; width: 100%; height: 112px; opacity: 1 !important; transform: none !important; }
.assembly.is-static .assembly-layer > strong { left: auto; right: 14px; top: 12px; color: var(--ink); font-size: 8px; transform: none !important; opacity: 1 !important; }
.assembly.is-static .assembly-layer--personal > strong, .assembly.is-static .assembly-layer--character > strong { color: var(--paper); }
.assembly.is-static .assembly-layer > strong::before, .assembly.is-static .assembly__stack::before, .assembly.is-static .assembly__stack::after, .assembly.is-static .assembly-layer::before { display: none; }
.assembly.is-static .assembly__caption { position: relative; left: auto; bottom: auto; flex-wrap: wrap; margin-top: 32px; transform: none; opacity: 1 !important; }
.assembly.is-static .assembly__system > p { position: static; width: auto; margin-top: 24px; line-height: 1.6; transform: none !important; opacity: 1 !important; }
.assembly.is-static .assembly__progress { display: none; }

.approach { overflow: clip; }
.approach__route { position: relative; }
.approach__route > article { position: relative; z-index: 1; }
.contact { position: relative; overflow: clip; isolation: isolate; }
.contact__intro, .contact-form { position: relative; z-index: 2; }
.contact__orbit { z-index: 0; pointer-events: none; border-color: rgb(213 217 201 / 18%); }
.contact__orbit::after { border-color: rgb(213 217 201 / 14%); }
.contact__orbit i { background: var(--sage) !important; }
.contact h2 em { color: transparent; -webkit-text-stroke: 1px var(--sage); transition: color 600ms var(--ease), -webkit-text-stroke-color 600ms var(--ease); }
.contact:hover h2 em, .contact:focus-within h2 em { color: var(--sage); }
.js .reveal { transition-duration: 900ms, 900ms; }

@media (hover: hover) and (pointer: fine) {
  body.custom-cursor-ready.has-pointer, body.custom-cursor-ready.has-pointer * { cursor: none !important; }
}
@media (hover: none), (pointer: coarse) {
  .cursor, .project-follower { display: none; }
  .contact h2 em { color: var(--sage); }
}
@media (min-width: 761px) { .proof__statement { position: sticky; top: 80px; } }
@media (min-width: 901px) and (max-height: 850px) { .product-engine { max-width: 450px; } }
@media (max-width: 980px) {
  .projects-table__head, .project-follower { display: none; }
  .project__row { grid-template-columns: 32px minmax(0, 1fr) 26px; gap: 8px 16px; }
  .project__row strong { grid-column: 2; grid-row: 1; font-size: clamp(34px, 6vw, 62px); }
  .project__row .project__index { grid-column: 1; grid-row: 1; }
  .project__row > i { grid-column: 3; grid-row: 1; }
  .project__row > span:not(.project__index) { display: none; }
  .project__row > .project__status { display: block !important; grid-column: 2; grid-row: 2; margin: 3px 0 0; font-size: 9px !important; }
  .project__preview-source { display: block; aspect-ratio: 16 / 9; margin: 0 0 28px 48px; overflow: hidden; }
  .project__preview-source > * { width: 100%; height: 100%; object-fit: cover; object-position: top; }
  .project__details-inner { padding-left: 48px; padding-bottom: 48px; }
  .project__statement { display: block; }
  .project__statement h3 { margin-top: 24px; font-size: clamp(34px, 5vw, 56px); line-height: .98; }
  .project__description, .project__facts { margin-left: 0; }
  .project__description { padding-left: 16px; font-size: 13px; }
  .project__gallery { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-inline: contain; }
  .project__gallery > * { flex: 0 0 88%; scroll-snap-align: start; }
  .product-engine__status { font-size: 7px; }
}
@media (max-width: 760px) {
  .assembly__intro h2 { font-size: clamp(52px, 13.4vw, 84px); line-height: .95; margin-top: 34px; }
  .assembly-layer--character > strong, .assembly-layer--personal > strong { color: var(--paper); }
  .assembly-layer--context > strong, .assembly-layer--scenario > strong { color: var(--ink); }
  .assembly-layer__surface::after { display: none; }
}
@media (max-width: 600px) {
  .product-engine { max-width: 480px; min-height: 350px; aspect-ratio: 1.05; border-radius: 14px; }
  .product-engine__bar { font-size: 7px; letter-spacing: .02em; padding-inline: 12px; }
  .product-engine__readout { padding-inline: 12px; font-size: 7px; }
  .product-engine__controls button { font-size: 8px; padding-inline: 5px; }
  .specimen-scene--structure strong { left: 22%; top: 25%; font-size: clamp(52px, 15vw, 74px); }
  .specimen-node { width: 43px; font-size: 7px; }
  .specimen-scene--interface { grid-template-columns: 38px minmax(0, 1fr) 78px; grid-template-rows: 48px 1fr; }
  .specimen-ui__head { padding: 10px; font-size: 7px; }
  .specimen-ui__head b { font-size: 13px; }
  .specimen-ui__chart { padding: 28px 12px 16px; }
  .specimen-ui__metric { padding: 12px; font-size: 7px; }
  .specimen-ui__metric strong { font-size: 48px; }
  .specimen-scene--motion { font-size: clamp(68px, 21vw, 100px); }
  .specimen-scene--logic { padding: 7%; }
  .specimen-scene--logic > div { gap: 10px; grid-template-columns: 22px 1fr auto; font-size: 8px; padding-block: 10px; }
  .specimen-scene--logic > strong { font-size: 36px; }
  .project__details-inner { padding-left: 0; }
  .project__preview-source { margin-left: 0; }
  .project__facts { gap: 12px; font-size: 9px; }
  .project__gallery .project-art { min-height: 230px; }
  .motion-portfolio__note { font-size: 11px; margin-bottom: 30px; }
  .assembly { padding-inline: var(--gutter); }
  .assembly-layer--context .assembly-layer__surface { gap: 4px; padding-inline: 14px; }
  .assembly-layer--context .assembly-layer__surface > b { left: 14px; font-size: 15px; }
  .assembly-layer--context .assembly-layer__surface > span { padding-inline: 5px; font-size: 6px; }
  .assembly-layer--scenario .assembly-layer__surface { padding-inline: 18px; }
  .assembly-layer--character .assembly-layer__surface { gap: 9px; padding-inline: 16px; }
  .assembly-layer--character .assembly-layer__surface i { width: 34px; height: 34px; }
  .assembly-layer--personal .assembly-layer__surface { gap: 12px; padding-inline: 14px; }
  .assembly-layer--personal p b { font-size: 14px; }
  .assembly-layer--personal p span { font-size: 7px; }
  .assembly-personal__mark { flex-basis: 48px; width: 48px; height: 48px; }
  .assembly__caption { font-size: 8px; }
  .assembly__system > p { font-size: 10px; }
  .approach__orbit { inset: 4% 0 8% 15%; }
  .contact__orbit { width: 110%; right: -25%; top: 12%; }
}
@media (prefers-reduced-motion: reduce) {
  .cursor, .project-follower { display: none !important; }
  body.custom-cursor-ready.has-pointer, body.custom-cursor-ready.has-pointer * { cursor: auto !important; }
  .contact h2 em { color: var(--sage); }
  .product-engine *, .assembly * { animation: none !important; transition-duration: .01ms !important; }
  .js .reveal { transition-delay: 0ms !important; }
}

