@charset "UTF-8";
html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
  display: block;
}

body {
  line-height: 1;
}

ol,
ul {
  list-style: none;
}

blockquote,
q {
  quotes: none;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
  content: "";
  content: none;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

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

:root {
  --accent-colour: #3c658d;
  --background-colour: #15151a;
  --background-alt-colour: #202026;
  --text-colour: #e0e0ea;
  --text-highlight-colour: #efefff;
  --text-alt-colour: #90909a;
  --link-colour: #7099c4;
}

:root {
  --border-radius: 10px;
  --small-space: 0.5rem;
  --medium-space: 2.5rem;
  --large-space: 5rem;
  --content-width: min(1600px, calc(100vw - 2 * var(--large-space)));
  --content-margin: calc((100vw - var(--content-width)) / 2);
}
@media (max-width: 1200px) {
  :root {
    --small-space: 0.5rem;
    --medium-space: 2rem;
    --large-space: 4rem;
  }
}
@media (max-width: 800px) {
  :root {
    --small-space: 0.4rem;
    --medium-space: 1rem;
    --large-space: 2rem;
  }
}
@media (max-width: 500px) {
  :root {
    --content-width: calc(100vw - 20px);
  }
}

.about {
  text-align: center;
}
.about * {
  text-align: left;
}
.about > :last-child {
  flex: 100%;
  margin-right: var(--small-space);
  padding-top: var(--small-space);
}
@media (max-width: 500px) {
  .about > :last-child {
    margin-right: 0;
  }
}
.about > :last-child p:first-child {
  margin-top: var(--small-space);
  margin-bottom: var(--small-space);
  font-size: var(--font-size-large);
  line-height: 1.8em;
}
.about > :last-child .drop {
  color: var(--text-highlight-colour);
  font-weight: 800;
  font-size: var(--font-size-xlarge);
}
.about > :last-child li {
  font-size: var(--font-size-regular);
}
.about > :last-child .interests {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-row-gap: var(--small-space);
}

.tcg-outer {
  float: right;
  position: relative;
  width: min-content;
  cursor: help;
  transform: rotate(4deg) translateY(40px);
  margin-left: var(--large-space);
  margin-bottom: var(--medium-space);
}
@media (max-width: 1200px) {
  .tcg-outer {
    float: none;
    margin-bottom: var(--large-space);
    margin-left: auto;
    margin-right: auto;
  }
}
@media (max-width: 800px) {
  .tcg-outer {
    transform: rotate(0deg);
  }
}
@media (max-width: 500px) {
  .tcg-outer {
    margin-bottom: 0;
  }
}
.tcg-outer .tcg-front {
  transform: rotateY(0deg);
}
.tcg-outer .tcg-back {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  transform: rotateY(180deg);
  background-color: var(--accent-colour);
}
.tcg-outer .tcg-back .tcg-back-emboss {
  position: absolute;
  font-size: var(--font-size-xlarge);
  top: 30%;
  left: 0;
  width: 100%;
  text-align: center;
  text-transform: uppercase;
  font-weight: bolder;
  color: color-mix(in srgb, var(--accent-colour), black 20%);
}
.tcg-outer .tcg-back .tcg-back-hello {
  position: absolute;
  margin: 0;
  bottom: 0;
  right: 0;
  font-size: var(--font-size-tiny);
  color: color-mix(in srgb, var(--accent-colour), black 20%);
}
.tcg-outer .tcg-flip {
  transform-style: preserve-3d;
  transition: transform 800ms 400ms;
}
.tcg-outer:hover .tcg-flip {
  transform: rotateY(180deg);
}
.tcg-outer .tcg-front,
.tcg-outer .tcg-back {
  outline: 1px solid transparent;
  border: 12px solid var(--accent-colour);
  border-radius: var(--border-radius);
  box-shadow: 20px 20px 5px black;
  backface-visibility: hidden;
}
@media (max-width: 500px) {
  .tcg-outer .tcg-front,
  .tcg-outer .tcg-back {
    box-shadow: 10px 10px 5px black;
  }
}
.tcg-outer .tcg-front::before,
.tcg-outer .tcg-back::before {
  position: absolute;
  top: -12px;
  left: -12px;
  right: -12px;
  bottom: -12px;
  content: " ";
  border-radius: var(--border-radius);
  transform: translateZ(1.41px);
  overflow: hidden;
  background-image: radial-gradient(
    farthest-corner circle at 300px 400px,
    hsla(0, 0%, 100%, 0.8) 10%,
    hsla(0, 0%, 100%, 0.65) 20%,
    hsla(0, 0%, 0%, 0.5) 90%
  );
  mix-blend-mode: overlay;
}
.tcg-outer .tcg-inner {
  width: 300px;
  margin: -4px;
  background-color: var(--background-alt-colour);
  border-radius: var(--border-radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: var(--font-size-tiny);
}
.tcg-outer .tcg-inner img {
  width: 100%;
  border-bottom: 6px solid var(--accent-colour);
}
.tcg-outer .tcg-inner .tcg-properties {
  width: 100%;
  display: grid;
  grid-template-columns: auto 1fr auto 1fr;
  padding: 10px;
  grid-column-gap: var(--small-space);
  align-items: baseline;
}
.tcg-outer .tcg-inner .tcg-properties dt {
  font-weight: bold;
  text-align: right;
}
.tcg-outer .tcg-inner .tcg-skills {
  margin: 0 10px;
  max-width: calc(100% - 20px);
  border-bottom: 0;
}
.tcg-outer .tcg-inner .tcg-skills td {
  border: 0;
  padding: 4px;
  font-size: var(--font-size-tiny);
}
.tcg-outer .tcg-inner .tcg-skills td:first-child {
  text-align: center;
}
.tcg-outer .tcg-inner .tcg-skills em {
  font-style: normal;
  font-weight: bold;
}
.tcg-outer .tcg-inner .tcg-skills em::before {
  display: none;
}
.tcg-outer .tcg-inner .tcg-skills em::after {
  display: none;
}
.tcg-outer .tcg-inner footer {
  width: 100%;
  border-top: 2px solid var(--accent-colour);
  margin-top: 10px;
  padding: 5px 10px 5px 10px;
  font-size: var(--font-size-tiny);
  font-style: italic;
  display: flex;
  justify-content: right;
}

.expandy {
  position: relative;
  display: inline-block;
  margin-right: -4px;
}
.expandy span {
  text-decoration: underline;
  text-decoration-skip-ink: none;
  text-decoration-color: var(--accent-colour);
  text-decoration-thickness: 1px;
  text-decoration-style: wavy;
  cursor: help;
}
.expandy .popup {
  position: absolute;
  display: none;
  top: 2em;
  left: calc(100% + 25px);
  z-index: 100;
  transition: display 300s;
  transition-property: allow-discrete;
}
.expandy .popup div {
  transition: opacity 100ms;
  background-color: var(--accent-colour);
  padding: var(--medium-space);
  min-width: 400px;
  border-radius: 20px;
}
.expandy .popup div ul {
  margin-top: var(--medium-space);
}
.expandy .popup::before,
.expandy .popup::after {
  content: "";
  display: block;
  position: absolute;
  border-radius: 100%;
  background-color: var(--accent-colour);
}
.expandy .popup::before {
  width: 15px;
  height: 15px;
  top: -20px;
  left: -30px;
  transition: opacity 100ms 200ms;
}
.expandy .popup::after {
  width: 20px;
  height: 20px;
  top: -10px;
  left: -15px;
  transition: opacity 100ms 100ms;
}
.expandy:has(span:hover) .popup,
.expandy:has(span:focus) .popup {
  display: block;
}
.expandy:has(span:hover) .popup div,
.expandy:has(span:focus) .popup div {
  transition: opacity 100ms 300ms;
}
.expandy:has(span:hover) .popup::before,
.expandy:has(span:focus) .popup::before {
  transition: opacity 100ms;
}
.expandy:has(span:hover) .popup::after,
.expandy:has(span:focus) .popup::after {
  transition: opacity 100ms 150ms;
}

@starting-style {
  .expandy .popup::before,
  .expandy .popup::after,
  .expandy .popup div {
    opacity: 0;
  }
}
article h2 {
  margin-bottom: 0;
}

.date {
  margin: var(--small-space) 0 var(--medium-space) 0;
  color: var(--text-alt-colour);
  padding-top: 0;
  font-size: var(--font-size-tiny);
  font-family: "Berkeley Mono", monospace;
  text-transform: uppercase;
}
.date::before {
  content: "// ";
}

hr.end-of-post {
  clear: both;
  border: 0;
  width: 100%;
  margin: var(--large-space) 0;
  height: var(--medium-space);
  background: repeating-linear-gradient(
    -45deg,
    var(--accent-colour) 0,
    var(--accent-colour) 10px,
    transparent 10px,
    transparent 20px
  );
}

@media (min-width: 1200px) {
  .e-content figure.right:first-child {
    margin-top: calc(-1 * (var(--font-size-xlarge) + var(--font-size-tiny) + var(--medium-space)));
  }
}
blockquote {
  padding: var(--small-space) calc(var(--content-margin) + var(--medium-space));
  background-color: var(--background-alt-colour);
  border-radius: 0;
  margin: 0 calc(-1 * var(--content-margin));
  width: 100vw;
  position: relative;
}
blockquote::before {
  position: absolute;
  top: var(--medium-space);
  left: var(--content-margin);
  content: "“";
  display: block;
  color: var(--accent-colour);
  font-size: var(--font-size-giant);
  line-height: var(--font-size-giant);
}
blockquote::after {
  position: absolute;
  bottom: 0;
  right: var(--content-margin);
  content: "”";
  display: block;
  color: var(--accent-colour);
  font-size: var(--font-size-giant);
  line-height: var(--font-size-giant);
}
blockquote p {
  margin-left: calc(var(--small-space) + 2ex);
  margin-right: calc(var(--small-space) + 2ex);
}

aside.update {
  clear: both;
  background-color: var(--background-alt-colour);
  border-radius: var(--border-radius);
  padding: var(--medium-space);
  border: 3px solid var(--accent-colour);
  box-shadow: 0 0 20px var(--accent-colour);
  margin: var(--large-space) 0;
}
aside.update ins {
  text-decoration: none;
}
aside.update h5 {
  text-transform: uppercase;
  color: var(--text-alt-colour);
  font-size: var(--font-size-large);
  margin-top: 0;
  margin-bottom: var(--small-space);
}
aside.update h5::before {
  font-size: var(--font-size-large);
  content: "";
  margin: 0;
}
aside.update h5 + p {
  margin-top: var(--small-space);
}
aside.update *:last-child {
  margin-bottom: 0;
}

aside.sidenote {
  border-left: 10px solid var(--background-alt-colour);
  padding-left: 15px;
}
aside.sidenote h5::before {
  content: "";
  margin: 0;
}

aside.old-post-warning {
  background: var(--background-alt-colour);
  padding: var(--small-space) var(--medium-space);
  margin: var(--medium-space) 0;
  border-radius: var(--border-radius);
}

iframe#contact {
  width: 100%;
  height: 500px;
}

p.disclaimer {
  font-size: var(--font-size-tiny);
}

figure {
  margin: var(--medium-space) var(--medium-space) var(--small-space) var(--medium-space);
  padding: var(--medium-space);
  border-radius: var(--border-radius);
  text-align: center;
  background-color: var(--background-alt-colour);
  max-width: 100%;
  font-family: "Chris Hand", sans-serif;
  font-size: var(--font-size-large);
  line-height: 1;
  text-transform: uppercase;
  color: var(--text-alt-colour);
  position: relative;
  z-index: 1;
}
figure img,
figure video {
  max-width: 100%;
  max-height: 100%;
  border-radius: var(--border-radius);
  height: auto;
}
@media (max-width: 500px) {
  figure {
    margin: 0;
  }
}
@media (min-width: 1200px) {
  figure.left {
    float: left;
    max-width: 30%;
    margin-left: calc(-1 * clamp(0px, var(--content-margin), 50px));
    transform: rotate(-2deg);
    margin-right: calc(var(--medium-space) * 1.5);
  }
  figure.left img,
  figure.left video {
    transform: rotate(1.5deg);
  }
  figure.right {
    float: right;
    max-width: 30%;
    margin-right: calc(-1 * clamp(0px, var(--content-margin), 50px));
    transform: rotate(2deg);
    margin-left: calc(var(--medium-space) * 1.5);
  }
  figure.right img,
  figure.right video {
    transform: rotate(-1.5deg);
  }
  figure.left,
  figure.right {
    position: relative;
    box-shadow: -5px 5px 10px var(--background-colour);
    margin-bottom: var(--medium-space);
  }
  figure.left::before,
  figure.left::after,
  figure.right::before,
  figure.right::after {
    content: "";
    display: block;
    position: absolute;
    left: calc(50% - 50px);
    width: 100px;
    height: 40px;
    background-color: var(--accent-colour);
    opacity: 0.15;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
  }
  figure.left::before,
  figure.right::before {
    top: -20px;
    transform: rotate(4deg);
  }
  figure.left::after,
  figure.right::after {
    bottom: -20px;
    transform: rotate(-8deg);
  }
}
figure figcaption {
  margin-top: var(--medium-space);
}
figure figcaption p {
  margin: 0;
}
figure.full {
  margin: var(--medium-space) calc(-1 * var(--content-margin));
  width: 100vw;
  max-width: 100vw;
  border-radius: 0;
}

:root {
  --font-size-tiny: 11pt;
  --font-size-small: 13pt;
  --font-size-regular: 16pt;
  --font-size-large: 19pt;
  --font-size-xlarge: 24pt;
  --font-size-giant: 40pt;
}
@media (max-width: 500px) and (min-resolution: 2dppx) {
  :root {
    --font-size-tiny: 8pt;
    --font-size-small: 9pt;
    --font-size-regular: 12pt;
    --font-size-large: 15pt;
    --font-size-xlarge: 20pt;
    --font-size-giant: 30pt;
  }
}

@font-face {
  font-family: "IBM Plex Sans";
  src:
    local("IBM Plex Sans"),
    url("IBMPlexSans-Regular.woff2") format("woff2"),
    url("IBMPlexSans-Regular.woff") format("woff");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Berkeley Mono";
  src:
    local("Berkeley Mono"),
    url("BerkeleyMono-Regular.woff2") format("woff2"),
    url("BerkeleyMono-Regular.woff") format("woff");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Chris Hand";
  src:
    url("ChrisHand-Regular.woff2") format("woff2"),
    url("ChrisHand-Regular.woff") format("woff");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}
body {
  font-size: var(--font-size-regular);
  font-family: "IBM Plex Sans", serif;
  line-height: 1.6;
}

h2,
h3,
h4,
h5,
h6 {
  font-family: "Chris Hand", sans-serif;
  font-size: var(--font-size-giant);
  color: var(--text-highlight-colour);
  margin: var(--medium-space) 0;
  line-height: 1;
}
h2:before,
h3:before,
h4:before,
h5:before,
h6:before {
  font-family: "Chris Hand", sans-serif;
  font-size: var(--font-size-giant);
  color: var(--accent-colour);
  margin-right: 0.5em;
}

h2:before {
  content: "#";
}

h3:before {
  content: "##";
}

h4:before {
  content: "###";
}

h5:before {
  content: "####";
}

h6:before {
  content: "#####";
}

p {
  margin: var(--medium-space) 0;
}

p code,
li code {
  background-color: var(--background-alt-colour);
  border-radius: var(--border-radius);
  padding: 0.1em 0.5em;
  font-family: "Berkeley Mono", monospace;
}

a {
  color: var(--text-highlight-colour);
  text-decoration: underline;
  text-decoration-color: var(--accent-colour);
  text-decoration-thickness: 4px;
  text-decoration-skip-ink: none;
  background: linear-gradient(to bottom, transparent 50%, var(--accent-colour) 50%) top;
  background-size: 100% 200%;
  line-height: 1;
  transition: background 1s ease-out;
}
a:hover,
a:active,
a:focus {
  background-position: bottom;
  transition-duration: 150ms;
}
a[href*="://"]:not([href*="://chameth.com"])::after
{
  content: "↗";
  font-family: "Berkeley Mono", monospace;
  color: var(--accent-colour);
}

.poem {
  font-family: "Berkeley Mono", monospace;
  background-color: var(--background-alt-colour);
  padding: 1em;
  margin: var(--medium-space) 0;
  border-radius: var(--border-radius);
}

.ascii-art {
  font-family: "Berkeley Mono", monospace;
  font-size: var(--font-size-tiny);
  color: var(--text-alt-colour);
}

em {
  font-style: italic;
}
em::before,
em::after {
  color: var(--accent-colour);
  font-size: var(--font-size-tiny);
  content: "_";
}

strong {
  font-weight: bold;
}

.footer-wave {
  display: block;
  margin-top: var(--large-space);
  height: 60px;
}

body > footer {
  margin-top: 0;
  padding: var(--small-space) var(--content-margin) var(--small-space) var(--content-margin);
  background-color: var(--background-alt-colour);
  display: grid;
  grid-template-columns: 1fr 1fr;
}
body > footer li p {
  font-family: "Berkeley Mono", monospace;
  font-size: var(--font-size-small);
  color: var(--text-alt-colour);
}
body > footer section:nth-child(2) {
  text-align: right;
}
body > footer section:nth-child(3) {
  margin-top: var(--medium-space);
  grid-column: 1 / span 2;
  text-align: center;
  font-family: "Berkeley Mono", monospace;
  font-size: var(--font-size-tiny);
}
@media (max-width: 500px) {
  body > footer section:nth-child(3) {
    text-align: left;
  }
  body > footer section:nth-child(3) p {
    margin-bottom: var(--medium-space);
  }
}
@media (max-width: 1000px) {
  body > footer {
    display: flex;
    flex-direction: column;
  }
  body > footer section:nth-child(2) {
    text-align: left;
  }
}
body > footer h2 {
  font-size: var(--font-size-xlarge);
}
body > footer h2::before {
  font-size: var(--font-size-xlarge);
}
body > footer ul,
body > footer a,
body > footer p {
  list-style-type: none;
  margin: 0;
  padding: 0;
}
body > footer li {
  margin-bottom: var(--small-space);
}
body > footer ul.icons {
  display: flex;
  flex-direction: row;
  justify-content: right;
  gap: 25px;
}
body > footer ul.icons a {
  background: none;
}
body > footer ul.icons a::after {
  display: none;
}
body > footer ul.icons svg {
  width: 48px;
  height: 48px;
  fill: var(--text-colour);
  transition: fill 150ms ease-out;
}
body > footer ul.icons svg:hover {
  fill: var(--link-colour);
}

body > header {
  padding: var(--small-space) 0;
  width: var(--content-width);
  margin: var(--large-space) auto 2em auto;
  display: flex;
  justify-content: space-between;
}
@media (max-width: 1200px) {
  body > header {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--medium-space);
  }
}
body > header > a {
  text-decoration: none;
}
body > header h1 {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  color: var(--text-highlight-colour);
  font-family: "Berkeley Mono", monospace;
  text-transform: uppercase;
  border-bottom: 4px solid var(--accent-colour);
}
body > header h1 .prelude {
  font-size: var(--font-size-small);
  line-height: 1;
  color: var(--text-alt-colour);
  text-decoration: none;
}
body > header h1 .title {
  font-size: var(--font-size-giant);
  line-height: 1;
}
body > header nav {
  display: flex;
  gap: 20px;
  align-items: flex-end;
}
body > header nav a {
  font-family: "Berkeley Mono", monospace;
  text-transform: uppercase;
  white-space: nowrap;
}
@media (max-width: 600px) {
  body > header nav {
    flex-direction: column;
    align-items: flex-start;
  }
}

/**
 * littlefoot 4.1.2, with modifications.
 *
 * The MIT License (MIT)
 *
 * Copyright (c) 2016 Chris Sauvé and Luís Rodrigues.
 *
 * Permission is hereby granted, free of charge, to any person obtaining a copy
 * of this software and associated documentation files (the "Software"), to deal
 * in the Software without restriction, including without limitation the rights
 * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
 * copies of the Software, and to permit persons to whom the Software is
 * furnished to do so, subject to the following conditions:
 *
 * The above copyright notice and this permission notice shall be included in all
 * copies or substantial portions of the Software.
 *
 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
 * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
 * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
 * SOFTWARE.
 */
@custom-media --breakpoint (width < 768px);
.littlefoot {
  --popover-background-color: var(--accent-colour);
  --popover-text-color: var(--text-colour);
  --popover-border: 0;
  --popover-border-radius: 0.5rem;
  --popover-max-height: 15em;
  --popover-max-width: 90%;
  --popover-horizontal-padding: calc(var(--medium-space) / 2);
  --popover-vertical-padding: calc(var(--medium-space) / 2);
  --popover-shadow: 8px 8px 8px #000000cc;
  --popover-transform-origin: 50% 0;
  --popover-transform: scale(0.1) translateZ(0);
  --popover-active-transform: scale(1) translateZ(0);
  --popover-transition: opacity 0.25s ease, transform 0.25s ease;
  --popover-width: 22em;
  --popover-scroll-indicator-color: var(--text-alt-colour);
  --popover-tooltip-size: 0.5rem;
  position: relative;
}

.littlefoot__popover {
  border: var(--popover-border);
  border-radius: var(--popover-border-radius);
  box-shadow: var(--popover-shadow);
  margin: calc(var(--popover-tooltip-size) + 1.25 * var(--font-size-regular)) 0;
  max-width: var(--popover-max-width);
  position: absolute;
  top: 0;
  transform-origin: var(--popover-transform-origin);
  transform: var(--popover-transform);
  transition: var(--popover-transition);
  width: var(--popover-width);
  z-index: 1;
}
.littlefoot__popover.is-above {
  bottom: 0;
  top: auto;
}
.littlefoot__popover.is-active {
  transform: var(--popover-active-transform);
}

.littlefoot__wrapper {
  border-radius: var(--popover-border-radius);
  position: relative;
  z-index: 1;
}

.littlefoot__content {
  -webkit-overflow-scrolling: touch;
  background-color: var(--popover-background-color);
  border-radius: var(--popover-border-radius);
  box-sizing: border-box;
  color: var(--popover-text-color);
  font-family: var(--popover-font-family, initial);
  font-size: var(--popover-font-size, initial);
  font-style: var(--popover-font-style, initial);
  font-weight: var(--popover-font-weight, initial);
  line-height: var(--popover-line-height, normal);
  max-height: var(--popover-max-height);
  overflow: auto;
  padding: var(--popover-vertical-padding) var(--popover-horizontal-padding);
  width: 100%;
}
.littlefoot__content img {
  max-width: 100%;
}
.littlefoot__content:focus {
  outline: none;
}
.littlefoot__content p {
  margin: 0;
}

.is-scrollable {
  --arrow-x: calc(-1 * var(--popover-horizontal-padding));
  --arrow-y: calc(var(--popover-vertical-padding) / 2);
}
.is-scrollable .littlefoot__content::after {
  bottom: 0;
  color: var(--popover-scroll-indicator-color);
  content: "⇣";
  display: block;
  left: 0;
  opacity: 1;
  position: sticky;
  text-align: center;
  transform: translateX(var(--arrow-x)) translateY(var(--arrow-y));
  transition: var(--popover-transition);
  width: var(--popover-horizontal-padding);
}
.is-scrollable.is-fully-scrolled .littlefoot__content::after {
  opacity: 0;
}

.littlefoot__tooltip {
  --tooltip-margin: calc(-1 * var(--popover-tooltip-size));
  background-color: var(--popover-background-color);
  border: var(--popover-border);
  box-shadow: var(--popover-shadow);
  height: calc(2 * var(--popover-tooltip-size));
  margin-left: var(--tooltip-margin);
  position: absolute;
  transform: rotate(45deg);
  width: calc(2 * var(--popover-tooltip-size));
}

.is-below .littlefoot__tooltip {
  top: var(--tooltip-margin);
}

.is-above .littlefoot__tooltip {
  bottom: var(--tooltip-margin);
}

@media (--breakpoint) {
  .littlefoot__popover {
    border-radius: 0;
    border-width: 1px 0 0;
    inset: auto 0 0 !important;
    margin: 0;
    max-width: 100% !important;
    position: fixed;
    transform: translateY(100%);
    width: 100%;
  }
  .littlefoot__popover.is-active {
    transform: translateY(0);
  }
  .littlefoot__wrapper {
    border-radius: 0;
    max-width: 100% !important;
    transform: none;
  }
  .littlefoot__tooltip {
    display: none;
  }
}
@media not print {
  .footnote-ref.littlefoot--print {
    display: none;
  }
}
@media print {
  .littlefoot__popover,
  .littlefoot__button {
    display: none;
  }
}
nav ol {
  display: flex;
  list-style-type: none;
  justify-content: center;
  gap: var(--medium-space);
  padding: 0;
  margin: var(--medium-space) 0 0 0;
}
@media (max-width: 800px) {
  nav ol {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--small-space);
  }
}
nav ol a[aria-current] {
  font-weight: bold;
}

nav.readmore {
  margin-top: var(--small-space);
}
nav.readmore a {
  font-family: "Berkeley Mono", monospace;
  text-transform: uppercase;
}

.excerpt::after {
  margin: var(--large-space) calc(-1 * var(--content-margin));
  width: 100vw;
  display: block;
  content: "";
  border-bottom: 2px solid var(--accent-colour);
  clear: both;
}
@media (min-width: 1200px) {
  .excerpt p.date + figure.right {
    margin-top: calc(-1 * (var(--font-size-large) + var(--font-size-tiny) + var(--medium-space)));
  }
}

.post-links {
  display: flex;
  gap: var(--medium-space);
  flex-direction: row;
}
@media (max-width: 1200px) {
  .post-links {
    flex-direction: column;
  }
}
.post-links .post-link {
  flex-basis: 200px;
  flex-grow: 1;
  text-decoration: none;
  background-color: var(--background-alt-colour);
  padding: calc(var(--small-space) + 25px) var(--small-space);
  mask:
    radial-gradient(33.54px at 50% 45px, #000 99%, rgba(0, 0, 0, 0) 101%) calc(50% - 30px) 0/60px 51% repeat-x,
    radial-gradient(33.54px at 50% -30px, rgba(0, 0, 0, 0) 99%, #000 101%) 50% 15px/60px calc(51% - 15px) repeat-x,
    radial-gradient(33.54px at 50% calc(100% - 45px), #000 99%, rgba(0, 0, 0, 0) 101%) calc(50% - 30px) 100%/60px 51%
      repeat-x,
    radial-gradient(33.54px at 50% calc(100% + 30px), rgba(0, 0, 0, 0) 99%, #000 101%) 50% calc(100% - 15px) / 60px
      calc(51% - 15px) repeat-x;
}
.post-links .post-link:hover {
  animation: wavey 1s linear infinite forwards 150ms;
}
.post-links .post-link:hover .img-holder img,
.post-links .post-link:hover .img-holder .placeholder {
  transform: scale(1.1);
}
@keyframes wavey {
  0% {
    mask-position:
      calc(50% - 30px) 0,
      50% 15px,
      calc(50% - 30px) 100%,
      50% calc(100% - 15px);
  }
  100% {
    mask-position:
      calc(50% + 30px) 0,
      calc(50% + 60px) 15px,
      calc(50% + 30px) 100%,
      calc(50% + 60px) calc(100% - 15px);
  }
}
.post-links .post-link article {
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: 200px auto;
  gap: var(--small-space);
}
.post-links .post-link article .img-holder {
  grid-row: 1;
  grid-column: 1;
  width: 100%;
  height: 200px;
  overflow: hidden;
}
.post-links .post-link article img,
.post-links .post-link article .placeholder {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 300ms ease-in-out;
}
.post-links .post-link article .placeholder {
  background-color: color-mix(in srgb, var(--accent-colour), black 40%);
  color: color-mix(in srgb, var(--accent-colour), black 30%);
  font-size: var(--font-size-giant);
  padding-bottom: 1em;
  overflow: hidden;
}
.post-links .post-link article .placeholder div {
  font-size: 60px;
  transform: rotate(10deg) translateX(-20px) translateY(-30px);
  white-space: nowrap;
}
.post-links .post-link article .placeholder div span {
  display: inline-block;
  transform: rotate(180deg) translateY(-4px);
  color: color-mix(in srgb, var(--accent-colour), black 48%);
}
.post-links .post-link article h3 {
  z-index: 1;
  grid-row: 1;
  grid-column: 1;
  margin: 0;
  padding: var(--small-space);
  font-size: var(--font-size-xlarge);
  font-weight: bold;
  line-height: 1em;
  align-self: end;
  box-sizing: content-box;
  height: 2em;
  overflow: hidden;
  background-color: color-mix(in srgb, var(--background-alt-colour) 80%, transparent);
}
.post-links .post-link article h3::before {
  display: none;
}
.post-links .post-link article p {
  position: relative;
  margin: 0;
  padding: 0;
  height: 6em;
  overflow: hidden;
  line-height: 1.2em;
  mask:
    linear-gradient(#000 0% 0%) top/100% calc(100% - 1.2em) no-repeat,
    linear-gradient(to left, rgba(0, 0, 0, 0), #000 50%) bottom/100% 1em no-repeat;
}

.print-list {
  display: flex;
  flex-direction: column;
  gap: 75px;
  padding-top: 50px;
  padding-bottom: 50px;
}

section.print {
  display: grid;
  grid-template-columns: 200px auto 200px;
  grid-gap: 20px;
}
@media (max-width: 800px) {
  section.print {
    grid-template-columns: 200px auto 200px;
  }
  section.print img:first-child {
    grid-area: 1/1;
  }
  section.print img:last-child {
    grid-area: 1/3;
  }
  section.print div {
    grid-area: 2/1/2/4;
  }
}
section.print img {
  max-width: 200px;
  max-height: 150px;
  justify-self: end;
}
section.print img:first-child {
  border: 1px solid var(--accent-colour);
  border-radius: 5px;
  justify-self: start;
}
section.print div {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
section.print * {
  margin: 0;
}
section.print ul {
  list-style-type: none;
  padding: 0;
  display: flex;
  gap: 25px;
}
section.print ul a {
  font-family: "Berkeley Mono", monospace;
  text-transform: uppercase;
  font-size: var(--font-size-small);
}
section.print ul a[href*=".stl"]::after,
section.print ul a[href*=".step"]::after {
  content: "↓";
  color: var(--accent-colour);
}

.projects {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-gap: var(--medium-space);
  margin-top: var(--medium-space);
}
@media (max-width: 800px) {
  .projects {
    grid-template-columns: repeat(1, 1fr);
  }
}
.projects .project {
  display: flex;
  flex-direction: column;
  height: 100%;
  background-color: var(--background-alt-colour);
  border-radius: var(--border-radius);
  padding: var(--medium-space);
}
.projects .project h4 {
  margin: 0;
  padding: 0;
}
.projects .project h4::before {
  display: none;
}
.projects .project p {
  flex-grow: 1;
}
.projects .project ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: var(--small-space);
  flex-direction: column;
}
.projects .project ul a {
  font-family: "Berkeley Mono", monospace;
  text-transform: uppercase;
  font-size: var(--font-size-small);
}

.snippets {
  columns: 400px 2;
  column-fill: balance;
}
.snippets section {
  margin-bottom: var(--medium-space);
  -webkit-column-break-inside: avoid;
  page-break-inside: avoid;
  break-inside: avoid;
}
.snippets h1,
.snippets h2,
.snippets h3,
.snippets h4,
.snippets h5,
.snippets h6 {
  margin-top: 0;
}
.snippets a {
  font-family: "Berkeley Mono", monospace;
  font-size: var(--font-size-small);
  text-decoration-thickness: 1px;
}

/**
 * Dracula Theme originally by Zeno Rocha [@zenorocha]
 * https://draculatheme.com/
 *
 * Ported for PrismJS by Albert Vallverdu [@byverdu]
 */
code[class*="language-"],
pre[class*="language-"] {
  color: #f8f8f2;
  background: none;
  text-shadow: 0 1px rgba(0, 0, 0, 0.3);
  font-family: "Berkeley Mono", monospace;
  font-size: var(--font-size-tiny);
  text-align: left;
  white-space: pre;
  word-spacing: normal;
  word-break: normal;
  word-wrap: normal;
  line-height: 1.5;
  -moz-tab-size: 4;
  -o-tab-size: 4;
  tab-size: 4;
  -webkit-hyphens: none;
  -moz-hyphens: none;
  -ms-hyphens: none;
  hyphens: none;
}

/* Code blocks */
pre[class*="language-"] {
  margin: var(--medium-space) calc(-1 * var(--content-margin));
  overflow: auto;
  border-radius: 0;
  width: 100vw;
  padding: var(--medium-space) calc(var(--content-margin) + var(--medium-space));
}

:not(pre) > code[class*="language-"],
pre[class*="language-"] {
  background: var(--background-alt-colour);
}

/* Inline code */
:not(pre) > code[class*="language-"] {
  padding: 0.1em;
  border-radius: 0.3em;
  white-space: normal;
}

.token.comment,
.token.prolog,
.token.doctype,
.token.cdata {
  color: #6272a4;
}

.token.punctuation {
  color: #f8f8f2;
}

.namespace {
  opacity: 0.7;
}

.token.property,
.token.tag,
.token.constant,
.token.symbol,
.token.deleted {
  color: #ff79c6;
}

.token.boolean,
.token.number {
  color: #bd93f9;
}

.token.selector,
.token.attr-name,
.token.string,
.token.char,
.token.builtin,
.token.inserted {
  color: #50fa7b;
}

.token.operator,
.token.entity,
.token.url,
.language-css .token.string,
.style .token.string,
.token.variable {
  color: #f8f8f2;
}

.token.atrule,
.token.attr-value,
.token.function,
.token.class-name {
  color: #f1fa8c;
}

.token.keyword {
  color: #8be9fd;
}

.token.regex,
.token.important {
  color: #ffb86c;
}

.token.important,
.token.bold {
  font-weight: bold;
}

.token.italic {
  font-style: italic;
}

.token.entity {
  cursor: help;
}

.table-holder {
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  margin: var(--medium-space) 0;
}

table {
  width: 100%;
  border-bottom: 1px solid var(--accent-colour);
}

td {
  padding: var(--small-space);
  font-size: var(--font-size-small);
}

th {
  border-bottom: 2px solid var(--accent-colour);
  padding: 0.4em;
  text-align: left;
  font-weight: bold;
  color: var(--text-alt-colour);
  text-transform: uppercase;
  font-family: "Berkeley Mono", monospace;
  font-size: var(--font-size-tiny);
}

tr:nth-child(2n) {
  background-color: var(--background-alt-colour);
}

body {
  background-color: var(--background-colour);
  color: var(--text-colour);
  display: flex;
  flex-direction: column;
  align-items: stretch;
  min-height: 100vh;
  min-width: 100vw;
  overflow-x: hidden;
}

main {
  width: var(--content-width);
  margin: 0 auto;
  flex-grow: 1;
}

hr {
  border: 0;
  border-top: 5px solid var(--accent-colour);
  margin: var(--large-space) 0;
  width: 100%;
}

ol {
  list-style-type: decimal;
  padding-left: 2em;
}
ol li {
  padding-left: 0.5em;
  margin-bottom: var(--small-space);
}

ul {
  list-style-type: disc;
  padding-left: 1.5em;
}

.footnote-ref {
  font-size: var(--font-size-tiny);
  vertical-align: super;
  padding: 0.2em;
}
.footnote-ref a {
  text-decoration-thickness: 2px;
}

*[hidden] {
  display: none;
}
