/* Flow Inside: homepage Soft Grove */

/* Decorative soft orbs */
.orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}

.orb--mist {
  background: var(--mist);
  width: min(48vw, 28rem);
  height: min(48vw, 28rem);
  opacity: 0.9;
}

.orb--leaf {
  background: color-mix(in srgb, var(--leaf) 18%, transparent);
  width: min(36vw, 20rem);
  height: min(36vw, 20rem);
}

/* Orbs live between sections so they can overlap freely */
.home-main {
  position: relative;
  overflow-x: clip;
}

.orb-anchor {
  position: relative;
  height: 0;
  z-index: 0;
  pointer-events: none;
}

.orb-anchor .orb {
  position: absolute;
  will-change: transform;
}

.orb-anchor__story {
  top: -2rem;
  left: -10%;
  width: min(42vw, 22rem);
  height: min(42vw, 22rem);
  opacity: 0.7;
}

.orb-anchor__care {
  top: 10rem;
  left: -14%;
  width: min(40vw, 20rem);
  height: min(40vw, 20rem);
  opacity: 0.55;
}

.orb-anchor__work {
  top: -17rem;
  right: -10%;
  left: auto;
  width: min(40vw, 20rem);
  height: min(40vw, 20rem);
  opacity: 0.65;
}

.hero,
.story,
.disciplines,
.care,
.people,
.workshops,
.practical {
  overflow: visible;
}

.hero > .wrap,
.story > .wrap,
.disciplines > .wrap,
.care > .wrap,
.people > .wrap,
.workshops > .wrap,
.practical > .wrap {
  position: relative;
  z-index: 1;
}

/* === HERO (source of truth: keep intact) === */
.hero {
  position: relative;
  padding: var(--s-4) 0 var(--s-6);
}

.hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: var(--s-5);
  align-items: center;
}

@media (min-width: 900px) {
  .hero__grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
    gap: clamp(2rem, 5vw, 4rem);
    min-height: min(78vh, 640px);
  }
}

@media (min-width: 1600px) {
  .hero__grid {
    min-height: min(72vh, 720px);
  }
}

.hero__copy {
  position: relative;
  z-index: 2;
}

.hero__title {
  font-size: var(--text-2xl);
  margin: 0 0 var(--s-4);
  max-width: 10ch;
  color: var(--ink);
}

.hero__title em {
  font-style: italic;
  font-weight: 500;
  color: var(--leaf);
}

.hero__text {
  font-size: var(--text-md);
  color: var(--ink-soft);
  max-width: 28rem;
  margin: 0 0 var(--s-5);
  line-height: 1.58;
}

.hero__visual {
  position: relative;
  z-index: 1;
}

.hero__visual .orb--mist {
  top: -12%;
  right: -18%;
}

.hero__visual .orb--leaf {
  bottom: -8%;
  left: -12%;
}

.hero__main-pic {
  position: relative;
  z-index: 1;
  border-radius: 48% 52% 42% 58% / 42% 38% 62% 58%;
  overflow: hidden;
  aspect-ratio: 1;
  max-width: 32rem;
  margin-inline: auto;
  box-shadow: var(--shadow-soft);
}

@media (prefers-reduced-motion: no-preference) {
  .hero__main-pic {
    animation: soft-drift 18s ease-in-out infinite;
  }
}

@keyframes soft-drift {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(1.25%, -1.1%); }
}

.hero__main-pic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: left center;
}

.hero__float {
  position: absolute;
  z-index: 2;
  width: min(38%, 9.5rem);
  aspect-ratio: 1;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid var(--paper);
  box-shadow: var(--shadow-float);
  bottom: 6%;
  left: -2%;
}

.hero__float img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
}

@media (max-width: 640px) {
  .hero {
    padding-bottom: var(--s-5);
  }

  .hero__float {
    width: 28%;
    left: 4%;
    bottom: 4%;
    border-width: 3px;
  }

  .hero__main-pic {
    max-width: 22rem;
  }

  .hero__main-pic img {
    object-position: center;
  }
}

/* === STORY === */
.story {
  position: relative;
  padding: var(--s-5) 0 var(--s-7);
}

.story__grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: var(--s-5);
  align-items: center;
}

@media (min-width: 900px) {
  .story__grid {
    grid-template-columns: 1.05fr 0.95fr;
    gap: clamp(2rem, 5vw, 4.5rem);
  }
}

.story__visual {
  position: relative;
  max-width: 26rem;
  margin-inline: auto;
}

@media (max-width: 639px) {
  .story__visual {
    display: none;
  }
}

@media (min-width: 900px) {
  .story__visual {
    max-width: 28rem;
    margin-inline: 0;
  }
}

.story__main {
  aspect-ratio: 5 / 4;
  width: 100%;
}

.story__main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}

.story__copy h2 {
  margin-bottom: var(--s-4);
  max-width: 15ch;
}

.story__copy p {
  color: var(--ink-soft);
  max-width: 32rem;
  line-height: 1.68;
}

.story__copy p + p {
  margin-top: 0.85rem;
}

/* === DISCIPLINES ===
   Editorial index: title + photo composition + open typographic list.
   No card/blob container: same language as story / workshops. */
.disciplines {
  position: relative;
  padding: var(--s-6) 0 var(--s-7);
}

.disciplines__layout {
  position: relative;
  z-index: 1;
  display: grid;
  gap: var(--s-5);
  align-items: start;
}

@media (min-width: 900px) {
  .disciplines__layout {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    grid-template-areas:
      "intro ."
      "index visual";
    column-gap: clamp(2.5rem, 6vw, 5rem);
    row-gap: var(--s-4);
    align-items: start;
  }

  .disciplines__intro { grid-area: intro; }
  .disciplines__index { grid-area: index; }
  .disciplines__visual {
    grid-area: visual;
    align-self: start;
    /* Omhoog in de ruimte tussen "onder één dak" en "Kinesitherapie" */
    margin-top: calc(var(--s-4) * -1 - 0.35rem);
  }
}

.disciplines__intro h2 {
  margin-bottom: 0;
  max-width: 12ch;
  line-height: 1.14;
}

.disciplines__visual {
  position: relative;
  max-width: 22rem;
  margin-inline: auto;
  width: 100%;
}

@media (min-width: 900px) {
  .disciplines__visual {
    max-width: 26rem;
    margin-inline: 0 0 auto;
  }
}

.disciplines__pic {
  aspect-ratio: 1;
  width: 100%;
}

.disciplines__pic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 45%;
}

/* Open typographic index: hairlines like workshops, rhythm like Soft Grove */
.dex {
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: 0;
}

.dex__item {
  display: flex;
  align-items: baseline;
  align-self: stretch;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--ink);
  padding: 1.05rem 0;
  border-bottom: 1px solid var(--line);
  transition: color var(--dur) var(--ease), transform var(--dur) var(--ease);
}

.dex__item:first-child {
  border-top: 1px solid var(--line);
}

.dex__item:hover {
  color: var(--leaf-deep);
  transform: translateX(5px);
}

.dex__item:focus-visible {
  border-radius: 0.35rem;
  outline-offset: 4px;
}

@media (prefers-reduced-motion: reduce) {
  .dex__item:hover { transform: none; }
}

.dex__name {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.022em;
  line-height: 1.2;
}

.dex__item--primary .dex__name {
  font-size: clamp(1.45rem, 2.55vw, 2.05rem);
  font-weight: 600;
  font-style: normal;
  color: var(--ink);
}

.dex__item--soft .dex__name {
  font-size: clamp(1.3rem, 2.15vw, 1.75rem);
  font-style: italic;
  font-weight: 500;
  color: var(--ink);
}

.dex__item--soft {
  padding-left: 1.15rem;
}

.dex__item--soft:hover .dex__name { color: var(--leaf-deep); }

.disciplines__index {
  max-width: 32rem;
}

.disciplines__cta {
  margin: 0;
  padding-top: 1.25rem;
}

@media (max-width: 639px) {
  .disciplines {
    padding: var(--s-5) 0 var(--s-6);
  }

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

  .disciplines__visual {
    display: none;
  }

  .disciplines__index {
    max-width: none;
  }

  .dex__item--soft {
    padding-left: 0.85rem;
  }

  .dex__item {
    padding: 0.95rem 0;
  }
}

/* === CARE FLOW === */
.care {
  position: relative;
  padding: var(--s-7) 0;
}

.care__intro {
  max-width: 30rem;
  margin-bottom: var(--s-6);
}

.care__intro h2 {
  margin-bottom: 0;
}

.care-block {
  display: grid;
  gap: var(--s-4);
  margin-bottom: clamp(2.75rem, 6.5vw, 4.5rem);
  align-items: center;
}

.care-block:last-of-type {
  margin-bottom: 0;
}

@media (min-width: 880px) {
  .care-block {
    grid-template-columns: 1fr 1fr;
    gap: clamp(2rem, 5vw, 4rem);
  }

  .care-block--flip .care-block__visual { order: 2; }
  .care-block--flip .care-block__copy { order: 1; }
}

.care-block__visual {
  position: relative;
  max-width: 24rem;
  margin-inline: auto;
}

.care-block__orb {
  top: -12%;
  left: -18%;
  z-index: 0;
  width: min(70%, 14rem);
  height: min(70%, 14rem);
  opacity: 0.75;
}

.care-block__pic {
  position: relative;
  z-index: 1;
}

@media (min-width: 880px) {
  .care-block__visual {
    max-width: 26rem;
  }

  .care-block--flip .care-block__visual {
    margin-inline: 0 0 auto;
  }

  .care-block:not(.care-block--flip) .care-block__visual {
    margin-inline: 0 auto 0 0;
  }
}

.care-block__pic {
  aspect-ratio: 1;
  width: 100%;
}

.care-block__pic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.care-block:nth-of-type(1) .care-block__pic img { object-position: center 35%; }
.care-block:nth-of-type(2) .care-block__pic img { object-position: center 85%; }
.care-block:nth-of-type(3) .care-block__pic img { object-position: right center; }

.care-block__chip {
  position: absolute;
  z-index: 2;
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--leaf-deep);
  background: var(--paper);
  padding: 0.55rem 0.95rem;
  border-radius: var(--r-full);
  box-shadow:
    0 6px 18px rgba(42, 50, 36, 0.14),
    0 16px 40px rgba(92, 129, 60, 0.12);
  bottom: 8%;
  left: 4%;
}

.care-block__copy h3 {
  font-size: clamp(1.45rem, 2.3vw, 2rem);
  margin-bottom: var(--s-3);
  max-width: 16ch;
  line-height: 1.2;
}

.care-block__copy p {
  color: var(--ink-soft);
  max-width: 30rem;
  margin: 0;
  line-height: 1.68;
}

/* === PEOPLE === */
.people {
  position: relative;
  padding: var(--s-7) 0;
}

.people__head {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: end;
  gap: var(--s-3) var(--s-4);
  margin-bottom: var(--s-6);
}

.people__head h2 {
  max-width: 12ch;
}

.people__feature {
  position: relative;
  z-index: 1;
  display: grid;
  gap: var(--s-5);
  align-items: center;
  margin-bottom: var(--s-6);
}

@media (min-width: 900px) {
  .people__feature {
    grid-template-columns: 1fr 1fr;
    gap: clamp(2rem, 5vw, 4rem);
  }
}

.people__feature-visual {
  position: relative;
  max-width: 26rem;
  margin-inline: auto;
}

@media (min-width: 900px) {
  .people__feature-visual {
    max-width: 28rem;
    margin-inline: 0;
  }
}

.people__feature-pic {
  display: block;
  aspect-ratio: 1;
  width: 100%;
  text-decoration: none;
  color: inherit;
}

.people__feature-pic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
}

.people__feature-copy h3 {
  font-size: clamp(1.7rem, 3vw, 2.45rem);
  margin-bottom: 0.3rem;
  letter-spacing: -0.025em;
}

.people__feature-copy h3 a {
  color: inherit;
  text-decoration: none;
}

.people__feature-copy h3 a:hover {
  color: var(--leaf-deep);
}

.people__feature-role {
  font-weight: 600;
  color: var(--leaf);
  margin: 0 0 var(--s-3);
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  word-spacing: 0.15em;
}

.people__feature-copy p {
  color: var(--ink-soft);
  max-width: 30rem;
  line-height: 1.68;
}

.people__cluster {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: end;
  gap: clamp(1.1rem, 3vw, 2.1rem);
  padding: clamp(0.5rem, 2vw, 1.5rem) 0 0;
}

.people__member {
  text-decoration: none;
  color: inherit;
  text-align: center;
  width: min(100%, 10.5rem);
  transition: transform var(--dur) var(--ease);
}

.people__member:hover {
  color: inherit;
  transform: translateY(-4px);
}

.people__member:focus-visible {
  border-radius: 1rem;
}

@media (prefers-reduced-motion: reduce) {
  .people__member:hover { transform: none; }
}

.people__member:nth-child(2) {
  width: min(100%, 12.5rem);
  margin-bottom: 1.25rem;
}

.people__member:nth-child(3) {
  width: min(100%, 9.75rem);
  margin-bottom: 0.35rem;
}

.people__member-pic {
  aspect-ratio: 1;
  width: 100%;
  margin-bottom: 0.85rem;
}

.people__member-pic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.people__member:nth-child(1) .people__member-pic img { object-position: center top; }
.people__member:nth-child(2) .people__member-pic img { object-position: center 20%; }
.people__member:nth-child(3) .people__member-pic img { object-position: center 85%; }

.people__member-name {
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-weight: 600;
  color: var(--ink);
  margin: 0 0 0.2rem;
  letter-spacing: -0.015em;
}

.people__member-role {
  font-size: 0.84rem;
  color: var(--mute);
  margin: 0;
  line-height: 1.4;
}

@media (max-width: 640px) {
  .people__cluster {
    gap: 1.25rem 1rem;
  }

  .people__member,
  .people__member:nth-child(2),
  .people__member:nth-child(3) {
    width: calc(50% - 0.5rem);
    margin-bottom: 0;
  }

  .people__member:nth-child(3) {
    width: min(100%, 11rem);
  }
}

/* === WORKSHOPS === */
.workshops {
  position: relative;
  padding: var(--s-7) 0 var(--s-7);
}

.workshops__grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: var(--s-5);
  align-items: start;
}

@media (min-width: 900px) {
  .workshops__grid {
    grid-template-columns: 1fr 1fr;
    gap: clamp(2rem, 5vw, 4rem);
    align-items: center;
  }
}

.workshops__copy h2 {
  margin-bottom: var(--s-3);
  max-width: 15ch;
}

.workshops__copy > p {
  color: var(--ink-soft);
  max-width: 28rem;
  margin-bottom: var(--s-4);
  line-height: 1.68;
}

.workshops__visual {
  position: relative;
  max-width: 24rem;
  margin-inline: 0;
}

@media (max-width: 639px) {
  .workshops__visual {
    max-width: 20rem;
    margin-inline: 0;
  }
}

.workshops__pic {
  aspect-ratio: 1;
  width: 100%;
}

.workshops__pic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 15% center;
}

.workshops__list {
  display: grid;
  gap: 0;
}

.workshops__item {
  padding: 1.15rem 0;
  border-bottom: 1px solid var(--line);
}

.workshops__item:first-child {
  padding-top: 0;
}

.workshops__item h3 {
  font-size: 1.28rem;
  margin-bottom: 0.25rem;
  letter-spacing: -0.015em;
}

.workshops__item p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.95rem;
  line-height: 1.55;
}

.workshops__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem 1rem;
  margin-top: 0.45rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--leaf-deep);
}

.workshops__cta {
  margin-top: var(--s-4);
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.25rem;
  align-items: center;
}

/* Practical styles live in components.css (shared with team page) */
