*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
  width: 100%; height: 100%;
  overflow: hidden;
  background: #fafaf8;
}

body {
  font-family: 'DM Sans', sans-serif;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Lang switcher */
.lang {
  position: fixed;
  top: 28px;
  right: 36px;
  display: flex;
  gap: 3px;
  z-index: 100;
}

.lang button {
  background: transparent;
  color: rgba(0,0,0,0.28);
  border: 1px solid rgba(0,0,0,0.14);
  padding: 4px 11px;
  font-size: 10px;
  letter-spacing: 0.12em;
  font-family: inherit;
  cursor: pointer;
  border-radius: 2px;
  font-weight: 400;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
  text-transform: uppercase;
  line-height: 18px;
  appearance: none;
  -webkit-appearance: none;
}

.lang button.active {
  background: #0e0e0e;
  color: #fff;
  border-color: #0e0e0e;
  font-weight: 700;
}

/* Main card */
.card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  user-select: none;
  padding: 0 24px 80px;
}

.logo {
  font-family: 'Playfair Display', serif;
  font-size: clamp(48px, 6vw, 82px);
  font-weight: 400;
  letter-spacing: -0.025em;
  color: #0e0e0e;
  line-height: 1;
  margin-bottom: 20px;
}

.tagline {
  font-size: clamp(13px, 1.1vw, 16px);
  color: #aaa;
  letter-spacing: 0.05em;
  font-style: italic;
  margin-bottom: 44px;
}

.rule {
  width: 48px;
  height: 1px;
  background: #ddd;
  margin-bottom: 44px;
}

.services {
  display: flex;
  gap: 20px;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
}

.services span {
  font-size: clamp(10px, 0.85vw, 13px);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #555;
  font-weight: 500;
}

.services .dot {
  color: #ddd;
  font-size: 16px;
}

/* Footer contact */
.contact {
  position: fixed;
  bottom: 34px;
  left: 0; right: 0;
  display: flex;
  justify-content: center;
  gap: 28px;
  font-size: clamp(10px, 0.85vw, 12px);
  color: #bbb;
  letter-spacing: 0.02em;
}

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

.contact a:hover {
  color: #555;
}

.contact span.sep { color: #e0e0e0; }

/* Language-hidden class */
[data-lang]:not(.visible) { display: none !important; }

/* ── Mobile ────────────────────────────────────────────── */
@media (max-width: 600px) {
  .lang {
    top: 16px;
    right: 16px;
  }

  .card {
    padding: 72px 20px 100px;
  }

  .tagline {
    margin-bottom: 32px;
  }

  .rule {
    margin-bottom: 32px;
  }

  .services {
    gap: 12px;
  }

  .contact {
    bottom: 20px;
    flex-direction: column;
    align-items: center;
    gap: 6px;
  }

  .contact span.sep {
    display: none;
  }
}

/* ── Landscape / short screens ─────────────────────────── */
@media (max-height: 500px) {
  html, body {
    overflow: auto;
    height: auto;
  }

  body {
    align-items: flex-start;
    padding: 80px 0 90px;
  }

  .contact {
    bottom: 16px;
  }
}
