:root {
  color-scheme: dark;
  --background: #000000;
  --foreground: #f7f7f5;
  --muted: #8e8e8e;
  --line: #292929;
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--background);
  color: var(--foreground);
  font-family: "Exo 2", Arial, sans-serif;
}

a {
  color: var(--foreground);
  font-weight: 700;
  text-decoration: none;
}

.address a {
  color: var(--muted);
  font-weight: 200;
}

.address a:hover,
.address a:focus-visible {
  color: var(--foreground);
  outline: none;
}

.language-switch {
  position: fixed;
  top: clamp(18px, 3vw, 32px);
  right: clamp(20px, 4vw, 48px);
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #555555;
  font-size: 12px;
  font-weight: 300;
}

.lang-button {
  appearance: none;
  border: 0;
  padding: 0;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font: inherit;
}

.lang-button.is-active,
.lang-button:hover,
.lang-button:focus-visible {
  color: var(--foreground);
  outline: none;
}

.slide {
  position: relative;
  display: grid;
  min-height: 100svh;
  padding: clamp(34px, 5vw, 72px);
}

.wordmark {
  position: absolute;
  top: 14.2%;
  left: 50%;
  display: flex;
  align-items: baseline;
  gap: 0.22em;
  margin: 0;
  color: var(--foreground);
  font-size: clamp(34px, 3.45vw, 42px);
  font-weight: 200;
  line-height: 1;
  transform: translateX(-50%);
  white-space: nowrap;
}

.wordmark span:first-child {
  font-weight: 700;
}

.panel h2 span:first-child {
  font-weight: 200;
}

.split {
  position: absolute;
  top: 31%;
  left: 50%;
  display: grid;
  grid-template-columns: minmax(300px, 380px) 1px minmax(320px, 410px);
  gap: clamp(48px, 5.4vw, 78px);
  align-items: start;
  min-width: 0;
  transform: translateX(-50%);
}

.divider {
  width: 1px;
  height: clamp(330px, 42vh, 382px);
  background: var(--line);
}

.panel {
  min-width: 0;
  color: var(--muted);
  font-size: clamp(16px, 1.25vw, 19px);
  font-weight: 200;
  line-height: 1.22;
}

.panel h2 {
  display: flex;
  gap: 0.2em;
  margin: 0 0 clamp(30px, 3.4vw, 36px);
  color: var(--foreground);
  font-size: clamp(22px, 1.95vw, 27px);
  font-weight: 200;
  line-height: 1;
}

.panel p {
  margin: 0;
  overflow-wrap: break-word;
}

.panel p + p {
  margin-top: 26px;
  font-size: 0.9em;
}

.panel p + p a {
  font-weight: 300;
}

.panel strong {
  color: var(--foreground);
  font-weight: 700;
}

.panel-products {
  text-align: right;
}

.panel-products h2 {
  justify-content: flex-end;
}

.profile {
  width: clamp(110px, 9.8vw, 124px);
  margin: 12px 0 0 6px;
}

.profile img {
  display: block;
  width: 100%;
  height: clamp(110px, 9.8vw, 124px);
  border-radius: 8px;
  object-fit: cover;
  object-position: center 44%;
  filter: grayscale(1) contrast(1.05) brightness(0.9);
}

.profile figcaption {
  display: grid;
  gap: 3px;
  width: 210px;
  margin-top: 42px;
  color: var(--muted);
  font-size: clamp(13px, 1.15vw, 16px);
  font-style: normal;
  font-weight: 200;
  line-height: 1.1;
}

.name {
  color: #cfcfcb;
  font-size: clamp(17px, 1.45vw, 21px);
  font-weight: 200;
}

.address {
  position: absolute;
  right: clamp(24px, 3.1vw, 50px);
  bottom: clamp(26px, 3vw, 42px);
  display: grid;
  color: var(--muted);
  font-size: clamp(12px, 1vw, 15px);
  font-style: normal;
  font-weight: 200;
  line-height: 1.18;
  text-align: right;
}

@media (max-width: 860px) {
  .slide {
    padding: 76px 24px 34px;
  }

  .wordmark,
  .split,
  .address {
    position: static;
    transform: none;
  }

  .wordmark {
    max-width: min(342px, calc(100vw - 48px));
    justify-self: center;
    margin-bottom: 54px;
    font-size: clamp(28px, 8vw, 34px);
  }

  .split {
    display: grid;
    grid-template-columns: 1fr;
    gap: 34px;
    width: min(342px, calc(100vw - 48px));
    max-width: 342px;
    justify-self: start;
  }

  .divider {
    width: 100%;
    height: 1px;
    order: 2;
  }

  .panel,
  .panel-products {
    text-align: left;
  }

  .panel-services {
    order: 1;
  }

  .panel-products {
    order: 3;
  }

  .panel-products h2 {
    justify-content: flex-start;
  }

  .profile {
    margin-left: 0;
  }

  .profile figcaption {
    margin-top: 18px;
  }

  .address {
    max-width: min(342px, calc(100vw - 48px));
    justify-self: start;
    margin-top: 64px;
    text-align: left;
  }
}
