/* MINOMON — Ministry of Monsters */

:root {
  --bg-black: #000000;
  --text-red: rgb(200, 65, 40);
  --text-red-rgb: 200, 65, 40;
  --font-home: 'DIN Condensed', 'Arial Narrow', sans-serif;
}

@font-face {
  font-family: 'DIN Condensed';
  src: url('/fonts/DINCondensed-Light.ttf') format('truetype');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  position: relative;
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: var(--font-home);
  font-weight: 500;
  color: var(--text-red);
  background-color: var(--bg-black);
  background-image: var(--page-bg);
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  background-repeat: no-repeat;
  letter-spacing: 0.04em;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 0;
  background: rgba(0, 0, 0, 0.5);
  pointer-events: none;
}

body.splash-active {
  overflow: hidden;
}

.splash {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-black);
  transition: opacity 0.6s ease;
}

.splash.is-logo-hidden .splash-logo {
  opacity: 0;
}

.splash.is-hidden {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.1s ease;
}

.splash-logo {
  display: block;
  width: 260px;
  height: auto;
  transition: opacity 0.1s ease;
}

.scanlines {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: repeating-linear-gradient(0deg,
      rgba(0, 0, 0, 0.12) 0,
      rgba(0, 0, 0, 0.12) 1px,
      transparent 1px,
      transparent 3px);
  opacity: 0.35;
}

.content {
  position: relative;
  z-index: 1;
  flex: 1;
  width: 100%;
  margin: 0 auto;
  padding: 0;
}

/* Logo overlays top; page content centered in full viewport */
.page-shell {
  position: relative;
  width: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.page-shell .home-logo {
  position: absolute;
  top: 4.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: block;
  width: min(240px, 55vw);
  height: auto;
  margin: 0;
  padding: 0;
}

.page-shell .page-body {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1.25rem 1.25rem 2.5rem;
  text-align: center;
  transform: translateY(clamp(1.25rem, 3.5vh, 2.75rem));
}

/* --- Home ----------------------------------------------------------------- */

.page-home {
  background-image: none;
}

.page-home::before {
  display: none;
}

.page-home .content {
  flex: 1;
  display: flex;
  flex-direction: column;
  max-width: none;
  min-height: 100vh;
  padding: 0;
}

.home {
  position: relative;
  width: 100%;
  flex: 1;
  min-height: 100vh;
  cursor: pointer;
}

.home .home-logo-link {
  position: absolute;
  top: 3.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  pointer-events: auto;
  line-height: 0;
}

.home .home-logo-link .home-logo {
  position: static;
  transform: none;
}

.home .page-body {
  position: relative;
  z-index: 1;
  pointer-events: none;
}

.home-hit {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.home-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  color: inherit;
  text-decoration: none;
}

.home-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 640px;
  color: var(--text-red);
  font-family: var(--font-home);
  font-weight: 500;
  pointer-events: none;
}

.home-statement {
  width: 100%;
  margin: 0 0 2rem;
}

.home-statement-line {
  margin: 0;
  font-size: clamp(0.85rem, 2.6vw, 1.05rem);
  font-weight: 500;
  line-height: 1.55;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-red);
  text-align: justify;
  text-align-last: justify;
}

.home-list {
  list-style: none;
  margin: 0 0 2rem;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.home-list li {
  font-size: clamp(1rem, 3vw, 1.25rem);
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-red);
}

.home-contact {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding-block: 0.6em;
  padding-inline: calc(1.75em + 0.14em) 1.75em;
  border: 1px solid var(--text-red);
  font-size: clamp(1rem, 3vw, 1.25rem);
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  text-align: center;
  color: var(--text-red);
  text-decoration: none;
  cursor: pointer;
  pointer-events: auto;
  transition: opacity 0.2s;
}

.home>.home-contact {
  position: absolute;
  left: 50%;
  bottom: clamp(6rem, 20vh, 8rem);
  transform: translateX(-50%);
  z-index: 2;
}

.home-contact:hover {
  opacity: 0.75;
}

/* --- Contact -------------------------------------------------------------- */

.page-contact .content {
  flex: 1;
  display: flex;
  flex-direction: column;
  max-width: none;
  min-height: 100vh;
  padding: 0;
}

.contact-page {
  width: 100%;
  flex: 1;
  min-height: 100vh;
}

.contact-page .page-body {
  transform: translateY(clamp(3.5rem, 8vh, 5.5rem));
}

.contact-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: min(540px, 86vw);
  color: var(--text-red);
  font-family: var(--font-home);
  font-weight: 500;
}

.contact-form {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.85rem;
}

.contact-field {
  width: 100%;
  padding: 0.65rem 0.75rem;
  border: 1px solid var(--text-red);
  background: rgba(0, 0, 0, 0.35);
  color: var(--text-red);
  font-family: var(--font-home);
  font-size: clamp(0.85rem, 2.4vw, 1rem);
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.contact-field::placeholder {
  color: var(--text-red);
  opacity: 0.85;
  text-transform: uppercase;
}

.contact-field-area {
  resize: vertical;
  min-height: 4.5rem;
  line-height: 1.4;
}

.contact-field:focus {
  outline: none;
  border-color: var(--text-red);
  box-shadow: 0 0 0 1px rgba(var(--text-red-rgb), 0.35);
}

.contact-send {
  margin-top: 0.75rem;
  background: none;
  font-family: inherit;
}

/* --- Purchase ------------------------------------------------------------- */

.page-purchase .content {
  flex: 1;
  display: flex;
  flex-direction: column;
  max-width: none;
  min-height: 100vh;
  padding: 0;
}

.purchase-page {
  width: 100%;
  flex: 1;
  min-height: 100vh;
}

.purchase-page .page-body {
  flex: 0 0 auto;
}

.purchase-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: min(540px, 86vw);
  color: var(--text-red);
  font-family: var(--font-home);
  font-weight: 500;
}

.purchase-form {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.85rem;
}

.purchase-field {
  width: 100%;
  padding: 0.65rem 0.75rem;
  border: 1px solid var(--text-red);
  background: rgba(0, 0, 0, 0.35);
  color: var(--text-red);
  font-family: var(--font-home);
  font-size: clamp(0.85rem, 2.4vw, 1rem);
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.purchase-field::placeholder {
  color: var(--text-red);
  opacity: 0.85;
  text-transform: uppercase;
}

.purchase-field-area {
  resize: vertical;
  min-height: 4.5rem;
  line-height: 1.4;
}

.purchase-field:focus {
  outline: none;
  border-color: var(--text-red);
  box-shadow: 0 0 0 1px rgba(var(--text-red-rgb), 0.35);
}

.purchase-submit {
  background: none;
  font-family: inherit;
}

.purchase-page>.purchase-submit {
  position: absolute;
  left: 50%;
  bottom: clamp(5rem, 18vh, 7rem);
  transform: translateX(-50%);
  z-index: 2;
}

.purchase-submit:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.purchase-card-block {
  width: 100%;
  padding: 0.65rem 0.75rem;
  border: 1px solid var(--text-red);
  background: rgba(0, 0, 0, 0.35);
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.5rem;
  min-height: calc(1.3rem + 20px + 2px);
  text-align: left;
}

.purchase-card-divider {
  flex-shrink: 0;
  align-self: center;
  width: 1px;
  height: 20px;
  background: rgba(var(--text-red-rgb), 0.45);
}

.purchase-card-input {
  display: flex;
  align-items: center;
  align-self: center;
  margin: 0;
  padding: 0;
}

.purchase-card-input>div {
  width: 100%;
}

.purchase-card-number {
  flex: 1 1 50%;
  min-width: 0;
}

.purchase-card-expiry {
  flex: 0 0 5.5rem;
}

.purchase-card-cvc {
  flex: 0 0 3.75rem;
}

.purchase-error {
  width: 100%;
  margin: 0;
  font-size: clamp(0.75rem, 2vw, 0.9rem);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #c44;
  text-align: left;
}

.purchase-notice {
  width: 100%;
  margin: 0;
  font-size: clamp(0.75rem, 2vw, 0.9rem);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.85;
  text-align: left;
}


/* --- Gallery -------------------------------------------------------------- */

.page-gallery .content {
  flex: 1;
  display: flex;
  flex-direction: column;
  max-width: none;
  min-height: 100vh;
  padding: 0;
}

.gallery-page {
  width: 100%;
  flex: 1;
  min-height: 100vh;
}

.gallery-inner {
  width: 100%;
  min-height: 100vh;
  color: var(--text-red);
  font-family: var(--font-home);
  font-weight: 500;
}

.gallery-inner .page-body {
  flex: 0 0 auto;
}

.gallery-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  pointer-events: none;
}

.page-gallery .home-logo {
  top: 0.75rem;
}

.gallery-inner .page-body {
  transform: translateY(clamp(3rem, 7vh, 5rem));
}

.gallery-carousel {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  width: 100%;
  max-width: 1100px;
}

.gallery-frame {
  position: relative;
  flex: 0 0 auto;
  border: 2px solid var(--text-red);
  width: fit-content;
  max-width: min(800px, 97vw);
  padding: clamp(0.6rem, 1.6vw, 1rem);
  line-height: normal;
  --gallery-stage-w: min(640px, 58vw);
  --gallery-boss-w: clamp(44px, 6vw, 72px);
}

.gallery-frame-inner {
  position: relative;
  width: var(--gallery-stage-w);
  aspect-ratio: 8 / 5;
}

.gallery-bosses {
  list-style: none;
  margin: 0;
  padding: 0;
  position: absolute;
  top: 0;
  bottom: 0;
  z-index: 2;
  width: var(--gallery-boss-w);
  display: grid;
  grid-template-rows: repeat(4, minmax(0, 1fr));
  gap: clamp(0.2rem, 0.8vh, 0.45rem);
}

.gallery-bosses-left {
  left: 0;
}

.gallery-bosses-right {
  right: 0;
}

.gallery-boss {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  gap: 0.35rem;
  min-height: 0;
  overflow: hidden;
}

.gallery-boss-img {
  display: block;
  flex: 1 1 auto;
  width: 100%;
  min-height: 0;
  object-fit: cover;
  object-position: top center;
}

.gallery-boss-name {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.2em;
  font-family: var(--font-home);
  font-size: clamp(0.42rem, 1vw, 0.55rem);
  font-weight: 500;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--text-red);
  line-height: 1.2;
  flex: 0 0 auto;
  width: 100%;
  white-space: nowrap;
}

.gallery-boss-name-part {
  flex: 0 1 auto;
  min-width: 0;
}

.gallery-boss-name--lg {
  font-size: clamp(0.5rem, 1.15vw, 0.66rem);
}

.gallery-boss-name--xl {
  font-size: clamp(0.56rem, 1.28vw, 0.74rem);
}

.gallery-boss-name--tight {
  letter-spacing: 0.04em;
}

.gallery-boss-name--wide {
  letter-spacing: 0.17em;
}

.gallery-carousel.is-carousel-active .gallery-bosses {
  visibility: hidden;
}

.gallery-stage {
  position: absolute;
  inset: 0;
  overflow: hidden;
  line-height: 0;
}

.gallery-tagline {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 0.28rem;
  padding: 12% calc(var(--gallery-boss-w) + 0.35rem) 0;
  pointer-events: none;
  line-height: 1.2;
}

.gallery-carousel.is-carousel-active .gallery-tagline {
  display: none;
}

.gallery-tagline:has(.gallery-client-copy) {
  padding-top: 2.2%;
  gap: 0.4rem;
}

.gallery-tagline:has(.gallery-client-copy) .gallery-tagline-about {
  margin-top: 2.04rem;
}

.gallery-tagline-line {
  margin: 0;
  font-family: var(--font-home);
  font-size: clamp(0.95rem, 2.6vw, 1.15rem);
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  text-align: center;
  text-align-last: center;
  color: var(--text-red);
}

.gallery-tagline-line+.gallery-tagline-line {
  margin-top: -0.2rem;
}

.gallery-tagline-about {
  width: min(350px, 70vw);
  max-width: min(350px, 70vw);
  margin: 2.04rem 0 0;
  font-family: var(--font-home);
  font-weight: 500;
}

.gallery-page-review .gallery-tagline {
  gap: 0.25rem;
  padding-top: 0.55rem;
}

.gallery-page-review .gallery-tagline-about {
  max-width: min(380px, 100%);
  margin-top: 1.45rem;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

.gallery-client-copy {
  width: min(350px, 70vw);
  max-width: min(350px, 70vw);
  margin: 1.94rem 0 0;
  padding: 0;
  background: transparent;
  font-family: var(--font-home);
  font-weight: 500;
}

.gallery-tagline-about .home-statement-line,
.gallery-client-copy .home-statement-line {
  margin: 0;
  color: var(--text-red);
  text-align: justify;
  text-align-last: justify;
  text-justify: inter-word;
}

.gallery-paragraph {
  font-size: calc(clamp(0.64rem, 1.45vw, 0.76rem) + 2.5px);
  line-height: 1.14;
  letter-spacing: 0.02em;
  word-spacing: -0.1em;
  text-align: justify;
  text-align-last: justify;
  text-justify: inter-word;
  white-space: normal;
  overflow-wrap: normal;
  margin: 0;
}

.gallery-slide {
  display: none;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.gallery-carousel.is-carousel-active .gallery-slide.is-active {
  display: block;
}

.gallery-arrow {
  flex: 0 0 auto;
  border: none;
  background: none;
  padding: 0.5rem;
  font-family: var(--font-home);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 500;
  line-height: 1;
  color: var(--text-red);
  cursor: pointer;
}

.gallery-actions {
  position: absolute;
  left: 50%;
  bottom: clamp(3.25rem, 11vh, 4.75rem);
  transform: translateX(-50%);
  z-index: 2;
  width: clamp(9.5rem, 34vw, 11.5rem);
}

.gallery-actions .home-contact {
  width: 100%;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  min-height: 2.45em;
  padding-block: 0;
  padding-inline: 1.35em;
}

.gallery-contact {
  position: absolute;
  top: 100%;
  left: 0;
  margin-top: clamp(0.5rem, 2vw, 1rem);
  white-space: nowrap;
}

.gallery-action-purchase {
  visibility: hidden;
  pointer-events: none;
}

.gallery-action-purchase.is-visible {
  visibility: visible;
  pointer-events: auto;
}

/* --- Thank you & Receipt -------------------------------------------------- */

.page-thank-you .content {
  flex: 1;
  display: flex;
  flex-direction: column;
  max-width: none;
  min-height: 100vh;
  padding: 0;
}

html:has(body.page-receipt) {
  overflow: hidden;
  height: 100%;
  background-color: var(--bg-black);
}

.page-receipt {
  background-image: none;
  background-color: var(--bg-black);
  overflow: hidden;
  height: 100vh;
  height: 100dvh;
  max-height: 100dvh;
}

.page-receipt::before {
  display: none;
}

.page-receipt .scanlines {
  display: none;
}

.page-receipt .content {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: none;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  max-height: 100dvh;
  min-height: 0;
  padding: 0.15rem 0.25rem 0.25rem;
  overflow: hidden;
  background-color: var(--bg-black);
}

.thank-you-page {
  width: 100%;
  flex: 1;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.page-thank-you .thank-you-page .page-body {
  transform: none;
  flex: 0;
  padding: 0;
}

.thank-you-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  text-align: center;
  color: var(--text-red);
  font-family: var(--font-home);
  font-weight: 500;
}

.receipt-page {
  width: 100%;
  height: 100%;
  max-height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.receipt-page {
  background-color: var(--bg-black);
  justify-content: center;
  gap: 0.75rem;
  padding: 0.5rem 0.25rem 0.85rem;
  box-sizing: border-box;
}

.receipt-viewport {
  flex: 1 1 0;
  width: 100%;
  min-height: 0;
  max-width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.receipt-certificate {
  position: relative;
  aspect-ratio: 297 / 210;
  width: auto;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  margin: 0 auto;
  container-type: inline-size;
  box-sizing: border-box;
  overflow: hidden;
  --receipt-window-top: 23%;
  --receipt-window-right: 17.5%;
  --receipt-window-bottom: 23%;
  --receipt-window-left: 17.5%;
}

.receipt-frame {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: fill;
  pointer-events: none;
  user-select: none;
}

.receipt-certificate-bg {
  position: absolute;
  top: var(--receipt-window-top);
  right: calc(var(--receipt-window-right) - 1.5%);
  bottom: var(--receipt-window-bottom);
  left: var(--receipt-window-left);
  z-index: 2;
  background-color: #000;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.receipt-certificate-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.2);
  pointer-events: none;
}

.receipt-certificate-content {
  position: absolute;
  top: calc(var(--receipt-window-top) + 1.2%);
  right: calc(var(--receipt-window-right) + 1.5%);
  bottom: calc(var(--receipt-window-bottom) + 1.2%);
  left: calc(var(--receipt-window-left) + 1.5%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  color: var(--text-red);
  font-family: var(--font-home);
  font-weight: 500;
}

.receipt-logo {
  display: block;
  width: min(108px, 20cqw);
  height: auto;
  margin-bottom: 0.6rem;
}

.receipt-details {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 92%;
  gap: 0.3rem;
  text-align: center;
}

.receipt-line {
  margin: 0;
  max-width: 100%;
  font-family: var(--font-home);
  font-size: clamp(0.62rem, 2.8cqw, 0.82rem);
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-red);
  word-break: break-word;
}

.receipt-ref {
  letter-spacing: 0.18em;
}

.receipt-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 100%;
  margin: 0.35rem auto 0.25rem;
}

.receipt-body-block {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  max-width: 100%;
  gap: 0.1rem;
  text-align: justify;
  text-align-last: justify;
}

.receipt-body-block--intro,
.receipt-body-block--delivery {
  width: min(30rem, 90cqw);
}

.receipt-body-block--terms {
  width: min(23rem, 84cqw);
}

.receipt-body-block--terms .receipt-body-line {
  font-size: clamp(0.45rem, 2cqw, 0.62rem);
}

.receipt-body-block--gap {
  margin-top: 0.55rem;
}

.receipt-body-block--gap-lg {
  margin-top: 1rem;
}

.receipt-body-line {
  margin: 0;
  width: 100%;
  max-width: 100%;
  font-family: var(--font-home);
  font-size: clamp(0.5rem, 2.2cqw, 0.68rem);
  font-weight: 500;
  line-height: 1.45;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: justify;
  text-align-last: justify;
  color: var(--text-red);
}

.receipt-emphasis {
  font-weight: 500;
}

.receipt-footer {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  width: min(23rem, 84cqw);
  max-width: 100%;
  margin-top: 1.15rem;
}

.receipt-footer-name,
.receipt-footer-date {
  font-family: var(--font-home);
  font-size: clamp(0.62rem, 2.8cqw, 0.82rem);
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-red);
}

.receipt-footer-name {
  flex: 1 1 auto;
  text-align: left;
}

.receipt-footer-date {
  flex: 0 0 auto;
  text-align: right;
  white-space: nowrap;
}

.receipt-download {
  flex: 0 0 auto;
  position: relative;
  z-index: 2;
  margin: 0;
  font-family: var(--font-home);
  background: none;
}

.receipt-download:hover {
  opacity: 0.75;
}

.receipt-download:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.thank-you-heading {
  margin: 0;
  font-size: clamp(1.75rem, 5.5vw, 2.5rem);
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  text-align: center;
  color: var(--text-red);
}

/* --- 404 ------------------------------------------------------------------ */

.page-not-found .content {
  flex: 1;
  display: flex;
  flex-direction: column;
  max-width: none;
  min-height: 100vh;
  padding: 0;
}

.not-found-page {
  width: 100%;
  flex: 1;
  min-height: 100vh;
}

.not-found-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: var(--text-red);
  font-family: var(--font-home);
  font-weight: 500;
}

.not-found-heading {
  margin: 0;
  font-size: clamp(1.4rem, 4.5vw, 2rem);
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-red);
}

.not-found-link {
  margin-top: 1.5rem;
  font-size: clamp(1rem, 3vw, 1.25rem);
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-red);
  text-decoration: none;
  cursor: pointer;
}

.not-found-link:hover {
  opacity: 0.75;
}

/* --- Print ---------------------------------------------------------------- */

@media print {
  .scanlines {
    display: none !important;
  }

  body {
    background: #fff !important;
    color: #000 !important;
  }
}

/* --- Responsive ----------------------------------------------------------- */

@media (max-width: 640px) {
  .gallery-carousel {
    gap: 0.5rem;
  }

  .gallery-frame {
    max-width: min(600px, 97vw);
    padding: 0.6rem;
    --gallery-stage-w: min(460px, 52vw);
    --gallery-boss-w: clamp(36px, 8vw, 56px);
  }

  .gallery-bosses {
    gap: clamp(0.25rem, 1vh, 0.5rem);
  }

  .gallery-boss-name {
    font-size: clamp(0.4rem, 1.8vw, 0.52rem);
    letter-spacing: 0.08em;
  }

  .gallery-boss-name--lg {
    font-size: clamp(0.48rem, 2vw, 0.6rem);
  }

  .gallery-boss-name--xl {
    font-size: clamp(0.54rem, 2.2vw, 0.68rem);
  }

  .gallery-boss-name--tight {
    letter-spacing: 0.02em;
  }

  .gallery-boss-name--wide {
    letter-spacing: 0.13em;
  }
}