/* DIM LAZAR — Visual Systems page content styles */

.visual-systems-main {
  width: min(1380px, calc(100% - var(--internal-left) - var(--internal-right)));
}

.visual-systems-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  padding-bottom: 2.4rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.13);
}

.visual-systems-heading > div:first-child { min-width: 0; }

.visual-systems-kicker {
  margin-bottom: 0.72rem;
  color: rgba(255, 255, 255, 0.34);
  font-size: 0.68rem;
  font-weight: 390;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.visual-systems-heading h1 {
  color: rgba(255, 255, 255, 0.92);
  font-size: clamp(2.8rem, 6.2vw, 5.4rem);
  font-weight: 250;
  line-height: 0.96;
  letter-spacing: -0.035em;
}

.language-switch {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 0.58rem;
  padding-bottom: 0.25rem;
  color: rgba(255, 255, 255, 0.20);
  font-size: 0.72rem;
  letter-spacing: 0.10em;
}

.language-button {
  appearance: none;
  border: 0;
  border-bottom: 1px solid transparent;
  padding: 0.25rem 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.42);
  font: 420 0.72rem/1 var(--f-sans);
  letter-spacing: 0.10em;
  cursor: pointer;
  transition: color 0.25s var(--ease), border-color 0.25s var(--ease);
}

.language-button:hover,
.language-button:focus-visible,
.language-button.is-active {
  color: rgba(255, 255, 255, 0.94);
  border-bottom-color: rgba(200, 169, 126, 0.72);
  outline: none;
}

.visual-systems-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  align-items: start;
  gap: clamp(2.5rem, 5vw, 6rem);
}

.visual-systems-article {
  padding-top: 3.8rem;
  animation: visualSystemsFade 0.42s var(--ease) both;
}

.visual-systems-artwork {
  width: 100%;
  padding-top: 3.8rem;
}

.visual-systems-artwork img {
  display: block;
  width: 100%;
  height: auto;
}

.visual-systems-article[hidden] { display: none; }

.visual-systems-article p {
  max-width: 70ch;
  color: rgba(255, 255, 255, 0.61);
  font-size: clamp(0.94rem, 1.16vw, 1.02rem);
  font-weight: 300;
  line-height: 1.85;
  letter-spacing: 0.008em;
}

.visual-systems-article p + p { margin-top: 1.55rem; }

.visual-systems-article .visual-systems-lead {
  max-width: 68ch;
  color: rgba(255, 255, 255, 0.80);
  font-size: clamp(1.03rem, 1.38vw, 1.18rem);
  line-height: 1.82;
  letter-spacing: 0.005em;
}

@keyframes visualSystemsFade {
  from { opacity: 0; transform: translateY(5px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 900px) {
  .visual-systems-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .visual-systems-artwork {
    grid-row: 1;
    width: min(100%, 520px);
    justify-self: center;
  }
}

@media (max-width: 760px) {
  .visual-systems-main {
    width: auto;
  }

  .visual-systems-heading {
    display: block;
    padding-bottom: 22px;
  }

  .visual-systems-kicker {
    margin-bottom: 0.62rem;
    font-size: 0.64rem;
    letter-spacing: 0.15em;
  }

  .visual-systems-heading h1 {
    font-size: clamp(2.35rem, 11.5vw, 3.85rem);
    line-height: 0.98;
    letter-spacing: -0.04em;
    overflow-wrap: break-word;
  }

  .language-switch {
    margin-top: 1.35rem;
    gap: 0.36rem;
    padding: 0;
    font-size: 0.68rem;
  }

  .language-button {
    min-width: 36px;
    min-height: 40px;
    padding: 0.55rem 0.2rem 0.42rem;
    font-size: 0.70rem;
  }

  .visual-systems-article {
    max-width: none;
    padding-top: 34px;
  }

  .visual-systems-article p,
  .visual-systems-article .visual-systems-lead {
    max-width: none;
    font-size: 0.98rem;
    line-height: 1.72;
    letter-spacing: 0;
    overflow-wrap: break-word;
  }

  .visual-systems-article .visual-systems-lead {
    color: rgba(255, 255, 255, 0.80);
    font-size: 1rem;
    line-height: 1.68;
  }

  .visual-systems-article p + p { margin-top: 1.35rem; }
}

@media (prefers-reduced-motion: reduce) {
  .visual-systems-article { animation: none; }
}
