/* === Bootstrap overrides & Tweeframes brand === */
:root {
  --bg-color: #F5F5F5;
  --bg-color-rgb: 245, 245, 245;
  --text-color: #1B1B1B;
  --border-color: #1B1B1B;
  --text-muted: #555555;

  --brand-green-dark: #2A4747;
  --brand-green-light: #439775;
  --brand-purple: #DDC2FF;
  --brand-white: #F5F5F5;
  --brand-black: #1B1B1B;

  --font-headline: "reiher-headline", sans-serif;
  --font-body: "source-sans-pro", sans-serif;

  --bs-font-sans-serif: var(--font-body);
  --bs-body-font-family: var(--font-body);

  --border-thick: 4px solid var(--border-color);
  --border-thin: 2px solid var(--border-color);

  --bs-body-bg: var(--bg-color);
  --bs-body-color: var(--text-color);
  --bs-border-radius: 0;
  --bs-border-radius-sm: 0;
  --bs-border-radius-lg: 0;
  --bs-border-radius-xl: 0;
  --bs-border-radius-xxl: 0;
  --bs-border-radius-pill: 0;
}

html.dark-mode {
  --bg-color: #1B1B1B;
  --bg-color-rgb: 27, 27, 27;
  --text-color: #F5F5F5;
  --border-color: #F5F5F5;
  --text-muted: #AAAAAA;
  --border-thick: 4px solid #F5F5F5;
  --border-thin: 2px solid #F5F5F5;
  --bs-body-bg: var(--bg-color);
  --bs-body-color: var(--text-color);
  color-scheme: dark;
}

html {
  background-color: var(--bg-color);
  color-scheme: light;
}

/* Theme-switch fade — class is added/removed briefly by JS */
html.theme-transitioning,
html.theme-transitioning body,
html.theme-transitioning *:not(video):not(img):not(canvas) {
  transition: background-color 200ms ease, color 200ms ease, border-color 200ms ease !important;
}

*,
*::before,
*::after {
  border-radius: 0 !important;
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  background-color: var(--bg-color);
  color: var(--text-color);
  line-height: 1.6;
  overflow-x: hidden;
}

main {
  opacity: 0;
  transition: opacity 0.35s ease;
}

html.page-ready main {
  opacity: 1;
}

html.page-leaving main {
  opacity: 0;
  transition: opacity 0.3s ease;
}

@media (prefers-reduced-motion: reduce) {
  main {
    transition: none;
  }

  .page-section {
    animation: none;
  }
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-headline);
  font-weight: 900;
  font-style: normal;
  text-transform: uppercase;
  line-height: 1.1;
}

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

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

.container {
  max-width: 1400px;
}

.page-section {
  padding: 5rem 0;
  min-height: calc(100vh - 200px);
}

html.page-ready .page-section {
  animation: fadeIn 0.45s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* === Header (site nav only — not .project-hero on portfolio pages) === */
body > header {
  background-color: var(--brand-green-dark);
  color: var(--brand-white);
  border-bottom: 6px solid var(--brand-green-light);
  position: sticky;
  top: 0;
  z-index: 200;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 90px;
  padding: 0 clamp(0.75rem, 4vw, 2rem);
  max-width: 1400px;
  margin: 0 auto;
}

.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.logo img {
  height: 48px;
  width: auto;
  max-width: min(240px, 55vw);
}

.nav-links {
  display: flex;
  gap: 2.5rem;
  align-items: center;
}

.nav-item {
  color: var(--brand-white);
  font-weight: 700;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: color 0.2s;
  position: relative;
}

.nav-item:hover,
.nav-item.active {
  color: var(--brand-purple);
}

.nav-item::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 0%;
  height: 2px;
  background-color: var(--brand-purple);
  transition: width 0.3s;
}

.nav-item:hover::after,
.nav-item.active::after {
  width: 100%;
}

.theme-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  border: 2px solid var(--brand-white) !important;
  color: var(--brand-white);
  background: none;
  transition: all 0.2s;
  cursor: pointer;
}

.theme-toggle:hover {
  background-color: var(--brand-purple);
  border-color: var(--brand-purple) !important;
  color: var(--brand-black);
}

.nav-mobile-controls {
  display: none;
  gap: 1rem;
  align-items: center;
}

.mobile-menu-btn {
  font-size: 1.5rem;
  color: var(--brand-white);
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.mobile-menu-panel {
  background-color: var(--brand-green-dark);
  border-bottom: 4px solid var(--brand-green-light);
  padding: 1rem 2rem;
}

.mobile-menu-panel a {
  display: block;
  padding: 1rem 0;
  color: var(--brand-white);
  font-weight: bold;
  font-size: 1.2rem;
  text-transform: uppercase;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-mobile-controls { display: flex; }
}

/* === Buttons === */
.btn {
  padding: 1.2rem 2.5rem;
  font-size: 1.1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  border: var(--border-thick);
  transition: all 0.2s;
}

.btn-primary {
  background-color: var(--brand-purple);
  color: var(--brand-black);
  border-color: var(--border-color);
}

.btn-primary:hover,
.btn-primary:focus {
  background-color: transparent;
  color: var(--text-color);
  border-color: var(--border-color);
}

html.dark-mode .btn-primary {
  border-color: var(--brand-purple);
}

html.dark-mode .btn-primary:hover,
html.dark-mode .btn-primary:focus {
  background-color: transparent;
  color: var(--brand-purple);
}

.btn-outline {
  background-color: transparent;
  color: var(--text-color);
  border: var(--border-thick);
}

.btn-outline:hover,
.btn-outline:focus {
  background-color: var(--text-color);
  color: var(--bg-color);
  border-color: var(--text-color);
}

.hero-title {
  font-size: clamp(3rem, 8vw, 6rem);
  margin-bottom: 1.5rem;
}

.lomp-border {
  border: var(--border-thick);
}

.section-title {
  text-align: center;
  font-size: 3rem;
  margin-bottom: 4rem;
}

.section-title-left {
  text-align: left;
  border-bottom: var(--border-thick);
  padding-bottom: 1rem;
  margin-bottom: 3rem;
}

/* === Homepage === */
.page-home {
  padding-top: 0;
  padding-bottom: 0;
  --home-body-size: 1.25rem;
  --home-body-leading: 1.6;
  --home-label-size: clamp(1rem, 2vw, 1.25rem);
}

.page-home .hero-content p,
.page-home .discipline-spotlight p,
.page-home .process-step p,
.page-home .process-carousel-slide p,
.page-home .testimonial-quote,
.page-home .cta-band-copy p {
  font-family: var(--font-body);
  font-size: var(--home-body-size);
  line-height: var(--home-body-leading);
}

.page-home .discipline-spotlight h2,
.page-home .process-step h3,
.page-home .process-carousel-title,
.page-home .home-featured-grid .portfolio-info h3 {
  font-family: var(--font-headline);
  font-size: var(--home-label-size);
  font-weight: 700;
  line-height: 1.25;
}

@media (max-width: 900px) {
  .page-home {
    --home-body-size: 1.0625rem;
    --home-body-leading: 1.55;
    --home-label-size: clamp(0.9375rem, 2.8vw, 1.0625rem);
  }

  .page-home .section-title {
    font-size: clamp(1.875rem, 6.5vw, 2.35rem);
    margin-bottom: clamp(2rem, 5vw, 2.75rem);
  }

  .page-home .cta-band-copy h2 {
    font-size: clamp(1.75rem, 5.5vw, 2.35rem);
  }
}

.page-home .home-sections {
  display: flex;
  flex-direction: column;
  gap: clamp(5rem, 10vw, 8rem);
  padding-bottom: clamp(4rem, 8vw, 6rem);
}

.page-home .section-title {
  text-align: center;
  font-size: clamp(2.25rem, 5vw, 3rem);
  margin-bottom: clamp(2.5rem, 5vw, 3.5rem);
}

.home-featured-section {
  margin-top: 0;
}

.home-featured-grid {
  margin-bottom: clamp(2rem, 4vw, 2.5rem);
}

.home-featured-cta {
  display: flex;
  justify-content: center;
}

.hero-wrapper {
  position: relative;
  width: 100%;
  background-size: cover;
  background-position: center;
  border-bottom: var(--border-thick);
  margin-bottom: clamp(5rem, 10vw, 8rem);
  overflow: hidden;
}

.hero-wrapper--video {
  background-image: none !important;
}

.hero-bg-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  pointer-events: none;
}

.hero-wrapper--video::before {
  z-index: 1;
}

.hero-wrapper::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgb(var(--bg-color-rgb)) 0%,
    rgb(var(--bg-color-rgb)) 22%,
    rgba(var(--bg-color-rgb), 0.92) 38%,
    rgba(var(--bg-color-rgb), 0.72) 52%,
    rgba(var(--bg-color-rgb), 0.48) 68%,
    rgba(var(--bg-color-rgb), 0.2) 100%
  );
  z-index: 1;
}

.hero-section {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  padding-top: 6rem;
  padding-bottom: 6rem;
}

.hero-content p {
  margin-bottom: 2rem;
  max-width: 500px;
  border-left: 4px solid var(--brand-green-light);
  padding-left: 1rem;
}

.btn-group {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-video-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  background-color: var(--brand-black);
  border: var(--border-thick);
  overflow: hidden;
}

.hero-video-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.8;
  transition: transform 0.5s, opacity 0.3s;
}

.hero-video-wrapper:hover img {
  opacity: 1;
  transform: scale(1.05);
}

.video-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80px;
  height: 80px;
  background-color: var(--brand-purple);
  border: 4px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.2s;
}

.video-play-btn:hover {
  transform: translate(-50%, -50%) scale(1.1);
}

.video-play-btn svg {
  width: 30px;
  height: 30px;
  fill: var(--brand-black);
  margin-left: 5px;
}

.showreel-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.showreel-modal[hidden] {
  display: none;
}

.showreel-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
}

.showreel-modal-inner {
  position: relative;
  z-index: 1;
  width: min(960px, 100%);
}

/* ── Custom showreel player ───────────────────────────────────── */
.sr-player {
  position: relative;
  background: #000;
  line-height: 0;
}

.sr-player video {
  width: 100%;
  max-height: 78vh;
  display: block;
  cursor: pointer;
}

.sr-controls {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.625rem 1rem;
  background: rgba(0, 0, 0, 0.92);
  line-height: 1;
}

.sr-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  background: var(--brand-green-light, #439775);
  border: none;
  border-radius: 50%;
  color: #fff;
  cursor: pointer;
  flex-shrink: 0;
  transition: opacity 0.15s, transform 0.1s;
}

.sr-btn:hover { opacity: 0.85; transform: scale(1.05); }
.sr-btn:active { transform: scale(0.95); }

.sr-icon {
  width: 1.125rem;
  height: 1.125rem;
  display: block;
  pointer-events: none;
}

.sr-time, .sr-duration {
  font-size: 0.8125rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.7);
  white-space: nowrap;
  flex-shrink: 0;
  font-family: var(--font-body, sans-serif);
}

.sr-seek {
  flex: 1;
  height: 4px;
  cursor: pointer;
  accent-color: var(--brand-green-light, #439775);
  background: transparent;
}

/* Fade controls out when playing and mouse is idle */
.sr-player.sr-playing .sr-controls {
  transition: opacity 0.4s;
}
.sr-player.sr-idle .sr-controls {
  opacity: 0;
  pointer-events: none;
}
.sr-player:hover .sr-controls,
.sr-player.sr-paused .sr-controls {
  opacity: 1 !important;
  pointer-events: auto;
}

/* Fullscreen — video fills viewport, controls pinned to bottom */
.sr-player:fullscreen,
.sr-player:-webkit-full-screen,
.sr-player:-moz-full-screen,
.sr-player:-ms-fullscreen {
  display: flex;
  flex-direction: column;
  background: #000;
  width: 100vw;
  height: 100vh;
}

.sr-player:fullscreen video,
.sr-player:-webkit-full-screen video,
.sr-player:-moz-full-screen video,
.sr-player:-ms-fullscreen video {
  flex: 1;
  width: 100%;
  height: 0;         /* flex handles it */
  max-height: none;
  object-fit: contain;
}

.sr-player:fullscreen .sr-controls,
.sr-player:-webkit-full-screen .sr-controls,
.sr-player:-moz-full-screen .sr-controls,
.sr-player:-ms-fullscreen .sr-controls {
  flex-shrink: 0;
  width: 100%;
}

.showreel-modal-close {
  position: absolute;
  top: -2.5rem;
  right: 0;
  background: none;
  border: none;
  color: #fff;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
}

.hero-video-wrapper {
  cursor: pointer;
}

@media (max-width: 900px) {
  .hero-section {
    grid-template-columns: 1fr;
    padding-top: 2rem;
  }
  .hero-wrapper::before {
    background: linear-gradient(
      to bottom,
      rgb(var(--bg-color-rgb)) 0%,
      rgb(var(--bg-color-rgb)) 28%,
      rgba(var(--bg-color-rgb), 0.88) 45%,
      rgba(var(--bg-color-rgb), 0.55) 62%,
      rgba(var(--bg-color-rgb), 0.2) 100%
    );
  }
  .hero-video-wrapper {
    order: 2;
  }
}

.discipline-showcase {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1.25rem, 3vw, 2rem);
}

.discipline-spotlight {
  position: relative;
  display: block;
  padding: 1.5rem 1.25rem 1.5rem 1.125rem;
  color: inherit;
  border-left: 4px solid var(--brand-green-light);
  transition: border-color 0.3s ease, background-color 0.3s ease;
}

.discipline-spotlight::before {
  display: none;
}

.discipline-spotlight:hover {
  border-left-color: var(--brand-purple);
  background-color: rgba(221, 194, 255, 0.12);
  transform: none;
}

.discipline-spotlight-content {
  display: flex;
  flex-direction: column;
}

.discipline-spotlight-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.75rem;
  color: var(--brand-green-light);
  transition: color 0.3s ease;
}

.discipline-spotlight-icon svg {
  width: 28px;
  height: 28px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
}

.discipline-spotlight:hover .discipline-spotlight-icon {
  color: var(--brand-purple);
  transform: none;
}

.discipline-spotlight h2 {
  margin-bottom: 0.5rem;
}

.discipline-spotlight p {
  margin-bottom: 0;
  color: var(--text-muted);
  max-width: none;
}

@media (min-width: 769px) {
  .discipline-spotlight {
    padding: 1.75rem 1.5rem 1.75rem 1.25rem;
  }
}

/* === Werkproces === */
.process-section {
  margin: 0;
  padding: 0;
  border: none;
}

.process-intro {
  max-width: 640px;
  margin: 0 0 2.5rem;
  color: var(--text-muted);
  font-style: italic;
}

.process-track {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  align-items: flex-start;
  gap: 0;
}

.process-step {
  flex: 1;
  min-width: 0;
}

.process-divider {
  flex: 0 0 auto;
  align-self: flex-start;
  padding: 0.35rem clamp(0.75rem, 2vw, 1.5rem) 0;
  font-family: var(--font-headline);
  font-weight: 900;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  line-height: 1;
  color: var(--brand-green-light);
}

.process-step-number {
  display: inline-block;
  font-family: var(--font-headline);
  font-weight: 900;
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  line-height: 1;
  color: var(--brand-purple);
  margin-bottom: 0.75rem;
}

.process-step h3,
.process-carousel-title {
  color: var(--brand-green-light);
}

.process-step h3 {
  margin-bottom: 0.5rem;
}

.process-step p,
.process-carousel-slide p {
  color: var(--text-muted);
  margin-bottom: 0;
}

/* --- Mobile: swipe carousel --- */
.process-carousel {
  display: none;
  max-width: 100%;
  overflow: hidden;
}

.process-carousel-body {
  padding-bottom: 0.5rem;
  transition: padding-bottom 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.process-carousel-stage {
  display: grid;
  grid-template-columns: auto auto minmax(0, 1fr);
  align-items: center;
  gap: 0.65rem 0.75rem;
  margin-bottom: 1rem;
}

.process-carousel-numbers {
  position: relative;
  min-width: 4.75rem;
  height: clamp(2.75rem, 13vw, 3.5rem);
  overflow: hidden;
  flex-shrink: 0;
}

.process-carousel-number {
  position: absolute;
  top: 0;
  left: 0;
  white-space: nowrap;
  font-family: var(--font-headline);
  font-weight: 900;
  font-size: clamp(2.5rem, 12vw, 3.25rem);
  line-height: 1;
  color: var(--brand-purple);
  pointer-events: none;
  opacity: 0;
  transform: translateY(10px);
  transition:
    opacity 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.process-carousel-number.is-active {
  opacity: 1;
  transform: translateY(0);
}

.process-carousel-pipe {
  font-family: var(--font-headline);
  font-weight: 900;
  font-size: clamp(2rem, 10vw, 2.75rem);
  line-height: 1;
  color: var(--brand-green-light);
  align-self: center;
  flex-shrink: 0;
}

.process-carousel-titles {
  position: relative;
  min-width: 0;
  overflow: hidden;
  transition: height 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.process-carousel-title {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  margin: 0;
  opacity: 0;
  transform: translateY(10px);
  transition:
    opacity 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
}

.process-carousel-title.is-active {
  position: relative;
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.process-carousel-viewport {
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  transition: height 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.process-carousel-viewport::-webkit-scrollbar {
  display: none;
}

.process-carousel-viewport:focus-visible {
  outline: 2px solid var(--brand-green-light);
  outline-offset: 2px;
}

.process-carousel-track {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  align-items: flex-start;
  gap: 0;
}

.process-carousel-slide {
  flex: 0 0 100%;
  width: 100%;
  min-width: 100%;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  box-sizing: border-box;
}

.process-carousel-foot {
  margin-top: 1.25rem;
}

.process-carousel-dots {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
}

.process-carousel-dot {
  width: 2.25rem;
  height: 4px;
  padding: 0;
  border: none;
  background: var(--border-color);
  opacity: 0.25;
  cursor: pointer;
  transition: opacity 0.3s ease, transform 0.3s ease, background-color 0.3s ease;
}

.process-carousel-dot.is-active {
  opacity: 1;
  background: var(--brand-green-light);
  transform: scaleX(1.15);
}

.process-carousel-dot:focus-visible {
  outline: 2px solid var(--brand-green-light);
  outline-offset: 3px;
}

@media (max-width: 900px) {
  .process-carousel {
    display: block;
  }

  .process-carousel-slide {
    padding-left: clamp(0.75rem, 4vw, 1.25rem);
    padding-right: clamp(0.75rem, 4vw, 1.25rem);
  }

  .process-track--desktop {
    display: none;
  }
}

@media (min-width: 901px) {
  .process-carousel {
    display: none;
  }

  .process-track--desktop {
    display: flex;
  }
}

@media (prefers-reduced-motion: reduce) {
  .process-carousel-number,
  .process-carousel-title,
  .process-carousel-dot,
  .process-carousel-viewport,
  .process-carousel-titles,
  .process-carousel-body {
    transition: none !important;
  }

  .process-carousel-viewport {
    scroll-behavior: auto;
  }
}

/* === CTA band === */
.cta-band {
  margin-top: clamp(4rem, 8vw, 6rem);
  background-color: var(--brand-green-dark);
  color: var(--brand-white);
  border-top: 6px solid var(--brand-green-light);
  border-bottom: 6px solid var(--brand-green-light);
}

.cta-band-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2.5rem;
  padding-top: clamp(3rem, 6vw, 4.5rem);
  padding-bottom: clamp(3rem, 6vw, 4.5rem);
  flex-wrap: wrap;
}

.cta-band-copy h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 0.75rem;
  color: var(--brand-white);
}

.cta-band-copy p {
  margin-bottom: 0;
  max-width: 520px;
  font-weight: 600;
  color: rgba(245, 245, 245, 0.9);
}

.cta-band-btn {
  flex-shrink: 0;
  background-color: var(--brand-purple);
  color: var(--brand-black);
  border: 4px solid var(--brand-purple);
  padding: 1.2rem 2.5rem;
}

.cta-band-btn:hover,
.cta-band-btn:focus {
  background-color: transparent;
  color: var(--brand-white);
  border-color: var(--brand-purple);
}

.testimonials-section {
  margin: 0;
}

.testimonials-carousel {
  --tc-gap: 1.5rem;
  position: relative;
}

.testimonials-carousel-viewport {
  overflow: hidden;
  width: 100%;
  touch-action: pan-y;
  cursor: grab;
  outline: none;
  padding-top: 1.25rem;
}

.testimonials-carousel-viewport:active {
  cursor: grabbing;
}

.testimonials-carousel-track {
  display: flex;
  gap: var(--tc-gap);
  will-change: transform;
}

.testimonials-carousel-slide {
  box-sizing: border-box;
  min-width: 0;
}

.testimonials-carousel-slide--pad {
  visibility: hidden;
  pointer-events: none;
}

.testimonial-card {
  border: var(--border-thick);
  padding: 3rem;
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.testimonial-body {
  flex: 1;
}

.testimonial-body.has-avatar::after {
  content: '';
  display: table;
  clear: both;
}

.testimonial-avatar {
  float: right;
  width: 72px;
  height: 72px;
  margin: 0 0 0.75rem 1.25rem;
  border: var(--border-thin);
  object-fit: cover;
  border-radius: 50% !important;
  flex-shrink: 0;
}

.testimonial-content {
  flex: 1;
  display: block;
}

.testimonial-content::after {
  content: '';
  display: table;
  clear: both;
}

.testimonial-project-btn {
  align-self: flex-start;
  margin-top: auto;
  padding: 0.75rem 1.5rem;
  font-size: 0.85rem;
}

.testimonial-tag {
  position: absolute;
  top: -20px;
  left: 20px;
  background-color: var(--brand-purple);
  color: var(--brand-black);
  padding: 5px 15px;
  font-weight: bold;
  text-transform: uppercase;
  border: 2px solid var(--border-color);
}

.testimonial-quote {
  font-style: italic;
  margin: 1rem 0 1.5rem;
}

.testimonial-author {
  font-weight: 900;
  text-transform: uppercase;
  color: var(--brand-green-light);
  margin-bottom: 0;
}

.testimonials-carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 1.75rem;
}

.testimonials-carousel-btn {
  width: 2.5rem;
  height: 2.5rem;
  border: 2px solid color-mix(in srgb, var(--border-color) 55%, transparent);
  background: transparent;
  color: var(--brand-green-light);
  font-size: 1.5rem;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border-radius: 999px;
  transition: border-color 0.25s ease, background-color 0.25s ease, color 0.25s ease;
}

.testimonials-carousel-btn:hover,
.testimonials-carousel-btn:focus-visible {
  border-color: var(--brand-green-light);
  background: color-mix(in srgb, var(--brand-green-light) 12%, transparent);
  color: var(--brand-green-light);
  outline: none;
}

.testimonials-carousel-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 2.5rem;
}

.testimonials-carousel-dot {
  width: 0.45rem;
  height: 0.45rem;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: color-mix(in srgb, var(--border-color) 35%, transparent);
  transition: width 0.3s ease, background-color 0.3s ease;
}

.testimonials-carousel-dot.is-active {
  width: 1.15rem;
  background: var(--brand-purple);
}

.testimonials-carousel-dot:hover,
.testimonials-carousel-dot:focus-visible {
  background: color-mix(in srgb, var(--brand-purple) 70%, var(--border-color));
  outline: none;
}

@media (max-width: 767.98px) {
  .page-home .testimonial-card {
    padding: 1.35rem 1.15rem 1.4rem;
  }

  .page-home .testimonial-tag {
    top: -13px;
    left: 12px;
    padding: 3px 10px;
    font-size: 0.6875rem;
  }

  .page-home .testimonial-quote {
    font-size: 0.9375rem;
    line-height: 1.5;
    margin: 0.5rem 0 0.75rem;
  }

  .page-home .testimonial-avatar {
    width: 52px;
    height: 52px;
    margin: 0 0 0.5rem 0.75rem;
  }

  .page-home .testimonial-author {
    font-size: 0.8125rem;
    letter-spacing: 0.02em;
  }

  .page-home .testimonial-project-btn {
    padding: 0.55rem 1rem;
    font-size: 0.8125rem;
  }

  .testimonials-carousel-controls {
    margin-top: 1.25rem;
    gap: 0.75rem;
  }

  .testimonials-carousel-btn {
    width: 2.25rem;
    height: 2.25rem;
    font-size: 1.35rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .testimonials-carousel-track {
    transition: none !important;
  }

  .testimonials-carousel-btn,
  .testimonials-carousel-dot {
    transition: none;
  }
}

/* === Over ons === */
.about-img-wrapper {
  position: relative;
  border: var(--border-thick);
  padding: 1rem;
  width: 100%;
  max-width: min(100%, 420px);
  margin-inline: auto;
}

.about-intro {
  align-items: flex-start;
}

.about-img-frame {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  width: 100%;
}

.about-img-wrapper img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.about-badge {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background-color: var(--brand-purple);
  color: var(--brand-black);
  border: 4px solid var(--border-color);
  padding: 1rem 2rem;
  font-family: var(--font-headline);
  font-weight: 900;
  font-size: 1.5rem;
  text-transform: uppercase;
}

.page-about .section-title {
  text-align: center;
  font-size: clamp(2.25rem, 5vw, 3rem);
  margin-bottom: clamp(2.5rem, 5vw, 3.5rem);
}

.about-text h3 {
  font-size: 2rem;
  margin-bottom: 2rem;
  color: var(--brand-green-light);
}

.about-text p {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
}

.team-grid-section {
  margin-top: 5rem;
  padding-top: 3rem;
  border-top: var(--border-thick);
}

.team-grid-title {
  text-align: center;
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  margin-bottom: 2.5rem;
  color: var(--brand-green-light);
}

.team-card {
  border: 4px solid var(--border-color);
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s;
}

.team-card--green {
  border-color: var(--brand-green-light);
}

.team-card--pink {
  border-color: var(--brand-purple);
}

/* 'default' accent: uses the standard theme border color (black in light, white in dark) */
.team-card--default {
  border-color: var(--border-color);
}

.team-card--default .team-card-photo {
  border-bottom-color: var(--border-color);
}

.team-card--default .team-card-motto {
  background-color: var(--border-color);
  border-color: var(--border-color);
  color: var(--bg-color);
}

.team-card--default .team-card-role {
  color: var(--text-muted);
}

.team-card--green .team-card-motto {
  background-color: rgba(67, 151, 117, 0.15);
  border-color: var(--brand-green-light);
  color: var(--text-color);
}

.team-card--pink .team-card-motto {
  background-color: rgba(221, 194, 255, 0.15);
  border-color: var(--brand-purple);
  color: var(--text-color);
}

.team-card--green .team-card-role {
  color: var(--brand-green-light);
}

.team-card--pink .team-card-role {
  color: #9b6bb8;
}

html.dark-mode .team-card--pink .team-card-role {
  color: var(--brand-purple);
}

.team-card:hover {
  transform: translateY(-5px);
}

.team-card-photo {
  border-bottom: 4px solid var(--border-color);
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background-color: #ccc;
}

.team-card--green .team-card-photo {
  border-bottom-color: var(--brand-green-light);
}

.team-card--pink .team-card-photo {
  border-bottom-color: var(--brand-purple);
}

.team-card-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(20%);
  transition: filter 0.3s, transform 0.5s;
}

.team-card:hover .team-card-photo img {
  filter: grayscale(0%);
  transform: scale(1.05);
}

.team-card-body {
  padding: 1rem 1.125rem 1.25rem;
  flex: 1;
}

.team-card-motto {
  display: inline-block;
  background-color: var(--brand-purple);
  color: var(--brand-black);
  padding: 3px 10px;
  font-weight: bold;
  text-transform: uppercase;
  font-size: 0.65rem;
  border: 2px solid var(--border-color);
  margin-bottom: 0.75rem;
}

.team-card-body h4 {
  font-size: 1.15rem;
  margin-bottom: 0.2rem;
}

.team-card-role {
  color: var(--brand-green-light);
  font-weight: bold;
  text-transform: uppercase;
  font-size: 0.72rem;
  letter-spacing: 0.5px;
  margin-bottom: 0.75rem;
}

.team-card-bio {
  margin-bottom: 0;
  font-size: 0.88rem;
  line-height: 1.5;
}

@media (max-width: 900px) {
  .about-badge {
    right: 20px;
    bottom: 20px;
  }
}

@media (min-width: 992px) {
  .about-intro .about-img-wrapper {
    max-width: min(100%, 360px);
  }
}

/* === Portfolio === */
.page-portfolio {
  padding-top: 3rem;
}

.portfolio-header {
  margin-bottom: clamp(2.5rem, 5vw, 3.5rem);
}

.portfolio-header h2 {
  font-size: clamp(3rem, 6vw, 5rem);
  margin: 0 0 1rem;
}

.portfolio-intro {
  max-width: 640px;
  margin-bottom: 0;
  color: var(--text-muted);
}

.portfolio-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: start;
}

.portfolio-filters-toggle {
  display: none;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  margin-bottom: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  border: var(--border-thick);
  background: transparent;
  color: var(--text-color);
  cursor: pointer;
}

.portfolio-filters {
  position: sticky;
  top: 110px;
}

.portfolio-filters-inner {
  border: var(--border-thick);
  padding: 1.5rem;
  background-color: var(--bg-color);
}

.portfolio-filters-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: var(--border-thin);
}

.portfolio-filters-head h3 {
  font-size: 1.1rem;
  margin: 0;
}

.portfolio-filters-reset {
  background: none;
  border: none;
  padding: 0;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--brand-green-light);
  cursor: pointer;
  text-decoration: underline;
}

.portfolio-filters-reset:hover {
  color: var(--brand-purple);
}

.filter-group {
  border: none;
  margin: 0 0 1.75rem;
  padding: 0;
}

.filter-group:last-child {
  margin-bottom: 0;
}

.filter-group legend {
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.8rem;
  margin-bottom: 0.75rem;
  color: var(--brand-green-light);
}

.filter-hint {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin: -0.25rem 0 0.75rem;
}

.filter-options {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.filter-option {
  display: block;
  width: 100%;
  text-align: left;
  padding: 0.55rem 0.75rem;
  font-weight: 600;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border: var(--border-thin);
  background: transparent;
  color: var(--text-color);
  cursor: pointer;
  transition: all 0.2s;
}

.filter-option:hover {
  border-color: var(--brand-green-light);
}

.filter-option.active {
  background-color: var(--text-color);
  color: var(--bg-color);
  border-color: var(--text-color);
}

.filter-checkboxes {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  max-height: 280px;
  overflow-y: auto;
}

.filter-checkbox {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.4rem 0.25rem;
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 600;
}

.filter-checkbox input {
  width: 16px;
  height: 16px;
  accent-color: var(--brand-green-light);
  flex-shrink: 0;
}

.portfolio-results-count {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

@media (min-width: 992px) {
  .portfolio-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
  }
}

.portfolio-item {
  display: flex;
  flex-direction: column;
  height: 100%;
  cursor: pointer;
  transition: transform 0.2s;
  text-decoration: none;
  color: inherit;
}

.portfolio-item:hover {
  transform: translateY(-4px);
}

.portfolio-img-container {
  border: var(--border-thick);
  aspect-ratio: 4 / 3;
  position: relative;
  overflow: hidden;
  background-color: #ccc;
}

.portfolio-img-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(20%);
  transition: filter 0.3s, transform 0.5s;
}

.portfolio-item:hover .portfolio-img-container img {
  filter: grayscale(0%);
  transform: scale(1.05);
}

.page-portfolio .portfolio-img-container img {
  filter: grayscale(100%) contrast(1.22);
}

.page-portfolio .portfolio-item:hover .portfolio-img-container img {
  filter: grayscale(0%) contrast(1);
}

.portfolio-type-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background-color: var(--brand-white);
  color: var(--brand-black);
  padding: 3px 8px;
  font-weight: 900;
  text-transform: uppercase;
  font-size: 0.65rem;
  border: 2px solid var(--border-color);
  z-index: 2;
}

.portfolio-info {
  padding-top: 0.75rem;
}

.portfolio-info h3 {
  font-size: clamp(0.95rem, 2vw, 1.25rem);
  margin-bottom: 0.25rem;
  line-height: 1.2;
}

.portfolio-meta {
  color: var(--brand-green-light);
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.7rem;
  letter-spacing: 0.5px;
  line-height: 1.4;
  margin-bottom: 0;
}

.portfolio-item-col.hidden,
.portfolio-empty.hidden {
  display: none;
}

.portfolio-empty {
  margin-top: 2rem;
  font-weight: 600;
  color: var(--text-muted);
}

@media (max-width: 991px) {
  .portfolio-layout {
    grid-template-columns: 1fr;
  }

  .portfolio-filters-toggle {
    display: flex;
  }

  .portfolio-filters {
    position: static;
    display: none;
  }

  .portfolio-filters.is-open {
    display: block;
  }

  .portfolio-filters-inner {
    margin-bottom: 1.5rem;
  }

  .filter-options {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .filter-option {
    width: auto;
    flex: 1 1 auto;
    min-width: fit-content;
  }
}

/* === Contact === */
.contact-heading {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  color: var(--brand-green-light);
}

.contact-lead {
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

.contact-form-container {
  --contact-form-bg: var(--brand-black);
  --contact-form-fg: var(--brand-white);
  --contact-form-input-border: var(--brand-white);
  --contact-form-input-bg-focus: rgba(255, 255, 255, 0.05);
  --contact-form-placeholder: rgba(255, 255, 255, 0.5);
  background-color: var(--contact-form-bg);
  color: var(--contact-form-fg);
  padding: 3rem;
  border: 6px solid var(--border-color);
}

html.dark-mode .contact-form-container {
  --contact-form-bg: var(--brand-white);
  --contact-form-fg: var(--brand-black);
  --contact-form-input-border: var(--brand-black);
  --contact-form-input-bg-focus: rgba(27, 27, 27, 0.04);
  --contact-form-placeholder: rgba(27, 27, 27, 0.45);
}

.contact-form-container h3 {
  font-size: 2.5rem;
  margin-bottom: 2rem;
  color: var(--contact-form-fg);
}

.contact-form-container label {
  display: block;
  font-weight: bold;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
  letter-spacing: 1px;
  color: var(--contact-form-fg);
}

.contact-form-container .form-control {
  background-color: transparent;
  border: 3px solid var(--contact-form-input-border);
  color: var(--contact-form-fg);
  padding: 1rem;
  font-family: inherit;
  font-size: 1rem;
  transition: background-color 0.2s;
}

.contact-form-container .form-control:focus {
  outline: none;
  background-color: var(--contact-form-input-bg-focus);
  border-color: var(--contact-form-input-border);
  color: var(--contact-form-fg);
  box-shadow: none;
}

.contact-form-container .form-control::placeholder {
  color: var(--contact-form-placeholder);
}

.contact-submit {
  border: 4px solid var(--brand-purple) !important;
}

.contact-alert {
  padding: 0.75rem 1rem;
  margin-bottom: 1rem;
  border: 3px solid currentColor;
  font-weight: 600;
}

.contact-alert--error {
  color: var(--brand-pink);
}

.contact-success {
  padding: 2rem 1.5rem;
  border: 4px solid var(--brand-green-light);
  text-align: center;
}

.contact-success-icon {
  font-size: 2.5rem;
  line-height: 1;
  color: var(--brand-green-light);
  margin-bottom: 0.75rem;
}

.contact-success-title {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--contact-form-fg);
}

.contact-success-text {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--contact-form-fg);
  margin-bottom: 0;
}

.contact-medium-fieldset {
  border: none;
  padding: 0;
  margin: 0;
}

.contact-medium-legend {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 0.65rem;
  color: var(--contact-form-fg);
}

.contact-medium-options {
  display: grid;
  gap: 0.5rem;
}

.contact-medium-option {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  cursor: pointer;
  font-weight: 600;
}

.contact-medium-option input {
  width: 1rem;
  height: 1rem;
  accent-color: var(--brand-green-light);
}

.contact-info-block {
  margin-top: 2rem;
}

.contact-info-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 1.2rem;
  font-weight: bold;
  margin-bottom: 1rem;
}

.contact-info-item svg {
  width: 24px;
  height: 24px;
  stroke: var(--brand-green-light);
  flex-shrink: 0;
}

.contact-info-link {
  font-weight: bold;
  transition: color 0.2s;
}

.contact-info-link:hover {
  color: var(--brand-purple);
}

/* === Footer === */
footer {
  background-color: var(--brand-black);
  color: var(--brand-white);
  border-top: 8px solid var(--brand-green-dark);
  padding: 5rem 0 2rem;
  margin-top: 5rem;
}

.footer-logo {
  display: inline-flex;
  align-items: center;
  margin-bottom: 1rem;
}

.footer-logo img {
  height: 48px;
  width: auto;
  max-width: min(240px, 55vw);
}

.footer-tagline {
  color: #bbb;
  max-width: 300px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4rem;
  margin-bottom: 4rem;
}

.footer-col h4 {
  color: var(--brand-green-light);
  margin-bottom: 1.5rem;
  font-size: 1.2rem;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 0.8rem;
}

.footer-links a {
  font-weight: bold;
  text-transform: uppercase;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--brand-purple);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 2px solid #333;
  color: #888;
  font-size: 0.9rem;
}

.footer-brand {
  font-family: var(--font-body);
  font-weight: 600;
  letter-spacing: 0.5px;
  color: var(--brand-white);
}

.footer-brand span {
  color: var(--brand-green-light);
}

@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

/* Legal / voorwaarden */
.legal-page .legal-lead {
  margin: -0.5rem 0 2rem;
  color: var(--text-muted);
  max-width: 40em;
}

.legal-tabs {
  border-bottom: 3px solid var(--brand-green-light, #439775);
  margin-bottom: 1.5rem;
  gap: 0.25rem;
}

.legal-tabs .nav-link {
  color: var(--text-muted);
  font-weight: 700;
  border: none;
  border-radius: 0;
  padding: 0.75rem 1.25rem;
}

.legal-tabs .nav-link.active {
  color: var(--text-color);
  background: rgba(67, 151, 117, 0.12);
  border-bottom: 3px solid var(--brand-green-light, #439775);
  margin-bottom: -3px;
}

.legal-card {
  background: var(--card-bg, rgba(0, 0, 0, 0.03));
  padding: clamp(1.25rem, 3vw, 2rem);
  border-left: 4px solid var(--brand-green-light, #439775);
}

html.dark-mode .legal-card {
  background: rgba(255, 255, 255, 0.04);
}

.legal-card h2 {
  font-size: 1.05rem;
  margin: 1.5rem 0 0.5rem;
}

.legal-card h2:first-child {
  margin-top: 0;
}

.legal-card p {
  margin: 0 0 0.75rem;
  line-height: 1.65;
}

.legal-doc-title {
  font-weight: 700;
  font-size: 1.1rem;
  margin: 0 0 1.25rem !important;
}

.legal-definitions {
  margin: 0 0 1rem;
}

.legal-definitions dt {
  font-weight: 700;
  margin-top: 0.65rem;
}

.legal-definitions dt:first-child {
  margin-top: 0;
}

.legal-definitions dd {
  margin: 0.25rem 0 0;
  line-height: 1.65;
}

.legal-list {
  margin: 0 0 1rem;
  padding-left: 1.25rem;
  line-height: 1.65;
}

.legal-list li {
  margin-bottom: 0.65rem;
}

.legal-list li:last-child {
  margin-bottom: 0;
}

.legal-note {
  margin-top: 1.5rem !important;
  font-size: 0.9rem;
  color: var(--text-muted);
  font-style: italic;
}

/* === Maintenance mode === */
.maintenance-preview-banner {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  padding: 0.55rem 1rem;
  background: #c9a227;
  color: #1b1b1b;
  font-size: 0.875rem;
  font-weight: 600;
  position: sticky;
  top: 0;
  z-index: 210;
  border-bottom: 3px solid #1b1b1b;
}

.maintenance-preview-banner-text {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.maintenance-preview-banner-link {
  color: #1b1b1b;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.maintenance-preview-banner-link:hover {
  color: var(--brand-green-dark);
}

body.has-maintenance-banner > header {
  top: var(--maintenance-banner-height, 42px);
}

.maintenance-page {
  min-height: 100vh;
  margin: 0;
  background: var(--brand-black, #1B1B1B);
  color: var(--brand-white);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(1.5rem, 5vw, 3rem);
  color-scheme: dark;
}

.maintenance-card {
  width: min(520px, 100%);
  background: var(--brand-green-dark);
  border: 4px solid var(--brand-purple);
  padding: clamp(2rem, 5vw, 3rem);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 1.5rem;
}

.maintenance-logo {
  display: flex;
  justify-content: center;
}

.maintenance-logo img {
  height: auto;
  max-width: min(240px, 70vw);
}

.maintenance-title {
  font-family: var(--font-headline);
  font-size: clamp(1.75rem, 5vw, 2.25rem);
  line-height: 1.15;
  margin: 0;
  color: var(--brand-white);
}

.maintenance-subtitle {
  margin: -0.5rem 0 0;
  font-size: 0.95rem;
  line-height: 1.5;
  color: rgba(245, 245, 245, 0.85);
}

.maintenance-actions {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.65rem;
}

.maintenance-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  width: auto;
  padding: 0.45rem 0.9rem;
  font-size: 0.875rem;
}

.maintenance-page .btn-primary {
  background: var(--brand-green-light);
  border-color: var(--brand-green-light);
  color: var(--brand-white);
}

.maintenance-page .btn-outline {
  border: 2px solid var(--brand-white);
  color: var(--brand-white);
  background: transparent;
}

.maintenance-page .btn-outline:hover {
  background: var(--brand-white);
  color: var(--brand-black);
}

