:root {
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 0;
  margin: 0;
  overflow-x: hidden;
}

button,
a,
input {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

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

button {
  color: inherit;
}

button:focus-visible,
a:focus-visible,
input:focus-visible {
  outline: 3px solid currentColor;
  outline-offset: 4px;
}

::selection {
  color: #101718;
  background: #b9ff57;
}

.concept-library-link {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 100;
  padding: 10px 15px;
  border: 1px solid currentColor;
  border-radius: 999px;
  color: #fff;
  font: 800 10px/1 Arial, sans-serif;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: #111;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.2);
}

.demo-toast {
  position: fixed;
  right: 20px;
  bottom: 68px;
  z-index: 110;
  max-width: 290px;
  padding: 13px 16px;
  border-radius: 4px;
  color: #fff;
  font: 700 12px/1.4 Arial, sans-serif;
  background: #111;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.28);
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity 180ms ease, transform 180ms ease;
}

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

/* Solace Clinic — cool clinical diagram */
.showcase-solace-clinic body {
  color: #123b38;
  font-family: Arial, Helvetica, sans-serif;
  background: #d8ebe6;
}

.solace-shell {
  min-height: 100vh;
  padding: 18px;
}

.solace-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0 18px;
  border-bottom: 1px solid rgba(18, 59, 56, 0.4);
}

.solace-mark {
  font-size: 1.15rem;
  font-weight: 900;
  letter-spacing: -0.05em;
}

.solace-mark span {
  color: #3264ff;
}

.solace-nav > div {
  display: flex;
  gap: 28px;
  align-items: center;
  font-size: 0.74rem;
  font-weight: 750;
}

.solace-nav button {
  padding: 11px 16px;
  border: 0;
  border-radius: 999px;
  color: #d8ebe6;
  background: #123b38;
  cursor: pointer;
}

.solace-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(330px, 0.85fr);
  min-height: 790px;
  border-bottom: 1px solid rgba(18, 59, 56, 0.4);
}

.solace-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 7vw 5vw 6vw 2vw;
}

.solace-copy h1 {
  max-width: 820px;
  margin: 0;
  font-size: clamp(4.4rem, 9vw, 9.4rem);
  font-weight: 520;
  letter-spacing: -0.065em;
  line-height: 0.84;
}

.solace-copy > p {
  max-width: 580px;
  margin: 56px 0 28px;
  font-size: clamp(1rem, 1.35vw, 1.3rem);
  line-height: 1.55;
}

.solace-paths {
  display: flex;
  width: fit-content;
  border: 1px solid #123b38;
  border-radius: 999px;
  overflow: hidden;
}

.solace-paths button {
  padding: 12px 20px;
  border: 0;
  color: #123b38;
  background: transparent;
  cursor: pointer;
}

.solace-paths button.is-active {
  color: #fff;
  background: #3264ff;
}

.solace-path-copy {
  min-height: 64px;
  max-width: 570px;
  margin-top: 20px;
}

.solace-path-copy p,
[data-demo-panel] {
  display: none;
}

.solace-path-copy p.is-active,
[data-demo-panel].is-active {
  display: block;
}

.solace-diagram {
  position: relative;
  min-height: 650px;
  overflow: hidden;
  color: #d8ebe6;
  background: #123b38;
}

.solace-orbit,
.solace-diagram i,
.solace-diagram b {
  position: absolute;
  border: 1px solid rgba(185, 255, 87, 0.75);
  border-radius: 50%;
}

.solace-orbit-a {
  inset: 12% -24% 12% -24%;
}

.solace-orbit-b {
  inset: 28% -3%;
}

.solace-diagram i {
  top: 19%;
  left: 24%;
  width: 22px;
  height: 22px;
  background: #b9ff57;
  animation: solace-pulse 2.4s ease-in-out infinite;
}

.solace-diagram b {
  right: 17%;
  bottom: 20%;
  width: 46px;
  height: 46px;
  border-color: #7ea2ff;
}

.solace-core {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  width: 148px;
  height: 148px;
  place-items: center;
  border-radius: 50%;
  color: #123b38;
  font-size: 1.6rem;
  font-weight: 900;
  background: #b9ff57;
  transform: translate(-50%, -50%);
}

.solace-diagram p {
  position: absolute;
  right: 8%;
  bottom: 7%;
  margin: 0;
  font-size: clamp(2.4rem, 4vw, 5rem);
  font-weight: 700;
  letter-spacing: -0.05em;
  line-height: 0.84;
}

.solace-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(18, 59, 56, 0.3);
}

.solace-strip span {
  min-width: 0;
  overflow-wrap: anywhere;
  padding: 34px 24px;
  font-size: 0.85rem;
  font-weight: 800;
  background: #d8ebe6;
}

.solace-team {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 6vw;
  padding: 10vw 4vw;
}

.solace-team h2 {
  max-width: 800px;
  margin: 0;
  font-size: clamp(3rem, 6vw, 6rem);
  letter-spacing: -0.05em;
  line-height: 0.9;
}

@keyframes solace-pulse {
  50% { transform: scale(1.55); opacity: 0.45; }
}

/* Terra Table — saturated menu collage */
.showcase-terra-table body {
  color: #281a16;
  font-family: Georgia, "Times New Roman", serif;
  background: #f04c2f;
}

.terra-shell {
  min-height: 100vh;
  padding: 12px;
}

.terra-nav {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 15px 18px;
  border: 1px solid #281a16;
  border-bottom: 0;
  font: 800 0.7rem/1 Arial, sans-serif;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.terra-nav strong {
  font-size: 1.25rem;
  letter-spacing: -0.04em;
}

.terra-nav button {
  justify-self: end;
  padding: 10px 16px;
  border: 1px solid #281a16;
  border-radius: 999px;
  background: #ffd94f;
  cursor: pointer;
}

.terra-hero {
  position: relative;
  display: grid;
  grid-template-columns: 1.14fr 0.86fr;
  min-height: 860px;
  overflow: hidden;
  border: 1px solid #281a16;
  background: #f9e9cf;
}

.terra-title {
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 54px 28px 34px;
}

.terra-title h1 {
  margin: 0;
  font: 900 clamp(5rem, 11vw, 12rem)/0.75 "Arial Narrow", Arial, sans-serif;
  letter-spacing: -0.075em;
}

.terra-title p {
  max-width: 430px;
  margin: 40px 0 0;
  font-size: 1.15rem;
  line-height: 1.45;
}

.terra-plate {
  position: relative;
  align-self: center;
  width: min(48vw, 650px);
  margin: 0 0 0 -7vw;
  filter: saturate(1.12) contrast(1.04);
  transform: rotate(7deg);
}

.terra-plate img {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border: 18px solid #ffd94f;
  border-radius: 50%;
  box-shadow: 30px 36px 70px rgba(78, 35, 21, 0.24);
}

.terra-plate figcaption {
  position: absolute;
  right: 0;
  bottom: 9%;
  padding: 10px 14px;
  font: 900 0.7rem Arial, sans-serif;
  background: #f04c2f;
}

.terra-note {
  position: absolute;
  right: 22px;
  bottom: 22px;
  z-index: 3;
  display: grid;
  gap: 10px;
  width: 230px;
  padding: 20px;
  border: 1px solid #281a16;
  background: #d8ff68;
  transform: rotate(-3deg);
}

.terra-note b {
  font: 900 1.9rem Arial, sans-serif;
}

.terra-menu {
  padding: 7vw 3vw;
  border: 1px solid #281a16;
  border-top: 0;
}

.terra-menu-head {
  display: flex;
  gap: 40px;
  align-items: end;
  justify-content: space-between;
}

.terra-menu h2 {
  margin: 0;
  font-size: clamp(3rem, 7vw, 7rem);
  letter-spacing: -0.05em;
}

.terra-menu-head button {
  padding: 9px 16px;
  border: 1px solid #281a16;
  border-radius: 999px;
  background: transparent;
  cursor: pointer;
}

.terra-menu-head button.is-active {
  background: #ffd94f;
}

.terra-menu-panel {
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: 44px;
  background: #281a16;
}

.terra-menu-panel.is-active {
  display: grid;
}

.terra-menu-panel span {
  padding: 24px;
  background: #f04c2f;
}

/* Orbit Ledger — operating dashboard */
.showcase-orbit-ledger body {
  color: #dce9d7;
  font-family: Arial, Helvetica, sans-serif;
  background: #0f2d25;
}

.orbit-shell {
  min-height: 100vh;
  padding: 14px;
}

.orbit-nav {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  align-items: center;
  padding: 18px 22px;
  border-bottom: 1px solid rgba(220, 233, 215, 0.38);
  font-size: 0.72rem;
}

.orbit-nav strong {
  color: #ffc857;
  font-size: 1rem;
  letter-spacing: 0.04em;
}

.orbit-nav button {
  padding: 10px 16px;
  border: 1px solid #ffc857;
  color: #ffc857;
  background: transparent;
  cursor: pointer;
}

.orbit-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(430px, 1.12fr);
  min-height: 900px;
}

.orbit-intro {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(65px, 8vw, 130px) 5vw 44px 2vw;
  border-right: 1px solid rgba(220, 233, 215, 0.32);
}

.orbit-intro h1 {
  margin: 0;
  color: #edf4e9;
  font-size: clamp(4rem, 7.8vw, 8rem);
  font-weight: 550;
  letter-spacing: -0.06em;
  line-height: 0.88;
}

.orbit-intro > p {
  max-width: 520px;
  margin: 44px 0 auto;
  color: rgba(220, 233, 215, 0.72);
  font-size: 1.05rem;
  line-height: 1.55;
}

.orbit-status {
  display: flex;
  gap: 10px;
  align-items: center;
  font-size: 0.72rem;
  text-transform: uppercase;
}

.orbit-status i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #83f49a;
  box-shadow: 0 0 0 6px rgba(131, 244, 154, 0.14);
}

.orbit-console {
  align-self: center;
  margin: 7vw 3vw;
  border: 1px solid rgba(220, 233, 215, 0.48);
  background: #173a30;
  box-shadow: 18px 24px 64px rgba(3, 14, 11, 0.35);
}

.orbit-console header {
  display: flex;
  justify-content: space-between;
  padding: 18px 20px;
  border-bottom: 1px solid rgba(220, 233, 215, 0.25);
  font-size: 0.7rem;
  text-transform: uppercase;
}

.orbit-console header b {
  color: #ffc857;
}

.orbit-chart {
  display: flex;
  gap: 14px;
  align-items: end;
  height: 300px;
  padding: 32px;
  background: repeating-linear-gradient(0deg, transparent 0 49px, rgba(220, 233, 215, 0.09) 50px);
}

.orbit-chart i {
  flex: 1;
  height: var(--h);
  background: #7ce7a0;
  transition: height 420ms cubic-bezier(0.16, 1, 0.3, 1);
}

.orbit-chart i:nth-child(even) {
  background: #ffc857;
}

.orbit-slider {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 18px;
  align-items: center;
  padding: 22px;
  border-top: 1px solid rgba(220, 233, 215, 0.25);
}

.orbit-slider input {
  accent-color: #ffc857;
}

.orbit-slider output {
  color: #ffc857;
  font-weight: 900;
}

.orbit-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid rgba(220, 233, 215, 0.25);
}

.orbit-metrics div {
  display: grid;
  min-width: 0;
  gap: 7px;
  padding: 22px;
}

.orbit-metrics div + div {
  border-left: 1px solid rgba(220, 233, 215, 0.25);
}

.orbit-metrics span {
  font-size: 0.67rem;
  text-transform: uppercase;
}

.orbit-metrics b {
  font-size: 1.5rem;
}

.orbit-services {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid rgba(220, 233, 215, 0.32);
}

.orbit-services article {
  padding: 35px 24px 50px;
}

.orbit-services article + article {
  border-left: 1px solid rgba(220, 233, 215, 0.32);
}

.orbit-services span,
.orbit-services p {
  color: rgba(220, 233, 215, 0.6);
}

/* Atlas Weekend — folding map editorial */
.showcase-atlas-weekend body {
  color: #1c2230;
  font-family: "Arial Narrow", Arial, sans-serif;
  background: #ff6532;
}

.atlas-shell {
  min-height: 100vh;
  padding: 14px;
}

.atlas-nav {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  align-items: center;
  padding: 17px 20px;
  border: 1px solid #1c2230;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.atlas-nav strong {
  line-height: 0.8;
}

.atlas-nav a {
  padding: 10px 14px;
  color: #ff6532;
  background: #1c2230;
}

.atlas-hero {
  position: relative;
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  min-height: 850px;
  overflow: hidden;
  border: 1px solid #1c2230;
  border-top: 0;
}

.atlas-copy {
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 55px 28px 34px;
}

.atlas-copy h1 {
  margin: 0;
  font-size: clamp(5rem, 10.5vw, 11rem);
  font-weight: 900;
  letter-spacing: -0.075em;
  line-height: 0.77;
}

.atlas-copy p {
  max-width: 440px;
  font-family: Georgia, serif;
  font-size: 1.15rem;
  line-height: 1.5;
}

.atlas-map {
  position: relative;
  margin: 28px 28px 28px -4vw;
  border: 1px solid #1c2230;
  background:
    linear-gradient(32deg, transparent 48%, rgba(28, 34, 48, 0.9) 49% 50%, transparent 51%),
    linear-gradient(-18deg, transparent 48%, rgba(28, 34, 48, 0.5) 49% 50%, transparent 51%),
    repeating-linear-gradient(90deg, rgba(28, 34, 48, 0.13) 0 1px, transparent 1px 84px),
    #ffd84a;
  transform: rotate(2deg);
}

.atlas-map i {
  position: absolute;
  width: 20px;
  height: 20px;
  border: 5px solid #1c2230;
  border-radius: 50%;
  background: #ff6532;
}

.atlas-map i:nth-child(1) { top: 17%; left: 20%; }
.atlas-map i:nth-child(2) { top: 48%; left: 62%; }
.atlas-map i:nth-child(3) { right: 15%; bottom: 18%; }
.atlas-map span,
.atlas-map b { position: absolute; font-size: 0.76rem; letter-spacing: 0.1em; }
.atlas-map span { top: 14%; right: 12%; }
.atlas-map b { bottom: 12%; left: 10%; }

.atlas-ticket {
  position: absolute;
  right: 6%;
  bottom: 8%;
  display: grid;
  gap: 7px;
  width: 230px;
  padding: 22px;
  border: 1px solid #1c2230;
  background: #b6ddff;
  box-shadow: 18px 20px 0 rgba(28, 34, 48, 0.16);
  transform: rotate(-6deg);
}

.atlas-ticket b { font-size: 2.3rem; }
.atlas-ticket small { border-top: 1px solid; padding-top: 12px; }

.atlas-routes {
  padding: 6vw 3vw;
  border: 1px solid #1c2230;
  border-top: 0;
}

.atlas-routes > div {
  display: flex;
  gap: 8px;
}

.atlas-routes button {
  padding: 10px 18px;
  border: 1px solid #1c2230;
  border-radius: 999px;
  background: transparent;
  cursor: pointer;
}

.atlas-routes button.is-active { color: #ffd84a; background: #1c2230; }
.atlas-routes article { grid-template-columns: 1fr 1fr auto; gap: 30px; align-items: end; margin-top: 36px; padding-top: 26px; border-top: 1px solid; }
.atlas-routes article.is-active { display: grid; }
.atlas-routes article b { font-size: clamp(2.6rem, 7vw, 7rem); letter-spacing: -0.05em; }
.atlas-routes article em { font-style: normal; font-size: 2rem; }

/* Bright Minds — primary colour playroom */
.showcase-bright-minds body {
  color: #132556;
  font-family: "Trebuchet MS", Arial, sans-serif;
  background: #2d66f6;
}

.bright-shell { min-height: 100vh; padding: 14px; }
.bright-nav { display: flex; align-items: center; justify-content: space-between; padding: 17px 20px; border: 2px solid #132556; background: #ffd84a; }
.bright-nav strong { font-size: 1.2rem; letter-spacing: -0.04em; }
.bright-nav > div { display: flex; gap: 14px; align-items: center; font-size: 0.78rem; font-weight: 800; }
.bright-nav button { padding: 10px 15px; border: 2px solid #132556; border-radius: 999px; color: #fff; background: #f04f36; cursor: pointer; }
.bright-hero { display: grid; grid-template-columns: 1fr 0.75fr; min-height: 790px; border: 2px solid #132556; border-top: 0; background: #7fdff2; }
.bright-heading { display: flex; flex-direction: column; justify-content: space-between; padding: 48px 28px 34px; border-right: 2px solid #132556; }
.bright-heading h1 { margin: 0; font-size: clamp(5rem, 11vw, 12rem); font-weight: 900; letter-spacing: -0.08em; line-height: 0.75; }
.bright-heading p { max-width: 400px; margin: 30px 0 0; font-size: 1.2rem; font-weight: 700; line-height: 1.45; }
.bright-blocks { position: relative; display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 12px; padding: 24px; background: #f04f36; }
.bright-blocks span { display: grid; place-items: center; border: 2px solid #132556; border-radius: 22px; font-size: clamp(4rem, 9vw, 9rem); font-weight: 900; box-shadow: 9px 11px 0 rgba(19, 37, 86, 0.18); }
.bright-blocks span:nth-child(1) { background: #ffd84a; transform: rotate(-4deg); }
.bright-blocks span:nth-child(2) { color: #fff; background: #2d66f6; transform: rotate(3deg); }
.bright-blocks span:nth-child(3) { background: #97eb66; transform: rotate(2deg); }
.bright-blocks span:nth-child(4) { background: #ff9ecc; transform: rotate(-2deg); }
.bright-blocks i { position: absolute; top: 48%; left: 46%; width: 50px; height: 50px; border: 2px solid; border-radius: 50%; background: #fff; }
.bright-question { grid-column: 1 / -1; display: flex; gap: 30px; align-items: center; padding: 22px 28px; border-top: 2px solid #132556; background: #ff9ecc; }
.bright-question b { font-size: 0.75rem; text-transform: uppercase; }
.bright-question p { margin: 0; font-size: 1.5rem; font-weight: 800; }
.bright-word { padding: 8vw 4vw; border: 2px solid #132556; border-top: 0; background: #ffd84a; }
.bright-word h2 { margin: 0 0 36px; font-size: clamp(3rem, 7vw, 7rem); letter-spacing: -0.06em; }
.bright-letters { display: flex; flex-wrap: wrap; gap: 8px; }
.bright-letters span { display: grid; width: clamp(48px, 8vw, 100px); aspect-ratio: 1; place-items: center; border: 2px solid #132556; border-radius: 14px; font-size: clamp(2rem, 5vw, 5rem); font-weight: 900; background: #fff; }
.bright-word button { margin-top: 28px; padding: 13px 20px; border: 2px solid #132556; border-radius: 999px; color: #fff; background: #2d66f6; cursor: pointer; }

/* Midnight FM — broadcast poster */
.showcase-midnight-fm body { color: #f0e9db; font-family: "Arial Narrow", Arial, sans-serif; background: #121110; }
.radio-shell { min-height: 100vh; padding: 12px; }
.radio-nav { display: grid; grid-template-columns: 1fr 1fr auto; align-items: center; padding: 16px 20px; border: 1px solid #f0e9db; font-size: 0.7rem; letter-spacing: 0.08em; text-transform: uppercase; }
.radio-nav strong { color: #ff4a35; font-size: 1.1rem; }
.radio-nav button { padding: 11px 18px; border: 1px solid #f0e9db; border-radius: 999px; color: #121110; background: #f0e9db; cursor: pointer; }
.radio-nav button[aria-pressed="true"] { color: #f0e9db; background: #ff4a35; }
.radio-hero { position: relative; min-height: 880px; overflow: hidden; border: 1px solid #f0e9db; border-top: 0; background: #121110; }
.radio-frequency { position: absolute; top: 28px; left: 28px; display: flex; align-items: start; color: #ff4a35; font-weight: 900; letter-spacing: -0.08em; }
.radio-frequency span { font-size: clamp(7rem, 17vw, 18rem); line-height: 0.76; }
.radio-frequency b { font-size: clamp(3rem, 8vw, 8rem); line-height: 0.82; }
.radio-frequency small { margin: 7px 0 0 8px; font-size: 1rem; letter-spacing: 0.06em; }
.radio-copy { position: absolute; bottom: 36px; left: 28px; z-index: 2; }
.radio-copy h1 { margin: 0; font-size: clamp(4.8rem, 10.4vw, 11rem); font-weight: 900; letter-spacing: -0.075em; line-height: 0.73; }
.radio-copy p { max-width: 500px; margin: 30px 0 0; color: rgba(240, 233, 219, 0.68); font-family: Georgia, serif; line-height: 1.5; }
.radio-wave { position: absolute; top: 28%; right: -3%; display: flex; gap: 5px; align-items: center; width: 58%; height: 260px; opacity: 0.8; transform: rotate(-10deg); }
.radio-wave i { flex: 1; height: var(--h); max-height: 240px; background: #ff4a35; animation: radio-wave 900ms ease-in-out infinite alternate; animation-delay: calc(var(--i) * -31ms); animation-play-state: paused; }
.radio-shell.is-playing .radio-wave i { animation-play-state: running; }
.radio-hero aside { position: absolute; top: 44%; right: 4%; z-index: 3; display: grid; gap: 7px; width: 260px; padding: 20px; color: #121110; background: #f0e9db; transform: rotate(5deg); }
.radio-hero aside span { font-size: 0.58rem; }
.radio-hero aside b { font-size: 1.9rem; }
.radio-schedule { padding: 7vw 3vw; color: #121110; background: #ff4a35; }
.radio-schedule h2 { margin: 0 0 50px; font-size: clamp(3.5rem, 8vw, 8rem); letter-spacing: -0.06em; }
.radio-schedule > div { display: grid; grid-template-columns: 120px 1fr 1fr; gap: 20px; padding: 18px 0; border-top: 1px solid; }
.radio-schedule em { font-family: Georgia, serif; }
@keyframes radio-wave { to { transform: scaleY(0.32); } }

/* Pixel games — shared crisp rendering */
.pixel-shell { min-height: 100vh; font-family: "Courier New", monospace; image-rendering: pixelated; }
.pixel-nav { display: grid; grid-template-columns: 1fr 1fr auto; align-items: center; padding: 15px 18px; border-bottom: 4px solid currentColor; font-size: 0.72rem; font-weight: 900; }
.pixel-nav a { padding: 10px 14px; border: 3px solid currentColor; }
.pixel-game-frame canvas,
.drift-game canvas { display: block; width: 100%; height: auto; image-rendering: pixelated; }

.showcase-pixel-quest body { color: #dffcff; background: #25164c; }
.quest-shell { padding: 14px; background: #25164c; }
.quest-hero { display: grid; grid-template-columns: 1fr auto; gap: 40px; min-height: 470px; padding: 55px 26px 28px; border-bottom: 4px solid #8cf5ff; background: repeating-linear-gradient(135deg, #25164c 0 16px, #2c1d5d 16px 32px); }
.quest-hero h1 { margin: 0; color: #fff0a2; font-size: clamp(4rem, 9vw, 9rem); line-height: 0.82; text-shadow: 6px 6px 0 #8c43db; }
.quest-hero p { max-width: 520px; margin-top: 28px; color: #8cf5ff; font-weight: 700; }
.quest-stats { display: grid; align-content: start; gap: 10px; min-width: 160px; padding: 18px; border: 4px solid #8cf5ff; color: #8cf5ff; background: #140b2f; }
.quest-stats span { display: flex; justify-content: space-between; }
.pixel-game-frame { display: grid; grid-template-columns: minmax(0, 1fr) 190px; gap: 14px; padding: 14px 0 0; }
.pixel-game-frame canvas { border: 4px solid #8cf5ff; background: #130b2d; }
.pixel-controls { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; align-content: start; }
.pixel-controls button { min-height: 58px; border: 3px solid #8cf5ff; color: #dffcff; background: #43277e; cursor: pointer; }
.pixel-controls button:active { transform: translateY(3px); }
.pixel-controls .pixel-start { grid-column: 1 / -1; color: #25164c; background: #fff0a2; }

.showcase-byte-garden body { color: #243d29; background: #94d45b; }
.garden-shell { padding: 14px; background: #94d45b; }
.garden-hero { display: grid; grid-template-columns: 1fr 260px; gap: 40px; min-height: 520px; padding: 58px 30px 30px; border-bottom: 4px solid #243d29; background: #65b9e8; }
.garden-hero h1 { margin: 0; color: #fff2a8; font-size: clamp(4.5rem, 10vw, 10rem); line-height: 0.78; text-shadow: 6px 6px 0 #397d47; }
.garden-hero p { max-width: 560px; font-weight: 900; line-height: 1.5; }
.garden-hero aside { display: grid; align-content: center; gap: 8px; align-self: center; padding: 25px; border: 4px solid #243d29; background: #ffdc65; box-shadow: 10px 12px 0 rgba(36, 61, 41, 0.24); }
.garden-hero aside b { font-size: 5rem; line-height: 1; }
.garden-board { display: grid; grid-template-columns: minmax(0, 1fr) 270px; gap: 18px; padding-top: 18px; }
.garden-plots { display: grid; grid-template-columns: repeat(6, 1fr); gap: 5px; padding: 12px; border: 4px solid #243d29; background: #d5a55f; }
.garden-plots button { position: relative; aspect-ratio: 1; border: 3px solid #5e3825; background: #7e4a2f; cursor: pointer; }
.garden-plots button span { position: absolute; inset: 28%; background: transparent; }
.garden-plots button[data-stage="1"] span { background: #ffdc65; box-shadow: -7px 7px 0 #397d47, 7px 7px 0 #397d47; }
.garden-plots button[data-stage="2"] span { inset: 18% 32%; background: #fff2a8; box-shadow: -10px -4px 0 #e95560, 10px -4px 0 #e95560, 0 10px 0 #397d47; }
.garden-plots button[data-stage="3"] span { inset: 12% 24%; background: #e95560; box-shadow: -12px 6px 0 #ffdc65, 12px 6px 0 #ffdc65, 0 16px 0 #397d47; }
.garden-notes { padding: 24px; border: 4px solid #243d29; background: #fff2a8; }
.garden-notes b { font-size: 1.1rem; }
.garden-notes p { min-height: 120px; line-height: 1.5; }
.garden-notes button { width: 100%; padding: 12px; border: 3px solid #243d29; color: #fff2a8; background: #397d47; cursor: pointer; }

.showcase-neon-drift body { color: #d8f6ff; background: #071329; }
.drift-shell { padding: 14px; background: #071329; }
.drift-hero { display: grid; grid-template-columns: 1fr auto; gap: 40px; min-height: 500px; padding: 52px 28px 32px; border-bottom: 4px solid #ff3bd4; background: linear-gradient(155deg, #172d5e 0 42%, #071329 42%); }
.drift-hero h1 { margin: 0; color: #fff; font-size: clamp(4.8rem, 10vw, 10rem); line-height: 0.76; text-shadow: 7px 7px 0 #ff3bd4; }
.drift-hero p { max-width: 560px; color: #7cf6ff; font-weight: 900; }
.drift-record { display: grid; align-content: center; align-self: center; padding: 22px; border: 4px solid #7cf6ff; transform: skewY(-4deg); }
.drift-record b { color: #ffdf4d; font-size: 2.4rem; }
.drift-game { padding-top: 14px; }
.drift-game canvas { border: 4px solid #ff3bd4; background: #040914; }
.drift-hud { display: grid; grid-template-columns: 1fr auto auto auto; gap: 8px; align-items: center; padding: 12px; color: #071329; background: #7cf6ff; }
.drift-hud button { padding: 10px 14px; border: 3px solid #071329; background: #ffdf4d; cursor: pointer; }

/* Civic Yard — modular floor plan */
.showcase-civic-yard body { color: #26263a; font-family: Arial, Helvetica, sans-serif; background: #afa8ff; }
.civic-shell { min-height: 100vh; padding: 14px; }
.civic-nav { display: grid; grid-template-columns: 1fr 1fr auto; align-items: center; padding: 17px 20px; border: 1px solid #26263a; font-size: 0.7rem; letter-spacing: 0.08em; }
.civic-nav strong { font-size: 1.15rem; letter-spacing: -0.04em; }
.civic-nav button { padding: 11px 17px; border: 1px solid #26263a; border-radius: 999px; background: #dfff69; cursor: pointer; }
.civic-hero { display: grid; grid-template-columns: 0.92fr 1.08fr; min-height: 820px; border: 1px solid #26263a; border-top: 0; }
.civic-copy { display: flex; flex-direction: column; justify-content: space-between; padding: 54px 28px 32px; border-right: 1px solid #26263a; }
.civic-copy h1 { margin: 0; font-size: clamp(4.2rem, 8.3vw, 8.5rem); font-weight: 750; letter-spacing: -0.065em; line-height: 0.8; }
.civic-copy p { max-width: 470px; font-family: Georgia, serif; font-size: 1.12rem; line-height: 1.55; }
.civic-plan { display: grid; grid-template-columns: 1fr 1.15fr 0.85fr; grid-template-rows: 1fr 0.85fr 1.15fr; gap: 8px; padding: 22px; background: #5c626c; }
.civic-plan span { display: grid; place-items: center; border: 1px solid #26263a; font-size: 0.63rem; font-weight: 900; letter-spacing: 0.08em; background: #f0eedf; }
.civic-plan .room-a { grid-row: span 2; background: #ff8b68; }
.civic-plan .room-b { grid-column: span 2; background: #dfff69; }
.civic-plan .room-c { grid-column: span 2; background: #7ed6e4; }
.civic-plan .room-d { background: #ffd85d; }
.civic-plan .room-e { grid-column: span 2; background: #f0eedf; }
.civic-levels { display: grid; grid-template-columns: 0.55fr 1.45fr; gap: 8vw; padding: 7vw 3vw; border: 1px solid #26263a; border-top: 0; }
.civic-levels > div { display: flex; flex-direction: column; gap: 8px; }
.civic-levels button { padding: 14px; border: 1px solid #26263a; text-align: left; background: transparent; cursor: pointer; }
.civic-levels button.is-active { background: #dfff69; }
.civic-levels article b { font-size: clamp(3rem, 7vw, 7rem); letter-spacing: -0.06em; }
.civic-levels article p { max-width: 570px; font-family: Georgia, serif; font-size: 1.15rem; line-height: 1.55; }
.civic-levels article span { display: block; margin-top: 38px; padding-top: 18px; border-top: 1px solid; font-size: 0.7rem; letter-spacing: 0.1em; }

@media (max-width: 760px) {
  .orbit-grid > *,
  .civic-hero > * {
    min-width: 0;
  }
  .solace-nav > div a,
  .orbit-nav > span,
  .atlas-nav > span,
  .radio-nav > span,
  .pixel-nav > span,
  .civic-nav > span,
  .bright-nav a { display: none; }
  .solace-hero,
  .terra-hero,
  .orbit-grid,
  .atlas-hero,
  .bright-hero,
  .civic-hero { grid-template-columns: 1fr; }
  .solace-copy h1,
  .terra-title h1,
  .atlas-copy h1,
  .bright-heading h1,
  .radio-copy h1,
  .quest-hero h1,
  .garden-hero h1,
  .drift-hero h1,
  .civic-copy h1 { font-size: clamp(3.8rem, 18vw, 7rem); }
  .solace-diagram { min-height: 560px; }
  .solace-strip { grid-template-columns: 1fr 1fr; }
  .solace-team { grid-template-columns: 1fr; }
  .terra-plate { position: absolute; right: -28%; bottom: 8%; width: 86vw; opacity: 0.72; }
  .terra-title { min-height: 780px; }
  .terra-menu-head { align-items: start; flex-direction: column; }
  .terra-menu-panel.is-active { grid-template-columns: 1fr; }
  .orbit-intro { min-height: 720px; border-right: 0; }
  .orbit-console { margin: 14px 0; }
  .orbit-services { grid-template-columns: 1fr; }
  .orbit-services article + article { border-top: 1px solid rgba(220, 233, 215, 0.32); border-left: 0; }
  .atlas-map { position: absolute; inset: 30% -18% 8% 28%; opacity: 0.55; }
  .atlas-copy { min-height: 800px; }
  .atlas-routes article.is-active { grid-template-columns: 1fr; }
  .bright-heading { min-height: 720px; border-right: 0; }
  .bright-blocks { min-height: 620px; border-top: 2px solid; }
  .radio-frequency { opacity: 0.55; }
  .radio-wave { top: 34%; width: 90%; }
  .radio-hero aside { top: 43%; }
  .radio-schedule > div { grid-template-columns: 70px 1fr; }
  .radio-schedule em { grid-column: 2; }
  .quest-hero,
  .garden-hero,
  .drift-hero { grid-template-columns: 1fr; }
  .quest-stats,
  .garden-hero aside,
  .drift-record { width: min(100%, 280px); }
  .pixel-game-frame,
  .garden-board { grid-template-columns: 1fr; }
  .garden-plots { grid-template-columns: repeat(4, 1fr); }
  .drift-hud { grid-template-columns: 1fr 1fr 1fr; }
  .drift-hud > span { grid-column: 1 / -1; }
  .civic-plan { min-height: 640px; }
  .civic-copy h1 { font-size: clamp(1.4rem, 7vw, 3.2rem); }
  .civic-plan span { min-width: 0; overflow-wrap: anywhere; }
  .civic-levels { grid-template-columns: 1fr; }
}

@media (max-width: 400px) {
  .solace-strip span { padding-inline: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .solace-diagram i,
  .radio-wave i { animation: none !important; }
  *, *::before, *::after { transition-duration: 1ms !important; }
}
