@font-face {
  font-family: "DM Mono";
  src: url("/fonts/dm-mono/DMMono-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "DM Mono";
  src: url("/fonts/dm-mono/DMMono-Medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Styrene A";
  src: url("/fonts/Styrene A/Styrene A-Regular-Web.woff2") format("woff2"),
       url("/fonts/Styrene A/Styrene A-Regular-Web.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Styrene A";
  src: url("/fonts/Styrene A/Styrene A-Bold-Web.woff2") format("woff2"),
       url("/fonts/Styrene A/Styrene A-Bold-Web.woff") format("woff");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Styrene A";
  src: url("/fonts/Styrene A/Styrene A-Light-Web.woff2") format("woff2"),
       url("/fonts/Styrene A/Styrene A-Light-Web.woff") format("woff");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Styrene A";
  src: url("/fonts/Styrene A/Styrene A-Thin-Web.woff2") format("woff2"),
       url("/fonts/Styrene A/Styrene A-Thin-Web.woff") format("woff");
  font-weight: 100;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Styrene A";
  src: url("/fonts/Styrene A/Styrene A-Medium-Web.woff2") format("woff2"),
       url("/fonts/Styrene A/Styrene A-Medium-Web.woff") format("woff");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: light dark;
  --fg: #111;
  --bg: #fff;
  --muted: #666;
  --gap: 1.5rem;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: "DM Mono", ui-monospace, "SF Mono", Menlo, monospace;
  color: var(--fg);
  background: var(--bg);
  line-height: 1.5;
}

a { color: inherit; text-decoration: none; }

body.is-home {
  background: #17181D;
  color: #E0DEDB;
}

.site-header {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.6rem 2rem 2rem;
}

.site-title {
  font-family: "Styrene A", sans-serif;
  font-weight: 400;
  font-size: 0.92rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding-bottom: 0.55em;
}

body.is-home .site-title { color: #B8B6B2; }
body.is-home .site-title:hover { color: #B366FF; }

.site-title:hover {
  color: #B366FF;
  background-repeat: repeat-x;
  background-position: 0 100%;
  background-size: 40px 10px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='10'%3E%3Cpath d='M0 5 Q10 0 20 5 T40 5' stroke='%23B366FF' stroke-width='2' fill='none' stroke-opacity='0.5'/%3E%3C/svg%3E");
  animation: squiggle-scroll 0.6s linear infinite;
}

.site-header nav a,
.site-header nav label.active { margin-left: 1.5rem; color: var(--muted); font-size: 1rem; font-family: "Styrene A", sans-serif; padding-bottom: 0.65em; }
.site-header nav a:first-child { margin-left: 0; }
.site-header nav label.active { cursor: pointer; }

.site-header nav a:hover {
  color: #B366FF;
  background-repeat: repeat-x;
  background-position: 0 100%;
  background-size: 40px 10px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='10'%3E%3Cpath d='M0 5 Q10 0 20 5 T40 5' stroke='%23B366FF' stroke-width='2' fill='none' stroke-opacity='0.5'/%3E%3C/svg%3E");
  animation: squiggle-scroll 0.6s linear infinite;
}

body.is-home .site-header nav a { color: #999; }
body.is-home .site-header nav a:hover { color: #B366FF; }

body.is-design .site-header nav a { color: var(--fg); }
body.is-design .site-header nav a:hover { color: #B366FF; }

.site-header nav a.active,
.site-header nav label.active,
body.is-home .site-header nav a.active,
body.is-home .site-header nav label.active {
  color: #B366FF;
  padding-bottom: 0.3em;
  background-repeat: repeat-x;
  background-position: 0 100%;
  background-size: 40px 2px;
  background-image: linear-gradient(rgba(179, 102, 255, 0.45), rgba(179, 102, 255, 0.45));
}

.site-header nav a.nav-icon {
  display: inline-flex;
  align-items: center;
  vertical-align: middle;
  position: relative;
  top: -2px;
  margin-left: 1rem;
  padding-bottom: 0;
}

.site-header nav a.nav-icon-first {
  margin-left: 2.2rem;
}

.nav-icons-group {
  display: contents;
}

.nav-footer-row {
  display: contents;
}

.site-header nav a.nav-icon:hover {
  background-image: none;
  animation: none;
}

.nav-icon svg {
  width: 1.3rem;
  height: 1.3rem;
}

.site-header nav a.nav-subscribe-btn {
  display: inline-block;
  vertical-align: middle;
  position: relative;
  top: -2px;
  margin-left: 1.25rem;
  color: #fff;
  background-color: #B366FF;
  background-image: none;
  background-size: 300% 300%;
  padding: 0.3em 0.85em;
  border-radius: 999px;
  font-size: 0.85rem;
  transition: background-color 0.15s ease;
}

.site-header nav a.nav-subscribe-btn:hover {
  color: #fff;
  background-image: linear-gradient(120deg, #B366FF, #FF6EC7, #FF4D6A, #B366FF);
  background-size: 300% 300%;
  animation: subscribe-gradient-move 3s ease infinite;
}

@keyframes subscribe-gradient-move {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

body.is-home .site-header nav a.nav-subscribe-btn,
body.is-home .site-header nav a.nav-subscribe-btn:hover,
body.is-design .site-header nav a.nav-subscribe-btn,
body.is-design .site-header nav a.nav-subscribe-btn:hover,
body.is-motion .site-header nav a.nav-subscribe-btn,
body.is-motion .site-header nav a.nav-subscribe-btn:hover {
  color: #fff;
}

body.is-home main { max-width: 1600px; }

main { padding: 0 2rem 4rem; max-width: 1200px; margin: 0 auto; }

.home-layout {
  padding-top: 2.25rem;
}

.home-statement {
  font-family: "Styrene A", sans-serif;
  font-weight: 300;
  font-size: clamp(1.8rem, 2.9vw, 2.45rem);
  line-height: 1.4;
  text-align: left;
  max-width: 950px;
  margin: 0 auto;
  color: #B8B6B2;
}

.home-statement p { margin: 0 0 3rem; }
.home-statement p:last-child { margin-bottom: 0; }
.home-statement a {
  color: inherit;
  text-decoration: none;
  padding-bottom: 0.18em;
  background-repeat: repeat-x;
  background-position: 0 100%;
  background-size: 40px 2px;
  background-image: linear-gradient(rgba(179, 102, 255, 0.5), rgba(179, 102, 255, 0.5));
}

.home-statement a:hover {
  color: #B366FF;
  background-size: 40px 10px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='10'%3E%3Cpath d='M0 5 Q10 0 20 5 T40 5' stroke='%23B366FF' stroke-width='2' fill='none' stroke-opacity='0.5'/%3E%3C/svg%3E");
  animation: squiggle-scroll 0.6s linear infinite;
}

@keyframes squiggle-scroll {
  from { background-position-x: 0; }
  to { background-position-x: 40px; }
}

.resume-layout {
  max-width: 1400px;
  margin: 0 auto;
  padding-bottom: 6rem;
  display: flex;
  flex-direction: column;
}

.resume-photo-col {
  display: block;
  order: -1;
}

.resume-photo {
  display: block;
  width: 100%;
  max-width: 260px;
  margin: 0 0 1.5rem;
}

.resume-content {
  text-align: left;
  max-width: 700px;
  margin: 4rem auto 0;
}

.resume-content h1 {
  font-family: "Styrene A", sans-serif;
  font-weight: 300;
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  line-height: 1.4;
  margin: 0 0 2rem;
  color: #B8B6B2;
}

.resume-content .resume-section-studies h1 {
  margin-bottom: 2.75rem;
}



.resume-divider {
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 3.5rem;
  margin-bottom: 3.5rem;
  width: 100%;
}

.resume-inline-image {
  display: block;
  width: 100%;
  max-width: 320px;
  height: auto;
  margin: 1rem 0 2.25rem;
  border-radius: 4px;
}

.resume-inline-image-crop {
  height: 240px;
  object-fit: cover;
}

.resume-inline-image-frame {
  height: 213px;
  overflow: hidden;
}

.resume-inline-image-zoomed {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.35);
}

@media (min-width: 1100px) {
  .resume-layout {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: center;
    gap: 4rem;
    padding-top: 1.5rem;
  }

  .resume-photo-col {
    display: block;
    flex-shrink: 0;
    order: -1;
  }

  .resume-photo {
    display: block;
    width: 320px;
    max-width: 320px;
    margin-top: 1.5rem;
  }

  .resume-photo-stack {
    margin-top: 1.5rem;
  }

  .resume-content {
    margin: 0;
  }

  .resume-inline-image {
    float: left;
    margin: -51px 4rem 1rem -384px;
  }

  .resume-inline-image-stack {
    clear: left;
    margin-top: 0;
  }

  .resume-divider {
    width: 1084px;
    margin-left: -384px;
  }
}

.resume-content p {
  font-family: "Styrene A", sans-serif;
  font-weight: 400;
  font-size: 1.13rem;
  line-height: 1.55;
  margin: 0 0 2.25rem;
  color: #B8B6B2;
}

.resume-content p:last-child { margin-bottom: 0; }

.resume-label {
  display: inline-block;
  font-family: "Styrene A", sans-serif;
  font-weight: 400;
  color: #B366FF;
  margin-bottom: 0.5rem;
}

.resume-list {
  margin-top: -1.25rem;
  margin-bottom: 2.25rem;
}

.resume-content p:has(.resume-label) + .resume-list {
  margin-top: -1.75rem;
}

.resume-list ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.resume-list li {
  font-family: "Styrene A", sans-serif;
  font-weight: 400;
  font-size: 1.13rem;
  line-height: 1.55;
  margin: 0 0 1rem;
  color: #B8B6B2;
}

.resume-list li:last-child { margin-bottom: 0; }

.resume-job-list li {
  margin-bottom: 0;
}

.resume-content a {
  color: inherit;
  text-decoration: underline;
  text-decoration-color: rgba(179, 102, 255, 0.45);
  text-underline-offset: 0.3em;
}

.resume-content a:hover { color: #B366FF; }

.home-images {
  margin-top: 7rem;
  display: flex;
  gap: 1.5rem;
}

.home-images-col {
  flex: 1;
  min-width: 0;
}

.home-images img {
  width: 100%;
  height: auto;
  display: block;
  margin-bottom: 1.5rem;
}

.home-image-link {
  display: block;
  margin-bottom: 1.5rem;
}

.home-image-link img {
  margin-bottom: 0;
}

.home-video {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  margin-bottom: 1.5rem;
}

.home-video iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.hero {
  margin-bottom: 3rem;
  max-width: 40em;
  font-size: 1.25rem;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--gap) calc(var(--gap) * 0.75);
}

.grid-item { display: block; }

.grid-item img,
.grid-item-placeholder {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: #eee;
  border-radius: 4px;
}

.grid-item-title {
  display: block;
  margin-top: 0.6rem;
  font-size: 0.95rem;
}

/* project page */

.project-back {
  display: inline-block;
  margin-bottom: 1.5rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.project-back:hover { color: var(--fg); }

.project-header { max-width: 40em; }

.project-header h1 { margin-bottom: 0.5rem; }

.project-summary {
  color: var(--muted);
  font-size: 1.1rem;
  margin-top: 0;
}

.project-cover {
  width: 100%;
  border-radius: 4px;
  margin: 2rem 0;
}

.project-body { max-width: 40em; }

.project-gallery {
  display: grid;
  gap: var(--gap);
  margin-top: 2rem;
}

.project-gallery img { width: 100%; border-radius: 4px; }

.site-footer {
  padding: 2rem;
  text-align: center;
  color: var(--muted);
  font-size: 0.85rem;
}

body.is-design {
  background: #F2F0EC;
  --fg: #111;
  --bg: #F2F0EC;
  --muted: #666;
}

body.is-design main {
  max-width: none;
  margin: 0;
}

body.is-motion {
  background: #17181D;
  --fg: #B8B6B2;
  --bg: #17181D;
  --muted: #8a8884;
}

body.is-motion main {
  max-width: none;
  margin: 0;
}

body.is-motion .site-title { color: #B8B6B2; }
body.is-motion .site-title:hover { color: #B366FF; }

body.is-motion .site-header nav a { color: #999; }
body.is-motion .site-header nav a:hover { color: #B366FF; }

body.is-motion .design-header-row { border-bottom-color: rgba(255, 255, 255, 0.12); }
body.is-motion .design-divider { border-top-color: rgba(255, 255, 255, 0.12); }

.design-content {
  max-width: 1400px;
  margin: 0 auto;
  padding-top: 0;
  margin-top: 0;
}

.design-content > p {
  font-family: "Styrene A", sans-serif;
  font-weight: 300;
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  line-height: 1.5;
  text-align: left;
  max-width: 900px;
  margin: 0 0 1.25rem;
}

.design-content > p a {
  color: inherit;
  text-decoration: underline;
  text-decoration-color: rgba(179, 102, 255, 0.45);
  text-underline-offset: 0.25em;
}

.design-content > p a:hover {
  color: #B366FF;
  text-decoration: none;
  padding-bottom: 0.18em;
  background-repeat: repeat-x;
  background-position: 0 100%;
  background-size: 40px 10px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='10'%3E%3Cpath d='M0 5 Q10 0 20 5 T40 5' stroke='%23B366FF' stroke-width='2' fill='none' stroke-opacity='0.5'/%3E%3C/svg%3E");
  animation: squiggle-scroll 0.6s linear infinite;
}

.design-header-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1.5rem;
  padding-bottom: 0.1rem;
  margin-bottom: 2rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.design-section-label {
  font-family: "Styrene A", sans-serif;
  font-weight: 500;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg);
}

.design-section-label-short {
  display: none;
}

.design-header-sub {
  font-family: "Styrene A", sans-serif;
  font-weight: 400;
  font-size: 0.95rem;
  color: var(--fg);
}

.design-header-sub a {
  color: inherit;
  text-decoration: underline;
  text-decoration-color: rgba(179, 102, 255, 0.45);
  text-underline-offset: 0.2em;
}

.design-header-sub a:hover { color: #B366FF; }

.design-divider {
  border: none;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  width: 100%;
  margin: 0 0 2rem;
}

.design-project {
  display: flex;
  align-items: flex-start;
  gap: 2.5rem;
  margin-bottom: 2rem;
}

.design-project > p {
  display: block;
  flex: 1 1 74%;
  min-width: 0;
  margin: 0;
}

.design-project > p > a {
  display: block;
}

.design-project-media {
  display: block;
  flex: 1 1 74%;
  min-width: 0;
  margin: 0;
}

.design-project-media > p {
  margin: 0;
}

.design-project-media-desktop,
.design-project-media-mobile {
  display: block;
}

.design-project-media-mobile {
  display: none;
}

.design-project-image {
  display: block;
  width: 100%;
  max-width: none;
  min-width: 0;
  flex: 1 1 74%;
  border-radius: 4px;
  margin: 0;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.design-project-video-native {
  aspect-ratio: 1982 / 1096;
}

.design-project-image-bottom {
  object-position: center bottom;
}

.design-project-image-top {
  object-position: center 20%;
}

.design-project-image-bw {
  filter: grayscale(100%);
}

.design-project-image-contain {
  object-fit: contain;
  background-color: #000;
}

.motion-grid {
  display: flex;
  gap: 2rem;
  margin-top: 1rem;
}

.motion-grid-col {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 2rem;
  flex: 1 1 0;
  min-width: 0;
  max-width: 100%;
}

.motion-item-wrapper {
  display: block;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  margin: 0;
}

.motion-item {
  display: block;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  margin: 0;
  border-radius: 4px;
}

video.motion-item {
  background-color: #000;
}

.motion-caption {
  font-family: "Styrene A", sans-serif;
  font-weight: 400;
  font-size: 0.95rem;
  color: var(--muted);
  margin: 0.5rem 0 0;
}

.motion-caption-mobile-only {
  display: none;
}

.motion-caption-desktop-only {
  margin-top: 0.5rem;
}

@media (max-width: 900px) {
  .motion-grid {
    flex-direction: column;
    gap: 1.5rem;
  }

  .motion-grid-col {
    display: contents;
  }
}

.design-project-text {
  flex: 1 1 26%;
  min-width: 0;
  padding-top: 0.5rem;
}

.design-project-text h3 {
  font-family: "Styrene A", sans-serif;
  font-weight: 300;
  color: var(--fg);
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  line-height: 1.3;
  margin: 0 0 1.5rem;
}

.design-project-text h3 a {
  color: inherit;
  text-decoration: underline;
  text-decoration-color: rgba(179, 102, 255, 0.45);
  text-underline-offset: 0.2em;
}

.design-project-text h3 a:hover { color: #B366FF; }

.design-project-text p {
  font-family: "Styrene A", sans-serif;
  font-weight: 400;
  font-size: 1.05rem;
  line-height: 1.55;
  margin: 0 0 1.25rem;
}

.design-project-text p:last-child {
  margin-bottom: 0;
}

.design-project-text p a {
  color: inherit;
  text-decoration: underline;
  text-decoration-color: rgba(179, 102, 255, 0.45);
  text-underline-offset: 0.2em;
}

.design-project-text p a:hover { color: #B366FF; }

.nav-toggle-checkbox {
  display: none;
}

.nav-toggle-label {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 26px;
  height: 22px;
  cursor: pointer;
  color: var(--muted);
}

body.is-home .nav-toggle-label,
body.is-motion .nav-toggle-label {
  color: #999;
}

body.is-design .nav-toggle-label {
  color: var(--fg);
}

.nav-toggle-label span {
  display: block;
  height: 2px;
  width: 100%;
  background-color: currentColor;
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

@media (max-width: 640px) {
  .site-title {
    font-size: 1.05rem;
    padding-bottom: 0;
  }

  .nav-toggle-label {
    display: flex;
    position: relative;
    z-index: 101;
  }

  .site-title {
    position: relative;
    z-index: 101;
  }

  .site-header nav {
    display: none;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    gap: 1rem;
    margin-top: 1.5rem;
  }

  .site-header nav a,
  .site-header nav label.active {
    margin-left: 0;
    font-size: 1.3rem;
  }

  .site-header nav a.nav-icon-first {
    margin-left: 0;
  }

  .site-header nav a.nav-icon {
    margin-left: 0;
  }

  .site-header nav a.active,
  .site-header nav label.active,
  body.is-home .site-header nav a.active,
  body.is-home .site-header nav label.active {
    padding-bottom: 0.65em;
    background-image: none;
  }

  .nav-icon svg {
    width: 2.2rem;
    height: 2.2rem;
  }

  .nav-footer-row {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    order: 2;
    margin-top: auto;
    padding-top: 2rem;
  }

  .nav-icons-group {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 1.25rem;
    order: 2;
  }

  .site-header nav a.nav-subscribe-btn {
    margin-left: 0;
    order: 1;
    font-size: 18.4px;
    padding: 0.5em 1.1em;
    background-image: linear-gradient(120deg, #B366FF, #FF6EC7, #FF4D6A, #B366FF);
    background-size: 300% 300%;
    animation: subscribe-gradient-move 3s ease infinite;
  }

  .nav-toggle-checkbox:checked ~ nav {
    display: flex;
    position: fixed;
    inset: 0;
    z-index: 100;
    justify-content: flex-start;
    align-items: flex-start;
    margin-top: 0;
    padding: 5.25rem 1.25rem 2rem;
    gap: 0.75rem;
    background: var(--bg);
    overflow-y: auto;
  }

  body:has(.nav-toggle-checkbox:checked) {
    overflow: hidden;
  }

  body.is-home .nav-toggle-checkbox:checked ~ nav,
  body.is-motion .nav-toggle-checkbox:checked ~ nav {
    background: #17181D;
  }

  .nav-toggle-checkbox:checked ~ .nav-toggle-label span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .nav-toggle-checkbox:checked ~ .nav-toggle-label span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle-checkbox:checked ~ .nav-toggle-label span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .site-header,
  main {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }

  .site-header {
    padding-top: 1.25rem;
    padding-bottom: 1.5rem;
  }

  body:has(.nav-toggle-checkbox:checked) .site-header {
    position: relative;
    z-index: 101;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }

  body.is-design:has(.nav-toggle-checkbox:checked) .site-header {
    border-bottom-color: rgba(0, 0, 0, 0.08);
  }

  .hero { font-size: 1.1rem; }

  .grid {
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  }

  .home-layout {
    padding-top: 1.5rem;
  }

  .home-statement {
    font-size: 1.4rem;
    line-height: 1.5;
  }

  .home-statement p {
    margin: 0 0 1.75rem;
  }

  .home-images {
    flex-direction: column;
    margin-top: 2.5rem;
    gap: 0;
  }

  .home-images-col {
    display: contents;
  }

  .home-img-1 { order: 1; }
  .home-img-5 { order: 2; }
  .home-img-9 { order: 3; }
  .home-img-3 { order: 4; }
  .home-img-2 { order: 5; }
  .home-video-deconstruct { order: 6; }
  .home-img-adobe { order: 7; }
  .home-video-relate { order: 8; }
  .home-img-taxes { order: 9; }
  .home-img-8 { order: 10; }
  .home-img-6 { order: 11; }

  .resume-layout {
    padding-top: 1rem;
  }

  .resume-content {
    margin-top: 0;
  }

  .resume-content h1 {
    font-size: 1.35rem;
    margin-bottom: 1.25rem;
  }

  .resume-section {
    display: flex;
    flex-direction: column;
  }

  .resume-section .resume-inline-image {
    order: -1;
    margin-bottom: 1.5rem;
  }

  .resume-inline-image-stack {
    display: none;
  }

  .resume-section .resume-list:has(+ div[style*="clear"]) {
    margin-bottom: 0.5rem;
  }

  .resume-photo {
    margin-bottom: 1.5rem;
  }

  .resume-job-list li {
    margin-bottom: 1rem;
  }

  .resume-section-speaking .resume-list li {
    margin-bottom: 1rem;
  }

  .resume-section-speaking .resume-list:not(:has(+ div[style*="clear"])) {
    margin-bottom: 1.25rem;
  }

  .resume-divider {
    margin-top: 1.75rem;
    margin-bottom: 1.75rem;
  }

  .resume-content p,
  .resume-list li {
    font-size: 1rem;
  }

  .design-content {
    padding-top: 1rem;
  }

  .design-header-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 2.6px;
    padding-bottom: 1.25rem;
    margin-bottom: 1.25rem;
  }

  .design-section-label-full {
    display: none;
  }

  .design-section-label-short {
    display: inline;
  }

  .design-header-row p {
    margin: 0;
  }

  body.is-projects .design-header-sub a {
    white-space: nowrap;
  }

  .design-project-media-desktop {
    display: none;
  }

  .design-project-media-mobile {
    display: block;
  }

  .design-project {
    flex-direction: column;
    gap: 24px;
    margin-bottom: 2rem;
  }

  .design-project:last-child {
    margin-bottom: 0;
  }

  .motion-caption {
    margin-top: 0.5rem;
  }

  .motion-caption-mobile-only {
    display: block;
  }

  .motion-fig-iceland { order: 1; }
  .motion-fig-paddleboard { order: 2; }
  .motion-fig-como-photo { order: 3; }
  .motion-fig-video { order: 4; }
  .motion-fig-lagos { order: 5; }
  .motion-fig-plane { order: 6; }
  .motion-fig-quarantined { order: 7; }
  .motion-fig-surgery { order: 8; }
  .motion-fig-hongkong { order: 9; }
  .motion-fig-montblanc { order: 10; }
  .motion-fig-chile { order: 11; }
  .motion-fig-portland { order: 12; }

  .motion-caption-desktop-only {
    display: none;
  }

  .design-project-text {
    padding-top: 0;
  }

  .design-project-text h3 {
    font-size: 1.35rem;
    margin-bottom: 1rem;
  }

  .design-project-text p {
    font-size: 0.95rem;
  }

  a {
    -webkit-tap-highlight-color: transparent;
  }

  .home-statement a:hover,
  .home-statement a:active {
    color: #B366FF;
    background-size: 40px 2px;
    background-image: linear-gradient(rgba(179, 102, 255, 0.5), rgba(179, 102, 255, 0.5));
    animation: none;
  }

  .resume-content a:active,
  .design-header-sub a:active,
  .design-project-text h3 a:active,
  .design-project-text p a:active,
  .site-header nav a:hover,
  .site-header nav a:not(.active):active {
    color: #B366FF;
    background-image: none;
    animation: none;
  }

  .site-header nav a.active:active {
    background-image: none;
    animation: none;
  }

  .design-content > p a:hover {
    color: #B366FF;
    text-decoration: underline;
    padding-bottom: 0;
    background-image: none;
    animation: none;
  }

  .site-title:hover,
  .site-title:active {
    color: #B366FF;
    background-image: none;
    animation: none;
  }

  .design-project-image,
  .motion-item,
  .home-images img {
    transition: transform 0.15s ease, opacity 0.15s ease;
  }

  a:active .design-project-image,
  a:active .motion-item,
  a:active img {
    transform: scale(0.97);
    opacity: 0.9;
  }
}

@media (prefers-color-scheme: dark) {
  :root { --fg: #eee; --bg: #111; --muted: #999; }
  .grid-item-placeholder { background: #222; }
}
