/* Moorfield Lab — Studio für Gasträume */

@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Moor: Nebel, Moos, Flechte, Heide, Torf */
  --nebel: #e4e6df;
  --papier: #eef0ea;
  --moos: #26332b;
  --flechte: #a9b394;
  --heide: #7d4f6b;
  --torf: #6b4a35;
  --grau: #59605a;
  --rost: #963a2c;

  --t-sm: 0.8125rem;
  --t-base: 1.0625rem;
  --t-md: 1.375rem;
  --t-lg: clamp(1.625rem, 1.2rem + 1.6vw, 2.375rem);
  --t-xl: clamp(2.375rem, 1.4rem + 4vw, 5rem);
  --t-xxl: clamp(2.75rem, 0.8rem + 8vw, 8.75rem);

  --gutter: clamp(1.125rem, 4vw, 3rem);
  --space: clamp(4.5rem, 10vw, 10rem);
  --ease: cubic-bezier(0.2, 0.7, 0.1, 1);
}

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

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--nebel);
  color: var(--moos);
  font-family: "Archivo", system-ui, sans-serif;
  font-size: var(--t-base);
  font-stretch: 100%;
  line-height: 1.55;
  font-kerning: normal;
  text-rendering: optimizeLegibility;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
}

a:hover {
  text-decoration-color: var(--heide);
}

:focus-visible {
  outline: 2px solid var(--heide);
  outline-offset: 3px;
}

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

ol,
ul {
  padding: 0;
  list-style: none;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.skip {
  position: absolute;
  left: var(--gutter);
  top: -4rem;
  z-index: 50;
  padding: 0.6rem 1rem;
  background: var(--moos);
  color: var(--nebel);
}

.skip:focus {
  top: 1rem;
}

/* ---------- Typography ---------- */

.display {
  font-stretch: 125%;
  font-weight: 300;
  font-size: var(--t-xxl);
  line-height: 0.98;
  letter-spacing: -0.025em;
}

.heading {
  font-stretch: 125%;
  font-weight: 300;
  font-size: var(--t-xl);
  line-height: 1.02;
  letter-spacing: -0.02em;
}

.subheading {
  font-stretch: 112%;
  font-weight: 400;
  font-size: var(--t-lg);
  line-height: 1.15;
  letter-spacing: -0.01em;
}

.lead {
  font-size: var(--t-md);
  line-height: 1.45;
  max-width: 34ch;
}

.meta {
  font-stretch: 75%;
  font-weight: 500;
  font-size: var(--t-sm);
  letter-spacing: 0.01em;
  color: var(--grau);
  font-variant-numeric: tabular-nums;
}

.prose {
  max-width: 60ch;
}

.prose p + p {
  margin-top: 1em;
}

.link {
  font-stretch: 112%;
  font-weight: 500;
}

/* ---------- Layout ---------- */

.wrap {
  width: min(100% - 2 * var(--gutter), 1440px);
  margin-inline: auto;
}

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

.section {
  padding-block: var(--space);
}

.section--tight {
  padding-block: calc(var(--space) * 0.5);
}

.section--dark {
  background: var(--moos);
  color: var(--nebel);
}

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

/* ---------- Wordmark ---------- */

.wordmark {
  display: inline-flex;
  align-items: baseline;
  gap: 0.3em;
  font-size: 1.25rem;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
}

.wordmark__moor {
  font-stretch: 125%;
  font-weight: 500;
  letter-spacing: -0.01em;
}

.wordmark__lab {
  font-stretch: 62%;
  font-weight: 300;
}

/* ---------- Header ---------- */

.site-header {
  position: relative;
  z-index: 20;
}

.site-header__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 4.75rem;
}

.nav__list {
  display: flex;
  gap: clamp(1.25rem, 3vw, 2.75rem);
}

.nav__link {
  font-stretch: 112%;
  font-weight: 400;
  text-decoration: none;
  padding-block: 0.4rem;
}

.nav__link:hover,
.nav__link[aria-current="page"] {
  text-decoration: underline;
  text-decoration-thickness: 1px;
}

.nav__link--portal {
  color: var(--heide);
}

.menu-toggle {
  display: none;
  border: 0;
  background: none;
  padding: 0.5rem 0;
  font: inherit;
  font-stretch: 112%;
  color: inherit;
  cursor: pointer;
}

@media (max-width: 760px) {
  .menu-toggle {
    display: block;
  }

  .nav {
    position: fixed;
    inset: 0;
    z-index: 30;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 6rem var(--gutter) 3rem;
    background: var(--moos);
    color: var(--nebel);
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.25s var(--ease), visibility 0s linear 0.25s;
  }

  .nav[data-open="true"] {
    visibility: visible;
    opacity: 1;
    transition: opacity 0.25s var(--ease);
  }

  .nav__list {
    flex-direction: column;
    gap: 0.5rem;
  }

  .nav__link {
    font-stretch: 125%;
    font-weight: 300;
    font-size: 2.5rem;
    line-height: 1.15;
  }

  .nav__link--portal {
    color: var(--flechte);
  }

  .menu-toggle[aria-expanded="true"] {
    position: relative;
    z-index: 40;
    color: var(--nebel);
  }

  .site-header__bar .wordmark {
    position: relative;
    z-index: 40;
  }

  body.menu-open .site-header__bar .wordmark {
    color: var(--nebel);
  }

  body.menu-open {
    overflow: hidden;
  }
}

/* ---------- Colour chips ---------- */

.chips {
  display: flex;
  gap: 3px;
}

.chips i {
  display: block;
  width: 0.875rem;
  height: 0.875rem;
  background: var(--c);
}

.band {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
}

.band__colour {
  height: clamp(0.875rem, 2vw, 1.75rem);
  background: var(--c);
  transform-origin: left center;
}

.band__codes {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  margin-top: 0.5rem;
}

.band--animate .band__colour {
  transform: scaleX(0);
  animation: band-grow 0.9s var(--ease) forwards;
  animation-delay: calc(var(--i) * 110ms + 250ms);
}

@keyframes band-grow {
  to {
    transform: scaleX(1);
  }
}

/* ---------- Home hero ---------- */

.hero__media img {
  width: 100%;
  height: min(78vh, 62vw);
  min-height: 22rem;
  object-fit: cover;
  object-position: 50% 60%;
}

.hero__text {
  margin-top: clamp(2.5rem, 6vw, 5rem);
  align-items: end;
  row-gap: 2rem;
}

.hero__title {
  grid-column: 1 / 9;
}

.hero__aside {
  grid-column: 9 / 13;
}

.hero__aside .link {
  display: inline-block;
  margin-top: 1.25rem;
}

/* ---------- Project tiles ---------- */

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

.tile img {
  width: 100%;
  background: var(--papier);
}

.tile__caption {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 1rem;
  margin-top: 0.875rem;
}

.tile__name {
  font-stretch: 118%;
  font-weight: 400;
  font-size: var(--t-md);
  line-height: 1.2;
}

.tile:hover .tile__name {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
  text-decoration-color: var(--heide);
}

.tile .chips {
  margin-top: 0.4rem;
  flex-shrink: 0;
}

.selected {
  row-gap: clamp(3.5rem, 9vw, 9rem);
}

.selected__head {
  grid-column: 1 / -1;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
}

.tile--a { grid-column: 1 / 9; }
.tile--b { grid-column: 10 / 13; margin-top: 30%; }
.tile--c { grid-column: 2 / 7; }
.tile--d { grid-column: 8 / 13; margin-top: 18%; }

/* ---------- Studio teaser ---------- */

.teaser {
  row-gap: 2.5rem;
  align-items: end;
}

.teaser__text {
  grid-column: 1 / 10;
}

.teaser__link {
  grid-column: 10 / 13;
  justify-self: end;
}

/* ---------- Footer ---------- */

.site-footer {
  padding-block: 3.5rem 2.5rem;
  border-top: 1px solid rgb(38 51 43 / 0.18);
}

.site-footer__grid {
  row-gap: 2rem;
}

.site-footer__brand { grid-column: 1 / 5; }
.site-footer__address { grid-column: 5 / 8; }
.site-footer__links { grid-column: 8 / 10; }
.site-footer__legal { grid-column: 10 / 13; text-align: right; }

.site-footer__links li + li {
  margin-top: 0.25rem;
}

/* ---------- Projects page ---------- */

.page-head {
  padding-top: clamp(2.5rem, 7vw, 6rem);
  padding-bottom: clamp(2rem, 5vw, 4rem);
}

.page-head__row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: end;
  gap: 1.5rem 3rem;
}

.filter {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.filter button {
  font: inherit;
  font-stretch: 112%;
  font-size: 0.9375rem;
  color: var(--moos);
  background: transparent;
  border: 1px solid rgb(38 51 43 / 0.35);
  border-radius: 999px;
  padding: 0.45rem 1rem;
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}

.filter button:hover {
  border-color: var(--moos);
}

.filter button[aria-pressed="true"] {
  background: var(--moos);
  border-color: var(--moos);
  color: var(--nebel);
}

.catalogue {
  columns: 2;
  column-gap: var(--gutter);
}

.catalogue__item {
  break-inside: avoid;
  margin-bottom: clamp(3rem, 7vw, 6rem);
}

.catalogue__item[hidden] {
  display: none;
}

.catalogue__item .tile {
  width: 100%;
  border: 0;
  padding: 0;
  background: none;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.catalogue__item:nth-child(even) .tile img {
  /* second column breathes a little */
  margin-top: 0;
}

/* ---------- Lightbox ---------- */

.lightbox {
  width: 100vw;
  max-width: none;
  height: 100dvh;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: var(--moos);
  color: var(--nebel);
}

.lightbox::backdrop {
  background: var(--moos);
}

.lightbox[open] {
  display: flex;
  flex-direction: column;
  animation: lightbox-in 0.3s var(--ease);
}

@keyframes lightbox-in {
  from {
    opacity: 0;
  }
}

.lightbox__bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  padding: 1.25rem var(--gutter);
}

.lightbox__title {
  font-stretch: 118%;
  font-weight: 400;
  font-size: var(--t-md);
}

.lightbox .meta {
  color: var(--flechte);
}

.lightbox__close,
.lightbox__step {
  font: inherit;
  font-stretch: 112%;
  color: var(--nebel);
  background: none;
  border: 1px solid rgb(228 230 223 / 0.4);
  border-radius: 999px;
  padding: 0.45rem 1rem;
  cursor: pointer;
}

.lightbox__close:hover,
.lightbox__step:hover {
  border-color: var(--nebel);
}

.lightbox__track {
  flex: 1;
  display: flex;
  gap: var(--gutter);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 0 var(--gutter);
  align-items: center;
  scrollbar-width: none;
}

.lightbox__track::-webkit-scrollbar {
  display: none;
}

.lightbox__track img {
  flex: none;
  height: 70dvh;
  max-height: 100%;
  width: auto;
  max-width: calc(100vw - 2 * var(--gutter));
  object-fit: contain;
  scroll-snap-align: center;
}

.lightbox__foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem var(--gutter);
}

.lightbox__steps {
  display: flex;
  gap: 0.5rem;
}

/* ---------- Case study ---------- */

.case-hero img {
  width: 100%;
  height: min(86vh, 66vw);
  min-height: 24rem;
  object-fit: cover;
  object-position: 50% 40%;
}

.case-intro {
  row-gap: 3rem;
  align-items: start;
}

.case-intro__title {
  grid-column: 1 / 8;
}

.case-intro__facts {
  grid-column: 9 / 13;
}

.facts {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.6rem 1.5rem;
  border-top: 1px solid rgb(38 51 43 / 0.2);
  padding-top: 1.25rem;
}

.facts dt {
  font-stretch: 75%;
  font-weight: 500;
  font-size: var(--t-sm);
  color: var(--grau);
  padding-top: 0.2rem;
}

.case-intro__text {
  grid-column: 1 / 7;
}

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

.material__swatch {
  aspect-ratio: 3 / 4;
  background: var(--c);
}

.material__name {
  margin-top: 0.75rem;
  font-stretch: 112%;
  line-height: 1.3;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--gutter);
  align-items: start;
}

.gallery figure {
  margin: 0;
}

.gallery figcaption {
  margin-top: 0.6rem;
}

.g-full { grid-column: 1 / -1; }
.g-left { grid-column: 1 / 6; }
.g-right { grid-column: 7 / 13; margin-top: 22%; }
.g-wide { grid-column: 2 / 12; }
.g-half-a { grid-column: 1 / 7; }
.g-half-b { grid-column: 7 / 13; }
.g-narrow { grid-column: 3 / 7; }
.g-note { grid-column: 8 / 12; align-self: center; }

.next-project {
  display: flex;
  justify-content: space-between;
  align-items: end;
  flex-wrap: wrap;
  gap: 1.5rem;
  text-decoration: none;
}

.next-project:hover .heading {
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 0.12em;
  text-decoration-color: var(--heide);
}

/* ---------- Studio ---------- */

.studio-intro {
  row-gap: 3rem;
  align-items: end;
}

.studio-intro__text { grid-column: 1 / 8; }
.studio-intro__media { grid-column: 9 / 13; }

.steps {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: var(--gutter);
  counter-reset: step;
}

.step {
  border-top: 1px solid rgb(228 230 223 / 0.35);
  padding-top: 1rem;
}

.step__no {
  display: block;
  font-stretch: 62%;
  font-weight: 300;
  font-size: 3rem;
  line-height: 1;
  color: var(--flechte);
  font-variant-numeric: tabular-nums;
}

.step__name {
  margin-top: 1rem;
  font-stretch: 118%;
  font-weight: 400;
  font-size: var(--t-md);
  line-height: 1.2;
}

.step p {
  margin-top: 0.5rem;
  color: rgb(228 230 223 / 0.78);
}

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

.team__head { grid-column: 1 / 5; }
.team__list { grid-column: 6 / 13; }

.team__list li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  padding-block: 1rem;
  border-bottom: 1px solid rgb(38 51 43 / 0.18);
}

.team__list li:first-child {
  border-top: 1px solid rgb(38 51 43 / 0.18);
}

.team__name {
  font-stretch: 118%;
  font-size: var(--t-md);
  line-height: 1.2;
}

.archive {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(9.5rem, 1fr));
  gap: 2rem var(--gutter);
}

.archive__swatch {
  aspect-ratio: 1;
  background: var(--c);
}

.archive__name {
  margin-top: 0.6rem;
  font-stretch: 112%;
  line-height: 1.3;
}

/* ---------- Contact ---------- */

.contact-mail {
  display: inline-block;
  font-stretch: 125%;
  font-weight: 300;
  font-size: clamp(1.5rem, 0.2rem + 5.4vw, 6rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  text-decoration-thickness: 2px;
  text-underline-offset: 0.12em;
  overflow-wrap: anywhere;
}

.contact-grid {
  row-gap: 3rem;
  align-items: start;
}

.contact-grid__media { grid-column: 1 / 7; }
.contact-grid__info { grid-column: 8 / 13; }

.info-block + .info-block {
  margin-top: 2.25rem;
}

.info-block .meta {
  display: block;
  margin-bottom: 0.4rem;
}

.imprint {
  max-width: 60ch;
  font-size: 0.9375rem;
  color: var(--grau);
}

/* ---------- Portal (login) ---------- */

.portal {
  min-height: 100dvh;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(22rem, 34rem);
}

.portal__media {
  position: relative;
  background: var(--moos);
}

.portal__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.portal__panel {
  display: flex;
  flex-direction: column;
  padding: 2rem clamp(1.5rem, 4vw, 3.5rem) 2.5rem;
}

.portal__body {
  margin-block: auto;
  padding-block: 3rem;
}

.portal__title {
  font-stretch: 125%;
  font-weight: 300;
  font-size: clamp(2.25rem, 1.6rem + 2vw, 3.25rem);
  line-height: 1.02;
  letter-spacing: -0.02em;
}

.portal__intro {
  margin-top: 1rem;
  color: var(--grau);
  max-width: 32ch;
}

.form {
  margin-top: 2.5rem;
}

.field + .field {
  margin-top: 1.5rem;
}

.field label {
  display: block;
  font-stretch: 112%;
  font-size: 0.9375rem;
  margin-bottom: 0.35rem;
}

.field input {
  width: 100%;
  font: inherit;
  font-size: 1.0625rem;
  color: var(--moos);
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgb(38 51 43 / 0.45);
  border-radius: 0;
  padding: 0.55rem 0;
}

.field input:focus {
  outline: none;
  border-bottom: 2px solid var(--heide);
  padding-bottom: calc(0.55rem - 1px);
}

.field input[aria-invalid="true"] {
  border-bottom-color: var(--rost);
}

.field__error {
  margin-top: 0.35rem;
  font-size: 0.875rem;
  color: var(--rost);
}

.form__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
  font-size: 0.9375rem;
}

.check {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
}

.check input {
  width: 1.05rem;
  height: 1.05rem;
  accent-color: var(--moos);
  margin: 0;
}

.text-button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  padding: 0;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
  cursor: pointer;
}

.button {
  display: block;
  width: 100%;
  margin-top: 2rem;
  font: inherit;
  font-stretch: 112%;
  font-weight: 500;
  color: var(--nebel);
  background: var(--moos);
  border: 0;
  border-radius: 2px;
  padding: 1rem 1.25rem;
  cursor: pointer;
  transition: background-color 0.2s;
}

.button:hover {
  background: #33443a;
}

.button[disabled] {
  cursor: progress;
  background: var(--grau);
}

.button[data-locked="true"] {
  cursor: not-allowed;
}

.notice {
  margin-top: 1.25rem;
  padding: 0.9rem 1rem;
  border-left: 2px solid var(--rost);
  background: rgb(150 58 44 / 0.07);
  font-size: 0.9375rem;
}

.notice--info {
  border-left-color: var(--heide);
  background: rgb(125 79 107 / 0.08);
}

.portal__foot {
  font-size: 0.875rem;
  color: var(--grau);
}

/* ---------- Page-specific spacing ---------- */

address {
  font-style: normal;
}

.site-footer__tagline {
  margin-top: 0.75rem;
}

.band {
  margin-top: 0.75rem;
}

.band__codes > div {
  padding-right: 0.5rem;
}

.band__codes dt {
  color: var(--moos);
}

.materials {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  margin-top: 2rem;
}

.case-intro__text {
  margin-top: 0.5rem;
}

.studio-intro {
  padding-bottom: var(--space);
}

.studio-intro__lead {
  margin-top: 2rem;
}

.steps {
  margin-top: 3rem;
}

.archive__head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.5rem 2rem;
  margin-bottom: 2.5rem;
}

.studio-archive {
  padding-top: 0;
}

.contact-intro {
  margin-top: clamp(1.5rem, 4vw, 3rem);
}

.contact-grid__info {
  padding-top: 0.25rem;
}

.imprint {
  margin-top: 1.5rem;
}

/* ---------- Responsive ---------- */

@media (max-width: 960px) {
  .hero__title { grid-column: 1 / -1; }
  .hero__aside { grid-column: 1 / 9; }

  .tile--a { grid-column: 1 / -1; }
  .tile--b { grid-column: 4 / -1; margin-top: 0; }
  .tile--c { grid-column: 1 / 10; }
  .tile--d { grid-column: 3 / -1; margin-top: 0; }

  .teaser__text,
  .teaser__link {
    grid-column: 1 / -1;
    justify-self: start;
  }

  .case-intro__title,
  .case-intro__facts,
  .case-intro__text {
    grid-column: 1 / -1;
  }

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

  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 2.5rem;
  }

  .team__head,
  .team__list {
    grid-column: 1 / -1;
  }

  .studio-intro__text { grid-column: 1 / -1; }
  .studio-intro__media { grid-column: 1 / 8; }

  .contact-grid__media,
  .contact-grid__info {
    grid-column: 1 / -1;
  }

  .site-footer__brand { grid-column: 1 / -1; }
  .site-footer__address { grid-column: 1 / 7; }
  .site-footer__links { grid-column: 7 / 13; }
  .site-footer__legal { grid-column: 1 / -1; text-align: left; }

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

  .portal__media {
    height: 30vh;
    min-height: 12rem;
  }
}

@media (max-width: 640px) {
  .hero__media img {
    height: 64vh;
  }

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

  .tile--b,
  .tile--c,
  .tile--d {
    grid-column: 1 / -1;
  }

  .catalogue {
    columns: 1;
  }

  .g-left,
  .g-right,
  .g-wide,
  .g-half-a,
  .g-half-b,
  .g-narrow,
  .g-note {
    grid-column: 1 / -1;
    margin-top: 0;
  }

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

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

  .studio-intro__media { grid-column: 1 / -1; }

  .lightbox__track img {
    height: auto;
    max-height: 70dvh;
  }

  .band__codes .meta {
    font-size: 0.6875rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-delay: 0ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
