:root {
  color-scheme: dark;
  --cream: #f0dfc3;
  --muted: #d4b88d;
  --dark: #100b0c;
  --rust: #b63212;
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
  margin: 0;
}

body {
  overflow-x: hidden;
  background: var(--dark);
  color: var(--cream);
  font-family: Arial, Helvetica, sans-serif;
}

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

.page-shell {
  display: grid;
  grid-template-columns: minmax(710px, 67.2vw) 1fr;
  min-height: 100vh;
  background:
    radial-gradient(circle at 59% 36%, rgba(105, 30, 14, .56), transparent 39%),
    linear-gradient(108deg, #100b0c 0%, #130c0d 49%, #601b0d 68%, var(--rust) 100%);
}

.content {
  position: relative;
  z-index: 2;
  min-height: 100vh;
  padding: 18px 44px 22px;
}

.back-link {
  position: absolute;
  top: 18px;
  left: 22px;
  z-index: 3;
  font-size: 34px;
  font-weight: 300;
  line-height: 1;
  transition: transform .2s ease, opacity .2s ease;
}

.back-link:hover,
.back-link:focus-visible {
  opacity: .78;
  transform: translateX(-3px);
}

.content-inner {
  display: flex;
  width: min(760px, 88%);
  min-height: calc(100vh - 40px);
  margin: 0 auto;
  align-items: center;
  flex-direction: column;
  text-align: center;
}

.brand {
  display: flex;
  align-items: center;
  gap: 17px;
  margin-top: 0;
  font-size: clamp(44px, 3.3vw, 66px);
  font-weight: 800;
  letter-spacing: -2.5px;
  line-height: 1;
}

.brand img {
  width: clamp(66px, 5.3vw, 100px);
  height: auto;
  filter: grayscale(1) sepia(.15) brightness(2.65);
}

h1 {
  margin: 38px 0 0;
  font-size: clamp(25px, 1.72vw, 34px);
  font-weight: 500;
  line-height: 1.16;
}

.actions {
  width: min(435px, 100%);
  margin-top: 86px;
}

.actions h2 {
  margin: 0 0 23px;
  font-size: clamp(25px, 1.62vw, 32px);
  font-weight: 400;
}

.action-button {
  display: flex;
  width: 100%;
  height: 53px;
  margin-top: 20px;
  align-items: center;
  justify-content: center;
  gap: 13px;
  border: 2px solid var(--cream);
  border-radius: 10px;
  background: rgba(12, 8, 9, .45);
  font-size: 30px;
  line-height: 1;
  transition: background .18s ease, color .18s ease, transform .18s ease;
}

.action-button:first-of-type {
  margin-top: 0;
}

.action-button:hover,
.action-button:focus-visible {
  background: var(--cream);
  color: #1b1010;
  transform: translateY(-1px);
  outline: none;
}

.icon {
  display: inline-flex;
  width: 31px;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.telegram-icon {
  transform: rotate(-20deg);
}

.mail-icon {
  font-size: 27px;
}

.actions p {
  margin: 28px 0 0;
  font-size: 17px;
  line-height: 1.25;
}

.divider {
  display: flex;
  margin: 33px -29px 26px;
  align-items: center;
  gap: 19px;
  font-size: 16px;
}

.divider::before,
.divider::after {
  height: 1px;
  flex: 1;
  background: rgba(240, 223, 195, .7);
  content: "";
}

.disclaimer {
  margin: 29px 0 0;
  font-size: 14px;
  line-height: 1.4;
  color: #ead7b8;
}

.models {
  display: flex;
  margin-top: auto;
  padding-top: 30px;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 21px;
  color: var(--muted);
  font-size: 19px;
  white-space: nowrap;
}

.gallery {
  display: grid;
  height: 100vh;
  min-width: 530px;
  overflow: hidden;
  grid-template-columns: repeat(2, minmax(230px, 1fr));
  gap: 30px;
  padding: 0 0 0 0;
  background: var(--rust);
}

.gallery-column {
  display: flex;
  flex-direction: column;
  gap: 30px;
  will-change: transform;
}

.column-a {
  transform: translateY(-118px);
}

.column-b {
  transform: translateY(-15px);
}

.gallery img {
  width: 100%;
  aspect-ratio: 1;
  flex: 0 0 auto;
  border-radius: 30px;
  object-fit: cover;
}

@media (max-width: 1180px) {
  .page-shell {
    grid-template-columns: minmax(620px, 68vw) 1fr;
  }

  .content-inner {
    width: 92%;
  }

  .gallery {
    min-width: 390px;
    gap: 20px;
  }

  .gallery-column {
    gap: 20px;
  }
}

@media (max-width: 820px) {
  body {
    overflow-y: auto;
  }

  .page-shell {
    display: block;
    min-height: 100svh;
    background:
      linear-gradient(rgba(15, 9, 10, .88), rgba(15, 9, 10, .95)),
      url("assets/gallery-03.webp") center / cover fixed;
  }

  .content {
    min-height: 100svh;
    padding: 28px 22px 26px;
  }

  .content-inner {
    width: min(520px, 100%);
    min-height: calc(100svh - 54px);
  }

  .brand {
    font-size: clamp(38px, 12vw, 54px);
  }

  .brand img {
    width: 66px;
  }

  h1 {
    margin-top: 38px;
    font-size: 25px;
  }

  h1 br {
    display: none;
  }

  .actions {
    margin-top: 68px;
  }

  .gallery {
    display: none;
  }

  .models {
    margin-top: 44px;
  }
}

@media (max-width: 430px) {
  .content {
    padding-inline: 18px;
  }

  .back-link {
    left: 14px;
  }

  .brand {
    gap: 10px;
    font-size: 37px;
    letter-spacing: -1.7px;
  }

  .brand img {
    width: 57px;
  }

  h1 {
    font-size: 22px;
  }

  .actions {
    margin-top: 54px;
  }

  .action-button {
    font-size: 25px;
  }

  .divider {
    margin-inline: 0;
  }

  .models {
    gap: 10px 14px;
    font-size: 16px;
  }
}

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