@font-face {
  font-family: Jost;
  src: url("Fonts/Jost/static/Jost-Regular.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: Jost;
  src: url("Fonts/Jost/static/Jost-Medium.ttf") format("truetype");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}

:root {
  --site-font: Jost, Arial, Helvetica, sans-serif;
  --page-x: clamp(20px, 5vw, 72px);
  --page-y: 48px;
  --max-wide: 1560px;
  --max-text: 620px;
  --ink: #1a1a1a;
  --muted: #717171;
  --line: #e8e5df;
  --paper: #ffffff;
  --soft: #f7f5f1;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--site-font);
  font-size: 15px;
  line-height: 1.45;
}

.home-page {
  min-width: 320px;
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
  font-family: var(--site-font);
}

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

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

a:hover,
a:focus-visible,
button:hover,
button:focus-visible {
  color: var(--muted);
}

.site-header {
  min-height: 76px;
  padding: 24px var(--page-x) 18px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 28px;
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(8px);
}

.brand {
  font-size: 16px;
  line-height: 1.2;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px 26px;
  color: var(--muted);
}

.site-nav a[aria-current="page"],
.brand[aria-current="page"] {
  color: var(--ink);
}

.site-nav a[aria-disabled="true"] {
  cursor: default;
}

.site-menu {
  height: 96px;
  min-height: 96px;
  padding: 0;
  align-items: center;
  position: relative;
  top: auto;
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: none;
  font-family: var(--site-font);
}

.site-menu-inner {
  width: min(calc(100vw - 160px), calc(45.4166667vw + 626px));
  height: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.site-menu .brand {
  flex: 0 0 auto;
  font-size: 40px;
  font-weight: 500;
  line-height: 1.2;
}

.site-menu .site-nav {
  flex-wrap: nowrap;
  align-items: center;
  gap: 40px;
  color: var(--ink);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.2;
}

.site-menu .site-nav a {
  flex: 0 0 auto;
}

.language-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  min-width: 84px;
  min-height: 32px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 12px;
  line-height: 1;
  cursor: pointer;
}

.language-toggle > span:first-child,
.language-toggle > span:last-child {
  opacity: .55;
}

html[lang="en"] .language-toggle > span:first-child,
html[lang="ru"] .language-toggle > span:last-child {
  opacity: 1;
}

.language-toggle-track {
  position: relative;
  width: 27px;
  height: 15px;
  border: 1px solid currentColor;
  border-radius: 999px;
}

.language-toggle-thumb {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: currentColor;
  transition: transform 180ms ease;
}

html[lang="ru"] .language-toggle-thumb {
  transform: translateX(12px);
}

.language-toggle:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 3px;
}

.site-menu .social-link,
.site-menu .social-link img {
  width: 20px;
  height: 20px;
  display: block;
}

.home-shell {
  min-height: calc(100vh - 76px);
  padding: 0 var(--page-x) 34px;
}

.hero-slider {
  max-width: var(--max-wide);
  margin: 0 auto;
}

.slides {
  min-height: calc(100vh - 168px);
  display: grid;
  place-items: center;
}

.slide {
  margin: 0;
  grid-area: 1 / 1;
  width: 100%;
  opacity: 0;
  pointer-events: none;
  transition: opacity 520ms ease;
}

.slide.is-active {
  opacity: 1;
  pointer-events: auto;
}

.slide img {
  width: 100%;
  height: calc(100vh - 188px);
  object-fit: contain;
  object-position: center;
}

.slide figcaption {
  margin-top: 14px;
  text-align: center;
  color: var(--muted);
  font-size: 13px;
}

.slider-controls {
  margin-top: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  color: var(--muted);
}

.plain-button {
  border: 0;
  background: transparent;
  padding: 5px 9px;
  font: inherit;
  color: inherit;
  cursor: pointer;
}

.slide-count {
  min-width: 58px;
  text-align: center;
  font-size: 13px;
}

.home-header {
  height: 96px;
  min-height: 96px;
  padding: 0;
  align-items: center;
  position: absolute;
  inset: 0 0 auto;
  z-index: 20;
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: none;
}

.home-header .brand {
  flex: 0 0 auto;
  font-size: 40px;
  font-weight: 500;
  line-height: 1.2;
}

.home-header .site-nav {
  flex-wrap: nowrap;
  align-items: center;
  gap: 40px;
  color: var(--ink);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.2;
}

.home-header .site-nav a {
  flex: 0 0 auto;
}

.home-header .social-link {
  width: 20px;
  height: 20px;
  display: grid;
  place-items: center;
}

.home-header .social-link img {
  width: 20px;
  height: 20px;
  object-fit: contain;
}

.menu-toggle,
.menu-close {
  border: 0;
  padding: 0;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
}

.menu-toggle:hover,
.menu-toggle:focus-visible,
.menu-close:hover,
.menu-close:focus-visible {
  color: var(--ink);
}

.menu-toggle {
  width: 30px;
  height: 30px;
  display: none;
  place-content: center;
  gap: 5px;
}

.menu-toggle span {
  width: 24px;
  height: 2px;
  display: block;
  background: currentColor;
}

.mobile-menu {
  display: none;
}

.home-stage,
.home-stage .hero-slider,
.home-stage .slides,
.home-stage .slide {
  width: 100%;
  height: 100%;
}

.home-stage {
  min-height: 0;
  padding: 0;
}

.home-stage .hero-slider {
  max-width: none;
  margin: 0;
  position: relative;
}

.home-stage .slides {
  min-height: 0;
  display: grid;
}

.home-stage .slide {
  overflow: hidden;
}

.home-stage .slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.slider-pagination {
  position: absolute;
  z-index: 2;
  bottom: 28px;
  left: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transform: translateX(-50%);
}

.slider-dot {
  width: 10px;
  height: 10px;
  margin: 0;
  padding: 0;
  border: 1px solid rgba(26, 26, 26, 0.75);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.8);
  cursor: pointer;
  transition: background-color 220ms ease, transform 220ms ease;
}

.slider-dot.is-active {
  background: var(--ink);
  transform: scale(1.1);
}

.slider-dot:hover,
.slider-dot:focus-visible {
  background: var(--ink);
  color: var(--ink);
}

.construction-page {
  background: #ffffff;
}

.construction-stage {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  display: grid;
  place-items: center;
}

.construction-image {
  width: 100%;
  height: 100%;
  max-width: none;
  position: absolute;
  inset: 0;
  object-fit: cover;
  object-position: center;
}

.construction-message {
  position: relative;
  z-index: 1;
  margin: 7px 20px 0;
  color: #ffffff;
  font-size: 60px;
  font-weight: 400;
  line-height: 1.2;
  text-align: center;
}

.page-shell,
.detail-shell,
.project-detail-shell {
  width: min(calc(100% - (var(--page-x) * 2)), var(--max-wide));
  margin: 0 auto;
  padding: var(--page-y) 0 88px;
}

.artwork-page {
  min-width: 320px;
  font-family: var(--site-font);
}

.artwork-page .artwork-header {
  min-height: 96px;
  padding: 0;
  align-items: center;
  position: relative;
  top: auto;
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: none;
}

.artwork-page .artwork-header .brand {
  font-size: 40px;
  font-weight: 500;
  line-height: 1.2;
}

.artwork-page .artwork-header .site-nav {
  flex-wrap: nowrap;
  align-items: center;
  gap: 40px;
  color: var(--ink);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.2;
}

.artwork-page .artwork-header .site-nav a {
  flex: 0 0 auto;
}

.artwork-page .artwork-header .social-link,
.artwork-page .artwork-header .social-link img {
  width: 20px;
  height: 20px;
  display: block;
}

.artwork-catalogue {
  width: min(calc(100vw - 160px), calc(45.4166667vw + 626px));
  margin: 20px auto 92px;
}

.site-footer {
  background: #f4f3ef;
  padding: 48px 0 24px;
}

.site-footer-inner {
  width: min(calc(100vw - 160px), calc(45.4166667vw + 626px));
  margin: 0 auto;
}

.site-footer-main {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
}

.site-footer-name {
  margin: 0;
  font-size: 22px;
  font-weight: 500;
  line-height: 1.2;
}

.site-footer-nav,
.site-footer-contact {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  font-size: 16px;
}

.site-footer-nav span {
  color: var(--muted);
}

.site-footer-copy {
  margin: 64px 0 0;
  font-size: 13px;
  color: var(--muted);
}

.about-page {
  min-width: 320px;
}

.about-main {
  width: min(calc(100vw - 160px), calc(45.4166667vw + 626px));
  margin: 56px auto 104px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  grid-template-areas: "heading ." "copy photo";
  column-gap: clamp(48px, 5vw, 96px);
  row-gap: 36px;
  align-items: start;
}

.about-heading {
  grid-area: heading;
  margin: 0;
  font-size: 36px;
  font-weight: 500;
  line-height: 1.2;
}

.about-copy {
  grid-area: copy;
}

.about-copy p {
  max-width: 58ch;
  margin: 0 0 20px;
  font-size: 17px;
  line-height: 1.6;
}

.about-photo {
  grid-area: photo;
  margin: 0;
}

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

.about-contact {
  margin-top: 48px;
}

.about-contact h2 {
  margin: 0 0 20px;
  font-size: 22px;
  font-weight: 500;
  line-height: 1.2;
}

.about-contact-links {
  display: grid;
  gap: 12px;
}

.about-contact-links a {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  width: fit-content;
  max-width: 100%;
  font-size: 16px;
}

.about-contact-links img {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
}

.about-social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-top: 24px;
  font-size: 16px;
}

.artwork-page .artwork-grid {
  display: grid;
  gap: 50px;
}

.artwork-page .artwork-row {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  justify-content: center;
  gap: 40px;
  align-items: start;
}

.artwork-page .artwork-item,
.artwork-page figure.artwork-item {
  width: 100%;
  margin: 0;
  display: grid;
  grid-template-areas:
    "media"
    "caption";
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: auto auto;
  row-gap: 20px;
  grid-column: span 4;
}

.artwork-page .artwork-item img {
  position: absolute;
  inset: 0;
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  margin: auto;
  object-fit: contain;
  object-position: center;
}

html.js .artwork-page .artwork-item {
  opacity: 0;
  transform: translate3d(0, 40px, 0);
  transition: none;
}

html.js .artwork-page .artwork-item.is-revealed {
  opacity: 1;
  transform: none;
  transition:
    transform 4000ms cubic-bezier(0.18, 1, 0.21, 1),
    opacity 2500ms cubic-bezier(0.18, 1, 0.21, 1);
}

.artwork-page .artwork-media {
  position: relative;
  grid-area: media;
  width: 100%;
  aspect-ratio: 1;
}

.artwork-page .artwork-item figcaption {
  grid-area: caption;
  color: #1a1a1a;
  font-size: 16px;
  font-weight: 400;
  line-height: 20px;
  text-align: center;
}

.artwork-page .artwork-item:has(.artwork-entry) {
  grid-template-rows: auto;
  row-gap: 0;
}

.artwork-entry {
  display: grid;
  grid-template-areas: "media" "caption";
  grid-template-rows: auto auto;
  row-gap: 20px;
  width: 100%;
}

.artwork-entry:hover,
.artwork-entry:focus-visible {
  color: inherit;
}

.artwork-entry:focus-visible {
  outline: 1px solid var(--ink);
  outline-offset: 5px;
}

.artwork-feature-page {
  min-width: 320px;
  background: #fff;
  color: var(--ink);
}

.artwork-feature {
  min-height: 100vh;
  min-height: 100dvh;
  position: relative;
  animation: feature-enter 420ms ease-out both;
}

.artwork-feature.is-closing {
  animation: feature-exit 240ms ease-in both;
}

.feature-close,
.feature-lightbox-close {
  position: fixed;
  top: 17px;
  right: 17px;
  z-index: 5;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.feature-close img,
.feature-lightbox-close img,
.feature-previous img,
.feature-next img {
  display: block;
  width: 30px;
  height: 30px;
}

.feature-layout {
  width: calc(100% - 2 * clamp(24px, 6.8056vw, 125px));
  min-height: 100vh;
  min-height: 100dvh;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: 40px;
  align-items: center;
}

.feature-info {
  grid-column: 1;
  width: 100%;
  max-width: 349px;
}

.feature-gallery {
  grid-column: 2 / 4;
  justify-self: center;
}

.feature-info h1 {
  max-width: 100%;
  font-size: 22px;
  font-weight: 400;
  line-height: 27px;
  letter-spacing: 0;
}

.feature-facts {
  margin-top: 25px;
}

.feature-facts p {
  margin: 0;
  font-size: 16px;
  line-height: 20px;
}

.feature-thumbnails {
  margin-top: 25px;
}

.feature-thumbnails h2 {
  margin: 0 0 14px;
  font-size: 16px;
  font-weight: 400;
  line-height: 20px;
  letter-spacing: 0;
}

.feature-thumbnails-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.feature-thumbnail {
  width: 64px;
  height: 64px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  opacity: 0.72;
  transition: opacity 250ms ease;
}

.feature-thumbnail.is-active,
.feature-thumbnail:hover,
.feature-thumbnail:focus-visible {
  opacity: 1;
}

.feature-thumbnail:focus-visible {
  outline: 1px solid var(--ink);
  outline-offset: 3px;
}

.feature-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.feature-gallery {
  position: relative;
  width: 100%;
  height: max(160px, calc(100dvh - 200px));
}

.feature-main-image {
  display: block;
  position: relative;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
}

.feature-main-image img,
.feature-lightbox-images img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0;
  transition: opacity 360ms ease;
}

.feature-main-image img.is-active,
.feature-lightbox-images img.is-active {
  opacity: 1;
}

.feature-previous,
.feature-next {
  position: fixed;
  top: 50%;
  z-index: 5;
  width: 44px;
  height: 44px;
  transform: translateY(-50%);
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.feature-previous {
  left: 17px;
}

.feature-next {
  right: 17px;
}

.feature-lightbox[hidden] {
  display: none;
}

.feature-lightbox {
  position: fixed;
  inset: 0;
  z-index: 30;
  background: #fff;
  opacity: 0;
  transition: opacity 280ms ease;
}

.feature-lightbox.is-open {
  opacity: 1;
}

.feature-lightbox-close {
  z-index: 31;
}

.feature-lightbox-images {
  position: absolute;
  inset: 60px 90px;
}

.feature-zoom-open {
  overflow: hidden;
}

@keyframes feature-enter {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes feature-exit {
  from { opacity: 1; transform: translateY(0); }
  to { opacity: 0; transform: translateY(8px); }
}

.page-intro {
  margin-bottom: 58px;
}

.illustration-intro {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
}

.kicker {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  font-size: 42px;
  line-height: 1.05;
  font-weight: 400;
}

.artwork-grid {
  column-count: 3;
  column-gap: clamp(28px, 4.2vw, 76px);
}

.artwork-item {
  display: inline-block;
  width: 100%;
  margin: 0 0 clamp(54px, 7vw, 112px);
  break-inside: avoid;
}

figure.artwork-item {
  margin-left: 0;
  margin-right: 0;
}

.artwork-item img,
.project-item img {
  width: 100%;
  height: auto;
}

.item-title,
.item-meta {
  display: block;
}

.item-title {
  margin-top: 15px;
  font-size: 15px;
}

.item-meta {
  margin-top: 3px;
  color: var(--muted);
  font-size: 13px;
}

.back-link,
.text-link {
  display: inline-block;
  color: var(--muted);
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-thickness: 1px;
}

.back-link {
  margin-bottom: 30px;
  font-size: 13px;
}

.artwork-detail {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 400px);
  gap: clamp(36px, 6vw, 96px);
  align-items: start;
}

.detail-main-image {
  width: 100%;
  max-height: calc(100vh - 170px);
  object-fit: contain;
  object-position: top left;
}

.detail-thumbs {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  align-items: start;
}

.detail-thumbs img {
  width: 100%;
  height: 150px;
  object-fit: contain;
  background: var(--soft);
}

.detail-info {
  position: sticky;
  top: 116px;
}

.metadata-list {
  margin: 32px 0 0;
}

.metadata-list div {
  padding: 13px 0;
  border-top: 1px solid var(--line);
}

.metadata-list div:last-child {
  border-bottom: 1px solid var(--line);
}

.metadata-list dt {
  color: var(--muted);
  font-size: 12px;
}

.metadata-list dd {
  margin: 4px 0 0;
}

.detail-note {
  max-width: var(--max-text);
  margin: 28px 0 22px;
  color: #363636;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(34px, 4vw, 66px) clamp(24px, 3.5vw, 52px);
  align-items: start;
}

.project-item {
  display: block;
}

.project-item img {
  aspect-ratio: 1.277 / 1;
  object-fit: contain;
  background: var(--soft);
  border: 1px solid var(--line);
}

.project-item-large {
  grid-column: span 2;
}

.project-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.6fr);
  gap: clamp(38px, 7vw, 112px);
  align-items: start;
}

.project-hero > img {
  width: 100%;
  height: auto;
  background: var(--soft);
  border: 1px solid var(--line);
}

.project-hero p:not(.kicker) {
  max-width: var(--max-text);
  margin: 24px 0 0;
  font-size: 17px;
  line-height: 1.55;
}

.metadata-list.compact {
  margin-top: 28px;
}

.metadata-list.compact + .text-link {
  margin-top: 24px;
}

@media (max-width: 980px) {
  .site-menu {
    padding: 0;
  }

  .site-menu-inner {
    width: min(calc(100% - 72px), 844px);
  }

  .site-menu .brand {
    font-size: 30px;
  }

  .site-menu .site-nav {
    gap: 24px;
  }

  .home-header {
    padding: 0;
  }

  .home-header .brand {
    font-size: 30px;
  }

  .home-header .site-nav {
    gap: 24px;
    font-size: 16px;
  }

  .artwork-grid {
    column-count: 2;
  }

  .artwork-page .artwork-header {
    padding: 0;
  }

  .artwork-page .artwork-header .brand {
    font-size: 30px;
  }

  .artwork-page .artwork-header .site-nav {
    gap: 24px;
  }

  .artwork-catalogue {
    width: min(calc(100% - 72px), 844px);
    margin-left: auto;
    margin-right: auto;
  }

  .site-footer-inner {
    width: min(calc(100% - 72px), 844px);
  }

  .artwork-page .artwork-row {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 30px;
  }

  .artwork-page .artwork-item,
  .artwork-page figure.artwork-item {
    grid-template-rows: auto auto;
    grid-column: span 3;
  }

  .artwork-detail,
  .project-hero {
    grid-template-columns: 1fr;
  }

  .detail-info {
    position: static;
  }

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

@media (max-width: 900px) {
  .about-main {
    width: min(calc(100% - 72px), 680px);
    margin: 40px auto 80px;
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "photo" "heading" "copy";
    row-gap: 0;
  }

  .about-photo {
    margin-bottom: 40px;
  }

  .about-heading {
    margin-bottom: 28px;
  }
}

@media (max-width: 680px) {
  :root {
    --page-x: 18px;
    --page-y: 34px;
  }

  body {
    font-size: 14px;
  }

  .home-header {
    width: 100%;
    height: 86px;
    min-height: 86px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .site-menu {
    width: 100%;
    height: 86px;
    min-height: 86px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .site-menu-inner {
    width: calc(100% - 32px);
    max-width: 410px;
  }

  .site-menu .brand {
    max-width: none;
    font-size: 24px;
    line-height: 1.2;
  }

  .site-menu .site-nav {
    display: none;
  }

  body.artwork-page .artwork-header {
    width: 100%;
    min-height: 86px;
    height: 86px;
    padding: 0;
    display: flex;
    align-items: center;
  }

  .artwork-page .artwork-header .brand {
    font-size: 24px;
  }

  .artwork-page .artwork-header .site-nav {
    display: none;
  }

  .artwork-catalogue {
    width: min(calc(100% - 32px), 410px);
    margin-top: 19px;
    margin-bottom: 54px;
  }

  .site-footer {
    padding: 36px 0 24px;
  }

  .site-footer-inner {
    width: min(calc(100% - 32px), 410px);
  }

  .site-footer-main {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px 16px;
  }

  .site-footer-name {
    grid-column: 1 / -1;
  }

  .site-footer-contact a {
    overflow-wrap: anywhere;
  }

  .site-footer-copy {
    margin-top: 40px;
  }

  .about-main {
    width: min(calc(100% - 32px), 410px);
    margin: 24px auto 72px;
  }

  .about-heading {
    font-size: 30px;
  }

  .about-copy p {
    font-size: 16px;
  }

  .about-contact {
    margin-top: 40px;
  }

  .artwork-page .artwork-grid {
    gap: 50px;
  }

  .artwork-page .artwork-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 50px;
  }

  .artwork-page .artwork-item,
  .artwork-page figure.artwork-item {
    grid-template-rows: auto auto;
    row-gap: 20px;
    grid-column: 1;
  }

  .home-header .brand {
    max-width: none;
    font-size: 24px;
    line-height: 1.2;
  }

  .home-header .site-nav {
    display: none;
  }

  .menu-toggle {
    display: grid;
  }

  .mobile-menu {
    position: fixed;
    inset: 0;
    z-index: 40;
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: clamp(44px, 8vh, 68px);
    padding: max(32px, env(safe-area-inset-top)) 16px max(32px, env(safe-area-inset-bottom));
    box-sizing: border-box;
    background: #b1b1b1;
    font-family: var(--site-font);
    visibility: hidden;
    pointer-events: none;
    clip-path: inset(0 0 100% 0);
    transition:
      clip-path 350ms cubic-bezier(0.87, 0.17, 0.18, 0.85),
      visibility 0s linear 350ms;
  }

  .mobile-menu[hidden] {
    display: none;
  }

  .mobile-menu.is-open,
  .mobile-menu.is-closing {
    visibility: visible;
  }

  .mobile-menu.is-open {
    pointer-events: auto;
    clip-path: inset(0);
    transition:
      clip-path 350ms cubic-bezier(0.87, 0.17, 0.18, 0.85),
      visibility 0s;
  }

  .mobile-menu.is-closing {
    clip-path: inset(0 0 100% 0);
    transition:
      clip-path 350ms cubic-bezier(0.87, 0.17, 0.18, 0.85) 100ms,
      visibility 0s linear 450ms;
  }

  .menu-close {
    --menu-index: 0;
    width: 30px;
    height: 30px;
    position: absolute;
    top: 28px;
    right: 16px;
  }

  .menu-close span {
    width: 24px;
    height: 2px;
    position: absolute;
    top: 14px;
    left: 3px;
    display: block;
    background: currentColor;
  }

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

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

  .mobile-menu-nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: clamp(36px, 8vh, 62px);
    font-size: 26px;
    font-weight: 400;
    line-height: 1.2;
  }

  .mobile-menu-socials {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: clamp(44px, 9vh, 74px);
  }

  .mobile-menu-socials .language-toggle {
    min-width: 110px;
    min-height: 44px;
    font-size: 18px;
  }

  .menu-close,
  .mobile-menu-nav a,
  .mobile-menu-socials button {
    opacity: 0;
    transform: translateY(-30px);
    transition:
      opacity 180ms ease,
      transform 280ms cubic-bezier(0.4, 0, 1, 1);
  }

  .mobile-menu-nav a:nth-child(1) {
    --menu-index: 1;
  }

  .mobile-menu-nav a:nth-child(2) {
    --menu-index: 2;
  }

  .mobile-menu-nav a:nth-child(3) {
    --menu-index: 3;
  }

  .mobile-menu-nav a:nth-child(4) {
    --menu-index: 4;
  }

  .mobile-menu-socials button:nth-child(1) {
    --menu-index: 5;
  }

  .mobile-menu.is-open .menu-close,
  .mobile-menu.is-open .mobile-menu-nav a,
  .mobile-menu.is-open .mobile-menu-socials button {
    opacity: 1;
    transform: translateY(0);
    transition:
      opacity 450ms ease,
      transform 900ms cubic-bezier(0.015, 0.85, 0.225, 1);
    transition-delay: calc(55ms + var(--menu-index) * 55ms);
  }

  .mobile-menu.is-closing .menu-close,
  .mobile-menu.is-closing .mobile-menu-nav a,
  .mobile-menu.is-closing .mobile-menu-socials button {
    opacity: 0;
    transform: translateY(-12px);
  }

  .home-stage {
    min-height: 0;
  }

  .home-stage .slides {
    min-height: 0;
  }

  .home-stage .slide img {
    height: 100%;
    object-position: center;
  }

  .slider-pagination {
    bottom: 22px;
  }

  .construction-message {
    margin-top: 4px;
    font-size: 34px;
    line-height: 1.25;
  }

  .site-header:not(.home-header):not(.site-menu) {
    min-height: 96px;
    display: block;
    padding-top: 18px;
  }

  .site-nav {
    margin-top: 16px;
    justify-content: flex-start;
    gap: 9px 18px;
  }

  .home-shell:not(.home-stage) {
    min-height: calc(100vh - 96px);
  }

  .slides {
    min-height: calc(100vh - 208px);
  }

  .slide img {
    height: calc(100vh - 230px);
  }

  h1 {
    font-size: 32px;
  }

  .page-intro {
    margin-bottom: 40px;
  }

  .illustration-intro {
    display: block;
  }

  .illustration-intro .text-link {
    margin-top: 18px;
  }

  .artwork-grid {
    column-count: 1;
  }

  .artwork-item {
    margin-bottom: 54px;
  }

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

  .detail-thumbs img {
    height: 126px;
  }

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

  .project-item-large {
    grid-column: auto;
  }

  .project-hero p:not(.kicker) {
    font-size: 15px;
  }
}

@media (min-width: 681px) and (max-width: 760px) {
  .site-menu .brand,
  .home-header .brand,
  .artwork-page .artwork-header .brand {
    font-size: 26px;
  }

  .site-menu .site-nav,
  .home-header .site-nav,
  .artwork-page .artwork-header .site-nav {
    gap: 12px;
    font-size: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html.js .artwork-page .artwork-item {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .mobile-menu,
  .menu-close,
  .mobile-menu-nav a,
  .mobile-menu-socials button {
    transition: none !important;
  }

  .artwork-feature,
  .artwork-feature.is-closing {
    animation: none;
  }

  .feature-main-image img,
  .feature-lightbox-images img,
  .feature-lightbox {
    transition: none;
  }
}

@media (max-width: 1100px) {
  .feature-layout {
    width: calc(100% - 176px);
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    column-gap: 32px;
  }

  .feature-gallery {
    grid-column: 2;
    width: 100%;
  }
}

@media (max-width: 680px) and (orientation: portrait) {
  .artwork-feature {
    padding: 70px 0 54px;
  }

  .feature-close,
  .feature-lightbox-close {
    top: 8px;
    right: 8px;
  }

  .feature-layout {
    width: calc(100vw - 40px);
    min-height: 0;
    margin: 0 20px;
    display: flex;
    flex-direction: column;
    gap: 36px;
  }

  .feature-gallery {
    order: 0;
    width: 100%;
    height: calc(100vw - 40px);
    min-height: 0;
    aspect-ratio: auto;
  }

  .feature-previous,
  .feature-next {
    display: none;
  }

  .feature-info {
    order: 1;
    width: 100%;
    max-width: none;
  }

  .feature-info h1 {
    font-size: 18px;
  }

  .feature-facts {
    margin-top: 28px;
  }

  .feature-thumbnails {
    margin-top: 34px;
  }

  .feature-lightbox-images {
    inset: 64px 44px 54px;
  }
}

@media (max-width: 960px) and (max-height: 500px) and (orientation: landscape) {
  .feature-gallery {
    height: max(160px, calc(100dvh - 100px));
  }
}
