.introduction {
  position: relative;
  text-align: center;
  margin-top: -4rem;
  width: 100vw;
  margin-left: 50%;
  transform: translateX(-50%);
  padding: 12rem 0;
  background-color: grey;
}

.background-image {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  overflow: hidden;
}

.background-image::after {
  content: "";
  display: block;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--color-primary);
  opacity: .5;
}

.background-image img {
  max-width: 100%;
  max-height: 100%;
  object-fit: cover;
  filter: saturate(0%) contrast(120%) brightness(90%);
  user-select: none;
}

.badge {
  transform: skew(-4deg) rotate(-4deg);
  max-width: calc(100vw - 2rem);
  margin: 0 auto 4rem;
}

.badge .date {
  font-size: 19px;
  display: inline-block;
  background: #fff;
  color: #262626;
  padding: 0 .75rem;
  margin-bottom: 2.5rem;
}

.badge h1 {
  font-size: 28px;
  line-height: 1.25;
  color: #262626;
  margin: 0;
}

.badge h1 .spacer {
  height: 1rem;
}

.badge h1 span {
  font-size: 28px;
  background: #fff;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

.badge h1 span:first-child {
  font-weight: 500;
  padding: .1em .5em;
}
.badge h1 span:first-child::after {
  content: "\A";
  white-space: pre;
  line-height: 3rem;
}

.badge h1 span:last-child {
  font-weight: 800;
  font-size: 44px;
  padding: .02em .25em;
}

.social-media {
  list-style-type: none;
  padding: 0;
}

.social-media li {
  display: inline-block;
}

.social-media li:not(:first-child) {
  margin-left: 36px;
}

.social-link {
  color: #fff;
  filter: drop-shadow(0 0 10px rgba(0,0,0,.5));
  transition: opacity .3s ease-out;
}

.social-link:hover {
  opacity: .75;
}

.social-media svg {
  height: 4rem;
  padding: 4px;
  fill: currentColor;
}

@media (width < 640px) {
  .introduction {
    padding: 6.5rem 0;
  }
  .badge .date {
    font-size: 16px;
  }
  .badge h1 span {
    font-size: 18px;
  }
}
html {
  scroll-padding-top: 108px;
}
@media (width < 1024px) {
  html {
    scroll-padding-top: 84px;
  }
}

header {
  z-index: 1000;
  display: flex;
  position: sticky;
  top: 0;
  padding: 2rem 0;
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  background-color: var(--color-background-header);
  box-shadow: 0 3px 15px hsla(0,0%,39.2%,.12);
}

.header-container {
  display: flex;
  justify-content: space-between;
}

@media (width >= 1024px) {
  .header-container {
    align-items: center;
  }
}

.header-logo img {
  max-height: 60px;
  display: block;
}

@media (width < 1024px) {
  header {
    padding: 1.5rem 0;
  }
  .header-logo img {
    max-height: 48px;
  }
}

#mainNav ul {
  margin: 0;
  padding: 0;
}

#mainNav li {
  display: inline-block;
  margin-left: 1.9rem;
}

.nav-item {
  position: relative;
  font-size: 16px;
  font-family: Aileron;
  font-weight: 500;
  line-height: 2;
  text-transform: uppercase;
  color: var(--color-text);
  text-decoration: none;
}

.nav-item::after {
  content: "";
  position: absolute;
  background: var(--color-primary);
  opacity: 0;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 2px;
  transition: opacity .3s ease-out;
}

.nav-item-stream {
  color: var(--color-primary);
  font-family: Aileron;
  font-weight: 500;
  letter-spacing: 2px;
  text-decoration: none;
  text-transform: uppercase;
  transition: .2s ease-out;
  transition-property: color, background-color;
  /* 2025: due to low contrast */
  font-weight: 700;
}

@media (width >= 1024px) {
  .nav-item:hover::after,
  .nav-item.active::after {
    opacity: 1;
  }
  .nav-item-stream {
    padding: .75rem 1.4rem;
    border: 2px solid var(--color-primary);
    border-radius: 3rem;
  }
  .nav-item-stream:hover {
    color: var(--color-button-active);
    background-color: var(--color-primary);
  }
}

#menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: .7rem;
  /* same height as logo */
  width: 48px;
  height: 48px;
}

#menu-toggle .icon {
  fill: var(--color-text);
  transition: fill .2s ease-out;
}

#mainNav.open #menu-toggle .icon,
#menu-toggle:hover .icon {
  fill: var(--color-primary);
}

#header-veil {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  height: 100vh;
  background-color: rgba(0,0,0,.5);
  opacity: 0;
  transition: opacity .4s ease;
  pointer-events: none;
}

@media (width < 1024px) {
  #menu-toggle {
    display: block;
  }
  #mainNav {
    display: flex;
    flex-direction: column;
    align-items: end;
    overflow: hidden;
  }
  #mainNav ul {
    transition: .4s ease;
    transition-property: max-height, visibility;
    max-height: 0;
    visibility: hidden;
  }
  #mainNav.open ul {
    max-height: 100vh;
    visibility: visible;
    transition-property: max-height;
  }
  #mainNav li {
    display: block;
    text-align: right;
  }
  .nav-item,
  .nav-item-stream {
    padding: .7rem .7rem;
    display: block;
    transition: text-decoration-color .3s ease-out;
    text-decoration: 2px underline rgba(0,0,0,0);
  }
  .nav-item.active {
    color: var(--color-primary);
  }
  .nav-item:hover,
  .nav-item-stream:hover {
    text-decoration-color: var(--color-primary);
  }
  /* prevent page scrolling */
  .noscroll {
    overflow: hidden;
  }
  #header-veil:has(+ .header-container #mainNav.open) {
    opacity: 1;
    pointer-events: auto;
  }
}
footer {
  border-top: 1px dotted rgba(0,0,0,.15);
  padding: 4rem 0 5.5rem;
}

#footerNav ul {
  margin: 0;
  padding: 0;
  display: flex;
  gap: .5em 1.3em;
  flex-wrap: wrap;
}

#footerNav li {
  display: inline;
}

#footerNav a {
  color: var(--color-text);
  text-decoration: none;
  transition: color .3s ease-out;
}

#footerNav a:hover {
  color: var(--color-primary);
}

.footer-container {
  display: grid;
  grid-template-columns: auto auto;
  grid-template-rows: auto auto;
  grid-auto-flow: column;
  gap: 1em;
}

@media (width >= 1024px) {
  .footer-container > :nth-last-child(-n + 2) {
    text-align: end;
  }
}

.designCredit {
  font-size: 1rem;
  align-self: end;
}

.designCredit a {
  color: var(--color-text);
  font-size: 1rem;
  font-weight: 500;
  text-decoration: none;
  border-bottom: 1px dotted var(--color-text);
}

.languageSwitch {
  display: inline-block;
  background: #e2e8f0;
  color: #000;
  border-radius: .5rem;
  padding: 0.7em 0.9em;
  line-height: 1;
  text-decoration: none;
  transition: background-color .3s ease-out;
}

.languageSwitch:hover {
  background: #d5dbe4;
}

@media (width < 1024px) {
  .footer-container {
    grid-template-columns: auto;
    grid-template-rows: repeat(4, auto);
  }
}
* {
  box-sizing: border-box;
  font-size: 17px;
}

body {
  margin: 0;
  font-family: Aileron, sans-serif;
  line-height: 1.5;
  color: var(--color-text);
  background-color: var(--color-background-page);
}

main {
  padding: 4rem 0 8rem;
}

.content {
  width: 100%;
  max-width: var(--page-width);
  padding-left: 1.25rem;
  padding-right: 1.25rem;
  margin-left: auto;
  margin-right: auto;
}

@media (width < 1024px) {
  .content {
    padding-left: 1.8rem;
    padding-right: 1.8rem;
  }
}

h1, h2, h3, h4 {
  color: var(--color-primary);
}

h1 {
  font-weight: 700;
  font-size: 2.8em;
  text-transform: uppercase;
}

h2 {
  font-weight: 300;
  font-size: 2.4em;
  line-height: 2;
  font-weight: 400; /* 2025: due to low contrast */
}

h3 {
  font-weight: 300;
  font-size: 1.8em;
  line-height: 2;
  color: var(--color-text); /* 2025: due to low contrast */
}

h4 {
  font-weight: 400;
  font-size: 1.3em;
  line-height: 2;
  color: var(--color-text); /* 2025: due to low contrast */
}

h5 {
  font-weight: 700;
  font-size: 1em;
  margin-bottom: 1em;
}

p {
  line-height: 1.8;
}

a:not([class]) {
  color: var(--color-link);
  text-decoration: underline dotted var(--color-link);
  font-weight: 500;
  transition:
    filter .1s ease-out,
    color .1s ease-out;
}
a:not([class]):hover {
  filter: brightness(.9);
  color: var(--color-link-hover);
  text-decoration-color: var(--color-link-hover);
}

a.btn {
  display: block;
  width: fit-content;
  margin: 1em 0;
  border: 1px solid var(--color-primary);
  border-radius: 25px;
  padding: .75rem 1.6rem;
  text-decoration: none;
  color: var(--color-primary);
  transition: .2s ease-out;
  transition-property: color, background-color;
  /* 2025: due to low contrast */
  font-weight: 700;
  border-width: 2px;
}

a.btn:hover {
  background-color: var(--color-primary);
  color: var(--color-button-active);
}

@media (width < 640px) {
  h1 {
    font-size: 1.8em;
  }
  h2 {
    font-size: 1.6em;
  }
  h3 {
    font-size: 1.3em;
    font-weight: 400;
  }
  h4 {
    font-size: 1.15em;
  }
}

:root {
  scroll-behavior: smooth;
  font-size: 12px;
  --page-width: 1280px;
  --color-text: #495057;
  --color-primary: #FFB000;
  --color-button-active: #fff;
  --color-background-page: #fefefe;
  --color-background-header: rgba(255,255,255,.92);
  --color-permalink: #9e9e9ea6;
  /* --color-permalink: #cdcdcda6; */

  /* 2025: due to low contrast */
  --color-link: #0c0d0e;
  --color-link-hover: var(--color-primary);
}

@media (prefers-reduced-motion) {
  *, *::before, *::after {
    transition: none !important;
  }
  :root {
    scroll-behavior: auto;
  }
}