@font-face {
  font-family: "Anonymous Pro";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/anonymous-pro/AnonymousPro-Regular.ttf") format("truetype");
}

@font-face {
  font-family: "Anonymous Pro";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/anonymous-pro/AnonymousPro-Bold.ttf") format("truetype");
}

:root {
  color-scheme: light;
  --color-bg: #f3f3f3;
  --color-ink: #232323;
  --color-accent: #1c65bf;
  --color-surface: #ffffff;
  --color-menu-icon: #000000;
  --content: 1440px;
  --desktop-content: 1320px;
  --tablet-content: 720px;
  --mobile-content: 358px;
  --page-gutter: 32px;
  --section-rhythm: 100px;
  --project-rhythm: 100px;
  --caption-rhythm: 30px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--color-bg);
  color: var(--color-ink);
  font-family: "Anonymous Pro", monospace;
  font-weight: 400;
  line-height: 1.35;
  text-rendering: geometricPrecision;
}

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

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

.skip-link {
  position: fixed;
  z-index: 100;
  top: 8px;
  left: 8px;
  padding: 8px 12px;
  background: var(--color-ink);
  color: var(--color-bg);
  transform: translateY(calc(-100% - 16px));
}

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

a:focus-visible,
summary:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 3px;
}

[tabindex="-1"]:focus {
  outline: 0;
}

.site-shell {
  min-height: 100vh;
  overflow-x: clip;
}

.portfolio-home {
  padding-bottom: 0;
}

.site-header {
  display: flex;
  position: sticky;
  z-index: 90;
  top: 0;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  max-width: var(--content);
  margin: 0 auto;
  padding: 24px var(--page-gutter);
  background: var(--color-bg);
}

.brand {
  color: var(--color-accent);
  font-family: "Anonymous Pro", monospace;
  font-size: 35px;
  font-weight: 700;
  line-height: 1.43;
  text-transform: uppercase;
  white-space: nowrap;
}

.section-title,
.project-title,
.project-link,
.back-link,
.contact-title,
.contact-link,
.project-detail-group,
.project-detail-title,
.gallery-project-title {
  font-family: "Anonymous Pro", monospace;
  font-weight: 700;
}

.brand-short,
.mobile-brand {
  letter-spacing: 0;
}

.brand-short {
  display: none;
}

.brand-full {
  letter-spacing: 0;
}

.brand-short,
.mobile-brand span {
  transform: none;
}

.mobile-brand span {
  display: inline-block;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 56px;
  color: var(--color-ink);
  font-family: "Anonymous Pro", monospace;
  font-size: 25px;
  font-weight: 700;
  line-height: 1.43;
  text-align: center;
  text-transform: lowercase;
  white-space: nowrap;
}

.nav a,
.project-link,
.back-link,
.contact-link {
  transition: opacity 0.2s ease;
}

.nav a {
  letter-spacing: 0;
}

.nav a[aria-current="page"],
.nav a:hover,
.nav a:focus-visible,
.project-link:hover,
.project-link:focus-visible,
.back-link:hover,
.back-link:focus-visible,
.contact-link:hover,
.contact-link:focus-visible {
  opacity: 0.68;
}

.mobile-nav {
  display: none;
}

.hero {
  position: relative;
  max-width: var(--content);
  height: 666px;
  margin: 164px auto 0;
}

.hero-tags {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hero-image {
  position: absolute;
  top: 28px;
  left: 50%;
  width: 100%;
  height: 480px;
  max-width: none;
  object-fit: cover;
  transform: translateX(-50%);
}

.tag {
  position: absolute;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 10px 35px;
  border: 1px solid var(--color-accent);
  border-radius: 1000px;
  color: var(--color-accent);
  font-family: "Anonymous Pro", monospace;
  font-size: 25px;
  line-height: 1.43;
  text-transform: lowercase;
  white-space: nowrap;
}

.tag-style {
  top: -12px;
  left: 53.85%;
}

.tag-print {
  top: 56px;
  left: 17.6%;
}

.tag-graphic {
  top: 436px;
  left: 18.33%;
}

.tag-type {
  top: 436px;
  left: 71.5%;
}

.tag-branding {
  top: 508px;
  left: 50%;
}

.section {
  max-width: var(--desktop-content);
  margin: 0 auto;
  padding: 0 var(--page-gutter);
}

.section[id] {
  scroll-margin-top: 120px;
}

.section-title {
  margin: 0;
  color: var(--color-accent);
  font-size: 35px;
  font-weight: 700;
  line-height: 1.43;
  text-align: center;
  text-transform: uppercase;
}

.about {
  padding-top: 100px;
}

.about-title {
  font-size: 120px;
  line-height: 1;
  white-space: nowrap;
}

.about-card {
  display: grid;
  justify-items: center;
  gap: 32px;
  max-width: 1000px;
  margin: 32px auto 0;
}

.about-photo {
  width: 340px;
  aspect-ratio: 340 / 430;
  overflow: hidden;
}

.about-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: bottom;
}

.about-text {
  display: flex;
  min-height: 372px;
  margin: 0;
  flex-direction: column;
  gap: 24px;
  align-items: center;
  justify-content: center;
  color: var(--color-ink);
  font-family: "Anonymous Pro", monospace;
  font-size: 25px;
  line-height: 1.43;
  text-align: center;
  text-wrap: pretty;
}

.about-text p {
  width: 100%;
  margin: 0;
}

.work,
.visuals,
.print {
  padding-top: 100px;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(280px, 420px));
  align-items: stretch;
  justify-content: center;
  gap: 24px;
  width: 100%;
  margin: 30px auto 0;
}

.project-card {
  display: flex;
  width: 100%;
  height: 100%;
  min-width: 0;
  max-width: 420px;
  flex-direction: column;
  gap: 12px;
  align-items: center;
  justify-content: flex-start;
  justify-self: center;
}

.work .project-card {
  min-height: 477px;
}

.visuals .project-card {
  min-height: 454px;
}

.project-media {
  display: block;
  width: 100%;
  aspect-ratio: 418 / 320;
  overflow: hidden;
  background: var(--color-surface);
}

.project-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-body {
  display: flex;
  width: 100%;
  flex: 1;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 0 16px;
  text-align: center;
}

.project-title {
  margin: 0;
  font-size: 25px;
  font-weight: 700;
  line-height: 1.2;
}

.project-copy {
  margin: 0;
  color: var(--color-ink);
  font-size: 16px;
  line-height: 1.43;
  text-wrap: pretty;
}

.project-link,
.back-link {
  display: inline-block;
  color: var(--color-accent);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.43;
  text-transform: uppercase;
}

.project-link {
  margin-top: auto;
}

.print-collage {
  height: 480px;
  margin-top: 30px;
  overflow: hidden;
  background: var(--color-surface);
}

.print-collage picture,
.print-collage img {
  width: 100%;
  height: 100%;
}

.print-collage picture {
  display: block;
}

.print-collage img {
  object-fit: cover;
}

.contact {
  margin-top: var(--section-rhythm);
  padding: 80px var(--page-gutter);
}

.print + .contact {
  margin-top: var(--section-rhythm);
}

.contact-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 48px;
  max-width: none;
  margin: 0 auto;
}

.contact-content {
  flex: 1 1 620px;
  min-width: 0;
  max-width: 800px;
  text-align: left;
}

.contact-title {
  margin: 0;
  color: var(--color-accent);
  font-size: 100px;
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
}

.contact-copy {
  margin: 16px 0 0;
  color: var(--color-ink);
  font-size: 18px;
  line-height: 1;
}

.contact-figure {
  display: flex;
  width: 349px;
  height: 425px;
  flex: 0 0 349px;
  align-items: center;
  justify-content: center;
}

.contact-figure img {
  width: 325px;
  height: 406px;
  max-width: none;
  object-fit: cover;
  transform: rotate(-3.52deg);
}

.contact-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  column-gap: 32px;
  row-gap: 32px;
  max-width: none;
  margin: 48px auto 0;
}

.contact-link {
  display: inline-flex;
  width: 100%;
  min-width: 0;
  max-width: none;
  height: 49px;
  min-height: 49px;
  align-items: center;
  justify-content: center;
  padding: 0 35px;
  border: 1px solid var(--color-accent);
  border-radius: 1000px;
  color: var(--color-accent);
  font-size: 20px;
  line-height: 1.43;
  text-align: center;
  white-space: nowrap;
}

.contact-link:nth-child(3) {
  width: 502px;
  max-width: 502px;
}

.contact-link:nth-child(1) {
  width: 267px;
}

.contact-link:nth-child(2) {
  width: 269px;
}

.contact-link-mobile {
  display: none;
}

.portfolio-showcase {
  width: calc(100% - 64px);
  max-width: var(--desktop-content);
  margin: 0 auto;
}

.portfolio-showcase .section-title,
.gallery-project-body {
  text-align: left;
}

.portfolio-showcase-branding {
  padding-top: var(--section-rhythm);
}

.portfolio-gallery-list {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  row-gap: var(--project-rhythm);
  margin-top: 64px;
}

.gallery-project {
  min-width: 0;
}

.portfolio-visual-title-tablet {
  display: none;
}

.gallery-art,
.gallery-art picture,
.gallery-art img {
  display: block;
  width: 100%;
}

.gallery-project-branding .gallery-art {
  height: auto;
  aspect-ratio: 1320 / 601;
  overflow: hidden;
}

.gallery-project-branding .gallery-art img {
  height: 100%;
  object-fit: cover;
}

.gallery-project-branding .gallery-project-body {
  margin-top: var(--caption-rhythm);
}

.gallery-project-title {
  margin: 0;
  color: var(--color-accent);
  font-size: 45px;
  font-weight: 700;
  line-height: 1.43;
}

.gallery-project-copy {
  margin: 10px 0 0;
  font-size: 25px;
  line-height: 1.43;
}

.portfolio-showcase-visual {
  margin-top: var(--section-rhythm);
}

.portfolio-showcase-visual .portfolio-gallery-list {
  margin-top: 50px;
}

.gallery-project-visual .gallery-art {
  width: 100%;
  margin: 0;
  overflow: hidden;
}

.gallery-project-kamchatka.gallery-project-visual .gallery-art {
  height: auto;
  aspect-ratio: 1310 / 578;
}

.gallery-project-communale.gallery-project-visual .gallery-art {
  aspect-ratio: 1310 / 655;
}

.gallery-project-co-working.gallery-project-visual .gallery-art {
  aspect-ratio: 1310 / 594;
}

.gallery-project-visual .gallery-art img {
  height: 100%;
  object-fit: cover;
}

.gallery-project-visual .gallery-project-body {
  margin-top: var(--caption-rhythm);
}

.gallery-art[id] {
  scroll-margin-top: 130px;
}

.portfolio-gallery .contact {
  width: 100%;
  margin-top: var(--section-rhythm);
  padding-right: var(--page-gutter);
  padding-left: var(--page-gutter);
}

.portfolio-index {
  padding-bottom: 0;
}

.project-detail {
  max-width: 1180px;
  padding-top: 132px;
  text-align: center;
}

.project-detail-group {
  margin: 32px 0 0;
  color: var(--color-accent);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.43;
  text-transform: uppercase;
}

.project-detail-title {
  margin: 8px 0 0;
  color: var(--color-accent);
  font-size: 100px;
  font-weight: 700;
  line-height: 1;
}

.project-detail-media {
  max-width: 920px;
  aspect-ratio: 418 / 320;
  margin: 40px auto 0;
  overflow: hidden;
  background: var(--color-surface);
}

.project-detail-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-detail-copy {
  max-width: 920px;
  margin: 32px auto 0;
  font-size: 25px;
  line-height: 1.43;
}

@media (min-width: 1101px) {
  .site-header,
  .portfolio-showcase,
  .portfolio-gallery .contact {
    width: min(calc(100% - (2 * var(--page-gutter))), var(--desktop-content));
    max-width: none;
    margin-right: auto;
    margin-left: auto;
  }

  .section {
    width: min(calc(100% - (2 * var(--page-gutter))), var(--desktop-content));
  }

  .site-header,
  .section,
  .portfolio-gallery .contact {
    padding-right: 0;
    padding-left: 0;
  }
}

@media (max-width: 1160px) {
  .brand-full {
    display: none;
  }

  .brand-short {
    display: inline-block;
  }
}

@media (max-width: 1100px) {
  :root {
    --page-gutter: 24px;
    --section-rhythm: 70px;
    --project-rhythm: 70px;
  }

  .site-header,
  .section,
  .portfolio-showcase,
  .portfolio-gallery .contact {
    width: min(calc(100% - (2 * var(--page-gutter))), var(--tablet-content));
    max-width: none;
    margin-right: auto;
    margin-left: auto;
  }

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

  .brand {
    font-size: 35px;
  }

  .nav {
    gap: 56px;
    font-size: 25px;
  }

  .hero {
    width: min(var(--tablet-content), calc(100vw - (2 * var(--page-gutter))));
    height: clamp(320px, 47vw, 361px);
    margin-top: 94px;
  }

  .hero-image {
    top: 9.6%;
    width: 100%;
    height: 65%;
  }

  .tag {
    min-height: 27px;
    padding: 5px 18px;
    border-width: 0.5px;
    font-size: 13px;
  }

  .tag-style {
    top: 3.9%;
  }

  .tag-print {
    top: 13.6%;
  }

  .tag-graphic,
  .tag-type {
    top: 67.4%;
  }

  .tag-branding {
    top: 77.7%;
  }

  .section {
    padding-right: 0;
    padding-left: 0;
  }

  .about {
    padding-top: 70px;
  }

  .about-title {
    max-width: 640px;
    margin-right: auto;
    margin-left: auto;
    font-size: 120px;
    line-height: 1;
  }

  .about-text {
    width: min(640px, 100%);
    min-height: 444px;
    font-size: 23px;
  }

  .work,
  .visuals,
  .print {
    padding-top: 70px;
  }

  .project-grid {
    grid-template-columns: repeat(2, minmax(280px, 420px));
    row-gap: 24px;
  }

  .project-grid .project-card:nth-child(3) {
    grid-column: 1 / -1;
    width: min(420px, 100%);
  }

  .work .project-card:nth-child(1),
  .work .project-card:nth-child(2) {
    min-height: 500px;
  }

  .work .project-card:nth-child(3) {
    min-height: 477px;
  }

  .visuals .project-card {
    min-height: 454px;
  }

  .project-media {
    height: 320px;
    aspect-ratio: auto;
  }

  .print-collage {
    height: 752px;
    background: var(--color-surface);
  }

  .print {
    padding-right: 0;
    padding-left: 0;
  }

  .contact {
    margin-top: var(--section-rhythm);
    padding: 53px 0;
  }

  .print + .contact {
    margin-top: var(--section-rhythm);
  }

  .contact-top {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 179px;
    gap: 0;
    max-width: none;
  }

  .contact-title {
    font-size: 63px;
  }

  .contact-figure {
    width: 179px;
    height: 218px;
    flex-basis: 179px;
  }

  .contact-figure img {
    width: 166px;
    height: 208px;
  }

  .contact-links {
    display: grid;
    grid-template-columns: 345px 269px;
    justify-content: space-between;
    gap: 26px;
    max-width: none;
  }

  .contact-link {
    width: 100%;
    max-width: none;
    white-space: normal;
  }

  .contact-link:nth-child(1),
  .contact-link:nth-child(2) {
    width: 100%;
  }

  .contact-link:nth-child(3) {
    grid-column: 1;
    justify-self: start;
    width: 502px;
    max-width: none;
  }

  .project-detail-title {
    font-size: 76px;
  }

  .project-detail-copy {
    font-size: 22px;
  }

  .portfolio-showcase {
    max-width: var(--tablet-content);
  }

  .portfolio-showcase-branding {
    padding-top: var(--section-rhythm);
  }

  .portfolio-gallery-list {
    row-gap: var(--project-rhythm);
    margin-top: 64px;
  }

  .gallery-project-branding .gallery-art {
    height: auto;
    aspect-ratio: 704 / 1013;
  }

  .gallery-project-branding .gallery-art img {
    width: 100%;
    height: auto;
    object-fit: fill;
    object-position: top;
  }

  .gallery-project-haven.gallery-project-branding .gallery-art {
    aspect-ratio: 704 / 1013;
  }

  .gallery-project-branding .gallery-project-body {
    margin-top: var(--caption-rhythm);
  }

  .portfolio-visual-title-tablet {
    display: block;
    margin-top: 0;
  }

  .portfolio-showcase-visual {
    margin-top: 0;
  }

  .portfolio-visual-title {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    overflow: hidden;
    white-space: nowrap;
  }

  .portfolio-showcase-visual .portfolio-gallery-list {
    row-gap: var(--project-rhythm);
    margin-top: var(--section-rhythm);
  }

  .gallery-project-visual .gallery-art {
    width: 100%;
    height: auto;
  }

  .gallery-project-kamchatka.gallery-project-visual .gallery-art {
    height: auto;
    aspect-ratio: 704 / 1978;
  }

  .gallery-project-communale.gallery-project-visual .gallery-art {
    width: 100%;
    height: auto;
    aspect-ratio: 718 / 2000;
    margin-left: 0;
  }

  .gallery-project-co-working.gallery-project-visual .gallery-art {
    width: 100%;
    height: auto;
    aspect-ratio: 768 / 1935;
    margin-left: 0;
  }

  .gallery-project-communale.gallery-project-visual .gallery-art img,
  .gallery-project-co-working.gallery-project-visual .gallery-art img {
    width: 100%;
    max-width: none;
  }

  .gallery-project-visual .gallery-project-body {
    margin-top: var(--caption-rhythm);
  }

  .portfolio-gallery .contact {
    width: min(calc(100% - (2 * var(--page-gutter))), var(--tablet-content));
    margin-top: var(--section-rhythm);
    padding: 53px 0;
  }
}

@media (max-width: 760px) {
  :root {
    --page-gutter: 16px;
    --section-rhythm: 50px;
    --project-rhythm: 50px;
  }

  .site-header {
    display: block;
    width: min(calc(100% - (2 * var(--page-gutter))), var(--mobile-content));
    padding: 0;
  }

  .brand,
  .nav {
    display: none;
  }

  .mobile-nav {
    display: block;
    position: relative;
    width: 100%;
  }

  .mobile-nav-disclosure {
    width: 100%;
  }

  .mobile-nav-summary {
    display: flex;
    min-height: 98px;
    align-items: center;
    justify-content: flex-end;
    padding: 24px 0;
    cursor: pointer;
    list-style: none;
  }

  .mobile-nav-summary::-webkit-details-marker {
    display: none;
  }

  .mobile-brand {
    position: absolute;
    z-index: 1;
    top: 21px;
    left: 0;
    color: var(--color-accent);
    font-size: 35px;
    font-weight: 700;
    line-height: 1.43;
    text-transform: uppercase;
  }

  .mobile-menu-icon {
    position: relative;
    width: 32px;
    height: 32px;
  }

  .mobile-menu-icon span {
    position: absolute;
    left: 2px;
    width: 28px;
    height: 3px;
    border-radius: 3px;
    background: var(--color-menu-icon);
    transition: transform 0.2s ease, top 0.2s ease;
  }

  .mobile-menu-icon span:first-child {
    top: 10px;
  }

  .mobile-menu-icon span:last-child {
    top: 19px;
  }

  .mobile-nav-disclosure[open] .mobile-menu-icon {
    width: 17px;
    height: 17px;
  }

  .mobile-nav-disclosure[open] .mobile-menu-icon span {
    top: 7px;
    left: -3.5px;
    width: 24px;
  }

  .mobile-nav-disclosure[open] .mobile-menu-icon span:first-child {
    transform: rotate(45deg);
  }

  .mobile-nav-disclosure[open] .mobile-menu-icon span:last-child {
    transform: rotate(-45deg);
  }

  .mobile-menu {
    display: flex;
    position: relative;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    margin-top: 20px;
    padding: 28px 0 48px;
    color: var(--color-ink);
    font-size: 25px;
    font-weight: 700;
    line-height: 36px;
    text-align: center;
    text-transform: lowercase;
  }

  .mobile-menu a {
    letter-spacing: 1.5px;
  }

  .mobile-menu::before {
    position: absolute;
    top: 0;
    left: -4px;
    width: calc(100% + 8px);
    height: 1px;
    background: var(--color-accent);
    content: "";
  }

  .hero {
    width: min(var(--mobile-content), calc(100vw - (2 * var(--page-gutter))));
    height: auto;
    aspect-ratio: 326 / 545;
    margin-top: 18px;
  }

  .hero-image {
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    transform: none;
  }

  .hero-tags {
    display: none;
  }

  .section {
    width: min(calc(100% - (2 * var(--page-gutter))), var(--mobile-content));
    padding-right: 0;
    padding-left: 0;
  }

  .section-title,
  .about-title {
    font-size: 30px;
    line-height: 1.43;
  }

  .about-title {
    width: min(262px, 100%);
    max-width: 262px;
    font-size: 60px;
    line-height: 1;
  }

  .about {
    padding-top: 50px;
  }

  .about-card {
    gap: 32px;
    margin-top: 32px;
  }

  .about-photo {
    width: min(326px, 100%);
  }

  .about-text {
    width: min(340px, 100%);
    min-height: 416px;
    font-size: 16px;
    text-align: center;
  }

  .work,
  .visuals,
  .print {
    padding-top: 50px;
  }

  .project-grid {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 24px;
  }

  .project-card {
    width: 100%;
  }

  .work .project-card:nth-child(1) {
    min-height: 523px;
  }

  .work .project-card:nth-child(2),
  .work .project-card:nth-child(3) {
    min-height: 500px;
  }

  .visuals .project-card:nth-child(1),
  .visuals .project-card:nth-child(3) {
    min-height: 454px;
  }

  .visuals .project-card:nth-child(2) {
    min-height: 477px;
  }

  .visuals .section-title {
    line-height: 1;
  }

  .project-grid .project-card:nth-child(3) {
    width: 100%;
  }

  .project-body {
    padding-right: 0;
    padding-left: 0;
  }

  .project-title {
    font-size: 25px;
  }

  .project-copy {
    font-size: 16px;
  }

  .project-link {
    font-size: 18px;
  }

  .print-collage {
    height: 697px;
  }

  .contact {
    margin-top: var(--section-rhythm);
    padding: 10px 16px;
  }

  .print + .contact {
    margin-top: var(--section-rhythm);
  }

  .contact-top {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 42px;
    max-width: 278px;
    text-align: center;
  }

  .contact-content {
    flex: none;
    max-width: 278px;
    text-align: center;
  }

  .contact-title {
    font-size: 35px;
  }

  .contact-copy {
    margin-top: 16px;
    font-size: 16px;
    line-height: 1;
  }

  .contact-figure {
    width: 179px;
    height: 218px;
    flex-basis: auto;
  }

  .contact-figure img {
    width: 166px;
    height: 208px;
  }

  .contact-links {
    display: flex;
    max-width: 278px;
    flex-direction: column;
    gap: 32px;
    margin-top: 22px;
  }

  .contact-link {
    width: 100%;
    max-width: 278px;
    height: 49px;
    min-height: 49px;
    padding: 0 20px;
    font-size: 20px;
    white-space: normal;
  }

  .contact-link:nth-child(3) {
    width: 100%;
    max-width: 278px;
  }

  .contact-link-full {
    display: none;
  }

  .contact-link-mobile {
    display: inline;
  }

  .project-detail {
    padding-top: 70px;
  }

  .project-detail-title {
    font-size: 42px;
  }

  .project-detail-copy {
    font-size: 16px;
  }

  .project-detail-group {
    font-size: 14px;
  }

  .project-detail-media {
    margin-top: 32px;
  }

  .portfolio-showcase {
    width: min(calc(100% - (2 * var(--page-gutter))), var(--mobile-content));
    max-width: none;
    padding-right: 0;
    padding-left: 0;
  }

  .portfolio-showcase .section-title {
    font-size: 30px;
    line-height: 1.43;
  }

  .portfolio-showcase-branding {
    padding-top: var(--section-rhythm);
  }

  .portfolio-gallery-list {
    row-gap: var(--project-rhythm);
    margin-top: 64px;
  }

  .portfolio-visual-title-tablet {
    display: none;
  }

  .gallery-project-branding .gallery-art {
    height: auto;
    aspect-ratio: 326 / 223;
  }

  .gallery-project-branding .gallery-art img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .gallery-project-haven.gallery-project-branding .gallery-art {
    aspect-ratio: 326 / 223;
  }

  .gallery-project-branding .gallery-project-body {
    margin-top: var(--caption-rhythm);
  }

  .gallery-project-title {
    font-size: 30px;
    line-height: 1.43;
  }

  .gallery-project-copy {
    margin-top: 10px;
    font-size: 18px;
    line-height: 1.43;
  }

  .portfolio-showcase-visual {
    margin-top: var(--section-rhythm);
  }

  .portfolio-visual-title {
    position: static;
    width: auto;
    height: auto;
    clip: auto;
    clip-path: none;
    overflow: visible;
    white-space: normal;
  }

  .portfolio-showcase-visual .portfolio-gallery-list {
    row-gap: var(--project-rhythm);
    margin-top: var(--section-rhythm);
  }

  .portfolio-showcase-visual .portfolio-visual-title {
    line-height: 1;
  }

  .gallery-project-visual .gallery-art {
    width: 100%;
    height: auto;
    margin-left: auto;
  }

  .gallery-project-kamchatka.gallery-project-visual .gallery-art {
    height: auto;
    aspect-ratio: 326 / 916;
  }

  .gallery-project-communale.gallery-project-visual .gallery-art {
    width: 100%;
    height: auto;
    aspect-ratio: 326 / 910;
    margin-left: auto;
  }

  .gallery-project-co-working.gallery-project-visual .gallery-art {
    width: 100%;
    height: auto;
    aspect-ratio: 326 / 896;
    margin-left: auto;
  }

  .gallery-project-visual .gallery-project-body {
    margin-top: var(--caption-rhythm);
  }

  .gallery-project-visual .gallery-project-title {
    font-size: 20.5px;
  }

  .gallery-project-visual .gallery-project-copy {
    margin-top: 0;
    font-size: 11.4px;
  }

  .portfolio-gallery .contact {
    width: min(calc(100% - (2 * var(--page-gutter))), var(--mobile-content));
    margin-top: var(--section-rhythm);
    padding: 10px 16px;
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
