:root {
  --color-bg: #0f1110;
  --color-text: #ffffff;
  --color-muted: #c3c3c1;
  --color-passive: #7d7d7d;
  --color-red: #ff0000;
  --color-dark: #141415;
  --color-line: rgba(255, 255, 255, 0.95);

  --font-sans: "Instrument Sans", Helvetica, Arial, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-mono: "IBM Plex Mono", monospace;
  --font-symbol: "Noto Sans Symbols 2", sans-serif;

  --page-width: 1800px;
  --page-padding: clamp(1rem, 5vw, 5.625rem);

  --ease: cubic-bezier(.165, .84, .44, 1);
}

/* Reset */

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

html {
  font-size: 100%;
  text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
}

body,
.body {
  margin: 0;
  min-height: 100svh;
  width: 100%;
  overflow-x: hidden;

  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.4;
  font-weight: 300;

  color: var(--color-text);
  background-color: var(--color-bg);
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;

  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img,
svg,
video,
iframe {
  max-width: 100%;
}

img,
svg {
  height: auto;
  vertical-align: middle;
}

a {
  color: inherit;
}

a:hover {
  color: var(--color-red);
}

/* Background */

.background1,
.background2,
.background3,
.background4,
.background5,
.background6,
.background7,
.background8,
.background9 {
  background-image: url("images/loop12.gif");
}

.noise-layer {
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;

  width: 100%;
  height: 100%;
  opacity: 0.1;
  background-image: url("images/noise.gif");
  background-size: 90px;
}

/* Legacy table support */

table {
  border-collapse: collapse;
}

.table,
.footer {
  width: 100%;
  vertical-align: middle;
  text-align: center;
}

/* Modern layout */

.site-header,
.page-main,
.site-footer {
  width: min(100%, var(--page-width));
  margin-inline: auto;
  padding-inline: var(--page-padding);
}

.site-header {
  padding-top: clamp(1.25rem, 2.5vw, 2.5rem);
  margin-bottom: clamp(4rem, 11vw, 10rem);
}

.site-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.site-brand {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
}

.page-main {
  min-height: 42svh;
}

.intro-section {
  max-width: 92rem;
}

.intro-section .h6 {
  display: block;
  margin: 0 0 2rem;
}

.thanks-section {
  margin-top: clamp(5rem, 12vw, 12rem);
}

.site-footer {
  margin-top: clamp(7rem, 16vw, 16rem);
  padding-bottom: clamp(3rem, 8vw, 6rem);
}

.footer-note {
  margin: 0 0 3rem;
}

.footer-links {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 2rem;
}

.social-links,
.legal-links,
.main-nav {
  display: flex;
  flex-wrap: wrap;
}

.social-links {
  gap: 0.75rem;
}

.legal-links {
  gap: 1rem;
}

/* Type */

.h1 {
  font-size: clamp(4rem, 9.5vw, 9.5em);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.03em;
  text-transform: none;
}

.intro {
  max-width: 24ch;
  margin: 0;

  font-size: clamp(2.25rem, 6vw, 4.5em);
  color: var(--color-text);
  line-height: 1.12;
  letter-spacing: -0.035em;
  font-weight: 300;
  overflow-wrap: break-word;
}

.intro-separator {
  display: inline-block;
  width: 0.45em;
  height: 0.45em;
  margin-inline: 0.35em;
  border-radius: 50%;
  background: var(--color-red);
  vertical-align: middle;
}

.h2,
.navigation {
  font-size: clamp(1.75rem, 3vw, 2.5em);
  line-height: 1.1;
}

.h2 {
  font-weight: 300;
}

.h3 {
  font-size: clamp(2rem, 5vw, 4em);
  font-weight: 300;
  line-height: 1.2;
}

.h4 {
  font-family: var(--font-mono);
  font-size: 1.1em;
  line-height: 1.25;
  font-weight: 300;
  letter-spacing: 0;
  text-transform: uppercase;
}

.h5 {
  font-family: var(--font-mono);
  font-size: 2em;
  font-weight: 300;
  text-decoration: none;
  text-transform: uppercase;
}

.h6 {
  font-family: var(--font-mono);
  font-size: 0.8em;
  text-decoration: none;
  font-weight: 400;
  letter-spacing: 0.2px;
  text-transform: uppercase;
}

.h7 {
  font-size: clamp(1.75rem, 3vw, 2.5em);
  text-decoration: none;
  font-weight: 300;
  text-transform: none;
  line-height: 1.4;
}

.light,
.marker,
.client,
.clients,
.dot,
.dotsilver,
.dotbronze,
.dotshortlist {
  font-family: var(--font-mono);
}

.light {
  font-weight: 300;
  line-height: 1.8;
}

.copy {
  font-size: clamp(1.2rem, 2vw, 1.6em);
  font-weight: 300;
  line-height: 1.8;
}

.symbol {
  font-family: var(--font-symbol);
}

.bold {
    font-weight: bolder;
}

/* Links and navigation */

.Link,
.nodeco,
.navigation,
.projectlink,
.projectlink_classic,
.Link_Outline {
  text-decoration: none;
}

.Link {
  text-transform: none;
  color: var(--color-muted);
}

.Link_Outline,
.projectlink {
  display: inline-block;
  color: var(--color-muted);
  border: medium solid currentColor;
  padding: 6px 30px;
  border-radius: 80px;
  transition: color .3s var(--ease), border-color .3s var(--ease);
  white-space: nowrap;
  font-weight: 400;
}

.Link_Outline {
  text-align: center;
}

.projectlink {
  font-size: clamp(1.75rem, 3vw, 2.5em);
  text-align: left;
}

.projectlink_classic {
  font-size: clamp(2rem, 4vw, 3.5em);
  color: #7f7028;
  border-bottom: 1px solid var(--color-red);
  padding-bottom: 2px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.03em;
}

.main-nav {
  gap: 0.4em 0.8em;
  align-items: baseline;
}

.navigation {
  color: var(--color-muted);
  font-weight: 500;
}

.active,
[aria-current="page"] {
  color: var(--color-text);
  text-decoration: line-through;
  text-decoration-thickness: 0.4rem;
}

/* Components */

.p-bullet::before {
  content: "";
  display: inline-block;
  vertical-align: baseline;
  width: 2.292vw;
  height: 2.292vw;
  margin-right: 3.125vw;
  border-radius: 50%;
  background: var(--color, currentColor);
  transform: translate3d(0, 0, 0);
  transition: transform 1s cubic-bezier(.16, 1.08, .38, .98);
}

.line {
  width: 100%;
  height: 2px;
  margin: 20px 0;
  border: 0;
  background-color: var(--color-line);
}

.video {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background-color: #111;
}

.video iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.btn {
  border: 2px solid #000;
  background-color: #fff;
  color: #edebe6;
  padding: 14px 28px;
  font-size: 16px;
  cursor: pointer;
}

.passive {
  color: var(--color-passive);
  text-decoration: line-through;
  font-style: italic;
  line-height: 1.2;
}

.Titel {
  font-size: 0.8em;
  font-weight: 500;
  line-height: 1.4;
}

.meta {
  font-size: 16px;
  color: var(--color-red);
  text-decoration: none;
  font-style: normal;
  text-transform: uppercase;
}

.marker {
  font-size: 16px;
  font-weight: normal;
  font-style: normal;
  line-height: 1.4;
  text-transform: uppercase;
}

.client {
  font-size: 2em;
  line-height: 2.5;
  font-weight: 400;
  text-transform: uppercase;
}

.clients {
  font-size: clamp(2rem, 4vw, 3em);
  line-height: 1.3;
  font-weight: 300;
  text-transform: uppercase;
}

.dotinthemiddle {
  font-family: var(--font-mono);
  font-weight: 400;
  color: var(--color-red);
}

.project {
  font-size: clamp(3rem, 7vw, 6em);
  text-decoration: none;
  font-weight: 300;
  line-height: 1.15;
  text-transform: none;
}

.wins {
  font-size: 1em;
  color: var(--color-text);
  font-weight: 600;
  line-height: 1.4;
}

.dot,
.dotsilver,
.dotbronze,
.dotshortlist {
  display: inline-grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;

  font-size: 1.4em;
  font-weight: 400;
  line-height: 1;
  text-align: center;
}

.dot {
  color: var(--color-dark);
  background-color: #efff16;
}

.dotsilver {
  color: var(--color-dark);
  background-color: #b4c6cc;
}

.dotbronze {
  color: var(--color-dark);
  background-color: #a0998d;
}

.dotshortlist {
  color: #fff;
  background-color: #1d049a;
}

/* Responsive */

@media (max-width: 900px) {
  body,
  .body {
    background-attachment: scroll;
  }

  .site-meta {
    align-items: flex-start;
  }

  .intro {
    max-width: 100%;
  }
}

@media (max-width: 760px) {
  .site-header,
  .page-main,
  .site-footer {
    padding-inline: 1rem;
  }

  .site-header {
    margin-bottom: 3.5rem;
  }

  .site-meta {
    flex-direction: column;
  }

  .site-brand {
    gap: 0.4rem;
  }

  .main-nav {
    gap: 0.2em 0.65em;
  }

  .page-main {
    min-height: auto;
  }

  .intro-section .h6 {
    margin-bottom: 1.25rem;
  }

  .intro {
    font-size: clamp(2rem, 12vw, 3.4rem);
    line-height: 1.08;
  }

  .intro-separator {
    width: 0.35em;
    height: 0.35em;
    margin-inline: 0.25em;
  }

  .thanks-section {
    margin-top: 5rem;
  }

  .site-footer {
    margin-top: 5rem;
  }

  .footer-links {
    flex-direction: column;
    align-items: flex-start;
  }

  .social-links,
  .legal-links {
    width: 100%;
  }

  .Link_Outline,
  .projectlink {
    display: inline-block;
    max-width: 100%;
    margin-bottom: 0.4rem;
    padding: 0.35em 0.8em;
    white-space: normal;
    font-size: clamp(1.4rem, 7vw, 2.2rem);
  }

  .navigation {
    display: inline-block;
    margin-bottom: 0.25rem;
    font-size: clamp(1.7rem, 8vw, 2.5rem);
    line-height: 1.15;
  }

  .active,
  [aria-current="page"] {
    text-decoration-thickness: 0.22rem;
  }

  .h1 {
    font-size: clamp(3rem, 15vw, 5.5rem);
    line-height: 0.95;
  }

  .h2 {
    font-size: clamp(1.7rem, 8vw, 2.5rem);
    line-height: 1.15;
  }

  .h3,
  .project {
    font-size: clamp(2rem, 10vw, 4rem);
    line-height: 1.08;
  }

  .h5,
  .client,
  .clients {
    font-size: clamp(1.4rem, 7vw, 2.4rem);
    line-height: 1.2;
  }

  .copy {
    font-size: 1.1rem;
    line-height: 1.55;
  }

  .marker,
  .h6,
  .light {
    font-size: 0.75rem;
  }

  .video {
    width: 100%;
    aspect-ratio: 16 / 9;
  }

  iframe {
    width: 100%;
    height: 100%;
  }

  .dot,
  .dotsilver,
  .dotbronze,
  .dotshortlist {
    width: 38px;
    height: 38px;
    font-size: 1rem;
  }

  /* Safety net for old table-based pages */

  table,
  tbody,
  tr,
  td {
    max-width: 100%;
    height: auto !important;
    white-space: normal !important;
  }

  td[nowrap],
  tr[nowrap] {
    white-space: normal !important;
  }

  img[src*="pix.gif"] {
    display: none !important;
  }

  .table,
  .footer {
    width: 100% !important;
    padding-inline: 1rem;
    text-align: left;
  }

  .intro,
  .h1,
  .h2,
  .h3,
  .h5,
  .project,
  .clients {
    overflow-wrap: break-word;
    word-break: normal;
  }
}
