/* ==========================================================================
   Eefje — Components: logo, header, footer, cards, stamps, badges, orbs, forms
   ========================================================================== */

/* --------------------------------------------------------------------------
   Logo — the source-of-truth mark. Sized off --logo-size (wordmark height).
   Everything else scales from it. See _logo.html.twig.
   -------------------------------------------------------------------------- */
.logo {
    --logo-size: 96px;
    display: inline-flex;
    color: var(--logo-color, var(--grond));
    font-family: var(--font-body);
}

.logo__wordmark {
    font-family: var(--font-wordmark);
    font-weight: 600;
    font-size: var(--logo-size);
    line-height: 0.8;
    letter-spacing: -0.03em;
    color: inherit;
    display: block;
    white-space: nowrap;
}

.logo__tagline {
    font-family: var(--font-display);
    font-style: italic;
    font-size: calc(var(--logo-size) * 0.3);
    line-height: 1;
    color: inherit;
    white-space: nowrap;
}

.logo__icon {
    display: block;
    flex: none;
    overflow: visible;
    color: inherit;
}

.logo__markblock {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: calc(var(--logo-size) * 0.02);
}

/* variant: wordmark (tagline centered under eefje) */
.logo--wordmark {
    flex-direction: column;
    align-items: center;
    gap: calc(var(--logo-size) * 0.06);
}

/* variant: stacked (icon over wordmark+tagline) */
.logo--stacked {
    flex-direction: column;
    align-items: center;
    gap: calc(var(--logo-size) * 0.12);
}
.logo--stacked .logo__icon {
    height: var(--logo-size);
    width: auto;
}

/* variant: horizontal (icon left of wordmark, tagline floats under wordmark) */
.logo--horizontal {
    align-items: center;
    gap: calc(var(--logo-size) * 0.15);
    padding-bottom: calc(var(--logo-size) * 0.34);
}
.logo--horizontal .logo__icon {
    height: calc(var(--logo-size) * 0.88);
    width: auto;
}
.logo--horizontal .logo__markblock {
    position: relative;
}
.logo--horizontal .logo__tagline {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    margin-top: calc(var(--logo-size) * 0.04);
}

/* variant: compact (icon + wordmark, no tagline) */
.logo--compact {
    align-items: center;
    gap: calc(var(--logo-size) * 0.15);
}
.logo--compact .logo__icon {
    height: calc(var(--logo-size) * 0.88);
    width: auto;
}

/* --------------------------------------------------------------------------
   Site header — sticky, per-theme
   -------------------------------------------------------------------------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 60;
    background: var(--header-blur);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    color: var(--text);
    border-bottom: 1px solid var(--header-border);
    transition: background 0.3s ease;
}

.site-header__inner {
    max-width: var(--container);
    margin-inline: auto;
    padding: 16px var(--gutter);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.site-header__home {
    display: inline-flex;
    align-items: center;
    transition: opacity 0.35s ease, transform 0.35s ease;
}

/* home: hide until scrolled past hero logo (JS toggles .is-scrolled on header) */
.site-header--home-reveal .site-header__home {
    opacity: 0;
    transform: translateY(-6px);
    pointer-events: none;
}
.site-header--home-reveal.is-scrolled .site-header__home {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.nav {
    display: flex;
    align-items: center;
    gap: 30px;
    font-size: 1rem;
    font-weight: 500;
}

.nav__link {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    cursor: pointer;
}

.nav__link::after {
    content: '';
    height: 5px;
    width: 5px;
    border-radius: 50%;
    background: var(--accent);
    opacity: 0;
    transition: opacity 0.2s ease;
}

.nav__link[aria-current='page']::after {
    opacity: 1;
}

.nav__cta {
    background: var(--accent);
    color: var(--bg);
    padding: 10px 24px;
    border-radius: var(--r-pill);
    font-weight: 600;
}

.nav__burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
    margin: -8px;
    background: none;
    border: 0;
    cursor: pointer;
}
.nav__burger span {
    width: 24px;
    height: 2px;
    background: var(--text);
}

.nav-mobile {
    display: none;
    flex-direction: column;
    padding: 6px 22px 18px;
    border-top: 1px solid var(--header-border);
}
.nav-mobile[data-open='true'] {
    display: flex;
}
.nav-mobile__link {
    padding: 15px 2px;
    font-size: 1.1875rem;
    border-bottom: 1px solid var(--header-border);
}
.nav-mobile__link:last-of-type {
    border-bottom: 0;
}
.nav-mobile__cta {
    margin-top: 14px;
    background: var(--accent);
    color: var(--bg);
    padding: 14px;
    border-radius: var(--r-pill);
    text-align: center;
    font-weight: 600;
}

@media (max-width: 820px) {
    .nav {
        display: none;
    }
    .nav__burger {
        display: flex;
    }
}

/* --------------------------------------------------------------------------
   Site footer — grond band
   -------------------------------------------------------------------------- */
.site-footer {
    background: var(--grond);
    color: var(--room);
    padding: 70px var(--gutter) 44px;
    flex-shrink: 0;
}
.site-footer__inner {
    max-width: var(--container);
    margin-inline: auto;
    display: flex;
    flex-direction: column;
    gap: 44px;
}
.site-footer__cols {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 40px;
    align-items: start;
}
.site-footer__mission {
    font-size: var(--fs-body);
    line-height: 1.6;
    margin: 18px 0 0;
    max-width: 340px;
    color: var(--on-dark-70);
}
.footer-col {
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.footer-col__head {
    font-size: var(--fs-eyebrow);
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: var(--oker);
}
.footer-col a {
    font-size: var(--fs-body);
    color: var(--on-dark-85);
    transition: color 0.2s ease;
}
.footer-col a:hover {
    color: var(--room);
}
.site-footer__baseline {
    border-top: 1px solid var(--border-dark-15);
    padding-top: 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}
.site-footer__baseline small {
    font-size: 0.875rem;
    color: var(--on-dark-55);
}
/* Maker credit — brand hart sits inline on the text baseline. */
.site-footer__credit {
    display: inline-flex;
    align-items: center;
    gap: 0.34em;
}
.site-footer__heart {
    display: inline-flex;
    color: var(--oker);
}
.site-footer__heart .logo__icon {
    display: block;
    height: 0.9em;
    width: auto;
    transform: translateY(0.02em);
}
.site-footer__credit a {
    color: var(--on-dark-85);
    text-decoration: underline;
    text-underline-offset: 0.22em;
    text-decoration-thickness: 1px;
    text-decoration-color: var(--border-dark-15);
    transition: color 0.2s ease, text-decoration-color 0.2s ease;
}
.site-footer__credit a:hover {
    color: var(--room);
    text-decoration-color: currentColor;
}
.site-footer__sign {
    font-family: var(--font-display);
    font-style: italic;
    font-size: 1.25rem;
    color: var(--zand);
}

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

/* --------------------------------------------------------------------------
   Section heading row (H2 + right-aligned eyebrow)
   -------------------------------------------------------------------------- */
.section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}
.section-head__title {
    font-family: var(--font-display);
    font-weight: 300;
    font-size: var(--fs-display-md);
    line-height: 1;
    margin: 0;
}

/* --------------------------------------------------------------------------
   Stamp — pressed-on seal outside a card's top-right corner
   -------------------------------------------------------------------------- */
.stamp {
    position: absolute;
    top: -16px;
    right: 24px;
    width: 66px;
    height: 66px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--sh-stamp);
}
.stamp img {
    height: 32px;
    width: auto;
}

/* --------------------------------------------------------------------------
   Subject card (home — four themes)
   -------------------------------------------------------------------------- */
.subjects {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px 24px;
    padding-top: 14px;
}
.subject-card {
    position: relative;
    border-radius: var(--r-card);
    padding: 38px 40px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    min-height: 196px;
    transition: transform var(--dur-hover) ease, box-shadow var(--dur-hover) ease;
}
.subject-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--sh-card-hover);
}
/* TEMP — while the cards carry no link, drop the hover lift so they don't read as
   clickable. Remove this rule (and .subjects--unlinked in homepage.html.twig)
   when the links come back. */
.subjects--unlinked .subject-card:hover {
    transform: none;
    box-shadow: none;
}
.subject-card__title {
    font-family: var(--font-display);
    font-style: italic;
    font-size: var(--fs-card-title);
    line-height: 1;
    margin: 0;
}
.subject-card__body {
    font-size: var(--fs-body);
    line-height: 1.55;
    margin: 0;
    max-width: 360px;
}
.subject-card__link {
    font-size: var(--fs-body-sm);
    font-weight: 600;
    margin-top: auto;
}

/* per-theme colour worlds for the subject cards */
.subject-card--somi {
    background: var(--zand);
    color: var(--oxbloed);
}
.subject-card--somi .subject-card__title,
.subject-card--somi .subject-card__link {
    color: var(--kleigrond);
}
.subject-card--somi .stamp {
    background: var(--grond);
    transform: rotate(-9deg);
}

.subject-card--cirkels {
    background: var(--kleigrond);
    color: var(--on-dark-90);
}
.subject-card--cirkels .subject-card__title,
.subject-card--cirkels .subject-card__link {
    color: var(--room);
}
.subject-card--cirkels .stamp {
    background: var(--oxbloed);
    transform: rotate(8deg);
}

.subject-card--indo {
    background: var(--grond);
    color: var(--on-dark-90);
}
.subject-card--indo .subject-card__title,
.subject-card--indo .subject-card__link {
    color: var(--oker);
}
.subject-card--indo .stamp {
    background: var(--kleigrond);
    transform: rotate(-7deg);
}

.subject-card--1op1 {
    background: var(--room-2);
    color: var(--oxbloed);
}
.subject-card--1op1 .subject-card__title,
.subject-card--1op1 .subject-card__link {
    color: var(--oxbloed);
}
.subject-card--1op1 .stamp {
    background: var(--oker);
    transform: rotate(9deg);
}

/* --------------------------------------------------------------------------
   Date badge
   -------------------------------------------------------------------------- */
.date-badge {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex: none;
    background: var(--zand);
    color: var(--grond);
}
.date-badge strong {
    font-size: 1.25rem;
    line-height: 1;
}
.date-badge span {
    font-size: 0.6875rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}
.date-badge--lg {
    width: 76px;
    height: 76px;
}
.date-badge--lg strong {
    font-size: 1.5rem;
}
.date-badge--lg span {
    font-size: 0.8125rem;
    letter-spacing: 0.1em;
}

/* --------------------------------------------------------------------------
   Event card (featured) + event list row
   -------------------------------------------------------------------------- */
.event-featured {
    background: var(--oxbloed);
    color: var(--room);
    border-radius: 26px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform var(--dur-hover) ease, box-shadow var(--dur-hover) ease;
}
.event-featured:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 40px rgba(52, 33, 26, 0.24);
}
.event-featured__media {
    position: relative;
    height: 260px;
}
.event-featured__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.event-pill {
    position: absolute;
    left: 18px;
    top: 18px;
    background: var(--accent, var(--kleigrond));
    color: var(--room);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    padding: 8px 16px;
    border-radius: var(--r-pill);
}
.event-featured__badge {
    position: absolute;
    right: 18px;
    top: 18px;
    box-shadow: var(--sh-badge);
    background: var(--room);
    width: 64px;
    height: 64px;
}
.event-featured__badge span:last-child {
    color: var(--kleigrond);
}
.event-featured__body {
    padding: 30px 34px 34px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.event-featured__title {
    font-family: var(--font-display);
    font-weight: 400;
    font-size: clamp(1.75rem, 1.3rem + 1.4vw, 2.125rem);
    line-height: 1.1;
    margin: 0;
}
.event-featured__meta {
    font-size: 1rem;
    color: var(--on-dark-75);
}
.event-featured__excerpt {
    font-size: var(--fs-body);
    line-height: 1.55;
    margin: 6px 0 0;
    color: var(--on-dark-82);
}
.event-featured .link-arrow {
    color: var(--zand);
    margin-top: 8px;
}

.event-list {
    background: var(--room-2);
    border-radius: 26px;
    padding: 34px 36px;
    display: flex;
    flex-direction: column;
}
.event-list__label {
    font-size: var(--fs-eyebrow);
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--kleigrond);
    margin: 0 0 8px;
}
.event-row {
    position: relative;
    overflow: hidden;
    display: grid;
    grid-template-columns: 58px 1fr;
    gap: 20px;
    align-items: center;
    padding: 20px 4px;
    border-top: 1px solid var(--line-warm-2);
    transition: background var(--dur-hover) ease;
}
.event-row:last-of-type {
    border-bottom: 1px solid var(--line-warm-2);
}
.event-row:hover {
    background: #f6ead5;
}
.event-row__watermark {
    position: absolute;
    right: 6px;
    top: 50%;
    transform: translateY(-50%) rotate(-6deg);
    height: 88px;
    width: auto;
    opacity: 0.07;
    pointer-events: none;
}
.event-row__text {
    display: flex;
    flex-direction: column;
    gap: 3px;
}
.event-row__text strong {
    font-size: 1.1875rem;
    font-weight: 600;
    color: var(--grond);
}
.event-row__text span {
    font-size: var(--fs-body-sm);
    color: var(--muted-brown);
}
.event-list__all {
    font-size: var(--fs-body-sm);
    font-weight: 600;
    color: var(--kleigrond);
    margin-top: 20px;
}

/* --------------------------------------------------------------------------
   Breathing orb (Somi)
   -------------------------------------------------------------------------- */
.orb {
    position: relative;
    width: 340px;
    height: 340px;
    max-width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: none;
}
.orb__layer {
    position: absolute;
    border-radius: 50%;
    animation: ef-adem 9s ease-in-out infinite;
}
.orb__layer--1 {
    inset: 0;
    background: var(--zand);
    opacity: 0.35;
}
.orb__layer--2 {
    inset: 44px;
    background: var(--zand);
    opacity: 0.55;
    animation-delay: 0.25s;
}
.orb__layer--3 {
    inset: 88px;
    background: var(--oxbloed);
    animation-delay: 0.5s;
    display: flex;
    align-items: center;
    justify-content: center;
}
.orb__layer--3 img {
    height: 52px;
    width: auto;
}
.orb--sm {
    width: 72px;
    height: 72px;
}
.orb--sm .orb__layer--3 {
    inset: 22px;
}

/* --------------------------------------------------------------------------
   Testimonial (arch card)
   -------------------------------------------------------------------------- */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}
.testimonial {
    background: var(--room-2);
    border-radius: var(--r-arch);
    padding: 56px 34px 40px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    text-align: center;
    align-items: center;
}
.testimonial__dot {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--oker);
    overflow: hidden;
}
.testimonial__quote {
    font-family: var(--font-display);
    font-style: italic;
    font-size: 1.625rem;
    line-height: 1.35;
    margin: 0;
    color: var(--oxbloed);
}
.testimonial__by {
    font-size: var(--fs-body-sm);
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--muted-brown-2);
}

/* --------------------------------------------------------------------------
   Schedule / agenda rows
   -------------------------------------------------------------------------- */
.schedule {
    display: flex;
    flex-direction: column;
}
.schedule-row {
    display: grid;
    grid-template-columns: 170px 1fr auto;
    gap: 26px;
    align-items: center;
    padding: 24px 6px;
    border-top: 1px solid var(--border-dark-25);
}
.schedule-row:last-child {
    border-bottom: 1px solid var(--border-dark-25);
}
.schedule-row__when {
    font-size: 1.25rem;
    font-weight: 600;
}
.schedule-row__what {
    font-size: 1.25rem;
    color: var(--on-dark-85);
}
.btn--schedule {
    border: 1.5px solid var(--zand);
    color: var(--zand);
    background: transparent;
    padding: 9px 22px;
    font-size: var(--fs-body-sm);
}
.btn--schedule:hover {
    background: var(--zand);
    color: var(--oxbloed);
    border-color: var(--zand);
}

.agenda-row {
    display: grid;
    grid-template-columns: 110px 1fr auto;
    gap: 28px;
    align-items: center;
    padding: 24px 8px;
    border-top: 1px solid var(--line-warm);
    transition: background var(--dur-hover) ease;
}
.agenda-row:last-child {
    border-bottom: 1px solid var(--line-warm);
}
.agenda-row:hover {
    background: var(--room-2);
}
.agenda-row__text strong {
    display: block;
    font-size: 1.375rem;
    font-weight: 600;
}
.agenda-row__text span {
    font-size: 1.0625rem;
    color: var(--muted-brown);
}

/* --------------------------------------------------------------------------
   Contact form (dark)
   -------------------------------------------------------------------------- */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.contact-form__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}
.field {
    width: 100%;
    background: var(--input-fill-dark);
    border: 1px solid var(--border-dark-22);
    border-radius: var(--r-input);
    padding: 15px 16px;
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--room);
    outline: none;
    transition: border-color 0.2s ease;
}
.field::placeholder {
    color: var(--on-dark-60);
}
.field:focus {
    border-color: var(--oker);
}
textarea.field {
    resize: vertical;
    min-height: 120px;
}
.or-divider {
    display: flex;
    align-items: center;
    gap: 16px;
}
.or-divider span:first-child,
.or-divider span:last-child {
    height: 1px;
    flex: 1;
    background: rgba(241, 230, 212, 0.2);
}
.or-divider small {
    font-size: 0.875rem;
    color: var(--on-dark-60);
}
.form-note {
    font-size: var(--fs-body-sm);
    color: var(--on-dark-75);
}
.form-note--error {
    color: #e8b4a6;
}
.form-note--ok {
    color: var(--zand);
}

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

/* --------------------------------------------------------------------------
   Generic responsive: multi-col grids collapse
   -------------------------------------------------------------------------- */
@media (max-width: 900px) {
    .subjects,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
}
