/* Only ink-on-paper sections grow; interface controls retain their hit areas. */
@media screen {
  .scene-version .type-led {
    --display-size: calc(var(--type-heading) * 1.5);
    --copy-size: calc(var(--type-body) * 1.5);
    --list-size: 34.5px;
  }
  .scene-version .type-led:is([id]) h2 {
    font-size: var(--display-size);
    line-height: 1.07;
  }
  .scene-version .type-led:is([id]) .prose,
  .scene-version .type-led:is([id]) .prose p {
    font-size: var(--copy-size);
    line-height: 1.33;
  }
  .scene-version .type-led:is([id]) .compact-list:not(.topic-pills) {
    font-size: var(--list-size);
    line-height: 1.25;
  }
  .scene-version .type-led:is([id]) .spoiler,
  .scene-version .type-led:is([id]) .prose { max-width: min(100%, 960px); }
  .scene-version .type-led .folding,
  .scene-version .type-led:not(:has(.scene-accent)) > .panel {
    width: min(100%, 1230px);
    max-width: 1230px;
  }
  .scene-version .type-led .compact-list:not(.topic-pills) { max-width: 1050px; }
  .type-led-article .reading-main { width: min(calc(100% - 56px), 65rem); }
  .type-led-article .read-article,
  .type-led-article .read-article .prose,
  .type-led-article .read-article .key-points { font-size: 30px; line-height: 1.48; }
  .type-led-article .read-article h1 { font-size: clamp(54px, 6.6vw, 90px); line-height: 1.1; }
  .type-led-article .read-article h2 { font-size: 57px; }
  .type-led-article .read-article :is(h3,.section-heading--small) { font-size: 45px; }
  .type-led-article .read-article h4 { font-size: 37.5px; }
  .type-led-article .read-article .statement { font-size: 36px; }
  .type-led-article .read-article .article-flow > .prose:first-of-type > p:first-child { font-size: 33px; line-height: 1.4; }
  .type-led-article .result-pair dt { font-size: 27px; }
  .type-led-article .result-pair dd { font-size: 30px; }
}
@media screen and (min-width:701px) {
  .scene-version .page-deck-stage #method {
    --photo-width: clamp(165px, 24vw, 369px);
    padding-inline: clamp(24px, 4vw, 68px) calc(var(--photo-width) + clamp(24px, 4vw, 68px));
  }
  .scene-version .page-deck-stage #method.type-led:has(.scene-next) > .panel { width: 100%; max-width: 1160px; }
  .scene-version .page-deck-stage #method .scene-next {
    width: var(--photo-width);
    height: clamp(255px, 57dvh, 525px);
    right: 0;
    top: calc(50% + var(--header-height) / 2);
  }
}
@media screen and (max-width:700px) {
  .scene-version .type-led { --list-size: 27px; }
  .scene-version .type-led:is([id]) > .panel { width: 100%; max-width: 540px; }
  .scene-version .type-led:is([id]) .reading-open .fold-content { padding-top: 0; }
  .scene-version #method h2.editorial-method-title,
  .type-led-article #method-title.editorial-method-title {
    width: 100%; max-width: 100%; margin-inline: 0;
    font-size: clamp(30.9px, 9.12vw, 35.55px);
    line-height: 1.12;
    text-wrap: balance;
  }
  .scene-version #method .method-title-line,
  .type-led-article .method-title-line { display: contents; }
  .scene-version .page-deck-stage #method .scene-next {
    width: clamp(123px, 39vw, 189px);
    height: 87px;
    margin-inline-end: -20px;
  }
  .scene-version .type-led:is(#work) .compact-list {
    column-gap: 12px; row-gap: 8px;
  }
  .type-led-article .reading-main { width: calc(100% - 36px); }
  .type-led-article .read-article,
  .type-led-article .read-article .prose,
  .type-led-article .read-article .key-points { font-size: 27px; }
  .type-led-article .read-article h1 { font-size: clamp(43.5px, 13.05vw, 51px); }
  .type-led-article .read-article h2 { font-size: 42px; }
  .type-led-article .read-article :is(h3,.section-heading--small) { font-size: 37.5px; }
  .type-led-article .read-article h4 { font-size: 33px; }
  .type-led-article .read-article .statement { font-size: 31.5px; }
  .type-led-article .read-article .article-flow > .prose:first-of-type > p:first-child { font-size: 30px; }
  .type-led-article .result-pair dt { font-size: 24px; }
  .type-led-article .result-pair dd { font-size: 25.5px; }
}
@media screen and (max-width:700px) and (max-height:740px) {
  .scene-version .type-led .panel, .scene-version .type-led .direction-link { gap: 10px; }
  .scene-version .type-led .prose > * + * { margin-top: .6em; }
  .scene-version .page-deck-stage #leaders { gap: 6px; }
  .scene-version .page-deck-stage #leaders .scene-next { height: 44px; }
  .scene-version .page-deck-stage #method { gap: 10px; }
  .scene-version .page-deck-stage #method .scene-next { height: 64px; }
}
@media screen and (min-width:701px) and (max-height:500px) {
  .scene-version .type-led { --list-size: 27px; }
}

/* The original inset photograph continues across the moving page edge. */
.scene-version #method .scene-next, .photo-pull-edge {
  background-image: var(--scene-photo);
  background-position: 88% center;
  background-size: cover;
  background-color: var(--mist);
  opacity: 1;
  border-radius: 999px 0 0 999px;
}
.scene-version #method .scene-next { --peek-x: 0px; --peek-y: 0px; transition: none; }
.scene-version #method .scene-next:is(:hover,:focus-visible) { transform: translateY(-50%); }
@media (max-width:700px) {
  .scene-version #method .scene-next:is(:hover,:focus-visible) { transform: none; }
}
.scene-version #method .direction-link { transform: none; }
.page-deck-stage [data-pull-layer="base"] { z-index: 1; }
.page-deck-stage [data-pull-layer="sheet"] { z-index: 2; }
.page-deck-stage [data-pull-layer="base"] :is(.scene-next,.article-photo) { visibility: hidden; }
.photo-pull-edge {
  position: absolute;
  pointer-events: none;
  z-index: 3;
  left: 0;
  top: 0;
  background-repeat: no-repeat;
}

/* Two readings share a single frame. With scripts disabled both remain in the document flow. */
.method-copies { width: 100%; display: grid; justify-items: center; gap: var(--space-screen); }
@media screen {
  .page-deck-stage .method-copies {
    max-width: 1160px;
    grid-template-columns: minmax(0, 1fr);
    align-items: center;
    gap: 0;
  }
  .scene-version .page-deck-stage #method [data-copy] {
    grid-area: 1 / 1;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    margin: 0;
    padding: 0;
    background: transparent;
  }
  .page-deck-stage [data-copy][inert] { visibility: hidden; pointer-events: none; }
  .scene-version #method #moment-title { margin-inline: auto; }
  .scene-version #tina .article-photo {
    opacity: 1;
    left: 0;
    border-radius: 0 999px 999px 0;
    width: clamp(165px, 24vw, 369px);
    height: clamp(255px, 57dvh, 525px);
    top: calc(50% + var(--header-height) / 2);
  }
  .scene-version #projects > .panel {
    width: min(100%, 1500px);
    max-width: 1500px;
    gap: clamp(16px, 3.65vh, 38px);
  }
  .scene-version #projects .brand-grid { max-width: 1500px; gap: clamp(12px, 1.5vw, 23px); }
  .scene-version #projects .brand-card {
    height: clamp(96px, 23dvh, 208px);
    min-height: 0;
    transition: transform 600ms cubic-bezier(.22,.65,.25,1), box-shadow 600ms ease;
  }
  .scene-version #projects .brand-card--featured { height: clamp(118px, 30dvh, 270px); }
  .scene-version #projects h2 { font-size: clamp(36px, 5.1vw, 68px); }
  /* Illustrative Pexels photographs: Ketut Subiyanto 4623479 and Mike Jones 8805181. */
  .scene-version #projects .brand-card--mts { --case-photo: url("brands/mts-workshop.jpg"); }
  .scene-version #projects .brand-card--perekrestok { --case-photo: url("brands/perekrestok-produce.jpg"); }
  .scene-version #projects .brand-card--featured::before {
    inset: 0 0 0 auto;
    width: 48%;
    background-image: var(--case-photo);
    background-position: 50% 28%;
    border-radius: 55% 0 0 55% / 85% 0 0 85%;
    clip-path: none;
    filter: saturate(.62) contrast(.92);
    opacity: .94;
  }
  .scene-version #projects .brand-card--featured :is(.brand-name,.brand-visual) { width: 59%; padding-inline: 12px; }
}
@media screen and (min-width:701px) {
  .scene-version .page-deck-stage #tina { padding-inline: calc(clamp(165px, 24vw, 369px) + 4vw) 4vw; }
  .scene-version .page-deck-stage #tina:has(.article-photo) > .panel { width: 100%; max-width: 1160px; }
}
@media screen and (max-width:700px) {
  .scene-version .page-deck-stage #tina {
    flex-direction: column;
    align-items: center;
    justify-content: safe center;
    gap: 14px;
  }
  .scene-version .page-deck-stage #tina .article-photo {
    display: block;
    position: relative;
    inset: auto;
    order: 1;
    align-self: flex-start;
    flex: none;
    margin-inline-start: -20px;
    width: clamp(123px, 39vw, 189px);
    height: clamp(54px, 10dvh, 87px);
    transform: none;
  }
  .scene-version #method #moment-title { font-size: clamp(31px, 8.8vw, 46px); line-height: 1.11; }
  .scene-version #projects > .panel { max-width: 540px; gap: 20px; }
  .scene-version #projects .brand-grid { gap: 10px; }
  .scene-version #projects h2 { font-size: clamp(29px, 8.2vw, 42px); }
  .scene-version #projects .brand-card { height: clamp(100px, 17dvh, 148px); }
  .scene-version #projects .brand-card--featured { height: clamp(138px, 22dvh, 188px); }
  .scene-version #projects .brand-card--featured::before {
    width: 100%; height: 47%; border-radius: 0 0 58% 18% / 0 0 26% 12%; background-position: center 34%;
  }
  .scene-version #projects .brand-card--mts::before { background-position: center 19%; }
  .scene-version #projects .brand-card--featured .brand-name { width: 100%; bottom: 8px; }
  .scene-version #projects .brand-card--featured .brand-visual { inset: auto 0 26px; width: 100%; height: 31%; padding: 6px 12px; }
  .scene-version #projects .brand-card--featured .brand-logo { max-height: 100%; }
}
@media (hover:hover) and (pointer:fine) and (prefers-reduced-motion:no-preference) {
  .scene-version #projects .brand-card:is(:hover,:focus-visible) {
    transform: scale(1.035);
    z-index: 2;
    box-shadow: 0 9px 25px rgb(23 38 28 / .12);
  }
}
