@font-face {
  font-family: "Indivisible";
  src: local("Indivisble-Light"), local("Indivisible-Light"), local("Indivisible Light");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Indivisible";
  src: local("Indivisble-Black"), local("Indivisible-Black"), local("Indivisible Black");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --body-bg: #0D181E;
  --ink: #0D181E;
  --ink-muted: rgba(13, 24, 30, 0.62);
  --ink-soft: rgba(13, 24, 30, 0.22);
  --light: #f4ead2;
  --deep-blue: #0D181E;
  --deep-brown: #514529;
  --ochre: #99782E;
  --about-bg: #99782E;
  --dark-green: var(--deep-brown);
  --yellow: var(--ochre);
  --pink: var(--deep-brown);
  --blue: var(--deep-blue);
  --active-bg: var(--body-bg);
  --font-light: "Indivisible", "Indivisble-Light", "Indivisible Light", Arial, sans-serif;
  --font-black: "Indivisible", "Indivisble-Black", "Indivisible Black", Arial Black, Arial, sans-serif;
  --mono: var(--font-light);
  --serif: var(--font-black);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--body-bg);
  color: var(--ink);
  font-family: var(--mono);
  font-size: 16px;
  font-weight: 300;
  line-height: 1.38;
  overflow-x: hidden;
  transition: background-color 280ms linear;
}

.home-page {
  --active-bg: var(--deep-blue);
  background-color: var(--active-bg);
}

.home-page .home-hero {
  color: var(--light);
}

.home-page .home-hero .brand-name {
  color: var(--light);
}

.home-page .home-hero .nav-pill {
  color: rgba(244, 234, 210, 0.76);
  border-color: rgba(244, 234, 210, 0.32);
}

.pink {
  background: var(--pink);
  color: var(--light);
}

.yellow {
  background: var(--yellow);
}

.blue {
  background: var(--blue);
  color: var(--light);
}

.brown {
  background: var(--deep-brown);
  color: var(--light);
}

img,
video {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

p,
h1,
h2,
figure {
  margin: 0;
}

button {
  font: inherit;
}

.home-hero {
  position: relative;
  isolation: isolate;
  min-height: 100svh;
  display: grid;
  grid-template-columns: minmax(220px, 400px) minmax(240px, 440px);
  align-items: center;
  justify-content: center;
  gap: 8vw;
  padding: 60px;
  overflow: hidden;
}

.intro-nav,
.page-nav {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: flex-start;
  gap: 24px;
}

.intro-nav {
  max-width: 620px;
}

.brand-link,
.brand-name {
  color: var(--deep-blue);
  font-family: var(--font-black);
  font-weight: 900;
  white-space: nowrap;
}

.pink .brand-name,
.blue .brand-name,
.brown .brand-name {
  color: var(--light);
}

.brand-link {
  text-decoration: none;
}

body:not(.about-page) {
  --active-bg: var(--deep-blue);
  background: var(--deep-blue);
  color: var(--light);
}

body:not(.about-page) .brand-name,
body:not(.about-page) .nav-pill,
body:not(.about-page) .filter-pill,
body:not(.about-page) .hobbies-list {
  color: var(--light);
}

body:not(.about-page) .nav-pill {
  border-color: rgba(244, 234, 210, 0.34);
}

body:not(.about-page) .selected-work-section,
body:not(.about-page) .project-page-gallery-section,
body:not(.about-page) .color-green,
body:not(.about-page) .color-yellow,
body:not(.about-page) .color-ochre,
body:not(.about-page) .color-pink,
body:not(.about-page) .color-brown,
body:not(.about-page).pink,
body:not(.about-page).yellow,
body:not(.about-page).blue,
body:not(.about-page).brown {
  background: var(--deep-blue);
  color: var(--light);
}

body:not(.about-page) .sample-status,
body:not(.about-page) .number-title,
body:not(.about-page) .project-description,
body:not(.about-page) figcaption {
  color: rgba(244, 234, 210, 0.64);
}

body:not(.about-page) .sample-status a,
body:not(.about-page) figcaption strong,
body:not(.about-page) .filter-pill.is-selected {
  color: var(--light);
}

body:not(.about-page) .filter-pill.is-selected {
  border-color: var(--light);
}

.about-page {
  background: var(--about-bg);
  color: var(--ink);
}

.intro-copy,
.nav-stack {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  width: min(100%, 430px);
  max-width: 430px;
}

.home-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  max-width: 430px;
}

.nav-stack h1 {
  font-family: var(--serif);
  font-size: 38px;
  font-weight: 900;
  line-height: 0.95;
}

.nav-pill,
.homepage-project-link,
.filter-pill {
  appearance: none;
  color: rgba(13, 24, 30, 0.68);
  background: transparent;
  border: 1px solid var(--ink-soft);
  border-radius: 999px;
  padding: 8px 12px;
  text-decoration: none;
  cursor: pointer;
  transition: color 180ms ease, border-color 180ms ease, background-color 180ms ease;
}

.nav-pill:hover,
.homepage-project-link:hover,
.filter-pill:hover,
.filter-pill.is-selected {
  color: var(--light);
  border-color: rgba(244, 234, 210, 0.65);
}

.pink .nav-pill,
.blue .nav-pill,
.brown .nav-pill {
  color: rgba(244, 234, 210, 0.74);
  border-color: rgba(244, 234, 210, 0.34);
}

.no-border {
  border-color: transparent;
  padding-left: 0;
}

.portrait-frame {
  position: relative;
  z-index: 2;
  justify-self: center;
  width: min(38vw, 390px);
  min-width: 250px;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border-radius: 0;
  box-shadow: none;
}

.portrait-frame img,
.about-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.samples-wrapper {
  margin-top: 0;
  position: relative;
  overflow: clip;
}

.sample-status {
  position: sticky;
  top: 18px;
  z-index: 5;
  width: fit-content;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  color: rgba(13, 24, 30, 0.55);
  pointer-events: none;
}

.sample-status a {
  color: var(--blue);
  pointer-events: auto;
  text-decoration: none;
}

.selected-work-section {
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 70px 40px;
}

.full-height {
  min-height: 100svh;
}

.dark-section {
  color: var(--light);
}

.color-green {
  background: var(--dark-green);
}

.color-yellow,
.color-ochre {
  background: var(--yellow);
}

.color-pink,
.color-brown {
  background: var(--pink);
}

.color-blue {
  background: var(--blue);
}

.color-brown,
.dark-section {
  color: var(--light);
}

.homepage-scroll {
  position: absolute;
  top: 70px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  max-width: 300px;
  color: rgba(244, 234, 210, 0.68);
  text-align: center;
  font-size: 14px;
  line-height: 1.8;
  text-decoration: none;
}

.homepage-scroll:hover {
  color: var(--light);
}

.homepage-media-wrapper {
  width: min(100%, 1200px);
  margin: 60px auto;
  position: relative;
}

.narrow-media {
  width: min(100%, 720px);
}

.homepage-media-wrapper.vertical-media {
  width: min(78vw, 430px);
  margin: 36px auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.media-video {
  width: 100%;
  height: 100%;
  aspect-ratio: 16 / 9;
  background: rgba(0, 0, 0, 0.22);
  object-fit: cover;
}

.homepage-media-wrapper.vertical-media .media-video {
  width: auto;
  max-width: 100%;
  height: min(70svh, 760px);
  aspect-ratio: 9 / 16;
  background: #000;
  object-fit: cover;
}

.project-media.vertical-media .media-video {
  width: 100%;
  height: auto;
  aspect-ratio: 9 / 16;
  background: #000;
  object-fit: cover;
}

.narrow-media .media-video,
.loops-grid .media-video {
  aspect-ratio: 4 / 3;
}

.homepage-project-link {
  display: inline-block;
  margin-top: 10px;
}

.homepage-project-link span,
.h2,
.project-grid-item-title,
.center-title {
  font-family: var(--serif);
  font-weight: 900;
}

.light-link {
  color: rgba(153, 120, 46, 0.92);
  border-color: rgba(153, 120, 46, 0.55);
}

.dark-section .homepage-project-link,
.color-brown .homepage-project-link {
  color: rgba(244, 234, 210, 0.76);
  border-color: rgba(244, 234, 210, 0.34);
}

.home-page .homepage-project-link {
  color: var(--light);
  border-color: rgba(244, 234, 210, 0.48);
}

.light-link:hover {
  color: var(--light);
}

.selected-work-container {
  width: min(100%, 1200px);
  min-height: 70svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.bottom-space {
  margin-bottom: 16vh;
}

.image-slot {
  width: 100%;
}

.square-slot {
  width: min(70vw, 620px);
}

.wide-slot {
  width: min(88vw, 1100px);
}

.image-slot img {
  width: 100%;
  height: auto;
}

.page-nav {
  justify-content: center;
  align-items: flex-start;
  text-align: center;
  max-width: 1280px;
  margin: 0 auto;
  padding: 60px 40px 20px;
}

.page-nav .nav-stack {
  align-items: flex-start;
  text-align: left;
}

.works-page .page-nav {
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.works-page .page-nav .nav-stack {
  align-items: center;
  text-align: center;
  width: auto;
  max-width: none;
  gap: 8px;
}

.work-filters-section {
  position: relative;
  z-index: 5;
  padding: 40px 24px 40px;
  transition: opacity 120ms ease;
}

.work-filters {
  display: flex;
  justify-content: center;
  column-gap: clamp(20px, 2vw, 32px);
  row-gap: 24px;
  flex-wrap: wrap;
}

.filter-pill {
  flex: 0 0 auto;
  color: rgba(13, 24, 30, 0.55);
  font-family: var(--font-black);
  font-size: clamp(34px, 5vw, 76px);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 0.88;
  border: 0;
  border-bottom: 3px solid transparent;
  border-radius: 0;
  padding: 0 0 7px;
}

.filter-pill.is-selected {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}

.project-grid-container {
  position: relative;
  z-index: 2;
  width: min(calc(100% - 48px), 1180px);
  margin: 0 auto 120px;
  padding: 35px 0 90px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 48px;
  align-items: start;
  overflow: visible;
}

.project-category-heading {
  grid-column: 1 / -1;
  display: grid;
  place-items: center;
  gap: 8px;
  margin: 0 0 90px;
  color: var(--light);
  text-align: center;
}

.project-category-heading span {
  color: rgba(244, 234, 210, 0.58);
}

.project-category-heading h2 {
  font-family: var(--font-black);
  font-size: clamp(50px, 8vw, 112px);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 0.92;
  white-space: nowrap;
}

.works-page.is-previewing-work .work-filters-section {
  opacity: 0;
}

.works-page.is-previewing-work .project-grid-container {
  z-index: 90;
}

.project-grid-item-wrapper {
  margin: 0;
  position: relative;
  border-top: 1px solid rgba(244, 234, 210, 0.24);
}

.project-grid-item {
  --project-accent: var(--light);
  width: 100%;
  min-width: 0;
  min-height: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  position: relative;
  color: var(--light);
  text-align: left;
  text-decoration: none;
  border: 0;
  border-radius: 0;
  padding: 30px 0;
  background: transparent;
  transition: color 180ms ease, transform 180ms ease;
}

.green2 {
  --project-accent: #b8ba84;
  background: transparent;
}

.green3 {
  --project-accent: #d99369;
  background: transparent;
  color: var(--light);
}

.green6 {
  --project-accent: #78aa9c;
  background: transparent;
}

.green7 {
  --project-accent: #b77b83;
  background: transparent;
}

.project-text-container {
  position: relative;
  z-index: 4;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 0;
}

.h2 {
  display: block;
  font-size: 38px;
  line-height: 1;
}

.project-grid-item .h2 {
  font-size: clamp(34px, 4vw, 58px);
  line-height: 0.95;
  overflow-wrap: anywhere;
}

.project-grid-item .h2.long-title {
  font-size: 42px;
}

.body-text {
  display: block;
  font-size: 16px;
  line-height: 1.3;
}

.project-grid-item .body-text {
  font-family: var(--font-black);
  font-weight: 900;
}

.project-grid-item-thumbnail-div {
  position: fixed;
  inset: 0;
  z-index: 80;
  opacity: 0;
  pointer-events: none;
  background: #000;
  transform: none;
  transition: opacity 180ms ease;
}

.project-grid-item-thumbnail-div img,
.project-grid-item-thumbnail-div video {
  width: 100vw;
  height: 100vh;
  object-fit: cover;
}

.project-grid-item-thumbnail-div.vertical-preview video {
  object-fit: contain;
}

.project-text-container:hover + .project-grid-item-thumbnail-div,
.project-text-container.is-previewing + .project-grid-item-thumbnail-div,
.project-grid-item:focus-visible .project-grid-item-thumbnail-div {
  opacity: 1;
}

.works-page:has(.project-grid-item.is-previewing) .work-filters-section,
.works-page:has(.project-grid-item:focus-visible) .work-filters-section {
  opacity: 0;
}

.works-page:has(.project-grid-item.is-previewing) .project-grid-container,
.works-page:has(.project-grid-item:focus-visible) .project-grid-container {
  z-index: 90;
}

.project-grid-item.is-previewing,
.project-grid-item:focus-visible {
  padding: 30px 0;
  color: var(--project-accent);
}

.gallery-section {
  width: min(100%, 1320px);
  margin: 0 auto 120px;
  padding: 0 24px;
}

.illustration-title-flex {
  display: grid;
  place-items: center;
  gap: 8px;
  margin-bottom: 50px;
  text-align: center;
}

.number-title {
  color: var(--ink-muted);
}

.center-title {
  font-size: 42px;
  line-height: 1;
}

.gallery-paragraph {
  max-width: 430px;
}

.illustration-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 24px;
  align-items: start;
}

.gallery-illustration-wrapper {
  grid-column: span 4;
  display: grid;
  gap: 8px;
}

.gallery-illustration-wrapper.wide {
  grid-column: span 8;
}

.gallery-illustration-wrapper.tall {
  grid-row: span 2;
}

.gallery-illustration-wrapper img,
.concept-grid img,
.project-gallery-grid img,
.loops-grid img {
  width: 100%;
  height: auto;
  cursor: zoom-in;
}

figcaption {
  color: var(--ink-muted);
  font-size: 14px;
  line-height: 1.35;
}

.pink figcaption,
.blue figcaption,
.brown figcaption {
  color: rgba(244, 234, 210, 0.64);
}

figcaption strong {
  display: block;
  color: var(--ink);
  font-weight: 900;
}

.pink figcaption strong,
.blue figcaption strong,
.brown figcaption strong {
  color: var(--light);
}

.hobbies-list {
  width: min(100%, 780px);
  margin: 0 auto 56px;
  padding: 0;
  display: grid;
  gap: 10px;
  list-style: none;
  color: var(--deep-blue);
  font-family: var(--font-black);
  font-size: clamp(32px, 6vw, 86px);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 0.92;
  text-align: center;
}

.concept-section {
  padding-top: 50px;
}

.concept-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr 2fr 2fr;
  gap: 24px;
  align-items: start;
}

.concept-grid h2 {
  font-family: var(--mono);
  font-size: 16px;
  font-weight: 300;
  line-height: 1.35;
}

.footer {
  display: flex;
  justify-content: center;
  gap: 12px;
  padding: 70px 24px;
}

.about-layout {
  width: min(100%, 1080px);
  margin: 60px auto 120px;
  padding: 0 40px;
  display: grid;
  grid-template-columns: minmax(220px, 360px) minmax(260px, 560px);
  gap: 70px;
  align-items: start;
}

.about-portrait {
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border-radius: 0;
}

.about-copy {
  display: grid;
  gap: 18px;
}

.about-copy h1,
.about-copy h2 {
  font-family: var(--font-black);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 0.95;
}

.about-copy h1 {
  font-size: clamp(42px, 6vw, 84px);
}

.about-copy h2 {
  margin-top: 24px;
  font-size: clamp(30px, 4vw, 56px);
}

.about-copy a {
  color: var(--ink);
}

.letter-layout {
  width: min(calc(100% - 48px), 900px);
  margin: 60px auto 120px;
  display: grid;
  gap: 56px;
}

.letter-heading {
  display: grid;
  gap: 10px;
}

.letter-heading p {
  color: rgba(244, 234, 210, 0.62);
}

.letter-heading h1 {
  max-width: 10ch;
  font-family: var(--font-black);
  font-size: clamp(54px, 9vw, 126px);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 0.88;
}

.letter-copy {
  width: min(100%, 720px);
  margin-left: auto;
  display: grid;
  gap: 22px;
  font-size: 18px;
  line-height: 1.55;
}

.letter-signature {
  font-family: var(--font-black);
  font-weight: 900;
}

.project-page-text-wrapper {
  width: min(calc(100% - 48px), 1180px);
  margin: 90px auto 70px;
  padding: 0;
}

.project-page-grid-wrapper {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: start;
}

.project-page-column {
  display: grid;
  gap: 17px;
}

.project-copy {
  grid-column: span 2;
}

.project-description {
  color: var(--ink-muted);
}

.project-page-column.center {
  max-width: 620px;
  margin: 0 auto;
  text-align: center;
}

.project-page-gallery-section {
  padding: 60px 0 120px;
}

.project-page-gallery-section.beige {
  background: var(--body-bg);
}

.project-page-gallery-section.pink {
  background: var(--pink);
}

.project-media-layout {
  width: min(calc(100% - 48px), 1180px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.project-media {
  width: min(calc(100% - 48px), 1180px);
  margin: 0 auto 90px;
}

.project-media.vertical-media {
  width: min(calc(100% - 48px), 520px);
  margin-left: max(24px, calc((100% - 1180px) / 2));
  margin-right: 0;
}

.project-media-layout .project-media {
  grid-column: 2 / 4;
  width: 100%;
  margin: 0 0 90px;
}

.project-media-layout .project-media.vertical-media {
  width: min(100%, 520px);
  margin-left: 0;
}

.project-media figcaption {
  margin-top: 8px;
}

.project-gallery-grid,
.loops-grid {
  width: min(calc(100% - 48px), 1180px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: start;
}

.project-gallery-grid.two-up {
  grid-template-columns: repeat(2, 1fr);
}

.full-bleed-gallery {
  margin-bottom: 120px;
}

.loops-grid {
  margin-bottom: 120px;
}

.loops-grid figure,
.project-gallery-grid figure {
  display: grid;
  gap: 8px;
}

.zoom-overlay {
  position: fixed;
  inset: 0;
  z-index: 20;
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  padding: 28px;
  border: 0;
  background: rgba(0, 0, 0, 0);
  cursor: zoom-out;
  opacity: 0;
  transition: opacity 180ms ease, background-color 180ms ease;
}

.zoom-overlay.is-open {
  opacity: 1;
  background: rgba(0, 0, 0, 0.92);
}

.zoom-overlay img {
  max-width: min(100%, 1400px);
  max-height: calc(100svh - 56px);
  object-fit: contain;
}

[hidden] {
  display: none !important;
}

@media (max-width: 900px) {
  body {
    font-size: 14px;
    line-height: 1.32;
  }

  .home-hero {
    min-height: auto;
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 36px;
    padding: 56px 30px 120px;
  }

  .intro-nav,
  .page-nav {
    width: 100%;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .page-nav .nav-stack {
    align-items: center;
    text-align: center;
  }

  .works-page .page-nav .nav-stack {
    gap: 18px;
  }

  .works-page .page-nav .nav-stack p {
    order: 2;
  }

  .works-page .page-nav .nav-stack a {
    order: 1;
  }

  .intro-copy,
  .nav-stack {
    align-items: center;
    width: min(100%, 340px);
    max-width: 340px;
  }

  .intro-copy p,
  .nav-stack p {
    max-width: 30ch;
    overflow-wrap: anywhere;
  }

  .portrait-frame {
    width: min(78vw, 320px);
    min-width: 0;
  }

  .samples-wrapper {
    margin-top: 0;
    padding: 0 20px;
  }

  .sample-status {
    display: none;
  }

  .selected-work-section {
    min-height: 70svh;
    padding: 70px 0;
  }

  .homepage-media-wrapper {
    margin: 90px 0;
  }

  .homepage-media-wrapper.vertical-media {
    width: min(88vw, 360px);
    margin: 44px auto;
  }

  .selected-work-container {
    min-height: 45svh;
  }

  .project-grid-item {
    --vertical-preview-width: min(72vw, 280px);
    width: 100%;
    min-width: 0;
    min-height: 0;
    gap: 0;
    background: transparent;
    border-width: 0;
    border-radius: 0;
    padding: 24px 0;
    overflow: visible;
  }

  .project-grid-item:hover,
  .project-grid-item:focus-visible {
    padding: 24px 0;
  }

  .project-text-container {
    width: 100%;
    min-height: 0;
    justify-content: flex-start;
    padding: 0;
    background: transparent;
    border-radius: 0;
  }

  .project-grid-item-thumbnail-div {
    display: block;
    position: relative;
    order: 2;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    margin: 0 auto;
    opacity: 1;
    inset: auto;
    background: #000;
    transform: none;
  }

  .project-grid-item.has-vertical-preview .project-text-container {
    width: 100%;
    min-height: 0;
    padding: 0;
    align-self: stretch;
  }

  .project-grid-item-thumbnail-div.vertical-preview {
    width: var(--vertical-preview-width);
    aspect-ratio: 9 / 16;
    background: #000;
  }

  .project-grid-item-thumbnail-div img,
  .project-grid-item-thumbnail-div video {
    width: 100%;
    height: 100%;
  }

  .h2,
  .center-title {
    font-size: 32px;
  }

  .project-grid-item .h2 {
    font-size: 40px;
  }

  .project-grid-item .h2.long-title {
    font-size: 32px;
  }

  .illustration-grid,
  .concept-grid,
  .project-page-grid-wrapper,
  .project-gallery-grid,
  .project-gallery-grid.two-up,
  .loops-grid,
  .about-layout {
    grid-template-columns: 1fr;
  }

  .gallery-illustration-wrapper,
  .gallery-illustration-wrapper.wide {
    grid-column: auto;
  }

  .concept-grid {
    gap: 12px;
  }

  .concept-grid img {
    margin-bottom: 20px;
  }

  .project-page-text-wrapper {
    margin: 50px auto;
    padding: 0;
  }

  .project-media-layout {
    grid-template-columns: 1fr;
  }

  .project-media-layout .project-media,
  .project-media-layout .project-media.vertical-media {
    grid-column: auto;
    width: 100%;
  }

  .project-copy {
    grid-column: auto;
  }

  .about-layout {
    margin-top: 30px;
    padding: 0 30px;
    gap: 36px;
  }
}

@media (max-width: 520px) {
  .page-nav {
    padding: 44px 20px 10px;
  }

  .home-hero {
    padding: 38px 20px 92px;
  }

  .work-filters {
    flex-direction: column;
    align-items: center;
    width: 100%;
    margin-left: 0;
    gap: 16px;
  }

  .work-filters-section {
    overflow: hidden;
  }

  .project-category-heading h2 {
    font-size: clamp(36px, 10vw, 46px);
    white-space: nowrap;
  }

  .nav-pill,
  .homepage-project-link,
  .filter-pill {
    padding: 7px 10px;
  }

  .filter-pill {
    width: auto;
    max-width: 100%;
    font-size: clamp(28px, 11vw, 44px);
    padding: 0 0 3px;
  }

  .project-grid-container,
  .gallery-section {
    padding: 0 25px;
  }

  .project-grid-container {
    display: block;
    margin-top: -4px;
    overflow: visible;
  }

  .project-grid-item-wrapper {
    width: 100%;
    margin-top: 0;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 0;
  }

  .project-grid-item {
    --vertical-preview-width: min(72vw, 260px);
    border-radius: 0;
  }

  .project-text-container {
    min-height: 0;
    padding: 0;
    border-radius: 0;
  }

  .project-grid-item.has-vertical-preview .project-text-container {
    min-height: 0;
    padding: 0;
  }

  .project-grid-item-thumbnail-div {
    height: auto;
  }

  .project-grid-item-thumbnail-div.vertical-preview {
    width: var(--vertical-preview-width);
  }

  .project-media,
  .project-gallery-grid,
  .loops-grid {
    width: calc(100% - 32px);
  }

  .project-media.vertical-media {
    width: min(calc(100% - 32px), 360px);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 1ms !important;
    animation-duration: 1ms !important;
  }
}
