@font-face {
  font-family: "Source Sans Pro";
  src: url("assets/source-sans-pro-light.woff2") format("woff2");
  font-display: swap;
  font-style: normal;
  font-weight: 300;
}

:root {
  --accent: #00f018;
  --paper: #f5f8fa;
  --muted: rgba(245, 248, 250, 0.68);
  --line: rgba(255, 255, 255, 0.16);
  --panel: rgba(7, 15, 22, 0.69);
  --panel-hover: rgba(10, 21, 30, 0.9);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: #08121b;
}

body {
  min-width: 320px;
  min-height: 100vh;
  min-height: 100svh;
  margin: 0;
  color: var(--paper);
  background: #08121b;
  font-family: "Source Sans Pro", "Helvetica Neue", Arial, sans-serif;
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

.backdrop,
.backdrop__image,
.backdrop__shade {
  position: fixed;
  inset: 0;
}

.backdrop {
  z-index: 0;
  overflow: hidden;
  background: #08121b;
}

.backdrop__image {
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  transform: scale(1.025);
  will-change: opacity, transform;
}

.backdrop__image--kinderdijk {
  background-image: url("assets/kinderdijk.webp");
}

.backdrop__image--rotterdam {
  background-image: url("assets/rotterdam.webp");
  animation: place-shift 24s ease-in-out infinite, slow-drift 24s ease-in-out infinite;
}

.backdrop__shade {
  background:
    linear-gradient(90deg, rgba(3, 9, 14, 0.84) 0%, rgba(3, 9, 14, 0.58) 35%, rgba(3, 9, 14, 0.12) 72%, rgba(3, 9, 14, 0.22) 100%),
    linear-gradient(0deg, rgba(3, 9, 14, 0.78) 0%, transparent 48%, rgba(3, 9, 14, 0.26) 100%);
}

.backdrop__shade::after {
  position: absolute;
  inset: 0;
  content: "";
  opacity: 0.06;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.95' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E");
  pointer-events: none;
}

.page-shell {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-rows: auto 1fr auto;
  min-height: 100vh;
  min-height: 100svh;
  padding: clamp(1.5rem, 4vw, 4rem);
}

.site-header,
.site-footer {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 2rem;
}

.wordmark {
  color: var(--accent);
  font-size: clamp(3.3rem, 5vw, 5rem);
  font-weight: 300;
  letter-spacing: 0;
  line-height: 0.9;
  text-transform: uppercase;
}

.region,
.focus,
.site-footer {
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.region {
  margin: 0;
  color: var(--muted);
}

main {
  display: grid;
  align-content: end;
  gap: clamp(2.5rem, 7vh, 5rem);
  padding: clamp(5rem, 13vh, 9rem) 0 clamp(2rem, 5vh, 4rem);
}

.intro {
  max-width: 67rem;
}

.focus,
.section-label {
  margin: 0 0 1rem;
  color: var(--accent);
}

h1 {
  max-width: 19ch;
  margin: 0;
  font-size: clamp(2.4rem, 5vw, 5.4rem);
  font-weight: 300;
  letter-spacing: -0.035em;
  line-height: 0.98;
  text-wrap: balance;
}

.ventures {
  max-width: 42rem;
}

.venture-cloud {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  align-items: center;
  gap: clamp(0.35rem, 0.8vw, 0.7rem);
  width: 100%;
}

.venture {
  display: grid;
  width: 100%;
  height: clamp(3.6rem, 5vw, 4.4rem);
  padding: 0.55rem 0.75rem;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 0.3rem;
  background: rgba(242, 246, 248, 0.82);
  box-shadow: 0 0.6rem 1.8rem rgba(0, 0, 0, 0.13);
  opacity: 0.84;
}

.venture img {
  display: block;
  width: auto;
  max-width: 100%;
  max-height: 2.9rem;
  object-fit: contain;
}

.site-footer {
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  letter-spacing: 0.09em;
  line-height: 1.7;
}

.site-footer address,
.site-footer p {
  margin: 0;
  font-style: normal;
}

@keyframes place-shift {
  0%, 40% { opacity: 1; }
  52%, 78% { opacity: 0; }
  90%, 100% { opacity: 1; }
}

@keyframes slow-drift {
  0%, 100% { transform: scale(1.025) translate3d(0, 0, 0); }
  50% { transform: scale(1.065) translate3d(-0.45%, 0.15%, 0); }
}

@media (max-width: 900px) {
  .backdrop__image {
    background-position: 60% center;
  }

  .backdrop__image--rotterdam {
    background-position: 62% center;
  }

}

@media (max-width: 620px) {
  .page-shell {
    padding: 1.5rem;
  }

  .site-header {
    display: block;
  }

  .region {
    margin-top: 0.85rem;
  }

  main {
    align-content: end;
    padding-top: 7rem;
  }

  .focus span {
    display: none;
  }

  .focus {
    max-width: 24ch;
    line-height: 1.7;
  }

  .venture {
    width: 6.75rem;
    height: 3.8rem;
    padding: 0.55rem;
  }

  .venture-cloud {
    grid-template-columns: repeat(5, 6.75rem);
    overflow-x: auto;
    padding: 0.35rem 0 0.9rem;
    scrollbar-width: none;
  }

  .venture-cloud::-webkit-scrollbar {
    display: none;
  }

  .site-footer {
    display: block;
  }

  .site-footer p {
    margin-top: 0.7rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .backdrop__image--rotterdam {
    animation: none;
    opacity: 1;
    transform: none;
  }

}
