/* ============================================================
   GOBLER — pagina-secties
   Aangeroepen vanuit alle HTML-pagina's, na base.css
   ============================================================ */

/* ---------- home hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  padding-block: calc(var(--nav-h) + 3rem) clamp(3rem, 7vh, 6rem);
  overflow: clip;
  background: radial-gradient(120% 90% at 78% 30%, #10151a 0%, var(--bg-1) 55%, var(--bg-0) 100%);
}

.hero__ghost {
  position: absolute;
  top: 12vh;
  left: 0;
  width: 100%;
  font-family: var(--grotesk);
  font-weight: 700;
  font-size: clamp(6rem, 17vw, 17rem);
  line-height: 0.9;
  letter-spacing: -0.02em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.07);
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
  z-index: 0;
}

.hero__portrait {
  position: absolute;
  right: clamp(-6rem, -2vw, 0rem);
  bottom: 0;
  height: min(92vh, 60rem);
  width: auto;
  z-index: 1;
  pointer-events: none;
}

.hero__portrait img {
  height: 100%;
  width: auto;
  object-fit: cover;
  -webkit-mask-image: radial-gradient(78% 88% at 52% 46%, #000 38%, transparent 74%);
  mask-image: radial-gradient(78% 88% at 52% 46%, #000 38%, transparent 74%);
}

.hero__portrait {
  will-change: transform;
}

.hero__content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
  max-width: 46rem;
}

.hero__kicker {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.hero__kicker img {
  width: 2.4rem;
  height: auto;
}

.hero h1 {
  font-size: var(--text-hero);
  font-weight: 600;
  max-width: 10ch;
}

.hero h1 em {
  font-style: italic;
  font-weight: 480;
  color: var(--lime);
}

.hero__sub {
  font-size: clamp(1.02rem, 1rem + 0.4vw, 1.25rem);
  color: var(--text-2);
  max-width: 44ch;
}

.hero__sub strong {
  color: var(--text-1);
  font-weight: 600;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 0.4rem;
}

.hero__scroll {
  position: absolute;
  left: 50%;
  bottom: 1.4rem;
  transform: translateX(-50%);
  z-index: 2;
  color: var(--text-3);
  font-size: var(--text-label);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
}

.hero__scroll::after {
  content: "";
  width: 1px;
  height: 2.6rem;
  background: linear-gradient(var(--lime), transparent);
  animation: scrollhint 2.2s var(--ease-out) infinite;
}

@keyframes scrollhint {
  0% { transform: scaleY(0); transform-origin: top; }
  55% { transform: scaleY(1); transform-origin: top; }
  56% { transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

@media (max-width: 900px) {
  .hero__portrait {
    right: 50%;
    transform: translateX(50%);
    height: min(70vh, 40rem);
    opacity: 0.42;
  }

  .hero__content {
    max-width: 100%;
  }

  .hero__scroll {
    display: none;
  }
}

/* ---------- manifest (woord-scrub) ---------- */
.manifest {
  background: var(--bg-0);
}

.manifest p[data-split] {
  font-family: var(--serif);
  font-size: clamp(1.7rem, 1rem + 3.4vw, 3.6rem);
  line-height: 1.28;
  max-width: 26ch;
  font-weight: 480;
}

.manifest .word {
  color: rgba(242, 244, 240, 0.16);
  transition: color 0.35s linear;
}

.manifest .word.is-lit {
  color: var(--text-1);
}

.manifest .word.is-lit.word--key {
  color: var(--lime);
}

.manifest__foot {
  margin-top: var(--space-block);
  display: flex;
  gap: 1.2rem;
  align-items: center;
}

/* ---------- editorial split (dienst-secties home) ---------- */
.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 5vw, 6rem);
  align-items: center;
}

.split--flip > .split__media {
  order: 2;
}

.split__media {
  position: relative;
}

.split__media img {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  border: 1px solid var(--line);
}

.split__media::after {
  content: attr(data-num);
  position: absolute;
  top: -1.6rem;
  left: -0.4rem;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(3.4rem, 6vw, 5.6rem);
  color: var(--lime);
  line-height: 1;
}

.split__body {
  display: flex;
  flex-direction: column;
  gap: 1.3rem;
}

.split__body h2,
.split__body h3 {
  font-size: var(--text-h3);
  max-width: 20ch;
}

.split__body .sub {
  color: var(--lime);
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.15rem;
}

.split__body p {
  color: var(--text-2);
  max-width: 54ch;
}

.checklist {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 0.7rem;
}

.checklist li {
  display: flex;
  gap: 0.8rem;
  align-items: baseline;
  color: var(--text-2);
}

.checklist li::before {
  content: "";
  flex: 0 0 auto;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--lime-dim);
  border: 1px solid var(--lime);
  transform: translateY(-0.05rem);
}

@media (max-width: 820px) {
  .split {
    grid-template-columns: 1fr;
  }

  .split--flip > .split__media {
    order: 0;
  }
}

/* ---------- pijlers (geloof/identiteit/structuur) ---------- */
.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
}

.pillar {
  padding: clamp(1.8rem, 3vw, 3rem) clamp(1.2rem, 2.4vw, 2.4rem);
  border-bottom: 1px solid var(--line);
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  min-height: 16rem;
  position: relative;
  transition: background var(--dur-med) ease;
}

.pillar:nth-child(3n) {
  border-right: 0;
}

.pillar:hover {
  background: var(--surface);
}

.pillar::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--lime), transparent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--ease-out);
}

.pillar:hover::after {
  transform: scaleX(1);
}

.pillar__num {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.1rem;
  color: var(--lime);
}

.pillar h3 {
  font-size: 1.6rem;
}

.pillar p {
  color: var(--text-2);
  font-size: 0.97rem;
}

@media (max-width: 820px) {
  .pillars {
    grid-template-columns: 1fr;
  }

  .pillar {
    border-right: 0;
    min-height: 0;
  }
}

/* ---------- stappen (werkwijze) ---------- */
.steps {
  position: relative;
  display: grid;
  gap: 0;
  max-width: 44rem;
  margin-inline: auto;
  padding-left: clamp(2.2rem, 5vw, 3.2rem);
}

.steps .thread {
  left: 0.55rem;
  transform: none;
}

.step {
  position: relative;
  padding-block: clamp(1.6rem, 3vw, 2.6rem);
  border-bottom: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.step:last-child {
  border-bottom: 0;
}

.step::before {
  content: "";
  position: absolute;
  left: calc(-1 * clamp(2.2rem, 5vw, 3.2rem) + 0.19rem);
  top: clamp(2rem, 3.4vw, 3rem);
  width: 0.8rem;
  height: 0.8rem;
  border-radius: 50%;
  background: var(--bg-1);
  border: 2px solid var(--lime);
  box-shadow: 0 0 18px rgba(200, 240, 49, 0.35);
}

.step__num {
  font-family: var(--serif);
  font-style: italic;
  color: var(--lime);
  font-size: 1.05rem;
}

.step h3 {
  font-size: 1.45rem;
}

.step p,
.step li {
  color: var(--text-2);
}

.step ul {
  padding-left: 1.1rem;
  display: grid;
  gap: 0.3rem;
}

/* ---------- quote / bribi-teaser ---------- */
.creed {
  background: var(--bg-0);
  text-align: center;
  overflow: clip;
}

.creed__inner {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.6rem;
}

.creed .label {
  color: var(--lime);
}

.creed blockquote {
  font-family: var(--serif);
  font-size: clamp(1.9rem, 1rem + 4.5vw, 4.4rem);
  line-height: 1.15;
  max-width: 20ch;
  font-weight: 520;
}

.creed blockquote i {
  font-style: italic;
  color: var(--lime);
}

.creed p {
  color: var(--text-2);
  max-width: 52ch;
}

/* ---------- cta-strook ---------- */
.cta-band {
  position: relative;
  overflow: clip;
  border-block: 1px solid var(--line);
  background:
    radial-gradient(70% 120% at 12% 50%, var(--blue-dim), transparent 60%),
    radial-gradient(55% 110% at 88% 55%, var(--lime-dim), transparent 58%),
    var(--bg-2);
}

.cta-band__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.cta-band h2 {
  font-size: var(--text-h2);
  max-width: 15ch;
}

.cta-band p {
  color: var(--text-2);
  max-width: 44ch;
  margin-top: 0.8rem;
}

.cta-band__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

/* ---------- subpagina hero ---------- */
.page-hero {
  padding-top: calc(var(--nav-h) + clamp(3.5rem, 9vh, 7rem));
  padding-bottom: clamp(2.5rem, 6vh, 5rem);
  position: relative;
  overflow: clip;
}

.page-hero h1 {
  font-size: clamp(2.6rem, 1.4rem + 5.6vw, 5.8rem);
  max-width: 15ch;
  margin-block: 1.2rem 1.4rem;
}

.page-hero h1 em {
  font-style: italic;
  color: var(--lime);
  font-weight: 480;
}

.page-hero .lead {
  max-width: 56ch;
}

.page-hero--portrait {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: end;
}

.page-hero--portrait .page-hero__media img {
  border-radius: var(--radius);
  border: 1px solid var(--line);
}

.page-hero--portrait .page-hero__media {
  max-width: 27rem;
  width: 100%;
  justify-self: end;
  align-self: end;
}

@media (max-width: 820px) {
  .page-hero--portrait {
    grid-template-columns: 1fr;
  }

  .page-hero--portrait .page-hero__media {
    justify-self: center;
    max-width: 22rem;
  }
}

/* ---------- feiten-grid (over gobler) ---------- */
.facts {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.fact {
  background: var(--bg-1);
  padding: clamp(1.5rem, 3vw, 2.4rem);
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  transition: background var(--dur-med) ease;
}

.fact:hover {
  background: var(--bg-2);
}

.fact svg {
  width: 1.7rem;
  height: 1.7rem;
  color: var(--lime);
}

.fact h3 {
  font-size: 1.15rem;
  font-family: var(--grotesk);
  font-weight: 600;
}

.fact p {
  color: var(--text-3);
  font-size: 0.92rem;
}

@media (max-width: 640px) {
  .facts {
    grid-template-columns: 1fr;
  }
}

/* ---------- galerij (praktijkbeelden) ---------- */
.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(0.8rem, 1.6vw, 1.4rem);
}

.gallery figure {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
}

.gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease-out);
}

.gallery figure:hover img {
  transform: scale(1.04);
}

.gallery figcaption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 2.2rem 1.1rem 0.9rem;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-2);
  background: linear-gradient(transparent, rgba(7, 9, 11, 0.85));
}

@media (max-width: 700px) {
  .gallery {
    grid-template-columns: 1fr;
  }
}

/* ---------- blog ---------- */
.post-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.2rem, 2.4vw, 2.2rem);
}

.post-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
  transition: transform var(--dur-med) var(--ease-out),
    border-color var(--dur-med) ease;
}

.post-card:hover {
  transform: translateY(-6px);
  border-color: var(--line-strong);
}

.post-card__media {
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.post-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease-out);
}

.post-card:hover .post-card__media img {
  transform: scale(1.05);
}

.post-card__body {
  padding: 1.4rem 1.4rem 1.6rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  flex: 1;
}

.post-card__body time {
  font-size: var(--text-label);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-3);
}

.post-card__body h3 {
  font-size: 1.35rem;
  line-height: 1.2;
}

.post-card__body .arrow-link {
  margin-top: auto;
}

@media (max-width: 900px) {
  .post-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 600px) {
  .post-grid {
    grid-template-columns: 1fr;
  }
}

/* artikel */
.article-hero {
  padding-top: calc(var(--nav-h) + clamp(3rem, 8vh, 6rem));
}

.article-hero .label {
  margin-bottom: 1rem;
}

.article-hero h1 {
  font-size: clamp(2.2rem, 1.2rem + 4.6vw, 4.6rem);
  max-width: 20ch;
}

.article-hero__cover {
  margin-top: var(--space-block);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  max-height: 34rem;
}

.article-hero__cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
}

.article-body {
  max-width: 42rem;
  margin-inline: auto;
  font-size: 1.08rem;
  color: var(--text-2);
}

.article-body h2,
.article-body h3 {
  color: var(--text-1);
  margin: 2.2em 0 0.7em;
  font-size: 1.6rem;
}

.article-body p {
  margin-block: 1.1em;
}

.article-body strong {
  color: var(--text-1);
}

.article-body blockquote {
  border-left: 2px solid var(--lime);
  padding-left: 1.4rem;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.25rem;
  color: var(--text-1);
  margin-block: 1.8em;
}

.article-body ul,
.article-body ol {
  padding-left: 1.3rem;
  display: grid;
  gap: 0.4rem;
}

.article-foot {
  max-width: 42rem;
  margin: var(--space-block) auto 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  border-top: 1px solid var(--line);
  padding-top: 2rem;
}

/* ---------- contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: start;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-info address {
  font-style: normal;
  color: var(--text-2);
  line-height: 1.8;
}

.contact-info a {
  color: var(--text-1);
  border-bottom: 1px solid var(--line-strong);
  transition: color var(--dur-fast) ease, border-color var(--dur-fast) ease;
}

.contact-info a:hover {
  color: var(--lime);
  border-color: var(--lime);
}

.contact-quote {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.35rem;
  line-height: 1.4;
  color: var(--text-1);
  border-left: 2px solid var(--lime);
  padding-left: 1.3rem;
  max-width: 30ch;
}

.contact-meta {
  font-size: 0.85rem;
  color: var(--text-3);
  line-height: 1.8;
}

.form {
  display: grid;
  gap: 1.4rem;
  padding: clamp(1.6rem, 3.5vw, 2.8rem);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.form label {
  display: grid;
  gap: 0.5rem;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.form input,
.form select,
.form textarea {
  background: var(--bg-1);
  border: 1px solid var(--line-strong);
  border-radius: 0.7rem;
  padding: 0.85rem 1rem;
  min-height: 3rem;
  color: var(--text-1);
  transition: border-color var(--dur-fast) ease, box-shadow var(--dur-fast) ease;
}

.form input:focus,
.form select:focus,
.form textarea:focus {
  outline: none;
  border-color: var(--lime);
  box-shadow: 0 0 0 3px var(--lime-dim);
}

.form textarea {
  resize: vertical;
  min-height: 9rem;
}

.form__hint {
  font-size: 0.82rem;
  color: var(--text-3);
}

@media (max-width: 860px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- belangrijk-kader (scouting disclaimer) ---------- */
.note {
  border: 1px solid var(--line);
  border-left: 2px solid var(--lime);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1.6rem 1.8rem;
  background: var(--surface);
  max-width: 46rem;
}

.note strong {
  display: block;
  margin-bottom: 0.5rem;
}

.note p {
  color: var(--text-2);
  font-size: 0.97rem;
}

/* ============================================================
   Kleurverhaal — het logo als reis:
   donkerblauw (de vissenkom waar je nog in zit)
   → teal → groen → lime (de oceaan: mogelijkheden, vertrouwen)
   ============================================================ */

:root {
  --journey-1: #2e7bd9; /* vissenkom */
  --journey-2: #3fbfa8; /* het water opent zich */
  --journey-3: #8ed052; /* de oceaan lonkt */
  --journey-4: #c8f031; /* alles is mogelijk */
  --journey: linear-gradient(100deg, var(--journey-1) 0%, var(--journey-2) 38%, var(--journey-3) 68%, var(--journey-4) 92%);
}

/* de reis in één woord: "kracht." in de hero */
.hero h1 em {
  background: var(--journey);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

/* dienst-nummers 01→03 kleuren mee met de reis */
.split__media[data-num="01"]::after { color: var(--journey-1); }
.split__media[data-num="02"]::after { color: var(--journey-2); }
.split__media[data-num="03"]::after { color: var(--journey-4); }

/* stappen: elke stap een slag dichter bij open water */
.steps article:nth-of-type(1) .step__num { color: var(--journey-1); }
.steps article:nth-of-type(1)::before { border-color: var(--journey-1); box-shadow: 0 0 18px rgba(46, 123, 217, 0.4); }
.steps article:nth-of-type(2) .step__num { color: var(--journey-2); }
.steps article:nth-of-type(2)::before { border-color: var(--journey-2); box-shadow: 0 0 18px rgba(63, 191, 168, 0.4); }
.steps article:nth-of-type(3) .step__num { color: var(--journey-3); }
.steps article:nth-of-type(3)::before { border-color: var(--journey-3); box-shadow: 0 0 18px rgba(142, 208, 82, 0.4); }

/* pijlers: geloof (blauw) → identiteit (teal) → structuur (lime) */
.pillars .pillar:nth-child(3n + 1) .pillar__num { color: var(--journey-1); }
.pillars .pillar:nth-child(3n + 1)::after { background: linear-gradient(90deg, var(--journey-1), transparent); }
.pillars .pillar:nth-child(3n + 2) .pillar__num { color: var(--journey-2); }
.pillars .pillar:nth-child(3n + 2)::after { background: linear-gradient(90deg, var(--journey-2), transparent); }

/* uitgeknipte portretten: geen kader, opdoemen uit het zwart */
.media-cutout img {
  border: 0 !important;
  border-radius: 0 !important;
  -webkit-mask-image: radial-gradient(85% 88% at 50% 44%, #000 48%, transparent 88%);
  mask-image: radial-gradient(85% 88% at 50% 44%, #000 48%, transparent 88%);
}

.media-cutout::after {
  display: none !important;
}

/* transparante (vrijstaande) portretten: opdoemen met journey-gloed */
.media-cutout--alpha {
  position: relative;
}

.media-cutout--alpha::before {
  content: "";
  position: absolute;
  inset: 10% 6% 16% 6%;
  border-radius: 50%;
  background: radial-gradient(50% 52% at 50% 58%, rgba(46, 123, 217, 0.26), rgba(200, 240, 49, 0.09) 58%, transparent 76%);
  filter: blur(46px);
  transform: translateZ(0);
}

.media-cutout--alpha img {
  position: relative;
  border: 0 !important;
  border-radius: 0 !important;
  -webkit-mask-image: linear-gradient(180deg, #000 74%, transparent 97%);
  mask-image: linear-gradient(180deg, #000 74%, transparent 97%);
}

.media-cutout--alpha::after {
  display: none !important;
}
