:root {
  --navy: #0f172a;
  --ink: #101433;
  --green: #146c43;
  --mint: #dee9e3;
  --lime: #4ade80;
  --muted: #64748b;
  --slate-300: #cbd5e1;
  --slate-100: #f1f5f9;
  --inactive: #94a3b8;
  --quote: #475569;
  --white: #ffffff;
  --font-display: "roc-grotesk", "Wix Madefor Display", ui-sans-serif, system-ui, sans-serif;
  --font-body: "DM Sans", ui-sans-serif, system-ui, sans-serif;
  --section-pad: 4rem;
  --section-pad-lg: 5rem;
  --section-pad-xl: 7rem;
  --container: 1400px;
  --radius: 0.5rem;
}

@media (min-width: 768px) {
  :root {
    --section-pad: 6rem;
    --section-pad-lg: 5rem;
    --section-pad-xl: 7rem;
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.625;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

video {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

h1,
h2,
h3,
h4,
h5 {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -0.025em;
  margin: 0;
  color: inherit;
}

/* One heading scale site-wide (also inside rich text / .joele-prose). */
h3 {
  font-size: 1.25rem;
  line-height: 1.375;
}

@media (min-width: 768px) {
  h3 {
    font-size: 1.5rem;
  }
}

h4 {
  font-size: 1.125rem;
  line-height: 1.375;
}

@media (min-width: 768px) {
  h4 {
    font-size: 1.25rem;
  }
}

h5 {
  font-size: 1rem;
  line-height: 1.375;
}

.container {
  width: min(100% - 3rem, var(--container));
  margin-inline: auto;
}

@media (min-width: 768px) {
  .container {
    width: min(100% - 5rem, var(--container));
  }
}

/* px-6 = 1.5rem each side → 3rem total; md:px-10 = 2.5rem → 5rem total */

.agency-section--bg-white {
  background: var(--white);
  color: var(--ink);
}

.agency-section--bg-ink {
  background: var(--ink);
  color: var(--white);
}

.agency-section--bg-mint {
  background: var(--mint);
  color: var(--ink);
}

.agency-section--bg-green {
  background: var(--green);
  color: var(--white);
}

.agency-section--pad-both {
  padding-block: var(--section-pad);
}

.agency-section--pad-top {
  padding-top: var(--section-pad);
  padding-bottom: 0;
}

.agency-section--pad-bottom {
  padding-top: 0;
  padding-bottom: var(--section-pad);
}

.agency-section--pad-none {
  padding-block: 0;
}

.joele-cta.agency-section--pad-both {
  padding-block: 5rem;
}

@media (min-width: 768px) {
  .joele-cta.agency-section--pad-both {
    padding-block: 7rem;
  }
}

.joele-heading {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.875rem; /* text-3xl */
  line-height: 1.05;
  letter-spacing: -0.025em;
  margin: 0 0 1rem;
  color: var(--ink);
}

@media (min-width: 768px) {
  .joele-heading {
    font-size: 3rem; /* md:text-5xl */
  }
}

.joele-heading--xl {
  font-size: clamp(2.2rem, 5vw, 4rem);
  line-height: 1.02;
  max-width: 48rem;
}

.joele-heading--light,
.agency-section--bg-ink .joele-heading {
  color: #fff;
}

.joele-lede {
  color: var(--muted);
  font-size: 1.125rem; /* text-lg */
  line-height: 1.625;
  font-weight: 400;
  max-width: 36rem;
  margin: 0 0 1.5rem;
}

.joele-lede.joele-prose p {
  color: inherit;
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
  max-width: none;
  margin: 0 0 1rem;
}

.joele-lede.joele-prose p:last-child {
  margin-bottom: 0;
}

.joele-eyebrow {
  display: block;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.875rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 1.5rem;
}

.joele-prose p {
  color: var(--muted);
  font-size: 1.0625rem; /* text-[17px] */
  font-weight: 300; /* font-thin */
  line-height: 1.625;
  max-width: 28rem;
  margin: 0 0 1.5rem;
}

.joele-prose p:last-child {
  margin-bottom: 0;
}

.joele-prose h3,
.joele-prose h4,
.joele-prose h5 {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -0.025em;
  color: var(--ink);
  margin: 1.5rem 0 0.75rem;
  max-width: none;
}

.joele-prose h3:first-child,
.joele-prose h4:first-child,
.joele-prose h5:first-child {
  margin-top: 0;
}

.joele-prose h3 {
  font-size: 1.25rem;
  line-height: 1.375;
}

@media (min-width: 768px) {
  .joele-prose h3 {
    font-size: 1.5rem;
  }
}

.joele-prose h4 {
  font-size: 1.125rem;
  line-height: 1.375;
}

@media (min-width: 768px) {
  .joele-prose h4 {
    font-size: 1.25rem;
  }
}

.joele-prose h5 {
  font-size: 1rem;
  line-height: 1.375;
}

.joele-prose ul,
.joele-prose ol {
  color: var(--muted);
  font-size: 1.0625rem;
  font-weight: 300;
  line-height: 1.625;
  max-width: 28rem;
  margin: 0 0 1.5rem;
  padding-left: 1.25rem;
}

.joele-prose a {
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.agency-section--bg-ink .joele-prose h3,
.agency-section--bg-ink .joele-prose h4,
.agency-section--bg-ink .joele-prose h5,
.agency-section--bg-green .joele-prose h3,
.agency-section--bg-green .joele-prose h4,
.agency-section--bg-green .joele-prose h5 {
  color: #fff;
}

.joele-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.95rem;
  padding: 0.75rem 1.5rem;
  border-radius: 3px;
  border: 0;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.joele-btn--green {
  background: var(--green);
  color: #fff;
}

.joele-btn--green:hover {
  background: #fff;
  color: var(--navy);
}

.joele-btn--header {
  padding: 0.625rem 1.25rem;
  background: var(--green);
  color: #fff;
}

.joele-btn--header:hover {
  background: var(--navy);
  color: #fff;
}

.site-header.is-over-hero:not(.is-scrolled) .joele-btn--header {
  background: #fff;
  color: var(--navy);
}

.site-header.is-over-hero:not(.is-scrolled) .joele-btn--header:hover {
  background: var(--green);
  color: #fff;
}

.joele-link,
.underline-sweep {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 500;
  font-size: 0.875rem;
  padding-bottom: 0.25rem;
  width: fit-content;
  border-bottom: 0 !important;
  --underline-color: var(--green);
}

.joele-link::before,
.joele-link::after,
.underline-sweep::before,
.underline-sweep::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: var(--underline-color);
}

.joele-link::after,
.underline-sweep::after {
  transform-origin: 100%;
  transform: scaleX(1);
}

.joele-link::before,
.underline-sweep::before {
  transform-origin: 0;
  transform: scaleX(0);
}

.joele-link:hover::after,
.underline-sweep:hover::after {
  animation: usSweepOut 0.3s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.joele-link:hover::before,
.underline-sweep:hover::before {
  animation: usSweepIn 0.3s cubic-bezier(0.22, 1, 0.36, 1) 0.3s forwards;
}

@keyframes usSweepOut {
  from { transform: scaleX(1); }
  to { transform: scaleX(0); }
}

@keyframes usSweepIn {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

.joele-link--lime {
  color: #fff;
  --underline-color: var(--lime);
}

.joele-checklist {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0;
}

.joele-checklist li {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(226, 232, 240, 0.7);
  color: var(--ink);
  font-size: 0.9375rem;
  line-height: 1.625;
}

.joele-checklist li::before {
  content: "";
  width: 1.25rem;
  height: 1.25rem;
  margin-top: 0.15rem;
  flex-shrink: 0;
  background: var(--green);
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3'%3E%3Cpath d='M5 13l4 4L19 7'/%3E%3C/svg%3E") center / contain no-repeat;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3'%3E%3Cpath d='M5 13l4 4L19 7'/%3E%3C/svg%3E") center / contain no-repeat;
}

.joele-checklist--grid {
  grid-template-columns: 1fr;
  column-gap: 2.5rem;
}

@media (min-width: 640px) {
  .joele-checklist--grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 768px) {
  .joele-checklist--grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Header — sticky in flow (Base44). Transparent over hero until scroll. */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: 5rem;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--slate-100);
  transition: background 0.25s, border-color 0.25s, color 0.25s;
}

.site-header.is-over-hero:not(.is-scrolled) {
  background: transparent;
  border-bottom-color: transparent;
  color: #fff;
  backdrop-filter: none;
}

.site-header.is-over-hero.is-scrolled {
  background: rgba(255, 255, 255, 0.95);
  border-bottom-color: var(--slate-100);
  color: var(--navy);
  backdrop-filter: blur(8px);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 5rem;
  gap: 1.5rem;
}

.site-header__logo {
  position: relative;
  display: inline-block;
  height: 2.25rem;
}

@media (min-width: 768px) {
  .site-header__logo {
    height: 2.5rem;
  }
}

.site-header__logo-img {
  height: 100%;
  width: auto;
  max-width: none;
  display: block;
  transition: opacity 0.3s;
}

.site-header__logo-img--light {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: auto;
  opacity: 0;
  pointer-events: none;
}

.site-header.is-over-hero:not(.is-scrolled) .site-header__logo-img--dark {
  opacity: 0;
}

.site-header.is-over-hero:not(.is-scrolled) .site-header__logo-img--light {
  opacity: 1;
}

.site-nav__list {
  display: none;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 1.5rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .site-nav__list {
    display: flex;
  }
}

.site-nav a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--navy);
  transition: color 0.2s;
}

.site-nav a:hover {
  color: var(--green);
}

.site-header.is-over-hero:not(.is-scrolled) .site-nav a {
  color: rgba(255, 255, 255, 0.8);
}

.site-header.is-over-hero:not(.is-scrolled) .site-nav a:hover {
  color: #fff;
}

.site-header__cta {
  display: none;
}

@media (min-width: 640px) {
  .site-header__cta {
    display: inline-flex;
  }
}

.site-header__toggle {
  display: inline-flex;
  background: transparent;
  border: 0;
  color: inherit;
  cursor: pointer;
  padding: 0.25rem;
}

@media (min-width: 1024px) {
  .site-header__toggle {
    display: none;
  }
}

.site-header__mobile {
  display: none;
}

.site-header.is-open .site-header__mobile {
  display: flex;
  flex-direction: column;
  position: fixed;
  inset: 0;
  z-index: 40;
  background: #fff;
  padding: 6rem 1.5rem 2rem;
  gap: 0;
  overflow: auto;
}

.site-header.is-open .site-header__mobile a {
  display: block;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.875rem, 5vw, 3rem);
  color: var(--ink);
  padding: 1rem 0;
  border-bottom: 1px solid var(--slate-100);
}

.site-header.is-open .site-header__mobile .joele-btn {
  margin-top: 1.5rem;
  width: fit-content;
  font-size: 1rem;
}

.site-header.is-open .site-header__toggle {
  position: relative;
  z-index: 50;
  color: var(--navy);
}

/* Footer */
.site-footer {
  background: var(--ink);
  color: #fff;
  overflow: hidden;
}

.site-footer__grid {
  display: grid;
  gap: 3rem;
  padding-block: 4rem;
}

@media (min-width: 768px) {
  .site-footer__grid {
    grid-template-columns: repeat(12, 1fr);
  }

  .site-footer__contact {
    grid-column: span 5;
  }

  .site-footer__nav-wrap {
    grid-column: span 4;
  }

  .site-footer__social-wrap {
    grid-column: span 3;
  }
}

.site-footer__contact {
  display: grid;
  gap: 1.5rem;
}

.site-footer__contact a {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  font-size: 1.125rem;
  line-height: 1.375;
  color: rgba(255, 255, 255, 0.85);
  transition: color 0.2s;
}

.site-footer__contact a:hover {
  color: var(--lime);
}

.site-footer__icon {
  width: 1.25rem;
  height: 1.25rem;
  flex-shrink: 0;
  margin-top: 0.2rem;
  color: var(--lime);
}

.site-footer__label {
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 500;
  margin: 0 0 1.5rem;
}

.site-footer__nav {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem 1.5rem;
}

.site-footer__nav a {
  color: rgba(255, 255, 255, 0.8);
  transition: color 0.2s;
}

.site-footer__nav a:hover {
  color: #fff;
}

.site-footer__social {
  display: flex;
  gap: 0.75rem;
}

.site-footer__social a {
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  display: grid;
  place-items: center;
  color: #fff;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.site-footer__social a:hover {
  background: var(--lime);
  border-color: var(--lime);
  color: var(--ink);
}

.site-footer__logo {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-block: 3rem;
  display: flex;
  justify-content: center;
}

.site-footer__logo img {
  height: 4rem;
  width: auto;
}

@media (min-width: 768px) {
  .site-footer__logo img {
    height: 6rem;
  }
}

.site-footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-block: 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.875rem;
}

@media (min-width: 768px) {
  .site-footer__bottom {
    flex-direction: row;
    justify-content: space-between;
  }
}

.site-footer__legal {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.site-footer__legal p {
  margin: 0;
}

.site-footer__legal a {
  color: rgba(255, 255, 255, 0.4);
  transition: color 0.2s;
}

.site-footer__legal a:hover {
  color: #fff;
}

.site-main {
  min-height: 50vh;
}

/* Reveal */
.joele-reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.75s cubic-bezier(0.22, 1, 0.36, 1), transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
}

.joele-reveal.is-in {
  opacity: 1;
  transform: none;
}

.joele-realisatie__section {
  padding-block: var(--section-pad);
}

.joele-realisatie__gallery {
  display: grid;
  gap: 1rem;
}

@media (min-width: 768px) {
  .joele-realisatie__gallery {
    grid-template-columns: 1fr 1fr;
  }
}

.joele-realisatie__gallery img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}
