/* Страница «скоро открытие» (решение Романа 26.11.2026, вариант «Комната»).
   Шрифт Golos Text (Paratype), лицензия SIL Open Font License 1.1; файлы лежат рядом — обращений к чужим сервисам нет (ОБЩ-05).
   Фотография — библиотека RAW набора UI8 (тариф Pro). */
@font-face { font-family: "Golos Text"; font-style: normal; font-weight: 400 600; font-display: swap; src: url("/golos-cyrillic.woff2") format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Golos Text"; font-style: normal; font-weight: 400 600; font-display: swap; src: url("/golos-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --bg: #ecebe8;
  --ink: #1c1814;
  --muted: #6a655e;
  --photo: #2e2924;
  --font: "Golos Text", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
html, body { height: 100%; }
html { scrollbar-width: thin; scrollbar-color: rgb(127 127 127 / .35) transparent; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font); -webkit-font-smoothing: antialiased; }
h1, p { margin: 0; }

.grid { min-height: 100%; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); }
.text { display: flex; flex-direction: column; justify-content: space-between; gap: 48px; min-width: 0;
  padding-block: max(40px, env(safe-area-inset-top, 0px)) max(40px, env(safe-area-inset-bottom, 0px));
  padding-left: max(48px, env(safe-area-inset-left, 0px)); padding-right: 48px; }
.top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 24px; }
.mark { font-size: 22px; font-weight: 600; letter-spacing: 0.01em; }
.lang { display: flex; gap: 4px; margin-right: -10px; }
.lang button { font: 400 15px/1 var(--font); color: var(--muted); background: transparent; border: 0; border-radius: 8px; min-height: 44px; padding: 0 10px; cursor: pointer; }
.lang button[aria-pressed="true"] { color: var(--ink); font-weight: 600; }
.lang button:hover { color: var(--ink); }
.lang button:focus-visible { outline: 2px solid var(--ink); outline-offset: -2px; }
h1 { font-size: clamp(40px, 4.6vw, 68px); line-height: 1.04; font-weight: 500; letter-spacing: -0.025em; max-width: 11em; text-wrap: balance; }
.sub { font-size: 19px; line-height: 1.5; color: var(--muted); max-width: 26em; margin-top: 24px; text-wrap: pretty; }
.foot { font-size: 15px; color: var(--muted); }
.photo { display: block; width: 100%; height: 100%; min-height: 320px; object-fit: cover; background: var(--photo); }

@media (max-width: 760px) {
  .grid { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto minmax(300px, 1fr); }
  .text { gap: 36px; padding-block: max(28px, env(safe-area-inset-top, 0px)) 28px;
    padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
  h1 { font-size: 40px; }
  .photo { min-height: 300px; }
}
