:root {
  --bg: #FAF9F8;
  --dark: #4F4640;
  --taupe: #B8A494;
  --muted: #7A6E66;
}
* { box-sizing: border-box; }
html, body { min-height: 100%; margin: 0; }
body {
  position: relative;
  background: var(--bg);
  color: var(--dark);
  font-family: "Montserrat", "Avenir Next", "Century Gothic", "Helvetica Neue", Arial, sans-serif;
  font-weight: 300;
  line-height: 1.65;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(72px, 9vw, 104px) 20px clamp(32px, 6vw, 80px);
}
html.pending .wrap { visibility: hidden; }
.wrap {
  width: fit-content;
  max-width: 100%;
  animation: appear 1.2s ease-out both;
}
@keyframes appear { from { opacity: 0; } to { opacity: 1; } }

/* Переключатель языка */
.lang {
  position: absolute;
  top: clamp(16px, 3vw, 32px);
  right: clamp(20px, 4vw, 40px);
  display: flex;
  gap: 4px;
  font-size: 14px;
  letter-spacing: 0.08em;
}
.lang button {
  font: inherit;
  letter-spacing: inherit;
  color: var(--muted);
  background: none;
  border: 0;
  padding: 6px 8px;
  cursor: pointer;
}
.lang button[aria-pressed="true"] {
  color: var(--dark);
  font-weight: 400;
  text-decoration: underline;
  text-decoration-color: var(--taupe);
  text-underline-offset: 6px;
}
.lang button:hover { color: var(--dark); }
.lang button:focus-visible { outline: 2px solid var(--taupe); outline-offset: 2px; }

/* Wordmark */
.mark {
  margin: 0;
  font-size: clamp(34px, 14vw, 150px);
  font-weight: 300;
  line-height: 1.02;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}
.mark span { display: block; }
.mark .name { color: var(--dark); }
.mark .name2 { color: var(--taupe); }
.mark .tag {
  width: 0;               /* ширина = ширине слова COSMETIC */
  min-width: 100%;
  margin-top: 0.22em;
  font-size: 0.15em;
  letter-spacing: 0.2em;
  line-height: 1.2;
  white-space: nowrap;
  text-align: justify;
  text-align-last: justify;
}

/* Всё ниже подогнано под ширину логотипа */
.info {
  width: 0;
  min-width: 100%;
  margin-top: clamp(36px, 6vw, 72px);
}
.info p { margin: 0; }
.lead { font-size: clamp(18px, 2.2vw, 24px); font-weight: 400; line-height: 1.45; }
.soon { margin-top: 8px !important; color: var(--muted); font-size: clamp(15px, 1.7vw, 18px); }

.brands {
  margin-top: clamp(32px, 5vw, 56px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--taupe);
}
.brand { padding: 28px 32px 0 0; }
.brand + .brand { padding-left: 32px; padding-right: 0; border-left: 1px solid var(--taupe); }
.brand h2 { margin: 0 0 10px; font-size: 22px; font-weight: 400; letter-spacing: 0.02em; }
.brand p { font-size: 15px; }
.brand p + p { margin-top: 10px; }
.brand .more { margin-top: 14px; font-size: 15px; font-weight: 400; }

.contacts {
  margin: clamp(32px, 5vw, 56px) 0 0;
  padding-top: 28px;
  border-top: 1px solid var(--taupe);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px 32px;
  font-size: 15px;
}
.contacts h2 { grid-column: 1 / -1; margin: 0; font-size: 22px; font-weight: 400; letter-spacing: 0.02em; }
.contacts dt { font-size: 13px; color: var(--muted); }
.contacts dd { margin: 0; font-weight: 400; }
.contacts dd span { display: block; }
.note { grid-column: 1 / -1; font-size: 12px; color: var(--muted); }

footer { margin-top: 40px; font-size: 13px; color: var(--muted); }

a { color: var(--dark); text-decoration-color: var(--taupe); text-underline-offset: 4px; }
a:hover { text-decoration-color: var(--dark); }
a:focus-visible { outline: 2px solid var(--taupe); outline-offset: 4px; }

@media (max-width: 640px) {
  .brands, .contacts { grid-template-columns: 1fr; }
  .brand, .brand + .brand { padding: 24px 0 0; border-left: 0; }
  .brand + .brand { margin-top: 24px; border-top: 1px solid var(--taupe); }
}
@media (prefers-reduced-motion: reduce) { .wrap { animation: none; } }
