:root {
  color-scheme: dark;
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  --ink: #f2f0e9;
  --muted: #c1c9cc;
  --rule: #455054;
  --accent: #e5662f;
  --tint: 229, 102, 47;
}

[data-theme="filtration"] {
  --accent: #0e7c86;
  --tint: 14, 124, 134;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
body {
  margin: 0;
  background: radial-gradient(ellipse at 90% 0%, rgba(var(--tint), .11), transparent 50%), #141a1d;
  color: var(--ink);
}
a { color: inherit; text-underline-offset: .22em; }
button { font: inherit; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 4px; }
.page-shell {
  width: min(72rem, calc(100% - 3rem));
  min-height: 100svh;
  margin-inline: auto;
  display: grid;
  grid-template-rows: auto 1fr auto;
}
.site-header {
  min-height: 6.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  border-bottom: 1px solid var(--rule);
}
.brand-lockup { display: block; width: min(18rem, 50%); }
.brand-lockup img { display: block; width: 100%; height: auto; }
.language-switcher {
  display: inline-flex;
  flex: none;
  align-items: center;
  gap: .2rem;
  padding: .2rem;
  border: 1px solid var(--rule);
  border-radius: 2rem;
}
.language-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .35rem;
  min-height: 44px;
  min-width: 44px;
  padding: .4rem .7rem;
  border: 0;
  border-radius: 1.6rem;
  font-weight: 700;
  font-size: .875rem;
  color: var(--ink);
  background: transparent;
  cursor: pointer;
}
.language-button[aria-pressed="true"] { color: #151a1e; background: var(--ink); }
.language-button .flag { line-height: 1; }
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(18rem, .85fr);
  align-content: center;
  align-items: start;
  gap: clamp(2rem, 7vw, 6rem);
  padding-block: clamp(3rem, 9vw, 8rem);
}
h1, h2 { margin: 0; text-wrap: balance; }
h1 {
  max-width: 12ch;
  font-size: clamp(3rem, 5.7vw, 5.25rem);
  font-weight: 750;
  letter-spacing: -.046em;
  line-height: 1.01;
}
.hero-copy {
  max-width: 52ch;
  margin: 1.45rem 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.4vw, 1.1875rem);
  line-height: 1.6;
}
.hero-copy + .hero-copy { margin-top: .7rem; }
.contact-panel {
  border-top: 3px solid var(--accent);
  padding: 1.25rem clamp(1rem, 2.6vw, 2rem) .45rem;
  background: #1d262a;
  scroll-margin-block: 1rem;
}
.contact-panel h2 { font-size: 1.5rem; letter-spacing: -.024em; }
.contact-list { margin: .6rem 0 0; font-style: normal; }
.contact-item {
  display: grid;
  min-width: 0;
  gap: .25rem;
  padding-block: .85rem;
  line-height: 1.5;
  text-decoration: none;
}
.contact-item + .contact-item { border-top: 1px solid var(--rule); }
.contact-label { font-size: .875rem; color: var(--muted); }
.contact-value { font-size: 1rem; overflow-wrap: anywhere; }
a.contact-item .contact-value, .legacy-brand span { text-decoration: underline; text-underline-offset: .22em; }
a:hover { color: white; }
a:hover .contact-value, .legacy-brand:hover span, .footer-meta a:hover { text-decoration-thickness: 2px; }
.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem 2rem;
  border-top: 1px solid var(--rule);
  padding-block: 1.35rem 1.6rem;
  color: var(--muted);
  font-size: .875rem;
  line-height: 1.55;
}
.site-footer strong { display: block; color: var(--ink); font-size: 1rem; }
.legacy-brand { display: grid; justify-items: start; gap: .4rem; text-decoration: none; }
.legacy-brand img { display: block; width: 125px; height: auto; }
.footer-meta { overflow-wrap: anywhere; text-align: right; }

@media (max-width: 48rem) {
  .page-shell { width: calc(100% - 2.5rem); }
  .site-header { min-height: 5.25rem; }
  .hero { grid-template-columns: 1fr; gap: 1.6rem; padding-block: clamp(1.8rem, 5vw, 3rem); }
  h1 { max-width: 16ch; font-size: clamp(2.25rem, 7.6vw, 3.4rem); }
  .hero-copy { margin-top: 1rem; }
  .contact-panel { max-width: 36rem; width: 100%; }
  .site-footer { flex-wrap: wrap; }
  .footer-meta { text-align: left; }
}

@media (max-width: 34rem) {
  .page-shell { width: calc(100% - 2rem); }
  .brand-lockup { width: min(14.5rem, 56%); }
  .language-button { padding-inline: .35rem; gap: .22rem; }
  .site-footer { flex-direction: column; align-items: start; gap: .85rem; }
}
