/* ==========================================================================
   4Leaderz — home page
   ========================================================================== */

/* --- Hero: copy on seven columns, photo breaks into the ink band below ---- */

.hero {
  position: relative;
  padding: var(--space-xl) 0 calc(var(--space-xl) + 24px);
}

.hero .container {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gutter);
  align-items: end;
}

.hero-copy {
  grid-column: 1 / span 7;
  align-self: center;
  padding: var(--space-m) 0 calc(var(--space-xl) + 16px);
}

.hero-copy h1 {
  max-width: 16ch;
  margin-bottom: var(--space-m);
}

.hero-sub {
  margin: 0 0 var(--space-l);
  font-family: var(--font-display);
  font-size: var(--step-4);
  font-weight: 460;
  line-height: 1.15;
  letter-spacing: -0.022em;
  color: var(--blue-deep);
  max-width: 22ch;
}

.hero-media {
  position: relative;
  z-index: 2;
  grid-column: 8 / -1;
  align-self: center;
}

/* the group stands on the right half of a wide shot; a 5:4 crop keeps all four in frame */
.hero-media .frame {
  aspect-ratio: 5 / 4;
}

.hero-media .frame img {
  object-position: 100% center;
}

.hero-line {
  position: absolute;
  z-index: 1;
  left: 0;
  right: 0;
  bottom: 18px;
  pointer-events: none;
}

.hero-line .listening-line {
  height: 34px;
}

/* --- Intro: the opening argument across the full width ----------------- */

.intro {
  padding-bottom: var(--space-xl);
}

.intro h2 {
  margin: 0 0 var(--space-m);
}

.intro p {
  max-width: none;
  font-size: var(--step-1);
  line-height: 1.7;
}

.intro .intro-result {
  margin: var(--space-m) 0 0;
  font-family: var(--font-display);
  font-size: var(--step-2);
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: -0.012em;
  color: var(--blue-deep);
}

/* --- Voor wie: a linen band, the clay rule marking where the answer starts */

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

.audience .container {
  position: relative;
  z-index: 1;
}

.audience-block {
  position: relative;
  max-width: 52rem;
  padding-top: var(--space-m);
}

.audience-block::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 48px;
  height: 2px;
  background: var(--clay);
}

.audience-block h2 {
  margin: 0 0 var(--space-s);
}

.audience-block p {
  margin: 0;
  max-width: 48ch;
  font-size: var(--step-2);
  line-height: 1.55;
  color: var(--ink);
}

/* --- Statement banner: the line that goes quiet -------------------------- */

.statement-banner {
  position: relative;
  padding: var(--space-2xl) 0 var(--space-xl);
  background: var(--blue-deep);
  overflow: hidden;
}

.statement-banner .container {
  position: relative;
}

.statement-banner h2 {
  max-width: none;
  margin: 0;
  font-size: var(--step-6);
  font-weight: 560;
  line-height: 1.04;
  letter-spacing: -0.032em;
  color: var(--white);
}

.statement-banner h2 span {
  display: block;
}

.statement-banner h2 span+span {
  color: var(--blue-signal);
}

.statement-banner p {
  max-width: 60ch;
  margin: var(--space-m) 0 0;
  font-size: var(--step-1);
  color: var(--blue-signal);
}

.flatline {
  width: 100%;
  height: 60px;
  margin-top: var(--space-xl);
  overflow: visible;
}

.flatline path {
  fill: none;
  stroke: var(--blue-signal);
  stroke-width: 2;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
  opacity: 0.8;
}

/* --- Mission ------------------------------------------------------------- */

.mission .container {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gutter);
  row-gap: var(--space-m);
}

.mission-copy {
  grid-column: 1 / span 7;
}

.mission h2 {
  margin: 0 0 var(--space-m);
}

.mission p {
  margin: 0 0 1em;
  font-family: var(--font-body);
  font-size: var(--step-1);
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: -0.008em;
  color: var(--ink);
  width: 100%;
}

/* The photo holds a fixed portrait ratio and stays in view beside the copy; the image is out of flow so its
   intrinsic 1024px size doesn't push the row open. */
.mission p:last-child {
  margin-bottom: 0;
}

.mission-media {
  grid-column: 9 / -1;
  grid-row: 1;
  align-self: start;
  position: sticky;
  top: calc(var(--space-xl) + 48px);
  display: flex;
}

.mission-media .frame {
  flex: 1;
  aspect-ratio: 4 / 5;
}

.mission-media .frame img {
  position: absolute;
  inset: 0;
  object-position: 60% 30%;
}

/* --- Method: breinkennis beside the measurable route --------------------- */

.method .container {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gutter);
  row-gap: var(--space-l);
  align-items: start;
}

.method-head {
  grid-column: 1 / -1;
  margin: 0;
}

.method-statement {
  grid-column: 1 / span 5;
}

.method-statement p {
  font-size: var(--step-1);
  line-height: 1.7;
}

.method-statement p:last-child {
  margin-bottom: 0;
}

.method-figure {
  width: 100%;
  height: auto;
  margin-top: var(--space-l);
}

.method-body {
  grid-column: 7 / -1;
}

.steps {
  list-style: none;
  margin: 0 0 var(--space-l);
  padding: 0;
  counter-reset: step;
}

.steps li {
  position: relative;
  display: grid;
  grid-template-columns: 4.5rem minmax(0, 1fr);
  align-items: baseline;
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--line-strong);
  counter-increment: step;
  font-family: var(--font-display);
  font-size: var(--step-2);
  font-weight: 480;
  line-height: 1.3;
  letter-spacing: -0.012em;
}

.steps li::before {
  content: counter(step, decimal-leading-zero);
  font-variant-numeric: tabular-nums;
  font-weight: 560;
  color: var(--clay);
}

.steps li::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -4px;
  height: 8px;
  background: var(--wave-svg-clay) repeat-x left center / 18px 8px;
  clip-path: inset(0 100% 0 0);
  transition: clip-path var(--dur-slow) var(--ease-out);
}

.steps li:hover::after {
  clip-path: inset(0 0 0 0);
}

/* Inklapbare stappen: titel exact zoals de oorspronkelijke balkjes */
.steps h3 {
  margin: 0;
  font: inherit;
  letter-spacing: inherit;
}

.step-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-s);
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  color: inherit;
  text-align: left;
  cursor: pointer;
}

.step-toggle:focus-visible {
  outline: 2px solid var(--clay);
  outline-offset: 4px;
}

.step-icon {
  flex: none;
  width: 1.25rem;
  height: 1.25rem;
  color: var(--clay);
  transition: transform var(--dur) var(--ease-out);
}

.step-toggle[aria-expanded="true"] .step-icon {
  transform: rotate(90deg);
}

.step-panel {
  display: grid;
  grid-template-rows: 1fr;
  transition: grid-template-rows var(--dur-slow) var(--ease-out), opacity var(--dur) var(--ease-out);
}

.step-panel-inner {
  min-height: 0;
  overflow: hidden;
}

.step-panel-inner p {
  margin: 0;
  padding: 0.5rem 0 0.15rem;
  font-family: var(--font-sans);
  font-size: var(--step-0);
  font-weight: 400;
  line-height: 1.65;
  letter-spacing: 0;
  color: var(--ink-muted);
}

.step-panel.is-collapsed {
  grid-template-rows: 0fr;
  opacity: 0;
}

@media (prefers-reduced-motion: reduce) {
  .step-icon,
  .step-panel {
    transition: none;
  }
}

.method-result {
  margin: 0;
  font-family: var(--font-display);
  font-size: var(--step-2);
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: -0.012em;
  color: var(--ink);
}

/* --- Contact CTA: a tactile panel with viewfinder corners ---------------- */

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

.cta-panel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: var(--space-l);
  padding: var(--space-xl) clamp(1.5rem, 5vw, 4.5rem);
  background: var(--paper-lift);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

.cta-panel::before,
.cta-panel::after {
  content: "";
  position: absolute;
  width: 22px;
  height: 22px;
  pointer-events: none;
}

.cta-panel::before {
  top: 16px;
  left: 16px;
  border-top: 1.5px solid var(--clay);
  border-left: 1.5px solid var(--clay);
}

.cta-panel::after {
  top: 16px;
  right: 16px;
  border-top: 1.5px solid var(--blue-signal);
  border-right: 1.5px solid var(--blue-signal);
}

.cta-copy h2 {
  margin-bottom: 0.3em;
}

.cta-copy p {
  margin: 0;
  font-size: var(--step-1);
  color: var(--ink-muted);
  max-width: 44ch;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.cta-line {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 18px;
  height: 22px;
}

.cta-line path {
  opacity: 0.4;
}

/* --- Kennismakingsgesprek: intro beside the Calendly agenda --------------- */

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

.booking .container {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gutter);
  align-items: start;
}

.booking-copy {
  grid-column: 1 / span 4;
  position: sticky;
  top: calc(var(--space-xl) + 4rem);
}

.booking-copy .lede {
  margin: 0;
}

.booking-widget {
  grid-column: 5 / -1;
  min-width: 0;
  background: var(--paper-lift);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.booking-consent {
  display: grid;
  justify-items: start;
  gap: var(--space-s);
  padding: var(--space-l) clamp(1.25rem, 4vw, 3rem);
}

.booking-consent p {
  margin: 0;
  max-width: 52ch;
  color: var(--ink-muted);
}

@media (max-width: 900px) {
  .booking-copy,
  .booking-widget {
    grid-column: 1 / -1;
  }

  .booking-copy {
    position: static;
    margin-bottom: var(--space-l);
  }
}

/* --- Team: staggered portraits ------------------------------------------- */

.team {
  padding-top: var(--space-xl);
}

.team .container {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gutter);
}

.team-head {
  grid-column: 1 / span 5;
  margin-bottom: var(--space-xl);
}

.team-head .lede {
  margin: 0;
}

.team-list {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-xl) var(--gutter);
  align-items: start;
}

.team-row:nth-child(2) {
  margin-top: var(--space-xl);
}

.team-row:nth-child(3) {
  margin-top: calc(var(--space-xl) * 2);
}

.team-row .frame {
  aspect-ratio: 4 / 4.6;
  max-width: 300px;
  margin-bottom: var(--space-m);
  box-shadow: var(--shadow-md);
  overflow: visible;
}

.team-row .frame::before,
.team-row .frame::after {
  opacity: 0;
  transform: scale(0.8);
  transition: opacity var(--dur) var(--ease-out), transform var(--dur-slow) var(--ease-out);
}

.team-row:hover .frame::before,
.team-row:hover .frame::after {
  opacity: 1;
  transform: none;
}

.team-row .frame img.is-portrait {
  object-position: center 22%;
}

.team-row h3 {
  margin-bottom: 0.35em;
}

.team-row p {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--ink-muted);
  max-width: 40ch;
}

/* --- Responsive ---------------------------------------------------------- */

@media (max-width: 960px) {
  .hero-copy {
    grid-column: 1 / span 12;
    padding-bottom: var(--space-l);
  }

  .hero-media {
    grid-column: 3 / -1;
  }

  .hero-media .frame {
    aspect-ratio: 16 / 11;
  }

  .hero-line {
    bottom: auto;
    top: calc(100% - var(--space-xl) * 1.5 - 60px);
    display: none;
  }

  .method-statement,
  .method-body {
    grid-column: 1 / -1;
  }

  .mission-copy,
  .team-head {
    grid-column: 1 / -1;
    grid-row: auto;
  }

  .mission-media {
    grid-column: 1 / -1;
    grid-row: auto;
    position: static;
    margin-bottom: var(--space-s);
  }

  .mission-media .frame {
    aspect-ratio: 16 / 10;
    min-height: 0;
  }

  .cta-panel {
    grid-template-columns: 1fr;
    justify-items: start;
  }
}

@media (max-width: 700px) {
  .hero-copy h1 {
    max-width: none;
  }

  .hero-media {
    grid-column: 1 / -1;
  }

  .team-list {
    grid-template-columns: 1fr;
    gap: var(--space-l);
  }

  .team-row,
  .team-row:nth-child(2),
  .team-row:nth-child(3) {
    display: grid;
    grid-template-columns: 112px minmax(0, 1fr);
    gap: var(--space-m);
    align-items: start;
    margin-top: 0;
  }

  .team-row .frame {
    margin: 0;
  }

  .team-row .frame::before,
  .team-row .frame::after {
    display: none;
  }

  .cta-actions,
  .cta-actions .btn {
    width: 100%;
  }
}