:root {
  --carbon: #000000;
  --paper: #ffffff;
  --sky: #dceeff;
  --concrete: #cccccc;
  --mist: #e9e9e9;
  --blue: #4da2ff;
  --mint: #55db9c;
  --lavender: #e9ccff;
  --ember: #fb4903;
  --sun: #ffd731;
  --violet: #5c4ade;
  --display: "Bowlby One SC", "Arial Black", sans-serif;
  --body: "DM Sans", Inter, Arial, sans-serif;
  --line: 1px solid var(--carbon);
  --card-radius: 32px;
  --page-pad: clamp(1.25rem, 3.2vw, 3.5rem);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 6.5rem;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--carbon);
  font-family: var(--body);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.45;
  text-rendering: optimizeLegibility;
}

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

img {
  display: block;
  width: 100%;
}

h1,
h2,
h3,
p,
figure,
dl,
dd,
ol,
ul {
  margin: 0;
}

.skip-link {
  position: fixed;
  z-index: 999;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.7rem 1rem;
  border: var(--line);
  border-radius: 999px;
  background: var(--sun);
  font-weight: 700;
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.progress {
  position: fixed;
  z-index: 300;
  inset: 0 0 auto;
  height: 4px;
  pointer-events: none;
}

.progress span {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--ember);
  transform: scaleX(0);
  transform-origin: left;
}

.marquee {
  overflow: hidden;
  border-bottom: var(--line);
  background: var(--carbon);
  color: var(--paper);
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 23s linear infinite;
}

.marquee-track span {
  padding: 0.5rem 0;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.032em;
  white-space: nowrap;
}

@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

.topbar {
  position: sticky;
  z-index: 200;
  top: 0;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 78px;
  padding: 0.75rem var(--page-pad);
  border-bottom: var(--line);
  background: rgba(220, 238, 255, 0.94);
  backdrop-filter: blur(10px);
}

.brand {
  justify-self: start;
  width: 46px;
  height: 46px;
  padding: 0;
  font-size: 0.9rem;
}

.nav-pills {
  display: flex;
  justify-content: center;
  gap: 0.25rem;
}

.topbar > .primary-pill {
  justify-self: end;
}

.pill,
.outline-pill,
.primary-pill,
.about-tags span {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1rem;
  border: var(--line);
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  line-height: 1;
  text-transform: uppercase;
  transition: color 180ms ease, background-color 180ms ease, transform 180ms ease;
}

.pill,
.outline-pill {
  background: var(--paper);
}

.primary-pill {
  background: var(--carbon);
  color: var(--paper);
}

.pill:hover,
.outline-pill:hover,
.pill:focus-visible,
.outline-pill:focus-visible,
.primary-pill:hover,
.primary-pill:focus-visible {
  transform: translateY(-2px);
}

.pill:hover,
.pill:focus-visible,
.outline-pill:hover,
.outline-pill:focus-visible {
  background: var(--sun);
}

.primary-pill:hover,
.primary-pill:focus-visible {
  background: var(--violet);
}

a:focus-visible {
  outline: 3px solid var(--ember);
  outline-offset: 3px;
}

.eyebrow,
.project header,
.project dt,
.about-gallery figcaption,
.footer-bottom {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.032em;
  line-height: 1.2;
  text-transform: uppercase;
}

.hero,
.work,
.quests,
.why,
.about,
footer {
  position: relative;
  isolation: isolate;
}

.hero {
  display: flex;
  min-height: calc(100svh - 108px);
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  padding: clamp(3rem, 5vh, 4.5rem) var(--page-pad) 2rem;
  background: var(--sky);
}

.hero-eyebrow {
  position: relative;
  z-index: 3;
  width: fit-content;
  margin: 0 auto clamp(1.5rem, 2.5vw, 2.5rem);
  padding: 0.65rem 0.9rem;
  border: var(--line);
  border-radius: 999px;
  background: var(--paper);
}

.hero h1,
.section-poster h2,
.quests-heading h2,
.why-heading h2,
.about-poster h2,
.footer-top h2 {
  font-family: var(--display);
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 0.78;
  text-transform: uppercase;
}

.hero h1 {
  position: relative;
  z-index: 2;
  align-self: center;
  font-size: clamp(4.5rem, 10.5vw, 10.5rem);
  text-align: center;
}

.hero h1 span {
  color: var(--paper);
  -webkit-text-stroke: 2px var(--carbon);
}

.ribbon {
  position: absolute;
  z-index: 1;
  pointer-events: none;
  user-select: none;
}

.ribbon-hero {
  top: 38%;
  left: 50%;
  width: min(940px, 66vw);
  transform: translate(-50%, -50%) rotate(-3deg);
}

.hero-sticker,
.label-sticker {
  position: absolute;
  z-index: 4;
  display: grid;
  place-items: center;
  border: var(--line);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  line-height: 1.18;
  text-align: center;
  text-transform: uppercase;
}

.hero-sticker:first-of-type {
  top: 17%;
  left: 5%;
  width: 104px;
  height: 104px;
  border-radius: 50%;
  transform: rotate(-9deg);
}

.hero-sticker:nth-of-type(2) {
  right: 5%;
  bottom: 18%;
  width: 118px;
  min-height: 86px;
  padding: 1rem;
  border-radius: 24px;
  transform: rotate(7deg);
}

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

.sticker-violet {
  background: var(--violet);
  color: var(--paper);
}

.hero-bottom {
  position: relative;
  z-index: 5;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  margin-top: clamp(2rem, 3vw, 3rem);
}

.hero-bottom p {
  max-width: 20ch;
  font-size: clamp(1.25rem, 2vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.05;
}

.work {
  padding: clamp(5rem, 8vw, 8rem) var(--page-pad);
  background: var(--paper);
}

.section-poster {
  position: relative;
  min-height: clamp(420px, 42vw, 580px);
  overflow: hidden;
}

.section-poster .eyebrow {
  position: relative;
  z-index: 3;
}

.section-poster h2 {
  position: relative;
  z-index: 2;
  margin-top: clamp(2rem, 3.5vw, 3.5rem);
  font-size: clamp(4.5rem, 10vw, 10rem);
}

.section-note {
  position: absolute;
  z-index: 4;
  right: 0;
  bottom: 5%;
  max-width: 30ch;
  padding: 1.25rem;
  border: var(--line);
  border-radius: 24px;
  background: var(--mint);
  font-size: clamp(1.05rem, 1.5vw, 1.35rem);
  font-weight: 700;
  transform: rotate(2deg);
}

.ribbon-work {
  top: 41%;
  right: -8%;
  width: min(880px, 61vw);
  transform: rotate(13deg);
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 1.6vw, 1.6rem);
}

.project {
  display: flex;
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
  border: var(--line);
  border-radius: var(--card-radius);
}

.project-shelfpay {
  background: var(--sun);
}

.project-quartic {
  background: var(--mint);
}

.project-hilabs {
  background: var(--lavender);
}

.project header {
  display: flex;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 1rem 1.25rem;
  border-bottom: var(--line);
}

.project h3 {
  display: flex;
  min-height: 178px;
  align-items: flex-start;
  padding: clamp(1.25rem, 1.8vw, 1.8rem) 1.5rem 0.8rem;
  font-size: clamp(2rem, 2.25vw, 2.6rem);
  letter-spacing: -0.045em;
  line-height: 0.98;
}

.project figure {
  margin: 0 1.25rem;
  overflow: hidden;
  border: var(--line);
  border-radius: 20px;
  background: var(--carbon);
}

.project figure img {
  aspect-ratio: 16 / 9;
  object-fit: cover;
  transition: transform 500ms cubic-bezier(0.22, 1, 0.36, 1);
}

.project:hover figure img {
  transform: scale(1.035);
}

.project-bottom {
  display: grid;
  gap: 1rem;
  margin-top: auto;
  padding: 1.25rem 1.5rem 1.4rem;
}

.project-bottom > p {
  font-weight: 700;
}

.project dl {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.25rem;
  border-top: var(--line);
}

.project dt {
  margin-bottom: 0.35rem;
}

.project dd {
  font-family: var(--display);
  font-size: clamp(1.25rem, 1.65vw, 1.6rem);
  letter-spacing: -0.03em;
  line-height: 1;
}

.project-open {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 48px;
  padding: 0.75rem 1rem;
  border: var(--line);
  border-radius: 999px;
  background: var(--paper);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  transition: background-color 180ms ease, color 180ms ease;
}

.project-open span {
  font-size: 1.2rem;
  transition: transform 180ms ease;
}

.project-open:hover,
.project-open:focus-visible {
  background: var(--carbon);
  color: var(--paper);
}

.project-open:hover span,
.project-open:focus-visible span {
  transform: translateX(0.3rem);
}

.quests {
  display: grid;
  grid-template-columns: minmax(300px, 0.62fr) minmax(0, 1.38fr);
  gap: clamp(2rem, 4vw, 4rem);
  padding: clamp(5rem, 8vw, 8rem) var(--page-pad);
  background: var(--concrete);
}

.quests-heading {
  position: sticky;
  top: 7rem;
  align-self: start;
  min-height: 430px;
  padding-top: 1rem;
}

.quests-heading h2 {
  margin-top: 2rem;
  font-size: clamp(4rem, 6.6vw, 7rem);
}

.quests-heading .label-sticker {
  position: relative;
  width: 170px;
  min-height: 64px;
  margin: 2.5rem 0 0 8%;
  border-radius: 999px;
  transform: rotate(-7deg);
}

.quest-card {
  display: grid;
  grid-column: 2;
  grid-template-columns: minmax(260px, 0.8fr) minmax(0, 1.2fr);
  gap: 2rem;
  align-items: center;
  min-height: 500px;
  padding: clamp(1.5rem, 2.5vw, 2.5rem);
  overflow: hidden;
  border: var(--line);
  border-radius: 40px;
}

.quest-venton {
  background: var(--sky);
}

.quest-redrop {
  background: var(--ember);
}

.quest-copy h3 {
  max-width: 11ch;
  margin: 2rem 0 1.5rem;
  font-size: clamp(2.5rem, 4.5vw, 5rem);
  letter-spacing: -0.055em;
  line-height: 0.93;
}

.quest-copy > p:not(.eyebrow) {
  max-width: 40ch;
  font-size: 1.05rem;
  font-weight: 700;
}

.quest-copy .outline-pill {
  margin-top: 2.5rem;
}

.quest-card figure {
  overflow: hidden;
  border: var(--line);
  border-radius: 28px;
}

.quest-card figure img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.why {
  display: grid;
  grid-template-columns: minmax(300px, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(2rem, 6vw, 6rem);
  overflow: hidden;
  padding: clamp(6rem, 9vw, 10rem) var(--page-pad);
  background: var(--sky);
}

.why-heading {
  position: relative;
  z-index: 3;
  align-self: center;
}

.why-heading h2 {
  margin: 3rem 0 2rem;
  font-size: clamp(5.25rem, 8.5vw, 9rem);
}

.why-heading > p:last-child {
  max-width: 16ch;
  font-size: clamp(1.15rem, 1.6vw, 1.6rem);
  font-weight: 700;
  line-height: 1.1;
}

.ribbon-why {
  z-index: 1;
  top: 18%;
  left: -19%;
  width: min(900px, 68vw);
  transform: rotate(70deg);
}

.why-list {
  position: relative;
  z-index: 4;
  display: grid;
  gap: 1rem;
  padding: 0;
  list-style: none;
}

.why-list li {
  display: grid;
  grid-template-columns: 2.5rem minmax(0, 1fr);
  gap: 1rem;
  align-items: start;
  padding: clamp(1.5rem, 2.7vw, 2.75rem);
  border: var(--line);
  border-radius: 32px;
}

.why-list li:nth-child(even) {
  margin-left: 8%;
}

.why-list span {
  padding-top: 0.4rem;
  font-size: 0.78rem;
  font-weight: 700;
}

.why-list p {
  font-size: clamp(1.45rem, 2vw, 2.4rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 0.98;
}

.why-yellow {
  background: var(--sun);
  transform: rotate(-1deg);
}

.why-lavender {
  background: var(--lavender);
  transform: rotate(1deg);
}

.why-mint {
  background: var(--mint);
  transform: rotate(-0.6deg);
}

.why-orange {
  background: var(--ember);
  transform: rotate(0.8deg);
}

.about {
  padding: clamp(5rem, 8vw, 8rem) var(--page-pad);
  background: var(--lavender);
}

.about-board {
  position: relative;
  overflow: hidden;
  padding: clamp(2rem, 4vw, 4rem);
  border: var(--line);
  border-radius: 40px;
  background: var(--paper);
}

.about-poster {
  position: relative;
  display: grid;
  min-height: clamp(500px, 44vw, 650px);
  grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.95fr);
  gap: clamp(2rem, 4vw, 5rem);
  align-items: center;
}

.about-poster > .eyebrow {
  position: absolute;
  z-index: 5;
  top: 0;
  left: 0;
}

.about-poster h2 {
  position: relative;
  z-index: 3;
  font-size: clamp(4.25rem, 7vw, 7rem);
}

.ribbon-about {
  z-index: 2;
  top: 51%;
  left: 7%;
  width: min(780px, 55vw);
  transform: translateY(-50%) rotate(-10deg);
}

.about-story {
  position: relative;
  z-index: 5;
  padding: clamp(1.5rem, 2.5vw, 2.5rem);
  border: var(--line);
  border-radius: 40px;
  background: var(--lavender);
  transform: rotate(1.5deg);
}

.about-story > p {
  font-size: clamp(1.15rem, 1.7vw, 1.5rem);
  font-weight: 700;
  line-height: 1.28;
}

.about-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 2rem 0;
}

.about-tags span {
  min-height: 38px;
  padding: 0.6rem 0.8rem;
  background: var(--paper);
  font-size: 0.72rem;
}

.about-gallery {
  position: relative;
  z-index: 6;
  display: grid;
  grid-auto-flow: dense;
  grid-auto-rows: 118px;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(0.75rem, 1.2vw, 1.25rem);
  margin-top: -1.5rem;
  padding: 0;
}

.about-gallery figure {
  display: flex;
  min-width: 0;
  grid-column: span 3;
  grid-row: span 2;
  flex-direction: column;
  overflow: hidden;
  border: var(--line);
  border-radius: 24px;
  background: var(--paper);
}

.about-gallery figure:nth-child(1),
.about-gallery figure:nth-child(5),
.about-gallery figure:nth-child(7) {
  grid-row: span 3;
}

.about-gallery figure:nth-child(2),
.about-gallery figure:nth-child(8) {
  transform: translateY(-1.25rem) rotate(-1.6deg);
}

.about-gallery figure:nth-child(4),
.about-gallery figure:nth-child(9) {
  transform: translateY(1rem) rotate(1.4deg);
}

.about-gallery figure:nth-child(1) {
  transform: translateY(-2.5rem) rotate(-1deg);
}

.about-gallery figure:nth-child(3) {
  transform: translateY(1.5rem) rotate(0.8deg);
}

.about-gallery img {
  min-height: 0;
  flex: 1;
  object-fit: cover;
}

.about-gallery figcaption {
  padding: 0.75rem 0.9rem;
  border-top: var(--line);
}

.about-gallery figure:nth-child(3n + 1) figcaption {
  background: var(--sun);
}

.about-gallery figure:nth-child(3n + 2) figcaption {
  background: var(--mint);
}

.about-gallery figure:nth-child(3n) figcaption {
  background: var(--sky);
}

.currently {
  display: grid;
  grid-template-columns: minmax(220px, 0.42fr) minmax(0, 1.58fr);
  gap: clamp(1rem, 2vw, 2rem);
  margin-top: clamp(3rem, 5vw, 5rem);
}

.currently-heading {
  padding: clamp(1.5rem, 2.5vw, 2.5rem);
  border: var(--line);
  border-radius: 40px;
  background: var(--carbon);
  color: var(--paper);
  transform: rotate(-1deg);
}

.currently-heading h3 {
  margin-top: 2.5rem;
  font-family: var(--display);
  font-size: clamp(2.15rem, 2.5vw, 2.55rem);
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 0.8;
}

.currently ul {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(0.75rem, 1.2vw, 1.25rem);
  padding: 0;
  list-style: none;
}

.currently li {
  display: flex;
  min-height: 230px;
  flex-direction: column;
  gap: 2rem;
  padding: clamp(1.25rem, 2vw, 2rem);
  border: var(--line);
  border-radius: 32px;
  font-size: clamp(1.05rem, 1.35vw, 1.25rem);
  font-weight: 700;
  line-height: 1.2;
}

.currently li:nth-child(1) {
  background: var(--sun);
  transform: rotate(0.8deg);
}

.currently li:nth-child(2) {
  background: var(--mint);
  transform: translateY(1.5rem) rotate(-0.8deg);
}

.currently li:nth-child(3) {
  background: var(--sky);
  transform: rotate(1deg);
}

.currently li span {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: var(--line);
  border-radius: 50%;
  background: var(--paper);
  font-size: 0.78rem;
}

footer {
  overflow: hidden;
  padding: clamp(6rem, 10vw, 10rem) var(--page-pad) 2rem;
  background: var(--violet);
  color: var(--paper);
}

.footer-top {
  position: relative;
  z-index: 3;
}

.footer-top h2 {
  margin: 3rem 0 clamp(4rem, 7vw, 7rem);
  font-size: clamp(4.5rem, 8.7vw, 9rem);
}

.footer-top h2 span {
  color: var(--sun);
}

.ribbon-footer {
  z-index: 1;
  top: 13%;
  right: -20%;
  width: min(1100px, 78vw);
  transform: rotate(-24deg);
}

.footer-email {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 1.25rem 1.5rem;
  border: var(--line);
  border-radius: 999px;
  background: var(--paper);
  color: var(--carbon);
  font-size: clamp(1.05rem, 2.4vw, 2.4rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.footer-email:hover,
.footer-email:focus-visible {
  background: var(--sun);
}

.footer-bottom {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: clamp(2rem, 4vw, 5rem);
  align-items: center;
  margin-top: 4rem;
}

.footer-bottom nav {
  display: flex;
  gap: 1.5rem;
}

.footer-bottom a:hover,
.footer-bottom a:focus-visible {
  color: var(--sun);
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 650ms ease, transform 650ms cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1080px) {
  .project-grid {
    grid-template-columns: 1fr;
  }

  .project {
    display: grid;
    grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1.1fr);
  }

  .project header,
  .project h3 {
    grid-column: 1;
  }

  .project h3 {
    min-height: 0;
  }

  .project figure {
    grid-column: 2;
    grid-row: 1 / span 3;
    align-self: stretch;
    margin: 1.25rem;
  }

  .project figure img {
    height: 100%;
    min-height: 360px;
  }

  .project-bottom {
    grid-column: 1;
  }

  .quests {
    grid-template-columns: 1fr;
  }

  .quests-heading {
    position: relative;
    top: auto;
    min-height: 0;
  }

  .quest-card {
    grid-column: 1;
  }

  .about-gallery {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .topbar {
    grid-template-columns: auto 1fr auto;
    min-height: 70px;
  }

  .nav-pills {
    justify-self: center;
  }

  .nav-pills a:nth-child(3) {
    display: none;
  }

  .topbar > .primary-pill {
    min-height: 40px;
    padding-inline: 0.8rem;
    font-size: 0.72rem;
  }

  .hero {
    min-height: calc(100svh - 100px);
  }

  .hero-sticker:first-of-type {
    top: 15%;
    left: 3%;
    width: 90px;
    height: 90px;
    font-size: 0.62rem;
  }

  .hero-sticker:nth-of-type(2) {
    right: 3%;
    bottom: 25%;
    width: 105px;
    min-height: 78px;
    font-size: 0.62rem;
  }

  .hero h1 {
    font-size: clamp(3.5rem, 15vw, 5.5rem);
  }

  .ribbon-hero {
    top: 38%;
    width: 120vw;
  }

  .hero-bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .section-poster {
    min-height: 470px;
  }

  .section-poster h2 {
    font-size: clamp(3.8rem, 16vw, 6.2rem);
  }

  .ribbon-work {
    top: 37%;
    width: 125vw;
  }

  .section-note {
    max-width: 24ch;
  }

  .project {
    display: flex;
  }

  .project h3 {
    min-height: 150px;
  }

  .project figure {
    margin: 0 1.25rem;
  }

  .project figure img {
    min-height: 0;
  }

  .quest-card,
  .why,
  .about-poster,
  .currently {
    grid-template-columns: 1fr;
  }

  .quest-card {
    min-height: 0;
  }

  .quests-heading h2 {
    font-size: clamp(3.7rem, 15vw, 5rem);
  }

  .quest-card figure {
    grid-row: 1;
  }

  .why-heading h2 {
    font-size: clamp(4.5rem, 22vw, 7rem);
  }

  .ribbon-why {
    top: 10%;
    left: -35%;
    width: 130vw;
  }

  .why-list li:nth-child(even) {
    margin-left: 0;
  }

  .about-poster {
    gap: 4rem;
    min-height: 0;
    padding-top: 4rem;
  }

  .about-board {
    padding: 1.25rem;
    border-radius: 28px;
  }

  .about-poster h2 {
    font-size: clamp(3.6rem, 14vw, 5.5rem);
  }

  .ribbon-about {
    top: 25%;
    left: -30%;
    width: 135vw;
  }

  .about-story {
    transform: none;
  }

  .about-gallery {
    grid-auto-rows: 150px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 0;
  }

  .about-gallery figure {
    grid-column: span 1;
  }

  .about-gallery figure:nth-child(n) {
    transform: none;
  }

  .currently {
    gap: 1.5rem;
  }

  .currently ul {
    grid-template-columns: 1fr;
  }

  .currently li,
  .currently li:nth-child(2) {
    min-height: 0;
    transform: none;
  }

  .footer-top h2 {
    font-size: clamp(3.8rem, 14vw, 5.8rem);
  }

  .ribbon-footer {
    top: 20%;
    right: -55%;
    width: 140vw;
  }

  .footer-email {
    overflow-wrap: anywhere;
  }

  .footer-bottom {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .footer-bottom nav {
    flex-wrap: wrap;
  }
}

@media (max-width: 480px) {
  .brand {
    width: 42px;
    height: 42px;
  }

  .nav-pills a:nth-child(2) {
    display: none;
  }

  .hero-eyebrow {
    max-width: 80%;
    text-align: center;
  }

  .hero-sticker:nth-of-type(2) {
    display: none;
  }

  .project header {
    flex-direction: column;
  }
}

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

  .marquee-track {
    animation: none;
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .project figure img,
  .pill,
  .outline-pill,
  .primary-pill {
    transition: none;
  }
}
