.continuation :focus-visible {
  outline-color: currentColor;
}

html.menu-open,
html.menu-open body {
  overflow: hidden;
}

.continuation section {
  position: relative;
}

.section-wrap {
  width: min(calc(1400px * var(--content-scale)), calc(100% - 96px));
  margin: 0 auto;
}

.section-title {
  font: 500 calc(32px * var(--content-scale)) / 1.25 "JetBrains Mono", monospace;
  letter-spacing: -0.04em;
}

.section-title span {
  display: block;
}

.continuation h3,
.step-title {
  font: 500 calc(22px * var(--content-scale)) / 1.2 "JetBrains Mono", monospace;
  letter-spacing: -0.04em;
}

.continuation p,
.step-copy {
  font-size: max(12px, calc(14px * var(--content-scale)));
  line-height: 1.6;
}

#how-we-work {
  height: 400svh;
  background: #eef0e8;
  color: #080a04;
}

#how-we-work .pin {
  position: sticky;
  top: 0;
  height: 100svh;
  display: flex;
  align-items: center;
}

.process-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: calc(120px * var(--content-scale));
  row-gap: calc(56px * var(--content-scale));
  align-items: center;
}

.process-grid .section-title {
  grid-column: 1 / -1;
}

.process-steps {
  display: grid;
  gap: calc(26px * var(--content-scale));
}

.step {
  display: flex;
  gap: 16px;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  text-align: left;
  color: #61655a;
  opacity: 0.55;
  cursor: pointer;
  transition: color 450ms ease, opacity 450ms ease, transform 450ms ease;
}

.step.is-active {
  color: #080a04;
  opacity: 1;
  transform: translateX(calc(14px * var(--content-scale)));
}

.step-marker {
  width: calc(12px * var(--content-scale));
  height: calc(12px * var(--content-scale));
  margin-top: 6px;
  background: #d2fc52;
  flex: none;
  transition: transform 450ms ease;
}

.step.is-active .step-marker {
  transform: rotate(12deg);
}

.step-title,
.step-copy {
  display: block;
}

.step-copy {
  margin-top: 6px;
}

.ascii-panel {
  position: relative;
  aspect-ratio: 4 / 3;
  background: var(--bg) radial-gradient(circle, #d2fc5233 1px, transparent 1.6px) 0 0 / 12px 18px;
  overflow: hidden;
}

.ascii-panel canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
}

.ascii-panel.is-live canvas {
  opacity: 1;
  transition: opacity 650ms ease;
  transform: scale(1);
}

#selected-concepts {
  background: #d2fc52;
  color: #080a04;
  padding: calc(170px * var(--content-scale)) 0;
}

.work-grid {
  display: grid;
  grid-template-columns: 400fr 880fr;
  gap: calc(120px * var(--content-scale));
  align-items: start;
}

.work-sticky {
  position: sticky;
  top: max(140px, calc(170px * var(--content-scale)));
}

.work-lead {
  max-width: calc(400px * var(--content-scale));
  margin-top: 20px;
  color: #3e4436;
}

.work-nav {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}

.work-nav button {
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  text-align: left;
  color: #3e4436;
  cursor: pointer;
  font-size: max(12px, calc(13px * var(--content-scale)));
}

.work-nav button:hover,
.work-nav button.is-active {
  color: #080a04;
}

.work-nav .ascii-panel {
  width: calc(100px * var(--content-scale));
  flex: none;
}

.work-projects {
  display: grid;
  gap: calc(100px * var(--content-scale));
}

.work-projects h3 {
  margin-top: 18px;
}

.work-projects p {
  margin-top: 8px;
  color: #3e4436;
}

.work-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  color: #080a04;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  border-bottom: 1px solid #080a04;
  padding-bottom: 2px;
}

.work-link::after {
  content: "→";
  transition: transform 250ms ease;
}

.work-link:hover::after,
.work-link:focus-visible::after {
  transform: translateX(4px);
}

#model-detail,
#start-project {
  display: none;
}

#questions {
  background: #d2fc52;
  color: #080a04;
  padding: calc(170px * var(--content-scale)) 0;
}

.questions-grid {
  display: grid;
  grid-template-columns: 480fr 800fr;
  gap: calc(120px * var(--content-scale));
  align-items: start;
}

.faq details {
  border-bottom: 1px solid #080a0426;
}

.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: calc(28px * var(--content-scale)) 0;
  font-size: calc(22px * var(--content-scale));
  line-height: 1.25;
  cursor: pointer;
  list-style: none;
}

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

.faq .plus {
  font-size: calc(24px * var(--content-scale));
  transition: transform 300ms ease;
}

.faq details[open] .plus {
  transform: rotate(45deg);
}

.faq details p {
  color: #3e4436;
  padding: 0 32px calc(30px * var(--content-scale)) 0;
  animation: answer 350ms ease;
}

@keyframes answer {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

#studio-menu {
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
}

#studio-menu::backdrop {
  background: #05050520;
}

.menu-shell {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 24svh;
  background: #30312e;
  color: #f3f3ed;
  transform: translateY(-110%);
  opacity: 0;
  transition: transform 750ms var(--ease), opacity 450ms ease;
}

.menu-shell.is-open {
  transform: translateY(0);
  opacity: 1;
}

.menu-close {
  position: absolute;
  top: 20px;
  right: 48px;
  width: 112px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 10px;
  border: 0;
  background: transparent;
  color: #f3f3ed;
  font-size: 12px;
  cursor: pointer;
}

.menu-x {
  position: relative;
  width: 20px;
  height: 20px;
}

.menu-x::before,
.menu-x::after {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 20px;
  height: 2px;
  background: currentColor;
}

.menu-x::before {
  transform: rotate(45deg);
}

.menu-x::after {
  transform: rotate(-45deg);
}

.menu-body {
  position: absolute;
  inset: 20px 184px 20px 48px;
  display: grid;
  grid-template-columns: 1.35fr 0.9fr 1.1fr;
  gap: 32px;
  align-items: center;
}

.menu-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px 16px;
  align-content: center;
}

.menu-nav a {
  display: flex;
  align-items: center;
  min-height: 1.25em;
  overflow: hidden;
  color: #f3f3ed;
  text-decoration: none;
  font-size: clamp(13px, 1.1vw, 20px);
  line-height: 1.25;
  transform: translateY(110%);
  transition: transform 650ms var(--ease), color 200ms ease, padding-left 200ms ease;
}

.menu-shell.is-open .menu-nav a:nth-child(1) {
  transform: none;
  transition-delay: 0ms;
}

.menu-shell.is-open .menu-nav a:nth-child(2) {
  transform: none;
  transition-delay: 60ms;
}

.menu-shell.is-open .menu-nav a:nth-child(3) {
  transform: none;
  transition-delay: 100ms;
}

.menu-shell.is-open .menu-nav a:nth-child(4) {
  transform: none;
  transition-delay: 140ms;
}

.menu-shell.is-open .menu-nav a:nth-child(5) {
  transform: none;
  transition-delay: 180ms;
}

.menu-shell.is-open .menu-nav a:nth-child(6) {
  transform: none;
  transition-delay: 220ms;
}

.menu-shell.is-open .menu-nav a:nth-child(7) {
  transform: none;
  transition-delay: 260ms;
}

.menu-shell.is-open .menu-nav a:nth-child(8) {
  transform: none;
  transition-delay: 220ms;
}

.menu-nav a.nav-app {
  color: #d2fc52;
}

.menu-nav a::before {
  content: "";
  width: 0.38em;
  height: 0.38em;
  margin-right: 0;
  background: #d2fc52;
  transform: scale(0);
  flex: none;
}

.menu-nav a:hover,
.menu-nav a.is-active {
  color: #d2fc52;
  padding-left: 0.75em;
}

.menu-nav a:hover::before,
.menu-nav a.is-active::before {
  transform: scale(1);
}

.menu-nav a.nav-extra {
  display: none;
}

.menu-kicker {
  color: #bbbdb4;
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

#menu-copy {
  margin-top: 12px;
  font-size: 14px;
  line-height: 1.5;
}

.menu-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.menu-card {
  display: grid;
  gap: 8px;
  color: #f3f3ed;
  text-decoration: none;
  font-size: 9px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.menu-card .ascii-panel {
  display: block;
  width: 100%;
}

.menu-card .ascii-panel canvas {
  transition: transform 700ms var(--ease), opacity 400ms ease;
}

.menu-card:hover .ascii-panel canvas {
  transform: scale(1.04);
}

#model-detail .detail-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 32px;
}
