* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-size: 16px;
  margin: 0;
  padding: 0;
  background-color: #E8F2E6;
  color: #243028;
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  line-height: 1.65;
  overflow-x: hidden;
}

a {
  color: #A32C1F;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

h1, h2, h3, h4 {
  font-family: "Trebuchet MS", "Segoe UI", Arial, sans-serif;
  color: #1A201C;
  line-height: 1.15;
  margin: 0 0 16px 0;
}

p {
  margin: 0 0 16px 0;
}

.wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- CARTRIDGE SLOT NAV ---------- */

.cartridgeslot {
  background-color: #1A201C;
  padding: 14px 0 0 0;
  border-bottom: 8px solid #1A201C;
}

.cartridgeslot-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

.cartridgeslot-plate {
  position: relative;
  background-color: #E0E6D8;
  border: 8px solid #1A201C;
  border-bottom: none;
  border-radius: 10px 10px 0 0;
  padding: 12px 16px 0 16px;
  display: flex;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 6px 8px;
  min-height: 66px;
}

.cartridgeslot-led {
  position: absolute;
  top: 10px;
  right: 14px;
  width: 10px;
  height: 10px;
  background-color: #A32C1F;
  border-radius: 50%;
  box-shadow: 0 0 0 2px #1A201C;
}

.cartridgeslot-brand {
  font-family: "Trebuchet MS", "Segoe UI", Arial, sans-serif;
  font-weight: 800;
  font-size: 18px;
  letter-spacing: 0.04em;
  color: #1A201C;
  padding: 8px 18px 10px 4px;
  margin-right: auto;
  white-space: nowrap;
}

.cartridgeslot-brand span {
  color: #A32C1F;
}

.cartridgeslot-tabs {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 6px;
}

.cartridgeslot-tab {
  display: inline-block;
  background-color: #E8F2E6;
  border: 3px solid #1A201C;
  border-bottom: none;
  border-radius: 5px 5px 0 0;
  color: #243028;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 8px 12px 9px 12px;
  line-height: 1;
}

.cartridgeslot-tab:hover {
  text-decoration: none;
  background-color: #A32C1F;
  color: #E8F2E6;
}

.cartridgeslot-tab:nth-child(1) {
  min-width: 64px;
}

.cartridgeslot-tab:nth-child(2) {
  min-width: 108px;
}

.cartridgeslot-tab:nth-child(3) {
  min-width: 96px;
}

.cartridgeslot-tab:nth-child(4) {
  min-width: 88px;
}

.cartridgeslot-tab:nth-child(5) {
  min-width: 76px;
}

.cartridgeslot-tab.is-active {
  margin-bottom: -8px;
  padding-bottom: 17px;
  background-color: #B44E38;
  color: #E8F2E6;
  border-color: #B44E38;
}

/* ---------- HERO: PIXEL STAGE ---------- */

.pixelstage {
  background-color: #E8F2E6;
  padding: 56px 0 40px 0;
}

.pixelstage-eyebrow {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #A32C1F;
  margin: 0 0 18px 0;
}

.pixelstage-head {
  font-size: 44px;
  font-weight: 800;
  margin: 0 0 6px 0;
  color: #1A201C;
  max-width: 900px;
}

.pixelstage-head-line {
  display: block;
}

.pixelstage-dispword {
  display: block;
  font-size: 86px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 0.95;
  color: #A32C1F;
  margin: 10px 0 26px 0;
}

.pixelstage-scene {
  position: relative;
  height: 190px;
  margin: 0 0 28px 0;
  background-color: #E0E6D8;
  border: 6px solid #1A201C;
  overflow: hidden;
}

.pixelstage-ground {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 16px;
  background-color: #1A201C;
}

.pixelstage-plat {
  position: absolute;
  background-color: #E0E6D8;
  border: 5px solid #1A201C;
  height: 15px;
}

.pixelstage-plat-a {
  left: 8%;
  bottom: 88px;
  width: 120px;
}

.pixelstage-plat-b {
  left: 38%;
  bottom: 120px;
  width: 96px;
}

.pixelstage-plat-c {
  left: 70%;
  bottom: 74px;
  width: 140px;
}

.pixelstage-heart {
  position: absolute;
  left: 13%;
  bottom: 114px;
  width: 20px;
  height: 20px;
  background-color: #B44E38;
  transform: rotate(45deg);
}

.pixelstage-heart::before,
.pixelstage-heart::after {
  content: "";
  position: absolute;
  width: 20px;
  height: 20px;
  background-color: #B44E38;
  border-radius: 50%;
}

.pixelstage-heart::before {
  left: -10px;
  top: 0;
}

.pixelstage-heart::after {
  left: 0;
  top: -10px;
}

.pixelstage-star {
  position: absolute;
  left: 45%;
  bottom: 148px;
  width: 24px;
  height: 24px;
  background-color: #A32C1F;
  clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
}

.pixelstage-coin {
  position: absolute;
  left: 78%;
  bottom: 100px;
  width: 26px;
  height: 26px;
  background-color: #B44E38;
  border: 5px solid #1A201C;
  border-radius: 50%;
}

.pixelstage-coin::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 6px;
  width: 4px;
  height: 4px;
  background-color: #E0E6D8;
}

.pixelstage-copy {
  max-width: 780px;
  font-size: 17px;
  color: #243028;
  margin: 0 0 22px 0;
}

.pixelstage-copy a {
  font-weight: 700;
  border-bottom: 2px solid #A32C1F;
}

.pixelstage-cta {
  display: block;
  background-color: #A32C1F;
  color: #E8F2E6;
  font-weight: 800;
  font-size: 18px;
  letter-spacing: 0.04em;
  padding: 18px 24px;
  border: 4px solid #1A201C;
  text-align: left;
  transition: background-color 0.15s ease;
}

.pixelstage-cta:hover {
  text-decoration: none;
  background-color: #B44E38;
}

.pixelstage-cta span {
  float: right;
  font-weight: 800;
}

/* ---------- SHELF BAYS ---------- */

.shelfbay {
  padding: 24px 0 8px 0;
}

.shelfbay-intro {
  max-width: 820px;
  margin: 0 0 34px 0;
}

.shelfbay-intro h2 {
  font-size: 34px;
  margin-bottom: 12px;
}

.shelfbay-bay {
  background-color: #1A201C;
  padding: 10px 10px 0 10px;
  border-radius: 6px;
  margin-bottom: 32px;
}

.shelfbay-bay-label {
  color: #E8F2E6;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 4px 6px 10px 6px;
}

.shelfbay-board {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  background-color: #E0E6D8;
  padding: 14px 12px 0 12px;
  border-top: 5px solid #1A201C;
  min-height: 300px;
}

.shelfbay-box {
  position: relative;
  background-color: #E8F2E6;
  border: 4px solid #1A201C;
  padding: 16px 14px 40px 14px;
  flex: 1 1 0;
}

.shelfbay-bay-one .shelfbay-box {
  transform: rotate(-1deg);
  transform-origin: bottom center;
}

.shelfbay-box-wide {
  flex-grow: 1.4;
}

.shelfbay-box-slim {
  flex-grow: 0.85;
}

.shelfbay-mark {
  display: inline-block;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: #8E9E92;
  border: 2px solid #8E9E92;
  padding: 2px 7px;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.shelfbay-box h3 {
  font-size: 19px;
  margin: 0 0 10px 0;
}

.shelfbay-box p {
  font-size: 14.5px;
  margin: 0 0 10px 0;
  color: #243028;
}

.shelfbay-box a {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.shelfbay-tri {
  position: absolute;
  right: 10px;
  bottom: 10px;
  width: 0;
  height: 0;
  border-left: 9px solid transparent;
  border-right: 9px solid transparent;
  border-bottom: 16px solid #B44E38;
}

.shelfbay-sill {
  height: 12px;
  background-color: #1A201C;
  margin: 0 -10px;
  border-radius: 0 0 6px 6px;
}

/* ---------- LONG-FORM CONTENT ---------- */

.pixelstage + .shelfbay {
  padding-top: 8px;
}

.stageprose {
  padding: 40px 0 20px 0;
}

.stageprose-inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 40px;
  align-items: start;
}

.stageprose-main h2 {
  font-size: 32px;
  margin-bottom: 14px;
}

.stageprose-main h3 {
  font-size: 21px;
  margin: 26px 0 10px 0;
}

.stageprose-aside {
  background-color: #E0E6D8;
  border: 4px solid #1A201C;
  padding: 22px;
}

.stageprose-aside h3 {
  font-size: 17px;
  margin: 0 0 12px 0;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.stageprose-aside ul {
  margin: 0;
  padding: 0 0 0 18px;
}

.stageprose-aside li {
  margin-bottom: 9px;
  font-size: 14.5px;
}

/* ---------- LIFE BAR BAND ---------- */

.lifebarband {
  background-color: #1A201C;
  padding: 40px 0;
  margin: 24px 0;
}

.lifebarband-track {
  height: 26px;
  background-color: #E0E6D8;
  border: 5px solid #E8F2E6;
  margin: 0 0 22px 0;
  max-width: 640px;
}

.lifebarband-fill {
  height: 100%;
  width: 80%;
  background-color: #B44E38;
}

.lifebarband-line {
  color: #E8F2E6;
  font-size: 19px;
  font-weight: 600;
  margin: 0;
  max-width: 820px;
}

/* ---------- CABINET FOOTER ---------- */

.cabinetfoot {
  background-color: #1A201C;
  padding: 48px 0 0 0;
  color: #E8F2E6;
}

.cabinetfoot-top {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 40px;
  align-items: start;
}

.cabinetfoot-cab {
  width: 200px;
}

.cabinetfoot-marquee {
  background-color: #E0E6D8;
  border: 5px solid #E8F2E6;
  padding: 12px 10px;
  text-align: center;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.05em;
  color: #1A201C;
  line-height: 1.2;
}

.cabinetfoot-screen {
  background-color: #243028;
  border: 5px solid #E8F2E6;
  border-top: none;
  height: 78px;
  position: relative;
}

.cabinetfoot-screen::after {
  content: "";
  position: absolute;
  left: 14px;
  bottom: 12px;
  width: 60px;
  height: 5px;
  background-color: #8E9E92;
}

.cabinetfoot-deck {
  background-color: #1A201C;
  border: 5px solid #E8F2E6;
  border-top: none;
  height: 62px;
  position: relative;
}

.cabinetfoot-btn {
  position: absolute;
  width: 15px;
  height: 15px;
  background-color: #B44E38;
  border-radius: 50%;
}

.cabinetfoot-btn-a {
  right: 54px;
  top: 12px;
}

.cabinetfoot-btn-b {
  right: 30px;
  top: 12px;
}

.cabinetfoot-dpad {
  position: absolute;
  left: 22px;
  top: 12px;
  width: 34px;
  height: 34px;
}

.cabinetfoot-dpad::before {
  content: "";
  position: absolute;
  left: 11px;
  top: 0;
  width: 12px;
  height: 34px;
  background-color: #E0E6D8;
}

.cabinetfoot-dpad::after {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 34px;
  height: 12px;
  background-color: #E0E6D8;
}

.cabinetfoot-cols {
  display: grid;
  grid-template-columns: 1.7fr 1fr;
  gap: 40px;
}

.cabinetfoot-blurb {
  font-size: 15px;
  color: #E8F2E6;
  margin: 0 0 18px 0;
}

.cabinetfoot-lines {
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 14.5px;
  color: #E8F2E6;
}

.cabinetfoot-lines li {
  margin-bottom: 8px;
}

.cabinetfoot-lines a {
  color: #E8F2E6;
  border-bottom: 1px solid #8E9E92;
}

.cabinetfoot-rightcol h3 {
  color: #E8F2E6;
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin: 0 0 14px 0;
}

.cabinetfoot-links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.cabinetfoot-links li {
  margin-bottom: 10px;
  font-size: 15px;
}

.cabinetfoot-links a {
  color: #E8F2E6;
}

.cabinetfoot-links a:hover {
  color: #E0E6D8;
}

.cabinetfoot-base {
  margin-top: 40px;
  border-top: 2px solid #8E9E92;
  padding: 16px 0 20px 0;
  font-size: 13px;
  color: #E0E6D8;
}

.cabinetfoot-joy {
  display: inline-block;
  width: 12px;
  height: 12px;
  border: 2px solid #B44E38;
  border-radius: 50%;
  margin-right: 8px;
  vertical-align: middle;
}

/* ---------- SHARED PAGE PIECES ---------- */

.legalhead {
  background-color: #1A201C;
  padding: 18px 0;
}

.legalhead-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.legalhead-brand {
  color: #E8F2E6;
  font-weight: 800;
  font-size: 18px;
}

.legalhead-brand span {
  color: #B44E38;
}

.legalhead-links a {
  color: #E8F2E6;
  font-size: 14px;
  margin-left: 18px;
}

.pagehead {
  padding: 46px 0 12px 0;
}

.pagehead h1 {
  font-size: 40px;
  margin: 0 0 12px 0;
}

.pagehead p {
  max-width: 780px;
  font-size: 17px;
}

.pagehead-eyebrow {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #A32C1F;
  margin: 0 0 14px 0;
}

/* ---------- SERVICES PAGE ---------- */

.svcrun {
  padding: 20px 0 40px 0;
}

.svcrow {
  display: grid;
  grid-template-columns: 74px 1fr;
  gap: 22px;
  border-top: 3px solid #1A201C;
  padding: 26px 0;
}

.svcrow-mark {
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: #8E9E92;
  border: 3px solid #8E9E92;
  text-align: center;
  padding: 8px 0;
  height: 44px;
}

.svcrow h2 {
  font-size: 26px;
  margin: 0 0 10px 0;
}

.svcrow p {
  font-size: 16px;
  max-width: 780px;
}

.svcprocess {
  background-color: #E0E6D8;
  border: 4px solid #1A201C;
  padding: 30px;
  margin: 10px 0 40px 0;
}

.svcprocess h2 {
  font-size: 28px;
  margin-bottom: 14px;
}

.svcprocess ol {
  margin: 0;
  padding: 0 0 0 20px;
}

.svcprocess li {
  margin-bottom: 12px;
  font-size: 16px;
}

.svccta {
  display: block;
  background-color: #A32C1F;
  color: #E8F2E6;
  font-weight: 800;
  font-size: 18px;
  padding: 18px 24px;
  border: 4px solid #1A201C;
  margin-bottom: 40px;
}

.svccta:hover {
  text-decoration: none;
  background-color: #B44E38;
}

/* ---------- CONTACT PAGE ---------- */

.contactgrid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 40px;
  padding: 20px 0 50px 0;
  align-items: start;
}

.contactform {
  background-color: #E0E6D8;
  border: 4px solid #1A201C;
  padding: 28px;
}

.contactform h2 {
  font-size: 26px;
  margin-bottom: 16px;
}

.contactform-field {
  margin-bottom: 16px;
}

.contactform-field label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 6px;
  color: #1A201C;
}

.contactform-field input,
.contactform-field textarea {
  width: 100%;
  font-size: 15px;
  font-family: inherit;
  color: #243028;
  background-color: #E8F2E6;
  border: 3px solid #1A201C;
  padding: 10px 12px;
}

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

.contactform-submit {
  display: inline-block;
  width: 100%;
  background-color: #A32C1F;
  color: #E8F2E6;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0.05em;
  border: 4px solid #1A201C;
  padding: 14px 20px;
  cursor: pointer;
}

.contactform-submit:hover {
  background-color: #B44E38;
}

.contactform-note {
  font-size: 13px;
  margin: 12px 0 0 0;
  color: #243028;
}

.contactinfo h2 {
  font-size: 26px;
  margin-bottom: 14px;
}

.contactinfo-block {
  background-color: #E8F2E6;
  border-left: 8px solid #A32C1F;
  padding: 14px 18px;
  margin-bottom: 16px;
}

.contactinfo-block h3 {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin: 0 0 6px 0;
  color: #A32C1F;
}

.contactinfo-block p {
  margin: 0;
  font-size: 15px;
}

.faqblock {
  padding: 10px 0 50px 0;
}

.faqblock h2 {
  font-size: 30px;
  margin-bottom: 20px;
}

.faqitem {
  border-top: 3px solid #1A201C;
  padding: 16px 0;
}

.faqitem h3 {
  font-size: 18px;
  margin: 0 0 8px 0;
}

.faqitem p {
  margin: 0;
  max-width: 820px;
}

/* ---------- JS reveal states ---------- */

.reveal {
  transition: transform 0.5s ease;
}

.reveal.is-hidden {
  transform: translateY(14px);
}

.reveal.is-shown {
  transform: translateY(0);
}

/* ---------- RESPONSIVE ---------- */

@media (max-width: 900px) {
  .stageprose-inner,
  .cabinetfoot-top,
  .cabinetfoot-cols,
  .contactgrid {
    grid-template-columns: 1fr;
  }
  .pixelstage-head {
    font-size: 34px;
  }
  .pixelstage-dispword {
    font-size: 62px;
  }
  .cabinetfoot-cab {
    margin: 0 auto;
  }
}

@media (max-width: 640px) {
  .cartridgeslot-brand {
    font-size: 16px;
    padding-right: 8px;
  }
  .cartridgeslot-plate {
    padding-top: 16px;
  }
  .shelfbay-board {
    flex-direction: column;
    align-items: stretch;
    min-height: 0;
  }
  .shelfbay-bay-one .shelfbay-box {
    transform: none;
  }
  .pixelstage-head {
    font-size: 28px;
  }
  .pixelstage-dispword {
    font-size: 46px;
  }
  .pagehead h1 {
    font-size: 30px;
  }
  .svcrow {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .svcrow-mark {
    width: 74px;
  }
}
