/* ==========================================================================
   Layout — Navigation, hero, sections, footer, grid
   ========================================================================== */

/* Container */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

/* ---------- Navigation ---------- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: var(--border-subtle);
  transition: background var(--transition-base);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: var(--max-width);
  padding: 0 var(--space-lg);
}

.nav__logo {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  color: var(--text-primary);
}

.nav__logo-mark {
  height: 2rem;
  width: auto;
  display: block;
}

.nav__logo-text span {
  color: var(--accent-ink);
}

.nav__links {
  display: flex;
  gap: var(--space-lg);
  align-items: center;
}

.nav__link {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  transition: color var(--transition-fast);
  letter-spacing: 0.02em;
}

.nav__link:hover,
.nav__link--active {
  color: var(--accent-ink);
}

/* Mobile menu toggle */
.nav__toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 1.5rem;
  cursor: pointer;
}

/* ---------- Hero ---------- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--nav-height) var(--space-lg) var(--space-xl);
}

/* Two columns: a narrow "Nieuw" panel on the left (visible the moment the site
   opens) and the brand message on the right, keeping its original centering. */
.hero__content {
  width: 100%;
  max-width: var(--max-width);
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: var(--space-2xl);
  align-items: center;
}

.hero__intro {
  text-align: center;
}

.hero__tagline {
  font-family: var(--font-mono);
  font-size: var(--text-sm);
  color: var(--accent-ink);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: var(--space-md);
}

.hero__title {
  /* Smaller than the generic h1: the hero copy is two full sentences,
     so a lighter scale keeps it from swallowing the viewport. */
  font-size: clamp(1.9rem, 1.2rem + 2.6vw, 3.1rem);
  line-height: 1.15;
  margin-bottom: var(--space-lg);
}

.hero__title .highlight {
  color: var(--accent-ink);
}

.hero__subtitle {
  font-size: var(--text-lg);
  color: var(--text-secondary);
  margin-bottom: var(--space-xl);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* ---------- Sections ---------- */
.section {
  padding: var(--space-3xl) 0;
}

/* Anchor targets land below the fixed nav (also for cross-page jumps). */
.section,
.hero,
.brand {
  scroll-margin-top: var(--nav-height);
}

/* ---------- Brand band (Knowledge in motion) ---------- */
.brand {
  padding: var(--space-2xl) 0;
  text-align: center;
}

.brand__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-lg);
}

.brand__logo {
  height: 200px;
  width: auto;
}

.brand__statement {
  max-width: 620px;
  font-size: var(--text-lg);
  color: var(--text-secondary);
}

.section__header {
  text-align: center;
  margin-bottom: var(--space-xl);
}

.section__label {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  color: var(--accent-teal-ink);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: var(--space-sm);
  display: block;
}

.section__title {
  margin-bottom: var(--space-md);
}

.section__description {
  font-size: var(--text-lg);
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

.section__cta {
  text-align: center;
  margin-top: var(--space-xl);
}

/* ---------- "Nieuw" rail (in the hero) ---------- */
.newsrail {
  background: var(--bg-secondary);
  border: var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
}

.newsrail__title {
  font-size: var(--text-lg);
  margin-bottom: var(--space-md);
}

.newsrail__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.newsrail__item {
  padding-bottom: var(--space-md);
  border-bottom: var(--border-subtle);
}

.newsrail__item:last-child {
  padding-bottom: 0;
  border-bottom: none;
}

.newsrail__item a,
.newsrail__static {
  display: block;
}

.newsrail__item a {
  transition: transform var(--transition-fast);
}

.newsrail__item a:hover {
  transform: translateX(3px);
}

.newsrail__meta {
  display: block;
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  color: var(--text-muted);
  margin-bottom: 0.25rem;
}

.newsrail__kind {
  color: var(--accent-teal-ink);
}

.newsrail__item-title {
  display: block;
  font-size: var(--text-sm);
  color: var(--text-primary);
  line-height: 1.4;
}

.newsrail__all {
  display: inline-block;
  margin-top: var(--space-md);
  font-family: var(--font-mono);
  font-size: var(--text-sm);
  color: var(--accent-ink);
}

/* Founders panel — a distinct, personal close to the "Waarom" section. */
.founders {
  margin-top: var(--space-2xl);
}

.founders__inner {
  max-width: 860px;
  margin: 0 auto;
  padding: var(--space-xl);
  background: linear-gradient(135deg, rgba(58, 26, 168, 0.05), rgba(0, 179, 164, 0.06));
  border: var(--border-subtle);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius-lg);
}

.founders__label {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  color: var(--accent-teal-ink);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  display: block;
  margin-bottom: var(--space-sm);
}

.founders__lead {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  color: var(--text-primary);
  line-height: 1.25;
  margin-bottom: var(--space-md);
}

.founders__text {
  font-size: var(--text-base);
  color: var(--text-secondary);
  margin-bottom: var(--space-lg);
}

.founders__points {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-sm) var(--space-lg);
  list-style: none;
}

.founders__points li {
  position: relative;
  padding-left: 1.6rem;
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: 1.6;
}

.founders__points li::before {
  content: "\2192";
  position: absolute;
  left: 0;
  color: var(--accent-teal-ink);
  font-weight: 600;
}

/* ---------- Grid ---------- */
.grid {
  display: grid;
  gap: var(--space-lg);
}

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

/* ---------- Footer ---------- */
.footer {
  padding: var(--space-xl) 0;
  border-top: var(--border-subtle);
  text-align: center;
}

.footer__logo {
  height: 96px;
  width: auto;
  display: block;
  margin: 0 auto var(--space-md);
}

.footer__text {
  font-size: var(--text-sm);
  color: var(--text-muted);
}

/* ==========================================================================
   Responsive
   ========================================================================== */

/* Tablet and below */
@media (max-width: 900px) {
  .grid--3 { grid-template-columns: repeat(2, 1fr); }

  /* Hero stacks: message on top, "Nieuw" panel below it. Let the hero grow
     with its content instead of forcing a full-screen centre. */
  .hero {
    min-height: auto;
  }

  .hero__content {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }

  /* Panel comes first in the DOM (for the left column on desktop); on mobile
     keep the brand message on top. */
  .hero__intro {
    order: -1;
  }
}

/* Mobile */
@media (max-width: 600px) {
  .grid--2,
  .grid--3 { grid-template-columns: 1fr; }

  .nav__links {
    display: none;
    position: absolute;
    top: var(--nav-height);
    left: 0;
    width: 100%;
    flex-direction: column;
    background: var(--bg-secondary);
    padding: var(--space-lg);
    gap: var(--space-md);
    border-bottom: var(--border-subtle);
  }

  .nav__links--open {
    display: flex;
  }

  .nav__toggle {
    display: block;
  }

  .hero {
    min-height: 80vh;
    padding-top: calc(var(--nav-height) + var(--space-xl));
  }

  .section {
    padding: var(--space-2xl) 0;
  }

  .brand__logo {
    height: 150px;
  }

  .founders__points {
    grid-template-columns: 1fr;
  }
}
