/* V8: V7 Stan preserved; shared reply flow and short-screen text collision fixes. */
#stan.stan-v7 {
  padding-top: 0;
  padding-bottom: 0;
  background: #101713;
  color: #e8e1d2;
}
.stan-v7-film {
  position: relative;
  background: #101713;
  --film-progress: 0;
}
.sf-frame {
  height: clamp(720px,87svh,940px);
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: #101713;
  transition: color .45s;
  color: #e9e3d6;
}
.stan-v7-film.is-enhanced {
  height: 180svh;
}
.is-enhanced .sf-frame {
  position: sticky;
  top: 70px;
  height: calc(100svh - 70px);
  max-height: none;
  min-height: 600px;
}
.sf-grain {
  position: absolute;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background: radial-gradient(ellipse at 70% 27%,#8b87722b,transparent 58%),repeating-linear-gradient(117deg,transparent 0,transparent 48px,#abb9a107 49px,transparent 50px,transparent 74px),linear-gradient(130deg,#101814,#1a241d 70%,#0a100d);
}
.sf-grain:after {
  content: '';
  position: absolute;
  inset: 0;
  opacity: .08;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='grain'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.72' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' opacity='.5' filter='url(%23grain)'/%3E%3C/svg%3E");
  pointer-events: none;
}
.sf-red {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(155deg,#1a1510,#641d19 66%,#24100d);
  opacity: 0;
  transition: opacity .55s;
}
.sf-paper {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(ellipse at 70% 30%,#e2d8bf,#b9ac91);
  opacity: 0;
  transition: opacity .55s;
}
.sf-top {
  position: absolute;
  left: clamp(24px,5vw,90px);
  right: clamp(24px,5vw,90px);
  top: 35px;
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 20px;
  z-index: 7;
  border-top: 1px solid #c9bda34d;
  padding-top: 18px;
}
.sf-top>.eyebrow {
  font: 10px/1.8 'Courier New',monospace;
  letter-spacing: .12em;
  margin: 0;
}
.sf-top>div {
  display: flex;
  gap: 22px;
  align-items: baseline;
  font: 10px/1.8 'Courier New',monospace;
  letter-spacing: .06em;
}
.sf-art {
  position: absolute;
  right: 12%;
  top: 12%;
  width: min(37vw,500px);
  transform: translate(calc(var(--film-progress)*-80px),calc(var(--film-progress)*20px)) rotate(calc(-2deg + var(--film-progress)*4deg));
  transition: opacity .55s,filter .55s;
  z-index: 2;
}
.sf-artwork {
  margin: 0;
  width: 100%;
}
.sf-artwork img {
  width: 100%;
  height: auto;
  display: block;
  box-shadow: 0 18px 65px #0008;
}
.sf-artwork figcaption {
  font: 8px/1.8 'Courier New',monospace;
  letter-spacing: .06em;
  margin-top: 12px;
  text-align: right;
  color: #c9c0aa;
}
.sf-word {
  position: absolute;
  left: 4.5%;
  top: 19%;
  font: clamp(240px,29vw,500px)/1 Anton;
  letter-spacing: -.035em;
  z-index: 3;
  transform: translateX(calc(var(--film-progress)*-11vw));
  transition: opacity .5s;
  color: #ece7d8;
  pointer-events: none;
  text-shadow: 0 4px 30px #080d0720;
}
.sf-silence {
  position: absolute;
  left: 4.5%;
  top: 35%;
  font: clamp(140px,18vw,310px)/1 Anton;
  letter-spacing: -.035em;
  white-space: nowrap;
  z-index: 4;
  color: #f0dfc7;
  transform: translateX(calc(3vw - var(--film-progress)*6vw)) rotate(-4deg);
  opacity: 0;
  transition: opacity .45s;
  pointer-events: none;
}
.sf-reply {
  position: static;
  font: clamp(136px,calc((100svh - 360px)/2.3),270px)/.97 Anton;
  letter-spacing: -.02em;
  color: #71362a;
  z-index: 3;
  opacity: 0;
  transition: opacity .45s;
  pointer-events: none;
}
.sf-captions {
  position: absolute;
  left: clamp(24px,5vw,90px);
  bottom: 140px;
  z-index: 6;
  width: calc(100% - 2*clamp(24px,5vw,90px));
  max-width: 760px;
}
.sf-caption {
  font-size: clamp(30px,3.25vw,52px);
  font-weight: 700;
  line-height: 1.75;
  letter-spacing: .025em;
  margin: 0;
  position: absolute;
  left: 0;
  bottom: 0;
  opacity: 0;
  transition: none;
  text-shadow: 0 3px 25px #080f0955;
}
.stan-v7-film[data-mood="quiet"] [data-film-caption="quiet"],.stan-v7-film[data-mood="pressure"] [data-film-caption="pressure"],.stan-v7-film[data-mood="after"] [data-film-caption="after"] {
  opacity: 1;
}
.stan-v7-film[data-mood="pressure"] .sf-red {
  opacity: 1;
}
.stan-v7-film[data-mood="pressure"] .sf-word {
  opacity: .17;
  -webkit-text-stroke: 1px #e2d6bc;
  color: transparent;
}
.stan-v7-film[data-mood="pressure"] .sf-art {
  opacity: .38;
  filter: grayscale(1) contrast(1.25);
}
.stan-v7-film[data-mood="pressure"] .sf-silence {
  opacity: 1;
}
.stan-v7-film[data-mood="after"] .sf-paper {
  opacity: 1;
}
.stan-v7-film[data-mood="after"] .sf-word {
  opacity: 0;
}
.stan-v7-film[data-mood="after"] .sf-art {
  opacity: .16;
  filter: grayscale(1);
  mix-blend-mode: multiply;
}
.stan-v7-film[data-mood="after"] .sf-reply {
  opacity: 1;
}
.stan-v7-film[data-mood="after"] .sf-frame {
  color: #242d24;
}
.stan-v7-film[data-mood="after"] .sf-caption {
  text-shadow: none;
}
.stan-v7-film[data-mood="after"] .sf-top {
  border-color: #76654b66;
}
.stan-v7-film[data-mood="after"] .sf-artwork figcaption {
  color: #3e473a;
}
.sf-bottom {
  position: absolute;
  bottom: 35px;
  left: clamp(24px,5vw,90px);
  right: clamp(24px,5vw,90px);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 20px;
  align-items: end;
  z-index: 7;
}
.sf-identity h2 {
  font: 13px/2 'MMLP Japanese',sans-serif;
  max-width: 38em;
  line-height: 1.9;
  margin: 0;
}
.sf-skip {
  font-size: 11px;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  padding-bottom: 7px;
  white-space: nowrap;
}
.sf-progress {
  height: 2px;
  background: #a89b7d44;
  grid-column: 1/-1;
}
.sf-progress i {
  display: block;
  height: 100%;
  width: 100%;
  transform: scaleX(var(--film-progress));
  transform-origin: left;
  background: #ba8d6b;
}
.stan-v7-film[data-mood="after"] .sf-progress {
  background: #695e4933;
}
.stan-v7-film[data-mood="after"] .sf-progress i {
  background: #74382b;
}
.sv7-reading {
  padding-top: 70px;
}
.sv7-introduction {
  max-width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 25px 65px;
  align-items: start;
  margin-bottom: 60px;
}
.sv7-introduction .big-statement {
  grid-column: 1/-1;
  font-size: clamp(30px,3.7vw,52px);
  line-height: 1.75;
  margin: 0 0 12px;
}
.sv7-introduction>p:not(.big-statement) {
  font-size: 15px;
  line-height: 2.2;
  margin: 0;
}
.sv7-introduction .note {
  grid-column: 1;
  grid-row: 3;
  margin: 0;
  background: #b7ac8c12;
  border-left: 3px solid #a08761;
  padding: 22px 25px;
  font-size: 13px;
  color: #cdc5b4;
}
.sv7-introduction>.button {
  grid-column: 2;
  grid-row: 3;
  align-self: start;
  justify-self: start;
  background: transparent;
  color: #e5dcc7;
  border-color: #b0a080;
  font-size: 12px;
}
.sv7-chapter-nav {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  border-block: 1px solid #9f9f7f66;
  padding: 20px 0;
  margin-bottom: 10px;
}
.sv7-chapter-nav a {
  font: 14px/1.6 Anton;
  text-decoration: none;
  letter-spacing: .03em;
}
.sv7-chapter-nav span {
  font: 10px/1.5 'Courier New',monospace;
  color: #ac9c7d;
  margin-right: 12px;
}
.sv7-narrative {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 65px;
}
.sv7-chapter {
  padding: 35px 0 32px;
  border-bottom: 1px solid #a7a28544;
  scroll-margin-top: 100px;
  opacity: 1;
  min-height: 0;
}
.sv7-chapter h3 {
  font-size: clamp(18px,1.7vw,25px);
  line-height: 1.9;
  margin: 0 0 18px;
}
.sv7-chapter>p {
  font-size: 15px;
  line-height: 2.2;
  margin: 0;
  max-width: 40em;
}
.sv7-coda {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 65px;
  align-items: center;
  margin: 65px 0 50px;
  padding: 40px 0;
  border-block: 1px solid #a7a28555;
}
.sv7-coda>.display {
  font-size: clamp(70px,10vw,145px);
  line-height: .98;
  color: #9d9e85;
  margin: 0;
  letter-spacing: -.02em;
}
.sv7-mv h3 {
  font-size: 22px;
  line-height: 1.9;
  margin-bottom: 20px;
}
.sv7-mv p {
  font-size: 14px;
  line-height: 2.2;
  margin: 0;
}
.stan-v7 .sample-file {
  margin-top: 35px;
}
.stan-v7 .stan-language {
  margin-top: 70px;
}
.no-js .stan-v7-film {
  height: auto;
}
.no-js .sf-frame {
  position: relative;
  top: 0;
}
.no-js .sv7-chapter {
  opacity: 1;
}
.stan-v7-film[data-reduced="true"] {
  height: auto;
}
.stan-v7-film[data-reduced="true"] .sf-frame {
  position: relative;
  top: 0;
  min-height: 0;
}
.stan-v7-film[data-reduced="true"] .sf-art,.stan-v7-film[data-reduced="true"] .sf-word {
  transform: none;
}
.stan-v7-film[data-reduced="true"] * {
  transition: none!important;
}
.stan-v7-film[data-reduced="true"] .sf-grain:after {
  opacity: .1;
}
.sf-afterwords {
  position: absolute;
  inset: max(105px,14%) auto 140px 9%;
  width: 58%;
  z-index: 6;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
  pointer-events: none;
}
.sf-afterwords .sf-caption {
  position: static;
  flex: none;
  font-size: clamp(30px,2.8vw,48px);
  line-height: 1.75;
}
.sf-afterwords .sf-caption br {
  display: none;
}
@media(max-width:1200px) and (min-width:761px) {
.sf-art {
  right: 8%;
}
.sf-word {
  top: 25%;
  font-size: 30vw;
}
.sf-captions {
  bottom: 135px;
}
.sf-caption {
  font-size: 35px;
}
.sf-top>.eyebrow {
  font-size: 9px;
}
.sf-top>div {
  font-size: 9px;
  gap: 12px;
}
.sv7-introduction,.sv7-narrative,.sv7-coda {
  column-gap: 35px;
}
}
@media(max-width:760px) {
.sf-frame {
  height: 740px;
  min-height: 0;
  max-height: none;
}
.stan-v7-film.is-enhanced {
  height: auto;
}
.is-enhanced .sf-frame {
  position: relative;
  top: 0;
  height: 740px;
  min-height: 0;
}
.sf-top {
  top: 25px;
  left: 24px;
  right: 24px;
  display: block;
  padding-top: 12px;
}
.sf-top>.eyebrow {
  font-size: 8px;
  letter-spacing: .05em;
}
.sf-top>div {
  font-size: 8px;
  gap: 15px;
  margin-top: 12px;
}
.sf-art {
  width: 78%;
  max-width: 300px;
  right: 5%;
  top: 29%;
  transform: translateX(calc(var(--film-progress)*-25px)) rotate(-2deg);
  z-index: 2;
}
.sf-artwork img {
  box-shadow: 0 12px 30px #0008;
}
.sf-artwork figcaption {
  font-size: 6px;
  margin-top: 9px;
}
.sf-word {
  font-size: clamp(140px,42vw,200px);
  left: 5%;
  top: 16%;
  line-height: .95;
  z-index: 3;
  transform: translateX(calc(var(--film-progress)*-8vw));
}
.sf-captions {
  left: 24px;
  right: 24px;
  bottom: 116px;
  width: auto;
}
.sf-caption {
  font-size: 25px;
  line-height: 1.8;
}
.sf-bottom {
  left: 24px;
  right: 24px;
  bottom: 26px;
  gap: 15px;
  display: block;
}
.sf-identity h2 {
  font-size: 10px;
  line-height: 1.9;
  max-width: 100%;
  margin-bottom: 12px;
}
.sf-skip {
  display: inline-block;
  font-size: 10px;
  margin-bottom: 15px;
  padding-bottom: 5px;
}
.sf-progress {
  height: 2px;
}
.sf-silence,.sf-reply {
  display: none;
}
.sv7-reading {
  padding-top: 40px;
}
.sv7-introduction {
  display: block;
  margin-bottom: 35px;
}
.sv7-introduction .big-statement {
  font-size: 28px;
  line-height: 1.8;
  margin-bottom: 25px;
}
.sv7-introduction>p:not(.big-statement) {
  font-size: 14px;
  line-height: 2.15;
  margin-bottom: 24px;
}
.sv7-introduction .note {
  font-size: 12px;
  padding: 20px 18px;
  margin: 0 0 25px;
  line-height: 2;
}
.sv7-introduction>.button {
  font-size: 11px;
}
.sv7-chapter-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px 10px;
  padding: 20px 0;
  margin-bottom: 0;
}
.sv7-chapter-nav a {
  font-size: 13px;
}
.sv7-chapter-nav span {
  font-size: 9px;
  margin-right: 9px;
}
.sv7-narrative {
  display: block;
}
.sv7-chapter {
  padding: 26px 0;
  scroll-margin-top: 90px;
}
.sv7-chapter h3 {
  font-size: 19px;
  line-height: 1.9;
  margin-bottom: 14px;
}
.sv7-chapter>p {
  font-size: 14px;
  line-height: 2.2;
}
.sv7-coda {
  display: block;
  margin: 40px 0 35px;
  padding: 30px 0;
}
.sv7-coda>.display {
  font-size: clamp(70px,20vw,110px);
  line-height: 1;
  margin-bottom: 32px;
}
.sv7-mv h3 {
  font-size: 19px;
  margin-bottom: 18px;
}
.sv7-mv p {
  font-size: 13px;
  line-height: 2.2;
}
.stan-v7 .sample-file {
  margin-top: 30px;
}
.stan-v7 .stan-language {
  margin-top: 45px;
}
.sf-afterwords {
  display: none;
}
}
@media(prefers-reduced-motion:reduce) {
.stan-v7-film,.stan-v7-film.is-enhanced {
  height: auto;
}
.stan-v7-film .sf-frame {
  position: relative;
  top: 0;
  min-height: 0;
}
.sf-art,.sf-word {
  transform: none!important;
}
.sf-frame,.sf-frame * {
  transition: none!important;
}
}
@media print {
.stan-v7-film {
  height: auto!important;
}
.sf-frame {
  height: 550px!important;
  position: relative!important;
  top: 0!important;
}
.sv7-introduction,.sv7-narrative,.sv7-coda {
  display: block;
}
.sv7-chapter {
  break-inside: avoid;
}
.sv7-reading {
  padding-top: 30px;
}
}
@media (min-width:761px) and (max-height:940px) {
.sf-word {
  top: 12%;
  font-size: clamp(240px,min(29vw,calc((100svh - 620px)*1.35)),500px);
}
.sf-silence {
  top: 23%;
  font-size: clamp(140px,min(18vw,calc((100svh - 500px)*.625)),310px);
}
}
@media (min-width:1000px) {
.no-js .sf-frame,.stan-v7-film[data-reduced="true"] .sf-frame {
  height: calc(100svh - 70px);
  min-height: 600px;
  max-height: none;
}
}
