:root {
  color-scheme: dark;
  --ink: #111111;
  --paper: #f3efe6;
  --bone: #d9d0bf;
  --night: #141821;
  --charcoal: #202631;
  --rust: #a65438;
  --moss: #6f7d61;
  --gold: #d8aa55;
  --blue: #5f8195;
  --white: #fffaf0;
  --muted: rgba(255, 250, 240, 0.72);
  --line: rgba(255, 250, 240, 0.18);
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.38);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  min-height: 100dvh;
  overflow-x: hidden;
  background: var(--night);
  color: var(--white);
  font-family: "Cormorant Garamond", Georgia, serif;
}

[hidden] {
  display: none !important;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.home-page {
  overflow-x: hidden;
  background: var(--ink);
}

body.is-playing-home-intro {
  overflow: hidden;
}

.home-cinema-intro {
  position: fixed;
  inset: 0;
  z-index: 1000;
  overflow: hidden;
  background: transparent;
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
}

.home-cinema-intro.is-visible {
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
}

.home-cinema-frame {
  position: fixed;
  inset: 0;
  right: auto;
  bottom: auto;
  overflow: hidden;
  background: #09090d;
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.58);
  will-change: top, left, width, height, border-radius;
}

.home-cinema-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 26%;
  transform: scale(1.08);
  filter: saturate(1.05) contrast(1.04);
  will-change: transform, filter;
}

.home-cinema-vignette {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 44%, transparent 0 42%, rgba(4, 4, 8, 0.3) 72%, rgba(4, 4, 8, 0.72) 100%),
    linear-gradient(180deg, rgba(4, 4, 8, 0.14), rgba(4, 4, 8, 0.42));
  pointer-events: none;
}

.home-cinema-intro.is-landing .home-cinema-vignette {
  animation: homeCinemaVignetteOut 3600ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes homeCinemaVignetteOut {
  to {
    opacity: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-cinema-intro {
    display: none;
  }
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
  padding: 14px clamp(18px, 4vw, 56px);
  border-bottom: 1px solid var(--line);
  background: rgba(20, 24, 33, 0.88);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.brand-mark {
  width: 26px;
  height: 26px;
  border: 2px solid var(--paper);
  background:
    linear-gradient(135deg, transparent 42%, var(--gold) 43% 57%, transparent 58%),
    linear-gradient(45deg, var(--rust), var(--blue));
  transform: rotate(-8deg);
}

.top-nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 3vw, 36px);
  overflow-x: auto;
  white-space: nowrap;
  scrollbar-width: none;
}

.top-nav::-webkit-scrollbar {
  display: none;
}

.top-nav a {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
}

.top-nav a:hover,
.top-nav a:focus-visible,
.top-nav a.is-active {
  color: var(--white);
}

.top-nav a.is-active {
  text-decoration: underline;
  text-decoration-color: var(--gold);
  text-underline-offset: 8px;
}

.home-main {
  height: calc(100vh - 72px);
  height: calc(100dvh - 72px);
  width: min(1180px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-rows: minmax(108px, 20%) minmax(250px, 44%) minmax(190px, 36%);
  overflow-x: hidden;
  overflow-y: auto;
  background: var(--ink);
}

.hero {
  min-height: clamp(340px, 58vh, 620px);
  display: grid;
  align-items: end;
  padding: clamp(64px, 10vw, 120px) clamp(20px, 6vw, 88px) clamp(38px, 7vw, 82px);
  background:
    linear-gradient(90deg, rgba(17, 17, 17, 0.9), rgba(17, 17, 17, 0.34) 55%, rgba(17, 17, 17, 0.76)),
    radial-gradient(circle at 72% 28%, rgba(216, 170, 85, 0.24), transparent 27%),
    linear-gradient(135deg, #111111 0%, #293346 42%, #723f35 72%, #151820 100%);
}

.image-hero {
  background:
    linear-gradient(90deg, rgba(17, 17, 17, 0.92), rgba(17, 17, 17, 0.42) 52%, rgba(17, 17, 17, 0.82)),
    url("assets/images/responsive/title-background-river-city-600.jpg") center / cover;
}

.home-main .hero {
  min-height: 0;
  padding: clamp(12px, 2vw, 24px) clamp(20px, 6vw, 88px);
}

.hero-copy {
  max-width: 900px;
}

.kicker {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

h1,
h2,
.logline {
  font-family: "Libre Baskerville", Georgia, serif;
}

h1 {
  margin: 0;
  font-size: clamp(4rem, 15vw, 12rem);
  line-height: 0.82;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero-line {
  max-width: 640px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 2vw, 1.25rem);
  line-height: 1.55;
}

.home-main h1 {
  font-size: clamp(2.5rem, 7.8vh, 5rem);
}

.home-main .hero-line {
  margin-top: 10px;
  font-size: clamp(1.05rem, 2vh, 1.35rem);
  line-height: 1.45;
}

.carousel-section {
  padding: clamp(18px, 4vw, 42px) clamp(14px, 5vw, 72px) 0;
  background: var(--ink);
}

.home-main .carousel-section {
  min-height: 0;
  padding: 10px clamp(14px, 5vw, 72px);
}

.carousel {
  position: relative;
  width: min(1040px, calc(100vw - 60px));
  max-width: 1040px;
  height: clamp(220px, 31vh, 300px);
  margin: 0 auto;
  box-shadow: var(--shadow);
}

.slides {
  position: relative;
  overflow: hidden;
  height: 100%;
  min-height: 0;
  background: #1c2029;
}

.home-main .carousel,
.home-main .slides {
  height: 100%;
}

.home-main .slides {
  min-height: 0;
  aspect-ratio: auto;
}

.slide {
  position: absolute;
  inset: 0;
  display: grid;
  align-items: end;
  opacity: 0;
  transform: scale(1.02);
  transition: opacity 500ms ease, transform 700ms ease;
}

.image-slide img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.slide:nth-child(3) img {
  object-position: center 36%;
}

.slide:nth-child(1) img {
  object-position: center 26%;
}

.slide:nth-child(4) img {
  object-position: center 36%;
}

.image-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.74), rgba(0, 0, 0, 0.04) 58%);
}

.slide.is-active {
  opacity: 1;
  transform: scale(1);
}

.frame-one {
  background:
    linear-gradient(0deg, rgba(0, 0, 0, 0.74), rgba(0, 0, 0, 0.05) 56%),
    linear-gradient(120deg, #151820, #5f8195 48%, #d8aa55);
}

.frame-two {
  background:
    linear-gradient(0deg, rgba(0, 0, 0, 0.76), rgba(0, 0, 0, 0.12) 54%),
    linear-gradient(150deg, #202631, #a65438 45%, #f3efe6);
}

.frame-three {
  background:
    linear-gradient(0deg, rgba(0, 0, 0, 0.76), rgba(0, 0, 0, 0.1) 56%),
    linear-gradient(135deg, #111111, #6f7d61 46%, #5f8195);
}

.frame-four {
  background:
    linear-gradient(0deg, rgba(0, 0, 0, 0.76), rgba(0, 0, 0, 0.1) 56%),
    linear-gradient(135deg, #111111, #d8aa55 42%, #a65438 78%);
}

.slide::before {
  content: "";
  position: absolute;
  inset: 10%;
  border: 1px solid rgba(255, 250, 240, 0.24);
  background:
    repeating-linear-gradient(92deg, rgba(255, 250, 240, 0.18) 0 1px, transparent 1px 26px),
    radial-gradient(circle at 30% 38%, rgba(255, 250, 240, 0.24), transparent 18%);
  mix-blend-mode: soft-light;
}

.image-slide::before {
  z-index: 1;
}

.slide-content {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  padding: clamp(20px, 5vw, 52px);
}

.slide-content span {
  color: rgba(255, 250, 240, 0.58);
  font-size: clamp(2rem, 7vw, 6rem);
  font-weight: 800;
}

.slide-content p {
  margin: 0;
  color: var(--paper);
  font-size: clamp(1.1rem, 3vw, 2.6rem);
  font-weight: 800;
  text-transform: uppercase;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(17, 17, 17, 0.58);
  color: var(--white);
  cursor: pointer;
  transform: translateY(-50%);
}

.carousel-btn span {
  display: block;
  margin-top: -3px;
  font-size: 2rem;
  line-height: 1;
}

.carousel-btn:hover,
.carousel-btn:focus-visible,
.text-button:hover,
.text-button:focus-visible {
  border-color: var(--gold);
}

.prev {
  left: 14px;
}

.next {
  right: 14px;
}

.carousel-dots {
  position: absolute;
  right: 22px;
  bottom: 18px;
  z-index: 2;
  display: flex;
  gap: 8px;
}

.carousel-dots button {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 1px solid rgba(255, 250, 240, 0.75);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}

.carousel-dots button.is-active {
  background: var(--gold);
  border-color: var(--gold);
}

section {
  scroll-margin-top: 90px;
}

.section-inner {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(62px, 8vw, 100px) 0 clamp(86px, 9vw, 128px);
}

.narrow {
  max-width: 920px;
}

.logline-section {
  background: var(--ink);
}

.home-main .logline-section {
  min-height: 0;
  overflow: visible;
}

.home-logline {
  display: grid;
  align-content: center;
  height: 100%;
  padding: clamp(12px, 2vh, 20px) 0 clamp(28px, 4vh, 44px);
}

.logline {
  margin: 0;
  color: var(--paper);
  font-size: clamp(1.8rem, 4.2vw, 4.25rem);
  line-height: 1.15;
}

.home-main .logline {
  font-size: clamp(1.16rem, 3.3vh, 1.95rem);
  line-height: 1.32;
}

.page-main {
  min-height: calc(100vh - 72px);
  min-height: calc(100dvh - 72px);
  padding-bottom: clamp(96px, 12vw, 150px);
}

.page-title {
  margin: 0 0 22px;
  max-width: 13ch;
  font-size: clamp(2.3rem, 4.8vw, 4.8rem);
  line-height: 1.08;
  overflow-wrap: break-word;
  text-wrap: balance;
}

@media (max-width: 1100px) {
  .page-title {
    font-size: clamp(2.2rem, 5.2vw, 4rem);
  }

  .story-page .page-title {
    max-width: 12ch;
    font-size: clamp(2.2rem, 5vw, 3.8rem);
  }

  .split {
    gap: clamp(28px, 5vw, 54px);
  }
}

.story-section {
  background: var(--paper);
  color: var(--ink);
}

.story-section .kicker {
  color: var(--rust);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1fr);
  gap: clamp(34px, 7vw, 86px);
  align-items: start;
}

.split > *,
.reverse > *,
.private-layout > *,
.game-layout > * {
  min-width: 0;
}

.reverse {
  grid-template-columns: minmax(280px, 0.86fr) minmax(0, 1fr);
  align-items: center;
}

h2 {
  margin: 0 0 22px;
  font-size: clamp(2rem, 5vw, 4.5rem);
  line-height: 1.06;
  letter-spacing: 0;
}

p {
  font-size: 1.05rem;
  line-height: 1.72;
}

.copy-stack {
  max-width: 720px;
}

.copy-stack p,
.about-section p,
.game-section p,
.private-section p {
  color: rgba(255, 250, 240, 0.72);
  margin: 0 0 18px;
}

.story-section p {
  color: rgba(17, 17, 17, 0.76);
}

.story-page .section-inner {
  padding-bottom: clamp(42px, 5vw, 68px);
}

.story-page .page-title {
  max-width: 11ch;
  font-size: clamp(2.4rem, 4.6vw, 4.6rem);
}

.about-section {
  background: #202631;
}

.about-positioning {
  width: min(920px, calc(100% - 40px));
  margin: clamp(28px, 5vw, 56px) auto clamp(104px, 12vw, 160px);
  padding: clamp(28px, 5vw, 56px);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgba(201, 168, 76, 0.1), transparent 32%),
    rgba(240, 236, 226, 0.04);
}

.positioning-copy {
  display: grid;
  gap: 14px;
  max-width: 780px;
}

.positioning-copy p {
  margin: 0;
  color: var(--bone);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.2rem, 2.4vw, 2rem);
  line-height: 1.35;
}

.about-image {
  min-height: 420px;
  align-self: stretch;
  background:
    linear-gradient(0deg, rgba(17, 17, 17, 0.72), rgba(17, 17, 17, 0.08)),
    repeating-linear-gradient(108deg, rgba(255, 250, 240, 0.2) 0 2px, transparent 2px 18px),
    linear-gradient(140deg, #5f8195, #141821 52%, #a65438);
}

.poster-image {
  min-height: 0;
  margin: 0;
  background: #141821;
}

.poster-image img {
  display: block;
  width: 100%;
  max-height: min(680px, 68vh);
  object-fit: contain;
  object-position: center;
}

.story-gallery {
  width: min(1120px, calc(100% - 40px));
  margin: -8px auto clamp(104px, 12vw, 160px);
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(28px, 5vw, 56px);
}

.story-gallery figure {
  margin: 0;
}

.story-gallery img {
  width: 100%;
  display: block;
  height: auto;
  max-height: none;
  object-fit: contain;
  object-position: center;
  background: rgba(17, 17, 17, 0.08);
}

.story-gallery figure:nth-child(2) img {
  background: var(--white);
}

.game-section {
  background:
    linear-gradient(90deg, rgba(5, 5, 8, 0.92) 0%, rgba(5, 5, 8, 0.72) 48%, rgba(5, 5, 8, 0.95) 100%),
    url("assets/images/ink-born-street.png") center / cover no-repeat,
    #111111;
}

.game-launch-page {
  display: grid;
  align-items: center;
  padding: clamp(42px, 7vw, 88px) clamp(18px, 5vw, 64px) clamp(104px, 12vw, 160px);
}

.game-launch-card {
  width: min(840px, 100%);
  margin: 0 auto;
  padding: clamp(30px, 6vw, 68px);
  border: 1px solid var(--line);
  background:
    linear-gradient(145deg, rgba(201, 168, 76, 0.12), transparent 46%),
    rgba(5, 5, 8, 0.82);
  box-shadow: var(--shadow);
  text-align: center;
}

.game-launch-card .page-title {
  margin-right: auto;
  margin-bottom: 18px;
  margin-left: auto;
  max-width: 18ch;
}

.game-launch-card p {
  max-width: 620px;
  margin-right: auto;
  margin-left: auto;
}

.game-launch-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  min-height: 58px;
  margin-top: clamp(14px, 3vw, 28px);
  padding: 16px clamp(20px, 5vw, 42px);
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(201, 168, 76, 0.24), rgba(201, 168, 76, 0.08)),
    rgba(5, 5, 8, 0.9);
  color: var(--paper);
  font-family: "Cinzel", Georgia, serif;
  font-size: clamp(0.9rem, 2.4vw, 1.25rem);
  font-weight: 700;
  letter-spacing: 0.18em;
  text-decoration: none;
  text-transform: uppercase;
}

.game-launch-button span {
  color: var(--gold);
  font-weight: 500;
}

.game-launch-button:hover,
.game-launch-button:focus-visible {
  border-color: var(--gold);
  background:
    linear-gradient(180deg, rgba(201, 168, 76, 0.34), rgba(201, 168, 76, 0.12)),
    rgba(5, 5, 8, 0.94);
}

.game-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1fr);
  gap: clamp(30px, 6vw, 76px);
  align-items: center;
}

.game-panel {
  border: 1px solid var(--line);
  background: #f3efe6;
  box-shadow: var(--shadow);
}

#drawCanvas {
  display: block;
  width: 100%;
  aspect-ratio: 12 / 7;
  height: auto;
  touch-action: none;
  cursor: crosshair;
}

.game-preview {
  min-height: 360px;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 12px;
  padding: 28px;
  background:
    radial-gradient(circle at 50% 22%, rgba(216, 170, 85, 0.38), transparent 24%),
    radial-gradient(circle at 72% 34%, rgba(95, 129, 149, 0.28), transparent 22%),
    linear-gradient(180deg, #1f2940 0%, #05070c 100%);
  color: var(--paper);
  text-align: center;
}

.game-preview span {
  color: var(--gold);
  font-family: "Libre Baskerville", Georgia, serif;
  font-size: clamp(3rem, 8vw, 7rem);
  font-weight: 700;
  line-height: 0.9;
}

.game-preview strong {
  font-size: clamp(1rem, 2vw, 1.4rem);
  text-transform: uppercase;
}

.game-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 12px;
  border-top: 1px solid rgba(17, 17, 17, 0.16);
  color: rgba(17, 17, 17, 0.68);
  font-size: 0.88rem;
}

.launch-controls {
  background: var(--paper);
}

.text-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  border: 1px solid var(--line);
  background: var(--ink);
  color: var(--white);
  cursor: pointer;
  font-weight: 800;
  text-transform: uppercase;
}

.private-section {
  background:
    linear-gradient(135deg, rgba(95, 129, 149, 0.24), transparent 42%),
    var(--charcoal);
}

.private-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(300px, 0.7fr);
  gap: clamp(28px, 6vw, 72px);
  align-items: start;
}

.password-box {
  display: grid;
  gap: 12px;
  padding: 24px;
  border: 1px solid var(--line);
  background: rgba(17, 17, 17, 0.34);
}

.password-box label {
  color: var(--paper);
  font-weight: 800;
  text-transform: uppercase;
}

.password-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
}

.password-row input {
  width: 100%;
  min-height: 42px;
  border: 1px solid var(--line);
  background: rgba(255, 250, 240, 0.08);
  color: var(--white);
  padding: 0 12px;
}

.form-note {
  min-height: 24px;
  margin: 0;
  font-size: 0.88rem;
}

.private-content {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(18px, 3vw, 34px);
}

.private-material-tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.private-material-button {
  min-height: 154px;
  display: grid;
  align-content: end;
  gap: 8px;
  padding: clamp(18px, 2vw, 24px);
  border: 1px solid var(--line);
  background: rgba(255, 250, 240, 0.08);
  color: var(--paper);
  font: inherit;
  font-weight: 800;
  text-align: left;
  text-transform: uppercase;
  cursor: pointer;
}

.private-material-button:hover,
.private-material-button:focus-visible,
.private-material-button.is-active {
  border-color: var(--gold);
  background: rgba(255, 250, 240, 0.12);
}

.private-material-button span {
  font-size: 1rem;
}

.private-material-button small {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.35;
  text-transform: none;
}

.private-reader {
  position: relative;
  width: 100%;
  margin-top: 0;
  background: #050508;
}

.private-reader::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: #050508;
  opacity: 0;
  transition: opacity 120ms ease;
}

.private-reader.is-loading::before {
  opacity: 1;
}

.private-material-frame {
  display: block;
  width: 100%;
  height: max(760px, calc(100dvh - 220px));
  min-height: 760px;
  border: 1px solid var(--line);
  background: #050508;
  box-shadow: var(--shadow);
  color-scheme: dark;
}

.contact-section {
  background:
    radial-gradient(circle at 82% 16%, rgba(201, 168, 76, 0.1), transparent 30%),
    linear-gradient(180deg, #0e0e14 0%, #08080c 100%);
  color: var(--paper);
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(320px, 0.92fr);
  gap: clamp(28px, 6vw, 76px);
  align-items: start;
}

.contact-copy p {
  color: var(--bone);
  font-family: "Cormorant Garamond", Georgia, serif;
}

.contact-feature-image {
  width: min(100%, 390px);
  margin: clamp(24px, 5vw, 42px) 0 0;
  border: 1px solid rgba(208, 174, 93, 0.26);
  background: rgba(240, 236, 226, 0.04);
  box-shadow: 0 22px 58px rgba(0, 0, 0, 0.36);
}

.contact-feature-image img {
  display: block;
  width: 100%;
  height: auto;
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: clamp(22px, 4vw, 34px);
  border: 1px solid var(--line);
  background:
    linear-gradient(145deg, rgba(201, 168, 76, 0.08), transparent 48%),
    rgba(14, 14, 20, 0.86);
  box-shadow: var(--shadow);
}

.contact-form label {
  display: grid;
  gap: 7px;
}

.contact-form span {
  color: var(--gold);
  font-family: "Cinzel", Georgia, serif;
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: rgba(240, 236, 226, 0.06);
  color: var(--paper);
  font: inherit;
  padding: 12px 13px;
}

.contact-form select {
  color-scheme: dark;
}

.contact-form textarea {
  resize: vertical;
  min-height: 132px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.contact-honey {
  position: absolute;
  left: -9999px;
}

.contact-submit {
  justify-self: start;
  min-width: 180px;
}

.contact-status {
  color: var(--bone);
}

.contact-status.is-success {
  color: #d9f3c4;
}

.contact-status.is-error {
  color: #ffd3c8;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin: clamp(12px, 3vw, 32px) 0 clamp(72px, 10vw, 128px);
  width: 100%;
  padding: 28px clamp(20px, 5vw, 64px);
  border-top: 1px solid var(--line);
  background: #050508;
  color: var(--muted);
  font-family: "Cinzel", Georgia, serif;
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

@media (max-width: 820px) {
  .site-header {
    align-items: stretch;
    flex-direction: column;
    gap: 12px;
    min-height: 96px;
  }

  .home-main,
  .page-main {
    min-height: calc(100dvh - 96px);
  }

  .home-main {
    height: calc(100dvh - 96px);
    grid-template-rows: minmax(112px, 20%) minmax(205px, 37%) minmax(238px, 43%);
  }

  .top-nav {
    padding-bottom: 4px;
  }

  body:not(.home-page) .hero {
    min-height: 420px;
  }

  .slides {
    aspect-ratio: 4 / 3;
  }

  .carousel-btn {
    width: 40px;
    height: 40px;
  }

  .slide-content {
    align-items: start;
    flex-direction: column;
  }

  .home-main .slide-content {
    gap: 8px;
    padding: 18px;
  }

  .home-main .slide-content span {
    font-size: clamp(1.8rem, 6vh, 3rem);
  }

  .home-main .slide-content p {
    font-size: clamp(1rem, 3.2vh, 1.5rem);
  }

  .split,
  .reverse,
  .game-layout,
  .private-layout,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .section-inner {
    padding: clamp(42px, 8vw, 70px) 0 clamp(72px, 12vw, 104px);
  }

  .page-title,
  .story-page .page-title {
    max-width: 14ch;
    font-size: clamp(1.75rem, 7vw, 2.55rem);
    line-height: 1.1;
  }

  .playable-game-page {
    grid-template-rows: auto minmax(420px, 1fr);
    padding-top: 20px;
    padding-bottom: 72px;
  }

  .game-page-intro {
    align-items: start;
    flex-direction: column;
  }

  .game-frame {
    height: calc(100dvh - 310px);
    min-height: 420px;
  }

  .about-image {
    min-height: 320px;
  }

  .story-gallery {
    margin-top: 0;
  }

  .story-gallery img {
    height: auto;
    max-height: none;
  }

  .private-material-tabs {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 520px) {
  .section-inner {
    width: min(100% - 28px, 1120px);
  }

  .password-row {
    grid-template-columns: 1fr;
  }

  .private-material-tabs {
    grid-template-columns: 1fr;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .private-material-frame {
    height: 760px;
  }

  .site-footer {
    flex-direction: column;
  }
}

/* Cinematic art direction pass inspired by the DRAWN lookbook treatment. */
:root {
  --ink: #08080c;
  --paper: #f0ece2;
  --bone: #c8c2b4;
  --night: #08080c;
  --charcoal: #0e0e14;
  --rust: #9c4d35;
  --moss: #777260;
  --gold: #c9a84c;
  --blue: #2f3d50;
  --white: #f8f2e7;
  --muted: rgba(240, 236, 226, 0.68);
  --line: rgba(201, 168, 76, 0.18);
  --panel: rgba(14, 14, 20, 0.86);
  --shadow: 0 22px 70px rgba(0, 0, 0, 0.56);
}

body {
  background:
    radial-gradient(circle at 16% 0%, rgba(201, 168, 76, 0.08), transparent 34%),
    linear-gradient(180deg, #08080c 0%, #0e0e14 52%, #08080c 100%);
  color: var(--paper);
  font-family: "Cormorant Garamond", Georgia, serif;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(rgba(240, 236, 226, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(240, 236, 226, 0.018) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.8), transparent 72%);
}

.site-header {
  min-height: 58px;
  padding: 0 clamp(18px, 4vw, 56px);
  border-bottom-color: var(--line);
  background: rgba(8, 8, 12, 0.92);
}

.brand {
  font-family: "Cinzel", Georgia, serif;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.28em;
}

.brand-mark {
  width: 18px;
  height: 18px;
  border-color: var(--gold);
  background:
    linear-gradient(135deg, transparent 41%, var(--gold) 42% 58%, transparent 59%),
    linear-gradient(45deg, #0f1017, #3a2f1a);
}

.top-nav {
  gap: 0;
}

.top-nav a {
  position: relative;
  padding: 21px clamp(11px, 2.2vw, 26px) 19px;
  color: var(--bone);
  font-family: "Cinzel", Georgia, serif;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.24em;
}

.top-nav a::after {
  content: "";
  position: absolute;
  right: 50%;
  bottom: 13px;
  left: 50%;
  height: 1px;
  background: var(--gold);
  transition: left 220ms ease, right 220ms ease;
}

.top-nav a:hover::after,
.top-nav a:focus-visible::after,
.top-nav a.is-active::after {
  right: 24px;
  left: 24px;
}

.top-nav a:hover,
.top-nav a:focus-visible,
.top-nav a.is-active {
  color: var(--gold);
}

.top-nav a.is-active {
  text-decoration: none;
}

h1,
h2,
.logline {
  font-family: "Cinzel", Georgia, serif;
  font-weight: 600;
}

p {
  font-size: clamp(1.05rem, 1.35vw, 1.25rem);
  line-height: 1.7;
}

.kicker {
  color: var(--gold);
  font-family: "Cinzel", Georgia, serif;
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.32em;
}

.home-main {
  height: calc(100vh - 58px);
  height: calc(100dvh - 58px);
  grid-template-rows: minmax(96px, 18%) minmax(235px, 42%) minmax(220px, 40%);
  background: var(--ink);
}

.image-hero {
  background:
    linear-gradient(90deg, rgba(8, 8, 12, 0.93), rgba(8, 8, 12, 0.42) 52%, rgba(8, 8, 12, 0.82)),
    linear-gradient(0deg, rgba(8, 8, 12, 0.56), transparent 48%),
    url("assets/images/responsive/title-background-river-city-600.jpg") center / cover;
}

@media (min-width: 760px) {
  .image-hero {
    background:
      linear-gradient(90deg, rgba(8, 8, 12, 0.93), rgba(8, 8, 12, 0.42) 52%, rgba(8, 8, 12, 0.82)),
      linear-gradient(0deg, rgba(8, 8, 12, 0.56), transparent 48%),
      url("assets/images/responsive/title-background-river-city-1000.jpg") center / cover;
  }
}

.home-main .hero {
  padding: clamp(12px, 2vw, 22px) clamp(20px, 6vw, 88px);
}

h1 {
  color: var(--paper);
  font-size: clamp(4.6rem, 15vw, 12rem);
  line-height: 0.86;
}

.home-main h1 {
  font-size: clamp(2.5rem, 7.8vh, 5rem);
  letter-spacing: 0.035em;
  text-shadow: 0 0 40px rgba(0, 0, 0, 0.62);
}

.hero-line {
  max-width: 680px;
  color: var(--bone);
  font-size: clamp(1.15rem, 2vw, 1.5rem);
  font-style: italic;
}

.carousel-section,
.logline-section,
.game-section {
  background: var(--ink);
}

.carousel {
  border: 1px solid var(--line);
  background: #09090d;
  box-shadow: var(--shadow), 0 0 60px rgba(201, 168, 76, 0.07);
}

.slides {
  background: #09090d;
}

.image-slide::after {
  background:
    linear-gradient(0deg, rgba(8, 8, 12, 0.74), transparent 62%),
    linear-gradient(90deg, rgba(8, 8, 12, 0.34), transparent 48%);
}

.slide::before {
  inset: 18px;
  border-color: rgba(201, 168, 76, 0.18);
  background: none;
  mix-blend-mode: normal;
}

.slide-content span {
  color: rgba(201, 168, 76, 0.58);
  font-family: "Cinzel", Georgia, serif;
  font-size: clamp(1.5rem, 5vw, 4.4rem);
  font-weight: 500;
}

.slide-content p {
  color: var(--paper);
  font-family: "Cinzel", Georgia, serif;
  font-size: clamp(0.95rem, 2.4vw, 2.05rem);
  font-weight: 600;
  letter-spacing: 0.16em;
}

.carousel-btn {
  border-color: var(--line);
  background: rgba(8, 8, 12, 0.68);
  color: var(--paper);
}

.carousel-dots button {
  border-color: rgba(240, 236, 226, 0.56);
}

.logline {
  color: var(--paper);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.9rem, 4.1vw, 4rem);
  font-style: italic;
  font-weight: 300;
}

.home-main .logline {
  color: var(--bone);
  font-size: clamp(1.2rem, 3.1vh, 1.95rem);
  line-height: 1.32;
}

.page-main {
  min-height: calc(100vh - 58px);
  min-height: calc(100dvh - 58px);
  padding-bottom: clamp(96px, 12vw, 150px);
}

.page-title {
  color: var(--paper);
  max-width: 22ch;
  font-size: clamp(1.4rem, 3vw, 2.85rem);
  letter-spacing: 0.025em;
}

.section-inner {
  padding-top: clamp(56px, 7vw, 96px);
}

.story-section,
.about-section,
.private-section {
  background:
    radial-gradient(circle at 12% 12%, rgba(201, 168, 76, 0.08), transparent 30%),
    linear-gradient(180deg, #0e0e14 0%, #08080c 100%);
  color: var(--paper);
}

.story-section .kicker {
  color: var(--gold);
}

.copy-stack p,
.about-section p,
.game-section p,
.private-section p,
.story-section p {
  color: var(--bone);
  font-family: "Cormorant Garamond", Georgia, serif;
}

.split {
  gap: clamp(34px, 6vw, 78px);
}

.story-page .page-title {
  max-width: 19ch;
  font-size: clamp(1.3rem, 2.45vw, 2.4rem);
}

.story-gallery {
  gap: 8px;
  margin-top: -8px;
}

.story-gallery figure {
  margin: 0;
}

.story-gallery img {
  border: 1px solid var(--line);
  background: rgba(240, 236, 226, 0.04);
  box-shadow: 0 20px 54px rgba(0, 0, 0, 0.28);
}

.story-gallery figure:nth-child(2) img {
  background: var(--paper);
}

.story-page .story-gallery {
  gap: clamp(28px, 5vw, 56px);
  margin-top: 0;
}

.story-chapter {
  display: grid;
  gap: clamp(22px, 4vw, 42px);
  margin: clamp(8px, 2vw, 22px) 0;
  padding: clamp(24px, 5vw, 54px);
  border: 1px solid rgba(208, 174, 93, 0.34);
  background:
    radial-gradient(circle at 18% 0%, rgba(201, 168, 76, 0.16), transparent 40%),
    linear-gradient(135deg, rgba(25, 23, 20, 0.96), rgba(13, 13, 16, 0.94));
  box-shadow: 0 26px 68px rgba(0, 0, 0, 0.34);
}

.story-chapter-journey {
  background:
    radial-gradient(circle at 82% 0%, rgba(86, 112, 136, 0.26), transparent 42%),
    linear-gradient(135deg, rgba(12, 15, 20, 0.98), rgba(23, 20, 18, 0.92));
}

.imaginarium-story {
  background:
    radial-gradient(circle at 18% 0%, rgba(110, 70, 156, 0.34), transparent 42%),
    linear-gradient(135deg, rgba(12, 10, 18, 0.98), rgba(28, 24, 42, 0.92));
}

.story-chapter-copy {
  max-width: 760px;
}

.story-chapter-copy .kicker {
  color: var(--gold);
}

.story-chapter-copy h2 {
  margin: 0 0 14px;
  color: var(--white);
  font-family: var(--display);
  font-size: clamp(1.6rem, 4vw, 3.4rem);
  font-weight: 600;
  line-height: 0.95;
  text-transform: uppercase;
}

.story-chapter-copy p:last-child {
  max-width: 64ch;
  margin: 0;
  color: rgba(248, 244, 235, 0.82);
}

.story-chapter-images {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(14px, 3vw, 28px);
}

.story-chapter-images figure {
  margin: 0;
}

.story-gallery .story-chapter-images img {
  height: 100%;
  min-height: 280px;
  object-fit: cover;
  border-color: rgba(248, 244, 235, 0.18);
  background: #101018;
}

@media (max-width: 760px) {
  .story-chapter-images {
    grid-template-columns: 1fr;
  }
}

.about-image,
.poster-image,
.game-panel,
.password-box,
.private-material-button {
  border: 1px solid var(--line);
  background: var(--panel);
  box-shadow: var(--shadow);
}

.poster-image {
  padding: clamp(10px, 1.8vw, 18px);
}

.poster-image img {
  max-height: min(700px, 72vh);
}

.text-button {
  min-height: 44px;
  padding: 0 20px;
  border-color: var(--line);
  background: transparent;
  color: var(--gold);
  font-family: "Cinzel", Georgia, serif;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.2em;
}

.text-button:hover,
.text-button:focus-visible {
  background: rgba(201, 168, 76, 0.1);
}

.game-frame {
  border-color: var(--line);
  background: #050508;
  box-shadow: var(--shadow);
}

.material-page {
  min-height: calc(100dvh - 58px);
  padding: clamp(32px, 5vw, 68px) clamp(16px, 4vw, 48px) clamp(88px, 10vw, 140px);
  background:
    radial-gradient(circle at 12% 12%, rgba(201, 168, 76, 0.08), transparent 30%),
    linear-gradient(180deg, #0e0e14 0%, #08080c 100%);
  color: var(--paper);
  color-scheme: dark;
}

.material-nav {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 32px;
  border-bottom: 1px solid var(--line);
  background: rgba(5, 5, 8, 0.96);
  font-family: "Cinzel", Georgia, serif;
  font-size: 0.62rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.material-nav a {
  color: var(--muted);
  text-decoration: none;
}

.material-nav a:hover,
.material-nav a:focus-visible {
  color: var(--gold);
}

.material-intro {
  width: min(1120px, 100%);
  margin: 0 auto 24px;
}

.material-download,
.material-card {
  width: min(1120px, 100%);
  margin: 0 auto 20px;
}

.material-download a,
.material-card a {
  color: var(--gold);
}

.material-card {
  padding: clamp(26px, 5vw, 52px);
  border: 1px solid var(--line);
  background:
    linear-gradient(145deg, rgba(201, 168, 76, 0.09), transparent 48%),
    rgba(14, 14, 20, 0.86);
  box-shadow: var(--shadow);
}

.material-card p {
  color: var(--bone);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.26rem, 2.35vw, 1.95rem);
  line-height: 1.45;
}

.overview-page,
.status-page {
  width: min(960px, 100%);
  margin: 0 auto;
}

.overview-hero {
  text-align: center;
  margin: 0 auto clamp(36px, 6vw, 58px);
}

.overview-hero h1 {
  margin: 8px 0 10px;
  color: var(--paper);
  font-family: "Cinzel", Georgia, serif;
  font-size: clamp(3rem, 9vw, 5.4rem);
  font-weight: 700;
  letter-spacing: 0.28em;
  text-indent: 0.28em;
  text-transform: uppercase;
}

.overview-byline {
  margin: 0 auto 24px;
  color: var(--muted);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.16rem;
  font-style: italic;
}

.overview-details {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin: 0 auto;
  max-width: 820px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.overview-details span,
.tag-groups span,
.status-board h2 {
  display: block;
  margin-bottom: 8px;
  color: var(--gold);
  font-family: "Cinzel", Georgia, serif;
  font-size: 0.62rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.overview-details strong {
  color: var(--bone);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.1rem;
  font-weight: 400;
  line-height: 1.35;
}

.overview-logline,
.overview-section,
.overview-positioning,
.status-board {
  margin: 0 auto clamp(28px, 5vw, 48px);
  padding: clamp(24px, 4vw, 40px);
  border: 1px solid var(--line);
  background:
    linear-gradient(145deg, rgba(201, 168, 76, 0.08), transparent 52%),
    rgba(14, 14, 20, 0.86);
  box-shadow: var(--shadow);
}

.overview-logline p,
.overview-positioning p {
  margin: 0;
  color: var(--paper);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.35rem, 3vw, 2rem);
  font-style: italic;
  line-height: 1.45;
  text-align: center;
}

.overview-section p,
.status-board li {
  color: var(--bone);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.2rem, 2.1vw, 1.58rem);
  line-height: 1.55;
}

.overview-section p {
  margin: 0 0 14px;
}

.overview-section p:last-child {
  margin-bottom: 0;
}

.tag-groups {
  display: grid;
  gap: 22px;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.tag-row em {
  padding: 6px 14px;
  border: 1px solid var(--line);
  background: rgba(201, 168, 76, 0.06);
  color: var(--bone);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.08rem;
  line-height: 1.2;
}

.status-board {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(24px, 5vw, 50px);
}

.status-board ul {
  margin: 0;
  padding-left: 1.1em;
}

.status-board li + li {
  margin-top: 10px;
}

.status-tags {
  align-content: start;
}

.inquiry-list {
  display: grid;
  gap: 18px;
}

.inquiry-card {
  display: grid;
  gap: 14px;
  padding: clamp(18px, 3vw, 28px);
  border: 1px solid var(--line);
  background: rgba(255, 250, 240, 0.045);
}

.inquiry-card header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
}

.inquiry-card strong {
  color: var(--paper);
  font-family: "Cinzel", Georgia, serif;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.inquiry-card header span,
.inquiry-card dt {
  color: var(--gold);
  font-family: "Cinzel", Georgia, serif;
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.inquiry-card dl {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 18px;
  margin: 0;
}

.inquiry-card dd {
  margin: 4px 0 0;
  color: var(--bone);
}

.inquiry-card p {
  margin: 0;
  color: var(--paper);
}

.pdf-viewer {
  display: block;
  width: min(1120px, 100%);
  height: min(78vh, 860px);
  min-height: 520px;
  margin: 0 auto;
  border: 1px solid var(--line);
  background: #050508;
  box-shadow: var(--shadow);
}

.pdf-fallback {
  width: min(1120px, 100%);
  margin: 18px auto 0;
}

.pdf-fallback a {
  color: var(--gold);
}

.pdf-mobile-actions {
  display: none;
  width: min(1120px, 100%);
  margin: 0 auto 18px;
  padding: 18px;
  border: 1px solid var(--line);
  background: rgba(5, 5, 8, 0.94);
}

.pdf-mobile-actions p {
  margin: 0 0 14px;
  color: var(--bone);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.22rem;
  line-height: 1.4;
}

.pdf-mobile-actions a {
  display: block;
  margin-top: 10px;
  padding: 12px 14px;
  border: 1px solid var(--gold);
  color: var(--paper);
  font-family: "Cinzel", Georgia, serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
}

.password-box label {
  color: var(--gold);
  font-family: "Cinzel", Georgia, serif;
  font-size: 0.68rem;
  letter-spacing: 0.25em;
}

.password-row input {
  border-color: var(--line);
  background: rgba(240, 236, 226, 0.06);
  color: var(--paper);
}

.private-material-button {
  background:
    linear-gradient(145deg, rgba(201, 168, 76, 0.09), transparent 48%),
    rgba(14, 14, 20, 0.86);
}

.private-material-button span {
  color: var(--paper);
  font-family: "Cinzel", Georgia, serif;
  font-size: 0.88rem;
  letter-spacing: 0.12em;
}

.private-material-button small {
  color: var(--bone);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1rem;
  font-weight: 400;
}

body.private-unlocked .private-section .section-inner {
  padding-top: clamp(12px, 2vw, 24px);
  padding-bottom: clamp(54px, 7vw, 96px);
}

body.private-unlocked .private-layout {
  grid-template-columns: 1fr;
  gap: clamp(10px, 1.8vw, 18px);
}

body.private-unlocked #privateIntro .kicker {
  margin-bottom: clamp(8px, 1.5vw, 16px);
}

body.private-unlocked #privateIntro .page-title,
body.private-unlocked #privateIntro p:not(.kicker) {
  display: none;
}

body.private-unlocked .private-content {
  gap: clamp(12px, 2vw, 22px);
}

body.private-unlocked .private-material-tabs {
  gap: 12px;
}

body.private-unlocked .private-material-button {
  min-height: 94px;
  padding: clamp(12px, 1.6vw, 18px);
}

body.private-unlocked .private-material-frame {
  height: max(720px, calc(100dvh - 188px));
  min-height: 720px;
}

body.private-unlocked .form-note {
  margin-bottom: 0;
}

@media (max-width: 640px) {
  body.private-unlocked .private-section .section-inner {
    padding-top: 10px;
  }

  body.private-unlocked .private-content {
    gap: 10px;
  }

  body.private-unlocked .private-content > .form-note {
    font-size: 0.82rem;
  }

  body.private-unlocked .private-material-tabs {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  body.private-unlocked .private-material-button {
    min-height: 58px;
    align-content: center;
    grid-template-columns: 1fr;
    gap: 2px;
    padding: 10px 14px;
  }

  body.private-unlocked .private-material-button span {
    font-size: 0.76rem;
    line-height: 1.2;
  }

  body.private-unlocked .private-material-button small {
    font-size: 0.88rem;
    line-height: 1.15;
  }

  body.private-unlocked .private-reader {
    grid-column: 1 / -1;
    margin: 2px 0 10px;
  }

  body.private-unlocked .private-material-frame {
    height: 72dvh;
    min-height: 520px;
  }

  .material-page {
    padding-top: 24px;
  }

  .pdf-mobile-actions {
    display: block;
  }

  .pdf-viewer {
    display: none;
  }

  .pdf-fallback {
    display: none;
  }

  .pitch-deck-page > .material-download {
    display: none;
  }
}

@media (max-width: 820px) {
  .site-header {
    min-height: 96px;
    padding-top: 12px;
    padding-bottom: 10px;
  }

  .top-nav a {
    padding: 12px 14px 13px;
    font-size: 0.6rem;
  }

  .top-nav a:hover::after,
  .top-nav a:focus-visible::after,
  .top-nav a.is-active::after {
    right: 14px;
    left: 14px;
  }

  .home-main {
    height: calc(100dvh - 96px);
    grid-template-rows: minmax(104px, 19%) minmax(205px, 37%) minmax(240px, 44%);
  }

  .home-main h1 {
    font-size: clamp(2.2rem, 6.8vh, 3.9rem);
  }

  .home-main .hero-line {
    font-size: clamp(1rem, 2.1vh, 1.2rem);
  }

  .home-main .logline {
    font-size: clamp(1.12rem, 2.85vh, 1.48rem);
    line-height: 1.35;
  }

  .page-title,
  .story-page .page-title {
    max-width: 20ch;
    font-size: clamp(1.3rem, 4.4vw, 1.85rem);
  }

  .overview-details,
  .status-board,
  .inquiry-card dl {
    grid-template-columns: 1fr;
  }

  .overview-hero h1 {
    letter-spacing: 0.18em;
    text-indent: 0.18em;
  }
}

@media (max-width: 520px) {
  .brand {
    letter-spacing: 0.2em;
  }

  .top-nav {
    justify-content: flex-start;
    width: 100%;
  }

  .top-nav a {
    letter-spacing: 0.16em;
  }

  .home-main {
    grid-template-rows: minmax(104px, 18%) minmax(190px, 34%) minmax(260px, 48%);
    overflow-x: hidden;
    overflow-y: auto;
  }

  .home-logline {
    padding-bottom: 42px;
  }

  .home-main .slide-content p {
    letter-spacing: 0.08em;
  }
}

/* The Imaginarium */
.imaginarium-section {
  background:
    radial-gradient(circle at 18% 8%, rgba(201, 168, 76, 0.15), transparent 28%),
    radial-gradient(circle at 88% 22%, rgba(95, 129, 149, 0.16), transparent 30%),
    linear-gradient(180deg, #0e0e14 0%, #08080c 100%);
  color: var(--paper);
}

.imaginarium-section.page-main {
  padding-bottom: clamp(70px, 8vw, 112px);
}

.imaginarium-shell {
  display: grid;
  gap: clamp(8px, 1.4vw, 16px);
  padding-top: clamp(14px, 2vw, 28px);
}

.imaginarium-intro {
  width: min(760px, 100%);
  padding: 0;
}

.imaginarium-intro .kicker {
  margin-bottom: 5px;
}

.imaginarium-intro .page-title {
  max-width: none;
  margin-bottom: 5px;
  font-size: clamp(1.65rem, 2.8vw, 2.85rem);
  line-height: 1.02;
}

.imaginarium-intro > p:not(.kicker),
.imaginarium-support {
  width: min(660px, 100%);
  color: var(--bone);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(0.98rem, 1.15vw, 1.18rem);
  line-height: 1.22;
  margin: 0 0 3px;
}

.imaginarium-support {
  opacity: 0.78;
  margin-bottom: 0;
}

.imaginarium-workbench {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  min-height: clamp(600px, 56vw, 860px);
  aspect-ratio: 1672 / 941;
  overflow: hidden;
  border: 1px solid rgba(201, 168, 76, 0.2);
  background:
    linear-gradient(90deg, rgba(5, 5, 8, 0.12), rgba(5, 5, 8, 0.02) 52%, rgba(5, 5, 8, 0.2)),
    url("assets/images/will-workshop-desk-dark-1200.jpg") center / cover;
  box-shadow: var(--shadow);
}

.sketch-panel,
.imaginarium-form,
.drawn-card {
  border: 1px solid var(--line);
  background:
    linear-gradient(145deg, rgba(201, 168, 76, 0.08), transparent 50%),
    rgba(14, 14, 20, 0.88);
  box-shadow: var(--shadow);
}

.sketch-panel {
  position: absolute;
  inset: 0;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.sketch-toolbar {
  position: absolute;
  top: 22%;
  right: 7.4%;
  z-index: 2;
  width: min(27%, 390px);
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-start;
  margin: 0;
  padding: 14px;
  border: 1px solid rgba(255, 231, 168, 0.18);
  background: rgba(15, 8, 4, 0.42);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(2px);
}

.tool-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tool-button {
  min-height: 38px;
  padding: 0 12px;
  border: 1px solid rgba(240, 236, 226, 0.22);
  background: rgba(255, 250, 240, 0.06);
  color: var(--bone);
  cursor: pointer;
  font-family: "Cinzel", Georgia, serif;
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.tool-button:hover,
.tool-button:focus-visible,
.tool-button.is-active {
  border-color: var(--gold);
  color: var(--paper);
  background: rgba(201, 168, 76, 0.13);
}

.sketch-canvas-wrap {
  position: absolute;
  left: 16.8%;
  top: 13.2%;
  z-index: 2;
  width: 44.8%;
  height: 73.2%;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.sketch-canvas-wrap::before,
.sketch-canvas-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
}

.sketch-canvas-wrap::before {
  background:
    radial-gradient(circle at 18% 14%, rgba(255, 250, 228, 0.16), transparent 28%),
    linear-gradient(135deg, rgba(255, 245, 215, 0.12), rgba(116, 74, 32, 0.07));
  mix-blend-mode: multiply;
}

.sketch-canvas-wrap::after {
  opacity: 0.18;
  background:
    radial-gradient(circle at 18% 24%, rgba(105, 73, 35, 0.08) 0 1px, transparent 1.5px),
    radial-gradient(circle at 68% 42%, rgba(105, 73, 35, 0.07) 0 1px, transparent 1.8px);
  background-size: 42px 42px, 58px 58px;
}

.imaginarium-canvas {
  position: relative;
  z-index: 2;
  display: block;
  width: 100%;
  height: 100%;
  background: transparent;
  cursor: crosshair;
  touch-action: none;
}

.imaginarium-form {
  position: absolute;
  right: 7.4%;
  bottom: 8%;
  z-index: 2;
  width: min(27%, 390px);
  display: grid;
  gap: 14px;
  padding: clamp(14px, 1.7vw, 22px);
  border-color: rgba(255, 231, 168, 0.18);
  background: rgba(15, 8, 4, 0.52);
  backdrop-filter: blur(2px);
}

.imaginarium-form label {
  display: grid;
  gap: 8px;
}

.imaginarium-form label span {
  color: var(--paper);
  font-family: "Cinzel", Georgia, serif;
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.imaginarium-form input {
  min-height: 48px;
  border: 1px solid var(--line);
  background: rgba(240, 236, 226, 0.06);
  color: var(--paper);
  padding: 0 14px;
  font: inherit;
}

.imaginarium-form input::placeholder {
  color: rgba(240, 236, 226, 0.4);
}

.imaginarium-cta {
  position: relative;
  min-height: 58px;
  margin-top: 4px;
  border: 1px solid rgba(201, 168, 76, 0.76);
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 224, 130, 0.38), transparent 52%),
    linear-gradient(135deg, #372712, #a97722 48%, #f0c96e);
  color: #120d08;
  cursor: pointer;
  font-family: "Cinzel", Georgia, serif;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  overflow: hidden;
  text-transform: uppercase;
  box-shadow: 0 0 24px rgba(201, 168, 76, 0.34);
}

.imaginarium-cta::after {
  content: "";
  position: absolute;
  inset: -80% auto -80% -45%;
  width: 42%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.75), transparent);
  transform: rotate(18deg);
  animation: cta-shimmer 3.4s ease-in-out infinite;
}

.imaginarium-cta:disabled {
  cursor: wait;
  opacity: 0.78;
}

.imaginarium-status {
  color: var(--muted);
}

.imaginarium-progress {
  display: none;
  height: 8px;
  overflow: hidden;
  border: 1px solid rgba(255, 231, 168, 0.3);
  background: rgba(255, 250, 240, 0.08);
}

.imaginarium-progress.is-active {
  display: block;
}

.imaginarium-progress span {
  display: block;
  width: 0%;
  height: 100%;
  background:
    linear-gradient(90deg, rgba(255, 231, 168, 0.45), rgba(255, 216, 110, 0.98), rgba(255, 250, 240, 0.8));
  box-shadow: 0 0 18px rgba(255, 216, 110, 0.64);
  transition: width 420ms ease;
}

.drawn-card-stage {
  display: grid;
  place-items: center;
}

.drawn-card {
  --drawn-card-bg: url("assets/images/drawn-card-bg-workshop.jpg");
  position: relative;
  width: min(1180px, 100%);
  display: block;
  aspect-ratio: 1672 / 941;
  padding: clamp(24px, 3vw, 42px);
  overflow: hidden;
  background:
    var(--drawn-card-bg) center / cover,
    #efe0bd;
  color: #17100b;
}

.drawn-card::before {
  content: "";
  position: absolute;
  inset: 14px;
  z-index: 0;
  border: 1px solid rgba(138, 98, 31, 0.36);
  box-shadow:
    inset 0 0 0 1px rgba(255, 250, 240, 0.42),
    0 0 34px rgba(138, 98, 31, 0.12);
  pointer-events: none;
}

.drawn-card > * {
  position: relative;
  z-index: 1;
}

.drawn-card-image-wrap {
  position: absolute;
  left: 5.25%;
  top: 10.45%;
  width: 45.6%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border: 1px solid rgba(23, 16, 11, 0.22);
  background: rgba(255, 246, 223, 0.24);
  box-shadow:
    0 16px 34px rgba(23, 16, 11, 0.12),
    inset 0 0 0 4px rgba(255, 250, 240, 0.22);
}

.drawn-card-image-wrap img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.drawn-card-copy {
  display: grid;
  align-content: center;
  gap: 16px;
  width: 50%;
  min-height: 100%;
  margin-left: 50%;
  min-width: 0;
  box-sizing: border-box;
  padding: clamp(36px, 4.6vw, 68px) clamp(28px, 4.2vw, 56px) clamp(34px, 4vw, 58px) clamp(48px, 5.3vw, 76px);
}

.drawn-card-copy .kicker {
  color: #8a621f;
}

.drawn-card-copy h2 {
  margin: 0;
  color: #17100b;
  font-size: clamp(2rem, 5vw, 4.2rem);
}

.drawn-card-copy p {
  margin: 0;
  color: rgba(23, 16, 11, 0.78);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.08rem, 1.82vw, 1.44rem);
  line-height: 1.34;
}

.drawn-card-download {
  width: fit-content;
  margin-top: 6px;
  border-color: rgba(23, 16, 11, 0.72);
  background: rgba(23, 16, 11, 0.88);
  color: #fff4d6;
  box-shadow: 0 14px 26px rgba(23, 16, 11, 0.18);
}

.drawn-card-download:hover {
  border-color: rgba(138, 98, 31, 0.86);
  background: #8a621f;
  color: #fff8df;
}

.imaginarium-magic {
  position: fixed;
  inset: 0;
  z-index: 20;
  display: grid;
  place-items: center;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  background:
    radial-gradient(circle at 50% 50%, rgba(201, 168, 76, 0.12), transparent 34%),
    rgba(5, 5, 8, 0.72);
  transition: opacity 220ms ease, visibility 220ms ease;
}

.imaginarium-magic.is-active {
  opacity: 1;
  visibility: visible;
}

.imaginarium-magic p {
  position: relative;
  z-index: 2;
  margin-top: 140px;
  color: var(--paper);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.4rem, 4vw, 2.2rem);
  font-style: italic;
}

.magic-stage {
  position: absolute;
  width: min(72vw, 740px);
  height: min(42vw, 420px);
  transform-style: preserve-3d;
  perspective: 900px;
  animation: magic-stage-breathe 2.4s cubic-bezier(0.16, 1, 0.3, 1) infinite;
}

.magic-swoop {
  position: absolute;
  inset: 0;
  overflow: visible;
  filter: drop-shadow(0 0 18px rgba(255, 218, 122, 0.72));
}

.magic-swoop path {
  fill: none;
  stroke-linecap: round;
}

.magic-swoop-shadow {
  stroke: rgba(255, 218, 122, 0.13);
  stroke-width: 34;
  stroke-dasharray: 280 720;
  animation: magic-stroke 2.4s cubic-bezier(0.16, 1, 0.3, 1) infinite;
}

.magic-swoop-line {
  stroke: rgba(255, 230, 158, 0.92);
  stroke-width: 3;
  stroke-dasharray: 260 760;
  animation: magic-stroke 2.4s cubic-bezier(0.16, 1, 0.3, 1) infinite;
}

.magic-ink {
  position: absolute;
  left: 0;
  top: 0;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #ffd86e;
  box-shadow:
    0 0 18px #ffd86e,
    28px -10px 0 -5px rgba(255, 216, 110, 0.85),
    -34px 16px 0 -6px rgba(255, 216, 110, 0.72),
    58px 22px 0 -7px rgba(95, 129, 149, 0.9),
    -70px -18px 0 -8px rgba(255, 250, 240, 0.76);
  offset-path: path("M72 310 C 205 78, 420 78, 558 208 C 698 340, 478 386, 278 272");
  offset-rotate: 0deg;
  animation: magic-orbit 2.4s cubic-bezier(0.16, 1, 0.3, 1) infinite;
}

@keyframes cta-shimmer {
  0%, 48% { transform: translateX(0) rotate(18deg); }
  74%, 100% { transform: translateX(420%) rotate(18deg); }
}

@keyframes magic-stage-breathe {
  0% { opacity: 0; transform: rotateX(14deg) rotateZ(-9deg) translate3d(-5%, 7%, -180px) scale(0.72); filter: blur(2px); }
  18% { opacity: 1; }
  52% { transform: rotateX(32deg) rotateZ(-3deg) translate3d(1%, -2%, -20px) scale(0.9); filter: blur(0.4px); }
  76% { transform: rotateX(7deg) rotateZ(5deg) translate3d(5%, -7%, 140px) scale(1.08); filter: blur(0); }
  100% { opacity: 0; transform: rotateX(-8deg) rotateZ(9deg) translate3d(9%, -10%, 260px) scale(1.24); filter: blur(3px); }
}

@keyframes magic-stroke {
  0% { stroke-dashoffset: 620; opacity: 0; }
  14% { opacity: 1; }
  64% { stroke-dashoffset: 120; opacity: 0.95; }
  100% { stroke-dashoffset: -120; opacity: 0; }
}

@keyframes magic-orbit {
  0% { opacity: 0; offset-distance: 0%; transform: scale(0.46); filter: blur(2px); }
  16% { opacity: 1; transform: scale(0.82); filter: blur(1px); }
  48% { transform: scale(0.42); filter: blur(2.4px); }
  76% { transform: scale(1.6); filter: blur(0); }
  100% { opacity: 0; offset-distance: 100%; transform: scale(2.2); filter: blur(2px); }
}

@media (max-width: 840px) {
  .imaginarium-workbench,
  .drawn-card {
    display: grid;
    grid-template-columns: 1fr;
    aspect-ratio: auto;
  }

  .drawn-card {
    gap: 22px;
  }

  .drawn-card-image-wrap {
    position: relative;
    left: auto;
    top: auto;
    align-self: center;
    width: min(88%, 560px);
    aspect-ratio: 1 / 1;
    margin: 0 auto;
  }

  .drawn-card-copy {
    width: 100%;
    min-height: 0;
    margin-left: 0;
    padding: 0 clamp(16px, 5vw, 28px) clamp(16px, 5vw, 28px);
  }

  .imaginarium-workbench {
    min-height: auto;
    aspect-ratio: auto;
    padding: 18px;
    background:
      linear-gradient(rgba(5, 5, 8, 0.3), rgba(5, 5, 8, 0.38)),
      url("assets/images/will-workshop-desk-dark-800.jpg") center / cover;
  }

  .sketch-panel,
  .sketch-toolbar,
  .sketch-canvas-wrap,
  .imaginarium-form {
    position: relative;
    inset: auto;
    top: auto;
    right: auto;
    bottom: auto;
    left: auto;
    width: 100%;
  }

  .sketch-panel {
    display: grid;
    gap: 12px;
  }

  .sketch-toolbar {
    justify-content: flex-start;
  }

  .sketch-canvas-wrap {
    height: auto;
    aspect-ratio: 1 / 1;
    border: 1px solid rgba(88, 55, 28, 0.2);
    background:
      radial-gradient(circle at 22% 18%, rgba(255, 252, 232, 0.42), transparent 34%),
      linear-gradient(135deg, rgba(255, 248, 222, 0.26), rgba(154, 103, 48, 0.06)),
      rgba(244, 237, 221, 0.72);
    box-shadow:
      0 14px 24px rgba(18, 9, 2, 0.22),
      inset 0 0 0 1px rgba(255, 252, 230, 0.28);
  }

  .imaginarium-canvas {
    height: auto;
    aspect-ratio: 1 / 1;
  }

  .imaginarium-form {
    margin-top: 12px;
  }
}

@media (max-width: 560px) {
  .tool-button {
    min-height: 36px;
    padding: 0 10px;
    font-size: 0.52rem;
    letter-spacing: 0.1em;
  }

  .imaginarium-form {
    padding: 16px;
  }

  .imaginarium-canvas {
    aspect-ratio: 1 / 1;
  }

  .drawn-card {
    padding: 14px;
  }

  .drawn-card-image-wrap {
    width: 92%;
  }
}
