:root {
  color-scheme:dark;
  --bg:#050705;
  --green:#98c78b;
  --bright:#b9e6a6;
  --muted:#89a481;
  --line:#46613e;
  --panel:#101a0e;
  font-family:"Courier New",monospace;
  color:var(--green);
  background:var(--bg);
  font-synthesis:none
}

* {
  box-sizing:border-box
}
html {
  scroll-behavior:smooth;
  scroll-padding-top:30px
}
body {
  margin:0;
  font-size:13px;
  line-height:1.65
}
a {
  color:inherit;
  text-underline-offset:4px;
  text-decoration-thickness:1px
}
a:hover {
  color:var(--bg);
  background:var(--bright)
}
button {
  font:inherit;
  color:inherit
}
a,button {
  transition:background .18s,color .18s
}
a:focus-visible,button:focus-visible {
  outline:2px solid var(--bright);
  outline-offset:5px
}
::selection {
  background:var(--green);
  color:var(--bg)
}
p,h1,h2,h3,figure {
  margin:0
}
img {
  max-width:100%;
  display:block
}
button {
  border:0;
  background:none;
  padding:0;
  text-decoration:underline;
  text-underline-offset:4px
}
.skip-link {
  position:fixed;
  top:-100px;
  left:20px;
  background:var(--bright);
  color:var(--bg);
  padding:10px;
  z-index:10
}
.skip-link:focus {
  top:12px
}
.page {
  max-width:1360px;
  margin:82px auto 30px;
  border:1px solid var(--line);
  width:calc(100% - 80px);
  position:relative
}
.masthead {
  position:relative;
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:0 28px;
  height:74px;
  border-bottom:1px solid var(--line)
}
.masthead-note,.masthead nav {
  position:relative;
  font-size:11px
}
.masthead nav {
  display:flex;
  gap:13px
}
.name {
  position:absolute;
  left:50%;
  top:-71px;
  transform:translateX(-50%);
  width:390px;
  height:140px;
  background:var(--bg);
  display:grid;
  place-items:center;
  font-size:38px;
  font-weight:normal;
  line-height:1;
  font-family:Georgia,serif;
  pointer-events:none
}
.name canvas {
  position:absolute;
  inset:0;
  width:100%;
  height:100%
}
.name.ready .name-fallback {
  position:absolute;
  width:1px;
  height:1px;
  overflow:hidden;
  clip-path:inset(50%)
}
.page-content {
  padding:0 28px
}
.edition {
  display:flex;
  justify-content:space-between;
  gap:20px;
  font-size:10px;
  text-transform:uppercase;
  letter-spacing:1.2px;
  padding:15px 0;
  border-bottom:4px solid var(--line)
}
.about {
  display:grid;
  grid-template-columns:27% 1fr;
  gap:36px;
  padding:32px 0 36px;
  align-items:center
}
.portrait {
  border-right:1px solid var(--line);
  padding-right:28px
}
.portrait img {
  width:100%;
  aspect-ratio:1/1.07;
  object-fit:cover;
  filter:grayscale(.5);
  transition:filter .4s
}
/* .portrait:hover img {
  filter:grayscale(0)
} */
figcaption {
  font-size:10px;
  margin-top:12px;
  color:var(--muted)
}
.eyebrow {
  font-size:10px;
  text-transform:uppercase;
  letter-spacing:1.5px;
  margin-bottom:14px
}
.intro h2 {
  font-family:Georgia,"Times New Roman",serif;
  font-size:clamp(28px,3.1vw,44px);
  font-weight:normal;
  line-height:1.12;
  letter-spacing:-1.2px;
  color:var(--bright);
  margin-bottom:20px
}
.intro h2 em {
  font-weight:normal;
  font-size:70%
}
.intro>p:not(.eyebrow) {
  max-width:680px;
  color:var(--muted);
  font-size:12px;
  line-height:1.8
}
.social-links {
  display:flex;
  gap:26px;
  margin-top:20px;
  font-size:12px
}
.section-heading {
  border-top:3px double var(--green);
  padding:17px 0;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:15px
}
.section-heading h2 {
  font-size:13px;
  font-weight:normal
}
.section-heading h2 span {
  font-size:20px;
  margin-right:9px
}
.section-heading>span {
  font-size:10px;
  color:var(--muted)
}
.project-grid {
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  padding-bottom:30px
}
.project {
  padding:0 20px;
  border-right:1px solid var(--line);
  display:flex;
  flex-direction:column
}
.project:first-child {
  padding-left:0
}
.project:last-child {
  padding-right:0;
  border:0
}
.project-art {
  height:auto;
  aspect-ratio:1.5;
  overflow:hidden;
  position:relative;
  background:var(--panel);
  border:1px solid #30462a;
  transition:border-color .25s
}
.project:hover .project-art {
  border-color:var(--bright)
}
.project-meta {
  display:flex;
  justify-content:space-between;
  gap:8px;
  text-transform:uppercase;
  font-size:8px;
  letter-spacing:.6px;
  margin:17px 0 7px;
  color:var(--muted)
}
.project h3 {
  font-family:Georgia,serif;
  font-size:27px;
  line-height:1.2;
  letter-spacing:-.6px;
  font-weight:normal;
  margin-bottom:12px;
  color:var(--bright)
}
.project>p {
  font-size:11px;
  line-height:1.8;
  color:var(--muted)
}
.project .tech {
  font-size:9px;
  margin:15px 0 20px
}
.project-link,.project-status {
  font-size:11px;
  margin-top:auto;
  align-self:flex-start
}
.project-link span,.project-status span {
  font-size:17px;
  margin-right:6px
}
.project-status {
  color:var(--muted)
}
.art-caption {
  position:absolute;
  bottom:12px;
  left:16px;
  font-size:8px
}
.portfolio-art {
  display:flex;
  align-items:center;
  justify-content:center;
  background:radial-gradient(ellipse at center,#20351a,#0b1009)
}
.mini-site {
  width:79%;
  border:1px solid #6d925e;
  padding:10px 12px;
  transform:rotate(-6deg);
  background:#080e06
}
.mini-title {
  font:19px Georgia,serif;
  text-align:center
}
.mini-rule {
  height:3px;
  border-top:1px solid;
  border-bottom:1px solid;
  margin:8px 0
}
.mini-layout {
  display:flex;
  gap:13px;
  align-items:center
}
.mini-orbit {
  font:italic 45px Georgia,serif;
  width:66px;
  line-height:60px;
  text-align:center;
  border:1px solid #658957;
  border-radius:50%
}
.mini-copy {
  font-size:8px;
  flex:1
}
.mini-copy i {
  display:block;
  height:1px;
  background:#56714b;
  margin-top:6px
}
.mini-bottom {
  display:flex;
  justify-content:space-between;
  font-size:6px;
  border-top:1px solid #658957;
  margin-top:9px;
  padding-top:5px
}
.lab-art {
  background:#a7be92;
  color:#162211;
  padding:17px
}
.lab-label {
  font-size:6px;
  letter-spacing:1px;
  position:relative;
  z-index:1
}
.lab-title {
  position:relative;
  font:clamp(34px,4vw,58px)/.88 Georgia,serif;
  letter-spacing:-3px;
  margin-top:18px;
  z-index:1
}
.lab-title em {
  padding-left:24px
}
.lab-grid {
  position:absolute;
  inset:0;
  background-image:linear-gradient(#22371b14 1px,transparent 1px),linear-gradient(90deg,#22371b14 1px,transparent 1px);
  background-size:23px 23px
}
.lab-circle {
  position:absolute;
  width:54%;
  aspect-ratio:1;
  right:-7%;
  top:24%;
  border:1px solid #567048;
  border-radius:50%;
  box-shadow:0 0 0 10px #56704822,0 0 0 20px #56704822,0 0 0 30px #56704822
}
.typewar-art {
  background:repeating-linear-gradient(0deg,#0a1209 0px,#0a1209 2px,#101b0d 3px,#101b0d 4px);
  padding:14px;
  color:#9ed885
}
.terminal-label,.terminal-bottom {
  display:flex;
  justify-content:space-between;
  font-size:7px;
  letter-spacing:1px
}
.terminal-label {
  border-bottom:1px solid #405b34;
  padding-bottom:7px
}
.typewar-title {
  font-size:clamp(28px,3.5vw,50px);
  font-weight:bold;
  line-height:1;
  letter-spacing:-3px;
  margin-top:16px;
  text-shadow:2px 0 #9ed88533
}
.typewar-title span {
  font-weight:normal
}
.typewar-title b {
  font-weight:normal
}
.terminal-bottom {
  position:absolute;
  bottom:12px;
  left:14px;
  right:14px;
  font-size:6px;
  letter-spacing:0
}
.offscreen {
  display:grid;
  grid-template-columns:1fr 1.7fr 1fr;
  gap:28px;
  padding:25px 0;
  border-top:1px solid var(--line);
  align-items:start
}
.offscreen h2 {
  font:24px/1.2 Georgia,serif;
  max-width:190px;
  font-weight:normal;
  color:var(--bright)
}
.offscreen p {
  font-size:11px;
  color:var(--muted)
}
.offscreen>a {
  font-size:11px;
  justify-self:end
}
footer {
  display:flex;
  flex-wrap:wrap;
  justify-content:space-between;
  gap:15px;
  border-top:3px double var(--line);
  padding:18px 0;
  font-size:9px;
  color:var(--muted)
}
.static-strip {
  height:54px;
  margin:0 -28px;
  overflow:hidden;
  border-top:1px solid var(--line);
  background:repeating-linear-gradient(23deg,#101d0c 0 1px,#36532a 1px 2px,#050705 2px 4px)
}
.static-strip canvas {
  display:block;
  width:100%;
  height:100%;
  opacity:.55
}

@media(hover:hover) and (pointer:fine) {
  html,body,a,button {
  cursor:url('./cursor-green.png') 8 8,auto
}

}

@media(min-width:1500px) {
  .page {
  margin-top:95px
}

}

@media(max-width:1050px) {
  .masthead-note {
  max-width:150px
}
.masthead nav {
  gap:8px;
  font-size:10px
}
.name {
  width:330px
}
.about {
  gap:26px
}
.project {
  padding:0 14px
}
.project h3 {
  font-size:23px
}
.project-meta {
  flex-direction:column;
  gap:0
}
.mini-orbit {
  font-size:30px;
  width:40px;
  line-height:40px
}
.offscreen {
  grid-template-columns:1fr 2fr
}
.offscreen>a {
  grid-column:2;
  justify-self:start
}

}

@media(max-width:850px) {
  .page {
  width:calc(100% - 32px);
  margin-top:75px
}
.page-content {
  padding:0 18px
}
.masthead {
  height:87px;
  align-items:flex-end;
  padding:0 18px 13px
}
.name {
  width:310px;
  max-width:calc(100% - 22px);
  height:120px;
  top:-65px
}
.masthead-note {
  max-width:none;
  font-size:9px
}
.masthead nav {
  font-size:10px
}
.edition {
  font-size:8px;
  letter-spacing:.5px
}
.edition-mark {
  display:none
}
.about {
  grid-template-columns:100px 1fr;
  gap:20px;
  padding-top:24px;
  align-items:start
}
.portrait {
  padding:0;
  border:0
}
.portrait img {
  aspect-ratio:1/1.2
}
.portrait figcaption {
  font-size:8px
}
.intro h2 {
  font-size:29px;
  letter-spacing:-.7px
}
.eyebrow {
  font-size:8px;
  margin-bottom:10px
}
.intro>p:not(.eyebrow) {
  font-size:11px
}
.social-links {
  gap:16px;
  font-size:10px;
  flex-wrap:wrap
}
.section-heading>span {
  font-size:8px
}
.project-grid {
  grid-template-columns:1fr;
  gap:26px
}
.project,.project:first-child,.project:last-child {
  padding:0 0 25px;
  border:0;
  border-bottom:1px solid var(--line)
}
.project:last-child {
  padding-bottom:0;
  border:0
}
.project-art {
  aspect-ratio:1.8
}
.project-meta {
  flex-direction:row;
  font-size:9px
}
.project h3 {
  font-size:30px
}
.project>p {
  font-size:12px
}
.project .tech {
  margin:12px 0
}
.project-link,.project-status {
  font-size:12px
}
.mini-site {
  max-width:320px;
  padding:16px
}
.mini-title {
  font-size:27px
}
.mini-orbit {
  font-size:50px;
  width:70px;
  line-height:65px
}
.mini-copy {
  font-size:11px
}
.mini-bottom {
  font-size:8px
}
.lab-title {
  font-size:70px
}
.lab-label {
  font-size:9px
}
.art-caption {
  font-size:10px
}
.typewar-title {
  font-size:64px;
  margin-top:22px
}
.terminal-label {
  font-size:10px
}
.terminal-bottom {
  font-size:9px
}
.offscreen {
  grid-template-columns:1fr;
  gap:14px
}
.offscreen h2 {
  max-width:none
}
.offscreen>a {
  grid-column:auto
}
.static-strip {
  margin:0 -18px
}
footer {
  font-size:9px;
  gap:12px
}
footer>span:nth-child(2) {
  display:none
}

}

@media(max-width:420px) {
  .masthead-note {
  font-size:8px;
  max-width:90px
}
.about {
  grid-template-columns:1fr
}
.portrait {
  display:grid;
  grid-template-columns:76px 1fr;
  align-items:end;
  gap:15px
}
.portrait img {
  width:76px;
  aspect-ratio:1
}
.portrait figcaption {
  font-size:10px
}
.intro h2 {
  font-size:32px
}
.section-heading>span {
  display:none
}
.lab-title {
  font-size:55px
}
.typewar-title {
  font-size:49px;
  margin-top:14px
}
.art-caption {
  font-size:8px
}
.terminal-bottom {
  font-size:7px
}

}

@media(prefers-reduced-motion:reduce) {
  html {
  scroll-behavior:auto
}
*,*::before,*::after {
  transition:none!important
}

}


/* Let responsive images size from CSS, not their HTML height attribute. */
.portrait img { height: auto; }
/* Equal artwork widths keep all three project titles aligned. */
@media (min-width: 851px) {
  .project-grid { gap: 40px; }
  .project, .project:first-child, .project:last-child { padding-left: 0; padding-right: 0; border-right: 0; position: relative; }
  .project:not(:last-child)::after { content: ''; position: absolute; top: 0; bottom: 0; right: -20px; width: 1px; background: var(--line); }
}
@media (max-width: 850px) {
  .masthead { height: 100px; }
}

/* Successful animations cover the original artwork, which stays as the fallback. */
.project-art .art-surface {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  z-index: 2;
}
.project-art.art-ready > :not(.art-surface) { display: none; }
.lab-art.art-ready, .typewar-art.art-ready { padding: 0; }
.lab-surface { background: #000; }
.lab-surface canvas { display: block; width: 100% !important; height: 100% !important; }
.project-art .type-surface {
  display: grid;
  place-items: center;
  background: #0b120a;
  color: #b9e6a6;
}
.type-word { display: block; line-height: 1.3; white-space: nowrap; letter-spacing: 0; font-weight: 400; }
.type-category { position: absolute; left: 16px; font: 9px/1.4 'Courier New', monospace; letter-spacing: 1px; }
.type-category { bottom: 18px; max-width: 48%; color: #89a481; letter-spacing: 0; }
