/* ── Components · maxtimmerman.xyz ───────────────────────────── */

/* ── Container ───────────────────────────────────────────────── */
.container {
  width: 100%;
  padding-top: var(--sp-24);
  padding-bottom: var(--sp-24);
  padding-left: var(--container-px);
  padding-right: var(--container-px);
}
.container--hero   { padding-top: 110px; padding-bottom: 56px; }
.container--footer { padding-top: var(--sp-12); padding-bottom: var(--sp-12); }
.container--cards  { padding-top: var(--sp-4); padding-bottom: var(--sp-16); }
.container--legal  { padding-top: 80px; padding-bottom: var(--sp-16); }

.container__inner {
  max-width: var(--container-max);
  margin: 0 auto;
}

/* ── Label (mono uppercase caption) ─────────────────────────── */
.label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fg-mute);
}
.label--accent  { color: var(--accent); }
.label--on-dark { color: var(--fg-invert-mute); }

/* ── Buttons ─────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-weight: 500;
  letter-spacing: 0.005em;
  border-radius: 14px;
  cursor: pointer;
  line-height: 1;
  white-space: nowrap;
  border: 1px solid transparent;
  text-decoration: none;
  transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.12s ease;
}
.btn:hover { transform: translateY(-1px); }

.btn--lg { padding: 14px 22px; font-size: 14px; }
.btn--md { padding: 10px 16px; font-size: 13px; }

.btn--primary {
  background: var(--accent);
  color: #FAFAF8;
  border-color: var(--accent);
}
.btn--primary:hover {
  box-shadow: 0 6px 20px color-mix(in srgb, var(--accent) 40%, transparent);
}

.btn--ink {
  background: var(--fg);
  color: var(--bg);
  border-color: var(--fg);
}
.btn--ink:hover {
  box-shadow: 0 4px 14px rgba(17,17,17,0.18);
}

.btn--secondary {
  background: transparent;
  color: var(--fg);
  border-color: var(--rule);
}
.btn--secondary:hover {
  border-color: var(--fg);
}

.btn--ghost-light {
  background: rgba(239,245,239,0.08);
  color: var(--fg-invert);
  border-color: var(--rule-invert);
}
.btn--ghost-light:hover {
  background: rgba(239,245,239,0.14);
}

.btn--ghost {
  background: transparent;
  color: var(--fg-soft);
  border-color: transparent;
  box-shadow: inset 0 0 0 1.5px var(--rule);
}
.btn--ghost:hover {
  color: var(--fg);
  box-shadow: inset 0 0 0 1.5px var(--fg);
}

.btn--squircle { border-radius: 14px; }

/* ── Scroll to top ───────────────────────────────────────────── */
.scroll-top {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  width: 40px;
  height: 40px;
  background: var(--bg);
  box-shadow: inset 0 0 0 1.5px var(--rule);
  color: var(--fg-soft);
  border: none;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, color 0.12s ease, box-shadow 0.12s ease, background 0.12s ease, transform 0.12s ease;
  z-index: 50;
  padding: 0;
}
.scroll-top.visible {
  opacity: 1;
  pointer-events: all;
}
@media (hover: hover) {
  .scroll-top:hover {
    background: var(--fg);
    color: var(--bg);
    box-shadow: inset 0 0 0 1.5px var(--fg);
    transform: translateY(-2px);
  }
}

/* ── Mono link (→ arrow) ─────────────────────────────────────── */
.mono-link {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--fg-soft);
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-thickness: 1px;
  text-decoration-color: var(--rule);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color 0.15s;
}
.mono-link:hover { color: var(--fg); }


/* ── Section header row ──────────────────────────────────────── */
.section-header-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: var(--sp-12);
}

/* ── NAV ─────────────────────────────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(240,238,233,0.82);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  transition: background 0.2s;
}
[data-theme="dark"] .nav {
  background: rgba(9,14,9,0.80);
}
.nav__inner {
  max-width: var(--nav-max);
  margin: 0 auto;
  padding: 16px var(--nav-px);
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav__logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.nav__logo-mark { color: var(--fg); display: inline-flex; }
.nav__logo-text {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 15px;
  color: var(--fg);
  letter-spacing: -0.005em;
}
.nav__logo-text .mute { color: var(--fg-mute); }

.nav__desktop {
  display: flex;
  align-items: center;
}
.nav__links {
  display: flex;
  gap: 28px;
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.nav__links a {
  color: var(--fg-mute);
  text-decoration: none;
  position: relative;
  transition: color 0.15s;
  padding: 8px 6px;
  margin: -8px -6px;
}
.nav__links a:hover  { color: var(--fg); }
.nav__links a.active {
  color: var(--accent);
  font-weight: 600;
}
.nav__logo-mark {
  transition: color 0.3s ease;
}
.nav__logo.active .nav__logo-mark {
  color: var(--accent);
}
.nav__actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
}

.theme-btn {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: transparent;
  color: var(--fg);
  border: 1px solid var(--rule);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s, transform 0.15s;
}
.theme-btn:hover {
  background: rgba(17,17,17,0.05);
  transform: rotate(15deg);
}
[data-theme="dark"] .theme-btn:hover {
  background: rgba(239,245,239,0.06);
}
.theme-btn svg { display: block; }

.lang-toggle {
  display: flex;
  border: 1px solid var(--rule);
  border-radius: 999px;
  padding: 2px;
  gap: 2px;
}
.lang-btn {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.06em;
  padding: 4px 9px;
  border-radius: 999px;
  border: none;
  background: transparent;
  color: var(--fg-mute);
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
  line-height: 1;
}
.lang-btn.active {
  background: var(--fg);
  color: var(--bg);
}
.lang-btn:not(.active):hover { color: var(--fg); }

.accent-picker {
  display: flex;
  align-items: center;
  gap: 7px;
}
.accent-btn {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  border: none;
  padding: 0;
  cursor: pointer;
  flex-shrink: 0;
  transition: transform 0.15s ease;
  position: relative;
}
.accent-btn::after {
  content: '';
  position: absolute;
  inset: -8px;
}
.accent-btn:hover { transform: scale(1.25); }
.accent-btn[data-accent="green"]  { background: #16A34A; }
.accent-btn[data-accent="blue"]   { background: #2563EB; }
.accent-btn[data-accent="orange"] { background: #EA580C; }
.accent-btn[data-accent="purple"] { background: #7C3AED; }
.accent-btn.active {
  box-shadow: 0 0 0 2px var(--bg), 0 0 0 3.5px var(--fg-mute);
  transform: scale(1.1);
}

/* Mobile hamburger */
.nav__hamburger {
  display: none;
  width: 40px; height: 40px;
  background: transparent;
  color: var(--fg);
  border: none;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 0;
}
.hamburger__bar {
  display: block;
  width: 20px;
  height: 2px;
  background: currentColor;
  border-radius: 1px;
  transition: transform 0.35s cubic-bezier(0.76, 0, 0.24, 1),
              opacity   0.25s ease;
}
.nav__hamburger[aria-expanded="true"] .hamburger__bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav__hamburger[aria-expanded="true"] .hamburger__bar:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.nav__hamburger[aria-expanded="true"] .hamburger__bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile drawer */
.nav__drawer {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: fixed;
  inset: 0;
  z-index: 25;
  background: rgba(240,238,233,0.98);
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  padding: 88px 22px 32px;
  overflow-y: auto;
  clip-path: circle(0% at calc(100% - 38px) 36px);
  visibility: hidden;
  pointer-events: none;
  transition: clip-path 0.6s cubic-bezier(0.76, 0, 0.24, 1),
              visibility 0s linear 0.6s;
}
.nav__drawer-links,
.nav__drawer-actions,
.nav__drawer-cta,
.nav__drawer-contact {
  width: 100%;
  max-width: 300px;
}
[data-theme="dark"] .nav__drawer {
  background: rgba(9,14,9,0.97);
}
.nav__drawer.open {
  clip-path: circle(150% at calc(100% - 38px) 36px);
  visibility: visible;
  pointer-events: auto;
  transition: clip-path 0.6s cubic-bezier(0.76, 0, 0.24, 1),
              visibility 0s linear 0s;
}

.nav__drawer-links {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-family: var(--font-mono);
}
.nav__drawer-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 4px;
  border-bottom: 1px solid var(--rule);
  color: var(--fg);
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -0.02em;
  text-decoration: none;
}
.nav__drawer-links a.active { color: var(--accent); }
.nav__drawer-links a.active span { color: var(--accent); }
.nav__drawer-links a span {
  font-size: 13px;
  color: var(--fg-mute);
  font-weight: 500;
}
.nav__drawer-actions {
  margin-top: var(--sp-8);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav__drawer-cta {
  margin-top: 28px;
}
.nav__drawer-cta .btn {
  width: 100%;
  justify-content: center;
}
.nav__drawer-contact {
  margin-top: auto;
  padding-top: var(--sp-8);
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--fg-mute);
  letter-spacing: 0.02em;
}

/* ── HERO ────────────────────────────────────────────────────── */
@keyframes hero-slide-up {
  from { transform: translateY(120%); }
  to   { transform: translateY(0); }
}

.hero {}

.hero__title-row {
  display: flex;
  align-items: flex-end;
  gap: 14px;
  margin-bottom: 20px;
}

.hero__display-wrap {
  overflow: hidden;
  padding-bottom: 0.35em;
}

.hero__display {
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: clamp(52px, 8.5vw, 96px);
  letter-spacing: -0.02em;
  line-height: 0.94;
  color: var(--fg);
}
.hero__display span {
  display: inline-block;
  animation: hero-slide-up 0.7s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.hero__logo-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--fg);
  flex-shrink: 0;
}

.hero__tagline {
  font-family: var(--font-sans);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg-mute);
  margin-bottom: 44px;
}

.page-intro__body {
  margin-top: 28px;
  font-size: 19px;
  line-height: 1.55;
  color: var(--fg-soft);
  max-width: 600px;
}

.hero__rule {
  border: none;
  border-top: 1px solid var(--rule);
  margin: 0 0 56px 0;
}

.hero__profile {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 72px;
  align-items: start;
}

.hero__photo-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}

.hero__squircle {
  width: clamp(180px, 22vw, 280px);
  aspect-ratio: 1 / 1;
  flex-shrink: 0;
  overflow: hidden;
}

.hero__squircle img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 15%;
  display: block;
  transition: transform 0.5s ease-out;
}

.hero__squircle:hover img {
  transform: scale(1.07);
}

.hero__avail {
  justify-content: center;
}

.hero__story {
  display: flex;
  flex-direction: column;
  gap: 18px;
  font-size: 19px;
  line-height: 1.75;
  color: var(--fg-soft);
  padding-top: 4px;
}

.hero__story p { margin: 0; }

.hero__link {
  font-weight: 600;
  color: var(--fg);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1.5px;
  text-decoration-color: var(--rule);
  transition: color 0.15s, text-decoration-color 0.15s;
}
.hero__link:hover {
  color: var(--accent);
  text-decoration-color: var(--accent);
}

.hero__kw {
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: 1.05em;
  color: var(--fg);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
  text-decoration-color: var(--rule);
  transition: color 0.15s, text-decoration-color 0.15s;
}
.hero__kw:hover {
  color: var(--accent);
  text-decoration-color: var(--accent);
}

.hero__story-cta {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 8px;
  flex-wrap: wrap;
}

/* ── CASES ───────────────────────────────────────────────────── */
.cases {
  background: var(--bg-deep);
  border-bottom: 1px solid var(--rule);
}

.cases__list {
  display: flex;
  flex-direction: column;
}

.case-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  padding: 64px 0;
  border-top: 1px solid var(--rule);
  text-decoration: none;
  color: var(--fg);
  align-items: center;
  transition: opacity 0.2s;
}
.case-row:last-child {
  border-bottom: 1px solid var(--rule);
}
.case-row:hover { opacity: 0.78; }
.case-row--flip .case-row__img { order: -1; }

.case-row__meta {
  display: flex;
  align-items: baseline;
  gap: 16px;
  margin-bottom: 14px;
}
.case-row__domain {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--accent);
  letter-spacing: -0.01em;
}
.case-row__year {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--fg-mute);
  letter-spacing: 0.06em;
}

.case-row__title {
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: 44px;
  letter-spacing: -0.01em;
  line-height: 1.0;
  color: var(--fg);
  margin-bottom: 16px;
}

.case-row__body {
  font-size: 15px;
  line-height: 1.65;
  color: var(--fg-soft);
  margin-bottom: 24px;
  max-width: 420px;
}

.case-row__tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.case-tag {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid var(--rule);
  color: var(--fg-soft);
}

.case-row__img {
  width: 100%;
  border-radius: 6px;
  border: 1px solid var(--rule);
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
}

/* ── SERVICES (hoe ik werk) ──────────────────────────────────── */
.services {
  background: var(--bg);
  border-bottom: 1px solid var(--rule);
}

.services__header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 52px;
}

.services__list {
  display: flex;
  flex-direction: column;
}

.services__item {
  display: grid;
  grid-template-columns: 48px 1fr 1.6fr;
  gap: 0 48px;
  padding: 28px 0;
  border-top: 1px solid var(--rule);
  align-items: baseline;
}
.services__item:last-child {
  border-bottom: 1px solid var(--rule);
}

.services__item-num {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--fg-mute);
  padding-top: 4px;
}

.services__item-title {
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: 24px;
  letter-spacing: 0;
  color: var(--fg);
  line-height: 1.2;
}

.services__item-body {
  font-size: 15px;
  line-height: 1.65;
  color: var(--fg-soft);
}

/* ── PRICING ─────────────────────────────────────────────────── */
.pricing {
  background: var(--bg-deep);
  border-bottom: 1px solid var(--rule);
}

.pricing__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.pricing__card {
  background: var(--bg);
  border: 1px solid var(--rule);
  border-radius: 6px;
  padding: 36px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.pricing__card--featured {
  border-color: var(--accent);
  border-width: 2px;
}

.pricing__featured-badge {
  display: inline-flex;
  align-self: flex-start;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--accent);
  color: #FAFAF8;
}

.pricing__tag {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg-mute);
}

.pricing__price {
  display: flex;
  align-items: baseline;
  gap: 4px;
}
.pricing__currency {
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 400;
  color: var(--fg);
  line-height: 1;
}
.pricing__amount {
  font-family: var(--font-heading);
  font-size: 72px;
  font-weight: 400;
  color: var(--fg);
  letter-spacing: -0.01em;
  line-height: 1;
}
.pricing__period {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--fg-mute);
  margin-left: 8px;
}

.pricing__desc {
  font-size: 14px;
  line-height: 1.65;
  color: var(--fg-soft);
}

.pricing__features {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 16px;
  border-top: 1px solid var(--rule);
}

.pricing__feature {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: var(--fg);
}
.pricing__feature-icon {
  color: var(--accent);
  display: inline-flex;
  flex-shrink: 0;
}

.pricing__cta {
  margin-top: auto;
  padding-top: 8px;
}

.pricing__footnote {
  margin-top: 24px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--fg-mute);
  line-height: 1.6;
}
.pricing__footnote strong { color: var(--fg); font-weight: 500; }
.pricing__footnote a { color: var(--fg-mute); }

/* ── NAV CARDS ────────────────────────────────────────────────── */
.nav-cards__card {
  background: var(--bg-deep);
  border-radius: 32px;
  display: flex;
  align-items: stretch;
  overflow: hidden;
}

.nav-cards__item {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 48px 52px;
  text-decoration: none;
  color: var(--fg);
  transition: background 0.15s;
}

.nav-cards__item:hover {
  background: var(--block);
}

.nav-cards__label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fg-mute);
}

.nav-cards__divider {
  width: 1px;
  background: var(--rule);
  flex-shrink: 0;
}

.nav-cards__link {
  font-family: var(--font-heading);
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 400;
  line-height: 1.1;
}

/* ── CTA SECTION ─────────────────────────────────────────────── */
.cta-section {
  background: var(--bg);
  color: var(--fg);
  position: relative;
  overflow: hidden;
}

.cta-section__aurora {
  position: absolute;
  pointer-events: none;
  border-radius: 50%;
  filter: blur(80px);
  right: -5%; top: -30%;
  width: 700px; height: 700px;
  background: radial-gradient(closest-side, var(--accent) 0%, transparent 70%);
  opacity: 0.28;
}

.cta-section__inner {
  position: relative;
  max-width: 680px;
}

.cta-section__label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fg-mute);
  margin-bottom: 24px;
}

.cta-section__h2 {
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: clamp(52px, 6.5vw, 88px);
  letter-spacing: -0.01em;
  line-height: 0.96;
  color: var(--fg);
}

.cta-section__body {
  margin-top: 28px;
  font-size: 17px;
  line-height: 1.65;
  color: var(--fg-soft);
  max-width: 520px;
}

.cta-section__btns {
  margin-top: 36px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.cta-section__meta {
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid var(--rule);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--fg-mute);
}

/* ── FOOTER ──────────────────────────────────────────────────── */
.footer {
  background: var(--bg);
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
}

.footer__logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  text-decoration: none;
}
.footer__logo-mark { color: var(--fg); display: inline-flex; }
.footer__logo-text {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 15px;
  color: var(--fg);
  letter-spacing: -0.005em;
}
.footer__logo-text .mute { color: var(--fg-mute); }

.footer__tagline {
  font-size: 13px;
  color: var(--fg-soft);
  line-height: 1.65;
  max-width: 340px;
}

.footer__col-title {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fg-mute);
  margin-bottom: 14px;
}

.footer__col-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 13px;
  color: var(--fg);
}
.footer__col-list li a {
  text-decoration: none;
  color: inherit;
  transition: color 0.15s;
  padding: 6px 8px;
  margin: -6px -8px;
}
.footer__col-list li a:hover { color: var(--accent); }

.footer__bottom {
  margin-top: 48px;
  padding-top: 20px;
  border-top: 1px solid var(--rule);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  color: var(--fg-mute);
}

.cursor-toggle-wrap { margin-top: 24px; display: none; }
@media (pointer: fine) { .cursor-toggle-wrap { display: block; } }

.cursor-toggle {
  display: inline-flex;
  align-items: center;
  cursor: pointer;
  user-select: none;
}
.cursor-toggle__track {
  position: relative;
  width: 28px;
  height: 16px;
  background: var(--rule);
  border-radius: 999px;
  flex-shrink: 0;
  transition: background 0.25s ease;
}
.cursor-toggle__thumb {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 12px;
  height: 12px;
  background: var(--fg-mute);
  border-radius: 50%;
  transition: transform 0.25s ease, background 0.25s ease;
}
.cursor-toggle--on .cursor-toggle__track { background: var(--accent); }
.cursor-toggle--on .cursor-toggle__thumb {
  transform: translateX(12px);
  background: #fff;
}

/* ── Scroll reveal ───────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal--d1 { transition-delay: 80ms; }
.reveal--d2 { transition-delay: 160ms; }

/* ── Section typography ──────────────────────────────────────── */
.section-heading {
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: clamp(32px, 4.5vw, 52px);
  letter-spacing: -0.02em;
  line-height: 0.96;
  color: var(--fg);
  margin-top: 14px;
  margin-bottom: var(--sp-12);
}

/* ── Legal page ───────────────────────────────────────────────── */
.legal h1 {
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: clamp(36px, 5vw, 56px);
  letter-spacing: -0.01em;
  line-height: 1.05;
  color: var(--fg);
  margin-bottom: 8px;
}
.legal .legal__meta {
  font-size: 13px;
  color: var(--fg-mute);
  margin-bottom: 48px;
}
.legal h2 {
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: clamp(20px, 2.5vw, 28px);
  color: var(--fg);
  margin-top: 48px;
  margin-bottom: 16px;
}
.legal p, .legal li {
  font-size: 16px;
  line-height: 1.75;
  color: var(--fg-soft);
}
.legal p { margin-bottom: 12px; }
.legal ul {
  padding-left: 20px;
  margin-bottom: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.legal strong { color: var(--fg); font-weight: 600; }
.legal a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }

/* ── Section entrance animations ─────────────────────────────── */
.bouw-label-wrap {
  overflow: hidden;
  padding-bottom: 0.06em;
}
.bouw-label-wrap .label {
  display: block;
  transform: translateY(120%);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.bouw-label-wrap.is-visible .label {
  transform: translateY(0);
}

.bouw-heading-wrap {
  overflow: hidden;
  padding-bottom: 0.35em;
  position: relative;
}
.section-heading-anim {
  visibility: hidden;
}
.section-heading-anim span {
  display: inline-block;
  transform: translateY(200%);
  opacity: 0;
  transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.section-heading-anim.is-visible span {
  transform: translateY(0);
  opacity: 1;
}

/* ── Custom cursor ───────────────────────────────────────────── */
.has-custom-cursor,
.has-custom-cursor * { cursor: none !important; }

#cursor {
  position: fixed;
  top: 0; left: 0;
  width: 12px;
  height: 12px;
  background: var(--accent);
  border: 1.5px solid transparent;
  box-sizing: border-box;
  border-radius: 50%;
  pointer-events: none;
  z-index: 99999;
  transform: translate(-50%, -50%);
  overflow: hidden;
  opacity: 0;
  transition: width  0.4s cubic-bezier(0.16, 1, 0.3, 1),
              height 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              background 0.35s ease,
              border-color 0.35s ease,
              opacity 0.3s ease;
}

#cursor.is-expanded {
  width: 88px;
  height: 88px;
  background: color-mix(in srgb, var(--accent) 12%, transparent);
  border-color: var(--accent);
}

#cursor::after {
  content: '';
  position: absolute;
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity 0.15s ease;
}

#cursor.is-expanded::after {
  opacity: 1;
}

#cursor-svg {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  transform-origin: center center;
  opacity: 0;
  transition: opacity 0.1s ease;
}

#cursor-svg text {
  fill: var(--accent);
  font-family: var(--font-sans);
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

#cursor.is-expanded #cursor-svg {
  opacity: 1;
  animation: cursor-spin 10s linear infinite;
  transition: opacity 0.15s ease 0.25s;
}

@keyframes cursor-spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}
