:root {
  --lime: #4e4f53;
  --soft-lime: #4e4f53;
  --ink: #151516;
  --charcoal: #4e4f53;
  --paper: #ffffff;
  --muted: #4e4f53;
  --serif: "Libre Baskerville", Georgia, serif;
  --sans: "Poppins", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 86px;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.45;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  min-height: 82px;
  display: grid;
  grid-template-columns: 240px 1fr 150px;
  align-items: center;
  gap: 24px;
  padding: 0 64px;
  background: rgba(78, 79, 83, 0.78);
  color: var(--paper);
  backdrop-filter: blur(10px);
}

.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.brand img {
  display: block;
  width: 100px;
  height: auto;
  filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.45));
}

.nav {
  display: grid;
  grid-template-columns: repeat(4, max-content);
  justify-content: start;
  align-items: center;
  gap: 42px;
  font-size: 18px;
}

.nav a {
  text-decoration: none;
}

.nav-contact {
  display: none;
}

.nav a:hover,
.nav a:first-child {
  text-decoration: underline;
}

.menu-toggle {
  display: none;
}

.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 31px;
  padding: 6px 22px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--paper);
  text-decoration: none;
  font-size: 16px;
  line-height: 1;
  border: 1px solid var(--ink);
}

.pill.outline {
  background: transparent;
  color: var(--ink);
  width: max-content;
}

.hero {
  min-height: calc(100vh - 82px);
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding: 90px 24px 72px;
  background:
    radial-gradient(ellipse at 50% 77%, rgba(255, 255, 255, 0.88) 0 14%, rgba(255, 255, 255, 0.15) 24%, transparent 42%),
    linear-gradient(180deg, #cacbc9 0%, #cacbc9 52%, #9b9b9d 86%, #cacbc9 100%);
  color: var(--paper);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.04) 0 1px, transparent 1px 32px);
  opacity: 0.7;
  animation: heroLightSweep 9s ease-in-out infinite alternate;
}

.hero::after {
  content: "";
  position: absolute;
  width: min(76vw, 920px);
  aspect-ratio: 1;
  left: 50%;
  top: 48%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background:
    conic-gradient(from 0deg, transparent 0 22%, rgba(255, 255, 255, 0.18) 30%, transparent 42% 62%, rgba(255, 255, 255, 0.13) 72%, transparent 86% 100%),
    radial-gradient(circle, rgba(255, 255, 255, 0.1) 0 32%, transparent 68%);
  filter: blur(1px);
  opacity: 0.55;
  z-index: -1;
  animation: heroHaloSpin 18s linear infinite;
}

.sun {
  position: absolute;
  width: min(48vw, 600px);
  aspect-ratio: 1;
  border-radius: 50%;
  top: 9vh;
  left: 50%;
  transform: translateX(-50%);
  background: var(--lime);
  background: linear-gradient(180deg, #cacbc9 0%, #9b9b9d 100%);
  box-shadow: 0 0 90px rgba(155, 155, 157, 0.55);
  z-index: -1;
  animation: heroSunDrift 8s ease-in-out infinite alternate;
}

.hero h1 {
  width: min(1120px, 94vw);
  margin: 0;
  text-align: center;
  font-family: var(--serif);
  font-size: clamp(54px, 6.8vw, 88px);
  font-weight: 400;
  line-height: 1.06;
  letter-spacing: 0;
}

.hero-title span,
.hero-title em {
  display: inline-block;
  opacity: 0;
  transform: translateY(28px);
  will-change: opacity, transform;
}

.hero-title.is-visible span,
.hero-title.is-visible em {
  animation: heroWordIn 900ms cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: var(--delay);
}

.hero-title em {
  font-style: italic;
}

@keyframes heroWordIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes heroLightSweep {
  from {
    transform: translateX(-4%);
    opacity: 0.45;
  }

  to {
    transform: translateX(4%);
    opacity: 0.82;
  }
}

@keyframes heroHaloSpin {
  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

@keyframes heroSunDrift {
  from {
    transform: translate(-53%, -8px) scale(0.98);
    box-shadow: 0 0 70px rgba(155, 155, 157, 0.42);
  }

  to {
    transform: translate(-47%, 12px) scale(1.04);
    box-shadow: 0 0 118px rgba(255, 255, 255, 0.42);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-title span,
  .hero-title em,
  .hero::before,
  .hero::after,
  .sun,
  .solution-list article,
  .work-more,
  .work-more .work-card {
    opacity: 1;
    transform: none;
    animation: none;
    transition: none;
  }
}

.down {
  position: absolute;
  bottom: 68px;
  left: 50%;
  width: 46px;
  height: 66px;
  transform: translateX(-50%);
}

.down::before,
.down::after {
  content: "";
  position: absolute;
  background: var(--paper);
}

.down::before {
  left: 22px;
  top: 0;
  width: 2px;
  height: 57px;
}

.down::after {
  left: 10px;
  bottom: 8px;
  width: 26px;
  height: 26px;
  border-right: 2px solid var(--paper);
  border-bottom: 2px solid var(--paper);
  background: transparent;
  transform: rotate(45deg);
}

.section-grid {
  display: grid;
  grid-template-columns: 33% 67%;
  min-height: 760px;
  gap: 0;
  scroll-margin-top: 86px;
}

.section-copy {
  display: flex;
  flex-direction: column;
  padding: 38px 64px;
}

.section-copy p:last-child {
  margin-top: auto;
  max-width: 390px;
  font-size: 17px;
}

.about .section-copy p:last-child {
  margin-top: 24px;
}

.about.section-grid {
  min-height: 680px;
  align-items: stretch;
  overflow: visible;
}

.about .section-copy {
  min-height: 0;
}

.about-image {
  height: 100%;
  min-height: 0;
}

.eyebrow {
  margin: 0 0 10px;
  font-size: 20px;
}

h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(40px, 4vw, 52px);
  font-weight: 400;
  line-height: 1.1;
}

.about-image,
.case-image,
.case-orb {
  width: 100%;
  height: 100%;
  min-height: 640px;
  display: block;
}

.about-image,
.case-image {
  object-fit: cover;
}

.about-image {
  background: #929292;
  object-fit: cover;
  object-position: center top;
}

.case-image {
  clip-path: inset(8% 0);
  transform: scaleY(1.1905);
  transform-origin: center;
}

.solutions {
  background: var(--lime);
  color: var(--paper);
  padding: 40px 64px 56px;
}

.solutions h2,
.work-heading h2 {
  font-family: var(--sans);
  font-size: clamp(32px, 5vw, 66px);
  font-weight: 500;
  line-height: 1;
}

.solution-list {
  margin-top: 34px;
  border-top: 1px solid var(--paper);
}

.solution-list article {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  min-height: 138px;
  padding: 24px 0;
  border-bottom: 1px solid var(--paper);
  opacity: 0;
  transform: translateX(48px) scale(0.985);
}

.solution-list article.is-visible {
  animation: solutionIn 720ms cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.solution-list article:nth-child(2).is-visible {
  animation-delay: 90ms;
}

.solution-list article:nth-child(3).is-visible {
  animation-delay: 180ms;
}

.solution-list article:nth-child(4).is-visible {
  animation-delay: 270ms;
}

@keyframes solutionIn {
  to {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
}

.solution-list h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(34px, 4vw, 56px);
  font-weight: 400;
}

.solution-list p {
  max-width: 400px;
  margin: 8px 0 0;
  font-size: 17px;
}

.vision {
  padding: 56px 64px 42px;
  background: var(--paper);
}

.vision h2 {
  max-width: 1090px;
  font-size: clamp(50px, 7vw, 100px);
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 70px;
  border-top: 1px solid var(--ink);
}

.stats div {
  padding-top: 22px;
}

.stats strong {
  display: block;
  font-family: var(--serif);
  font-size: clamp(70px, 10vw, 140px);
  font-weight: 400;
  line-height: 1;
}

.stats span {
  display: block;
  margin-top: 16px;
  font-size: 18px;
}

.case {
  background: var(--muted);
}

.case-orb {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 50% 86%, rgba(255, 255, 255, 0.28) 0 12%, rgba(202, 203, 201, 0.36) 29%, transparent 48%),
    linear-gradient(180deg, #cacbc9 0%, #cacbc9 47%, #9b9b9d 100%);
}

.case-orb::before {
  content: "";
  position: absolute;
  width: min(70%, 560px);
  aspect-ratio: 1;
  left: 50%;
  bottom: -28%;
  transform: translateX(-50%);
  border-radius: 50%;
  background: linear-gradient(180deg, #cacbc9 0%, #9b9b9d 100%);
  box-shadow: 0 0 80px rgba(155, 155, 157, 0.5);
}

.case .section-copy {
  background: var(--lime);
  color: var(--paper);
}

.case .section-copy p:last-of-type {
  margin-top: 40px;
}

.case .pill {
  margin-top: 28px;
}

.case .pill.outline {
  border-color: var(--paper);
  color: var(--paper);
}

.work {
  padding: 38px 64px 0;
  background: var(--paper);
  overflow: hidden;
  scroll-margin-top: 86px;
}

.work-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 0 32px;
}

.work-toggle {
  grid-column: auto;
  min-height: auto;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--ink);
  font: 400 18px/1.2 var(--sans);
  text-decoration: underline;
  cursor: pointer;
}

.work-toggle[aria-expanded="true"] {
  text-decoration: none;
}

.work-heading a {
  font-size: 18px;
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.work-card {
  overflow: hidden;
  aspect-ratio: 1;
  background: var(--paper);
  cursor: pointer;
  position: relative;
  outline: none;
}

.work-card img,
.work-card video {
  width: 100%;
  height: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  display: block;
  transition: transform 420ms cubic-bezier(0.16, 1, 0.3, 1);
}

.work-card::after {
  content: "Bekijk";
  position: absolute;
  right: 12px;
  bottom: 12px;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(21, 21, 22, 0.76);
  color: var(--paper);
  font-size: 13px;
  opacity: 0;
  transform: translateY(8px);
  transition:
    opacity 220ms ease,
    transform 220ms ease;
}

.work-card:hover img,
.work-card:hover video,
.work-card:focus-visible img,
.work-card:focus-visible video {
  transform: scale(1.045);
}

.work-card:hover::after,
.work-card:focus-visible::after {
  opacity: 1;
  transform: translateY(0);
}

.work-card:focus-visible {
  box-shadow: 0 0 0 3px var(--ink);
}

.work-more {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  transform: translateY(-28px);
  transition:
    grid-template-rows 700ms cubic-bezier(0.16, 1, 0.3, 1),
    opacity 420ms ease,
    transform 700ms cubic-bezier(0.16, 1, 0.3, 1);
}

.work-more > .work-grid {
  overflow: hidden;
  padding-top: 14px;
}

.work-more.is-open {
  grid-template-rows: 1fr;
  opacity: 1;
  transform: translateY(0);
}

.work-more .work-card {
  opacity: 0;
  transform: translateY(-44px);
}

.work-more.is-open .work-card {
  animation: workDropIn 760ms cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: calc(var(--index) * 55ms);
}

@keyframes workDropIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.work-modal {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: grid;
  place-items: center;
  padding: 48px 72px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 240ms ease;
}

.work-modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

.work-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(21, 21, 22, 0.72);
  backdrop-filter: blur(8px);
}

.work-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(1280px, 100%);
  height: min(720px, calc(100vh - 96px));
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.32);
  overflow: visible;
}

.work-modal__media {
  min-height: 0;
  background: #111;
  overflow: hidden;
}

.work-modal__media img,
.work-modal__media video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}

.work-modal__copy {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  min-width: 0;
  padding: 72px 64px 64px;
  background: var(--paper);
  overflow-y: auto;
}

.work-modal__copy h2 {
  max-width: 100%;
  font-size: clamp(34px, 3.2vw, 54px);
  overflow-wrap: anywhere;
}

.work-modal__copy p:last-child {
  margin: 28px 0 0;
  max-width: 520px;
  font-size: 17px;
  line-height: 1.55;
}

.work-modal__close,
.work-modal__arrow {
  position: absolute;
  z-index: 2;
  width: 44px;
  height: 44px;
  min-height: 44px;
  padding: 0;
  border: 1px solid var(--ink);
  border-radius: 50%;
  background: var(--paper);
  color: var(--ink);
  display: inline-grid;
  place-items: center;
  grid-column: auto;
}

.work-modal__close {
  top: 22px;
  right: 22px;
}

.work-modal__arrow {
  top: 50%;
  transform: translateY(-50%);
}

.work-modal__arrow--prev {
  left: -58px;
}

.work-modal__arrow--next {
  right: -58px;
}

.work-modal__close svg,
.work-modal__arrow svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

body.modal-open {
  overflow: hidden;
}

@media (max-width: 1180px) {
  .work-modal {
    align-items: start;
    padding: 20px;
    overflow-y: auto;
  }

  .work-modal__dialog {
    width: min(760px, 100%);
    height: auto;
    min-height: 0;
    grid-template-columns: 1fr;
    overflow: visible;
  }

  .work-modal__media {
    height: min(54vh, 520px);
    min-height: 280px;
  }

  .work-modal__copy {
    padding: 34px 32px 42px;
    overflow: visible;
  }

  .work-modal__copy h2 {
    font-size: clamp(34px, 7vw, 50px);
  }

  .work-modal__copy p:last-child {
    max-width: none;
    font-size: 17px;
    line-height: 1.5;
  }

  .work-modal__arrow {
    top: calc(min(54vh, 520px) / 2);
  }

  .work-modal__arrow--prev {
    left: 12px;
  }

  .work-modal__arrow--next {
    right: 12px;
  }

  .work-modal__close {
    top: 12px;
    right: 12px;
  }
}

.contact {
  display: grid;
  grid-template-columns: 36fr 64fr;
  gap: 44px;
  padding: 42px 64px 64px;
  background: var(--lime);
  color: var(--paper);
  scroll-margin-top: 86px;
}

.contact h2 {
  margin-bottom: 22px;
}

.contact a {
  display: inline-block;
  margin: 22px 0 10px;
}

.contact-line {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 14px 0;
}

.contact a.contact-line {
  display: flex;
  width: max-content;
}

.contact-line svg {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  fill: currentColor;
  flex: 0 0 auto;
}

form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px 18px;
}

input[name="_honey"] {
  display: none;
}

label {
  font-size: 15px;
}

label span {
  margin-left: 3px;
}

input,
textarea {
  width: 100%;
  margin-top: 8px;
  border: 1px solid var(--paper);
  border-radius: 0;
  background: transparent;
  min-height: 46px;
  padding: 10px;
  font: inherit;
  color: var(--paper);
}

textarea {
  min-height: 126px;
  resize: vertical;
}

.message {
  grid-column: 1 / -1;
}

button {
  grid-column: 1 / -1;
  min-height: 48px;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--paper);
  font: 500 16px/1 var(--sans);
  cursor: pointer;
}

.footer {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 24px;
  padding: 34px 64px;
  background: var(--ink);
  color: var(--paper);
  font-size: 15px;
}

.footer nav {
  display: grid;
  grid-auto-rows: 22px;
  gap: 8px;
  align-items: center;
}

.footer a {
  text-decoration: none;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  width: max-content;
}

.social-links svg {
  width: 17px;
  height: 17px;
  fill: currentColor;
  flex: 0 0 auto;
}

.footer p {
  margin: 0;
}

@media (max-width: 820px) {
  html {
    scroll-padding-top: 86px;
  }

  .site-header {
    height: auto;
    min-height: 78px;
    grid-template-columns: 1fr auto;
    padding: 14px 18px;
  }

  .brand {
    font-size: 28px;
  }

  .brand img {
    width: 88px;
  }

  .menu-toggle {
    width: 44px;
    height: 36px;
    min-height: 36px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: var(--paper);
    display: inline-grid;
    place-items: center;
    gap: 0;
    grid-column: 2;
  }

  .menu-toggle span {
    width: 30px;
    height: 2px;
    border-radius: 999px;
    background: currentColor;
    display: block;
    transition:
      transform 220ms ease,
      opacity 180ms ease;
  }

  .menu-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
  }

  .menu-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
  }

  .nav {
    grid-column: 1 / -1;
    order: 3;
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    max-height: 0;
    overflow: hidden;
    font-size: 15px;
    transition: max-height 260ms ease;
  }

  .site-header.menu-open .nav {
    max-height: 280px;
    padding-top: 12px;
  }

  .nav a {
    padding: 10px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.22);
  }

  .nav-contact {
    display: block;
  }

  .pill {
    display: none;
  }

  .hero {
    min-height: 720px;
  }

  .sun {
    width: 88vw;
    top: 14vh;
  }

  .hero h1 {
    font-size: clamp(48px, 12vw, 78px);
  }

  .section-grid,
  .contact,
  .footer {
    grid-template-columns: 1fr;
  }

  .section-grid {
    min-height: auto;
    scroll-margin-top: 86px;
  }

  .about.section-grid {
    height: auto;
    overflow: visible;
  }

  .section-copy {
    min-height: auto;
    padding: 34px 32px;
  }

  .section-copy p:last-child {
    margin-top: 120px;
  }

  .about .section-copy p:last-child {
    margin-top: 24px;
  }

  .about-image,
  .case-image,
  .case-orb {
    min-height: 360px;
  }

  .about-image {
    height: auto;
  }

  .solution-list article,
  .stats,
  form {
    grid-template-columns: 1fr;
  }

  .solutions,
  .vision,
  .work,
  .contact,
  .footer {
    padding-left: 32px;
    padding-right: 32px;
  }

  .work-heading {
    padding-left: 0;
    padding-right: 0;
  }

  .work-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .work-modal {
    padding: 14px;
  }

  .work-modal__dialog {
    width: 100%;
  }

  .work-modal__media {
    height: min(48vh, 360px);
    min-height: 220px;
  }

  .work-modal__copy {
    padding: 28px 22px 34px;
  }

  .work-modal__copy h2 {
    font-size: clamp(32px, 9vw, 44px);
  }

  .work-modal__copy p:last-child {
    margin-top: 20px;
    font-size: 16px;
  }

  .work-modal__arrow {
    top: calc(min(48vh, 360px) / 2);
  }

  .work-modal__arrow--prev {
    left: 12px;
  }

  .work-modal__arrow--next {
    right: 12px;
  }

  .work-modal__close {
    top: 12px;
    right: 12px;
  }
}
