@font-face {
  font-family: "Permanent Marker";
  src: url("assets/permanent-marker.woff2") format("woff2");
  font-display: swap;
}

@font-face {
  font-family: "Barlow Condensed";
  src: url("assets/barlow-condensed.woff2") format("woff2");
  font-style: italic;
  font-weight: 900;
  font-display: swap;
}

@font-face {
  font-family: Bangers;
  src: url("assets/bangers.woff2") format("woff2");
  font-display: swap;
}

:root {
  --ink: #0b1326;
  --midnight: #141929;
  --paper: #fbf2e0;
  --paper-light: #fff8ed;
  --paper-dark: #eedab4;
  --red: #ad1b16;
  --red-dark: #971c1a;
  --gold: #f6dfa0;
  --marker: "Permanent Marker", Bangers, cursive;
  --display: "Barlow Condensed", Impact, sans-serif;
  --lettering: Bangers, Impact, sans-serif;
  --body: Georgia, "Times New Roman", serif;
  --mono: ui-monospace, "SFMono-Regular", Consolas, monospace;
  --gutter: clamp(20px, 4.5vw, 72px);
  --dots: radial-gradient(circle, #5b361e2c 1px, #0000 1.15px);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--body); }
h1, h2, h3, p, figure { margin: 0; }
img { display: block; max-width: 100%; }
a { color: inherit; text-underline-offset: .23em; }
button { font: inherit; }
:focus-visible { outline: 3px solid var(--red-dark); outline-offset: 4px; }
.wrap { width: min(calc(100% - 2 * var(--gutter)), 1320px); margin-inline: auto; }
.label { font: 700 .7rem/1.35 var(--mono); letter-spacing: .12em; text-transform: uppercase; }
.skip { position: fixed; z-index: 5; inset: 10px auto auto 10px; padding: .8em; background: var(--paper-light); color: var(--ink); transform: translateY(-160%); }
.skip:focus { transform: none; }

.site-header {
  background: var(--ink);
  color: var(--paper-light);
  border-bottom: 2px solid var(--ink);
}
.header-inner, .footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.header-inner { min-height: 70px; }
.brand { display: inline-flex; flex: none; align-items: center; gap: .65rem; text-decoration: none; }
.brand img { border: 2px solid var(--ink); border-radius: 4px; }
.brand span { font: italic 900 2.05rem/.95 var(--display); }
nav { display: flex; align-items: center; gap: clamp(.9rem, 3vw, 2.75rem); }
nav a { font-weight: 700; text-decoration: none; }
nav a:hover { text-decoration: underline; }
.site-header :focus-visible, .site-footer :focus-visible { outline-color: var(--gold); }
.status {
  display: inline-flex;
  align-items: center;
  gap: .6em;
  width: fit-content;
  padding: .72em .9em;
  border: 2px solid var(--ink);
  border-radius: 2px;
  background: var(--red);
  color: var(--paper-light);
  font: bold .78rem/1.2 var(--mono);
  text-transform: uppercase;
}
.site-header .status { border-color: var(--paper-light); }
.status span { flex: none; width: .55em; height: .55em; border-radius: 50%; background: var(--gold); }

.hero { position: relative; isolation: isolate; overflow: clip; }
.hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background-image: var(--dots);
  background-size: 6px 6px;
  mask-image: radial-gradient(ellipse at 0% 100%, #000, #0000 45%);
  pointer-events: none;
}
.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr);
  align-items: stretch;
  gap: clamp(1rem, 2.4vw, 2.5rem);
  min-height: clamp(595px, 49vw, 670px);
  padding-block: clamp(2.4rem, 4vw, 3.65rem) clamp(1.65rem, 3.1vw, 2.4rem);
}
.hero-copy { align-self: center; }
.hero h1 {
  font: italic 900 clamp(4.15rem, 7.25vw, 7.65rem)/.81 var(--display);
  letter-spacing: -.03em;
}
.hero h1 > span { white-space: nowrap; }
.hero h1 em {
  position: relative;
  display: inline-block;
  isolation: isolate;
  margin-top: .08em;
  padding-inline: .04em .14em;
  color: var(--red);
  font: 400 .97em/1.08 var(--marker);
  letter-spacing: -.075em;
  text-transform: uppercase;
  transform: rotate(-4deg);
  text-shadow: 2px 2px 0 var(--paper-light);
}
.hero h1 em::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 16% -2% 1% -2%;
  background: #e5c9c3;
  clip-path: polygon(1% 17%, 17% 11%, 9% 0, 99% 5%, 98% 76%, 88% 79%, 94% 92%, 0 100%, 5% 80%, 0 76%);
}
.hero-copy > p { max-width: 23rem; margin-top: 1rem; font-size: clamp(.99rem, 1.44vw, 1.15rem); line-height: 1.53; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1.2rem; margin-top: 1.1rem; }
.button {
  display: inline-flex;
  align-items: center;
  gap: .72em;
  min-height: 46px;
  padding: .62em .78em;
  border: 2px solid var(--ink);
  border-radius: 2px;
  box-shadow: 3px 3px 0 var(--ink);
  background: var(--red);
  color: var(--paper-light);
  font-weight: 700;
  text-decoration: none;
  transition: background .16s, transform .16s;
}
.button:hover { background: var(--ink); transform: translate(-1px, -1px); }
.button span, .scene-choice span { font-family: system-ui, sans-serif; font-size: 1.12em; }
.text-link { font-weight: 700; }
.text-link:hover { color: var(--red-dark); }
.hero-teaser {
  display: grid;
  grid-template-columns: .92fr 1.08fr;
  align-items: center;
  min-height: 92px;
  max-width: 390px;
  margin-top: clamp(1.2rem, 2.4vw, 1.95rem);
  border: 2px solid var(--ink);
  background: var(--paper-light);
}
.hero-teaser img { width: 100%; height: 100%; aspect-ratio: 1.7; object-fit: cover; border-right: 2px solid var(--ink); }
.hero-teaser figcaption { padding: .64em; font: 400 clamp(.98rem, 1.65vw, 1.2rem)/1.15 var(--lettering); letter-spacing: .025em; color: var(--ink); }

[data-palette="mira"] { --wash: #e5bec2; --ink-dot: #86262b68; }
[data-palette="inez"] { --wash: #a9d7cd; --ink-dot: #2a7e7b73; }
[data-palette="rook"] { --wash: #ecc18e; --ink-dot: #b1503c73; }
[data-palette="ada"] { --wash: #d9c2e4; --ink-dot: #79568b70; }
[data-palette="sable"] { --wash: #c4cbef; --ink-dot: #485fb776; }
[data-palette="jun"] { --wash: #efcf9f; --ink-dot: #a9503377; }
[data-palette="tess"] { --wash: #b4cee3; --ink-dot: #3c648e76; }
[data-palette="vesper"] { --wash: #d4c2d8; --ink-dot: #76536f76; }
[data-palette="arlo"] { --wash: #b0cfc4; --ink-dot: #215f6979; }

.hero-panel { display: flex; flex-direction: column; justify-content: stretch; min-width: 0; margin: .55rem 0 0; }
.comic-stack {
  position: relative;
  isolation: isolate;
  z-index: 1;
  flex: 1;
  min-height: 435px;
  perspective: 1320px;
  touch-action: pan-y;
}
.comic-page { position: absolute; inset: 0; }
.comic-panels { position: absolute; inset: 0; overflow: hidden; }
.hero-frame, .comic-detail, .comic-splash { position: absolute; overflow: hidden; background: var(--ink); }
.hero-frame { inset: 0 67.5% 0 0; clip-path: polygon(0 0, 100% 0, 82% 100%, 0 100%); }
.comic-detail { inset: 0 0 68% 30%; clip-path: polygon(5.2% 0, 100% 0, 100% 95%, 0 100%); }
.hero-frame img, .comic-detail img { position: absolute; width: 100%; height: 100%; object-fit: cover; }
.hero-frame img { object-position: 55% 50%; clip-path: polygon(1.4% .55%, 98.1% .55%, 81% 99.45%, 1.4% 99.45%); }
.comic-detail img { object-position: 61% 43%; clip-path: polygon(5.7% 2%, 99.4% 2%, 99.4% 93%, .7% 97.7%); }
.comic-splash { inset: 31.8% 0 0 26.9%; clip-path: polygon(4.8% 2%, 100% 0, 100% 100%, 0 100%); }
.comic-splash::before {
  content: "";
  position: absolute;
  inset: 2.5px;
  background: var(--wash);
  clip-path: polygon(4.8% 2%, 100% 0, 100% 100%, 0 100%);
}
.comic-splash::after {
  content: "";
  position: absolute;
  inset: 2.5px;
  background-image: radial-gradient(circle, var(--ink-dot) 1.15px, transparent 1.45px);
  background-size: 5.5px 5.5px;
  clip-path: polygon(4.8% 2%, 100% 0, 100% 100%, 0 100%);
  mask-image: radial-gradient(ellipse at 84% 70%, #000 10%, #0000 74%);
}
.comic-cutout {
  position: absolute;
  bottom: -2.2%;
  left: 16%;
  height: 113%;
  width: 67%;
  max-width: none;
  object-fit: contain;
  object-position: center bottom;
  filter: drop-shadow(3px 2px 0 #0b132681);
}
.comic-bubble {
  position: absolute;
  z-index: 1;
  top: 42%;
  right: 2%;
  width: fit-content;
  max-width: min(31%, 218px);
  padding: .65em .74em;
  border: 2px solid var(--ink);
  border-radius: 53% 47% 52% 44% / 48% 53% 45% 54%;
  box-shadow: 3px 3px 0 var(--ink);
  background: #fff1b8;
  font: 400 clamp(1.22rem, 2.35vw, 1.9rem)/1 var(--lettering);
  letter-spacing: .028em;
  text-align: center;
  transform: rotate(-5deg);
}
.comic-bubble::after {
  content: "";
  position: absolute;
  bottom: -17%;
  left: 6%;
  width: 1.22em;
  height: .89em;
  transform: rotate(7deg);
  background: #fff1b8;
  border: 2px solid var(--ink);
  border-top-width: 0;
  clip-path: polygon(21% 0, 100% 0, 0 100%);
}

.turn-leaf { z-index: 2; pointer-events: none; transform-origin: 0 50%; animation: turn-forward .68s cubic-bezier(.4,.02,.22,1) both; }
.turn-leaf.turn-back { transform-origin: 100% 50%; animation-name: turn-back; }
.turn-leaf::after { content: ""; position: absolute; inset: 0; background: linear-gradient(103deg, #1a13286b, #0000 28%, #fff6d66b 72%, #fff1c3); animation: page-shade .65s ease both; }
.turn-leaf.turn-back::after { transform: scaleX(-1); }
.paper-fold {
  position: absolute;
  z-index: 3;
  inset: 0 auto 0 0;
  width: 100%;
  pointer-events: none;
  background: linear-gradient(93deg, #0000 0%, #23183290 45%, #fff1d9 50%, #fff6d4 55%, #0000 69%);
  mix-blend-mode: screen;
  animation: fold-forward .63s cubic-bezier(.25,.04,.2,1) both;
}
.paper-fold.turn-back { animation-name: fold-back; }
.is-arriving .hero-frame img { animation: register-panel .65s cubic-bezier(.23,.7,.3,1) both; }
.is-arriving .comic-detail img { animation: register-panel .58s .06s cubic-bezier(.23,.7,.3,1) both; }
.is-arriving .comic-cutout { animation: enter-cutout .68s cubic-bezier(.15,.72,.29,1) both; }
.is-arriving .comic-bubble { animation: ink-dialogue .42s .24s cubic-bezier(.17,.7,.27,1.16) both; }
@keyframes turn-forward {
  0% { transform: rotateY(0); clip-path: polygon(0 -12%, 100% -12%, 100% 108%, 0 108%); }
  52% { transform: rotateY(-29deg) skewY(-3deg); clip-path: polygon(0 -12%, 65% -8%, 55% 108%, 0 108%); }
  100% { transform: rotateY(-88deg) skewY(-8deg); clip-path: polygon(0 -12%, 12% 0, 4% 108%, 0 108%); opacity: 0; }
}
@keyframes turn-back {
  0% { transform: rotateY(0); clip-path: polygon(0 -12%, 100% -12%, 100% 108%, 0 108%); }
  52% { transform: rotateY(29deg) skewY(3deg); clip-path: polygon(35% -12%, 100% -12%, 100% 108%, 45% 108%); }
  100% { transform: rotateY(88deg) skewY(8deg); clip-path: polygon(88% 0, 100% -12%, 100% 108%, 96% 108%); opacity: 0; }
}
@keyframes fold-forward {
  from { clip-path: polygon(94% 0, 100% 0, 100% 100%, 88% 100%); opacity: 0; }
  35% { opacity: .73; }
  to { clip-path: polygon(0 0, 7% 0, 0 100%, 0 100%); opacity: 0; }
}
@keyframes fold-back {
  from { clip-path: polygon(0 0, 7% 0, 12% 100%, 0 100%); opacity: 0; }
  35% { opacity: .73; }
  to { clip-path: polygon(93% 0, 100% 0, 100% 100%, 100% 100%); opacity: 0; }
}
@keyframes page-shade { from { opacity: 0; } 58% { opacity: .8; } to { opacity: 1; } }
@keyframes register-panel { from { transform: scale(1.09); } to { transform: scale(1); } }
@keyframes enter-cutout {
  from { opacity: .38; transform: translate(5%, 6%) rotate(2deg) scale(.96); }
  to { opacity: 1; transform: none; }
}
@keyframes ink-dialogue {
  from { opacity: 0; transform: rotate(-11deg) scale(.77) translateY(8px); }
  to { opacity: 1; transform: rotate(-5deg) scale(1); }
}

.comic-footer {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: .7rem;
  min-height: 54px;
  padding: .27rem .48rem .29rem .72rem;
  border: 2px solid var(--ink);
  border-top-width: 1px;
  background: var(--paper-light);
  color: var(--ink);
}
#comic-caption { display: flex; min-width: 0; align-items: baseline; flex-wrap: wrap; gap: .03rem .57rem; }
#comic-name { font: italic 900 clamp(1.3rem, 2.25vw, 2.05rem)/1 var(--display); text-transform: uppercase; }
#comic-role { color: #4c4644; font-size: .83rem; font-style: italic; }
.comic-controls { display: inline-flex; flex: none; align-items: center; gap: .38rem; }
.comic-controls .label { min-width: 4em; text-align: center; letter-spacing: .05em; }
.comic-controls button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: .44rem;
  min-width: 44px;
  height: 44px;
  padding: 0 .54rem;
  border: 2px solid var(--ink);
  border-radius: 1px;
  background: transparent;
  color: var(--ink);
  font: 1.24rem/1 system-ui, sans-serif;
  cursor: pointer;
  transition: background .16s, color .16s;
}
.comic-controls button[data-direction="1"] { background: var(--gold); box-shadow: 2px 2px 0 var(--ink); }
.comic-controls button:hover { background: var(--ink); color: var(--paper-light); }
.comic-next-text { font: 700 .9rem/1 var(--body); white-space: nowrap; }

.edition { border-block: 2px solid var(--ink); background: var(--ink); color: var(--paper-light); }
.edition-inner { display: flex; min-height: 40px; align-items: center; gap: clamp(.6rem, 3vw, 2.5rem); }
.edition a, .studio { white-space: nowrap; text-decoration: none; }
.edition a:hover { text-decoration: underline; }
.rule { flex: 1; height: 1px; background: #fff3d966; }

.cast { padding-block: clamp(3.55rem, 6.6vw, 6rem); }
.section-intro { display: flex; align-items: end; justify-content: space-between; gap: 1rem 2rem; margin-bottom: clamp(2.1rem, 4.2vw, 3.55rem); }
h2 { font: italic 900 clamp(3.2rem, 6.8vw, 6rem)/.92 var(--display); letter-spacing: -.02em; }
.section-intro h2::after, .reader-heading h2::after {
  content: "";
  display: block;
  width: min(96%, 7.3em);
  height: .095em;
  margin: .14em 0 0 .075em;
  transform: skewX(-16deg);
  background: var(--red);
}
.section-intro p, .iphone-description { max-width: 30rem; font-size: clamp(1rem, 1.5vw, 1.2rem); line-height: 1.52; }
.cast-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(2.75rem, 5vw, 4.1rem) clamp(.75rem, 1.55vw, 1.45rem);
}
.cast-card { grid-column: span 4; position: relative; min-width: 0; }
.cast-card:nth-child(6n + 1), .cast-card:nth-child(6n + 5) { grid-column: span 5; }
.cast-card:nth-child(6n + 2), .cast-card:nth-child(6n + 4) { grid-column: span 3; }
.cast-art {
  position: relative;
  isolation: isolate;
  height: clamp(195px, 21.7vw, 315px);
  border: 2px solid var(--ink);
  background: var(--wash);
}
.cast-art::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background-image: radial-gradient(circle, var(--ink-dot) 1px, transparent 1.3px);
  background-size: 5px 5px;
  mask-image: linear-gradient(145deg, #000 5%, #0000 88%);
}
.cast-art img {
  position: absolute;
  inset: auto 3% 0;
  width: 94%;
  height: 109%;
  max-width: none;
  object-fit: contain;
  object-position: center bottom;
  filter: drop-shadow(2px 1px 0 #0b132661);
  transition: transform .3s ease;
}
.cast-card:nth-child(6n + 1) .cast-art img,
.cast-card:nth-child(6n + 5) .cast-art img { height: 117%; }
.cast-card:hover .cast-art img { transform: translateY(-4px); }
.cast-art .label {
  position: absolute;
  top: .28rem;
  right: .35rem;
  padding: .33rem .46rem;
  border: 1px solid var(--ink);
  background: var(--paper-light);
  color: var(--ink);
}
.cast-card h3 {
  position: relative;
  width: fit-content;
  max-width: calc(100% - 1rem);
  margin: -.53em 0 .48rem .4rem;
  padding: .08em .36em .14em;
  transform: rotate(-2deg);
  border: 2px solid var(--ink);
  box-shadow: 3px 3px 0 var(--ink);
  background: var(--paper-light);
  color: var(--ink);
  font: italic 900 clamp(1.7rem, 3.2vw, 2.75rem)/1 var(--display);
  text-transform: uppercase;
}
.cast-card > p { margin-top: .25rem; font-size: clamp(.93rem, 1.38vw, 1.07rem); line-height: 1.42; }
.cast-card .cast-role { font-style: italic; color: #5f473a; }

.scene { position: relative; isolation: isolate; border-block: 3px solid var(--ink); background: var(--midnight); color: var(--paper-light); }
.scene::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background-image: radial-gradient(circle, #e3d6f068 1px, #0000 1.15px);
  background-size: 6px 6px;
  mask-image: linear-gradient(160deg, #000, #0000 38%);
}
.scene-inner { padding-block: clamp(3.55rem, 7.1vw, 6.5rem); }
.reader-heading { display: flex; align-items: end; justify-content: space-between; gap: 1.2rem; margin-bottom: clamp(1.4rem, 3vw, 2.7rem); }
.reader-heading .accent { width: fit-content; margin-bottom: .85rem; padding: .42rem .6rem; background: var(--gold); color: var(--ink); transform: skewX(-7deg); }
.reader-heading h2::after { width: min(93%, 7.9em); background: #d84b3c; }
.reader-heading h2 em {
  display: inline-block;
  color: var(--gold);
  font: 400 .81em/1.05 var(--marker);
  letter-spacing: -.09em;
  transform: rotate(-3deg);
}
.reader-progress { flex: none; min-width: 117px; }
.reader-progress p { margin-bottom: .32rem; font: italic 900 1.9rem/.9 var(--display); text-transform: uppercase; }
.reader-progress > .label { color: var(--paper); font-size: .65rem; }
.reader-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 5px; margin-top: .44rem; }
.reader-steps i { height: 6px; border: 1px solid #f8ecd390; transform: skewX(-13deg); }
.reader-steps i:first-child, .reader-steps[data-step="2"] i:nth-child(2), .reader-steps[data-step="3"] i { border-color: var(--gold); background: var(--gold); }
.reader {
  display: grid;
  grid-template-columns: minmax(0, 1.38fr) minmax(0, .82fr);
  min-height: clamp(420px, 40vw, 532px);
  gap: 7px;
  padding: 5px;
  border: 2px solid var(--ink);
  box-shadow: 7px 7px 0 #07070f;
  background: var(--paper-light);
}
.scene-figure { position: relative; isolation: isolate; z-index: 1; min-height: 300px; }
.scene-picture, .scene-detail { position: absolute; overflow: hidden; background: var(--ink); }
.scene-picture {
  inset: 0 0 16%;
  clip-path: polygon(0 0, 100% 0, 100% 91%, 0 100%);
}
.scene-picture img {
  clip-path: polygon(.4% .6%, 99.6% .6%, 99.6% 90.3%, .4% 99.4%);
}
.scene-picture img, .scene-detail img { width: 100%; height: 100%; object-fit: cover; }
.scene-detail {
  inset: 76.8% 0 0;
  clip-path: polygon(0 35.5%, 100% 0, 100% 100%, 0 100%);
}
.scene-detail img {
  object-position: center 55%;
  clip-path: polygon(.4% 37.2%, 99.6% 2.2%, 99.6% 97.3%, .4% 97.3%);
}
.scene-detail-close { transform: scale(1.17); transform-origin: 70% 64%; }
.scene-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.18rem;
  padding: clamp(1.2rem, 3.1vw, 2.8rem);
  border: 2px solid var(--ink);
  background: var(--paper);
  color: var(--ink);
}
#scene-beat { width: fit-content; margin-bottom: .55rem; font: italic 900 clamp(2.15rem, 3.6vw, 3.35rem)/.93 var(--display); }
#scene-passage { font-size: clamp(.98rem, 1.45vw, 1.12rem); line-height: 1.53; }
.reader-line {
  position: absolute;
  z-index: 2;
  right: 3.7%;
  bottom: 21.5%;
  width: fit-content;
  max-width: min(47%, 18rem);
  padding: .76em .95em;
  transform: rotate(-4deg);
  border: 2px solid var(--ink);
  border-radius: 53% 47% 52% 44% / 48% 53% 45% 54%;
  box-shadow: 3px 3px 0 var(--ink);
  background: #fff1b8;
  color: var(--ink);
  font: 400 clamp(1.07rem, 1.63vw, 1.47rem)/1.1 var(--lettering);
  letter-spacing: .025em;
  text-align: center;
  text-wrap: balance;
}
.reader-line::after {
  content: "";
  position: absolute;
  top: -.47em;
  left: .81em;
  width: 1.04em;
  height: .94em;
  transform: rotate(-12deg);
  background: #fff1b8;
  border: 2px solid var(--ink);
  border-bottom: 0;
  clip-path: polygon(0 0, 100% 100%, 0 100%);
}
.scene-controls { display: grid; gap: .55rem; }
.scene-choice {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .5rem;
  min-height: 45px;
  padding: .55em .75em;
  border: 2px solid var(--ink);
  border-radius: 2px;
  background: transparent;
  color: var(--ink);
  font-weight: 700;
  text-align: left;
  cursor: pointer;
  transition: background .16s, color .16s;
}
.scene-choice:first-child { background: var(--red); color: var(--paper-light); }
.scene-choice:hover { background: var(--ink); color: var(--paper-light); }

.iphone { padding-block: clamp(3rem, 6vw, 5.8rem); overflow: clip; }
.iphone-inner {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(0, .96fr);
  align-items: center;
  gap: clamp(1.6rem, 4vw, 4.2rem);
  padding: clamp(1.3rem, 3.4vw, 3rem);
}
.iphone-inner::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 7% 0;
  transform: rotate(-2deg) skewX(-3deg);
  border: 4px solid var(--ink);
  box-shadow: 7px 7px 0 var(--ink);
  background: #c4d9d5 radial-gradient(circle, #26495648 1px, #0000 1.2px) 0 0 / 6px 6px;
}
.iphone-copy { grid-column: 1; grid-row: 1; }
.iphone-copy h2 { font-size: clamp(3.05rem, 5.7vw, 5.45rem); }
.iphone-copy .iphone-description { margin-top: 1.1rem; }
.iphone-copy .status { margin-top: 1.3rem; }
.iphone-copy .release-note { margin-top: .6rem; font-size: .83rem; line-height: 1.4; }
.phones { position: relative; grid-column: 2; height: min(39vw, 475px); }
.phone { position: absolute; width: 45%; max-width: 221px; overflow: hidden; aspect-ratio: 580 / 1261; border: clamp(4px, .65vw, 9px) solid var(--ink); border-radius: 13% / 6%; background: var(--ink); box-shadow: 0 0 0 1px #584639, 4px 9px 0 #1b1817ac; }
.phone img { width: 100%; height: 100%; object-fit: cover; }
.phone-discover { left: 5%; top: 1%; transform: rotate(-8deg); }
.phone-moments { top: 4%; left: 46%; transform: rotate(8deg); }

.site-footer { border-top: 4px solid var(--ink); background: var(--ink); color: var(--paper-light); }
.footer-inner { min-height: 92px; flex-wrap: wrap; padding-block: 1.4rem; }

@media (max-width: 1000px) {
  .hero-inner { grid-template-columns: minmax(0, .78fr) minmax(0, 1.22fr); gap: 1.25rem; }
  .hero h1 { font-size: clamp(3.65rem, 7.4vw, 5.45rem); }
  .comic-stack { min-height: 405px; }
  #comic-role { flex-basis: 100%; }
  .desktop-break { display: none; }
  .section-intro p { max-width: 19rem; }
}

@media (max-width: 740px) {
  .header-inner { min-height: 62px; gap: .65rem; }
  .brand { gap: .4rem; }
  .brand img { width: 31px; height: 31px; }
  .brand span { font-size: 1.62rem; }
  nav { gap: .75rem; font-size: .87rem; }
  .site-header .status { display: none; }
  .hero-inner { grid-template-columns: 1fr; min-height: unset; padding-block: 1.5rem 1.5rem; gap: .8rem; }
  .hero-copy { display: contents; }
  .hero h1 { font-size: clamp(3.85rem, 11.6vw, 5.65rem); }
  .hero-copy > p { margin-top: 0; }
  .hero-actions { margin-top: .18rem; gap: .7rem 1rem; }
  .hero-panel { grid-row: 4; margin: 1.25rem 0 0; }
  .hero-teaser { grid-row: 5; width: 100%; max-width: none; min-height: 71px; margin-top: .05rem; grid-template-columns: 30% 1fr; }
  .hero-teaser img { aspect-ratio: 1.85; }
  .hero-teaser figcaption { font-size: 1.02rem; }
  .comic-stack { flex: auto; min-height: 0; aspect-ratio: 1.16; }
  .comic-footer { min-height: 52px; padding-left: .55rem; gap: .35rem; }
  #comic-name { font-size: 1.24rem; }
  #comic-role { font-size: .74rem; line-height: 1.13; }
  .comic-controls { gap: .22rem; }
  .comic-controls .label { min-width: 3.6em; font-size: .62rem; }
  .comic-controls button { padding: 0 .4rem; }
  .comic-next-text { font-size: .78rem; }
  .comic-cutout { left: 13%; height: 110%; width: 74%; }
  .comic-bubble { top: 48%; right: 2%; max-width: 36%; padding: .48em .62em; font-size: clamp(1.03rem, 3.9vw, 1.55rem); }
  .edition { font-size: .61rem; }
  .section-intro { display: block; }
  .section-intro p { margin-top: .64rem; }
  .cast-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2.1rem .76rem; }
  .cast-grid .cast-card { grid-column: auto; }
  .cast-art { height: clamp(152px, 43vw, 240px); }
  .cast-art .label { font-size: .52rem; padding: .31rem; }
  .cast-card:nth-child(6n + 1) .cast-art img,
  .cast-card:nth-child(6n + 5) .cast-art img { height: 109%; }
  .cast-card h3 { font-size: clamp(1.17rem, 5.55vw, 2.15rem); }
  .reader-heading { align-items: start; flex-direction: column; }
  .reader-progress { display: flex; align-items: center; gap: .64rem; width: 100%; }
  .reader-progress p, .reader-steps { margin: 0; }
  .reader-steps { flex: 1; max-width: 110px; margin-left: auto; }
  .reader { grid-template-columns: 1fr; min-height: 0; gap: 5px; padding: 4px; }
  .scene-figure { min-height: 0; aspect-ratio: 1.09; }
  .reader-line { right: 4.3%; bottom: 21%; max-width: min(57%, 14rem); padding: .62em .76em; font-size: clamp(.94rem, 3.8vw, 1.28rem); }
  .scene-copy { padding: 1.2rem .95rem; }
  .iphone-inner { grid-template-columns: 1fr; gap: 1.6rem; }
  .iphone-inner::before { inset: 0 0 9%; border-width: 3px; }
  .phones { grid-column: 1; width: min(100%, 410px); height: clamp(245px, 85vw, 395px); margin-inline: auto; }
  .footer-inner { gap: 1rem; }
  .footer-inner .studio { flex-basis: 100%; }
}

@media (max-width: 365px) {
  .hero h1 { font-size: 3.4rem; }
  .comic-next-text { display: none; }
  .cast-grid { grid-template-columns: 1fr; }
  .cast-art { height: 210px; }
  .cast-card h3 { font-size: 1.9rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0s !important; animation-duration: 0s !important; animation-delay: 0s !important; }
}
