@font-face {
  font-family: "Google Sans";
  src: url(google-sans.ttf) format("truetype");
  font-weight: 400 700;
  font-display: swap;
}
:root {
  color-scheme: dark;
  --bg: var(--colors-bg, #171920);
  --line: var(--colors-line, #393c45);
  --paper: var(--colors-paper, #fff0cf);
  --gold: var(--colors-gold, #ffbe70);
  --mint: var(--colors-mint, #88d3b7);
  --muted: var(--colors-muted, #c0bdba);
  --sans: "Google Sans", system-ui, sans-serif;
}
/* Shared Google Sans scale: utility, reading text, lead/section titles, display. */
:root {
  --type-small: 0.875rem;
  --type-body: 1.0625rem;
  --type-lead: clamp(1.125rem, 1.85vw, 1.25rem);
  --type-display: 1.75rem;
}
@media (max-width: 359px) {
  :root { --type-display: 1.4rem; }
}
@media (min-width: 900px) {
  :root { --type-display: 2rem; }
}
@media (min-width: 1100px) {
  :root { --type-display: 2.5rem; }
}
* {
  box-sizing: border-box;
}
body {
  isolation: isolate;
  margin: 0;
  background: var(--bg);
  color: var(--paper);
  font: var(--type-body)/1.6 var(--sans);
}
.wrap {
  width: min(var(--layout-content_width, 1090px), 90%);
  margin: auto;
}
a {
  color: inherit;
  text-underline-offset: 4px;
}
a:hover,
summary:hover {
  color: var(--gold);
}
:focus-visible {
  outline: 3px solid var(--mint);
  outline-offset: 4px;
}
.bar,
nav,
.sectionhead,
.footer-links {
  display: flex;
  align-items: center;
}
.bar {
  min-height: 75px;
  justify-content: space-between;
  gap: 20px;
}
.brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  color: var(--paper);
}
.site-logo {
  width: 36px;
  height: auto;
  display: block;
}
nav {
  gap: 25px;
}
nav a,
.footer-links a {
  font-size: var(--type-small);
  text-decoration: none;
}
.hero {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 8%;
  padding: 65px 0 0;
}
small {
  font-size: var(--type-small);
}
.tag {
  color: var(--mint);
  display: flex;
  align-items: center;
  gap: 10px;
}
h1,
h2,
h3 {
  font-weight: 400;
}
h1 {
  overflow-wrap: anywhere;
  font-size: var(--type-display);
  line-height: 1.03;
  margin: 22px 0;
}
.intro > p {
  font-size: var(--type-lead);
  line-height: 1.45;
  color: var(--muted);
  max-width: 510px;
}
figure {
  margin: 0;
}
.scene {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1.21;
  background: #49566b url(scrolling-landscape.svg) center bottom/cover no-repeat;
}
.scene img {
  position: absolute;
  bottom: -1%;
  left: 12%;
  width: 76%;
  height: auto;
}
.portfolio-section {
  padding: 38px 0;
  scroll-margin-top: 15px;
}
.sectionhead {
  gap: 15px;
  margin-bottom: 24px;
}
.year {
  color: var(--mint);
}
h2 {
  font-size: var(--type-lead);
  line-height: 1.1;
  margin: 0;
}
.timeline,
.history {
  padding: 0;
  margin: 0;
  list-style: none;
}
.timeline li,
.history li {
  overflow-wrap: anywhere;
  display: grid;
  grid-template-columns: 135px 1fr;
  gap: 20px;
  padding: 18px 0;
}
.timeline li + li,
.history li + li {
  border-top: 1px dashed var(--line);
}
.year {
  padding-top: 2px;
  font-size: var(--type-body);
  font-variant-numeric: tabular-nums;
}
.timeline h3 {
  font-size: var(--type-lead);
  margin: 0;
}
.timeline p,
.history p,
.up > p:not(.tag) {
  color: var(--muted);
  margin: 3px 0 0;
}
.up {
  padding: 32px 40px;
  background: #1b202d url(digitized-stage.svg) right bottom / auto 100% no-repeat;
}
.up .tag {
  margin: 0;
}
.up h3 {
  font-size: var(--type-display);
  margin: 8px 0 0;
  line-height: 1;
}
.up a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font: inherit;
  color: var(--gold);
}
dl {
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 10px;
  margin: 20px 0;
}
dt {
  color: var(--mint);
}
dd {
  margin: 0;
}
details {
  margin-top: 20px;
}
summary::-webkit-details-marker {
  display: none;
}
details[open] > summary svg {
  transform: rotate(90deg);
}
summary {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
  cursor: pointer;
  padding: 14px 0;
  font-weight: 650;
}
summary small {
  color: var(--muted);
}
.socials {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
.socials a {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--line);
  padding: 13px 16px;
  text-decoration: none;
}
.socials svg {
  flex: none;
  color: var(--mint);
}
footer {
  padding: 25px 0 40px;
}
.footer-links {
  gap: 22px;
  margin-top: 24px;
}
.footer-links a:last-child {
  margin-left: auto;
}
@media (max-width: 700px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 32px 0 0;
  }
  .bar {
    flex-wrap: wrap;
    gap: 8px;
    padding: 15px 0;
  }
  nav {
    gap: 14px;
  }
  .hero figure {
    max-width: 420px;
    width: 100%;
    justify-self: center;
  }
  .timeline li,
  .history li {
    grid-template-columns: 79px 1fr;
    gap: 10px;
  }
  .socials {
    grid-template-columns: repeat(2, 1fr);
  }
  .sectionhead {
    gap: 8px;
  }
  .up {
    padding: 24px 24px 96px;
    background-size: auto 72px;
  }
  dl {
    display: block;
  }
  dd {
    margin-bottom: 10px;
  }
  .footer-links {
    gap: 14px;
    flex-wrap: wrap;
  }
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: var(--bg) url(pixel-night.svg) center bottom/cover no-repeat;
}

/* Vintage desktop monitor */
.crt-case {
  padding: 4% 4% 0;
  background: #bdbbae;
  border: 3px solid #79796f;
  border-radius: 16px 16px 11px 11px;
  box-shadow:
    inset 3px 3px #dfdbcc,
    inset -4px -4px #95958b;
}
.crt-bezel {
  padding: 2.5%;
  background: #343939;
  border: 4px solid;
  border-color: #85867c #d9d6c8 #e3dfd0 #8d8e84;
  border-radius: 12px;
}
.crt .scene {
  border-radius: 6% / 8%;
}
.crt .scene::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  background: repeating-linear-gradient(0deg, transparent 0 3px, #10191d14 3px 4px);
  box-shadow: inset 0 0 15px 4px #10191d65;
}
.crt-controls {
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 3%;
}
.crt-controls i {
  width: 49px;
  height: 8px;
  background: repeating-linear-gradient(90deg, #65675e 0 3px, transparent 3px 6px);
}
.crt-controls b {
  width: 18px;
  height: 8px;
  background: #96988c;
  border: 1px solid #777a70;
  box-shadow: inset 1px 1px #d6d4c6;
  position: relative;
}
.crt-controls b::before {
  content: "";
  position: absolute;
  right: 24px;
  top: 2px;
  width: 5px;
  height: 3px;
  background: #a7f7a0;
  box-shadow: 0 0 4px #97ce93;
}
.crt-foot {
  width: 47%;
  height: 16px;
  margin: auto;
  background: linear-gradient(#71746b 0 40%, #a5a697 40% 77%, #777a70 77%);
  clip-path: polygon(12% 0, 88% 0, 88% 40%, 100% 70%, 100% 100%, 0 100%, 0 70%, 12% 40%);
}

.crt-peripherals {
  display: block;
  position: relative;
  width: 100%;
  height: auto;
  margin-top: -5%;
}

.portfolio-events {
  padding-block: 0 38px;
}
.portfolio-events details {
  margin-top: 0;
}
.portfolio-featured:has(+ .portfolio-events) {
  padding-bottom: 20px;
}
.hero h2 {
  font-size: var(--type-display);
}
.bar nav {
  flex-wrap: wrap;
}
.skip-link:not(:focus) {
  position: absolute;
  clip-path: inset(50%);
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.hero .intro {
  min-width: 0;
}
.up dd {
  overflow-wrap: anywhere;
}
.socials a {
  min-width: 0;
  overflow-wrap: anywhere;
}

.nav-list,
.nav-list ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.nav-list {
  display: flex;
  align-items: center;
  gap: clamp(12px, 3vw, 25px);
  flex-wrap: wrap;
}
.nav-list li {
  position: relative;
}
.nav-list ul {
  padding-inline-start: 12px;
}
.site-logo {
  object-fit: contain;
}
