.ink-page {
  --ink-black: #100f13;
  --ink-panel: #17151b;
  --ink-paper: #f6f1e4;
  --ink-parchment: #e5c89a;
  --ink-parchment-image: url("../../img/Game/ink-guardian-paper.jpg");
  --ink-muted: #c6bfc6;
  --ink-accent: #f1e8d5;
  --ink-border: #3b363e;
  --ink-gutter: clamp(24px, 5vw, 80px);
  --ink-space: clamp(72px, 8vw, 130px);
  --ink-paper-grain:
    repeating-linear-gradient(16deg, rgb(232 204 157 / 5%) 0 0.7px, transparent 0.7px 5px),
    repeating-linear-gradient(111deg, rgb(8 6 5 / 22%) 0 1px, transparent 1px 7px),
    repeating-linear-gradient(174deg, transparent 0 17px, rgb(185 143 95 / 4%) 17px 18px, transparent 18px 23px);
  --ink-torn-page-edge: polygon(
    0 0, 100% 0, 100% 63%, 98% 55%, 96.4% 73%, 94.7% 65%, 92.4% 79%,
    90.9% 59%, 88.3% 72%, 86.6% 51%, 84.2% 69%, 82.5% 62%, 79.7% 83%,
    78% 71%, 75.6% 77%, 73.7% 60%, 71.5% 68%, 69.8% 50%, 67.2% 65%,
    65% 55%, 62.8% 76%, 61.1% 67%, 58.7% 86%, 56.9% 68%, 54.7% 74%,
    52.3% 62%, 50.8% 70%, 48.1% 49%, 46.3% 61%, 44.2% 46%, 42.6% 63%,
    40.5% 54%, 38% 77%, 36.7% 65%, 34.5% 82%, 32.7% 72%, 30.1% 80%,
    28.8% 65%, 26.3% 71%, 24.8% 51%, 22.2% 64%, 20.9% 50%, 18.8% 67%,
    16.4% 56%, 14.7% 78%, 12.9% 67%, 10.4% 81%, 8.8% 62%, 6.6% 71%,
    4.7% 55%, 2.8% 69%, 1.2% 51%, 0 63%
  );
  background: var(--ink-black);
  color: var(--ink-paper);
  color-scheme: dark;
  line-height: 1.55;
  word-break: keep-all;
}

.ink-page .ink-shell {
  box-sizing: border-box;
  width: 100%;
  max-width: calc(1360px + 2 * var(--ink-gutter));
  margin-inline: auto;
  padding-inline: var(--ink-gutter);
}

.ink-page img {
  display: block;
  max-width: 100%;
}

.ink-page a:focus-visible,
.ink-page button:focus-visible,
.ink-page iframe:focus-visible {
  outline: 2px solid var(--ink-accent);
  outline-offset: 5px;
}

.ink-page .ink-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.ink-page .ink-hero {
  position: relative;
  display: grid;
  min-height: clamp(720px, 56vw, 920px);
  isolation: isolate;
  overflow: hidden;
  background: #201a25;
}

.ink-page .ink-hero-art {
  position: absolute;
  z-index: -2;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: 65% center;
}

.ink-page .ink-hero::after {
  position: absolute;
  z-index: -1;
  inset: 0;
  content: "";
  background:
    linear-gradient(0deg, var(--ink-black), rgb(16 15 19 / 24%) 24%, transparent 48%),
    linear-gradient(90deg, rgb(16 15 19 / 95%) 3%, rgb(16 15 19 / 87%) 22%, rgb(16 15 19 / 38%) 49%, transparent 74%),
    linear-gradient(180deg, rgb(16 15 19 / 56%), transparent 24%);
}

.ink-page .ink-hero-inner {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-block: clamp(128px, 13vw, 205px) 90px;
}

.ink-page .ink-label {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  color: var(--ink-accent);
  font-size: 0.76rem;
  font-weight: 800;
  line-height: 1.4;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.ink-page .ink-hero-copy {
  width: min(100%, 520px);
}

.ink-page .ink-hero-title {
  position: relative;
  width: min(100%, 520px);
  margin: 22px 0 18px;
  color: var(--ink-paper);
}

.ink-page .ink-hero-title img {
  width: 100%;
  height: auto;
  max-height: 210px;
  object-fit: contain;
  object-position: left center;
}

.ink-page .ink-local-title {
  margin: 0 0 10px;
  color: var(--ink-accent);
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  font-weight: 750;
}

.ink-page .ink-hero-summary {
  max-width: 30rem;
  margin: 0;
  color: var(--ink-paper);
  font-size: clamp(1.07rem, 1.65vw, 1.35rem);
  line-height: 1.58;
}

.ink-page .ink-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 28px;
}

.ink-page .ink-button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 11px 19px;
  border: 1px solid var(--ink-accent);
  border-radius: 3px;
  background: var(--ink-accent);
  color: var(--ink-black);
  font-size: 0.95rem;
  font-weight: 800;
  line-height: 1.3;
  text-decoration: none;
  transition: background 180ms ease, color 180ms ease, border-color 180ms ease;
}

.ink-page .ink-button:hover {
  border-color: var(--ink-paper);
  background: var(--ink-paper);
  color: var(--ink-black);
  text-decoration: none;
}

.ink-page .ink-button--secondary {
  border-color: rgb(246 241 228 / 40%);
  background: rgb(16 15 19 / 45%);
  color: var(--ink-paper);
}

.ink-page .ink-button--secondary:hover {
  border-color: var(--ink-accent);
  background: var(--ink-black);
  color: var(--ink-accent);
}

.ink-page .ink-hero-facts {
  display: flex;
  width: max-content;
  max-width: 100%;
  flex-wrap: wrap;
  gap: 12px clamp(18px, 3vw, 34px);
  margin: 35px 0 0;
  padding: 16px 0 0;
  border-top: 1px solid rgb(246 241 228 / 27%);
}

.ink-page .ink-hero-facts div {
  min-width: 0;
}

.ink-page .ink-hero-facts dt {
  margin: 0 0 4px;
  color: var(--ink-muted);
  font-size: 0.71rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.ink-page .ink-hero-facts dd {
  margin: 0;
  color: var(--ink-paper);
  font-size: 0.92rem;
  font-weight: 700;
}

.ink-page .ink-trailer,
.ink-page .ink-gameplay,
.ink-page .ink-world {
  padding-block: var(--ink-space);
  scroll-margin-top: 90px;
}

.ink-page :is(.ink-trailer, .ink-gameplay, .ink-world, .ink-developer, .ink-history) {
  position: relative;
}

/* The exposed paper fibers follow the torn edge of the preceding page. */
.ink-page :is(.ink-trailer, .ink-gameplay, .ink-world, .ink-developer, .ink-history)::before,
.ink-page :is(.ink-trailer, .ink-gameplay, .ink-world, .ink-developer, .ink-history)::after {
  position: absolute;
  inset-inline: 0;
  height: clamp(13px, 1.3vw, 24px);
  clip-path: var(--ink-torn-page-edge);
  content: "";
  pointer-events: none;
}

.ink-page :is(.ink-trailer, .ink-gameplay, .ink-world, .ink-developer, .ink-history)::before {
  top: -1px;
  background:
    var(--ink-paper-grain),
    linear-gradient(95deg, #56402e, #99815c 22%, #67503a 49%, #a18a64 77%, #56402e);
}

.ink-page :is(.ink-trailer, .ink-gameplay, .ink-world, .ink-developer, .ink-history)::after {
  top: -5px;
  background: var(--ink-paper-grain), var(--ink-preceding-page, var(--ink-black));
}

/* 20261112 트레일러와 세계관에 배경지 적용 */
.ink-page :is(.ink-trailer, .ink-world) {
  --ink-parchment-ink: #302116;
  --ink-muted: #4a3024;
  background: var(--ink-parchment-image) center / cover no-repeat var(--ink-parchment);
}

.ink-page :is(.ink-trailer, .ink-world) :is(h2, .ink-label) {
  color: var(--ink-parchment-ink);
}

.ink-page :is(.ink-trailer, .ink-world) a:focus-visible {
  outline-color: var(--ink-parchment-ink);
}

.ink-page .ink-section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px 48px;
  margin-bottom: clamp(25px, 4vw, 45px);
}

.ink-page .ink-section-heading > * {
  min-width: 0;
}

.ink-page .ink-section-heading h2,
.ink-page .ink-world h2,
.ink-page .ink-developer h2,
.ink-page .ink-history h2 {
  margin: 9px 0 0;
  color: var(--ink-paper);
  font-size: clamp(2.25rem, 4.9vw, 4.8rem);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -0.055em;
  text-wrap: balance;
}

.ink-page .ink-section-heading p:not(.ink-label),
.ink-page .ink-world-copy p:not(.ink-label) {
  max-width: 30rem;
  margin: 0;
  color: var(--ink-muted);
  font-size: clamp(1rem, 1.45vw, 1.15rem);
  line-height: 1.65;
}

.ink-page .ink-trailer-frame {
  position: relative;
  display: grid;
  width: 100%;
  aspect-ratio: 16 / 9;
  place-items: center;
  overflow: hidden;
  border: 1px solid var(--ink-border);
  border-radius: 4px;
  background: #09080b;
}

.ink-page .ink-trailer-frame iframe,
.ink-page .ink-trailer-poster {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  margin: 0;
  border: 0;
}

.ink-page .ink-trailer-poster {
  object-fit: cover;
  filter: brightness(0.72);
}

.ink-page .ink-trailer-frame iframe {
  z-index: 2;
}

.ink-page .ink-trailer-frame [hidden] {
  display: none;
}

.ink-page .ink-play {
  position: relative;
  z-index: 1;
  display: grid;
  width: clamp(55px, 8vw, 100px);
  height: clamp(55px, 8vw, 100px);
  place-items: center;
  padding: 0;
  border: 1px solid var(--ink-accent);
  border-radius: 50%;
  background: var(--ink-accent);
  color: var(--ink-black);
  cursor: pointer;
  transition: transform 200ms ease, background-color 200ms ease;
}

.ink-page .ink-play::before {
  width: 0;
  height: 0;
  margin-left: 4px;
  border-block: clamp(8px, 1.3vw, 13px) solid transparent;
  border-left: clamp(13px, 2vw, 20px) solid currentColor;
  content: "";
}

.ink-page .ink-play:hover {
  transform: scale(1.07);
  background-color: var(--ink-paper);
}

.ink-page .ink-trailer-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35em;
  margin-top: 15px;
  color: var(--ink-muted);
  font-size: 0.88rem;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.ink-page .ink-trailer-link:hover {
  color: var(--ink-parchment-ink);
}

.ink-page .ink-gameplay {
  --ink-preceding-page: var(--ink-parchment);
  background:
    var(--ink-paper-grain),
    radial-gradient(ellipse at 28% 28%, rgb(113 121 69 / 24%), transparent 59%),
    radial-gradient(ellipse at 88% 63%, rgb(86 99 66 / 16%), transparent 48%),
    #1d1d17;
}

.ink-page .ink-features {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(12px, 1.6vw, 24px);
}

.ink-page .ink-feature {
  min-width: 0;
}

.ink-page .ink-paper-frame {
  position: relative;
  isolation: isolate;
  box-sizing: border-box;
  min-width: 0;
  margin: 0;
  padding: clamp(7px, 0.75vw, 11px);
  filter: drop-shadow(2px 7px 6px rgb(0 0 0 / 48%));
}

.ink-page .ink-paper-frame::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  content: "";
  background:
    repeating-linear-gradient(19deg, rgb(95 60 33 / 12%) 0 0.7px, transparent 0.7px 5px),
    repeating-linear-gradient(104deg, rgb(255 252 235 / 35%) 0 0.6px, transparent 0.6px 7px),
    radial-gradient(ellipse at 72% 22%, #fff0d0, transparent 66%),
    linear-gradient(154deg, #c6a57e, #e8d4b5 39%, #eadabd 67%, #bda17c);
  clip-path: polygon(
    0.4% 2%, 2.1% 0.8%, 4.4% 1.2%, 6.8% 0.2%, 9.9% 0.9%,
    13.5% 0.3%, 16% 1.2%, 18.1% 0.5%, 22.8% 0.9%, 26.4% 0,
    28.8% 0.8%, 33.7% 0.4%, 37.8% 1.1%, 41.6% 0.2%, 45.9% 0.6%,
    50.5% 0.1%, 53.2% 0.9%, 58.2% 0.3%, 62.5% 1.1%, 65.5% 0.2%,
    68.6% 0.8%, 73.2% 0%, 77% 0.8%, 80.9% 0.3%, 84.1% 1%,
    87.3% 0.3%, 90.6% 1%, 94.4% 0.2%, 96.5% 1%, 99.2% 1.5%,
    99.7% 5.8%, 99.2% 13.4%, 100% 19.2%, 99.4% 26.6%, 99.8% 35%,
    99.2% 44.8%, 100% 53.7%, 99.6% 60%, 99.1% 68.2%, 99.8% 75%,
    99.5% 83%, 100% 90.2%, 99.4% 96.2%, 98.1% 99%, 94.7% 98.8%,
    91.2% 99.8%, 87.2% 99%, 83.1% 99.7%, 78.8% 99.2%, 73.6% 100%,
    69.1% 99.2%, 64.8% 99.7%, 59.2% 98.9%, 55.3% 99.8%, 50.7% 99.4%,
    46.2% 100%, 41.8% 99.1%, 36.8% 99.6%, 32.1% 98.9%, 28% 99.8%,
    23.2% 99.3%, 20.1% 100%, 15.8% 99%, 11.3% 99.6%, 8.5% 99%,
    5.4% 99.6%, 2.1% 98.8%, 0.6% 97%, 0.2% 92.5%, 0.8% 84%,
    0% 76%, 0.6% 68.7%, 0.2% 59.3%, 0.9% 51.2%, 0.3% 43.2%,
    0.7% 36.5%, 0% 27.2%, 0.6% 20.5%, 0.2% 14.1%, 0.7% 8.3%
  );
}

.ink-page .ink-paper-frame img {
  clip-path: polygon(
    0.3% 0.8%, 8% 0.2%, 13% 0.6%, 23% 0.1%, 34% 0.5%, 42% 0%,
    51% 0.6%, 64% 0.1%, 73% 0.6%, 86% 0.2%, 99.5% 0.7%,
    99.8% 21%, 99.4% 37%, 100% 52%, 99.6% 71%, 100% 86%, 99.5% 99.1%,
    88% 99.8%, 78% 99.4%, 65% 100%, 53% 99.5%, 41% 99.9%, 31% 99.4%,
    21% 99.9%, 10% 99.4%, 0.6% 99.7%, 0.2% 87%, 0.5% 71%, 0% 52%, 0.5% 36%, 0% 21%
  );
}

.ink-page .ink-feature:nth-child(1) .ink-paper-frame { transform: rotate(-0.55deg); }
.ink-page .ink-feature:nth-child(2) .ink-paper-frame { transform: rotate(0.5deg); }
.ink-page .ink-feature:nth-child(3) .ink-paper-frame { transform: rotate(-0.35deg); }

.ink-page .ink-feature img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.ink-page .ink-feature-copy {
  padding: clamp(18px, 2.15vw, 30px) 4px 0;
}

.ink-page .ink-feature h3 {
  margin: 0 0 9px;
  color: var(--ink-paper);
  font-size: clamp(1.14rem, 1.8vw, 1.55rem);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.025em;
}

.ink-page .ink-feature p {
  margin: 0;
  color: var(--ink-muted);
  font-size: 0.95rem;
  line-height: 1.58;
}

.ink-page .ink-world {
  --ink-preceding-page: #1d1d17;
}

.ink-page .ink-world > .ink-shell,
.ink-page .ink-world-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(28px, 5vw, 80px);
}

.ink-page .ink-world-scenes {
  position: relative;
  aspect-ratio: 5 / 4;
}

.ink-page .ink-world-art {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 550ms ease;
}

.ink-page .ink-world-art[aria-hidden="false"] {
  opacity: 1;
}

.ink-page .ink-world-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 9px;
}

.ink-page .ink-world-controls[hidden] {
  display: none;
}

.ink-page .ink-world-controls button {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--ink-parchment-ink);
  cursor: pointer;
}

.ink-page .ink-world-controls button:focus-visible {
  outline: 2px solid var(--ink-parchment-ink);
  outline-offset: -3px;
}

.ink-page .ink-world-dot::before {
  width: 20px;
  height: 3px;
  border-radius: 3px;
  background: currentColor;
  content: "";
  opacity: 0.65;
}

.ink-page .ink-world-dot:is([aria-current="true"], :hover)::before {
  opacity: 1;
}

.ink-page .ink-world-toggle {
  margin-left: 8px;
}

.ink-page .ink-world-toggle::before {
  box-sizing: border-box;
  width: 9px;
  height: 12px;
  border-inline: 2px solid currentColor;
  content: "";
}

.ink-page .ink-world-toggle[data-paused]::before {
  width: 0;
  height: 0;
  border: 0;
  border-block: 6px solid transparent;
  border-left: 9px solid currentColor;
}

.ink-page .ink-paper-frame--world {
  padding: clamp(9px, 1.05vw, 16px);
  transform: rotate(-0.6deg);
}

.ink-page .ink-paper-frame--world::after {
  position: absolute;
  top: -10px;
  left: 9%;
  width: clamp(66px, 12vw, 135px);
  height: clamp(21px, 2.5vw, 33px);
  content: "";
  background:
    repeating-linear-gradient(100deg, rgb(81 55 31 / 9%) 0 0.6px, transparent 0.6px 3px),
    linear-gradient(104deg, rgb(199 170 120 / 84%), rgb(244 223 182 / 86%), rgb(204 177 128 / 77%));
  clip-path: polygon(1% 4%, 19% 0, 49% 5%, 73% 0, 100% 4%, 97% 16%, 100% 33%, 96% 49%, 99% 65%, 97% 81%, 100% 96%, 75% 100%, 41% 95%, 15% 100%, 0 96%, 3% 81%, 0 64%, 4% 47%, 1% 31%, 4% 14%);
  transform: rotate(-7deg);
  pointer-events: none;
}

.ink-page .ink-world-copy p:not(.ink-label) {
  margin-top: 20px;
}

.ink-page .ink-world-copy .ink-button {
  border-color: var(--ink-parchment-ink);
}

.ink-page .ink-developer {
  --ink-preceding-page: var(--ink-parchment);
  padding-block: clamp(62px, 7vw, 108px);
  scroll-margin-top: 75px;
  background:
    var(--ink-paper-grain),
    radial-gradient(ellipse at 30% 24%, rgb(153 112 72 / 19%), transparent 63%),
    #211914;
}

.ink-page .ink-developer-heading {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px 24px;
  margin-bottom: clamp(30px, 4vw, 60px);
}

.ink-page .ink-developer h2 {
  margin-top: 0;
  font-size: clamp(2.3rem, 4.3vw, 4.2rem);
}

.ink-page .ink-dialogue {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
  align-items: start;
  gap: clamp(26px, 3vw, 44px) clamp(22px, 3vw, 44px);
  min-width: 0;
  margin: 0;
}

.ink-page .ink-dialogue-exchange {
  min-width: 0;
  overflow-wrap: anywhere;
}

.ink-page .ink-dialogue-exchange:last-child {
  grid-column: 1 / -1;
}

.ink-page .ink-dialogue dt {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 5px 10px;
  margin: 0 0 11px;
  color: var(--ink-paper);
  font-size: clamp(1rem, 1.45vw, 1.18rem);
  font-weight: 600;
}

.ink-page .ink-dialogue-player {
  color: #cecece;
  font-size: 0.78rem;
  font-weight: 700;
}

.ink-page .ink-dialogue-answer {
  position: relative;
  isolation: isolate;
  margin: 0;
  padding: clamp(20px, 2.1vw, 32px) clamp(23px, 2.65vw, 40px);
  color: #272522;
  filter: drop-shadow(0 5px 6px rgb(0 0 0 / 28%));
}

.ink-page .ink-dialogue-answer::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  content: "";
  background: radial-gradient(ellipse at 36% 15%, #fff9e9, #e5d1a8);
  clip-path: polygon(
    0 6px, 5% 2px, 9% 5px, 15% 0, 23% 3px, 29% 1px, 37% 4px, 44% 1px,
    52% 3px, 60% 0, 68% 4px, 76% 2px, 85% 5px, 93% 1px, 100% 5px,
    99.7% 42%, 100% calc(100% - 5px), 94% 100%, 87% calc(100% - 3px),
    79% calc(100% - 1px), 72% calc(100% - 6px), 64% calc(100% - 2px),
    56% 100%, 48% calc(100% - 5px), 39% 100%, 31% calc(100% - 3px),
    22% calc(100% - 1px), 14% calc(100% - 5px), 7% 100%, 0 calc(100% - 4px)
  );
}

.ink-page .ink-dialogue-exchange:last-child .ink-dialogue-paper {
  max-width: 85ch;
}

.ink-page .ink-dialogue-speaker {
  display: block;
  margin-bottom: 6px;
  color: #55514b;
  font-size: 0.8rem;
  font-weight: 750;
}

.ink-page .ink-dialogue-paper p {
  margin: 0;
  color: inherit;
  font-size: clamp(0.95rem, 1.35vw, 1.1rem);
  line-height: 1.65;
}

.ink-page .ink-history {
  --ink-preceding-page: #211914;
  padding-block: clamp(44px, 5.4vw, 75px);
  background:
    var(--ink-paper-grain),
    radial-gradient(ellipse at 65% 22%, rgb(127 87 51 / 14%), transparent 61%),
    #14110f;
  scroll-margin-top: 90px;
}

.ink-page .ink-history .ink-section-heading {
  margin-bottom: 20px;
}

.ink-page .ink-history h2 {
  font-size: clamp(1.75rem, 3.1vw, 3rem);
  font-weight: 800;
}

.ink-page .ink-history-intro {
  max-width: 43rem;
  margin: 12px 0 0;
  color: var(--ink-muted);
}

.ink-page .ink-history-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.ink-page .ink-history-list > * {
  display: grid;
  grid-template-columns: clamp(84px, 12vw, 172px) minmax(0, 1fr);
  min-width: 0;
  min-height: 100px;
  align-items: stretch;
  overflow: hidden;
  border: 1px solid var(--ink-border);
  border-radius: 3px;
  background: var(--ink-panel);
}

.ink-page .ink-history-image {
  width: 100%;
  height: 100%;
  max-height: 150px;
  object-fit: cover;
}

.ink-page .ink-history-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ink-page .ink-history-copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: center;
  padding: 14px clamp(12px, 2vw, 25px);
}

.ink-page .ink-history-copy h3 {
  margin: 0 0 5px;
  color: var(--ink-paper);
  font-size: clamp(1rem, 1.6vw, 1.35rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.ink-page .ink-history-copy p {
  margin: 0;
  color: var(--ink-muted);
  font-size: 0.86rem;
}

.ink-page .ink-history-links {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 14px;
  margin-top: 7px;
}

.ink-page .ink-history-copy a {
  color: var(--ink-accent);
  font-size: 0.8rem;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.ink-page .ink-history-copy a:hover {
  color: var(--ink-paper);
}

@media (max-width: 900px) {
  .ink-page .ink-hero-inner {
    padding-block: 126px 72px;
  }

  .ink-page .ink-hero::after {
    background:
      linear-gradient(0deg, var(--ink-black), rgb(16 15 19 / 24%) 30%, transparent 57%),
      linear-gradient(90deg, rgb(16 15 19 / 95%) 1%, rgb(16 15 19 / 76%) 31%, rgb(16 15 19 / 25%) 74%, transparent),
      linear-gradient(180deg, rgb(16 15 19 / 54%), transparent 27%);
  }

  .ink-page .ink-section-heading {
    flex-direction: column;
    align-items: flex-start;
  }

  .ink-page .ink-world > .ink-shell,
  .ink-page .ink-world-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .ink-page .ink-developer-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .ink-page .ink-dialogue {
    grid-template-columns: minmax(0, 1fr);
  }

  .ink-page .ink-world-scenes {
    aspect-ratio: 16 / 9;
  }
}

@media (max-width: 600px) {
  .ink-page {
    --ink-gutter: clamp(17px, 5vw, 26px);
    --ink-space: 62px;
  }

  .ink-page .ink-hero {
    min-height: auto;
  }

  .ink-page .ink-hero-art {
    height: min(106vw, 540px);
    object-position: 66% center;
  }

  .ink-page .ink-hero::after {
    background:
      linear-gradient(0deg, var(--ink-black) 39%, rgb(16 15 19 / 82%) 60%, transparent 85%),
      linear-gradient(180deg, rgb(16 15 19 / 42%), transparent 27%);
  }

  .ink-page .ink-hero-inner {
    padding-block: clamp(260px, 71vw, 400px) 49px;
  }

  .ink-page .ink-hero-title {
    margin-block: 17px 14px;
  }

  .ink-page .ink-hero-title img {
    max-height: 150px;
  }

  .ink-page .ink-actions {
    gap: 8px;
    margin-top: 22px;
  }

  .ink-page .ink-button {
    min-height: 44px;
    gap: 7px;
    padding-inline: 12px;
    font-size: 0.87rem;
  }

  .ink-page .ink-hero-facts {
    gap: 9px 14px;
    margin-top: 22px;
  }

  .ink-page .ink-hero-facts dd {
    font-size: 0.85rem;
  }

  .ink-page .ink-features,
  .ink-page .ink-history-list {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (prefers-reduced-motion: reduce) {
  .ink-page .ink-button,
  .ink-page .ink-play,
  .ink-page .ink-world-art {
    transition: none;
  }

  .ink-page .ink-play:hover {
    transform: none;
  }
}
