@font-face {
  font-family: "Mier A";
  src: url("/assets/fonts/MierA-Demi.woff2") format("woff2");
  font-display: swap;
  font-style: normal;
  font-weight: 400 700;
}

:root {
  --cream: #fffbf2;
  --paper: #fff;
  --ink: #0b0b0b;
  --muted: #d4d2cd;
  --header: 104px;
  --footer: 104px;
  --page-x: 60px;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--cream);
  color: var(--ink);
  font-family: "Mier A", Arial, sans-serif;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.1em;
  line-height: 1.6667;
  text-transform: uppercase;
}

body {
  min-height: 100svh;
  margin: 0;
  overflow: hidden;
  background: var(--paper);
  -webkit-user-select: none;
  user-select: none;
}

body:has(.copywriting-page),
body:has(.viewing-room),
body:has(.legal-page),
body:has(.section-info:not([hidden])) {
  overflow: auto;
}

body.panel-open {
  overflow: hidden;
}

body.site-enter {
  animation: site-enter 720ms cubic-bezier(0.16, 1, 0.3, 1) backwards;
}

body.site-leaving {
  pointer-events: none;
  animation: site-leave 420ms cubic-bezier(0.65, 0, 0.35, 1) both;
}

@keyframes site-enter {
  from {
    opacity: 0;
    filter: blur(5px);
  }

  to {
    opacity: 1;
    filter: blur(0);
  }
}

@keyframes site-leave {
  from {
    opacity: 1;
    filter: blur(0);
  }

  to {
    opacity: 0;
    filter: blur(5px);
  }
}

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

button,
input,
select,
textarea {
  color: inherit;
  font: inherit;
}

input,
select,
textarea,
[contenteditable="true"] {
  -webkit-user-select: text;
  user-select: text;
}

button {
  padding: 0;
  border: 0;
  background: none;
  letter-spacing: inherit;
  text-transform: inherit;
  cursor: pointer;
}

img,
video {
  display: block;
  max-width: 100%;
  -webkit-user-drag: none;
  -webkit-touch-callout: none;
  user-select: none;
}

[hidden] {
  display: none !important;
}

:focus-visible {
  outline: 1px solid currentColor;
  outline-offset: 5px;
}

.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

/* Landing / introduction */
.home {
  position: relative;
  display: grid;
  min-height: 100svh;
  place-items: center;
  overflow: hidden;
  background: var(--cream);
}

.home__copy {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.home__contact {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: auto 58px auto;
  gap: 29px;
  align-items: center;
  justify-items: center;
}

.home__link,
.home__monogram {
  opacity: 0;
  will-change: opacity, transform;
}

.home__link {
  transition:
    opacity 2085ms cubic-bezier(0.16, 1, 0.3, 1),
    transform 2085ms cubic-bezier(0.16, 1, 0.3, 1);
}

.home__link--email {
  transform: translateX(50px);
}

.home__link--more {
  transform: translateX(-50px);
}

.home-mark-ready .home__monogram {
  opacity: 1;
  transform: scale(1);
}

.home-links-ready .home__link {
  opacity: 1;
  transform: translateX(0);
}

.home__monogram {
  display: grid;
  width: 58px;
  height: 39px;
  place-items: center;
  transform: scale(0.96);
  transition:
    opacity 1042ms cubic-bezier(0.16, 1, 0.3, 1),
    transform 1042ms cubic-bezier(0.16, 1, 0.3, 1);
}

.home__monogram img {
  width: 58px;
  height: auto;
}

.intro-playing .home__contact {
  opacity: 0;
  pointer-events: none;
}

.intro {
  position: absolute;
  z-index: 10;
  inset: 0;
  display: grid;
  place-items: center;
  pointer-events: none;
}

.intro__mark {
  position: absolute;
  z-index: 3;
  display: grid;
  place-items: center;
  opacity: 0;
  transform: scale(0.96);
  transition:
    opacity 1042ms cubic-bezier(0.16, 1, 0.3, 1),
    transform 1042ms cubic-bezier(0.16, 1, 0.3, 1);
}

.intro__mark.is-visible {
  opacity: 1;
  transform: scale(1);
}

.intro__mark img {
  width: 58px;
}

.intro__image {
  position: absolute;
  z-index: 2;
  width: min(41.667vw, 600px);
  height: min(87.89svh, 900px);
  object-fit: contain;
  object-position: center;
  opacity: 0;
  will-change: opacity;
  transition: opacity 180ms linear;
}

.intro__image.is-visible {
  opacity: 1;
}

.intro__image.is-fading {
  opacity: 0;
  transition-duration: 1042ms;
  transition-timing-function: cubic-bezier(0.16, 1, 0.3, 1);
}

/* Shared header */
.site-header {
  position: fixed;
  z-index: 30;
  inset: 0 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: var(--header);
  padding: 0 var(--page-x);
  background: var(--paper);
}

.site-mark {
  display: block;
  justify-self: center;
}

.site-mark img {
  width: 58px;
  height: auto;
}

.info-trigger,
.header-language {
  justify-self: start;
}

.menu-trigger {
  position: relative;
  width: 34px;
  height: 34px;
  justify-self: end;
}

.menu-trigger span,
.panel-close span {
  position: absolute;
  top: 16px;
  right: 0;
  left: 0;
  height: 1px;
  background: currentColor;
}

.menu-trigger span:first-child {
  transform: rotate(90deg);
}

.lang-switch {
  display: flex;
  gap: 8px;
}

.lang-switch a:not([aria-current="true"]) {
  color: var(--muted);
}

/* Photography */
.project-page {
  min-height: 100svh;
  background: var(--paper);
}

.gallery {
  position: fixed;
  inset: var(--header) 0 var(--footer);
  overflow: hidden;
  touch-action: pan-y;
}

.gallery__track {
  display: flex;
  width: max-content;
  min-width: 100%;
  height: 100%;
  gap: 20px;
  align-items: center;
}

.gallery__item {
  display: grid;
  flex: 0 0 264px;
  width: 264px;
  height: 396px;
  margin: 0;
  place-items: center;
  opacity: 0.1;
  scroll-snap-align: center;
  transition: opacity 220ms linear;
  cursor: grab;
}

.gallery__item.is-active {
  opacity: 1;
  cursor: zoom-in;
}

.gallery__item img,
.gallery__item video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  user-select: none;
}

.gallery:not(.gallery--cover) {
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
  touch-action: pan-x;
}

.gallery:not(.gallery--cover)::-webkit-scrollbar {
  display: none;
}

.gallery:not(.gallery--cover) .gallery__track {
  padding-inline: calc(50vw - 132px);
}

.gallery__cover {
  display: none;
  margin: 0;
}

.gallery--cover .gallery__track {
  display: none;
}

.gallery--cover .gallery__cover {
  display: grid;
  width: 100%;
  height: 100%;
  place-items: center;
}

.gallery--cover .gallery__cover img,
.gallery--cover .gallery__cover video {
  width: min(37.92vw, 546px);
  height: calc(100svh - var(--header) - var(--footer));
  object-fit: contain;
  object-position: center;
  user-select: none;
}

.gallery.is-dragging,
.gallery.is-dragging .gallery__item {
  cursor: grabbing;
}

.gallery.is-zoomed {
  overflow: hidden;
}

.gallery.is-zoomed .gallery__track {
  width: 100%;
  min-width: 100%;
  padding: 0;
  justify-content: center;
}

.gallery.is-zoomed .gallery__item {
  display: none;
}

.gallery.is-zoomed .gallery__item.is-active {
  display: grid;
  flex-basis: min(37.92vw, 546px);
  width: min(37.92vw, 546px);
  height: 100%;
  opacity: 1;
  cursor: zoom-out;
  animation: gallery-zoom-in 300ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.gallery.is-zoomed .gallery__item.is-active img,
.gallery.is-zoomed .gallery__item.is-active video {
  transform: scale(var(--gallery-pinch-scale, 1));
  transition: transform 140ms ease-out;
  will-change: transform;
}

@keyframes gallery-zoom-in {
  from {
    transform: scale(0.72);
  }

  to {
    transform: scale(1);
  }
}

.gallery-arrow {
  position: fixed;
  z-index: 25;
  top: 50%;
  width: 44px;
  height: 44px;
  transform: translateY(-50%);
  font: 18px/1 Arial, sans-serif;
}

.gallery-arrow--previous {
  left: clamp(14px, 2.4vw, 46px);
}

.gallery-arrow--next {
  right: clamp(14px, 2.4vw, 46px);
}

.project-nav {
  position: fixed;
  z-index: 24;
  inset: auto 0 0;
  display: flex;
  height: var(--footer);
  gap: clamp(42px, 5vw, 72px);
  align-items: center;
  justify-content: center;
  padding: 0 24px;
  overflow-x: auto;
  background: var(--paper);
  color: var(--muted);
  white-space: nowrap;
}

.project-nav a {
  transition: color 160ms linear;
}

.project-nav a[aria-current="page"],
.project-nav a:hover,
.project-nav a:focus-visible {
  color: var(--ink);
}

.project-nav span[aria-disabled="true"] {
  color: var(--muted);
}

/* Menus and information layers */
.menu-panel,
.info-panel {
  position: fixed;
  z-index: 60;
  inset: 0;
  overflow: auto;
  pointer-events: none;
  opacity: 0;
  -webkit-backdrop-filter: blur(0) saturate(1);
  backdrop-filter: blur(0) saturate(1);
  transition:
    opacity 1042ms cubic-bezier(0.16, 1, 0.3, 1),
    background-color 1042ms cubic-bezier(0.16, 1, 0.3, 1),
    -webkit-backdrop-filter 1042ms cubic-bezier(0.16, 1, 0.3, 1),
    backdrop-filter 1042ms cubic-bezier(0.16, 1, 0.3, 1);
}

.menu-panel {
  background: rgba(255, 251, 242, 0);
}

.info-panel {
  background: rgba(255, 251, 242, 0);
}

.menu-panel.is-visible,
.info-panel.is-visible {
  pointer-events: auto;
  opacity: 1;
  -webkit-backdrop-filter: blur(16px) saturate(0.68);
  backdrop-filter: blur(16px) saturate(0.68);
}

.menu-panel.is-visible {
  background: rgba(255, 251, 242, 0.91);
}

.info-panel.is-visible {
  background: rgba(255, 251, 242, 0.88);
}

.menu-panel:focus,
.info-panel:focus {
  outline: none;
}

.panel-close {
  position: fixed;
  z-index: 64;
  top: 26px;
  right: 45px;
  width: 34px;
  height: 34px;
}

.panel-close span:first-child {
  transform: rotate(45deg);
}

.panel-close span:last-child {
  transform: rotate(-45deg);
}

.menu-panel__toggle {
  top: 35px;
  right: var(--page-x);
  animation: menu-plus-to-close 1042ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.menu-panel__toggle span:first-child {
  transform: rotate(0);
}

.menu-panel__toggle span:last-child {
  transform: rotate(90deg);
}

@keyframes menu-plus-to-close {
  from {
    transform: rotate(0);
  }

  to {
    transform: rotate(45deg);
  }
}

.menu-panel nav {
  position: relative;
  z-index: 2;
  display: flex;
  width: 100%;
  height: 100%;
  gap: 11vw;
  align-items: center;
  justify-content: center;
}

.menu-panel nav > * {
  min-width: 120px;
  text-align: center;
  opacity: 0;
  filter: blur(4px);
  transition:
    opacity 1042ms cubic-bezier(0.16, 1, 0.3, 1),
    filter 1042ms cubic-bezier(0.16, 1, 0.3, 1);
}

.menu-panel.is-visible nav > * {
  opacity: 1;
  filter: blur(0);
}

.menu-panel.is-visible nav > :nth-child(2) {
  transition-delay: 65ms;
}

.menu-panel.is-visible nav > :nth-child(3) {
  transition-delay: 130ms;
}

.menu-panel .is-current {
  color: #6f6d68;
  font-weight: 600;
}

.menu-panel--copywriting nav {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  padding: 0 var(--page-x);
}

.menu-panel--copywriting nav > * {
  position: static;
  min-width: 0;
  transform: none;
}

.menu-panel--copywriting nav > :first-child {
  justify-self: start;
}

.menu-panel--copywriting nav > :nth-child(2) {
  justify-self: center;
}

.menu-panel--copywriting nav > :last-child {
  justify-self: end;
}

.menu-panel--copywriting.is-visible .is-current {
  color: inherit;
  font-weight: 400;
  opacity: 0.2;
}

.info-panel__content,
.project-info > strong {
  opacity: 0;
  filter: blur(4px);
  transition:
    opacity 1042ms cubic-bezier(0.16, 1, 0.3, 1),
    filter 1042ms cubic-bezier(0.16, 1, 0.3, 1);
}

.info-panel.is-visible .info-panel__content,
.project-info.is-visible > strong {
  opacity: 1;
  filter: blur(0);
}

.panel-open .gallery:not(.gallery--cover) .gallery__item {
  opacity: 0.28;
  transition-duration: 1042ms;
}

.panel-open .gallery:not(.gallery--cover) .gallery__item.is-active {
  opacity: 0.7;
}

.project-info .info-panel__content {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 50%;
  width: min(600px, 52vw);
  transform: translate(-50%, -50%);
  text-align: justify;
}

.project-info .info-panel__content p {
  margin: 0;
  white-space: normal;
}

.project-info .lang-switch {
  margin-bottom: 26px;
}

.project-info > strong {
  position: absolute;
  z-index: 2;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  font-weight: 400;
}

.info-panel__language {
  position: absolute;
  z-index: 2;
  top: 44px;
  left: var(--page-x);
}

.section-info {
  color: var(--ink);
}

.section-info--copywriting {
  background: var(--paper);
}

.bio-header {
  z-index: 63;
}

.story-layout {
  display: grid;
  min-height: 100svh;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-content: center;
  padding: 140px var(--page-x) 120px;
  text-align: justify;
}

.story-layout p {
  margin: 0;
}

.bio-layout {
  display: grid;
  min-height: 100svh;
  grid-template-columns: 1fr 1fr;
  grid-template-areas:
    "lead main"
    "final portrait";
  gap: 28px 56px;
  align-items: start;
  padding: 128px var(--page-x) 72px;
  text-align: justify;
}

.bio-layout p {
  margin: 0 0 20px;
}

.bio-layout__lead {
  grid-area: lead;
}

.bio-layout__main {
  grid-area: main;
}

.bio-layout__final {
  grid-area: final;
  align-self: center;
}

.bio-layout__portrait {
  grid-area: portrait;
  width: min(294px, 46%);
  justify-self: start;
}

.bio-layout__portrait img {
  width: 100%;
  height: auto;
}

.panel-footer {
  display: flex;
  position: absolute;
  z-index: 2;
  bottom: 38px;
  left: var(--page-x);
  gap: 18px;
}

/* Copywriting */
.copywriting-page {
  position: relative;
  min-height: 100svh;
  background: var(--paper);
}

.copywriting-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 34px 36px;
  padding: 130px var(--page-x) 90px;
}

.copywriting-item {
  display: grid;
  grid-template-columns: 136px 1fr;
  gap: 20px;
  align-items: start;
}

.copywriting-item:nth-child(7) {
  grid-column: 2;
}

.copywriting-item__label {
  display: contents;
}

.copywriting-item h2 {
  grid-column: 1;
  grid-row: 1;
  width: fit-content;
  min-width: 116px;
  margin: 0;
  border-bottom: 1px solid currentColor;
  font: inherit;
  font-weight: 400;
}

.copywriting-item h2 a {
  display: block;
}

.copywriting-item p {
  grid-column: 2;
  grid-row: 1 / span 2;
  margin: 0;
  text-align: justify;
}

.copywriting-item time {
  display: block;
  grid-column: 1;
  grid-row: 2;
}

.copywriting-item.is-active h2 {
  font-weight: 700;
}

.site-enter .copywriting-item,
.site-enter .bio-layout > * {
  animation: section-reveal 920ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.site-enter .copywriting-item:nth-child(2),
.site-enter .bio-layout > :nth-child(2) {
  animation-delay: 70ms;
}

.site-enter .copywriting-item:nth-child(3),
.site-enter .bio-layout > :nth-child(3) {
  animation-delay: 140ms;
}

.site-enter .copywriting-item:nth-child(4),
.site-enter .bio-layout > :nth-child(4) {
  animation-delay: 210ms;
}

.site-enter .copywriting-item:nth-child(5) {
  animation-delay: 280ms;
}

.site-enter .copywriting-item:nth-child(6) {
  animation-delay: 350ms;
}

.site-enter .copywriting-item:nth-child(7) {
  animation-delay: 420ms;
}

@keyframes section-reveal {
  from {
    opacity: 0;
    filter: blur(5px);
    transform: translateY(8px);
  }

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

.copywriting-footer {
  display: flex;
  gap: 18px;
  padding: 0 var(--page-x) 40px;
}

.copywriting-about-page .copywriting-footer {
  position: absolute;
  bottom: 0;
  left: 0;
}

/* Viewing Room */
.viewing-room {
  min-height: 100svh;
  overflow: auto;
  background: var(--paper);
}

.viewing-room__header {
  display: grid;
  height: 102px;
  place-items: center;
}

.viewing-room__media {
  display: grid;
  gap: 30px;
  padding: 0 7.29vw;
}

.viewing-room__item {
  width: 100%;
  min-height: min(57vw, 820px);
  margin: 0;
  background: #c8c8c8;
}

.viewing-room__item img,
.viewing-room__item video {
  width: 100%;
  height: auto;
  min-height: inherit;
  object-fit: contain;
}

.viewing-room__download {
  margin: 28px 7.29vw 0;
  text-align: center;
}

.viewing-room__footer {
  display: flex;
  height: 104px;
  gap: 18px;
  align-items: center;
  justify-content: center;
}

/* Consent and 404 */
.not-found {
  display: grid;
  min-height: 100svh;
  gap: 22px;
  place-content: center;
  text-align: center;
}

.not-found img {
  width: 70px;
}

.legal-page {
  min-height: 100svh;
  background: var(--cream);
}

.legal-header {
  position: fixed;
  z-index: 50;
  inset: 0 0 auto;
  display: grid;
  height: var(--header);
  padding: 0 var(--page-x);
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  background: linear-gradient(var(--cream) 72%, transparent);
}

.legal-header__mark {
  grid-column: 2;
  grid-row: 1;
}

.legal-header__mark img {
  width: 58px;
  height: auto;
}

.legal-language {
  display: flex;
  grid-column: 1;
  grid-row: 1;
  gap: 16px;
  justify-self: start;
}

.legal-language a:not([aria-current]) {
  opacity: 0.35;
}

.legal-close {
  position: relative;
  width: 34px;
  height: 34px;
  grid-column: 3;
  grid-row: 1;
  justify-self: end;
}

.legal-close span {
  position: absolute;
  top: 16px;
  right: 0;
  left: 0;
  height: 1px;
  background: currentColor;
}

.legal-close span:first-child {
  transform: rotate(45deg);
}

.legal-close span:last-child {
  transform: rotate(-45deg);
}

.legal-content {
  width: min(760px, 100%);
  margin: 0 auto;
  padding: 156px 60px 144px;
  font-size: 13px;
  letter-spacing: 0.025em;
  line-height: 1.7;
  text-transform: none;
}

.legal-content h1 {
  margin: 0 0 72px;
  font-size: clamp(25px, 3vw, 42px);
  font-weight: 400;
  letter-spacing: 0.08em;
  line-height: 1.15;
  text-transform: uppercase;
}

.legal-content section {
  margin: 0 0 48px;
}

.legal-content h2 {
  margin: 0 0 16px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.legal-content p {
  margin: 0 0 14px;
}

.legal-content a {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.legal-content code {
  font: inherit;
  letter-spacing: 0;
}

.legal-kicker,
.legal-updated {
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.legal-kicker {
  margin-bottom: 14px !important;
}

.legal-updated {
  margin-top: 72px !important;
  opacity: 0.5;
}

.legal-consent-button {
  margin-top: 8px;
  padding: 10px 14px;
  border: 1px solid currentColor;
}

.protection-notice {
  position: fixed;
  z-index: 160;
  right: 20px;
  bottom: 42px;
  width: min(420px, calc(100vw - 40px));
  padding: 16px 18px;
  background: var(--ink);
  color: #fff;
  font-size: 10px;
  letter-spacing: 0.08em;
  line-height: 1.5;
  opacity: 0;
  pointer-events: none;
  text-transform: uppercase;
  transform: translateY(8px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.protection-notice.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.consent {
  position: fixed;
  z-index: 100;
  right: 20px;
  bottom: 20px;
  width: min(390px, calc(100vw - 40px));
  padding: 20px;
  background: var(--ink);
  color: #fff;
  font-size: 12px;
  line-height: 1.5;
  text-transform: none;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.16);
}

.consent p {
  margin: 0 0 12px;
}

.consent p:first-child {
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.consent div {
  display: flex;
  gap: 8px;
  justify-content: flex-end;
  margin-top: 18px;
}

.consent button {
  padding: 8px 12px;
  border: 1px solid currentColor;
}

.consent button:last-child {
  background: #fff;
  color: var(--ink);
}

.site-legal {
  position: fixed;
  z-index: 40;
  right: 12px;
  bottom: 8px;
  display: flex;
  gap: 14px;
  align-items: center;
  font-size: 8px;
  opacity: 0.36;
  text-transform: uppercase;
}

.consent-settings {
  padding: 2px;
  font-size: inherit;
  opacity: 1;
}

.site-legal:hover,
.site-legal:focus-within,
.consent-settings:focus-visible {
  opacity: 1;
}

body:has(.legal-page) .site-legal {
  right: 0;
  bottom: 0;
  left: 0;
  justify-content: flex-end;
  padding: 28px 12px 8px;
  background: linear-gradient(transparent, var(--cream) 52%);
}

@media (min-width: 761px) and (max-height: 800px) {
  .bio-layout {
    gap: 16px 56px;
    padding-top: 120px;
    font-size: 10px;
    line-height: 1.5;
  }

  .bio-layout p {
    margin-bottom: 12px;
  }

  .bio-layout img {
    width: 250px;
  }
}

@media (max-width: 760px) {
  :root {
    --header: 104px;
    --footer: 104px;
    --page-x: 60px;
  }

  html {
    font-size: 12px;
  }

  .site-header {
    padding: 0 60px;
  }

  .site-mark img {
    width: 58px;
  }

  .menu-trigger {
    width: 34px;
  }

  .intro__image {
    width: min(76vw, 372px);
    height: min(80svh, 720px);
  }

  .gallery--cover .gallery__cover {
    width: 100vw;
    height: calc(100svh - var(--header) - var(--footer));
  }

  .gallery--cover .gallery__cover img,
  .gallery--cover .gallery__cover video {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .gallery:not(.gallery--cover) {
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x proximity;
    touch-action: pan-x pinch-zoom;
  }

  .gallery:not(.gallery--cover) .gallery__track {
    display: flex;
    width: max-content;
    min-width: 100%;
    height: 100%;
    grid-template-columns: none;
    align-content: normal;
    padding: 0 calc(50vw - 132px);
  }

  .gallery:not(.gallery--cover) .gallery__item {
    flex: 0 0 264px;
    width: 264px;
    height: min(396px, calc(100svh - var(--header) - var(--footer) - 32px));
    min-height: 0;
    aspect-ratio: auto;
  }

  .gallery:not(.gallery--cover) .gallery__item img,
  .gallery:not(.gallery--cover) .gallery__item video {
    object-fit: contain;
  }

  .gallery.is-zoomed {
    z-index: 120;
    inset: 0;
    width: 100vw;
    height: 100svh;
    height: 100dvh;
    background: var(--paper);
    touch-action: none;
  }

  .gallery.is-zoomed .gallery__track {
    width: 100vw;
    min-width: 100vw;
    height: 100%;
    padding: 0;
    align-items: center;
    justify-content: center;
  }

  .gallery.is-zoomed .gallery__item.is-active {
    flex: 0 0 100vw;
    width: 100vw;
    height: 100%;
  }

  .gallery.is-zoomed .gallery__item.is-active img,
  .gallery.is-zoomed .gallery__item.is-active video {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
  }

  .gallery-arrow {
    display: none;
  }

  .project-nav {
    gap: 44px;
    justify-content: center;
    padding-inline: 32px;
    font-size: 12px;
  }

  .panel-close {
    top: 26px;
    right: 18px;
  }

  .menu-panel__toggle {
    top: 35px;
    right: auto;
    left: var(--menu-toggle-left, calc(100vw - var(--page-x) - 34px));
    transform: rotate(0);
    transform-origin: 50% 50%;
    animation: none;
    transition: transform 720ms cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform;
  }

  .menu-panel.is-visible .menu-panel__toggle {
    transform: rotate(45deg);
  }

  .menu-panel nav {
    gap: 0;
    justify-content: space-between;
    padding: 0 60px;
  }

  .menu-panel nav > * {
    min-width: auto;
  }

  .project-info .info-panel__content {
    top: 150px;
    right: 60px;
    left: 60px;
    width: auto;
    transform: none;
  }

  .project-info > strong {
    right: 60px;
    bottom: 60px;
    left: auto;
    transform: none;
  }

  .info-panel__language {
    top: 150px;
    left: 60px;
  }

  .story-layout {
    display: block;
    min-height: 100svh;
    padding: 210px 60px 120px;
  }

  .story-layout p {
    margin-bottom: 24px;
  }

  .bio-layout {
    display: flex;
    min-height: 100svh;
    flex-direction: column;
    gap: 0;
    padding: 121px 60px 72px;
  }

  .bio-layout p {
    margin-bottom: 24px;
  }

  .bio-layout img {
    width: 100%;
  }

  .bio-layout__portrait {
    width: 100%;
    margin-top: 6px;
  }

  .panel-footer {
    position: static;
    justify-content: center;
    padding: 0 60px 38px;
  }

  .copywriting-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 145px 60px 56px;
  }

  .copywriting-item {
    grid-template-columns: 32px 1fr;
    gap: 20px;
  }

  .copywriting-item:nth-child(7) {
    grid-column: 1;
  }

  .copywriting-item h2 {
    grid-column: 2;
    grid-row: 1;
    width: fit-content;
    min-width: 160px;
    margin-bottom: 14px;
  }

  .copywriting-item time {
    grid-column: 1;
    grid-row: 1;
  }

  .copywriting-item p {
    grid-column: 2;
    grid-row: 2;
  }

  .copywriting-footer {
    justify-content: center;
    padding: 0 60px 38px;
  }

  .copywriting-about-page .copywriting-footer {
    position: static;
  }

  .viewing-room__media {
    gap: 20px;
    padding: 0 20px;
  }

  .viewing-room__item {
    min-height: 66vw;
  }

  .legal-header {
    padding-inline: 28px;
  }

  .legal-content {
    padding: 132px 28px 132px;
    font-size: 12px;
  }

  .legal-content h1 {
    margin-bottom: 52px;
  }

  .legal-content section {
    margin-bottom: 40px;
  }

  .site-legal {
    right: 8px;
    gap: 8px;
    font-size: 7px;
  }

  .protection-notice {
    right: 14px;
    bottom: 38px;
    width: calc(100vw - 28px);
  }

  .consent {
    right: 14px;
    bottom: 14px;
    width: calc(100vw - 28px);
  }
}

@media (max-width: 410px) {
  :root {
    --page-x: 28px;
  }

  .site-header {
    padding-inline: 28px;
  }

  .menu-panel nav {
    padding-inline: 28px;
  }

  .project-info .info-panel__content {
    right: 28px;
    left: 28px;
  }

  .info-panel__language {
    left: 28px;
  }

  .story-layout,
  .bio-layout,
  .copywriting-list {
    padding-right: 28px;
    padding-left: 28px;
  }

  .copywriting-footer {
    padding-inline: 28px;
  }

  .project-nav {
    gap: 26px;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    scroll-behavior: auto !important;
    transition: none !important;
  }

  .intro {
    display: none;
  }
}

/* Figma feedback v2 */
.project-page {
  --header: 92px;
  --footer: 86px;
}

.gallery:not(.gallery--cover) {
  overscroll-behavior-x: none;
}

.gallery__item {
  transition: opacity 720ms cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery.is-unzooming .gallery__item {
  transition-duration: 900ms;
}

.gallery-arrow {
  width: 54px;
  height: 54px;
  font: 32px/1 "Mier A", Arial, sans-serif;
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  transition: opacity 260ms linear;
}

.gallery-zoom-open .gallery-arrow {
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
}

.gallery.is-zoomed .gallery__item.is-active {
  flex-basis: min(80vw, 1100px);
  width: min(80vw, 1100px);
  max-width: calc(100vw - 120px);
  min-width: 0;
  min-height: 0;
  overflow: visible;
}

.gallery.is-zoomed .gallery__item.is-active img,
.gallery.is-zoomed .gallery__item.is-active video {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: calc(100dvh - var(--header) - var(--footer));
  object-fit: contain;
  object-position: center;
  align-self: center;
  justify-self: center;
}

.project-switching .gallery,
.project-switching .project-info,
.project-switching .project-nav {
  opacity: 0.42;
  filter: blur(2px);
  transition: opacity 180ms linear, filter 180ms linear;
}

.project-info > strong {
  right: 0;
  left: 0;
  width: 100%;
  transform: none;
  text-align: center;
}

.menu-panel nav {
  gap: clamp(72px, 11vw, 180px);
}

.menu-panel--copywriting nav {
  display: flex;
  width: 100%;
  grid-template-columns: none;
  gap: clamp(110px, 20vw, 300px);
  justify-content: center;
  padding: 0 var(--page-x);
}

.menu-panel--copywriting nav > *,
.menu-panel--copywriting nav > :first-child,
.menu-panel--copywriting nav > :nth-child(2),
.menu-panel--copywriting nav > :last-child {
  position: static;
  min-width: 0;
  justify-self: auto;
  transform: none;
}

.copywriting-item h2 {
  width: fit-content;
  min-width: 0;
  border: 0;
}

.copywriting-item h2 a {
  display: inline;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.bio-layout {
  grid-template-columns: 1fr 1fr;
  grid-template-areas: "portrait copy";
  gap: 56px;
  align-items: start;
  padding-top: 128px;
}

.bio-layout__portrait {
  grid-area: portrait;
  width: min(294px, 58%);
  justify-self: start;
}

.bio-layout__copy {
  grid-area: copy;
}

.viewing-room__item:not(.is-placeholder) {
  cursor: zoom-in;
}

.viewing-room__document {
  display: grid;
  gap: 18px;
  margin: 0 7.29vw;
  justify-items: center;
}

.viewing-room__document iframe {
  width: 100%;
  height: min(76svh, 980px);
  border: 0;
  background: #c8c8c8;
}

.viewing-lightbox {
  position: fixed;
  z-index: 150;
  inset: 0;
  background: var(--paper);
  opacity: 0;
  pointer-events: none;
  transition: opacity 240ms linear;
}

.viewing-lightbox.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.viewing-lightbox__slides {
  width: 100%;
  height: 100%;
  overflow: auto;
  overscroll-behavior: none;
  scroll-snap-type: y mandatory;
}

.viewing-lightbox__slides figure {
  display: grid;
  width: 100%;
  min-height: 100dvh;
  margin: 0;
  padding: clamp(24px, 5vw, 72px);
  place-items: center;
  scroll-snap-align: start;
}

.viewing-lightbox__slides img,
.viewing-lightbox__slides video {
  width: 100%;
  height: 100%;
  max-height: calc(100dvh - clamp(48px, 10vw, 144px));
  object-fit: contain;
}

.viewing-lightbox__close,
.viewing-lightbox__previous,
.viewing-lightbox__next {
  position: fixed;
  z-index: 152;
}

.viewing-lightbox__close {
  top: 30px;
  right: var(--page-x);
  width: 34px;
  height: 34px;
}

.viewing-lightbox__close span {
  position: absolute;
  top: 16px;
  right: 0;
  left: 0;
  height: 1px;
  background: currentColor;
}

.viewing-lightbox__close span:first-child {
  transform: rotate(45deg);
}

.viewing-lightbox__close span:last-child {
  transform: rotate(-45deg);
}

.viewing-lightbox__previous,
.viewing-lightbox__next {
  top: 50%;
  width: 54px;
  height: 54px;
  transform: translateY(-50%);
  font-size: 32px;
}

.viewing-lightbox__previous {
  left: 18px;
}

.viewing-lightbox__next {
  right: 18px;
}

.viewing-zoom-open {
  overflow: hidden !important;
}

.legal-content {
  width: min(700px, 100%);
  padding-top: 144px;
  color: rgba(11, 11, 11, 0.5);
  font-size: 9px;
  letter-spacing: 0.08em;
  line-height: 1.8;
}

.legal-content h1,
.legal-content h2 {
  color: inherit;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.12em;
  line-height: inherit;
}

.legal-content h1 {
  margin-bottom: 28px;
}

.legal-content h2 {
  margin: 28px 0 8px;
}

.legal-content p {
  margin-bottom: 10px;
}

.legal-copyright {
  margin-top: 36px !important;
}

.site-legal {
  z-index: 70;
  right: auto;
  bottom: 14px;
  left: 50%;
  display: none;
  transform: translateX(-50%);
  opacity: 0.32;
}

body:has(.home) .site-legal,
body.panel-open .site-legal {
  display: flex;
}

body:has(.legal-page) .site-legal {
  display: none;
}

.site-legal__lozenge {
  display: block;
  width: 20px;
  height: 8px;
  background: currentColor;
  clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%);
}

@media (max-width: 760px) {
  .gallery-arrow,
  .gallery-zoom-open .gallery-arrow {
    display: none !important;
  }

  .project-page {
    --header: 104px;
    --footer: 104px;
  }

  .gallery:not(.gallery--cover) {
    scroll-snap-type: none;
    overscroll-behavior-x: none;
  }

  .gallery.is-zoomed {
    z-index: 23;
    inset: var(--header) 0 var(--footer);
    width: 100vw;
    height: auto;
    touch-action: pan-y pinch-zoom;
  }

  .gallery.is-zoomed .gallery__track {
    width: 100vw;
    min-width: 100vw;
    height: 100%;
  }

  .gallery.is-zoomed .gallery__item.is-active {
    flex: 0 0 100vw;
    width: 100vw;
    max-width: 100vw;
    height: 100%;
  }

  .gallery.is-zoomed .gallery__item.is-active img,
  .gallery.is-zoomed .gallery__item.is-active video {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: calc(100dvh - var(--header) - var(--footer));
  }

  .project-info > strong {
    right: 0;
    bottom: 36px;
    left: 0;
    transform: none;
  }

  .menu-panel--copywriting nav {
    gap: 0;
    justify-content: space-between;
    padding: 0 60px;
  }

  .bio-layout {
    display: flex;
    min-height: 100svh;
    flex-direction: column;
    padding-top: 121px;
  }

  .bio-layout__copy {
    order: 1;
  }

  .bio-layout__portrait {
    order: 2;
    width: min(70%, 250px);
    margin-top: 8px;
    align-self: center;
  }

  .bio-layout__portrait img {
    width: 100%;
  }

  .viewing-room__document {
    margin: 0 20px;
  }

  .viewing-room__document iframe {
    height: 72svh;
  }

  .viewing-lightbox__previous,
  .viewing-lightbox__next {
    display: none;
  }

  .viewing-lightbox__close {
    top: 26px;
    right: 28px;
  }

  .viewing-lightbox__slides figure {
    padding: 22px;
  }

  .legal-content {
    padding: 132px 28px 96px;
    font-size: 8px;
  }

  .legal-content h1,
  .legal-content h2 {
    font-size: 8px;
  }
}
