.section {
  padding-block: 108px;
  scroll-margin-top: 0;
}
.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 45px;
  margin-bottom: 50px;
}
.section-intro {
  color: var(--muted);
  font-size: 13px;
  padding-bottom: 6px;
  line-height: 2;
}
.scene-switcher {
  border-top: 1px solid var(--line);
}
.scene-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-bottom: 30px;
}
.scene-tabs button {
  position: relative;
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  margin-right: 35px;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
  text-align: left;
  font-size: 12px;
  color: var(--muted);
}
.scene-tabs button:last-child {
  margin-right: 0;
}
.scene-tabs button[aria-selected="true"] {
  color: var(--ink);
  border-bottom-color: var(--ink);
}
.scene-tabs button > span {
  font: 11px monospace;
  color: var(--gold-text);
}
.ink .scene-tabs button > span {
  color: var(--gold-light);
}
.scene-panel {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 50px;
  align-items: center;
  margin-bottom: 36px;
}
.scene-panel .screen-link {
  border: 1px solid var(--line);
  border-radius: 5px;
  box-shadow: 0 20px 55px #51473715;
}
.scene-copy .tiny-label {
  margin-bottom: 25px;
}
.scene-copy h3 {
  font-size: 29px;
  line-height: 1.5;
}
.scene-copy p {
  margin-block: 20px;
  color: var(--muted);
  font-size: 13px;
}
.rewrite-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 100px;
  align-items: start;
}
.rewrite-copy {
  position: sticky;
  top: 115px;
}
.rewrite-copy > p:not(.eyebrow) {
  margin-block: 26px;
  font-size: 13px;
  line-height: 2;
}
.rewrite-copy .text-link {
  color: var(--gold-light);
}
.independent-note {
  margin-top: 50px;
  border-top: 1px solid #4a4235;
  padding-top: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  font-size: 11px;
}
.independent-note > span {
  width: 100%;
  margin-bottom: 8px;
  color: #998e7a;
}
.independent-note p {
  font-size: 10px;
  margin-top: 12px;
}
.rewrite-story {
  min-width: 0;
}
.ink .tiny-label {
  color: #a99b84;
}
.story-steps {
  list-style: none;
  padding: 0;
  margin: 25px 0;
}
.story-steps li {
  border-top: 1px solid #494237;
}
.story-steps li:last-child {
  border-bottom: 1px solid #494237;
}
.story-steps button {
  width: 100%;
  border: 0;
  background: transparent;
  display: grid;
  grid-template-columns: 30px 1fr 20px;
  align-items: start;
  gap: 15px;
  text-align: left;
  padding: 25px 0;
}
.story-steps button > span {
  color: #a99b84;
  font: 13px/2 var(--serif);
}
.story-steps h3 {
  font: 600 17px/1.7 var(--sans);
  color: #e0d9cc;
}
.story-steps p {
  font-size: 12px;
  margin-top: 8px;
  color: #8f8a80;
}
.story-steps b {
  font-size: 16px;
  font-weight: 400;
  opacity: 0.4;
}
.story-steps .is-active h3,
.story-steps .is-active button > span {
  color: var(--gold-light);
}
.story-steps .is-active b {
  opacity: 1;
  color: var(--gold-light);
  transform: rotate(45deg);
}
.story-steps .is-active {
  background: linear-gradient(90deg, #b08a4a08, #b08a4a12);
}
.story-path {
  display: flex;
  align-items: center;
  gap: 15px;
  font-size: 10px;
  color: var(--gold-light);
}
.story-path i {
  flex: 1;
  height: 1px;
  background: #655338;
}
.story-status {
  font-size: 10px;
  min-height: 40px;
  padding-top: 14px;
}
.rewrite-story .screen-link {
  margin-top: 22px;
  max-height: 310px;
  border: 1px solid #645438;
}
.rewrite-story .screen-link img {
  object-fit: cover;
  object-position: top;
}

.output-proof {
  margin-top: 60px;
}
