/* Mutacronia — dark minimal landing, Anton */

:root {
  /* Тёмный «игровой» сланец: холодный сине-графитовый вместо чистого чёрного */
  --bg: #0e111a;
  --bg-elev: #151b28;
  --bg-deep: #0a0d14;
  --line: #2a3142;
  --text: #d6dae6;
  --muted: #7a8499;
  --white: #f2f4f8;
  --font-display: "Anton", system-ui, sans-serif;
  --font-body: system-ui, -apple-system, "Segoe UI", sans-serif;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --split-visual-h: clamp(300px, 52vh, 680px);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
}

img {
  display: block;
  width: 100%;
  height: auto;
}

a {
  color: var(--white);
}

a:focus-visible {
  outline: 2px solid var(--white);
  outline-offset: 3px;
}

code {
  font-size: 0.9em;
  color: var(--muted);
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  padding: 0.6rem 1rem;
  background: var(--white);
  color: var(--bg);
  font-weight: 600;
  z-index: 200;
}

.skip-link:focus {
  left: 0.75rem;
  top: 0.75rem;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* —— Full-bleed header —— */

.masthead {
  position: relative;
  min-height: min(92vh, 900px);
  width: 100%;
  overflow: hidden;
  display: grid;
  place-items: center;
}

.masthead__langs {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.35rem;
  padding: 1rem 1.25rem;
  max-width: min(100vw - 1.5rem, 22rem);
}

.masthead__lang-select {
  appearance: none;
  -webkit-appearance: none;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  line-height: 1.2;
  color: var(--white);
  background: rgba(14, 17, 26, 0.62);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 3px;
  padding: 0.5rem 2.25rem 0.5rem 0.65rem;
  cursor: pointer;
  max-width: 100%;
  text-overflow: ellipsis;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23fafafa' d='M1 1.5L6 6.5L11 1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.55rem center;
  background-size: 10px 6px;
}

.masthead__lang-select:hover {
  border-color: rgba(255, 255, 255, 0.45);
}

.masthead__lang-select:focus-visible {
  outline: 2px solid var(--white);
  outline-offset: 2px;
}

.masthead__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
  z-index: 0;
}

.masthead__scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    to top,
    rgba(14, 17, 26, 0.92) 0%,
    rgba(14, 17, 26, 0.48) 42%,
    rgba(14, 17, 26, 0.32) 100%
  );
}

.masthead__inner {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 2rem 1.25rem 3rem;
  max-width: 56rem;
}

.masthead__meta {
  margin: 0 0 1rem;
  font-size: 0.75rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.masthead__brand {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(3.2rem, 14vw, 8.5rem);
  line-height: 0.95;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--white);
  text-shadow: 5px 5px 5px black;
}

.masthead__tag {
  margin: 0.35rem 0 0;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.25rem, 4.5vw, 2.75rem);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #89e716;
  text-shadow: 5px 5px 5px black;
}

.masthead__wishlist {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: clamp(2rem, 6vw, 3.5rem);
  padding: 1rem 2.75rem;
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2.4vw, 1.35rem);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  background: #b12521;
  color: white;
  /* color: var(--bg);
  background: var(--white); */
  border: 1px solid var(--white);
  transition: background 0.2s var(--ease), color 0.2s var(--ease), transform 0.2s var(--ease);
}

.masthead__wishlist:hover {
  background: transparent;
  color: var(--white);
}

.masthead__wishlist:active {
  transform: scale(0.98);
}

/* —— Lede —— */

.lede {
  padding: clamp(3rem, 8vw, 5rem) 1.5rem;
  border-top: 1px solid var(--line);
  background: var(--bg);
}

.lede__wrap {
  max-width: 38rem;
  margin: 0 auto;
}

.lede__title {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  line-height: 1.1;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--white);
}

.lede__text {
  margin: 0;
  font-size: 1rem;
  color: var(--muted);
}

/* —— Split: copy + image; copy column grows with text, image fixed height —— */

.split {
  display: grid;
  grid-template-columns: 1fr;
  border-top: 1px solid var(--line);
  align-items: start;
  min-height: 0;
}

.split--tone-a {
  background: var(--bg);
}

.split--tone-b {
  background: var(--bg-elev);
}

.split__visual {
  width: 100%;
  min-width: 0;
  height: var(--split-visual-h);
  overflow: hidden;
  align-self: start;
}

.split__visual img {
  width: 100%;
  height: 100%;
  min-height: unset;
  object-fit: cover;
  object-position: center;
}

.split__copy {
  min-width: 0;
  padding: clamp(2rem, 5vw, 3.5rem) 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1rem;
}

.split__head {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2rem, 5.5vw, 3.75rem);
  line-height: 1.05;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--white);
  overflow-wrap: anywhere;
  word-break: break-word;
}

.split__role {
  margin: 0;
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  overflow-wrap: anywhere;
}

.split__p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  max-width: 48ch;
}

.split__link {
  margin-top: 0.5rem;
  align-self: flex-start;
  font-family: var(--font-display);
  font-size: 1rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 0.65rem 0;
  border-bottom: 1px solid var(--muted);
  color: var(--white);
}

.split__link:hover {
  border-bottom-color: var(--white);
}

/* Copy on the right: image | copy (copy width = content; image column сжимается) */
.split--copy-right .split__copy {
  border-top: 1px solid var(--line);
}

@media (min-width: 900px) {
  .split--copy-right {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: start;
  }

  .split--copy-right .split__copy {
    border-top: none;
    border-left: 1px solid var(--line);
  }
}

/* Copy on the left: copy | image */
.split--copy-left .split__visual {
  border-top: 1px solid var(--line);
}

@media (min-width: 900px) {
  .split--copy-left {
    grid-template-columns: auto minmax(0, 1fr);
    align-items: start;
  }

  .split--copy-left .split__copy {
    order: 0;
    border-right: 1px solid var(--line);
  }

  .split--copy-left .split__visual {
    order: 1;
    border-top: none;
  }
}

@media (max-width: 899px) {
  .split--copy-left .split__copy {
    border-bottom: 1px solid var(--line);
  }
}

/* —— Mosaic gallery —— */

.mosaic {
  border-top: 1px solid var(--line);
  padding: clamp(2.5rem, 6vw, 4rem) 0 0;
  background: var(--bg-elev);
}

.mosaic__head {
  padding: 0 1.5rem clamp(1.5rem, 3vw, 2rem);
  max-width: 72rem;
  margin: 0 auto;
}

.mosaic__title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--white);
}

.mosaic__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: var(--line);
}

@media (min-width: 768px) {
  .mosaic__grid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: auto auto auto;
  }

  .mosaic__cell--tall {
    grid-row: span 2;
  }

  .mosaic__cell--tall img {
    min-height: clamp(520px, 72vh, 900px);
  }

  .mosaic__cell--wide {
    grid-column: span 2;
  }
}

.mosaic__cell {
  margin: 0;
  background: var(--bg);
  overflow: hidden;
}

.mosaic__cell img {
  width: 100%;
  height: 100%;
  min-height: clamp(280px, 42vh, 560px);
  object-fit: cover;
  object-position: center;
}

.mosaic__cell--wide img {
  min-height: clamp(240px, 36vh, 480px);
}

/* —— Wishlist —— */

.wish {
  padding: clamp(3rem, 8vw, 5rem) 1.5rem;
  text-align: center;
  border-top: 1px solid var(--line);
  background: var(--bg);
}

.wish__title {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--white);
}

.wish__hint {
  margin: 0 0 1.75rem;
  font-size: 0.85rem;
  color: var(--muted);
}

.wish__widget {
  max-width: 646px;
  margin: 0 auto 1.5rem;
  border: 1px solid var(--line);
  background: var(--bg-deep);
}

.wish__widget iframe {
  display: block;
  width: 100%;
  height: 190px;
  border: 0;
}

.wish__btn {
  display: inline-flex;
  padding: 0.85rem 2rem;
  font-family: var(--font-display);
  font-size: 1rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--bg);
  background: var(--white);
  border: 1px solid var(--white);
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
}

.wish__btn:hover {
  background: transparent;
  color: var(--white);
}

/* —— Footer —— */

.foot {
  padding: 2rem 1.25rem;
  text-align: center;
  font-size: 0.8rem;
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.foot a {
  color: var(--muted);
  text-decoration: none;
}

.foot a:hover {
  color: var(--white);
}
