@font-face {
  font-family: "Zalando Sans Expanded";
  src: url("./assets/zalando-sans-expanded-800.woff2") format("woff2");
  font-weight: 800;
  font-display: swap;
}
:root {
  color-scheme: dark;
  --paper: #fffdf4;
  --gold: #f8df9f;
  --side: clamp(24px, 5.6vw, 112px);
}
* {box-sizing: border-box}
html, body {margin: 0; min-height: 100%; background: #111; color: var(--paper)}
body {font: 1rem/1.5 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif}
.page {position: relative; isolation: isolate; min-height: 100vh; min-height: 100svh; display: grid; grid-template-rows: auto 1fr auto}
.backdrop, .wash {position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none}
.backdrop {z-index: -2; object-fit: cover; object-position: 50% 50%}
.wash {z-index: -1; background: #111; opacity: .4}
header, main, footer {margin-inline: var(--side)}
header {
  display: flex;
  justify-content: flex-end;
  padding-top: max(26px, env(safe-area-inset-top));
}
.languages {display: flex; gap: 0; align-items: center; padding: 0 4px; border: 1px solid #f1e9d280; border-radius: 2px; background: #1a211adb}
.languages a {font-size: .72rem; letter-spacing: .09em; min-width: 43px; min-height: 44px; display: inline-grid; place-content: center; position: relative; text-decoration: none; font-weight: 600; color: #f2eee6}
.languages a[aria-current] {color: var(--gold)}
.languages a[aria-current]::after {content: ""; position: absolute; height: 2px; left: 12px; right: 12px; bottom: 8px; background: var(--gold)}
a:focus-visible {outline: 2px solid #fff; outline-offset: 3px}
main {display: flex; flex-direction: column; justify-content: flex-end; padding: 72px 0 clamp(36px,6vmin,80px)}
h1 {
  margin: 0;
  font: 800 clamp(36px, max(7.9vw, min(13vw, 55px)), 134px)/.9 "Zalando Sans Expanded", system-ui, sans-serif;
  letter-spacing: -.053em;
  text-transform: uppercase;
  text-shadow: 0 2px 18px #090d135c;
}
h1 .first,
h1 .second { display: block }
h1 .second,
h1 .accent { color: var(--gold) }
html[lang="hu"] h1 { font-size: clamp(27px, max(6.4vw, min(10vw, 54px)), 110px) }
.rule {
  width: clamp(32px, 3.4vw, 60px);
  height: 2px;
  margin-bottom: clamp(16px, 2.1vh, 27px);
  background: var(--gold);
}
footer {
  padding: 11px 0 max(15px, env(safe-area-inset-bottom));
  border-top: 1px solid #ffffff65;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: clamp(.8125rem, 1vw, .9375rem);
  font-weight: 650;
  letter-spacing: .015em;
  text-shadow: 0 1px 4px #111;
}
.brand img {
  width: clamp(28px, 2.6vw, 36px);
  height: auto;
  display: block;
}
@media (max-width:600px) {
  header {padding-top: max(20px,env(safe-area-inset-top))}
  main {padding-bottom: max(36px,6svh)}
}
@media (max-height:450px) and (orientation:landscape) {
  header {padding-top: 10px}
  main {padding: 12px 0 16px}
  h1 {font-size: min(60px, 13vw)}
  html[lang="hu"] h1 {font-size: min(60px, 10vw)}
  footer {padding: 6px 0}
}
