@font-face {
  font-family: Akasha;
  src: url("./assets/Akasha-Regular.ttf") format("truetype");
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: Akasha;
  src: url("./assets/Akasha-Italic.ttf") format("truetype");
  font-style: italic;
  font-display: swap;
}

body {
  overflow-x: hidden;
}
#site-grid {
  z-index: 1;
  display: grid;
  grid-template-columns: 280px minmax(0, 900px) 280px;
  align-items: start;
  width: min(1516px, calc(100% - 32px));
}
#site-grid #page {
  grid-column: 2;
  grid-row: 1;
}
#left-rail {
  grid-column: 1;
  grid-row: 1;
}
#right-rail {
  grid-column: 3;
  grid-row: 1;
}
.widget {
  width: 100%;
  padding: 26px 22px;
  background: rgba(3, 16, 27, 0.82);
  border-top: 1px solid #386b76;
  border-bottom: 1px solid #386b76;
  color: #c5dde0;
}
.widget h2 {
  margin: 0 0 20px;
  padding: 0 0 12px;
  border-bottom: 1px dotted #447985;
  color: #e0fbff;
  font: 30px/1.2 Akasha;
  letter-spacing: 0.06em;
}
.widget a {
  font: 13px Akasha;
}
#bsky-feed {
  margin: 0 0 18px;
  padding: 0;
  min-height: 120px;
}
#bsky-feed article {
  margin: 0 0 18px;
  background: rgba(2, 13, 22, 0.86);
}
#bsky-feed article:last-child {
  margin-bottom: 0;
}
#bsky-feed .feed-author {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 14px;
  padding: 0 0 12px;
  border-bottom: 1px solid #3e7074;
}
#bsky-feed .feed-avatar {
  display: block;
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  margin: 0;
  border-radius: 50%;
  object-fit: cover;
  background: #07151d;
}
#bsky-feed .feed-author strong {
  display: block;
  color: #dffcf7;
  font: 14px/1.2 Akasha;
  letter-spacing: 0.02em;
}
#bsky-feed .feed-author small {
  display: block;
  margin-top: 3px;
  color: #8bb7b9;
  font: 11px/1.2 Akasha;
}
#bsky-feed article .feed-image {
  display: block;
  width: 100%;
  height: auto;
  background: #02070d;
  object-fit: contain;
}
#bsky-feed .feed-meta {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: baseline;
  border-top: 1px dotted #447985;
  color: #86aeb3;
  font: 11px Akasha;
}
#kofiframe {
  display: block;
  width: 100%;
  margin: 0;
  background: #02070d;
  color-scheme: dark;
  filter: none;
}
.ocean-ambience {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}
.water-filter-defs {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}
.water-ripple {
  position: absolute;
  left: 50%;
  top: 42%;
  border-radius: 50%;
  opacity: 0;
  transform: scale(0.2);
  pointer-events: none;
  will-change: transform, opacity;
}
@keyframes rippleOut {
  0% {
    opacity: 0.36;
    transform: scale(0.25);
  }
  100% {
    opacity: 0;
    transform: scale(9);
  }
}
.portfolio[id] {
  margin-bottom: 16px;
  scroll-margin-top: 20px;
}
.portfolio[id]:last-child {
  margin-bottom: 0;
}
a:focus-visible {
  outline: 1px solid #9df4e8;
  outline-offset: 3px;
}

@media (max-width: 1120px) {
  #site-grid {
    grid-template-columns: 220px minmax(0, 1fr) 220px;
  }
}
@media (max-width: 760px) {
  #site-grid {
    display: flex;
    flex-direction: column;
  }
  .widget {
    padding: 20px 16px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .water-ripple.is-active {
    animation: none;
    opacity: 0;
  }
}
details.widget > summary {
  position: relative;
  display: block;
  cursor: pointer;
  list-style: none;
}
details.widget > summary::-webkit-details-marker {
  display: none;
}
details.widget > summary::after {
  content: "▾";
  position: absolute;
}
details.widget[open] > summary::after {
  content: "▴";
}
#kofiframe {
  max-height: none;
}
@media (max-width: 760px) {
  .widget-panel {
    padding-inline: 16px !important;
  }
  #kofiframe {
    height: 900px;
  }
}
body {
  font-family: Akasha;
  line-height: 1.6;
}
#site-grid {
  grid-template-columns: 220px minmax(0, 980px) 220px;
  width: min(1460px, calc(100% - 32px));
  margin: 24px auto;
}
#left-rail,
#right-rail {
  justify-self: center;
}
.widget,
.widget a,
.widget h2,
details.widget > summary,
#bsky-feed .feed-author strong,
#bsky-feed .feed-author small,
#bsky-feed .feed-meta,
#nav a,
.engine-list {
  font-family: Akasha;
}
details.widget {
  width: calc(100% - 32px);
  max-width: 220px;
  margin: 0 auto;
  padding: 0;
  background: rgba(3, 16, 27, 0.9);
}
details.widget > summary {
  padding: 15px 34px 15px 14px;
  color: #e0fbff;
  font: 18px/1.25 Akasha;
  letter-spacing: 0.02em;
  text-align: center;
  white-space: nowrap;
}
details.widget > summary::after {
  right: 10px;
  color: #8deeff;
  font: 18px/1 Akasha;
}
details.widget .widget-panel {
  padding: 18px 14px 20px;
}
#right-rail details.widget .widget-panel {
  padding: 0 0 20px;
}
#bsky-feed article > p {
  font: 14px/1.55 Akasha;
  margin: 0 0 12px;
}
.feed-meta {
  font-size: 11px;
}
#mast h1 {
  font-family: Akasha;
  letter-spacing: 0.01em;
}
#mast .role {
  font-family: Akasha;
}
#nav a {
  line-height: 1.25;
}
.story h2,
.widget h2 {
  font-family: Akasha;
  line-height: 1.25;
}
.story p,
.intro p,
.support p {
  font-family: Akasha;
  margin: 0 0 18px;
}
@media (max-width: 1120px) {
  details.widget {
    width: calc(100% - 20px);
    max-width: 190px;
  }
}
@media (max-width: 760px) {
  #site-grid {
    width: calc(100% - 12px);
    margin: 8px auto;
  }
  #left-rail,
  #right-rail {
    padding-top: 0;
  }
  details.widget {
    width: calc(100% - 24px);
    max-width: 360px;
  }
}
#site-grid {
  grid-template-columns: 220px minmax(0, 1120px) 220px;
  width: min(1620px, calc(100% - 32px));
}
#site-grid #page {
  max-width: none;
}
.portfolio-board {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.5fr) minmax(0, 0.85fr);
  gap: 22px;
  align-items: start;
}
.portfolio-column {
  min-width: 0;
}
.portfolio-column > h3 {
  margin: 0 0 18px;
  padding: 0 0 10px;
  border-bottom: 1px dotted #447985;
  color: #e0fbff;
  font: 24px/1.25 Akasha;
}
.portfolio-column-games {
  padding: 0 20px;
}
.project-card {
  margin: 0 0 26px;
  padding: 0 0 26px;
  border-bottom: 1px solid #315e67;
}
.project-card:last-child {
  margin-bottom: 0;
  border-bottom: 0;
}
.project-card h4 {
  margin: 0 0 14px;
  color: #dcfff7;
  font: 22px/1.25 Akasha;
}
.project-card p {
  margin: 0 0 14px;
  font: 16px/1.65 Akasha;
}
@media (max-width: 1120px) {
  #site-grid {
    grid-template-columns: 190px minmax(0, 1fr) 190px;
  }
  .portfolio-board {
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.4fr) minmax(0, 0.8fr);
  }
  .portfolio-column-games {
    padding-inline: 14px;
  }
}
@media (max-width: 760px) {
  .portfolio-board {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .portfolio-column-games {
    padding: 28px 0;
  }
}
.widget a {
  font-size: 26px;
}
#bsky-feed .feed-author small {
  font-size: 22px;
}
body {
  font-size: 24px;
}
#site-grid {
  margin-top: 10px;
}
#mast .role {
  margin-top: 8px;
}
#nav {
  margin: 8px 0;
  padding: 6px 10px;
  gap: 7px;
}
#nav a {
  font-size: 24px;
  padding: 5px 9px;
}
.story,
.intro {
  margin-bottom: 10px;
  padding-block: 16px;
}
.intro {
  min-height: 180px;
}
.story header {
  margin-bottom: 12px;
  padding-bottom: 6px;
}
.story h2,
.widget h2 {
  font-size: 45px;
}
.story p,
.intro p,
.support p {
  font-size: 24px;
  line-height: 1.5;
  margin-bottom: 12px;
}
.engine-list {
  font-size: 22px;
  line-height: 1.55;
}
.portfolio-column > h3 {
  font-size: 36px;
  margin-bottom: 10px;
  padding-bottom: 6px;
}
.project-card {
  margin-bottom: 13px;
  padding-bottom: 13px;
}
.project-card h4 {
  font-size: 33px;
  margin-bottom: 8px;
}
.project-card p {
  font-size: 24px;
  line-height: 1.5;
  margin-bottom: 10px;
}
.project-card .engine-list {
  font-size: 22px;
}
.widget {
  padding-block: 12px;
}
details.widget > summary {
  padding-block: 8px;
  font-size: 27px;
}
details.widget > summary::after {
  font-size: 27px;
}
details.widget .widget-panel {
  padding-top: 10px;
  padding-bottom: 12px;
}
#bsky-feed article {
  margin-bottom: 10px;
  padding: 10px;
}
#bsky-feed .feed-author {
  margin-bottom: 8px;
  padding-bottom: 8px;
}
#bsky-feed article > p {
  font-size: 21px;
  line-height: 1.5;
  margin-bottom: 9px;
}
#bsky-feed article .feed-image {
  margin: 8px 0;
}
#bsky-feed .feed-meta {
  padding-top: 7px;
  font-size: 16px;
}
#bsky-feed .feed-meta a {
  font-size: 16px;
}
#bsky-feed .feed-author strong {
  font-size: 21px;
}
.feed-author small {
  font-size: 16px;
}
#kofiframe {
  height: 900px;
}
@media (max-width: 760px) {
  .story h2,
  .widget h2 {
    font-size: 39px;
  }
  .story p,
  .intro p,
  .support p {
    font-size: 23px;
  }
  .project-card h4 {
    font-size: 30px;
  }
  .project-card p {
    font-size: 23px;
  }
  details.widget > summary {
    font-size: 24px;
  }
  .portfolio-column > h3 {
    font-size: 32px;
  }
}
.ascii {
  font-family: Terminal, monospace;
}
#right-rail details.widget[open] {
  position: fixed;
  top: 18px;
  right: 18px;
  width: min(540px, calc(100vw - 36px));
  max-width: none;
  z-index: 20;
  border: 1px solid #4e7f88;
  background: #03101b;
}
#right-rail details.widget[open] .widget-panel {
  height: calc(100vh - 82px);
  padding: 0 14px 14px;
  overflow: auto;
}
#right-rail details.widget[open] #kofiframe {
  width: 100%;
  height: calc(100vh - 106px);
  min-height: 640px;
}
@media (max-width: 760px) {
  #right-rail details.widget[open] {
    top: 8px;
    right: 8px;
    width: calc(100vw - 16px);
  }
  #right-rail details.widget[open] .widget-panel {
    height: calc(100vh - 70px);
    padding-inline: 8px;
  }
  #right-rail details.widget[open] #kofiframe {
    height: calc(100vh - 94px);
    min-height: 560px;
  }
}
details.side-tab > summary {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 12px 42px 12px 18px;
  text-align: center;
}
details.side-tab > summary::after {
  top: 50%;
  right: 15px;
  transform: translateY(-50%);
}
details.side-tab .widget-panel {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  transition:
    max-height 0.28s ease,
    opacity 0.2s ease,
    padding 0.28s ease;
}
details.side-tab.is-open .widget-panel {
  max-height: calc(100vh - 82px);
  padding-top: 18px !important;
  padding-bottom: 20px !important;
  overflow: auto;
}
details.side-tab.is-closing .widget-panel {
  max-height: 0;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  overflow: hidden;
}
#left-rail details.side-tab[open],
#right-rail details.side-tab[open] {
  max-width: none;
  z-index: 20;
  background: #03101b;
}
#right-rail details.side-tab[open] .widget-panel {
  padding-inline: 14px !important;
}
#left-rail details.side-tab[open] .widget-panel {
  padding-inline: 18px !important;
}
#left-rail details.side-tab[open] #bsky-feed {
  min-height: 0;
}

.project-status {
  color: #8bb7b9;
  font-size: 0.68em;
  font-weight: 400;
  letter-spacing: 0.02em;
  white-space: nowrap;
}
#nav {
  align-items: center;
}
#nav a {
  white-space: nowrap;
}
#nav .nav-spacer {
  flex: 1 1 auto;
  min-width: 24px;
}
#nav .external-link {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}
@media (max-width: 760px) {
  #nav .nav-spacer {
    flex: 0 0 100%;
    min-width: 0;
    height: 2px;
  }
  #nav .external-link {
    text-underline-offset: 3px;
  }
}
#site-grid {
  grid-template-columns: 260px minmax(0, 1040px) 260px;
  width: min(1600px, calc(100% - 32px));
  gap: 20px;
}
#left-rail,
#right-rail {
  width: 260px;
}
details.side-tab {
  width: 100%;
  max-width: none;
  margin: 0;
}
details.side-tab > summary {
  white-space: nowrap;
  font-size: 20px;
}
@media (max-width: 1120px) {
  #site-grid {
    grid-template-columns: 200px minmax(0, 1fr) 200px;
    width: calc(100% - 24px);
    gap: 16px;
  }
  #left-rail,
  #right-rail {
    width: 200px;
  }
  details.side-tab > summary {
    font-size: 17px;
  }
}
@media (max-width: 760px) {
  details.side-tab {
    width: calc(100% - 24px);
    max-width: 360px;
  }
  details.side-tab > summary {
    font-size: 20px;
  }
}

.title-row {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
}
.title-row .role {
  margin: 0;
  flex: 0 1 auto;
}
@media (max-width: 760px) {
  .title-row {
    display: block;
  }
  .title-row .role {
    margin-top: 8px;
  }
}

:root {
  --parallax-x: 0px;
  --parallax-y: 0px;
}
body {
  background-position: calc(50% + var(--parallax-x)) calc(50% + var(--parallax-y));
}
#mast {
  min-height: 190px;
  padding: 14px 22px;
}
#mast h1 {
  font-size: 72px;
  line-height: 1;
}
#mast .role {
  font-size: 18px;
  line-height: 1.3;
}
.title-row {
  gap: 16px;
}
.ascii {
  margin-top: 20px;
  font-size: 18px;
  line-height: 1.4;
}
@media (max-width: 760px) {
  #mast {
    min-height: 165px;
    padding: 12px 16px;
  }
  #mast h1 {
    font-size: 56px;
  }
  .title-row .role {
    font-size: 16px;
  }
  .ascii {
    margin-top: 18px;
    font-size: 16px;
  }
}
#page {
  border: 0;
  position: relative;
  background: transparent;
  box-shadow: none;
  border-radius: 0;
  -webkit-mask-image: none !important;
  mask-image: none !important;
}
#page::before {
  content: "";
  position: absolute;
  z-index: 0;
  pointer-events: none;
}
#page > * {
  position: relative;
  z-index: 1;
}
#mast,
#nav {
  border: 0;
}
#nav a {
  border: 0;
}
#bsky-feed article {
  border: 0;
  border-left: 0;
}
#bsky-feed .feed-avatar,
#bsky-feed article .feed-image {
  border: 0;
}
#kofiframe {
  border: 0;
}
#left-rail details.side-tab[open],
#right-rail details.side-tab[open] {
  border: 0;
}
.portfolio-column-games {
  border-left: 1px solid #386b76;
  border-right: 1px solid #386b76;
}
@media (max-width: 760px) {
  .portfolio-column-games {
    border-left: 0;
    border-right: 0;
    border-top: 1px solid #386b76;
    border-bottom: 1px solid #386b76;
  }
}
#site-grid,
#site-grid * {
  border: 0 !important;
}
#portfolio > header {
  text-align: center;
}
#portfolio > header h2,
#portfolio .portfolio-column > h3,
#portfolio .project-card h4 {
  text-align: center;
}
#portfolio > header,
#portfolio .portfolio-column > h3,
#portfolio .project-card:not(:last-child) {
  border: 0 !important;
  border-bottom: 1px dotted #4b9bad !important;
}
#portfolio > header h2,
#portfolio .portfolio-column > h3,
#portfolio .project-card > h4 {
  text-align: center;
}
#mast .title-row {
  flex-wrap: nowrap;
}
#mast .title-row .ascii {
  flex: 0 0 auto;
}
#mast .title-row .role {
  flex: 0 0 auto;
}
#portfolio .portfolio-column-games {
  border-left: 1px dotted #4b9bad !important;
  border-right: 1px dotted #4b9bad !important;
  padding-left: 20px;
  padding-right: 20px;
}
.water-ripple {
  width: 76px;
  height: 76px;
  margin: -38px;
  border: 1px solid rgba(151, 255, 238, 0.38);
  background: radial-gradient(
    circle,
    transparent 0 34%,
    rgba(151, 255, 238, 0.13) 38%,
    transparent 43%,
    transparent 57%,
    rgba(116, 226, 224, 0.09) 61%,
    transparent 66%
  );
  -webkit-backdrop-filter: blur(1px) url(#ripple-refraction);
  backdrop-filter: blur(1px) url(#ripple-refraction);
}
.water-ripple::before,
.water-ripple::after {
  content: "";
  position: absolute;
  inset: 12%;
  border: 1px solid rgba(151, 255, 238, 0.24);
  border-radius: 50%;
  transform: scale(0.35);
  opacity: 0;
}
.water-ripple::after {
  inset: 27%;
  border-color: rgba(126, 214, 224, 0.18);
}
.water-ripple.is-active {
  animation: rippleOut 1.45s cubic-bezier(0.15, 0.65, 0.2, 1);
}
.water-ripple.is-active::before {
  animation: rippleRing 1.45s cubic-bezier(0.15, 0.65, 0.2, 1);
}
.water-ripple.is-active::after {
  animation: rippleRing 1.1s 0.12s cubic-bezier(0.15, 0.65, 0.2, 1);
}
@keyframes rippleOut {
  0% {
    opacity: 0.44;
    transform: scale(0.2);
  }
  35% {
    opacity: 0.3;
  }
  100% {
    opacity: 0;
    transform: scale(8.5);
  }
}
@keyframes rippleRing {
  0% {
    opacity: 0.55;
    transform: scale(0.25);
  }
  100% {
    opacity: 0;
    transform: scale(5);
  }
}
@media (max-width: 760px) {
  #mast .title-row {
    flex-wrap: wrap;
  }
  #portfolio .portfolio-column-games {
    border-left: 0 !important;
    border-right: 0 !important;
    border-top: 1px dotted #4b9bad !important;
    border-bottom: 1px dotted #4b9bad !important;
    padding-left: 0;
    padding-right: 0;
  }
}
#left-rail,
#right-rail {
  align-self: start;
  padding-top: 0;
}
#mast .title-row {
  min-width: 0;
}
#mast .title-row .ascii {
  display: block;
  box-sizing: border-box;
  overflow: hidden;
  font-size: 12px;
  line-height: 1.12;
  white-space: pre;
}
@media (max-width: 760px) {
  #left-rail {
    order: 2;
  }
  #right-rail {
    order: 3;
  }
  #site-grid #page {
    order: 1;
  }
  #mast .title-row .ascii {
    font-size: 10px;
    line-height: 1.12;
    white-space: pre-wrap;
  }
}
#left-rail,
#right-rail {
  position: relative;
  z-index: 3;
}
details.side-tab > summary {
  position: relative;
  z-index: 4;
  background: linear-gradient(
    90deg,
    rgba(3, 16, 27, 0.96) 0%,
    rgba(12, 49, 61, 0.96) 50%,
    rgba(3, 16, 27, 0.96) 100%
  );
}
details.side-tab[open] > summary {
  background: linear-gradient(
    90deg,
    rgba(4, 20, 32, 0.98) 0%,
    rgba(18, 65, 74, 0.98) 50%,
    rgba(4, 20, 32, 0.98) 100%
  );
}
#page::before {
  inset: 0 -520px !important;
  background: linear-gradient(
    to right,
    rgba(6, 17, 29, 0) 0%,
    rgba(6, 17, 29, 0.03) 10%,
    rgba(1, 7, 13, 0.12) 16%,
    rgba(1, 7, 13, 0.55) 21%,
    rgba(1, 7, 13, 0.84) 24%,
    rgba(1, 7, 13, 0.84) 76%,
    rgba(1, 7, 13, 0.55) 79%,
    rgba(1, 7, 13, 0.12) 84%,
    rgba(6, 17, 29, 0.03) 90%,
    rgba(6, 17, 29, 0) 100%
  ) !important;
}
@media (max-width: 760px) {
  #site-grid {
    align-items: center;
  }
  #site-grid #page {
    width: 100%;
    align-self: stretch;
  }
  #left-rail,
  #right-rail {
    display: flex;
    justify-content: center;
    width: 100%;
    align-self: stretch;
  }
  #left-rail details.side-tab,
  #right-rail details.side-tab {
    width: min(360px, calc(100% - 24px));
    max-width: none;
    margin-inline: auto;
  }
  #left-rail details.side-tab > summary,
  #right-rail details.side-tab > summary {
    justify-content: center;
    text-align: center;
  }
}
@media (max-width: 760px) {
  #mast .title-row {
    display: flex;
    flex-direction: column;
  }
  #mast .title-row h1,
  #mast .title-row .role {
    margin: 0;
    text-align: center;
  }
  #mast .title-row .ascii {
    width: auto;
  }
  #nav {
    justify-content: center;
    text-align: center;
  }
  #nav a {
    margin-inline: 0;
  }
}
@media (min-width: 1121px) {
  #site-grid {
    grid-template-columns: minmax(220px, 1fr) minmax(0, 1120px) minmax(220px, 1fr);
    width: calc(100% - 32px);
  }
  #left-rail,
  #right-rail {
    width: 100%;
    align-self: start;
    justify-self: stretch;
    padding-top: 0;
  }
  #left-rail details.side-tab,
  #right-rail details.side-tab {
    width: min(260px, 100%);
    margin-inline: auto;
  }
}
#mast {
  display: flex;
  align-items: center;
  box-sizing: border-box;
}
#mast .title-row {
  width: 100%;
}
#mast .title-row .ascii {
  margin-left: 0;
}
@media (min-width: 761px) {
  #left-rail,
  #right-rail {
    padding-top: 69px;
  }
}
@media (max-width: 760px) {
  #mast {
    display: block;
    text-align: center;
  }
  #mast .title-row {
    width: 100%;
    justify-content: center;
  }
}
#mast .title-row {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 5px;
}
#mast .mast-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 3px;
}
#mast .mast-copy h1,
#mast .mast-copy .role {
  margin: 0;
  text-align: left;
}
#mast .title-row .ascii {
  width: auto;
  max-width: 100%;
  margin: 8px 0 0;
  text-align: left;
}
@media (max-width: 760px) {
  #mast .title-row {
    align-items: flex-start;
    gap: 4px;
  }
  #mast .mast-copy {
    align-items: flex-start;
  }
  #mast .mast-copy h1,
  #mast .mast-copy .role {
    text-align: left;
  }
  #mast .title-row .ascii {
    margin: 6px 0 0;
    max-width: 100%;
    text-align: left;
  }
}
.ascii {
  color: #78f2b5;
}
.ascii .slug-red {
  color: #ff6868;
}
.ascii .slug-purple {
  color: #c58cff;
}
.ascii .slug-white {
  color: #fff;
}
.project-card .engine-list {
  margin: 0 0 14px;
  font: inherit;
  line-height: 1.5;
}
.project-card .engine-list li:last-child {
  margin-bottom: 0;
}
.project-card .engine-note {
  margin: 0 0 14px;
  color: #d8e9eb;
  font: inherit;
  line-height: 1.5;
}
@media (max-width: 760px) {
  .project-card .engine-list li:last-child {
    margin-bottom: 0;
  }
}
.project-card .engine-list {
  color: #b9d7ff;
}
@media (min-width: 761px) {
  .project-card .engine-list li {
    white-space: normal;
  }
}
.project-card .engine-list {
  align-items: start;
}
.project-card .engine-list li {
  min-width: 0;
}
.project-card .engine-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: repeat(8, auto);
  grid-auto-flow: column;
  column-gap: 28px;
  row-gap: 6px;
  padding-left: 1.4em;
}
.project-card .engine-list li {
  margin: 0;
  padding-left: 0.25em;
  white-space: normal;
  overflow-wrap: anywhere;
}
@media (max-width: 760px) {
  .project-card .engine-list {
    display: block;
  }
  .project-card .engine-list li {
    margin-bottom: 7px;
  }
}
@media (min-width: 761px) {
  #left-rail,
  #right-rail {
    position: sticky;
    top: 69px;
    align-self: start;
    height: max-content;
  }
}
#site-footer {
  display: flex;
  justify-content: center;
}
#site-footer .scroll-top {
  display: inline-block;
  color: #d8faff;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.image-trigger {
  position: relative;
  display: block;
  cursor: pointer;
}
.image-trigger::after {
  content: "↖";
  position: absolute;
  right: 10px;
  bottom: 8px;
  z-index: 2;
  color: #fff;
  font:
    22px/1 Terminal,
    monospace;
  opacity: 0;
  pointer-events: none;
}
.image-trigger:hover::after {
  opacity: 1;
}
.image-trigger img {
  display: block;
  cursor: pointer;
}
#bsky-feed .image-trigger {
  margin: 12px 0;
}
#bsky-feed .image-trigger .feed-image {
  width: 100%;
  height: auto;
  margin: 0;
}
#image-lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3vh 3vw;
  background: rgba(0, 0, 0, 0.9);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity 0.26s ease,
    visibility 0s linear 0.26s;
}
#image-lightbox.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition: opacity 0.26s ease;
}
#image-lightbox .lightbox-image-wrap {
  position: relative;
  z-index: 101;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  transform: scale(0.94);
  transition: transform 0.3s cubic-bezier(0.2, 0.75, 0.25, 1);
}
#image-lightbox.is-open .lightbox-image-wrap {
  transform: scale(1);
}
#image-lightbox img {
  display: block;
  max-width: 94vw;
  max-height: 94vh;
  width: auto;
  height: auto;
  object-fit: contain;
}
body.lightbox-open {
  overflow: hidden;
}
@media (prefers-reduced-motion: reduce) {
  #image-lightbox,
  #image-lightbox .lightbox-image-wrap {
    transition: none;
  }
}
#mast .title-row {
  position: relative;
}
#mast .site-icon {
  display: block;
  flex: 0 0 88px;
  width: 88px;
  height: 88px;
  margin: 0 0 0 auto;
  object-fit: cover;
  object-position: center;
  clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%);
  filter: saturate(0.9) contrast(0.98);
}
@media (max-width: 760px) {
  #mast .site-icon {
    flex-basis: 64px;
    width: 64px;
    height: 64px;
    margin: 8px 0 0;
    align-self: flex-end;
  }
}
#mast .site-icon {
  align-self: flex-end;
}
:root {
  --rail-drift: 0px;
}
@media (min-width: 761px) {
  #left-rail,
  #right-rail {
    transform: translateY(var(--rail-drift));
    will-change: transform;
  }
}
@media (prefers-reduced-motion: reduce) {
  #left-rail,
  #right-rail {
    transition: none;
    transform: none;
  }
}
#mast .title-row .site-icon {
  position: absolute;
  top: 50%;
  margin: 0;
  align-self: auto;
  transform: translateY(-50%);
}
@media (max-width: 760px) {
  #mast .title-row .site-icon {
    top: 50%;
    margin: 0;
    transform: translateY(-50%);
  }
}
#mast .title-row .site-icon {
  flex-basis: 108px;
  width: 108px;
  height: 108px;
  right: 24px;
  clip-path: polygon(
    50% 0%,
    62% 3%,
    97% 38%,
    100% 50%,
    97% 62%,
    62% 97%,
    50% 100%,
    38% 97%,
    3% 62%,
    0% 50%,
    3% 38%,
    38% 3%
  );
}
@media (max-width: 760px) {
  #mast .title-row .site-icon {
    flex-basis: 78px;
    width: 78px;
    height: 78px;
    right: 16px;
  }
}
@media (min-width: 761px) {
  #left-rail,
  #right-rail {
    transition: transform 0.46s cubic-bezier(0.18, 0.82, 0.24, 1);
  }
}
#site-footer {
  box-sizing: border-box;
}
#mast .title-row .site-icon-frame {
  position: absolute;
  top: 50%;
  right: 24px;
  z-index: 2;
  display: block;
  width: 86px;
  height: 86px;
  overflow: hidden;
  border-radius: 22%;
  background: #06111d;
  transform: translateY(-50%) rotate(45deg);
}
#mast .title-row .site-icon-frame .site-icon {
  position: absolute;
  inset: -18%;
  display: block;
  width: 136%;
  height: 136%;
  max-width: none;
  margin: 0;
  object-fit: cover;
  clip-path: none;
  transform: rotate(-45deg);
}
@media (max-width: 760px) {
  #mast .title-row .site-icon-frame {
    right: 16px;
    width: 64px;
    height: 64px;
  }
  #mast .title-row .site-icon-frame .site-icon {
    width: 136%;
    height: 136%;
  }
}
@media (min-width: 761px) {
  #left-rail details.side-tab[open],
  #right-rail details.side-tab[open] {
    max-height: calc(100vh - 36px);
    overflow: hidden;
  }
  #left-rail details.side-tab[open] .widget-panel,
  #right-rail details.side-tab[open] .widget-panel {
    height: calc(100vh - 92px);
    max-height: calc(100vh - 92px);
    min-height: 0;
  }
  #right-rail details.side-tab[open] #kofiframe {
    height: 100%;
    min-height: 0;
  }
}
@media (max-width: 980px) {
  #site-grid {
    display: flex;
    flex-direction: column;
    width: calc(100% - 24px);
    margin: 12px auto;
    align-items: center;
  }
  #site-grid #page {
    order: 1;
    width: 100%;
    align-self: stretch;
  }
  #left-rail,
  #right-rail {
    display: flex;
    order: 2;
    width: 100%;
    align-self: stretch;
    justify-content: center;
    position: static;
    transform: none;
    padding-top: 0;
  }
  #right-rail {
    order: 3;
  }
  #left-rail details.side-tab,
  #right-rail details.side-tab {
    width: min(360px, calc(100% - 24px));
    max-width: none;
    margin-inline: auto;
  }
  #portfolio .portfolio-board {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  #portfolio .portfolio-column-games {
    border-left: 0 !important;
    border-right: 0 !important;
    border-top: 1px dotted #4b9bad !important;
    border-bottom: 1px dotted #4b9bad !important;
    padding-left: 0;
    padding-right: 0;
  }
  #mast {
    text-align: center;
    display: block;
  }
  #mast .title-row {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
  }
  #mast .mast-copy {
    align-items: center;
  }
  #mast .mast-copy h1,
  #mast .mast-copy .role {
    text-align: center;
  }
  #mast .title-row .ascii {
    margin: 6px auto 0;
    text-align: center;
  }
  #nav {
    justify-content: center;
    text-align: center;
  }
  #nav .nav-spacer {
    flex: 0 0 100%;
    min-width: 0;
    height: 2px;
  }
  #site-footer {
    margin-top: 12px;
  }
  #site-footer .scroll-top {
    margin-inline: auto;
  }
}
@media (min-width: 981px) {
  #site-footer {
    grid-column: 2;
    grid-row: 2;
    width: 100%;
  }
}
@media (min-width: 981px) {
  #left-rail details.side-tab[open],
  #right-rail details.side-tab[open] {
    top: 18px;
    bottom: 18px;
    height: calc(100vh - 36px);
    max-height: none;
    display: flex;
    flex-direction: column;
    overflow: hidden;
  }
  #left-rail details.side-tab[open] .widget-panel,
  #right-rail details.side-tab[open] .widget-panel {
    flex: 1 1 0;
    height: auto;
    max-height: calc(100vh - 88px);
    min-height: 0;
    overflow: auto;
  }
  #right-rail details.side-tab[open] #kofiframe {
    height: 100%;
    min-height: 0;
  }
}
@media (min-width: 761px) and (max-width: 980px) {
  #left-rail details.side-tab[open],
  #right-rail details.side-tab[open] {
    top: 18px;
    bottom: 18px;
    height: calc(100vh - 36px);
    max-height: none;
    display: flex;
    flex-direction: column;
    overflow: hidden;
  }
  #left-rail details.side-tab[open] .widget-panel,
  #right-rail details.side-tab[open] .widget-panel {
    flex: 1 1 0;
    height: auto;
    max-height: calc(100vh - 88px);
    min-height: 0;
    overflow: auto;
  }
  #right-rail details.side-tab[open] #kofiframe {
    height: 100%;
    min-height: 0;
  }
}
@media (max-width: 760px) {
  #left-rail details.side-tab[open],
  #right-rail details.side-tab[open] {
    display: flex;
    flex-direction: column;
    overflow: hidden;
  }
  #left-rail details.side-tab[open] .widget-panel,
  #right-rail details.side-tab[open] .widget-panel {
    flex: 1 1 0;
    height: auto;
    max-height: calc(100vh - 68px);
    min-height: 0;
    overflow: auto;
  }
  #right-rail details.side-tab[open] #kofiframe {
    min-height: 0;
  }
}
@media (min-width: 761px) {
  #left-rail:has(details.side-tab[open]),
  #right-rail:has(details.side-tab[open]) {
    transform: none !important;
    transition: none !important;
  }
}
#left-rail details.side-tab[open],
#right-rail details.side-tab[open] {
  top: 18px !important;
  bottom: 18px !important;
  flex-direction: column !important;
}
#left-rail details.side-tab[open] {
  left: 18px !important;
}
#left-rail details.side-tab[open] .widget-panel,
#right-rail details.side-tab[open] .widget-panel {
  overflow-y: auto !important;
  overflow-x: hidden !important;
}
@media (max-width: 760px) {
  #left-rail details.side-tab[open],
  #right-rail details.side-tab[open] {
    top: 8px !important;
    bottom: 8px !important;
  }
  #left-rail details.side-tab[open] {
    left: 8px !important;
  }
}
#left-rail details.side-tab[open],
#right-rail details.side-tab[open] {
  box-sizing: border-box !important;
}
#right-rail details.side-tab[open] {
  left: auto !important;
  right: 18px !important;
}
@media (max-width: 760px) {
  #left-rail details.side-tab[open],
  #right-rail details.side-tab[open] {
    inset: 8px auto 8px 8px !important;
    width: calc(100vw - 16px) !important;
  }
  #right-rail details.side-tab[open] {
    left: auto !important;
    right: 8px !important;
  }
}
#left-rail details.side-tab[open] .widget-panel,
#right-rail details.side-tab[open] .widget-panel {
  flex: 1 1 0 !important;
}
@media (max-width: 760px) {
  #left-rail details.side-tab[open],
  #right-rail details.side-tab[open] {
    height: calc(100vh - 16px) !important;
    max-height: calc(100vh - 16px) !important;
  }
}
@media (min-width: 981px) {
  #left-rail,
  #right-rail {
    padding-top: 0 !important;
    top: 69px;
  }
}
#site-grid::before {
  content: "";
  position: absolute;
  z-index: 0;
  top: 0;
  left: 0;
  right: 0;
  pointer-events: none;
  background: linear-gradient(
    to right,
    rgba(6, 17, 29, 0) 0%,
    rgba(1, 7, 13, 0.12) 16%,
    rgba(1, 7, 13, 0.72) 24%,
    rgba(1, 7, 13, 0.84) 32%,
    rgba(1, 7, 13, 0.84) 68%,
    rgba(1, 7, 13, 0.72) 76%,
    rgba(6, 17, 29, 0.12) 84%,
    rgba(6, 17, 29, 0) 100%
  );
}
#site-grid > #page,
#site-grid > #left-rail,
#site-grid > #right-rail,
#site-grid > #site-footer {
  z-index: 1;
}
#site-grid {
  isolation: auto;
}
details.side-tab.is-open .widget-panel {
  opacity: 1 !important;
  visibility: visible !important;
  display: block !important;
}
details.side-tab.is-closing .widget-panel {
  opacity: 0 !important;
  visibility: hidden !important;
}
#left-rail details.side-tab[open] .widget-panel,
#right-rail details.side-tab[open] .widget-panel {
  z-index: 9999 !important;
  top: 72px !important;
  bottom: 18px !important;
  left: 18px !important;
  right: auto !important;
}
#right-rail details.side-tab[open] .widget-panel {
  left: auto !important;
  right: 18px !important;
}
@media (max-width: 760px) {
  #left-rail details.side-tab[open] .widget-panel,
  #right-rail details.side-tab[open] .widget-panel {
    top: 62px !important;
    bottom: 8px !important;
    left: 8px !important;
    right: auto !important;
    width: calc(100vw - 16px) !important;
  }
  #right-rail details.side-tab[open] .widget-panel {
    left: auto !important;
    right: 8px !important;
  }
}
#left-rail details.side-tab[open],
#right-rail details.side-tab[open] {
  position: relative !important;
  inset: auto !important;
  width: 100% !important;
  height: auto !important;
  max-height: none !important;
  display: block !important;
  overflow: visible !important;
  transform: none !important;
}
#left-rail details.side-tab[open] .widget-panel,
#right-rail details.side-tab[open] .widget-panel {
  position: static !important;
  display: block !important;
  width: 100% !important;
  height: auto !important;
  max-height: calc(100vh - 132px) !important;
  min-height: 0 !important;
  padding: 18px 14px 20px !important;
  overflow: auto !important;
  opacity: 1 !important;
  visibility: visible !important;
  background: rgba(3, 16, 27, 0.92) !important;
  box-sizing: border-box !important;
}
#right-rail details.side-tab[open] #kofiframe {
  display: block !important;
  width: 100% !important;
  height: 640px !important;
  max-height: none !important;
  min-height: 0 !important;
}
@media (max-width: 980px) {
  #left-rail details.side-tab[open],
  #right-rail details.side-tab[open] {
    width: min(360px, calc(100% - 24px)) !important;
    margin-inline: auto !important;
  }
}
@media (max-width: 760px) {
  #left-rail details.side-tab[open],
  #right-rail details.side-tab[open] {
    width: min(360px, calc(100% - 24px)) !important;
  }
  #right-rail details.side-tab[open] #kofiframe {
    height: 640px !important;
  }
}
#site-grid::before {
  bottom: 0;
}
#site-grid {
  padding-bottom: 0;
  margin-bottom: 0;
  position: relative;
}
#site-footer {
  position: absolute;
  right: 0;
  bottom: 0;
  z-index: 4;
  width: auto !important;
  min-width: 0;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
}
#site-footer .scroll-top {
  background: transparent !important;
}
@media (max-width: 980px) {
  #site-footer {
    right: 0;
    bottom: 0;
    width: auto !important;
    order: initial;
  }
}
#site-footer .scroll-top {
  font-size: 1.2em;
  padding: 8px 0 5px 14px;
}
.project-card > summary {
  display: block;
  cursor: pointer;
  list-style: none;
}
.project-card > summary::-webkit-details-marker {
  display: none;
}
.project-card > summary h4 {
  position: relative;
  padding-right: 1.4em;
}
.project-card > summary h4::after {
  content: "▾";
  position: absolute;
  right: 0;
  color: #8deeff;
  font-size: 0.8em;
  transition: transform 0.2s ease;
}
.project-card:not([open]) > summary h4::after {
  transform: rotate(-90deg);
}
.project-card[open] > summary {
  margin-bottom: 14px;
}
.project-card:not([open]) {
  padding-bottom: 10px;
}
.nav-dropdown {
  display: inline-flex;
  align-items: center;
}
.nav-dropdown > .nav-trigger {
  display: block;
}
.portfolio-menu {
  position: absolute;
  top: 100%;
  left: 0;
  display: flex;
  flex-direction: column;
  min-width: 190px;
  padding: 8px;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(4px);
  transition:
    opacity 0.18s ease,
    visibility 0s linear 0.18s,
    transform 0.18s ease;
}
.nav-dropdown:hover > .portfolio-menu,
.nav-dropdown:focus-within > .portfolio-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
  transition:
    opacity 0.18s ease,
    transform 0.18s ease;
}
.portfolio-menu > a,
.portfolio-submenu > a {
  display: block !important;
  padding: 8px 10px !important;
  white-space: nowrap;
}
.portfolio-submenu {
  display: flex;
  flex-direction: column;
  margin: 2px 0 4px;
  padding-left: 12px;
}
.portfolio-submenu > a {
  font-size: 0.9em !important;
}
#nav a:hover,
#nav .nav-dropdown:hover > .nav-trigger,
#nav a:focus-visible {
  color: #fff;
  background: linear-gradient(90deg, #164a58, #287d83, #164a58);
  text-decoration-color: #fff;
}
@media (max-width: 980px) {
  .portfolio-menu {
    position: static;
    display: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    pointer-events: auto;
    width: 100%;
    box-sizing: border-box;
  }
  .nav-dropdown:hover > .portfolio-menu,
  .nav-dropdown:focus-within > .portfolio-menu {
    display: flex;
  }
}
.portfolio-menu-item {
  position: relative;
  display: block;
}
.portfolio-menu-item > a {
  display: block !important;
  width: 100%;
  box-sizing: border-box;
}
.portfolio-menu-item > .portfolio-submenu {
  position: absolute;
  top: -8px;
  left: 100%;
  display: flex;
  flex-direction: column;
  min-width: 190px;
  margin: 0;
  padding: 8px;
  visibility: hidden;
  pointer-events: none;
  transform: translateX(4px);
  transition:
    opacity 0.18s ease,
    visibility 0s linear 0.18s,
    transform 0.18s ease;
}
.portfolio-menu-item:hover > .portfolio-submenu,
.portfolio-menu-item:focus-within > .portfolio-submenu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(0);
  transition:
    opacity 0.18s ease,
    transform 0.18s ease;
}
@media (max-width: 980px) {
  .portfolio-menu-item > .portfolio-submenu {
    position: static;
    display: none;
    min-width: 0;
    padding: 0 0 0 12px;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
  }
  .portfolio-menu-item:hover > .portfolio-submenu,
  .portfolio-menu-item:focus-within > .portfolio-submenu {
    display: flex;
  }
}
#nav {
  position: relative;
  z-index: 60;
  overflow: visible;
}
.nav-dropdown {
  position: relative;
  z-index: 61;
}
.portfolio-menu,
.portfolio-menu-item > .portfolio-submenu {
  z-index: 100;
  isolation: isolate;
  background: #03101b !important;
  opacity: 1;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}
.portfolio-menu {
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.45);
}
.portfolio-menu-item > .portfolio-submenu {
  z-index: 101;
}
@media (min-width: 981px) {
  .portfolio-menu-item > .portfolio-submenu {
    left: calc(100% + 4px);
  }
}
.qa-section {
  scroll-margin-top: 20px;
}
.qa-item {
  margin: 0 0 10px;
  border-bottom: 1px dotted #447985;
  padding: 0 0 10px;
}
.qa-item > summary {
  display: block;
  cursor: pointer;
  list-style: none;
  color: #e0fbff;
  font: 22px/1.3 Akasha;
  text-align: left;
}
.qa-item > summary::-webkit-details-marker {
  display: none;
}
.qa-item > summary::after {
  content: "▾";
  float: right;
  color: #8deeff;
}
.qa-item:not([open]) > summary::after {
  transform: rotate(-90deg);
}
.qa-copy {
  padding: 10px 0 0;
  color: #d8e9eb;
  font: 16px/1.65 Akasha;
}
.qa-copy p {
  margin: 0 0 14px;
  color: inherit;
  font: inherit;
}
.qa-copy strong {
  color: #fff;
}
@media (max-width: 980px) {
  .qa-item > summary {
    font-size: 20px;
  }
  .qa-copy {
    font-size: 15px;
  }
}
#qa.qa-section {
  width: 100%;
  box-sizing: border-box;
}
#qa .qa-item {
  display: block;
  box-sizing: border-box;
  margin: 0;
  padding: 14px 0 18px;
  border-bottom: 1px dotted #4b9bad !important;
}
#qa .qa-item:first-of-type {
  padding-top: 0;
}
#qa .qa-item:last-child {
  border-bottom: 0 !important;
  padding-bottom: 0;
}
#qa .qa-item > summary {
  width: 100%;
  box-sizing: border-box;
}
#qa .qa-copy {
  width: 100%;
  box-sizing: border-box;
  padding: 12px 0 0;
}
#qa .qa-copy p {
  max-width: 78ch;
  margin: 0 0 14px;
  text-indent: 1.5em;
}
#qa .qa-item {
  width: calc(100% + 56px);
  margin-left: -28px;
  padding-left: 28px;
  padding-right: 28px;
  background: rgba(3, 16, 27, 0.22);
}
#qa .qa-item + .qa-item {
  margin-top: 1px;
}
@media (max-width: 980px) {
  #qa .qa-item {
    width: calc(100% + 32px);
    margin-left: -16px;
    padding-left: 16px;
    padding-right: 16px;
  }
}
#qa .qa-copy {
  font-size: 24px;
  line-height: 1.55;
}
#qa .qa-copy p {
  font-size: inherit;
  line-height: inherit;
}
@media (max-width: 980px) {
  #qa .qa-copy {
    font-size: 21px;
    line-height: 1.55;
  }
}
#qa .qa-item > summary {
  position: relative;
  padding: 8px 42px;
  text-align: center;
  font-size: 32px;
  line-height: 1.25;
}
#qa .qa-item > summary::after {
  position: absolute;
  top: 50%;
  right: 10px;
  float: none;
  transform: translateY(-50%);
}
#qa .qa-item:not([open]) > summary::after {
  transform: translateY(-50%) rotate(-90deg);
}
@media (max-width: 980px) {
  #qa .qa-item > summary {
    font-size: 27px;
  }
}
#nav .portfolio-menu {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(6px);
  transition:
    opacity 0.14s ease,
    transform 0.14s ease,
    visibility 0s linear 0.14s;
  background: #03101b !important;
}
#nav .nav-dropdown:hover > .portfolio-menu,
#nav .nav-dropdown:focus-within > .portfolio-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
  transition:
    opacity 0.14s ease,
    transform 0.14s ease;
}
#nav .qa-menu {
  min-width: 220px;
}
@media (max-width: 980px) {
  #nav .portfolio-menu {
    transform: none;
    transition: none;
  }
  #nav .qa-menu {
    min-width: 0;
  }
}
#site-grid > #left-rail,
#site-grid > #right-rail {
  position: relative;
  z-index: 20 !important;
}
#site-grid > #left-rail details.side-tab > summary,
#site-grid > #right-rail details.side-tab > summary {
  position: relative;
  z-index: 21;
  background: #03101b !important;
}
@media (min-width: 981px) {
  #site-grid > #left-rail,
  #site-grid > #right-rail {
    position: sticky !important;
    top: 69px !important;
  }
}
@media (max-width: 980px) {
  #site-grid > #left-rail,
  #site-grid > #right-rail {
    position: relative !important;
  }
}
#qa > header {
  text-align: center;
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px dotted #4b9bad !important;
  width: calc(100% + 56px);
  margin-left: -28px;
  padding-left: 28px;
  padding-right: 28px;
  box-sizing: border-box;
}
@media (max-width: 980px) {
  #qa > header {
    width: calc(100% + 32px);
    margin-left: -16px;
    padding-left: 16px;
    padding-right: 16px;
  }
}
.portfolio-column-music {
  min-width: 0;
}
.music-player {
  width: 100%;
  font-family: Akasha;
}
.music-controls {
  grid-template-columns: auto minmax(0, 1fr) auto minmax(80px, 120px);
  margin: 0 0 18px;
  border-bottom: 1px dotted #4b9bad;
}
.music-controls button,
.track-button {
  font: inherit;
  color: #d8faff;
  background: #0c2d3b;
  border: 0;
  padding: 7px 10px;
  cursor: pointer;
}
.music-controls button:hover,
.track-button:hover,
.track-button.is-playing {
  color: #fff;
  background: #287d83;
}
#music-now-playing {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #d8e9eb;
}
#music-volume {
  width: 100%;
  accent-color: #72dfe2;
}
.music-group h4 {
  margin: 0 0 7px;
  color: #e0fbff;
  font: 22px/1.25 Akasha;
  text-align: left;
}
.music-group ul {
  list-style: none;
}
.music-group li {
  margin: 0;
}
.music-group .track-button {
  display: block;
  width: 100%;
  text-align: left;
  background: transparent;
  color: #b9d7ff;
}
.music-group .track-button:hover,
.music-group .track-button.is-playing {
  padding-left: 8px;
  color: #fff;
  background: linear-gradient(90deg, rgba(40, 125, 131, 0.8), transparent);
}
.music-group {
  margin: 0 0 10px;
  border-bottom: 1px dotted #4b9bad;
}
.music-group > summary {
  display: block;
  cursor: pointer;
  list-style: none;
  padding: 7px 0;
  color: #e0fbff;
  font: 20px/1.25 Akasha;
}
.music-group > summary::-webkit-details-marker {
  display: none;
}
.music-group > summary::after {
  content: "▾";
  float: right;
  color: #8deeff;
}
.music-group:not([open]) > summary::after {
  transform: rotate(-90deg);
}
.music-group ul {
  margin: 0;
  padding: 0 0 5px;
}
.music-group li {
  border-bottom: 1px dotted #386b76;
}
.music-group li:last-child {
  border-bottom: 0;
}
.music-group .track-button {
  padding: 5px 0;
  font-size: 0.92em;
}
.music-controls {
  grid-template-columns: auto minmax(0, 1fr) auto 110px;
  margin-bottom: 10px;
}
.music-controls button {
  white-space: nowrap;
  padding: 6px 9px;
}
.music-controls label {
  font-size: 0.85em;
  color: #b9d7ff;
}
@media (max-width: 980px) {
  .music-controls {
    grid-template-columns: auto minmax(0, 1fr);
  }
  .music-controls label {
    grid-column: 1;
  }
  .music-controls input {
    grid-column: 2;
  }
}
#portfolio-music .music-group,
#portfolio-music .music-group li {
  border-bottom: 1px dotted #4b9bad !important;
}
#portfolio-music .music-group li:last-child {
  border-bottom: 0 !important;
}
#portfolio-music .music-group > summary {
  border-bottom: 0 !important;
}
.music-controls {
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
}
.music-controls button {
  min-width: 34px;
}
#music-now-playing {
  flex: 1 1 150px;
  min-width: 120px;
}
.music-controls label {
  margin-left: auto;
}
.music-controls input {
  width: 110px;
}
#portfolio-music .music-group li {
  display: flex;
  border-bottom: 1px dotted #4b9bad !important;
}
#portfolio-music .music-group .track-button {
  width: auto;
  padding: 5px 0;
}
.track-duration {
  flex: 0 0 auto;
  padding-left: 8px;
  color: #86aeb3;
  font-size: 0.85em;
}
@media (max-width: 980px) {
  .music-controls label {
    margin-left: 0;
  }
  .music-controls input {
    width: 100px;
  }
}
#music-audio {
  display: none;
}
#portfolio-music .track-button {
  pointer-events: auto;
  cursor: pointer;
}
#portfolio-music .music-group audio {
  height: 24px;
  margin-left: 8px;
}
@media (max-width: 980px) {
  #portfolio-music .music-group audio {
    flex-basis: 104px;
    width: 104px;
  }
}
#portfolio-music .music-controls {
  display: none;
}
#portfolio-music .music-group audio {
  display: block;
}
#portfolio-music.music-enhanced .music-controls {
  display: flex;
}
#portfolio-music.music-enhanced .music-group audio {
  display: none;
}
#music-player.music-enhanced .music-controls {
  display: flex;
}
#music-player.music-enhanced .music-group audio {
  display: none;
}
#portfolio-music .music-group li {
  flex-wrap: wrap;
  align-items: center;
}
#portfolio-music .music-group .track-button {
  flex: 1 1 calc(100% - 70px);
}
#portfolio-music .music-group .track-duration {
  flex: 0 0 auto;
}
#portfolio-music .music-group audio {
  flex: 0 0 100%;
  width: calc(100% - 16px);
  margin: 3px 0 3px 16px;
}
#music-player .music-native {
  display: block;
  width: 100%;
  height: 34px;
  margin: 0 0 8px;
}
#music-player.music-enhanced .music-native {
  display: none;
}
#music-player .music-group audio {
  display: none !important;
}
#portfolio-music .track-button.is-selected,
#portfolio-music .track-button.is-playing {
  color: #fff;
  background: linear-gradient(90deg, rgba(40, 125, 131, 0.9), transparent) !important;
  padding-left: 8px;
}
.music-controls {
  display: block !important;
  text-align: center;
  padding: 8px 0 10px;
}
.music-current {
  display: flex;
  justify-content: center;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 8px;
  color: #d8e9eb;
}
#music-now-playing {
  font-size: 1.05em;
}
#music-time {
  color: #b9d7ff;
  font-size: 0.9em;
  white-space: nowrap;
}
.music-transport {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 7px;
  flex-wrap: wrap;
}
.music-transport label {
  margin-left: 8px;
  color: #b9d7ff;
  font-size: 0.85em;
}
.music-transport input {
  width: 110px;
}
#portfolio-music .music-group li {
  padding-left: 0;
}
#portfolio-music .music-group .track-button.is-selected,
#portfolio-music .music-group .track-button.is-playing {
  width: 100%;
  padding-left: 16px;
  padding-right: 16px;
}

#music-player.is-youtube :is(#music-toggle, #music-time, label[for="music-volume"], #music-volume) {
  display: none;
}
#music-youtube iframe {
  display: block;
  width: 100%;
  min-width: 200px;
  height: auto;
  min-height: 200px;
  aspect-ratio: 16/9;
  border: 0;
}
#music-youtube p,
.music-playlist-link {
  text-align: center;
  font-size: 0.9em;
}
#music-abyssos .track-button[data-youtube]::after {
  content: "YouTube";
  margin-left: 0.6em;
  color: #b9d7ff;
  font-size: 0.75em;
}
.portfolio-artwork-gallery,
.project-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 0 0 16px;
}
.portfolio-artwork-gallery .image-trigger,
.project-gallery .image-trigger {
  min-width: 0;
}
.portfolio-artwork-gallery img,
.project-gallery img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}
@media (max-width: 760px) {
  .portfolio-artwork-gallery,
  .project-gallery {
    grid-template-columns: 1fr;
  }
}

.lightbox-close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 102;
  padding: 4px 10px;
  border: 1px solid #5797a1;
  background: #061a28;
  color: #e0fbff;
  font: 24px/1 Akasha;
  cursor: pointer;
}
.lightbox-close:focus-visible,
.image-trigger:focus-visible {
  outline: 2px solid #8deeff;
  outline-offset: 3px;
}
