:root {
  --paper: #f4efe6;
  --paper-deep: #e5d7c4;
  --paper-soft: #fffaf2;
  --ink: #15110e;
  --ink-soft: #2b2520;
  --muted: #776c62;
  --line: #d5c6b4;
  --line-strong: #ab9985;
  --red: #bf2637;
  --red-deep: #8f1624;
  --teal: #116b67;
  --violet: #58476c;
  --gold: #b77d2b;
  --white: #fffdf8;
  --rail: #0f0d0b;
  --shadow: 0 26px 70px rgba(30, 22, 16, .2);
  --radius: 6px;
  --rail-width: 92px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background-color: var(--paper);
  background-image:
    linear-gradient(90deg, rgba(21, 17, 14, .05) 1px, transparent 1px),
    linear-gradient(0deg, rgba(21, 17, 14, .035) 1px, transparent 1px);
  background-size: 46px 46px, 46px 46px;
  color: var(--ink);
  font-family: "Inter", "Manrope", Arial, sans-serif;
  overflow-x: hidden;
}

body.is-locked {
  overflow: hidden;
}

button,
input,
textarea,
select {
  font: inherit;
}

button {
  color: inherit;
}

a {
  color: inherit;
}

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

.ink-progress {
  position: fixed;
  inset: 0 auto auto var(--rail-width);
  z-index: 120;
  width: 0;
  height: 4px;
  background: var(--red);
  transform-origin: left center;
}

.studio-shell {
  min-height: 100vh;
  padding-left: var(--rail-width);
}

.studio-rail {
  position: fixed;
  inset: 0 auto 0 0;
  z-index: 100;
  width: var(--rail-width);
  background: var(--rail);
  color: var(--paper-soft);
  border-right: 1px solid rgba(255, 255, 255, .1);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  padding: 18px 12px;
}

.rail-logo {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .26);
  background: var(--paper-soft);
  color: var(--ink);
  font-family: "Bricolage Grotesque", Arial, sans-serif;
  font-size: 21px;
  font-weight: 800;
  text-decoration: none;
}

.rail-word {
  margin: 4px 0 0;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-family: "Bricolage Grotesque", Arial, sans-serif;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.05;
  text-transform: uppercase;
}

.rail-links {
  display: grid;
  gap: 8px;
  width: 100%;
  margin-top: auto;
  margin-bottom: auto;
}

.rail-links a,
.rail-cart {
  width: 100%;
  min-height: 58px;
  border: 1px solid rgba(255, 255, 255, .12);
  background: transparent;
  color: rgba(255, 250, 242, .74);
  text-decoration: none;
  display: grid;
  place-items: center;
  gap: 4px;
  cursor: pointer;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}

.rail-links a i,
.rail-cart i {
  width: 22px;
  height: 22px;
}

.rail-links a span,
.rail-cart span {
  max-width: 60px;
  overflow-wrap: anywhere;
  text-align: center;
  font-size: 10px;
  line-height: 1.1;
  font-weight: 700;
}

.rail-links a:hover,
.rail-links a.active,
.rail-cart:hover {
  background: var(--paper-soft);
  color: var(--ink);
  border-color: var(--paper-soft);
}

.rail-note {
  width: 100%;
  min-height: 48px;
  display: grid;
  place-items: center;
  color: rgba(255, 250, 242, .68);
  font-size: 11px;
  border-top: 1px solid rgba(255, 255, 255, .12);
  padding-top: 12px;
}

.scene-button,
.panel-frame,
.thumb-button,
.lightbox-trigger {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  cursor: zoom-in;
}

.scene-hero {
  min-height: 100svh;
  display: grid;
  grid-template-columns: minmax(420px, 1.1fr) minmax(360px, .9fr);
  align-items: stretch;
}

.scene-window {
  min-height: 100svh;
  position: relative;
  background: var(--ink);
  overflow: hidden;
  display: block;
  width: 100%;
  border: 0;
  padding: 0;
  color: inherit;
  text-align: left;
  cursor: zoom-in;
}

.scene-window::before {
  content: "";
  position: absolute;
  inset: 18px;
  z-index: 2;
  border: 1px solid rgba(255, 250, 242, .34);
  pointer-events: none;
}

.scene-window img {
  width: 100%;
  height: 100%;
  min-height: 100svh;
  object-fit: cover;
  filter: saturate(.9) contrast(1.04);
}

.scene-window::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(15, 13, 11, .06), rgba(15, 13, 11, .76)),
    linear-gradient(90deg, transparent 70%, rgba(15, 13, 11, .35));
  pointer-events: none;
}

.scene-stamp {
  position: absolute;
  z-index: 3;
  left: 34px;
  bottom: 34px;
  max-width: min(380px, calc(100% - 68px));
  color: var(--paper-soft);
}

.scene-stamp b {
  display: inline-flex;
  min-height: 32px;
  align-items: center;
  padding: 0 12px;
  background: var(--red);
  font-size: 13px;
  text-transform: uppercase;
}

.scene-stamp span {
  display: block;
  margin-top: 12px;
  font-family: "Bricolage Grotesque", Arial, sans-serif;
  font-size: clamp(32px, 4.6vw, 76px);
  line-height: .88;
  font-weight: 800;
  text-wrap: balance;
}

.dialogue-panel {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(32px, 5vw, 88px);
  border-left: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, .52), transparent 38%),
    var(--paper);
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--red);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.kicker::before {
  content: "";
  width: 28px;
  height: 2px;
  background: currentColor;
}

.hero-title {
  margin: 18px 0 24px;
  font-family: "Bricolage Grotesque", Arial, sans-serif;
  font-size: clamp(58px, 8vw, 132px);
  line-height: .82;
  font-weight: 800;
  max-width: 760px;
  overflow-wrap: anywhere;
}

.hero-title span {
  color: var(--teal);
}

.hero-copy {
  max-width: 680px;
  margin: 0;
  color: var(--ink-soft);
  font-size: clamp(17px, 1.35vw, 21px);
  line-height: 1.72;
}

.action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}

.action-link,
.icon-action,
.submit-order,
.add-to-cart,
.quantity-btn,
.remove-line,
.scene-nav,
.filter-chip,
.close-layer {
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--paper-soft);
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 16px;
  text-decoration: none;
  cursor: pointer;
  font-weight: 850;
  border-radius: var(--radius);
  transition: transform .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
}

.action-link i,
.icon-action i,
.submit-order i,
.add-to-cart i,
.quantity-btn i,
.remove-line i,
.scene-nav i,
.filter-chip i,
.close-layer i {
  width: 19px;
  height: 19px;
}

.action-link:hover,
.icon-action:hover,
.submit-order:hover,
.add-to-cart:hover,
.quantity-btn:hover,
.remove-line:hover,
.scene-nav:hover,
.filter-chip:hover,
.close-layer:hover {
  transform: translateY(-2px);
}

.action-link.alt,
.icon-action.alt {
  background: transparent;
  color: var(--ink);
}

.action-link.alt:hover,
.icon-action.alt:hover,
.filter-chip.active,
.filter-chip:hover {
  background: var(--red);
  color: var(--paper-soft);
  border-color: var(--red);
}

.mini-ledger {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: 44px;
  border: 1px solid var(--line-strong);
  background: var(--line-strong);
}

.mini-ledger div {
  min-height: 112px;
  padding: 16px;
  background: rgba(255, 250, 242, .68);
}

.mini-ledger b {
  display: block;
  font-family: "Bricolage Grotesque", Arial, sans-serif;
  font-size: 32px;
  line-height: .9;
}

.mini-ledger span {
  display: block;
  margin-top: 12px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.page-band {
  padding: clamp(74px, 9vw, 128px) clamp(18px, 5vw, 76px);
}

.band-black {
  background: var(--ink);
  color: var(--paper-soft);
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(280px, .5fr);
  gap: 30px;
  align-items: end;
  margin-bottom: 34px;
}

.section-title {
  margin: 12px 0 0;
  font-family: "Bricolage Grotesque", Arial, sans-serif;
  font-size: clamp(42px, 6vw, 94px);
  line-height: .88;
  font-weight: 800;
  text-wrap: balance;
}

.section-title span {
  color: var(--red);
}

.band-black .section-title span {
  color: #f0bf58;
}

.section-copy {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.75;
}

.band-black .section-copy {
  color: rgba(255, 250, 242, .7);
}

.chapter-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
}

.chapter {
  min-height: 330px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-right: 1px solid var(--line-strong);
  background: rgba(255, 250, 242, .5);
}

.chapter:last-child {
  border-right: 0;
}

.chapter i {
  width: 32px;
  height: 32px;
  color: var(--red);
}

.chapter strong {
  font-family: "Bricolage Grotesque", Arial, sans-serif;
  font-size: clamp(38px, 5vw, 70px);
  line-height: .85;
}

.chapter h3 {
  margin: 22px 0 8px;
  font-size: 22px;
  line-height: 1.05;
}

.chapter p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.detail-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.detail-card,
.role-card,
.faq-item,
.info-card {
  border: 2px solid var(--ink);
  background: var(--paper-soft);
  padding: 20px;
}

.detail-card {
  min-height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.detail-card b,
.role-index {
  font-family: "Bricolage Grotesque", Arial, sans-serif;
  font-size: 34px;
  line-height: .9;
  color: var(--red);
}

.detail-card h3,
.role-card h3,
.faq-item h3,
.info-card h3 {
  margin: 20px 0 10px;
  font-size: 22px;
  line-height: 1.05;
}

.detail-card p,
.role-card p,
.faq-item p,
.info-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.62;
}

.role-board {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.role-card {
  min-height: 300px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.role-card ul,
.info-card ul {
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
  color: var(--ink-soft);
}

.role-card li,
.info-card li {
  position: relative;
  padding-left: 18px;
  line-height: 1.45;
}

.role-card li::before,
.info-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .68em;
  width: 7px;
  height: 7px;
  background: var(--red);
}

.responsibility-strip {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1px;
  margin-top: 14px;
  background: var(--line-strong);
  border: 1px solid var(--line-strong);
}

.responsibility-strip div {
  min-height: 148px;
  padding: 18px;
  background: var(--paper-soft);
}

.responsibility-strip b {
  display: block;
  font-family: "Bricolage Grotesque", Arial, sans-serif;
  font-size: 26px;
}

.responsibility-strip span {
  display: block;
  margin-top: 10px;
  color: var(--muted);
  line-height: 1.5;
  font-size: 14px;
}

.staff-directory {
  margin-top: 28px;
  display: grid;
  gap: 22px;
}

.staff-tier {
  display: grid;
  gap: 12px;
}

.tier-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--ink);
}

.tier-title h3 {
  margin: 0;
  font-family: "Bricolage Grotesque", Arial, sans-serif;
  font-size: clamp(28px, 3.5vw, 48px);
  line-height: .9;
}

.tier-title span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.staff-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.staff-card {
  min-height: 330px;
  padding: 20px;
  border: 2px solid var(--ink);
  background: var(--paper-soft);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 8px 8px 0 rgba(21, 17, 14, .1);
}

.staff-card.featured {
  background: var(--ink);
  color: var(--paper-soft);
}

.staff-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.staff-avatar {
  width: 62px;
  height: 62px;
  display: grid;
  place-items: center;
  border: 2px solid currentColor;
  font-family: "Bricolage Grotesque", Arial, sans-serif;
  font-size: 24px;
  font-weight: 800;
}

.staff-card h4 {
  margin: 18px 0 8px;
  font-size: 24px;
  line-height: 1;
}

.staff-role {
  display: inline-flex;
  width: fit-content;
  min-height: 28px;
  align-items: center;
  padding: 0 9px;
  background: var(--red);
  color: var(--paper-soft);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.staff-card p {
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.6;
}

.staff-card.featured p {
  color: rgba(255, 250, 242, .72);
}

.staff-meta {
  display: grid;
  gap: 8px;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--line-strong);
}

.staff-card.featured .staff-meta {
  border-color: rgba(255, 250, 242, .22);
}

.staff-meta div {
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  font-size: 13px;
  line-height: 1.45;
}

.staff-meta b {
  color: var(--muted);
  font-size: 11px;
  text-transform: uppercase;
}

.staff-card.featured .staff-meta b {
  color: rgba(255, 250, 242, .58);
}

.staff-meta a {
  overflow-wrap: anywhere;
  font-weight: 800;
}

.staff-note {
  margin-top: 16px;
  padding: 18px;
  border: 1px solid var(--line-strong);
  background: rgba(255, 250, 242, .6);
  color: var(--muted);
  line-height: 1.6;
}

.faq-grid,
.site-info-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.faq-item {
  min-height: 210px;
}

.info-card {
  min-height: 240px;
}

.info-card i {
  width: 30px;
  height: 30px;
  color: var(--red);
}

.contact-strip {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 20px;
  align-items: center;
  margin-top: 18px;
  padding: 22px;
  border: 2px solid var(--ink);
  background: var(--paper-soft);
}

.contact-strip p {
  margin: 6px 0 0;
  color: var(--muted);
  line-height: 1.6;
}

.manga-wall {
  display: grid;
  grid-template-columns: 1.2fr .8fr .9fr;
  grid-auto-rows: 240px;
  gap: 12px;
}

.panel-frame {
  position: relative;
  min-height: 100%;
  overflow: hidden;
  border: 10px solid var(--paper-soft);
  box-shadow: 0 0 0 1px rgba(255, 250, 242, .18);
}

.panel-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.01);
  transition: transform .35s ease, filter .35s ease;
}

.panel-frame:hover img {
  transform: scale(1.06);
  filter: saturate(1.08);
}

.panel-frame::after {
  content: attr(data-caption);
  position: absolute;
  left: 14px;
  bottom: 14px;
  z-index: 2;
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  padding: 0 10px;
  background: var(--paper-soft);
  color: var(--ink);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.panel-frame.large {
  grid-row: span 2;
}

.panel-frame.wide {
  grid-column: span 2;
}

.process-board {
  display: grid;
  grid-template-columns: minmax(280px, .74fr) minmax(0, 1.26fr);
  gap: 36px;
  align-items: start;
}

.director-note {
  position: sticky;
  top: 30px;
  padding: 26px;
  background: var(--paper-soft);
  border: 2px solid var(--ink);
  box-shadow: 12px 12px 0 var(--gold);
}

.director-note p {
  margin: 0;
  font-family: "Bricolage Grotesque", Arial, sans-serif;
  font-size: clamp(28px, 3.2vw, 48px);
  line-height: .94;
}

.director-note small {
  display: block;
  margin-top: 18px;
  color: var(--muted);
  line-height: 1.6;
}

.process-list {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--ink);
}

.process-row {
  display: grid;
  grid-template-columns: 118px minmax(0, 1fr) 44px;
  gap: 18px;
  align-items: center;
  padding: 24px 0;
  border-bottom: 1px solid var(--line-strong);
}

.process-row b {
  font-family: "Bricolage Grotesque", Arial, sans-serif;
  font-size: 42px;
  color: var(--red);
}

.process-row h3 {
  margin: 0;
  font-size: 25px;
}

.process-row p {
  margin: 8px 0 0;
  color: var(--muted);
  line-height: 1.6;
}

.process-row i {
  color: var(--teal);
}

.signal-banner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: end;
  padding: clamp(34px, 5vw, 58px);
  background: var(--red);
  color: var(--paper-soft);
  border: 2px solid var(--ink);
  box-shadow: 14px 14px 0 var(--ink);
}

.signal-banner h2 {
  max-width: 780px;
  margin: 10px 0 12px;
  font-family: "Bricolage Grotesque", Arial, sans-serif;
  font-size: clamp(38px, 5vw, 78px);
  line-height: .9;
}

.signal-banner p {
  max-width: 760px;
  margin: 0;
  line-height: 1.7;
}

.signal-banner .kicker {
  color: var(--paper-soft);
}

.signal-banner .action-link {
  background: var(--paper-soft);
  color: var(--ink);
}

.footer {
  padding: 28px clamp(18px, 5vw, 76px);
  border-top: 1px solid var(--line-strong);
  color: var(--muted);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  font-size: 13px;
}

.about-hero {
  min-height: 100svh;
  display: grid;
  grid-template-columns: minmax(420px, .95fr) minmax(460px, 1.05fr);
  background: var(--ink);
  color: var(--paper-soft);
}

.about-copy {
  padding: clamp(34px, 4.2vw, 68px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-right: 1px solid rgba(255, 255, 255, .14);
}

.about-copy .hero-title span {
  color: #f0bf58;
}

.about-copy .hero-title {
  font-size: clamp(46px, 5.6vw, 88px);
  line-height: .88;
}

.about-copy .hero-copy {
  color: rgba(255, 250, 242, .74);
}

.about-copy .action-link.alt {
  color: var(--paper-soft);
  border-color: rgba(255, 250, 242, .7);
}

.about-wall {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: 14px;
  padding: clamp(18px, 3vw, 48px);
  align-content: stretch;
  min-height: 100svh;
}

.about-wall .panel-frame {
  border-color: rgba(255, 250, 242, .9);
}

.about-wall .panel-frame:nth-child(1) {
  grid-column: 1;
  grid-row: 1 / 3;
}

.about-wall .panel-frame:nth-child(3) {
  grid-column: 2;
  grid-row: 2;
}

.about-wall .panel-frame:nth-child(2) {
  grid-column: 2;
  grid-row: 1;
}

.manifesto-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 34px;
  align-items: start;
}

.manifesto-text {
  border-top: 2px solid var(--ink);
}

.manifesto-text p {
  margin: 0;
  padding: 24px 0;
  border-bottom: 1px solid var(--line-strong);
  font-family: "Bricolage Grotesque", Arial, sans-serif;
  font-size: clamp(30px, 4vw, 64px);
  line-height: .95;
}

.manifesto-aside {
  background: var(--paper-soft);
  border: 2px solid var(--ink);
  padding: 24px;
  box-shadow: 12px 12px 0 var(--teal);
}

.manifesto-aside h3 {
  margin: 0;
  font-size: 26px;
}

.manifesto-aside p {
  margin: 14px 0 0;
  color: var(--muted);
  line-height: 1.7;
}

.skill-board {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid var(--line-strong);
  background: var(--line-strong);
  gap: 1px;
}

.skill-cell {
  min-height: 260px;
  padding: 22px;
  background: var(--paper-soft);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.skill-cell i {
  width: 30px;
  height: 30px;
  color: var(--red);
}

.skill-cell h3 {
  margin: 28px 0 8px;
  font-size: 22px;
}

.skill-cell p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.deliverable-strip {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.deliverable {
  min-height: 180px;
  padding: 22px;
  border: 1px solid rgba(255, 250, 242, .18);
  background: rgba(255, 250, 242, .06);
}

.deliverable b {
  display: block;
  font-family: "Bricolage Grotesque", Arial, sans-serif;
  font-size: 34px;
  line-height: .9;
}

.deliverable span {
  display: block;
  margin-top: 16px;
  color: rgba(255, 250, 242, .72);
  line-height: 1.55;
}

.store-page {
  background-color: #eee7dc;
}

.cart-float {
  position: fixed;
  top: 18px;
  right: 20px;
  z-index: 105;
  min-height: 48px;
  border: 2px solid var(--ink);
  background: var(--paper-soft);
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0 14px;
  font-weight: 900;
  border-radius: var(--radius);
  box-shadow: 7px 7px 0 var(--ink);
  cursor: pointer;
}

.cart-float i {
  width: 20px;
  height: 20px;
}

.cart-count {
  min-width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  background: var(--red);
  color: var(--paper-soft);
  font-size: 12px;
  border-radius: 999px;
}

.shop-hero {
  min-height: 100svh;
  display: grid;
  grid-template-columns: minmax(440px, 1.15fr) minmax(360px, .85fr);
  align-items: stretch;
}

.scene-player {
  min-height: 100svh;
  position: relative;
  overflow: hidden;
  background: var(--ink);
}

.scene-player img {
  width: 100%;
  height: 100%;
  min-height: 100svh;
  object-fit: cover;
}

.scene-player::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 13, 11, .08), rgba(15, 13, 11, .76));
  pointer-events: none;
}

.scene-ui {
  position: absolute;
  z-index: 3;
  left: clamp(20px, 4vw, 58px);
  right: clamp(20px, 4vw, 58px);
  bottom: clamp(20px, 4vw, 58px);
  color: var(--paper-soft);
}

.scene-ui h1 {
  margin: 10px 0 16px;
  font-family: "Bricolage Grotesque", Arial, sans-serif;
  font-size: clamp(44px, 6vw, 104px);
  line-height: .84;
}

.scene-ui p {
  max-width: 620px;
  margin: 0;
  color: rgba(255, 250, 242, .76);
  font-size: 17px;
  line-height: 1.7;
}

.scene-controls {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 22px;
}

.scene-nav {
  width: 48px;
  min-height: 48px;
  padding: 0;
  background: var(--paper-soft);
  color: var(--ink);
  border-color: var(--paper-soft);
}

.scene-counter {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  padding: 0 14px;
  border: 1px solid rgba(255, 250, 242, .44);
  background: rgba(15, 13, 11, .34);
  font-weight: 900;
}

.shop-intro {
  min-height: 100svh;
  padding: clamp(84px, 8vw, 122px) clamp(26px, 5vw, 74px) clamp(34px, 5vw, 74px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--paper);
  border-left: 2px solid var(--ink);
}

.shop-title {
  margin: 16px 0 22px;
  font-family: "Bricolage Grotesque", Arial, sans-serif;
  font-size: clamp(42px, 4.6vw, 86px);
  line-height: .84;
  overflow-wrap: anywhere;
}

.shop-title span {
  color: var(--red);
}

.shop-intro p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 17px;
  line-height: 1.7;
}

.format-stack {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 32px;
}

.format-stack div {
  border: 1px solid var(--line-strong);
  background: var(--paper-soft);
  padding: 14px;
}

.format-stack b {
  display: block;
  font-size: 22px;
  font-family: "Bricolage Grotesque", Arial, sans-serif;
}

.format-stack span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  margin-top: 7px;
  line-height: 1.35;
}

.scene-strip {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 8px;
  margin-top: 26px;
}

.thumb-button {
  height: 74px;
  border: 2px solid transparent;
  overflow: hidden;
  opacity: .72;
}

.thumb-button.active,
.thumb-button:hover {
  opacity: 1;
  border-color: var(--red);
}

.thumb-button img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.catalog-panel {
  padding: clamp(68px, 8vw, 120px) clamp(18px, 5vw, 76px);
}

.catalog-tools {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) auto;
  gap: 14px;
  align-items: center;
  margin-bottom: 24px;
}

.search-box {
  min-height: 52px;
  border: 2px solid var(--ink);
  background: var(--paper-soft);
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 16px;
}

.search-box i {
  width: 20px;
  height: 20px;
  color: var(--muted);
}

.search-box input {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
}

.filter-line {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.filter-chip {
  min-height: 42px;
  background: transparent;
  color: var(--ink);
  padding: 0 13px;
}

.shop-list {
  display: grid;
  gap: 12px;
}

.shop-item {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr) 150px;
  gap: 18px;
  align-items: stretch;
  min-height: 184px;
  background: var(--paper-soft);
  border: 2px solid var(--ink);
  box-shadow: 8px 8px 0 rgba(21, 17, 14, .12);
}

.shop-item[hidden] {
  display: none;
}

.item-art {
  position: relative;
  overflow: hidden;
  background: var(--ink);
}

.item-art img {
  width: 100%;
  height: 100%;
  min-height: 184px;
  object-fit: cover;
  transition: transform .3s ease;
}

.shop-item:hover .item-art img {
  transform: scale(1.05);
}

.item-art span {
  position: absolute;
  left: 10px;
  bottom: 10px;
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  padding: 0 9px;
  background: var(--ink);
  color: var(--paper-soft);
  font-size: 12px;
  font-weight: 900;
}

.item-main {
  padding: 20px 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.item-main h3 {
  margin: 0;
  font-size: clamp(22px, 2.2vw, 34px);
  line-height: 1;
}

.item-main p {
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.6;
}

.item-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 16px;
}

.item-tags span {
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  padding: 0 9px;
  border: 1px solid var(--line-strong);
  color: var(--ink-soft);
  font-size: 12px;
  font-weight: 800;
}

.item-previews {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.item-preview {
  width: 58px;
  height: 58px;
  padding: 0;
  border: 2px solid var(--ink);
  background: var(--paper-soft);
  overflow: hidden;
  cursor: zoom-in;
}

.item-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .25s ease;
}

.item-preview:hover img {
  transform: scale(1.08);
}

.item-buy {
  border-left: 1px solid var(--line-strong);
  padding: 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.item-price {
  font-family: "Bricolage Grotesque", Arial, sans-serif;
  font-size: 32px;
  line-height: .9;
}

.add-to-cart {
  width: 100%;
  background: var(--red);
  border-color: var(--red);
}

.no-results {
  display: none;
  margin-top: 16px;
  padding: 20px;
  background: var(--paper-soft);
  border: 2px solid var(--ink);
  font-weight: 850;
}

.no-results.is-visible {
  display: block;
}

.policy-run {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: rgba(255, 250, 242, .18);
  border: 1px solid rgba(255, 250, 242, .18);
}

.policy-run article {
  min-height: 230px;
  padding: 22px;
  background: rgba(255, 250, 242, .06);
}

.policy-run i {
  width: 30px;
  height: 30px;
  color: #f0bf58;
}

.policy-run h3 {
  margin: 30px 0 10px;
  font-size: 22px;
}

.policy-run p {
  margin: 0;
  color: rgba(255, 250, 242, .72);
  line-height: 1.6;
}

.cart-overlay {
  position: fixed;
  inset: 0;
  z-index: 130;
  background: rgba(15, 13, 11, .52);
  backdrop-filter: blur(4px);
}

.cart-drawer {
  position: fixed;
  z-index: 140;
  top: 0;
  right: 0;
  width: min(520px, 100%);
  height: 100vh;
  display: none;
  flex-direction: column;
  background: var(--paper-soft);
  border-left: 2px solid var(--ink);
  box-shadow: -24px 0 70px rgba(21, 17, 14, .2);
}

.cart-drawer.is-open {
  display: flex;
}

.drawer-top,
.drawer-total {
  padding: 20px;
  border-bottom: 1px solid var(--line-strong);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.drawer-top h2 {
  margin: 0;
  font-family: "Bricolage Grotesque", Arial, sans-serif;
  font-size: 38px;
  line-height: .9;
}

.drawer-top span {
  color: var(--muted);
  font-weight: 800;
  font-size: 13px;
}

.drawer-body {
  overflow-y: auto;
  padding: 18px 20px 24px;
}

.cart-lines {
  display: grid;
  gap: 10px;
}

.empty-cart {
  min-height: 96px;
  display: grid;
  place-items: center;
  border: 1px dashed var(--line-strong);
  color: var(--muted);
  text-align: center;
}

.cart-line {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: start;
  border: 1px solid var(--line-strong);
  padding: 12px;
}

.cart-line h3 {
  margin: 0;
  font-size: 16px;
}

.cart-line p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.cart-line-actions {
  display: flex;
  align-items: center;
  gap: 6px;
}

.quantity-btn,
.remove-line {
  width: 34px;
  min-height: 34px;
  padding: 0;
  background: transparent;
  color: var(--ink);
}

.remove-line {
  border-color: var(--red);
  color: var(--red);
}

.order-form {
  display: grid;
  gap: 13px;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--line-strong);
}

.field-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.field {
  display: grid;
  gap: 7px;
}

.field label {
  font-size: 12px;
  color: var(--muted);
  font-weight: 900;
}

.field input,
.field textarea,
.field select {
  width: 100%;
  border: 1px solid var(--line-strong);
  background: var(--white);
  min-height: 46px;
  padding: 11px 12px;
  color: var(--ink);
  outline: 0;
  border-radius: var(--radius);
}

.field textarea {
  min-height: 104px;
  resize: vertical;
}

.agree-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.agree-row input {
  width: 18px;
  height: 18px;
  margin-top: 1px;
}

.submit-order {
  width: 100%;
  min-height: 54px;
  background: var(--red);
  border-color: var(--red);
}

.submit-order:disabled {
  cursor: not-allowed;
  opacity: .48;
  transform: none;
}

.drawer-total {
  margin-top: auto;
  border-top: 1px solid var(--line-strong);
  border-bottom: 0;
}

.drawer-total span {
  color: var(--muted);
  font-weight: 900;
}

.drawer-total b {
  font-family: "Bricolage Grotesque", Arial, sans-serif;
  font-size: 34px;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 180;
  display: none;
  place-items: center;
  padding: 24px;
  background: rgba(15, 13, 11, .9);
}

.lightbox.is-open {
  display: grid;
}

.lightbox-figure {
  margin: 0;
  width: min(1180px, 100%);
}

.lightbox-figure img {
  width: 100%;
  max-height: 82vh;
  object-fit: contain;
  background: var(--ink);
  border: 1px solid rgba(255, 250, 242, .22);
}

.lightbox-figure figcaption {
  color: var(--paper-soft);
  margin-top: 12px;
  font-weight: 800;
}

.close-layer {
  position: fixed;
  top: 18px;
  right: 18px;
  z-index: 181;
  width: 48px;
  padding: 0;
  background: var(--paper-soft);
  color: var(--ink);
  border-color: var(--paper-soft);
}

.drawer-top .close-layer {
  position: static;
  flex: 0 0 auto;
  background: var(--ink);
  color: var(--paper-soft);
  border-color: var(--ink);
}

.lightbox .scene-nav {
  position: fixed;
  z-index: 181;
  top: 50%;
  transform: translateY(-50%);
}

.lightbox .scene-nav:hover {
  transform: translateY(-50%) translateY(-2px);
}

.lightbox .scene-nav.prev {
  left: 18px;
}

.lightbox .scene-nav.next {
  right: 18px;
}

.toast {
  position: fixed;
  left: calc(var(--rail-width) + 20px);
  bottom: 22px;
  z-index: 170;
  width: min(360px, calc(100% - var(--rail-width) - 40px));
  padding: 14px 16px;
  background: var(--ink);
  color: var(--paper-soft);
  border: 1px solid rgba(255, 255, 255, .18);
  transform: translateY(160%);
  transition: transform .25s ease;
}

.toast.is-visible {
  transform: translateY(0);
}

.toast strong {
  display: block;
  margin-bottom: 4px;
}

.toast p {
  margin: 0;
  color: rgba(255, 250, 242, .72);
  font-size: 13px;
}

@media (max-width: 1180px) {
  .scene-hero,
  .about-hero,
  .shop-hero,
  .process-board,
  .manifesto-grid {
    grid-template-columns: 1fr;
  }

  .scene-window,
  .dialogue-panel,
  .about-copy,
  .shop-intro,
  .scene-player {
    min-height: auto;
  }

  .scene-window,
  .scene-player {
    height: 68svh;
  }

  .dialogue-panel,
  .about-copy,
  .shop-intro {
    border-left: 0;
    border-top: 2px solid var(--ink);
  }

  .chapter-grid,
  .detail-grid,
  .role-board,
  .responsibility-strip,
  .skill-board,
  .deliverable-strip,
  .staff-grid,
  .faq-grid,
  .site-info-grid,
  .policy-run {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .manga-wall {
    grid-template-columns: 1fr 1fr;
  }

  .about-wall {
    min-height: min(760px, 82svh);
  }

  .catalog-tools {
    grid-template-columns: 1fr;
  }

  .filter-line {
    justify-content: flex-start;
  }
}

@media (max-width: 820px) {
  :root {
    --rail-width: 0px;
  }

  .ink-progress {
    left: 0;
  }

  .studio-shell {
    padding-left: 0;
    padding-bottom: 76px;
  }

  .studio-rail {
    inset: auto 0 0 0;
    width: 100%;
    height: 68px;
    flex-direction: row;
    justify-content: space-between;
    padding: 8px;
    border-right: 0;
    border-top: 1px solid rgba(255, 255, 255, .12);
  }

  .rail-logo {
    width: 50px;
    height: 50px;
    font-size: 18px;
    flex: 0 0 auto;
  }

  .rail-word,
  .rail-note {
    display: none;
  }

  .rail-links {
    display: flex;
    gap: 6px;
    margin: 0;
    overflow-x: auto;
  }

  .rail-links a,
  .rail-cart {
    width: 58px;
    min-width: 58px;
    min-height: 50px;
  }

  .rail-links a span,
  .rail-cart span {
    display: none;
  }

  .cart-float {
    top: 12px;
    right: 12px;
    min-height: 44px;
    box-shadow: 5px 5px 0 var(--ink);
  }

  .cart-float span:not(.cart-count) {
    display: none;
  }

  .scene-hero,
  .about-hero,
  .shop-hero {
    min-height: auto;
  }

  .scene-window,
  .scene-player {
    height: 58svh;
    min-height: 460px;
  }

  .scene-window img,
  .scene-player img {
    min-height: 460px;
  }

  .dialogue-panel,
  .about-copy,
  .shop-intro {
    padding: 34px 18px 42px;
  }

  .hero-title,
  .shop-title {
    font-size: clamp(46px, 15vw, 68px);
  }

  .mini-ledger,
  .chapter-grid,
  .detail-grid,
  .role-board,
  .responsibility-strip,
  .skill-board,
  .deliverable-strip,
  .staff-grid,
  .faq-grid,
  .site-info-grid,
  .policy-run,
  .format-stack,
  .field-pair {
    grid-template-columns: 1fr;
  }

  .page-band,
  .catalog-panel {
    padding: 58px 16px;
  }

  .section-head {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .section-title {
    font-size: clamp(38px, 13vw, 58px);
  }

  .chapter {
    min-height: 230px;
    border-right: 0;
    border-bottom: 1px solid var(--line-strong);
  }

  .chapter:last-child {
    border-bottom: 0;
  }

  .manga-wall,
  .about-wall {
    grid-template-columns: 1fr;
    grid-template-rows: none;
    grid-auto-rows: 260px;
    min-height: auto;
  }

  .panel-frame.large,
  .panel-frame.wide,
  .about-wall .panel-frame:nth-child(1),
  .about-wall .panel-frame:nth-child(3) {
    grid-column: auto;
    grid-row: auto;
  }

  .process-row {
    grid-template-columns: 72px 1fr;
  }

  .process-row i {
    display: none;
  }

  .signal-banner {
    grid-template-columns: 1fr;
    padding: 28px;
    box-shadow: 8px 8px 0 var(--ink);
  }

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

  .tier-title {
    align-items: flex-start;
    flex-direction: column;
  }

  .staff-meta div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .shop-item {
    grid-template-columns: 1fr;
  }

  .item-art img {
    height: 230px;
    min-height: 230px;
  }

  .item-main {
    padding: 0 18px 2px;
  }

  .item-buy {
    border-left: 0;
    border-top: 1px solid var(--line-strong);
  }

  .scene-strip {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .lightbox {
    padding: 14px;
  }

  .lightbox .scene-nav {
    top: auto;
    bottom: 18px;
    transform: none;
  }

  .lightbox .scene-nav:hover {
    transform: translateY(-2px);
  }

  .toast {
    left: 16px;
    width: calc(100% - 32px);
    bottom: 86px;
  }
}

@media (max-width: 460px) {
  .scene-stamp {
    left: 22px;
    right: 22px;
    bottom: 22px;
  }

  .scene-ui {
    left: 18px;
    right: 18px;
    bottom: 22px;
  }

  .scene-ui h1 {
    font-size: 42px;
  }

  .hero-copy,
  .shop-intro p,
  .scene-ui p {
    font-size: 15px;
  }

  .cart-drawer {
    border-left: 0;
  }
}
