@charset "UTF-8";
:root {
  --edge: clamp(1rem, 2.7vw, 2.8rem);
  --drawer-width: min(22rem, 86vw);
  --drawer-shift: 0px;
  --scrim-opacity: 0;
}

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

html {
  color-scheme: dark;
}

body {
  margin: 0;
  min-width: 20rem;
  height: 100svh;
  overflow: hidden;
  color: #fff8ff;
  background: #07000d;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

button, a {
  font: inherit;
}

a {
  color: inherit;
}

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

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

.skip-link {
  position: fixed;
  z-index: 100;
  left: 1rem;
  top: 1rem;
  padding: 0.75rem 1rem;
  color: #111;
  background: #fff;
  transform: translateY(-200%);
}

.skip-link:focus {
  transform: translateY(0);
}

*:focus-visible {
  outline: 2px solid #9cb0ff;
  outline-offset: 4px;
}

.site-background {
  position: fixed;
  inset: 0;
  z-index: -2;
  background: #160022 url("../images/site-background.webp") center/cover no-repeat;
}

.site-background::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(7, 0, 15, 0.05), rgba(7, 0, 15, 0.16) 56%, rgba(60, 0, 10, 0.06));
}

.app-shell {
  height: 100svh;
  margin-inline: var(--edge);
  margin-left: calc(var(--edge) + var(--drawer-shift));
  transition: margin-left 0.36s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.brand {
  height: clamp(8.1rem, 14svh, 10.7rem);
  display: grid;
  place-content: center;
  text-align: center;
  padding-top: 0.4rem;
}

.brand__title {
  color: white;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: clamp(2rem, 4.6vw, 4.25rem);
  font-weight: 900;
  line-height: 0.95;
  text-shadow: 0 0 2rem rgba(160, 58, 255, 0.42);
}

.brand__title span {
  color: #f4dfff;
  font-weight: 600;
}

.brand p {
  margin: 0.75rem 0 0;
  color: #f0e4f7;
  font-weight: 700;
  font-size: clamp(0.72rem, 1.2vw, 1rem);
}

.brand p i::after {
  content: "·";
  margin-inline: 0.55em;
  color: #df56ff;
  font-style: normal;
}

.content-panel {
  height: calc(100svh - clamp(8.1rem, 14svh, 10.7rem) - var(--edge));
  overflow-x: hidden;
  overflow-y: auto;
  padding: clamp(1.45rem, 3.8vw, 3.5rem);
  border: 1px solid rgba(195, 92, 255, 0.34);
  border-radius: 1rem 1rem 0 0;
  background: rgba(6, 0, 14, 0.82);
  box-shadow: 0 1.4rem 6rem rgba(0, 0, 0, 0.46), inset 0 1px rgba(255, 255, 255, 0.035);
  backdrop-filter: blur(8px);
  scrollbar-color: rgba(172, 77, 236, 0.75) rgba(255, 255, 255, 0.05);
  scrollbar-width: thin;
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.content-panel::-webkit-scrollbar {
  width: 0.48rem;
}

.content-panel::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.04);
}

.content-panel::-webkit-scrollbar-thumb {
  border-radius: 2rem;
  background: rgba(172, 77, 236, 0.7);
}

.content-panel.htmx-swapping, .content-panel.is-leaving {
  opacity: 0;
  transform: translateY(0.6rem);
}

.content-panel.is-entering {
  opacity: 0;
  transform: translateY(0.7rem);
}

::view-transition-old(content-panel) {
  animation: content-out 0.18s ease both;
}

::view-transition-new(content-panel) {
  animation: content-in 0.25s ease both;
}

#content {
  view-transition-name: content-panel;
}

@keyframes content-out {
  to {
    opacity: 0;
    transform: translateY(-0.5rem);
  }
}
@keyframes content-in {
  from {
    opacity: 0;
    transform: translateY(0.7rem);
  }
}
.static-logo, .logo-stage {
  position: relative;
  width: min(54rem, 100%);
  height: clamp(16rem, 32vw, 29rem);
  display: grid;
  place-items: center;
}

.static-logo::before, .logo-stage::before {
  content: "";
  position: absolute;
  width: 72%;
  aspect-ratio: 1.8;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(89, 72, 255, 0.38), rgba(138, 37, 223, 0.16) 45%, transparent 72%);
  filter: blur(20px);
  animation: logo-breathe 4s ease-in-out infinite;
}

.static-logo img {
  position: relative;
  width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 0 1.2rem rgba(114, 82, 255, 0.68));
}

.logo-stage {
  perspective: 900px;
  cursor: grab;
  touch-action: none;
  user-select: none;
}

.logo-stage.is-dragging {
  cursor: grabbing;
}

.logo3d {
  position: relative;
  width: 100%;
  height: 65%;
  transform-style: preserve-3d;
  will-change: transform;
}

.logo3d__layer {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  transform: translateZ(var(--depth));
  color: #201345;
  font: 1000 clamp(7rem, 17vw, 14rem)/1 Arial Black, Impact, sans-serif;
  letter-spacing: -0.13em;
  -webkit-text-stroke: 1px rgba(107, 65, 214, 0.48);
}

.logo3d__layer--face {
  color: transparent;
  background: linear-gradient(145deg, #f4f1ff 2%, #85eeff 20%, #6372ff 42%, #bd4cff 64%, #ff48aa 88%);
  -webkit-background-clip: text;
  background-clip: text;
  filter: drop-shadow(0 0 0.25rem #5ee8ff) drop-shadow(0 0 1.2rem rgba(105, 70, 255, 0.92)) drop-shadow(0 0 2.7rem rgba(239, 38, 167, 0.55));
  -webkit-text-stroke: 1px rgba(232, 243, 255, 0.85);
}

.logo-hint {
  position: absolute;
  bottom: 1%;
  margin: 0;
  color: #a996bb;
  font-size: 0.66rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

@keyframes logo-breathe {
  50% {
    transform: scale(1.08);
    opacity: 0.78;
  }
}
.intro-hero {
  min-height: min(41rem, 70svh);
  display: grid;
  align-content: start;
  border-bottom: 1px solid rgba(195, 92, 255, 0.34);
}

.intro-hero__heading {
  position: relative;
  z-index: 2;
  text-align: center;
}

.intro-hero__heading h1 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.5rem);
  letter-spacing: 0.055em;
  line-height: 1;
}

.intro-hero__heading p {
  margin: 0.75rem 0 0;
  font-size: clamp(0.85rem, 1.4vw, 1.1rem);
  font-weight: 700;
  letter-spacing: 0.07em;
}

.logo-composition {
  display: grid;
  grid-template-columns: 9rem minmax(20rem, 1fr) 9rem;
  align-items: center;
  gap: 1.2rem;
  width: min(76rem, 100%);
  margin: -0.2rem auto 0;
}

.mantra {
  color: #d78bff;
  font-size: 0.78rem;
  line-height: 1.65;
  letter-spacing: 0.19em;
  text-transform: uppercase;
}

.mantra span {
  display: block;
  width: 1.6rem;
  height: 2px;
  margin-top: 0.9rem;
  background: #b933ff;
  box-shadow: 0 0 0.7rem #8734ff;
}

.mantra--right {
  justify-self: end;
}

.home-section {
  padding: 1.3rem 1rem;
  border-bottom: 1px solid rgba(195, 92, 255, 0.34);
}

.home-section h2, .screenshot-section h2 {
  margin: 0 0 1.1rem;
  font-size: clamp(1.2rem, 2vw, 1.65rem);
  letter-spacing: 0.045em;
  text-transform: uppercase;
}

.home-section h2 span, .screenshot-section h2 span {
  margin-right: 0.65rem;
  color: #c129ff;
  font-style: italic;
  text-shadow: 0 0 0.8rem rgba(116, 44, 255, 0.7);
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(13rem, 0.7fr) minmax(0, 1.8fr);
  gap: 2.5rem;
}

.about-grid p {
  max-width: 52rem;
  margin: 0;
  color: #f3e9f7;
  line-height: 1.55;
}

.about-grid .muted {
  margin-top: 0.75rem;
  color: #a99bae;
}

.discipline-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.discipline-grid article {
  min-height: 6.5rem;
  display: flex;
  align-items: center;
  gap: 1.2rem;
  padding: 1rem 1.25rem;
  border: 1px solid rgba(157, 73, 216, 0.58);
  border-radius: 0.45rem;
  background: rgba(15, 4, 26, 0.64);
}

.discipline-grid b {
  min-width: 3.5rem;
  color: #ce64ff;
  font: 800 2.2rem/1 ui-sans-serif, system-ui, sans-serif;
  text-align: center;
  text-shadow: 0 0 1rem rgba(118, 67, 255, 0.8);
}

.discipline-grid strong {
  text-transform: uppercase;
}

.discipline-grid p {
  margin: 0.45rem 0 0;
  color: #bcaebe;
  font-size: 0.76rem;
  line-height: 1.45;
}

.section-title-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
}

.section-title-row a {
  color: #dc50ff;
  font-size: 0.78rem;
  text-underline-offset: 0.3rem;
}

.current-projects {
  padding-bottom: 4rem;
}

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

.project-card {
  position: relative;
  min-height: 12rem;
  display: flex;
  align-items: end;
  overflow: hidden;
  isolation: isolate;
  border: 1px solid rgba(169, 82, 231, 0.55);
  border-radius: 0.55rem;
  color: white;
  text-decoration: none;
  background: var(--project-image) center/cover no-repeat;
}

.project-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background: inherit;
  transition: transform 0.55s cubic-bezier(0.2, 0.8, 0.2, 1), filter 0.55s;
}

.project-card__shade {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, transparent 15%, rgba(5, 0, 12, 0.2) 43%, rgba(5, 0, 12, 0.94));
}

.project-card__copy {
  display: grid;
  gap: 0.3rem;
  padding: 1.15rem;
}

.project-card__copy strong {
  font-size: 1rem;
}

.project-card__copy small {
  color: #c8b9ce;
}

.project-card__arrow {
  position: absolute;
  top: 0.8rem;
  right: 0.9rem;
  font-size: 1.25rem;
  text-shadow: 0 0 0.8rem #8e67ff;
  transition: transform 0.25s;
}

.project-card:hover::before, .project-card:focus-visible::before {
  transform: scale(1.055);
  filter: saturate(1.16) brightness(1.05);
}

.project-card:hover .project-card__arrow {
  transform: translate(0.15rem, -0.15rem);
}

.project-grid--compact .project-card {
  min-height: 10rem;
}

.content-panel--page .project-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.content-panel--page .project-card {
  min-height: 20rem;
}

.gemfall-detail {
  display: grid;
  gap: 2rem;
}

.gemfall-detail__header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 2rem;
}

.gemfall-detail__header h1 {
  margin: 0.2rem 0 0.6rem;
  font-size: clamp(2.8rem, 8vw, 6.5rem);
  line-height: 0.85;
  letter-spacing: -0.06em;
  text-transform: uppercase;
}

.gemfall-detail__lead {
  max-width: 43rem;
  margin: 0;
  color: #d4c8dd;
  font-size: clamp(1rem, 2vw, 1.25rem);
  line-height: 1.6;
}

.gemfall-detail__hero {
  position: relative;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(142, 103, 255, 0.65);
  border-radius: 0.75rem;
  background: rgba(8, 4, 20, 0.82);
  box-shadow: 0 0 2.5rem rgba(65, 36, 170, 0.22);
}

.gemfall-detail__hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  box-shadow: inset 0 0 4rem rgba(5, 0, 15, 0.45);
}

.gemfall-detail__hero img {
  display: block;
  width: 100%;
  max-height: 47rem;
  object-fit: contain;
}

.gemfall-detail__hero figcaption {
  position: absolute;
  right: 0.8rem;
  bottom: 0.7rem;
  z-index: 1;
  padding: 0.45rem 0.65rem;
  color: #d6cbe2;
  font-size: 0.72rem;
  background: rgba(5, 0, 14, 0.78);
  border: 1px solid rgba(142, 103, 255, 0.32);
  border-radius: 0.3rem;
}

.gemfall-detail__story {
  display: grid;
  grid-template-columns: minmax(13rem, 0.7fr) minmax(0, 1.3fr);
  gap: 2rem;
  padding: 1.8rem 0;
  border-block: 1px solid rgba(169, 82, 231, 0.35);
}

.gemfall-detail__story h2 {
  margin: 0.4rem 0 0;
  font-size: clamp(1.5rem, 3vw, 2.4rem);
  line-height: 1.08;
}

.gemfall-detail__copy {
  display: grid;
  gap: 1rem;
}

.gemfall-detail__copy p {
  margin: 0;
  color: #d4c8dd;
  line-height: 1.75;
}

.gemfall-features {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.gemfall-features div {
  display: grid;
  gap: 0.45rem;
  min-height: 10rem;
  padding: 1.25rem;
  border: 1px solid rgba(142, 103, 255, 0.38);
  border-radius: 0.55rem;
  background: linear-gradient(145deg, rgba(27, 14, 52, 0.72), rgba(7, 3, 18, 0.84));
}

.gemfall-features span {
  color: #9b7bff;
  font-size: 0.72rem;
  letter-spacing: 0.15em;
}

.gemfall-features strong {
  margin-top: auto;
  font-size: 1.05rem;
}

.gemfall-features small {
  color: #bdaec8;
  line-height: 1.5;
}

@media (max-width: 700px) {
  .gemfall-detail__header {
    align-items: start;
    flex-direction: column;
  }
  .gemfall-detail__story {
    grid-template-columns: 1fr;
  }
  .gemfall-features {
    grid-template-columns: 1fr;
  }
  .gemfall-detail__hero figcaption {
    position: static;
    display: block;
  }
}
.content-panel--page {
  padding: clamp(2rem, 5vw, 5rem);
}

.page-heading {
  margin-bottom: clamp(2.5rem, 6vw, 5rem);
}

.page-heading > p, .kicker {
  color: #cf5fff;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.page-heading h1, .simple-page h1, .project-detail h1, .amiga-page h1 {
  margin: 0.6rem 0 1rem;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: clamp(2.8rem, 7vw, 7rem);
  line-height: 0.88;
  letter-spacing: -0.055em;
}

.page-heading > span {
  display: block;
  max-width: 46rem;
  color: #c6b7d1;
  font-size: 1rem;
  line-height: 1.65;
}

.back-link {
  display: inline-block;
  margin-bottom: 1.5rem;
  color: #cf73ff;
  text-underline-offset: 0.3rem;
}

.project-detail {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(20rem, 0.8fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
  min-height: 75%;
}

.project-detail__image {
  min-height: clamp(24rem, 48vw, 44rem);
  border: 1px solid rgba(195, 92, 255, 0.34);
  border-radius: 0.8rem;
  background: linear-gradient(180deg, transparent, rgba(5, 0, 12, 0.35)), var(--detail-image) center/cover no-repeat;
  box-shadow: 0 1.5rem 5rem rgba(0, 0, 0, 0.4);
}

.project-detail__copy > p:not(.kicker) {
  color: #d0c1d7;
  font-size: 1rem;
  line-height: 1.8;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin: 1.5rem 0 2rem;
}

.tag-row span {
  padding: 0.5rem 0.7rem;
  border: 1px solid rgba(159, 89, 223, 0.5);
  color: #dcc8e6;
  font-size: 0.7rem;
  text-transform: uppercase;
}

.action-link {
  display: inline-flex;
  padding: 0.9rem 1.1rem;
  border: 1px solid #6e73ff;
  color: #e5e8ff;
  background: rgba(30, 35, 100, 0.55);
  text-decoration: none;
  box-shadow: 0 0 1.2rem rgba(60, 70, 255, 0.2);
}

.simple-page {
  max-width: 72rem;
  padding: clamp(1rem, 5vw, 5rem);
}

.simple-page__intro {
  max-width: 50rem;
  color: #e9dcef;
  font-size: clamp(1.1rem, 2vw, 1.45rem);
  line-height: 1.65;
}

.simple-page__body {
  max-width: 48rem;
  margin-top: 3rem;
  color: #c6b7d1;
  line-height: 1.8;
}

.amiga-page__hero {
  min-height: clamp(28rem, 55vw, 47rem);
  display: flex;
  align-items: end;
  padding: clamp(2rem, 5vw, 5rem);
  border: 1px solid rgba(195, 92, 255, 0.34);
  background: linear-gradient(180deg, rgba(5, 0, 12, 0.08), rgba(5, 0, 12, 0.94)), var(--detail-image) center/cover no-repeat;
}

.amiga-page__hero p:last-child {
  max-width: 42rem;
  color: #d8cadf;
  font-size: 1.1rem;
}

.prose-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(2rem, 6vw, 7rem);
  padding: clamp(3rem, 7vw, 7rem) 1rem;
}

.prose-grid h2 {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: clamp(2rem, 4vw, 4.4rem);
  line-height: 1;
  letter-spacing: -0.045em;
}

.prose-grid p {
  margin-top: 0;
  color: #cbbdce;
  line-height: 1.8;
}

.screenshot-section {
  padding-block: 2rem 5rem;
}

.screenshot-section > p {
  color: #c6b7d1;
}

.screenshot-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.4rem;
}

.screenshot-slot {
  margin: 0;
}

.screenshot-slot div {
  aspect-ratio: 16/10;
  display: grid;
  place-items: center;
  padding: 1rem;
  border: 1px dashed rgba(135, 116, 255, 0.7);
  border-radius: 0.5rem;
  color: #9ca8ff;
  background: repeating-linear-gradient(135deg, rgba(25, 28, 80, 0.3) 0 12px, rgba(17, 5, 31, 0.3) 12px 24px);
  text-align: center;
}

.screenshot-slot figcaption {
  margin-top: 0.7rem;
  color: #aa9daf;
  font-size: 0.72rem;
}

.amiga-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  padding-bottom: 4rem;
}

.amiga-facts article {
  display: grid;
  gap: 0.65rem;
  padding: 1.4rem;
  border: 1px solid rgba(195, 92, 255, 0.34);
  background: rgba(12, 3, 23, 0.62);
}

.amiga-facts span {
  color: #c6b7d1;
  font-size: 0.78rem;
  line-height: 1.55;
}

.drawer {
  position: fixed;
  inset: 0 auto 0 0;
  z-index: 30;
  width: var(--drawer-width);
  transform: translate3d(-100%, 0, 0);
  border-right: 1px solid rgba(104, 116, 255, 0.34);
  background: rgba(4, 2, 18, 0.975);
  box-shadow: 1.5rem 0 5rem rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(20px);
}

.drawer.is-animating, .drawer-handle.is-animating, .app-shell.is-animating, .drawer-scrim.is-animating {
  transition: transform 0.36s cubic-bezier(0.2, 0.8, 0.2, 1), margin-left 0.36s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.36s;
}

.drawer__inner {
  min-height: 100%;
  display: flex;
  flex-direction: column;
  padding: clamp(2rem, 5vw, 4rem) clamp(1.5rem, 3vw, 2.5rem);
}

.drawer__label {
  margin: 0 0 2.6rem;
  color: #9ba6ff;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.23em;
  text-transform: uppercase;
}

.drawer nav {
  display: grid;
}

.drawer nav a {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: baseline;
  gap: 1rem;
  min-height: 4.2rem;
  padding: 0.72rem 0.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.075);
  color: #ece8f2;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: clamp(1.5rem, 3vw, 2.35rem);
  font-weight: 760;
  letter-spacing: -0.035em;
  text-decoration: none;
}

.drawer nav a::before {
  content: "";
  position: absolute;
  inset: 0.28rem 0;
  z-index: -1;
  border-radius: 0.38rem;
  background: linear-gradient(90deg, rgba(17, 26, 95, 0.82), rgba(50, 49, 135, 0.32) 68%, transparent);
  opacity: 0;
  box-shadow: inset 0 0 1.2rem rgba(83, 109, 255, 0.2), 0 0 1rem rgba(52, 73, 220, 0.12);
}

.drawer nav a span {
  width: 1.4rem;
  flex: 0 0 1.4rem;
  color: #5966bd;
  font: 800 0.64rem/1 ui-monospace, monospace;
  letter-spacing: 0.1em;
  transition: color 0.2s, text-shadow 0.2s;
}

.drawer nav a:hover, .drawer nav a:focus-visible {
  color: #dce2ff;
  text-shadow: 0 0 0.35rem rgba(130, 148, 255, 0.8), 0 0 1rem rgba(66, 88, 255, 0.65);
}

.drawer nav a:hover::before, .drawer nav a:focus-visible::before {
  opacity: 1;
  animation: menu-neon-pulse 1.35s ease-in-out infinite;
}

.drawer nav a:hover span, .drawer nav a:focus-visible span {
  color: #9aabff;
  text-shadow: 0 0 0.7rem #536dff;
}

.drawer nav a.is-active {
  color: #bfcaff;
  text-shadow: 0 0 0.45rem rgba(110, 130, 255, 0.7);
}

.drawer nav a.is-active::before {
  opacity: 0.92;
  background: linear-gradient(90deg, rgba(17, 26, 95, 0.96), rgba(45, 48, 128, 0.48) 72%, transparent);
  box-shadow: inset 0 0 1.4rem rgba(83, 109, 255, 0.28), 0 0 1.2rem rgba(42, 60, 205, 0.22);
}

.drawer nav a.is-active span {
  color: #879aff;
  text-shadow: 0 0 0.7rem #536dff;
}

.drawer__versions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.55rem;
  margin-top: auto;
}

.drawer__versions p {
  grid-column: 1/-1;
  margin: 0 0 0.2rem;
  color: #6e78b5;
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.drawer__versions a {
  padding: 0.65rem;
  border: 1px solid rgba(91, 107, 218, 0.35);
  color: #b8bfe8;
  font-size: 0.68rem;
  text-align: center;
  text-decoration: none;
}

.drawer__versions a:hover {
  border-color: #6b7cff;
  box-shadow: 0 0 1rem rgba(67, 87, 255, 0.25);
}

.drawer-handle {
  position: fixed;
  z-index: 35;
  left: 0;
  top: 50%;
  width: 2.8rem;
  height: 5.2rem;
  padding: 0;
  transform: translate3d(var(--drawer-shift), -50%, 0);
  border: 1px solid rgba(139, 106, 255, 0.48);
  border-left: 0;
  border-radius: 0 0.75rem 0.75rem 0;
  color: white;
  background: linear-gradient(180deg, rgba(15, 18, 69, 0.98), rgba(31, 18, 91, 0.96));
  box-shadow: 0.5rem 0 1.8rem rgba(54, 52, 198, 0.28), inset 0 1px rgba(255, 255, 255, 0.1);
  cursor: ew-resize;
  touch-action: none;
}

.drawer-handle__grip {
  display: grid;
  gap: 0.38rem;
  place-content: center;
}

.drawer-handle__grip i {
  display: block;
  width: 1.1rem;
  height: 2px;
  border-radius: 1rem;
  background: #dce1ff;
  box-shadow: 0 0 0.55rem #687cff;
  transition: transform 0.3s, width 0.3s;
}

.drawer-is-open .drawer-handle__grip i:nth-child(1) {
  transform: translateY(0.4rem) rotate(45deg);
}

.drawer-is-open .drawer-handle__grip i:nth-child(2) {
  width: 0;
}

.drawer-is-open .drawer-handle__grip i:nth-child(3) {
  transform: translateY(-0.4rem) rotate(-45deg);
}

.drawer-scrim {
  position: fixed;
  inset: 0;
  z-index: 25;
  opacity: var(--scrim-opacity);
  background: #020007;
  pointer-events: none;
}

@keyframes menu-neon-pulse {
  50% {
    opacity: 0.72;
    box-shadow: inset 0 0 1.8rem rgba(83, 109, 255, 0.36), 0 0 1.55rem rgba(61, 79, 235, 0.34);
  }
}
@media (max-width: 72rem) {
  .discipline-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .project-detail {
    grid-template-columns: 1fr;
  }
  .project-detail__image {
    min-height: 32rem;
  }
}
@media (max-width: 52rem) {
  :root {
    --edge: .8rem;
  }
  .brand {
    height: 7.2rem;
  }
  .brand__title {
    font-size: clamp(1.65rem, 7vw, 2.7rem);
  }
  .brand p {
    font-size: 0.62rem;
  }
  .content-panel {
    height: calc(100svh - 7.2rem - var(--edge));
    padding: 1.2rem;
  }
  .app-shell {
    margin-left: var(--edge);
  }
  .logo-composition {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .mantra {
    display: none;
  }
  .static-logo, .logo-stage {
    height: clamp(15rem, 62vw, 24rem);
  }
  .intro-hero {
    min-height: 31rem;
  }
  .about-grid, .prose-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .project-grid, .content-panel--page .project-grid {
    grid-template-columns: 1fr;
  }
  .content-panel--page .project-card {
    min-height: 17rem;
  }
  .screenshot-grid, .amiga-facts {
    grid-template-columns: 1fr;
  }
  .drawer-scrim {
    pointer-events: auto;
    visibility: hidden;
  }
  .drawer-is-open .drawer-scrim {
    visibility: visible;
  }
}
@media (max-width: 35rem) {
  .discipline-grid {
    grid-template-columns: 1fr;
  }
  .discipline-grid article {
    min-height: 5.4rem;
  }
  .home-section {
    padding-inline: 0.25rem;
  }
  .section-title-row {
    align-items: flex-start;
    flex-direction: column;
  }
  .page-heading h1, .simple-page h1, .project-detail h1, .amiga-page h1 {
    font-size: clamp(2.5rem, 15vw, 4.4rem);
  }
  .project-detail__image {
    min-height: 20rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
.contact-page {
  --signal-purple: #a96cff;
  --signal-purple-bright: #c79aff;
  --signal-orange: #ff9d45;
  --signal-orange-bright: #ffba72;
  --signal-text: #eee8f7;
  --signal-muted: #91879e;
  width: min(100%, 58rem);
  margin-inline: auto;
  padding: 2rem 1.5rem 5rem;
}

.contact-header {
  margin-bottom: 2.5rem;
}
.contact-header .section-kicker {
  display: block;
  margin-bottom: 0.7rem;
  color: var(--signal-purple);
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.contact-header h1 {
  margin: 0 0 0.8rem;
  font-size: clamp(2.4rem, 7vw, 4.5rem);
  line-height: 1;
}
.contact-header p {
  max-width: 42rem;
  margin: 0;
  color: var(--signal-muted);
  line-height: 1.7;
}

/* ---------------------------------------------------------
   Form container
--------------------------------------------------------- */
.signal-form {
  position: relative;
  padding: clamp(1.3rem, 4vw, 2.4rem);
  background: linear-gradient(145deg, rgba(120, 65, 175, 0.1), rgba(255, 140, 50, 0.025));
  border: 1px solid rgba(169, 108, 255, 0.22);
  border-radius: 1rem;
  box-shadow: 0 1.2rem 4rem rgba(0, 0, 0, 0.22), inset 0 0 2rem rgba(169, 108, 255, 0.025);
  backdrop-filter: blur(12px);
}

/* Tiny glow at top */
.signal-form::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 8%;
  right: 45%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--signal-purple), transparent);
  opacity: 0.75;
  pointer-events: none;
}

/* ---------------------------------------------------------
   Grid
--------------------------------------------------------- */
.signal-form__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.4rem;
}

.signal-field {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}
.signal-field label {
  color: var(--signal-purple-bright);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.signal-field label span {
  margin-left: 0.4rem;
  color: var(--signal-muted);
  font-size: 0.65rem;
  font-weight: normal;
}

.signal-field--message {
  margin-top: 1.4rem;
}

/* ---------------------------------------------------------
   Inputs
--------------------------------------------------------- */
.signal-input {
  width: 100%;
  box-sizing: border-box;
  padding: 0.9rem 1rem;
  color: var(--signal-orange-bright);
  caret-color: var(--signal-orange);
  background: rgba(8, 6, 14, 0.38);
  border: 1px solid rgba(169, 108, 255, 0.25);
  border-radius: 0.55rem;
  outline: none;
  font: inherit;
  transition: border-color 180ms ease, background 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}
.signal-input::placeholder {
  color: rgba(199, 154, 255, 0.33);
}
.signal-input:hover {
  border-color: rgba(169, 108, 255, 0.52);
  background: rgba(12, 8, 20, 0.48);
}
.signal-input:focus {
  border-color: var(--signal-orange);
  background: rgba(14, 9, 23, 0.64);
  box-shadow: 0 0 0 1px rgba(255, 157, 69, 0.12), 0 0 1.3rem rgba(169, 108, 255, 0.16);
}

.signal-textarea {
  min-height: 11rem;
  resize: vertical;
  line-height: 1.6;
}

/* ---------------------------------------------------------
   Privacy checkbox
--------------------------------------------------------- */
.signal-privacy {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-top: 1.3rem;
  color: var(--signal-muted);
  font-size: 0.85rem;
  line-height: 1.5;
}
.signal-privacy label {
  cursor: pointer;
}

.signal-checkbox {
  appearance: none;
  flex: 0 0 auto;
  width: 1.15rem;
  height: 1.15rem;
  margin-top: 0.1rem;
  background: rgba(8, 6, 14, 0.45);
  border: 1px solid rgba(169, 108, 255, 0.55);
  border-radius: 0.25rem;
  cursor: pointer;
  transition: background 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}
.signal-checkbox:checked {
  background: linear-gradient(135deg, var(--signal-purple), var(--signal-orange));
  border-color: var(--signal-orange);
  box-shadow: 0 0 0.8rem rgba(169, 108, 255, 0.35);
}
.signal-checkbox:checked::after {
  content: "✓";
  display: grid;
  place-items: center;
  height: 100%;
  color: #100b16;
  font-size: 0.8rem;
  font-weight: 900;
}

/* ---------------------------------------------------------
   Button
--------------------------------------------------------- */
.signal-submit {
  display: flex;
  justify-content: flex-end;
  margin-top: 2rem;
}
.signal-submit button {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  padding: 0.8rem 1.25rem;
  color: var(--signal-orange-bright);
  background: rgba(169, 108, 255, 0.07);
  border: 1px solid rgba(255, 157, 69, 0.65);
  border-radius: 0.5rem;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  cursor: pointer;
  transition: color 180ms ease, background 180ms ease, border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}
.signal-submit button:hover {
  color: #160d20;
  background: var(--signal-orange);
  border-color: var(--signal-orange);
  box-shadow: 0 0 1.6rem rgba(255, 157, 69, 0.25), 0 0 2.5rem rgba(169, 108, 255, 0.12);
  transform: translateY(-1px);
}

.signal-submit__arrow {
  font-size: 1.2rem;
  transition: transform 180ms ease;
}

.signal-submit button:hover .signal-submit__arrow {
  transform: translateX(0.3rem);
}

/* ---------------------------------------------------------
   Messages / errors
--------------------------------------------------------- */
.signal-status {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding: 1rem 1.2rem;
  border-radius: 0.6rem;
}
.signal-status p {
  margin: 0.15rem 0 0;
}

.signal-status--success {
  color: var(--signal-orange-bright);
  background: rgba(255, 157, 69, 0.06);
  border: 1px solid rgba(255, 157, 69, 0.35);
}

.signal-status--error {
  color: #ff8080;
  background: rgba(255, 75, 75, 0.06);
  border: 1px solid rgba(255, 75, 75, 0.3);
}

.signal-status__icon {
  color: var(--signal-purple-bright);
  font-size: 1.6rem;
}

.signal-error {
  color: #ff8585;
  font-size: 0.78rem;
}

/* Honeypot */
.signal-honeypot-wrap {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* ---------------------------------------------------------
   Mobile
--------------------------------------------------------- */
@media (max-width: 42rem) {
  .contact-page {
    padding-inline: 1rem;
  }
  .signal-form__grid {
    grid-template-columns: 1fr;
  }
  .signal-submit {
    justify-content: stretch;
  }
  .signal-submit button {
    justify-content: center;
    width: 100%;
  }
}
html {
  min-height: 100%;
  height: auto;
  overflow-x: hidden;
  overflow-y: auto;
}

body {
  min-height: 100vh;
  height: auto;
  overflow-x: hidden;
  overflow-y: auto;
}

.app-shell {
  min-height: 100vh;
  height: auto;
  overflow: visible;
}

#content {
  min-height: 0;
  height: auto;
  overflow: visible;
}

/*# sourceMappingURL=main.css.map */
