/* Figma 344:1072 · 375px mobile composition. Desktop styles stay unchanged. */
@font-face {
  font-family: "Kudry Sans Display";
  src: url("assets/fonts/kudry-display.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

.mobile-copy,
.mobile-break,
.map-mobile {
  display: none;
}

.site-nav__callback {
  display: none;
}

@media (max-width: 900px) {
  :root {
    --text-body: 18px;
    --text-menu: 19px;
    --text-subtitle: 22px;
    --text-heading: 31px;
    --space-section: 100px;
    --space-heading: 40px;
    --space-page: 15px;
    --space-grid: 20px;
    --mobile-art-unit: min(1.4px, calc(100vw / 375));
  }

  html {
    scrollbar-gutter: auto;
    scrollbar-width: none;
  }

  html::-webkit-scrollbar {
    display: none;
  }

  h2 {
    font-size: var(--text-heading);
    line-height: 1.1;
    text-wrap: initial;
  }

  .desktop-copy {
    display: none;
  }

  .mobile-copy {
    display: inline;
  }

  .mobile-break {
    display: initial;
  }

  .site-header {
    justify-content: space-between;
    gap: 16px;
    height: 76px;
    min-height: 76px;
    padding: 14px 15px;
  }

  .callback {
    display: none;
  }

  .menu {
    position: relative;
    display: inline-grid;
    flex-basis: 24px;
    width: 24px;
    height: 24px;
    padding: 0;
    background: transparent;
  }

  .menu::before {
    position: absolute;
    inset: -12px;
    content: "";
  }

  .menu:hover {
    background: transparent;
  }

  .site-nav {
    position: fixed;
    inset: 76px 0 0;
    display: none;
    align-items: center;
    justify-content: safe center;
    flex-direction: column;
    gap: 40px;
    padding: 40px 15px;
    overflow-y: auto;
    overscroll-behavior: contain;
    background: var(--color-background);
  }

  .site-nav.open {
    display: flex;
  }

  .site-nav a {
    flex-shrink: 0;
    padding: 0;
    border: 0;
    font-family: var(--font-heading);
    font-size: 40px;
    font-weight: 400;
    line-height: 1.2;
    text-transform: uppercase;
  }

  .site-nav__callback {
    display: block;
    flex-shrink: 0;
    min-height: 26px;
    padding: 0;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.6;
  }

  .hero {
    display: flex;
    flex-direction: column;
    height: 800px;
    min-height: 800px;
    padding: 116px 15px 20px;
  }

  .hero-photo {
    top: 0;
    height: 100%;
    object-fit: cover;
    object-position: 50% 50%;
  }

  .hero h1 {
    font-family: "Kudry Sans Display", Georgia, serif;
    font-size: 38px;
    line-height: 1.2;
    letter-spacing: 0;
  }

  .hero-info {
    position: static;
    display: flex;
    flex: 1;
    flex-direction: column;
    width: 100%;
    margin: 20px 0 0;
  }

  .subtitle,
  .areas,
  .hero-actions {
    display: flex;
    position: relative;
  }

  .subtitle {
    font-size: 22px;
    line-height: 1.4;
  }

  .areas {
    flex-direction: column;
    gap: 10px;
    margin-top: 10px;
    font-size: 18px;
    line-height: 1.18;
  }

  .areas span {
    flex: initial;
    gap: 8px;
    min-height: 32px;
  }

  .hero-actions {
    flex-direction: column;
    gap: 20px;
    margin-top: auto;
    padding-top: 20px;
  }

  .hero-actions > * {
    flex: initial;
    width: 100%;
    min-height: 48px;
  }

  .hero-actions .outline {
    order: -1;
    flex: initial;
    border-color: #cccccc;
  }

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

  .facts {
    gap: 20px;
  }

  .fact {
    height: 200px;
    min-height: 200px;
  }

  .object {
    min-height: 646px;
    gap: 20px;
    padding: 20px;
  }

  .object-top {
    flex-direction: column;
    gap: 20px;
  }

  .object-top h3 {
    font-size: 22px;
    line-height: 1.4;
  }

  .object-top > img {
    width: 100%;
    height: auto;
    aspect-ratio: 1;
    object-fit: cover;
  }

  .object-copy {
    gap: 6px;
    font-size: 18px;
    line-height: 1.18;
  }

  .gallery {
    height: 800px;
    min-height: 800px;
    aspect-ratio: auto;
    margin-inline: 0;
    padding: 20px 15px;
  }

  .gallery h2 {
    font-size: 31px;
    line-height: 1.1;
    text-wrap: initial;
  }

  .gallery-photo[data-crop] {
    top: 0;
    height: 100%;
    object-fit: cover;
    object-position: 50% 50%;
  }

  .gallery-bottom {
    gap: 20px;
  }

  .gallery-controls {
    display: block;
  }

  .gallery-info {
    width: 100%;
    max-width: none;
    gap: 20px;
  }

  .tags {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .tag,
  .gallery-info .tag {
    align-self: flex-start;
    max-width: 100%;
    padding: 12px;
    font-size: 14px;
    line-height: 1.2;
  }

  .tag img,
  .gallery-info .tag img {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
  }

  .gallery .arrows {
    display: none;
  }

  .gallery-cta {
    width: 100%;
    font-size: 14px;
  }

  .progress {
    height: 10px;
    gap: 10px;
  }

  .progress button {
    height: 24px;
    margin-block: -7px;
  }

  .finish > img {
    position: static;
    width: 100%;
    height: auto;
    aspect-ratio: 1;
    min-height: 0;
    object-fit: cover;
  }

  .finish-copy {
    grid-column: auto;
  }

  .finish-copy p {
    align-items: flex-start;
    min-height: 83px;
    height: 83px;
    padding-block: 20px;
    border: 0;
    box-shadow: inset 0 1.5px 0 var(--color-muted);
    font-size: 18px;
    line-height: 1.18;
  }

  .finish-copy p:last-of-type {
    border: 0;
    box-shadow: inset 0 1.5px 0 var(--color-muted), inset 0 -1.5px 0 var(--color-muted);
  }

  .finish-copy p img {
    margin-top: 8px;
  }

  .finish-copy .btn {
    margin-top: 20px;
  }

  .location {
    margin-top: 100px;
  }

  .location .map-window {
    display: none;
  }

  .map-mobile {
    display: block;
    width: 100%;
    height: 500px;
    object-fit: cover;
  }

  .meeting {
    --drift: calc(18 * var(--mobile-art-unit));
    height: calc(661 * var(--mobile-art-unit));
    margin-inline: 0;
    overflow: hidden;
  }

  .meeting .collage-photo {
    width: calc(168 * var(--mobile-art-unit));
    height: calc(168 * var(--mobile-art-unit));
  }

  .meeting .collage-photo:nth-child(1) { left: calc(50% - 341.5 * var(--mobile-art-unit)); top: calc(84 * var(--mobile-art-unit)); }
  .meeting .collage-photo:nth-child(2) { left: calc(50% - 173 * var(--mobile-art-unit)); top: 0; }
  .meeting .collage-photo:nth-child(3) { left: calc(50% + 5 * var(--mobile-art-unit)); top: 0; }
  .meeting .collage-photo:nth-child(4) { left: calc(50% + 173.5 * var(--mobile-art-unit)); top: calc(84 * var(--mobile-art-unit)); }
  .meeting .collage-photo:nth-child(5) { left: calc(50% + 172.5 * var(--mobile-art-unit)); top: calc(280 * var(--mobile-art-unit)); }
  .meeting .collage-photo:nth-child(6) { left: calc(50% + 5 * var(--mobile-art-unit)); top: calc(364 * var(--mobile-art-unit)); }
  .meeting .collage-photo:nth-child(7) { left: calc(50% - 173 * var(--mobile-art-unit)); top: calc(364 * var(--mobile-art-unit)); }
  .meeting .collage-photo:nth-child(8) { left: calc(50% - 342.5 * var(--mobile-art-unit)); top: calc(280 * var(--mobile-art-unit)); }

  .meeting > h2 {
    top: calc(198 * var(--mobile-art-unit));
    left: 50%;
    width: min(360px, 100%);
    margin: 0;
    padding: 0;
    transform: translateX(-50%);
    font-size: 31px;
    line-height: 1.1;
    text-align: center;
    text-align-last: auto;
    white-space: normal;
  }

  .meeting-action {
    top: auto;
    bottom: 0;
    right: 15px;
    left: 15px;
    width: auto;
    gap: 20px;
  }

  .meeting-action p {
    font-size: 18px;
    line-height: 1.18;
    text-align: left;
  }

  .site-footer {
    gap: 40px;
    margin-inline: 0;
    padding-bottom: 20px;
  }

  .footer-photo {
    height: 200px;
  }

  .footer-photo img {
    top: -152.8%;
    height: 266.67%;
  }

  .footer-nav {
    align-items: flex-start;
    flex-direction: column;
    gap: 40px;
    padding-inline: 15px;
  }

  .footer-links {
    align-items: flex-start;
    flex-direction: column;
    gap: 20px;
    font-size: 19px;
  }

  .legal {
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    gap: 20px;
    margin-inline: 15px;
    padding-top: 40px;
    font-size: 19px;
    white-space: normal;
  }

  .legal-privacy {
    order: 1;
  }
}

@media (max-width: 360px) {
  .hero h1 {
    font-size: calc(38 * 100vw / 375);
  }

  h2,
  .gallery h2,
  .meeting > h2 {
    font-size: calc(31 * 100vw / 375);
  }

  .legal {
    font-size: 16px;
  }
}
