:root {
  --color-background: #f6f6f8;
  --color-text: #000;
  --color-text-secondary: #5d5d5d;
  --color-accent: #c11e21;

  --font-sans: "Google Sans Flex", sans-serif;
  --font-mono: "DM Mono", monospace;
  --font-hand: "Caveat", cursive;

  --container-max: 1216px;
  --grid-columns: 12;
  --grid-column: 72px;
  --grid-gutter: 32px;
  --page-padding: 24px;

  --space-1: 8px;
  --space-2: 16px;
  --space-3: 24px;
  --space-4: 32px;
  --space-5: 40px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  background: var(--color-background);
  scroll-behavior: smooth;
  scroll-padding-top: 72px;
}

body {
  min-width: 0;
  margin: 0;
  background: var(--color-background);
  color: var(--color-text);
  font-family: var(--font-sans);
}

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

a:focus-visible {
  outline: 1px solid var(--color-text);
  outline-offset: 5px;
}

.page-loader {
  position: fixed;
  inset: 0;
  z-index: 100;
  --loader-progress: 0%;
  background: #fff;
  transition: opacity 600ms cubic-bezier(.16, 1, .3, 1), visibility 600ms step-end;
}

.page-loader::before {
  position: absolute;
  inset: 0;
  background: #000;
  clip-path: inset(0 0 0 var(--loader-progress));
  content: "";
  will-change: clip-path;
}

.page-loader__count {
  position: absolute;
  z-index: 1;
  top: 50%;
  left: 0;
  color: #fff;
  font-family: var(--font-mono);
  font-size: clamp(40px, 8vw, 120px);
  font-weight: 500;
  line-height: 1;
  transform: translate3d(24px, -50%, 0);
  mix-blend-mode: difference;
  will-change: transform;
}

.page-loader.is-complete {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
}

/* 12 columns are 72px wide with 32px gutters at the 1216px desktop maximum. */
.container {
  width: min(var(--container-max), calc(100% - (var(--page-padding) * 2)));
  margin-inline: auto;
}

.grid {
  display: grid;
  grid-template-columns: repeat(var(--grid-columns), minmax(0, 1fr));
  column-gap: var(--grid-gutter);
}

.span-1 { grid-column: span 1; }
.span-2 { grid-column: span 2; }
.span-3 { grid-column: span 3; }
.span-4 { grid-column: span 4; }
.span-5 { grid-column: span 5; }
.span-6 { grid-column: span 6; }
.span-7 { grid-column: span 7; }
.span-8 { grid-column: span 8; }
.span-9 { grid-column: span 9; }
.span-10 { grid-column: span 10; }
.span-11 { grid-column: span 11; }
.span-12 { grid-column: span 12; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  padding-block: 40px;
  background: var(--color-background);
  transition: padding-block 500ms cubic-bezier(.16, 1, .3, 1);
}

.site-header.is-compact {
  padding-block: 16px;
}

.site-header__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
}

.site-logo {
  display: block;
  width: 215px;
  height: 18px;
  justify-self: start;
}

.site-logo__image {
  display: block;
  width: auto;
  height: 100%;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  justify-self: center;
  gap: 25px;
  white-space: nowrap;
}

.main-nav a,
.hero__cta {
  position: relative;
  display: grid;
  overflow: hidden;
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  line-height: 1;
  text-transform: uppercase;
}

.main-nav__label {
  display: block;
  grid-area: 1 / 1;
  transition: transform 180ms ease, color 180ms ease;
}

.main-nav__label--hover {
  color: var(--color-accent);
  transform: translateY(110%);
}

.main-nav a:hover .main-nav__label,
.main-nav a:focus-visible .main-nav__label {
  transform: translateY(-110%);
}

.main-nav a:hover .main-nav__label--hover,
.main-nav a:focus-visible .main-nav__label--hover {
  transform: translateY(0);
}

.hero {
  margin-top: 160px;
}

.hero__content {
  grid-column: 3 / span 8;
  text-align: center;
}

.hero__eyebrow,
.hero__title,
.hero__statement,
.hero__description {
  margin: 0;
}

.hero__eyebrow {
  color: #c1c1c1;
  font-family: var(--font-sans);
  font-size: 40px;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
}

.hero__title {
  margin-top: -14px;
  color: var(--color-accent);
  font-family: var(--font-hand);
  font-size: 86px;
  font-weight: 700;
  line-height: 0.95;
  transform: rotate(-6deg);
}

.hero__statement {
  margin-top: 24px;
  color: var(--color-text);
  font-family: var(--font-sans);
  font-size: 40px;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
}

.hero__statement span {
  display: block;
}

.hero__description {
  width: min(100%, calc((var(--grid-column) * 6) + (var(--grid-gutter) * 5)));
  margin: 40px auto 0;
  color: var(--color-text-secondary);
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.35;
}

.hero__cta {
  width: max-content;
  margin: 80px auto 0;
  font-size: 12px;
}

.hero__cta-label {
  display: block;
  grid-area: 1 / 1;
  transition: transform 180ms ease, color 180ms ease;
}

.hero__cta-label--hover {
  color: var(--color-accent);
  transform: translateY(110%);
}

.hero__cta:hover .hero__cta-label,
.hero__cta:focus-visible .hero__cta-label {
  transform: translateY(-110%);
}

.hero__cta:hover .hero__cta-label--hover,
.hero__cta:focus-visible .hero__cta-label--hover {
  transform: translateY(0);
}

.about-profile {
  grid-column: 5 / span 4;
  margin: 80px 0;
}

.about-profile img {
  display: block;
  width: 100%;
  height: auto;
}

.about-intro {
  grid-column: 3 / span 8;
  margin: 0 0 40px;
  font-family: var(--font-mono);
  font-size: 20px;
  font-weight: 500;
  line-height: 1.35;
  text-align: left;
}

.about-details {
  row-gap: 24px;
}

.about-details__column {
  display: grid;
  align-content: start;
  gap: 24px;
}

.about-details__column--left {
  grid-column: 3 / span 4;
}

.about-details__column--right {
  grid-column: 7 / span 4;
}

.about-details p {
  margin: 0;
  color: var(--color-text-secondary);
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 400;
  line-height: 20px;
}

.about-resume__cta {
  grid-column: 1 / -1;
  justify-self: center;
  margin: 80px 0 0;
}

.lab-page {
  margin-top: 160px;
}

.lab-page__intro {
  grid-column: 3 / span 8;
  text-align: center;
}

.lab-page__intro h1,
.lab-page__intro p {
  margin: 0;
}

.lab-page__intro h1 {
  font-family: var(--font-sans);
  font-size: 40px;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
}

.lab-page__intro p {
  width: min(100%, calc((var(--grid-column) * 6) + (var(--grid-gutter) * 5)));
  margin: 40px auto 0;
  color: var(--color-text-secondary);
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.35;
}

.lab-page__gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--grid-gutter);
  margin-top: 80px;
}

.lab-page__card {
  margin: 0;
}

.lab-page__card-link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.lab-page__card img {
  display: block;
  width: 100%;
  height: auto;
}

.lab-page__card figcaption {
  margin-top: 8px;
  color: var(--color-text-secondary);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 400;
  line-height: 1.35;
}

.journal-detail {
  margin-top: 160px;
}

.journal-detail__header {
  grid-column: 3 / span 8;
}

.journal-detail__eyebrow,
.journal-detail__header h1,
.journal-detail__header time,
.journal-detail__intro {
  margin: 0;
}

.journal-detail__eyebrow,
.journal-detail__header time,
.journal-detail__meta {
  color: var(--color-text-secondary);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 400;
  line-height: 1.35;
  text-transform: uppercase;
}

.journal-detail__header h1 {
  margin-top: 24px;
  color: var(--color-text);
  font-family: var(--font-sans);
  font-size: 40px;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
}

.journal-detail__header h1 span {
  display: block;
}

.journal-detail__header time {
  display: block;
  margin-top: 32px;
}

.journal-detail__meta {
  margin: 8px 0 0;
}

.journal-detail__intro {
  max-width: 680px;
  margin-top: 40px;
  color: var(--color-text);
  font-family: var(--font-mono);
  font-size: 20px;
  font-weight: 500;
  line-height: 1.45;
}

.journal-detail__primary-image {
  grid-column: 1 / -1;
  display: flex;
  justify-content: center;
  margin: 80px 0 0;
}

.journal-detail__primary-image img {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
}

.journal-detail__primary-image--placeholder {
  display: grid;
  min-height: 0;
  aspect-ratio: 16 / 9;
  place-items: center;
  background: #e2e2e4;
}

.journal-detail__primary-image figcaption {
  color: var(--color-text-secondary);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 400;
  line-height: 1.35;
  text-transform: uppercase;
}

.journal-detail__content {
  grid-column: 4 / span 6;
  display: grid;
  gap: 80px;
  margin-top: 120px;
}

.journal-detail__content section {
  max-width: 680px;
}

.journal-detail__content h2,
.journal-detail__content p,
.journal-detail__content ul {
  margin: 0;
}

.journal-detail__content h2 {
  color: var(--color-text);
  font-family: var(--font-mono);
  font-size: 20px;
  font-weight: 500;
  line-height: 1.4;
}

.journal-detail__content p {
  margin-top: 20px;
  color: var(--color-text-secondary);
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.6;
}

.journal-detail__content p + p {
  margin-top: 20px;
}

.journal-detail__content ul {
  display: grid;
  gap: 8px;
  margin-top: 20px;
  padding-left: 18px;
  color: var(--color-text-secondary);
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.6;
}

.journal-detail__process {
  color: var(--color-text) !important;
}

.journal-detail__back {
  grid-column: 1 / -1;
  justify-self: center;
  margin-top: 120px;
}

.experience-section {
  margin-top: 160px;
  padding-block: 160px;
  background-color: #000;
  background-image: url("../assets/images/black-bg.jpg");
  background-position: center;
  background-size: cover;
}

.experience-section__intro {
  grid-column: 1 / span 4;
  margin-top: 80px;
}

.experience-section__label {
  grid-column: 1 / -1;
  margin: 0;
  color: #fff;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  line-height: 1;
  text-transform: uppercase;
}

.experience-section__statement {
  margin: 0;
  color: #fff;
  font-family: var(--font-sans);
  font-size: 40px;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
}

.experience-section__statement span {
  display: block;
}

.experience-section__list {
  grid-column: 6 / span 7;
  margin-top: 80px;
}

.experience-item {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  column-gap: 16px;
  padding-block: 24px;
  border-bottom: 1px solid #494949;
}

.experience-item:first-child {
  padding-top: 0;
}

.experience-item:last-child {
  border-bottom: 0;
}

.experience-item__top {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: subgrid;
}

.experience-item__trigger {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: subgrid;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  text-align: left;
}

.experience-item__period,
.experience-item__summary h3,
.experience-item__summary p,
.experience-item__details p {
  margin: 0;
  font-family: var(--font-mono);
}

.experience-item__period {
  grid-column: span 2;
  color: #7d7d7d;
  font-size: 15px;
  font-weight: 400;
  line-height: 20px;
}

.experience-item__summary {
  position: relative;
  grid-column: 3 / -1;
}

.experience-item__summary h3 {
  color: #fff;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.2;
}

.experience-item__title {
  display: block;
  color: #fff;
  font-family: var(--font-mono);
  font-size: 20px;
  font-weight: 500;
  line-height: 1.2;
}

.experience-item__summary p {
  margin-top: 4px;
  color: #7d7d7d;
  font-size: 15px;
  font-weight: 400;
  line-height: 20px;
}

.experience-item__company {
  display: block;
  margin-top: 4px;
  color: #7d7d7d;
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 400;
  line-height: 20px;
}

.experience-item__trigger .experience-item__summary {
  padding-right: 40px;
}

.experience-item__indicator {
  position: absolute;
  top: 4px;
  right: 0;
  width: 24px;
  height: 24px;
}

.experience-item__indicator::before,
.experience-item__indicator::after {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 24px;
  height: 2px;
  background: #fff;
  content: "";
  transition: transform 180ms ease;
  transform: translate(-50%, -50%);
}

.experience-item__indicator--plus::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.experience-item__trigger[aria-expanded="true"] .experience-item__indicator--plus::after {
  transform: translate(-50%, -50%) rotate(0);
}

.experience-item__details {
  display: grid;
  grid-column: 3 / -1;
  gap: 32px;
  margin-top: 24px;
}

.experience-item__details[hidden] {
  display: none;
}

.experience-item__details p {
  color: #7d7d7d;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.45;
}

.what-i-bring__content {
  margin-top: 80px;
}

.what-i-bring__item {
  grid-column: span 4;
}

.what-i-bring__label,
.what-i-bring__title,
.what-i-bring__description {
  margin: 0;
  font-family: var(--font-mono);
}

.what-i-bring__label {
  color: #7d7d7d;
  font-size: 15px;
  font-weight: 400;
  line-height: 20px;
}

.what-i-bring__title {
  margin-top: 24px;
  color: var(--color-text);
  font-size: 20px;
  font-weight: 500;
  line-height: 1.2;
}

.what-i-bring__description {
  margin-top: 16px;
  color: var(--color-text-secondary);
  font-size: 15px;
  font-weight: 400;
  line-height: 20px;
}

.featured-projects {
  margin-top: 200px;
}

.featured-projects__line {
  width: 100%;
  height: 1px;
  background: var(--color-text);
}

.featured-projects__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  margin-top: var(--space-2);
}

.featured-projects__label {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  line-height: 1;
  text-transform: uppercase;
}

.featured-projects__list {
  display: grid;
  gap: 40px;
  margin-top: 80px;
}

.project-card__thumbnail {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #e2e2e4;
  overflow: hidden;
}

.project-card__link {
  display: block;
}

.project-card__thumbnail--image {
  aspect-ratio: auto;
}

.project-card__thumbnail img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-card__thumbnail--image img {
  height: auto;
  object-fit: initial;
}

.work-detail {
  margin-top: 160px;
}

.work-detail__title {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 40px;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
}

.work-detail__cover {
  grid-column: 1 / -1;
  margin: 80px 0 0;
}

.work-detail__cover img {
  display: block;
  width: 100%;
  height: auto;
}

.work-detail__cover--placeholder {
  display: grid;
  min-height: 0;
  aspect-ratio: 16 / 9;
  place-items: center;
  background: #e2e2e4;
  color: var(--color-text-secondary);
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1.35;
  text-align: center;
}

.project-information-block {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--grid-gutter);
  margin-top: 120px;
}

.project-information {
  grid-column: 1 / span 5;
  margin: 0;
  color: var(--color-text);
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  line-height: 1;
  text-transform: uppercase;
}

.project-information__content {
  grid-column: 7 / span 6;
}

.project-information__list {
  margin: 0;
}

.project-information__item {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: start;
  gap: 24px;
  padding: 0 0 16px;
}

.project-information__item + .project-information__item {
  padding-top: 16px;
}

.project-information__item:not(:last-child) {
  border-bottom: 1px solid #c1c1c1;
}

.project-information__item dt,
.project-information__item dd {
  margin: 0;
  font-family: var(--font-mono);
}

.project-information__item dt {
  color: #7d7d7d;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.35;
  text-transform: uppercase;
}

.project-information__item dd {
  color: var(--color-text);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.35;
  text-align: right;
}

.project-information__summary {
  margin-top: 80px;
}

.project-information__summary--flush {
  margin-top: 0;
}

.project-information__summary h3,
.project-information__summary p {
  margin: 0;
}

.project-information__summary h3 {
  color: var(--color-text);
  font-family: var(--font-mono);
  font-size: 20px;
  font-weight: 500;
  line-height: 1.35;
}

.project-information__summary p {
  margin-top: 16px;
  color: var(--color-text-secondary);
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.5;
}

.project-information__responsibilities {
  margin-top: 40px;
}

.project-information__responsibilities h4 {
  margin: 0;
  color: #7d7d7d;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 400;
  line-height: 1.35;
  text-transform: uppercase;
}

.project-information__responsibilities ul {
  display: grid;
  gap: 8px;
  margin: 16px 0 0;
  padding-left: 18px;
  color: var(--color-text-secondary);
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.5;
}

.project-information__closing {
  margin: 40px 0 0;
  color: var(--color-text-secondary);
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.5;
}

.project-next {
  grid-column: 1 / -1;
  margin-top: 160px;
  border-top: 1px solid var(--color-text);
  border-bottom: 1px solid var(--color-text);
  padding-block: 24px;
}

.project-next__link {
  margin: 0 auto;
}

.work-detail__image {
  grid-column: 1 / -1;
  margin: 120px 0 0;
}

.work-detail__image--grouped {
  margin-top: 24px;
}

.work-detail__image img {
  display: block;
  width: 100%;
  height: auto;
}

.work-detail__image-pair {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-top: 24px;
}

.work-detail__image-pair figure {
  margin: 0;
}

.work-detail__image-pair img {
  display: block;
  width: 100%;
  height: auto;
}

.project-card__title,
.project-card__tag {
  margin: 0;
}

.project-card__title {
  margin-top: 24px;
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 900;
  line-height: 20px;
  text-transform: uppercase;
  transition: color 220ms ease;
}

.project-card__link:hover .project-card__title,
.project-card__link:focus-visible .project-card__title {
  color: var(--color-accent);
}

.project-card__link:focus-visible {
  outline: 1px solid var(--color-text);
  outline-offset: 5px;
}

.project-card__tag {
  margin-top: 8px;
  color: var(--color-text-secondary);
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 400;
  line-height: 20px;
}

.lab {
  margin-top: 200px;
}

.lab__line {
  width: 100%;
  height: 1px;
  background: var(--color-text);
}

.lab__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  margin-top: var(--space-2);
}

.lab__label {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  line-height: 1;
  text-transform: uppercase;
}

.lab__header .hero__cta {
  margin: 0;
}

.lab__scroller {
  width: 100vw;
  margin-top: 80px;
  margin-left: calc(50% - 50vw);
  overflow-x: auto;
  scrollbar-width: thin;
}

.lab__track {
  display: flex;
  gap: 24px;
  width: max-content;
  margin-inline: auto;
  padding-inline: 24px;
}

.lab-shot {
  flex: 0 0 min(280px, calc(100vw - (var(--page-padding) * 2)));
  margin: 0;
}

.lab-shot__link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.lab-shot img {
  display: block;
  width: 100%;
  height: auto;
}

.lab-shot figcaption {
  margin-top: 8px;
  color: var(--color-text-secondary);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 400;
  line-height: 1.35;
}

.journey {
  margin-top: 200px;
  padding-block: 160px;
  background-color: #000;
  background-image: url("../assets/images/black-bg.jpg");
  background-position: center;
  background-size: cover;
}

.journey__content {
  grid-column: span 12;
}

.journey__heading {
  margin: 0;
  color: #fff;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  line-height: 1;
  text-transform: uppercase;
}

.journey__statement {
  margin: 80px 0 0;
  color: #fff;
  font-family: var(--font-sans);
  font-size: 40px;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
}

.journey__roles {
  margin-top: 80px;
}

.journey__role-line {
  width: 100%;
  height: 1px;
  background: #494949;
}

.journey__role-period,
.journey__role-title,
.journey__role-description {
  margin: 0;
  font-family: var(--font-mono);
}

.journey__role-period {
  margin-top: 24px;
  color: #7d7d7d;
  font-size: 15px;
  font-weight: 400;
  line-height: 20px;
}

.journey__role-title {
  margin-top: 24px;
  color: #fff;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.2;
}

.journey__role-description {
  margin-top: 16px;
  color: #7d7d7d;
  font-size: 15px;
  font-weight: 400;
  line-height: 20px;
}

.site-footer {
  padding-top: 160px;
}

.site-footer__contact {
  grid-column: 1 / span 8;
}

.site-footer__heading {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 40px;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
}

.site-footer__heading span {
  display: block;
}

.site-footer__availability {
  margin: 40px 0 0;
  color: #7d7d7d;
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 400;
  line-height: 20px;
}

.site-footer__details {
  display: grid;
  gap: 8px;
  margin-top: 24px;
}

.site-footer__details a {
  width: max-content;
  color: #7d7d7d;
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 500;
  line-height: 20px;
}

.site-footer__details a:hover {
  color: var(--color-accent);
}

.site-footer__navigation {
  display: grid;
  grid-column: 10 / span 3;
  justify-items: start;
  gap: 16px;
}

.site-footer__link {
  margin: 0;
}

.site-footer__stamp {
  display: block;
  width: 148px;
  height: auto;
  margin-top: 40px;
}

.site-footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  margin-top: 80px;
  padding-block: 24px;
  border-top: 1px solid var(--color-text);
  border-bottom: 1px solid var(--color-text);
}

.site-footer__socials {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.site-footer__bottom-link {
  margin: 0;
}

.site-footer__copyright {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  line-height: 1;
  text-transform: uppercase;
}

.site-footer__legal {
  grid-column: 2 / span 10;
  margin: 24px 0 40px;
  color: #7d7d7d;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 400;
  line-height: 1.35;
  text-align: center;
}

@media (prefers-reduced-motion: no-preference) {
  .motion-enabled .hero__eyebrow,
  .motion-enabled .hero__title {
    opacity: 0;
    clip-path: inset(0 0 100% 0);
    transform: translateY(28px);
    transition: clip-path 2000ms cubic-bezier(.16, 1, .3, 1), opacity 2000ms ease, transform 2000ms cubic-bezier(.16, 1, .3, 1);
  }

  .motion-enabled .hero__title {
    transform: translateY(36px) rotate(-6deg);
    transition-delay: 180ms;
  }

  .motion-enabled .hero__statement span {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity 800ms ease, transform 1100ms cubic-bezier(.16, 1, .3, 1);
  }

  .motion-loaded .hero__eyebrow,
  .motion-loaded .hero__title {
    opacity: 1;
    clip-path: inset(0);
    transform: translateY(0);
  }

  .motion-loaded .hero__title {
    transform: rotate(-6deg);
  }

  .motion-loaded .hero__statement span {
    animation: hero-line-reveal 1000ms cubic-bezier(.16, 1, .3, 1) both;
  }

  .motion-loaded .hero__statement span:nth-child(1) { animation-delay: 2200ms; }
  .motion-loaded .hero__statement span:nth-child(2) { animation-delay: 2700ms; }
  .motion-loaded .hero__statement span:nth-child(3) { animation-delay: 3200ms; }
  .motion-loaded .hero__statement span:nth-child(4) { animation-delay: 3700ms; }

  .motion-enabled .hero__description,
  .motion-enabled .hero .hero__cta,
  .motion-enabled .about-profile {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 800ms ease, transform 1100ms cubic-bezier(.16, 1, .3, 1);
  }

  .motion-loaded .hero__description,
  .motion-loaded .hero .hero__cta {
    animation: hero-content-reveal 800ms cubic-bezier(.16, 1, .3, 1) 4000ms both;
  }

  .motion-loaded .about-profile {
    animation: hero-content-reveal 1000ms cubic-bezier(.16, 1, .3, 1) 3500ms both;
  }

  .motion-enabled .project-card,
  .motion-enabled .journey__role,
  .motion-enabled .site-footer__stamp,
  .motion-enabled .about-intro,
  .motion-enabled .about-details__column,
  .motion-enabled .experience-section__intro,
  .motion-enabled .experience-item,
  .motion-enabled .what-i-bring__item,
  .motion-enabled .lab-page__card,
  .motion-enabled .work-detail__title,
  .motion-enabled .work-detail__cover,
  .motion-enabled .project-information-block,
  .motion-enabled .work-detail__image,
  .motion-enabled .work-detail__image-pair,
  .motion-enabled .project-next,
  .motion-enabled .journal-detail__header,
  .motion-enabled .journal-detail__primary-image,
  .motion-enabled .journal-detail__content,
  .motion-enabled .journal-detail__back {
    opacity: 0;
    transform: translateY(36px) scale(.985);
    transition: opacity 850ms ease, transform 1200ms cubic-bezier(.16, 1, .3, 1);
  }

  .motion-enabled .site-footer__stamp {
    transform: translateY(24px) rotate(-8deg) scale(.9);
  }

  .motion-enabled .project-card.is-revealed,
  .motion-enabled .journey__role.is-revealed,
  .motion-enabled .site-footer__stamp.is-revealed,
  .motion-enabled .about-intro.is-revealed,
  .motion-enabled .about-details__column.is-revealed,
  .motion-enabled .experience-section__intro.is-revealed,
  .motion-enabled .experience-item.is-revealed,
  .motion-enabled .what-i-bring__item.is-revealed,
  .motion-enabled .lab-page__card.is-revealed,
  .motion-enabled .work-detail__title.is-revealed,
  .motion-enabled .work-detail__cover.is-revealed,
  .motion-enabled .project-information-block.is-revealed,
  .motion-enabled .work-detail__image.is-revealed,
  .motion-enabled .work-detail__image-pair.is-revealed,
  .motion-enabled .project-next.is-revealed,
  .motion-enabled .journal-detail__header.is-revealed,
  .motion-enabled .journal-detail__primary-image.is-revealed,
  .motion-enabled .journal-detail__content.is-revealed,
  .motion-enabled .journal-detail__back.is-revealed {
    opacity: 1;
    transform: translateY(0) scale(1);
  }

  .motion-enabled .site-footer__stamp.is-revealed {
    transform: translateY(0) rotate(0) scale(1);
  }

  .motion-enabled .work-detail__cover,
  .motion-enabled .work-detail__image,
  .motion-enabled .work-detail__image-pair {
    transform: translateY(36px) scale(.97);
  }

  .motion-enabled .work-detail__cover.is-revealed,
  .motion-enabled .work-detail__image.is-revealed,
  .motion-enabled .work-detail__image-pair.is-revealed {
    transform: translateY(0) scale(1);
  }

  .site-footer__stamp:hover {
    animation: stamp-wobble 800ms cubic-bezier(.16, 1, .3, 1) both;
  }

  .motion-enabled .project-card:nth-child(2),
  .motion-enabled .journey__role:nth-child(2) {
    transition-delay: 180ms;
  }

  .motion-enabled .project-card:nth-child(3),
  .motion-enabled .journey__role:nth-child(3) {
    transition-delay: 360ms;
  }

  .motion-enabled .experience-item:nth-child(2),
  .motion-enabled .what-i-bring__item:nth-child(2) {
    transition-delay: 180ms;
  }

  .motion-enabled .experience-item:nth-child(3),
  .motion-enabled .what-i-bring__item:nth-child(3) {
    transition-delay: 360ms;
  }

  .motion-enabled .experience-item:nth-child(4) {
    transition-delay: 540ms;
  }

  .motion-enabled .experience-item:nth-child(5) {
    transition-delay: 720ms;
  }

  .motion-enabled .experience-item:nth-child(6) {
    transition-delay: 900ms;
  }

  .motion-enabled .lab-page__card:nth-child(2) {
    transition-delay: 90ms;
  }

  .motion-enabled .lab-page__card:nth-child(3) {
    transition-delay: 180ms;
  }

  .motion-enabled .lab-page__card:nth-child(4) {
    transition-delay: 270ms;
  }

  .motion-enabled .lab__track {
    transform: translateX(var(--lab-scroll-shift, 0));
    transition: transform 350ms cubic-bezier(.16, 1, .3, 1);
    will-change: transform;
  }

  @keyframes stamp-wobble {
    0% { transform: rotate(0) scale(1); }
    35% { transform: rotate(-8deg) scale(1.06); }
    70% { transform: rotate(6deg) scale(1.03); }
    100% { transform: rotate(0) scale(1); }
  }

  @keyframes hero-line-reveal {
    from {
      opacity: 0;
      transform: translateY(26px);
    }

    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  @keyframes hero-content-reveal {
    from {
      opacity: 0;
      transform: translateY(24px);
    }

    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

}

.menu-toggle {
  display: none;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--color-text);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 1px;
  background: currentColor;
  transition: opacity 180ms ease, transform 180ms ease;
}

.menu-toggle span + span {
  margin-top: 5px;
}

.menu-toggle.is-active span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.menu-toggle.is-active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.is-active span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.portfolio-mark {
  display: flex;
  align-items: center;
  justify-self: end;
  gap: 40px;
  white-space: nowrap;
  text-transform: uppercase;
}

.portfolio-mark__est {
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  line-height: 1;
}

.portfolio-mark__title {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  line-height: 1;
}

@media (max-width: 980px) {
  .site-header__inner {
    grid-template-columns: 1fr auto;
  }

  .main-nav {
    grid-column: 2;
    grid-row: 1;
    justify-content: flex-end;
  }

  .portfolio-mark {
    display: none;
  }

  .main-nav a[href="#contact"] {
    margin-left: 0;
  }

  .journal-detail__header {
    grid-column: 3 / span 8;
  }
}

@media (max-width: 825px) and (min-width: 641px) {
  .hero__content {
    grid-column: 2 / span 10;
  }
}

@media (max-width: 825px) {
  .lab-shot {
    flex-basis: min(180px, calc(100vw - (var(--page-padding) * 2)));
  }

  .lab-page__gallery {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  :root {
    --page-padding: 20px;
    --grid-gutter: 16px;
  }

  .site-header {
    padding-block: var(--space-3);
  }

  .site-header__inner {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    row-gap: var(--space-3);
  }

  .main-nav {
    display: none;
    grid-column: 1 / -1;
    grid-row: 2;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 16px 25px;
  }

  .main-nav.is-open {
    display: flex;
  }

  .menu-toggle {
    display: block;
    grid-column: 2;
    grid-row: 1;
  }

  .hero {
    margin-top: 120px;
  }

  .hero__content {
    grid-column: 1 / -1;
  }

  .about-profile {
    grid-column: 3 / span 8;
  }

  .about-intro {
    grid-column: 1 / -1;
    font-size: 18px;
  }

  .lab-page__intro {
    grid-column: 1 / -1;
  }

  .lab-page__intro h1 {
    font-size: 30px;
  }

  .lab-page__intro p {
    font-size: 15px;
  }

  .lab-page__gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .journal-detail {
    margin-top: 120px;
  }

  .journal-detail__header,
  .journal-detail__content {
    grid-column: 1 / -1;
  }

  .journal-detail__header h1 {
    font-size: 30px;
  }

  .journal-detail__intro {
    font-size: 18px;
  }

  .journal-detail__content {
    gap: 56px;
    margin-top: 80px;
  }

  .journal-detail__back {
    margin-top: 80px;
  }

  .work-detail {
    margin-top: 120px;
  }

  .work-detail__title {
    font-size: 30px;
  }

  .project-information,
  .project-information__content {
    grid-column: 1 / -1;
  }

  .project-information__content {
    margin-top: 40px;
  }

  .project-information__summary {
    margin-top: 56px;
  }

  .project-information__summary--flush {
    margin-top: 0;
  }

  .project-next {
    margin-top: 120px;
  }

  .about-details__column--left,
  .about-details__column--right {
    grid-column: 1 / -1;
  }

  .experience-section__intro,
  .experience-section__list {
    grid-column: 1 / -1;
  }

  .experience-section__list {
    margin-top: 40px;
  }

  .experience-section__statement {
    font-size: 30px;
  }

  .experience-item {
    grid-template-columns: 1fr;
    row-gap: 24px;
  }

  .experience-item__period,
  .experience-item__summary,
  .experience-item__details,
  .experience-item__trigger {
    grid-column: 1 / -1;
  }

  .experience-item__details {
    margin-top: 24px;
  }

  .what-i-bring__item {
    grid-column: 1 / -1;
  }

  .what-i-bring__item + .what-i-bring__item {
    margin-top: 40px;
  }

  .what-i-bring__title {
    font-size: 18px;
    white-space: nowrap;
  }

  .what-i-bring__title br {
    display: none;
  }

  .hero__eyebrow,
  .hero__statement {
    font-size: 30px;
  }

  .hero__title {
    font-size: clamp(54px, 18vw, 86px);
  }

  .hero__statement {
    margin-top: 24px;
  }

  .featured-projects {
    margin-top: 120px;
  }

  .lab {
    margin-top: 120px;
  }

  .journey {
    margin-top: 120px;
  }

  .journey__statement {
    font-size: 30px;
  }

  .journey__role {
    grid-column: 1 / -1;
  }

  .journey__role:not(:last-child) .journey__role-description {
    margin-bottom: 24px;
  }

  .site-footer {
    padding-top: 120px;
  }

  .site-footer__contact,
  .site-footer__navigation {
    grid-column: 1 / -1;
  }

  .site-footer__contact,
  .site-footer__navigation,
  .site-footer__bottom {
    text-align: center;
  }

  .site-footer__details,
  .site-footer__navigation {
    justify-items: center;
  }

  .site-footer__navigation {
    margin-top: 80px;
  }

  .site-footer__heading {
    font-size: 30px;
  }

  .site-footer__bottom {
    align-items: center;
    flex-direction: column;
  }

  .site-footer__socials {
    justify-content: center;
  }

  .site-footer__stamp {
    margin-inline: auto;
  }
}

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

  .page-loader {
    transition: none;
  }

  .site-header {
    transition: none;
  }

  .main-nav__label,
  .hero__cta-label,
  .menu-toggle span {
    transition: none;
  }
}
