﻿@font-face {
  font-family: "Urbanchrome";
  src: url("assets/fonts/Urbanchrome Normal.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Colors */
  --dark: #1F1F1F;
  --light: #ffffff;
  --mint: #E3FADD;


  --paper: #efeff1;
  --blue: #56b7ff;
  --lavender: #e1bbff;
  --orange: #f5a000;
  --container: 1440px;
  --nav-height: 52px;

  /* Fonts */
  --font-title: "Urbanchrome", sans-serif;
  --font-body: "Alexandria", "Outfit", "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: #202226;
  background: var(--paper);
}

h1,
h2,
h3,
h4,
h5,
p {
  margin: 0;
}

img {
  display: block;
  max-width: 100%;
}

.container {
  width: min(var(--container), calc(100% - 96px));
  margin-inline: auto;
}

.navbar {
  background: var(--mint);
  position: sticky;
  top: 0;
  z-index: 20;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.14);
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.nav-row {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  align-items: center;
  gap: 0;
  min-height: var(--nav-height);
  padding-block: 0;
}

.nav-row nav {
  grid-column: 2 / -1;
}

.brand,
.nav-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #1f2124;
  text-decoration: none;
  font-weight: 600;
  min-height: var(--nav-height);
}

.brand {
  grid-column: 1;
  text-align: center;
  font-family: "Urbanchrome", sans-serif;
  letter-spacing: 0.02em;
  font-size: clamp(1.05rem, 1.3vw, 1.45rem);
}

.nav-links {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0;
  width: 100%;
  margin: 0;
  padding: 0;
}

.nav-links li,
.nav-links a {
  text-align: center;
}

.nav-links a {
  font-size: clamp(0.76rem, 0.62rem + 0.45vw, 1rem);
  white-space: normal;
  line-height: 1.1;
  padding-inline: 0.35rem;
}

.section--dark {
  background: var(--dark);
  color: var(--light);
}

.section--light {
  background: var(--light);
  color: var(--dark);
}

.section--mint {
  background: var(--mint);
  color: var(--dark);
}

.hero {
  display: grid;
  grid-template-columns: 35.7% 64.3%;
  min-height: 90vh;
}

.hero-art {
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  overflow: hidden;
}

.hero-art img {
  width: 100%;
  height: 485px;
  max-width: 100%;
  object-fit: contain;
  object-position: left bottom;
}

.hero-content {
  align-self: center;
  padding-inline: 48px;
  max-width: 760px;
}

.hero-title {
  font-family: "Urbanchrome", sans-serif;
  font-size: clamp(4rem, 7vw, 8.2rem);
  color: var(--mint);
  line-height: 0.86;
  letter-spacing: 0.01em;
}

.hero p {
  margin-top: 24px;
  font-size: clamp(1.15rem, 1.8vw, 1.8rem);
  max-width: 32ch;
  color: var(--light);
  line-height: 1.15;
  margin-bottom: 12px;
}

/* .hero-sprint {
  font-size: clamp(1.15rem, 3vw, 1.8rem);
} */
.team,
.values,
.question,
.problem,
.approach {
  padding-block: 78px;
}

h1 {
  font-family: var(--font-title);
  font-size: clamp(3.2rem, 5vw, 6.15rem);
  line-height: 0.9;
  letter-spacing: 0.01em;
}

h2 {
  font-family: var(--font-title);
  font-size: clamp(2.4rem, 4.2vw, 5.35rem);
  line-height: 0.95; 
  letter-spacing: 0.01em;
}

p {
  font-family: var(--font-body);
  font-size: clamp(1rem, 1.25vw, 1.35rem);
  line-height: 1.4;
}
.title {
  font-size: clamp(2.8rem, 4.8vw, 6.15rem);
}

.intro {
  margin-top: 18px;
  font-size: 1.25rem;
  line-height: 1.35;
  font-weight: 500;
  max-width: 78ch;
}

.team-grid {
  margin-top: 44px;
  display: grid;
  grid-template-columns: repeat(3, 360px);
  justify-content: center;
  gap: 24px;
}

.member {
  background: #f3f3f4;
  border: 1px solid #d3d4d7;
  border-radius: 4px;
  padding: 12px 10px 20px;
  text-align: center;
  position: relative;
  overflow: visible;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.08);
  min-height: 468px;
}

.member-link {
  display: block;
  color: inherit;
  text-decoration: none;
  cursor: pointer;
  transform: translateZ(0) scale(1);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.member-link:hover,
.member-link:focus-visible {
  transform: translateY(-4px) scale(1.03);
  box-shadow: 0 14px 26px rgba(0, 0, 0, 0.16);
}

.member-link:focus-visible {
  outline: 3px solid #56b7ff;
  outline-offset: 3px;
}

.tape {
  width: 66%;
  height: 34px;
  background: var(--lavender);
  margin: -28px auto 10px;
  border-radius: 2px;
  box-shadow: 0 4px 5px rgba(0, 0, 0, 0.12);
}

/* random-ish variatie per kaart */
.member:nth-child(6n+1) .tape { transform: rotate(-3deg) translateY(-1px); width: 52%; }
.member:nth-child(6n+2) .tape { transform: rotate(2.5deg); width: 58%; opacity: .95; }
.member:nth-child(6n+3) .tape { transform: rotate(-1.5deg); width: 55%; }
.member:nth-child(6n+4) .tape { transform: rotate(3.5deg) translateX(2px); width: 54%; }
.member:nth-child(6n+5) .tape { transform: rotate(-2.5deg) translateX(-2px); width: 57%; }
.member:nth-child(6n+6) .tape { transform: rotate(1deg); width: 53%; }

.member img {
  width: 84%;
  max-width: 84%;
  margin-inline: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  background: #ececef;
}

.member h3 {
  margin-top: 10px;
  font-family: var(--font-title);
  font-size: 2rem;
  line-height: 1;
}

.member h3 span {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1.15rem;
}

.member p {
  margin-top: 10px;
  font-size: 1rem;
  line-height: 1.35;
  font-weight: 400;
}

.values {
  min-height: 1334px;
}

.values h2 {
  color: var(--mint);
}

.values .intro {
  color: #f3f4f5;
  max-width: 82ch;
}

.value-row {
  margin-top: 26px;
  display: grid;
  grid-template-columns: 150px 1fr;
  align-items: center;
  gap: 20px;
}

.value-row.right {
  grid-template-columns: 1fr 150px;
  text-align: right;
}

.value-row img {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.78);
  object-fit: cover;
}

.value-row h3 {
  font-family: "Urbanchrome", sans-serif;
  color: var(--mint);
  font-size: 3.05rem;
  line-height: 0.95;
}

.value-row p {
  margin-top: 12px;
  font-size: 1.35rem;
  line-height: 1.2;
}

.question {
  position: relative;
  min-height: 768px;
}

.question h2,
.question .big-quote,
.question .question-text {
  color: var(--dark);
}

.big-quote {
  margin-top: 24px;
  font-size: clamp(1.3rem, 2vw, 2rem);
  line-height: 1.2;
  font-weight: 800;
  max-width: 40ch;
}

.question-text {
  margin-top: clamp(84px, 7vw, 130px);
  max-width: 52ch;
  font-size: 1.25rem;
  line-height: 1.35;
  font-weight: 500;
}

.arrow-mark {
  position: absolute;
  right: 35%;
  bottom: 27%;
  width: clamp(95px, 9vw, 150px);
  height: auto;
  transform: none;
}

.problem h2 {
  color: var(--mint);
}

.problem {
  min-height: 1180px;
}

.problem-grid {
  margin-top: 42px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: stretch;
  gap: 24px;
}

.state {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.middle-arrow {
  width: clamp(64px, 7vw, 110px);
  height: auto;
  max-height: 180px;
  align-self: center;
  transform: translateY(-24px);
  justify-self: center;
  object-fit: contain;
}

.state-image {
  aspect-ratio: 1;
  border-radius: 50%;
  overflow: hidden;
  width: min(100%, 390px);
  border: 6px solid #f1f1f3;
  margin-inline: auto;
}

.state-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.state h3 {
  margin-top: 24px;
  font-family: "Urbanchrome", sans-serif;
  font-size: 2.85rem;
  line-height: 0.94;
}

.state p {
  margin-top: 14px;
  font-size: 1.15rem;
  line-height: 1.4;
}

.approach .intro {
  max-width: 75ch;
}

.timeline {
  margin-top: 34px;
  position: relative;
  display: grid;
  gap: 40px;
  padding-left: 160px;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 53px;
  top: 32px;
  bottom: 2px;
  width: 10px;
  background-color: #0f0f10;
  background-image:
    radial-gradient(circle at 25% 14%, rgba(255, 255, 255, 0.2) 0 1px, transparent 1.2px),
    radial-gradient(circle at 72% 52%, rgba(0, 0, 0, 0.22) 0 1px, transparent 1.2px),
    url("assets/brush-line.svg");
  background-repeat: repeat-y;
  background-size: 10px 26px, 10px 32px, 100% auto;
  background-position: top center;
}

.timeline article {
  position: relative;
  min-height: 130px;
  display: flex;
  justify-content: center;
  flex-direction: column;
}

.timeline article::before {
  content: "";
  position: absolute;
  left: -128px;
  top: 18px;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--mint);
  border: 2px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.08);
}

.timeline h4 {
  font-family: "Urbanchrome", sans-serif;
  font-size: clamp(1.5rem, 3vw, 3.05rem);
  line-height: 0.95;
}

.timeline p {
  margin-top: 8px;
  font-size: clamp(1rem, 1.4vw, 1.35rem);
}

.footer {
  border-top: 2px solid #dedee0;
  padding: 42px 0 56px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 26px;
  align-items: start;
}

.footer h4,
.footer h5 {
  font-family: var(--font-title);
  font-size: 2.3rem;
  line-height: 1;
  color: #15171a;
}

.footer h5 {
  font-family: "Outfit", sans-serif;
  font-size: 1.75rem;
  font-weight: 700;
}

.foot-label,
.footer p {
  font-family: var(--font-body);
  margin-top: 16px;
  font-size: 1.05rem;
  line-height: 1.35;
}

.footer a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.socials {
  display: flex;
  gap: 14px;
  margin-top: 14px;
}

.socials a {
  width: 52px;
  height: 52px;
  border: 4px solid #232529;
  border-radius: 11px;
  color: #232529;
  font-size: 1.8rem;
  font-weight: 700;
  display: grid;
  place-items: center;
  text-decoration: none;
}

.back-to-top {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 50;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 42px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid #1f1f1f;
  background: var(--mint);
  color: #1f1f1f;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: transform 160ms ease, box-shadow 160ms ease, opacity 160ms ease;
}

.back-to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.back-to-top:hover,
.back-to-top:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.24);
}

.back-to-top:focus-visible {
  outline: 3px solid #56b7ff;
  outline-offset: 2px;
}

@media (max-width: 1200px) {
  .container {
    width: min(var(--container), calc(100% - 48px));
  }

  .nav-links {
    gap: 0;
  }

  .nav-links a {
    font-size: clamp(0.74rem, 0.62rem + 0.4vw, 0.95rem);
  }

  .team-grid {
    grid-template-columns: repeat(3, minmax(280px, 1fr));
  }

  .member {
    min-height: 440px;
  }
}

@media (max-width: 900px) {
  .navbar {
    position: static;
  }

  .nav-row {
    display: flex;
    flex-direction: column;
    padding: 12px 0 16px;
    gap: 8px;
  }

  .nav-row nav {
    grid-column: auto;
    width: 100%;
  }

  .nav-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px 14px;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: 95vh;
  }

  .hero-art {
    min-height: 290px;
    align-items: end;
    justify-content: center;
  }

  .hero-art img {
    height: clamp(220px, 42vw, 360px);
    width: auto;
  }

  .hero-content {
    padding: 20px 24px 40px;
    max-width: 100%;
  }

  .hero p {
    font-size: 1.05rem;
    max-width: 40ch;
  }

  .hero-title {
    font-size: clamp(3rem, 10vw, 5rem);
  }

  .team-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .values,
  .question,
  .problem {
    min-height: 0;
  }

  .value-row,
  .value-row.right {
    grid-template-columns: 96px 1fr;
    text-align: left;
  }

  .value-row.right img {
    order: -1;
  }

  .value-row img {
    width: 96px;
    height: 96px;
  }

  .arrow-mark,
  .middle-arrow {
    display: none;
  }

  .problem-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .timeline {
    padding-left: 94px;
  }

  .timeline::before {
    left: 31px;
  }

  .timeline article::before {
    left: -78px;
    width: 40px;
    height: 40px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 620px) {
  .container {
    width: calc(100% - 24px);
  }

  .team,
  .values,
  .question,
  .problem,
  .approach {
    padding-block: 54px;
  }

  .team-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  p,
  .intro,
  .member p,
  .value-row p,
  .state p,
  .question-text,
  .footer p {
    font-size: 0.98rem;
    line-height: 1.45;
  }

  .timeline {
    padding-left: 28px;
  }

  .timeline::before,
  .timeline article::before {
    display: none;
  }

  .back-to-top {
    right: 12px;
    bottom: 12px;
    min-height: 38px;
    padding: 0 12px;
    font-size: 0.82rem;
  }
}
