@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/assets/fonts/inter-latin.woff2") format("woff2");
}

:root {
  --dark-blue: #333f51;
  --light-gray: #e6e6e6;
  --dark-gray: #666666;
  --light-black: #1a1a1a;
  --font-body: Inter, ui-sans-serif, system-ui, sans-serif;
  --font-heading: Inter, ui-sans-serif, system-ui, sans-serif;
  --color-text: #1a1a1a;
}

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

html {
  scroll-behavior: smooth;
  line-height: 1.5;
  -webkit-text-size-adjust: 100%;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
}

body {
  margin: 0;
  line-height: 1.6;
  font-weight: 300;
  color: var(--light-black);
}

h1, h2, h3, h4 {
  margin: 0 0 1rem;
  font-size: 1.5rem;
  line-height: 2rem;
  font-weight: 700;
  color: var(--dark-blue);
}

p { margin: 0 0 1rem; white-space: pre-wrap; }
ul { list-style: none; margin: 1rem 0; padding: 0 0 0 1rem; }
a { color: #000; text-decoration: none; }
a:hover { text-decoration: underline; }
strong { font-weight: 500; }
img, svg { display: block; vertical-align: middle; }
img { max-width: 100%; height: auto; }

.narrow, main.content { width: 100%; margin-inline: auto; }
@media (min-width: 640px) { .narrow, main.content { max-width: 640px; } }
@media (min-width: 768px) { .narrow, main.content { max-width: 768px; } }
@media (min-width: 1024px) { .narrow, main.content { max-width: 1024px; } }
@media (min-width: 1280px) { .narrow, main.content { max-width: 1280px; } }
@media (min-width: 1536px) { .narrow, main.content { max-width: 1536px; } }

main.content { margin-top: -1.5rem; margin-bottom: 6rem; padding: 0; }
@media (min-width: 768px) { main.content { padding-inline: 4rem; } }
main.content > article > p, main.content > article > h1, main.content > article > h2 { padding-inline: 1rem; }
@media (min-width: 768px) { main.content > article > p, main.content > article > h1, main.content > article > h2 { padding-inline: 2rem; } }

/* Header */
.header { background: var(--light-gray); height: 72px; margin: 1.5rem 0; }
.header .narrow { display: flex; flex-direction: row; align-items: center; height: 72px; }
.logolink { z-index: 20; }
.logo { width: 120px; height: 120px; }
.spacer { flex-grow: 1; }
.language { display: flex; flex-direction: row; align-items: center; justify-content: center; margin: 0; }
.language li { color: var(--dark-blue); font-size: 0.875rem; line-height: 1.25rem; font-weight: 500; margin-right: 0.5rem; }
.language li:has(a:not([href])) { display: none; }

/* Navigation */
.nav { display: flex; flex-direction: column; align-self: flex-start; }
.nav ul {
  position: absolute; top: 0; right: 0; z-index: 10; overflow-x: hidden;
  background: var(--light-gray); width: 0; padding: 1rem 0; margin: 6rem 0 1rem;
  transition: all 0.2s ease-in-out;
}
.nav:hover ul { width: 100%; padding: 1rem 2.5rem; }
@media (min-width: 768px) { .nav:hover ul { width: 400px; } }
.nav ul li { margin: 1rem 0; }
.nav ul a { color: var(--dark-blue); font-size: 1.5rem; line-height: 2rem; font-weight: 500; }
.burger { cursor: pointer; margin: 1em; width: 40px; }
.burger:before, .burger:after, .burger div {
  display: block; content: ""; background: var(--dark-blue); height: 5px; margin: 7px 0;
  transition: all 0.2s ease-in-out;
}
.nav:hover .burger:before { transform: translateY(12px) rotate(135deg); }
.nav:hover .burger:after { transform: translateY(-12px) rotate(-135deg); }
.nav:hover .burger div { transform: scale(0); }

/* Footer */
.footer { background: var(--light-gray); }
.footer .narrow { display: flex; flex-direction: row; padding: 2rem 1rem; }
.address { font-size: 0.875rem; line-height: 1.25rem; flex-grow: 1; }
.links { flex-grow: 1; justify-self: end; display: flex; flex-direction: column; }
.links ul { display: flex; flex-direction: row; justify-content: flex-end; flex-grow: 1; margin: 0; }
.links li { margin-left: 1rem; }
.links a { font-size: 0.875rem; line-height: 1.25rem; font-weight: 700; color: var(--dark-gray); text-decoration: underline; }
.links a:hover { color: var(--light-black); }
.copyright { font-size: 0.875rem; line-height: 1.25rem; color: var(--dark-gray); text-align: right; }

/* Stage */
.stage { position: relative; overflow: hidden; height: 500px; display: flex; flex-direction: column; align-items: center; margin-bottom: 2rem; }
.stage-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.stage-overlay { position: relative; max-width: 800px; text-align: center; background: rgb(255 255 255 / 0.6); margin-top: 2rem; padding: 1rem; }
.stage-overlay:not(:has(*)) { display: none; }
.stage h1 {
  font-size: 2.25rem; line-height: 2.5rem; color: var(--dark-blue);
  filter: drop-shadow(0 20px 13px rgb(0 0 0 / 0.03)) drop-shadow(0 8px 5px rgb(0 0 0 / 0.08));
}
.stage p { color: var(--dark-blue); font-size: 1.5rem; line-height: 2rem; }

/* ImageText */
.image-text { display: flex; flex-flow: row wrap; align-items: center; justify-content: center; margin: 4rem 0; }
.image-text[data-reverse="true"] { flex-direction: row-reverse; }
.image-text-image { margin-bottom: 4rem; }
.image-text-img { margin-inline: auto; width: 500px; max-width: 100%; height: auto; }
.image-text-img[data-round="true"] { width: 400px; aspect-ratio: 1; object-fit: cover; border-radius: 9999px; }
.image-text-body { padding: 0 1rem; }
@media (min-width: 768px) {
  .image-text-image { width: 50%; margin-bottom: 0; }
  .image-text-body { width: 50%; padding: 0 2rem; }
}

/* Logos */
.logos { display: flex; flex-direction: column; margin: 4rem 0; }
.logos h2 { text-align: center; }
.logos p { display: flex; flex-direction: row; align-items: center; justify-content: center; flex-wrap: wrap; }
.logos img { max-height: 4rem; margin: 0 1.5rem; }
@media (min-width: 768px) { .logos img { max-height: 6rem; margin: 0 2rem; } }
