/* ============================================ */
/* SIRCLE AGENCY — Premium Homepage Stylesheet  */
/* ============================================ */

/* ---------- RESET & BASE ---------- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { overflow-x: hidden; }

:root {
  /* Darks — deep charcoal-greens */
  --black: #000000;
  --dark-grey: #1C1E1D;
  --dark-grey-green: #242827;
  --mid-grey: #494B4A;
  /* Neutrals — from Figma brand book */
  --white: #FFFFFF;
  --warm-white: #FFF8EE;
  --cream: #F3EFE8;
  --warm-beige: #E9E2D6;
  --beige: #DED6C9;
  /* Greens — from Figma brand book */
  --dark-green: #0C180F;
  --dark-green-deep: #060D08;
  --dark-green-warm: #0C180F;
  --mid-green: #3F6F45;
  --sage-green: #8FAF8A;
  --soft-green: #D0DFB9;
  --light-green: #F0FFDA;
  /* Golds — from Figma brand book */
  --light-sage: #D0DEBA;
  --gold: #F2E2A4;
  --gold-bright: #F6EED0;
  --gold-warm: #E8D590;
  --light-gold: #F6EED0;
  /* Accent — warm copper tones for visual depth */
  --copper: #B89A5A;
  --copper-light: #D0B878;
  --bronze: #C4A854;
  --copper-deep: #9A8240;
  /* Easing presets */
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out-quint: cubic-bezier(0.22, 1, 0.36, 1);
  /* Spacing */
  --space-xs: 8px;
  --space-sm: 16px;
  --space-md: 24px;
  --space-lg: 40px;
  --space-xl: 64px;
  --space-2xl: 96px;
  --space-3xl: 128px;
}

/* ============================================ */
/* CUSTOM CURSOR                                */
/* ============================================ */
.cursor {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 99999;
  pointer-events: none;
  mix-blend-mode: difference;
}

.cursor-dot {
  position: absolute;
  top: -4px;
  left: -4px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--white);
  transition: transform 0.15s var(--ease-out-expo), opacity 0.2s;
}

.cursor-ring {
  position: absolute;
  top: -24px;
  left: -24px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.5);
  transition: width 0.4s var(--ease-out-expo), height 0.4s var(--ease-out-expo),
              top 0.4s var(--ease-out-expo), left 0.4s var(--ease-out-expo),
              border-color 0.3s, background 0.3s, opacity 0.2s;
}

.cursor-label {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--white);
  white-space: nowrap;
  opacity: 0;
  transition: opacity 0.3s, top 0.3s var(--ease-out-expo);
  pointer-events: none;
}

/* Cursor states */
.cursor.is-hover .cursor-ring {
  width: 72px;
  height: 72px;
  top: -36px;
  left: -36px;
  border-color: rgba(242,226,164,0.6);
}

.cursor.is-hover .cursor-dot {
  transform: scale(0.5);
  opacity: 0.5;
}

.cursor.is-view .cursor-ring {
  width: 96px;
  height: 96px;
  top: -48px;
  left: -48px;
  background: rgba(242,226,164,0.12);
  border-color: rgba(242,226,164,0.4);
}

.cursor.is-view .cursor-label {
  opacity: 1;
  top: -8px;
}

.cursor.is-view .cursor-dot {
  transform: scale(0);
}

.cursor.is-magnetic .cursor-ring {
  width: 80px;
  height: 80px;
  top: -40px;
  left: -40px;
  border-color: rgba(242,226,164,0.5);
}

.cursor.is-hidden .cursor-dot,
.cursor.is-hidden .cursor-ring {
  transform: scale(0);
  opacity: 0;
}

/* Hide default cursor on desktop */
@media (min-width: 769px) {
  html.has-custom-cursor, html.has-custom-cursor * {
    cursor: none !important;
  }
}

@media (max-width: 768px) {
  .cursor { display: none; }
}

/* ============================================ */
/* PAGE TRANSITIONS                             */
/* ============================================ */
.page-transition {
  position: fixed;
  inset: 0;
  z-index: 100000;
  pointer-events: none;
  background: var(--dark-green);
  opacity: 0;
  visibility: hidden;
  transition: none;
}

.page-transition.is-active {
  visibility: visible;
  pointer-events: all;
}

.page-transition.is-leaving {
  visibility: visible;
}

/* Panels no longer needed — kept for HTML compatibility */
.page-transition__panel {
  display: none;
}

html {
  font-size: 16px;
  scroll-behavior: auto; /* Lenis handles smooth scroll */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background: var(--dark-green);
  color-scheme: dark;
}

/* Safari: disable custom cursor (botst met native trackpad) */
body.is-safari { cursor: auto; }
body.is-safari #cursor { display: none; }

/* Respect prefers-reduced-motion (accessibility + reduceert Safari jank) */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  /* Marquee + team-strip blijven draaien — slow ambient motion is niet hinderlijk */
  .marquee-track {
    animation-duration: 200s !important;
    animation-iteration-count: infinite !important;
  }
  .team-strip-track {
    animation-duration: 60s !important;
    animation-iteration-count: infinite !important;
  }
  /* Reveal-elementen direct zichtbaar bij reduce-motion — anders blijft content
     onzichtbaar omdat GSAP de show-tween in 0.01ms moet doen en dat soms mist */
  .reveal-up,
  .reveal-clip,
  .reveal-scale,
  .reveal-slide {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
    clip-path: none !important;
  }
}

body {
  font-family: 'Kulim Park', sans-serif;
  font-weight: 400;
  line-height: 1.7;
  color: var(--dark-grey);
  background: var(--dark-green);
  text-rendering: optimizeLegibility;
  -webkit-font-feature-settings: "kern" 1, "liga" 1;
  font-feature-settings: "kern" 1, "liga" 1;
  -webkit-text-size-adjust: 100%;
}

/* ---------- SELECTION ---------- */
::selection {
  background: rgba(217,181,76,0.25);
  color: var(--dark-green);
}

::-moz-selection {
  background: rgba(217,181,76,0.25);
  color: var(--dark-green);
}

.section-dark ::selection,
.hero ::selection,
.quote-section ::selection,
.footer ::selection {
  background: rgba(217,181,76,0.32);
  color: var(--white);
}

.section-dark ::-moz-selection,
.hero ::-moz-selection,
.quote-section ::-moz-selection,
.footer ::-moz-selection {
  background: rgba(217,181,76,0.32);
  color: var(--white);
}

/* ---------- SCROLLBAR ---------- */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: var(--dark-green-deep);
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--bronze) 0%, var(--copper-deep) 100%);
  border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, var(--gold) 0%, var(--bronze) 100%);
}

/* Firefox scrollbar */
html {
  scrollbar-width: thin;
  scrollbar-color: var(--bronze) var(--dark-green-deep);
}

/* ---------- FOCUS STATES ---------- */
*:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 4px;
  border-radius: 2px;
}

button:focus-visible,
a:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 4px;
}

.section-dark *:focus-visible,
.hero *:focus-visible,
.quote-section *:focus-visible,
.footer *:focus-visible {
  outline-color: var(--gold-bright);
}

/* Button focus ring glow */
.btn-primary:focus-visible {
  outline-offset: 5px;
  box-shadow: 0 0 0 4px rgba(217,181,76,0.2), 0 2px 16px rgba(217,181,76,0.20);
}

.btn-secondary:focus-visible {
  outline-offset: 5px;
  box-shadow: 0 0 0 4px rgba(184,198,163,0.15);
}

/* Remove outline on mouse click but keep for keyboard */
:focus:not(:focus-visible) {
  outline: none;
}

/* ---------- SECTION FLOW TRANSITIONS ---------- */
/* Clean hard cuts between sections — no gradient bridges */

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }
button { border: none; background: none; cursor: pointer; font-family: inherit; }
address { font-style: normal; }

/* Loader removed — animations init directly on load */

/* ---------- NAVIGATION ---------- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 20px 48px;
  transition: all 0.4s cubic-bezier(0.25,0.46,0.45,0.94);
}

.nav.scrolled {
  padding: 14px 48px;
  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.nav-inner {
  max-width: 1440px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo-img {
  height: 36px;
  width: auto;
}

/* Ensure logo is always visible on non-homepage pages */
.nav.scrolled .nav-logo-img {
  opacity: 1 !important;
  transform: none !important;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 40px;
}

.nav-links a {
  color: rgba(255,255,255,0.65);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: color 0.3s ease;
  position: relative;
}

.nav-links a:hover { color: var(--white); }

.nav-links a.active { color: var(--white); }



.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 6px;
  padding: 8px;
}

.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: all 0.3s cubic-bezier(0.25,0.46,0.45,0.94);
  transform-origin: center;
}

.nav-hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 6px);
}

.nav-hamburger.active span:nth-child(2) {
  opacity: 0;
  transform: translateX(-10px);
}

.nav-hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -6px);
}

@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  .nav { padding: 16px 24px; }
}

/* ---------- MOBILE MENU ---------- */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 999;
  pointer-events: none;
  visibility: hidden;
}

.mobile-menu.open {
  pointer-events: all;
  visibility: visible;
}

.mobile-menu-bg {
  position: absolute;
  inset: 0;
  background: rgba(12, 24, 15, 0.92);
  backdrop-filter: blur(32px);
  -webkit-backdrop-filter: blur(32px);
  opacity: 0;
  transition: opacity 0.4s cubic-bezier(0.25,0.46,0.45,0.94);
}

.mobile-menu.open .mobile-menu-bg {
  opacity: 1;
}

/* Noise on mobile menu */
.mobile-menu::after {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0;
  filter: url(#noise);
  pointer-events: none;
  z-index: 1;
  transition: opacity 0.4s ease 0.2s;
}

.mobile-menu.open::after {
  opacity: 0.03;
}

.mobile-menu-inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 24px 32px 40px;
  justify-content: space-between;
}

.mobile-menu-top {
  padding-top: 8px;
}

.mobile-menu-logo {
  height: 24px;
  width: auto;
  opacity: 0;
  transform: translateY(-10px);
  transition: all 0.4s ease 0.2s;
}

.mobile-menu.open .mobile-menu-logo {
  opacity: 1;
  transform: translateY(0);
}

/* Navigation Links */
.mobile-menu-nav {
  display: flex;
  flex-direction: column;
  gap: 0;
  flex: 1;
  justify-content: center;
  padding: 40px 0;
}

.mobile-nav-link {
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(184,198,163,0.08);
  color: var(--white);
  font-size: 36px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  opacity: 0;
  transform: translateX(-30px);
  transition: all 0.4s cubic-bezier(0.25,0.46,0.45,0.94);
}

.mobile-menu.open .mobile-nav-link {
  opacity: 1;
  transform: translateX(0);
}

.mobile-menu.open .mobile-nav-link:nth-child(1) { transition-delay: 0.15s; }
.mobile-menu.open .mobile-nav-link:nth-child(2) { transition-delay: 0.2s; }
.mobile-menu.open .mobile-nav-link:nth-child(3) { transition-delay: 0.25s; }
.mobile-menu.open .mobile-nav-link:nth-child(4) { transition-delay: 0.3s; }
.mobile-menu.open .mobile-nav-link:nth-child(5) { transition-delay: 0.35s; }

.mobile-nav-link:hover,
.mobile-nav-link:active { color: var(--gold); }

.mobile-nav-num {
  font-size: 13px;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 0.05em;
  min-width: 24px;
}

/* CTA */
.mobile-menu-cta {
  padding: 0 0 24px;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.4s ease 0.4s;
}

.mobile-menu.open .mobile-menu-cta {
  opacity: 1;
  transform: translateY(0);
}

.mobile-cta-btn {
  width: 100%;
  justify-content: center;
  font-size: 16px;
  padding: 18px 32px;
}

/* Footer */
.mobile-menu-footer {
  display: flex;
  flex-direction: column;
  gap: 16px;
  opacity: 0;
  transition: opacity 0.4s ease 0.5s;
}

.mobile-menu.open .mobile-menu-footer {
  opacity: 1;
}

.mobile-menu-socials {
  display: flex;
  gap: 24px;
}

.mobile-menu-socials a {
  font-size: 14px;
  font-weight: 600;
  color: var(--soft-green);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: color 0.3s;
}

.mobile-menu-socials a:hover { color: var(--gold); }

.mobile-menu-contact {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mobile-menu-contact a {
  font-size: 14px;
  color: rgba(184,198,163,0.6);
  transition: color 0.3s;
}

.mobile-menu-contact a:hover { color: var(--gold); }

.mobile-menu-legal {
  display: flex;
  gap: 8px;
  align-items: center;
}

.mobile-menu-legal a {
  font-size: 12px;
  font-weight: 300;
  color: rgba(184,198,163,0.4);
  transition: color 0.3s;
}

.mobile-menu-legal span {
  font-size: 12px;
  color: rgba(184,198,163,0.2);
}

.mobile-menu-legal a:hover { color: var(--soft-green); }

/* ---------- CONTAINERS ---------- */
.container { width: 90%; max-width: 1200px; margin: 0 auto; }
.container-wide { width: 92%; max-width: 1500px; margin: 0 auto; }
.container-narrow { width: 90%; max-width: 800px; margin: 0 auto; }

@media (max-width: 767px) {
  .container, .container-wide, .container-narrow { width: 100%; padding: 0 20px; }
}

/* ---------- UTILITY CLASSES ---------- */
.svg-defs { position: absolute; width: 0; height: 0; }
.content-above { position: relative; z-index: 2; }
.text-center { text-align: center; }
.mt-xl { margin-top: var(--space-xl); }
.btn-pill { border-radius: 60px; }

/* ---------- BG-TEXTURE VARIANTS ---------- */
.bg-texture--light { opacity: 0.06; }
.bg-texture--medium { opacity: 0.12; }
.bg-texture--strong { opacity: 0.15; }
.bg-texture--multiply { mix-blend-mode: multiply; }
.bg-texture--gradient { opacity: 0.35; filter: none; }
.bg-texture--gradient-strong { opacity: 0.55; filter: none; }
.bg-texture--gradient-hero { opacity: 0.6; filter: none; }

/* ---------- SECTION ACCENT IMAGES ---------- */
.section-accent {
  position: absolute;
  pointer-events: none;
  z-index: 0;
}
.section-accent img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 16px;
}
.section-accent--corner {
  right: 0;
  bottom: 0;
  width: 400px;
  height: 400px;
  opacity: 0.08;
  mask-image: radial-gradient(ellipse at 100% 100%, black 30%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at 100% 100%, black 30%, transparent 70%);
}
@media (max-width: 767px) {
  .section-accent--corner { width: 200px; height: 200px; }
}

/* ---------- NOISE OVERLAY ---------- */
.noise-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0.08;
  filter: url(#noise);
  width: 100%;
  height: 100%;
  mix-blend-mode: overlay;
}

.section-cream .noise-overlay {
  opacity: 0.05;
  mix-blend-mode: multiply;
}

/* ---------- GRAIN OVERLAY ---------- */
.grain-overlay {
  position: absolute;
  inset: -20%;
  opacity: 0.04;
  pointer-events: none;
  z-index: 2;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.80' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 200px;
  animation: grain 1s steps(8) infinite;
}

@keyframes grain {
  0%, 100% { transform: translate(0, 0); }
  12% { transform: translate(-2%, -6%); }
  25% { transform: translate(3%, -10%); }
  37% { transform: translate(-4%, 4%); }
  50% { transform: translate(8%, 6%); }
  62% { transform: translate(-3%, -2%); }
  75% { transform: translate(5%, 3%); }
  87% { transform: translate(-1%, 7%); }
}

/* ---------- SECTIONS BASE ---------- */
.section {
  position: relative;
  padding: 160px 0;
  overflow: hidden;
}

/* ---------- SECTION BACKGROUNDS ---------- */

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

.section-cream {
  background: var(--cream);
  color: var(--dark-green);
}

/* Atmospheric ambient glows — subtle blurred accent circles for depth */
.section-dark .section-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.4;
}

.section-glow--green {
  width: 500px;
  height: 500px;
  background: rgba(63,111,69,0.25);
}

.section-glow--gold {
  width: 400px;
  height: 400px;
  background: rgba(242,226,164,0.12);
}

.about .section-glow--green { top: -10%; right: -5%; }
.about .section-glow--gold { bottom: 10%; left: -8%; }

.section-label {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--bronze);
  margin-bottom: 20px;
  padding: 8px 20px;
  border-radius: 100px;
  border: 1px solid rgba(196,168,84,0.2);
  background: rgba(196,168,84,0.06);
  text-rendering: optimizeLegibility;
}

.section-dark .section-label {
  color: var(--gold);
  border-color: rgba(242,226,164,0.15);
  background: rgba(242,226,164,0.06);
}

.section-title {
  font-size: clamp(34px, 5.2vw, 68px);
  font-weight: 700;
  text-transform: uppercase;
  line-height: 0.95;
  letter-spacing: -0.01em;
  margin-bottom: 36px;
  color: var(--dark-green);
  text-rendering: geometricPrecision;
  -webkit-font-smoothing: antialiased;
}

.section-dark .section-title { color: var(--white); }
.section-title--dark { color: var(--dark-green) !important; }

.section-subtitle {
  font-size: 17px;
  font-weight: 300;
  line-height: 1.85;
  color: var(--mid-grey);
  max-width: 600px;
  margin: 0 auto 80px;
  text-align: center;
  letter-spacing: 0.01em;
}

.section-dark .section-subtitle {
  color: rgba(184,198,163,0.7);
  font-weight: 300;
}

.section-header {
  margin-bottom: 72px;
}

.text-center { text-align: center; }

@media (max-width: 767px) {
  .section { padding: 80px 0; }
  .section-title { letter-spacing: 0.04em; }
}

/* ---------- BUTTONS ---------- */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(140deg, var(--gold) 0%, var(--gold-warm) 50%, var(--bronze) 100%);
  color: var(--dark-green);
  padding: 18px 40px;
  border-radius: 100px;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.04em;
  transition: all 0.5s var(--ease-out-expo);
  border: none;
  cursor: pointer;
  position: relative;
  box-shadow:
    0 1px 2px rgba(0,0,0,0.06),
    0 4px 16px rgba(217,181,76,0.15);
  overflow: hidden;
  z-index: 1;
}

/* Shine sweep on hover */
.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 45%;
  height: 100%;
  background: linear-gradient(
    105deg,
    transparent 20%,
    rgba(255,255,255,0.4) 45%,
    rgba(255,255,255,0.15) 55%,
    transparent 80%
  );
  transition: left 0.7s var(--ease-out-expo);
  z-index: 2;
  pointer-events: none;
}

.btn-primary:hover::before {
  left: 140%;
}

.btn-primary:hover {
  background: linear-gradient(140deg, var(--gold-bright) 0%, var(--gold) 45%, var(--bronze) 100%);
  transform: translateY(-2px);
  box-shadow:
    0 2px 4px rgba(0,0,0,0.08),
    0 8px 28px rgba(217,181,76,0.32),
    0 0 48px rgba(217,181,76,0.08);
}

.btn-primary:active {
  transform: translateY(0);
  box-shadow: 0 1px 2px rgba(0,0,0,0.06), 0 2px 8px rgba(217,181,76,0.2);
  transition-duration: 0.1s;
}

.btn-large { padding: 22px 52px; font-size: 16px; letter-spacing: 0.05em; border-radius: 100px; }

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--soft-green);
  padding: 18px 40px;
  border-radius: 100px;
  border: 1px solid rgba(184,198,163,0.28);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.02em;
  transition: all 0.5s var(--ease-out-expo);
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.btn-secondary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--soft-green);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--ease-out-expo);
  z-index: -1;
}

.btn-secondary:hover::before {
  transform: scaleX(1);
}

.btn-secondary:hover {
  color: var(--dark-green);
  border-color: var(--soft-green);
}

.btn-secondary:active {
  transform: scale(0.98);
  transition-duration: 0.1s;
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--mid-green);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.02em;
  position: relative;
  padding: 8px 0;
  border-bottom: 1px solid transparent;
  transition: color 0.4s var(--ease-out-quint);
  overflow: hidden;
}

.btn-ghost::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1.5px;
  background: currentColor;
  transition: width 0.6s var(--ease-out-expo);
}

.btn-ghost::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: currentColor;
  opacity: 0.1;
}

.btn-ghost:hover::before { width: 100%; }
.btn-ghost span { transition: transform 0.4s var(--ease-out-expo); display: inline-block; }
.btn-ghost:hover span { transform: translateX(6px); }
.btn-ghost:hover { color: var(--dark-green); }

.section-dark .btn-ghost { color: var(--gold); }
.section-dark .btn-ghost:hover { color: var(--gold-bright); }
.section-dark .btn-ghost::after { opacity: 0.06; }

.btn-arrow { transition: transform 0.3s ease; display: inline-block; }
.btn-primary:hover .btn-arrow { transform: translateX(4px); }

/* ---------- IMAGE TREATMENT ---------- */
.sircle-img {
  filter: saturate(0.85) contrast(1.05) brightness(0.95);
}

.bg-texture {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.08;
  pointer-events: none;
}

/* ============================================ */
/* HERO                                         */
/* ============================================ */
.hero {
  position: relative;
  height: 100vh;
  height: 100dvh;
  min-height: 700px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #000;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background: #000;
}

.hero-bg-img {
  width: 100%;
  height: 120%;
  object-fit: cover;
  transform: scale(1.1);
  filter: saturate(0.7) brightness(0.5);
  will-change: transform;
}

.hero-bg-video {
  width: 100%;
  height: 120%;
  object-fit: cover;
  transform: scale(1.1);
  filter: saturate(0.7) brightness(0.5);
  will-change: transform;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(8,22,16,0.97) 0%, rgba(8,22,16,0.65) 30%, rgba(8,22,16,0.3) 55%, rgba(8,22,16,0.2) 100%),
    radial-gradient(ellipse 80% 60% at 50% 80%, rgba(8,22,16,0.5) 0%, transparent 100%);
  z-index: 1;
}

.hero .noise-overlay { z-index: 2; }

.hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  max-width: 1200px;
  padding: 0 48px;
}

/* Hide hero elements until JS animates them — prevents FOUC */
.hero .hero-title,
.hero .hero-label,
.hero .hero-sub,
.hero .hero-cta,
.hero .scroll-indicator {
  opacity: 0;
}

.hero-title {
  font-size: clamp(44px, 9vw, 130px);
  font-weight: 700;
  line-height: 0.9;
  letter-spacing: -0.05em;
  color: var(--white);
  margin-bottom: 48px;
  text-rendering: geometricPrecision;
  -webkit-font-smoothing: antialiased;
}

.hero-title .line {
  display: block;
  overflow: hidden;
  padding-bottom: 0.05em;
}

.hero-title .char {
  display: inline-block;
  will-change: transform, opacity;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

/* Gradient text accent for middle line — applied per char so it works with splitTextIntoChars */
.hero-title .line:nth-child(2) .char {
  background: linear-gradient(135deg, var(--gold-bright) 0%, var(--gold) 40%, var(--copper-light) 70%, var(--gold-bright) 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: goldShimmer 8s ease-in-out infinite;
}

/* Before JS splits the text, apply gradient on the line itself */
.hero-title .line:nth-child(2) {
  color: var(--gold);
}

.hero-sub {
  font-size: clamp(15px, 1.4vw, 19px);
  color: rgba(184,198,163,0.7);
  line-height: 1.8;
  margin-bottom: 48px;
  max-width: none;
  margin-left: auto;
  margin-right: auto;
  letter-spacing: 0;
  font-weight: 300;
  white-space: nowrap;
}
@media (max-width: 767px) {
  .hero-sub { white-space: normal; max-width: 480px; }
}

.hero-cta { font-size: 17px; }

/* Hero label badge */
.hero-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 24px;
  border-radius: 100px;
  border: 1px solid rgba(242,226,164,0.15);
  background: rgba(242,226,164,0.05);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 40px;
}

.hero-label-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  animation: pulse 2s ease-in-out infinite;
}

/* Scroll Indicator — modernized */
.scroll-indicator {
  position: absolute;
  bottom: 48px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.scroll-indicator span {
  color: rgba(255,255,255,0.4);
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-weight: 600;
}

.scroll-line {
  width: 1px;
  height: 56px;
  background: linear-gradient(to bottom, rgba(242,226,164,0.5), transparent);
  animation: scrollPulse 2.5s ease-in-out infinite;
  transform-origin: top;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(0.6); }
  50% { opacity: 1; transform: scaleY(1); }
}

@media (max-width: 767px) {
  .hero { min-height: 600px; }
  .hero-content { padding: 0 24px; }
  .hero-cta { width: 100%; justify-content: center; }
  .hero-title { letter-spacing: -0.03em; margin-bottom: 28px; }
  .hero-title .line:nth-child(2),
  .hero-title .line:nth-child(2) .char {
    color: var(--gold);
    -webkit-text-fill-color: var(--gold);
    background: none;
    animation: none;
  }
  .hero-sub { margin-bottom: 36px; }
  .scroll-indicator { bottom: 24px; }
  .hero-label { margin-bottom: 28px; }
}

/* ============================================ */
/* TRUST BAR                                   */
/* ============================================ */
.trust-bar {
  position: relative;
  z-index: 3;
  background: var(--dark-green);
  border-top: 1px solid rgba(184,198,163,0.06);
  border-bottom: 1px solid rgba(184,198,163,0.06);
  padding: 48px 0;
}

.trust-bar-inner {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.trust-item {
  text-align: center;
  flex: 1;
}

.trust-number {
  display: block;
  font-size: 28px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.trust-label {
  display: block;
  font-size: 12px;
  font-weight: 400;
  color: rgba(184,198,163,0.55);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-top: 6px;
}

.trust-divider {
  width: 1px;
  height: 40px;
  background: rgba(184,198,163,0.12);
  flex-shrink: 0;
}

@media (max-width: 767px) {
  .trust-bar-inner {
    padding: 0 24px;
    gap: 16px;
    flex-wrap: wrap;
  }
  .trust-item {
    flex: 1 1 40%;
  }
  .trust-divider {
    display: none;
  }
  .trust-number {
    font-size: 22px;
  }
}

/* ============================================ */
/* PAIN POINTS */
/* ============================================ */
/* Pain points — dark section, gradient-border cards with large numbers */
.pain-points .section-title {
  max-width: 600px;
}

.pain-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: 72px;
  background: linear-gradient(135deg, rgba(196,168,84,0.28) 0%, rgba(196,168,84,0.06) 60%, var(--dark-green-deep) 100%);
  border-radius: 24px;
  overflow: hidden;
}

.pain-card {
  padding: 56px 44px;
  background: var(--dark-green);
  position: relative;
  overflow: hidden;
  transition: background 0.5s ease;
}

.pain-card:first-child { border-radius: 24px 0 0 24px; }
.pain-card:last-child { border-radius: 0 24px 24px 0; }

.pain-icon {
  display: block;
  color: rgba(242,226,164,0.35);
  margin-bottom: 20px;
}

.pain-icon svg {
  width: 20px;
  height: 20px;
}

.pain-card-line {
  width: 40px;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), transparent);
  margin-bottom: 28px;
  transition: width 0.5s var(--ease-out-expo);
}

.pain-card:hover .pain-card-line {
  width: 80px;
}

.pain-card-glow {
  position: absolute;
  bottom: -60px;
  right: -60px;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: rgba(242,226,164,0.06);
  filter: blur(60px);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.6s ease;
}

.pain-card:hover .pain-card-glow {
  opacity: 1;
}

.pain-card:hover {
  background: rgba(10,30,18,1);
}

.pain-card h3 {
  font-size: 22px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 16px;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

.pain-card p {
  font-size: 15px;
  line-height: 1.75;
  color: rgba(208,223,185,0.55);
  font-weight: 300;
}

@media (max-width: 900px) {
  .pain-grid {
    grid-template-columns: 1fr;
    border-radius: 20px;
  }
  .pain-card { padding: 40px 32px; }
  .pain-card:first-child { border-radius: 20px 20px 0 0; }
  .pain-card:last-child { border-radius: 0 0 20px 20px; }
  .pain-card h3 { font-size: 19px; }
  .pain-icon svg { width: 18px; height: 18px; }
}

/* ============================================ */
/* INTRO + IDENTITY */
/* ============================================ */
.intro { padding-top: 160px; padding-bottom: 140px; }

.intro-bg-image {
  display: none;
}

.intro .container { position: relative; z-index: 2; }

.intro-video {
  margin-bottom: 80px;
  max-width: 75%;
  margin-left: auto;
  margin-right: auto;
}

.video-container {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  cursor: pointer;
  box-shadow:
    0 24px 80px rgba(12,24,15,0.15),
    0 0 0 1px rgba(12,24,15,0.06);
}

.video-poster {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.8) brightness(0.7);
  transition: transform 0.6s ease;
}

.video-container:hover .video-poster { transform: scale(1.03); }

.play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  z-index: 2;
}

.play-button::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 72px;
  height: 72px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  border: 1px solid rgba(242,226,164,0.3);
  animation: playPulse 2.5s ease-out infinite;
  pointer-events: none;
}

@keyframes playPulse {
  0% { width: 72px; height: 72px; opacity: 0.6; }
  100% { width: 120px; height: 120px; opacity: 0; }
}

.play-button svg {
  width: 72px;
  height: 72px;
  transition: transform 0.4s cubic-bezier(0.25,0.46,0.45,0.94);
  filter: drop-shadow(0 4px 20px rgba(242,226,164,0.2));
}

.video-container:hover .play-button svg { transform: scale(1.12); }

.play-button span {
  color: var(--gold);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.intro-brand {
  font-size: clamp(36px, 5vw, 72px);
  font-weight: 700;
  color: var(--dark-green);
  text-align: center;
  margin-bottom: 28px;
  text-transform: lowercase;
  letter-spacing: -0.025em;
  text-rendering: optimizeLegibility;
}

@keyframes goldShimmer {
  0%, 100% { background-position: 0% center; }
  50% { background-position: 100% center; }
}

.intro-text {
  font-size: 18px;
  line-height: 1.85;
  color: var(--mid-grey);
  text-align: center;
  max-width: 660px;
  margin: 0 auto 72px;
  letter-spacing: 0.005em;
  font-weight: 300;
}

.intro-pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.pillar {
  border-top: 1px solid rgba(12,24,15,0.1);
  padding-top: 28px;
}

.pillar h4 {
  font-size: 20px;
  font-weight: 600;
  color: var(--dark-green);
  margin-bottom: 10px;
  letter-spacing: 0.03em;
}

.pillar p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--mid-grey);
}

@media (max-width: 767px) {
  .intro-pillars { grid-template-columns: 1fr; }
}

/* ============================================ */
/* ============================================ */
/* DIENSTEN / SIRCLE MODEL — Fullscreen Panels */
/* ============================================ */
.diensten .section-title,
.diensten .section-subtitle { text-align: center; }

.diensten { padding-bottom: 80px; }

/* Fullscreen pinned container */
.sircle-fullscreen {
  position: relative;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
}

.sircle-fullscreen-inner {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 80px;
  padding: 0 80px;
  max-width: 1400px;
  margin: 0 auto;
}

/* Model visual — BIG, dominant */
.sircle-visual {
  position: relative;
  width: 50%;
  max-width: 520px;
  aspect-ratio: 1 / 1;
  flex-shrink: 0;
}

.sircle-phase-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0;
  pointer-events: none;
  will-change: transform, opacity;
  transition: none;
}

.sircle-phase-img.active {
  opacity: 1;
}

.sircle-model-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 70%;
  height: 70%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212,185,120,0.12) 0%, transparent 70%);
  opacity: 0;
  pointer-events: none;
  will-change: opacity;
  filter: blur(40px);
}

/* Info panel */
.sircle-info {
  flex: 1;
  position: relative;
  min-height: 300px;
}

.sircle-info-panel {
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  opacity: 0;
  pointer-events: none;
  will-change: opacity, transform;
  transition: none;
}

.sircle-info-panel.active {
  opacity: 1;
  pointer-events: all;
}

.sircle-phase-label {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--gold);
  display: block;
  margin-bottom: 16px;
}

.sircle-phase-num {
  font-size: 13px;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 0.12em;
  display: block;
  margin-bottom: 12px;
}

.sircle-info-panel h3 {
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 24px;
  line-height: 1.1;
}

.sircle-info-panel p {
  font-size: 18px;
  line-height: 1.7;
  color: var(--soft-green);
}

.sircle-info-panel ul {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.sircle-info-panel li {
  font-size: 17px;
  color: rgba(184,198,163,0.85);
  padding-left: 24px;
  position: relative;
  line-height: 1.6;
}

.sircle-info-panel li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--copper));
}

/* Phase dots */
.sircle-phase-dots {
  position: absolute;
  right: 40px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.sircle-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(184,198,163,0.25);
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
}

.sircle-dot.active {
  background: var(--gold);
  transform: scale(1.3);
}

/* Mobile */
@media (max-width: 900px) {
  .sircle-fullscreen {
    height: auto;
    min-height: auto;
  }
  .sircle-fullscreen-inner {
    flex-direction: column;
    padding: 40px 24px;
    gap: 16px;
  }
  .sircle-visual {
    width: 90%;
    max-width: 380px;
    margin: 0 auto;
    transform: none;
  }
  /* On mobile: hide individual phase images, only show full model */
  .sircle-phase-img { display: none; }
  .sircle-phase-img[data-phase="intro"] {
    display: block;
    opacity: 1;
    position: relative;
  }
  .sircle-info {
    min-height: auto;
  }
  /* Show ALL panels stacked on mobile */
  .sircle-info-panel {
    position: relative;
    top: auto;
    transform: none;
    opacity: 1;
    pointer-events: all;
    margin-bottom: 36px;
    padding-bottom: 36px;
    border-bottom: 1px solid rgba(184,198,163,0.12);
  }
  .sircle-info-panel:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
  }
  /* Hide intro panel on mobile (redundant with title above) */
  .sircle-info-panel[data-phase="intro"] {
    display: none;
  }
  .sircle-phase-dots {
    display: none;
  }
  .sircle-model-glow {
    display: none;
  }
}

/* CASES */
/* ============================================ */
.cases { padding-top: 160px; padding-bottom: 120px; }

.cases-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 56px;
}

.case-card {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  cursor: pointer;
  box-shadow:
    0 4px 16px rgba(0,0,0,0.2),
    0 16px 48px rgba(0,0,0,0.18);
  transition: box-shadow 0.7s var(--ease-out-expo), transform 0.7s var(--ease-out-expo);
}

.case-card:hover {
  box-shadow:
    0 8px 24px rgba(0,0,0,0.25),
    0 32px 80px rgba(0,0,0,0.35),
    0 0 0 1px rgba(242,226,164,0.08);
  transform: translateY(-8px) scale(1.01);
}

/* First card spans full width */
.case-card:first-child {
  grid-column: 1 / -1;
}

.case-image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3 / 2;
}

/* Featured card gets taller ratio */
.case-card:first-child .case-image {
  aspect-ratio: 21 / 9;
}

.case-image img {
  width: 100%;
  height: 115%;
  object-fit: cover;
  object-position: center 30%;
  transition: transform 1.2s var(--ease-out-expo), filter 0.8s ease;
  filter: saturate(0.8) brightness(0.75) contrast(1.05);
  will-change: transform;
}

.case-card:hover .case-image img {
  transform: scale(1.08);
  filter: saturate(0.95) brightness(0.85) contrast(1.02);
}

.case-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(5,16,11,0.95) 0%,
    rgba(5,16,11,0.7) 20%,
    rgba(5,16,11,0.35) 40%,
    rgba(5,16,11,0.12) 58%,
    rgba(5,16,11,0.04) 72%,
    transparent 100%
  );
  z-index: 1;
  transition: opacity 0.5s ease;
}

/* Cinematic top fade + edge vignette */
.case-image::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 50%;
  background: linear-gradient(to bottom, rgba(5,16,11,0.2) 0%, transparent 100%);
  z-index: 1;
  pointer-events: none;
}

.case-image::after {
  content: '';
  position: absolute;
  inset: 0;
  box-shadow: inset 0 0 100px 30px rgba(5,16,11,0.15);
  z-index: 1;
  pointer-events: none;
  border-radius: 14px;
}

.case-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 32px 36px;
  z-index: 2;
  transform: translateY(6px);
  opacity: 0.88;
  transition: transform 0.6s var(--ease-out-expo), opacity 0.5s ease;
}

.case-card:hover .case-info {
  transform: translateY(0);
  opacity: 1;
}

.case-info h3 {
  font-size: 26px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
  letter-spacing: 0.02em;
}

.case-tags {
  font-size: 12px;
  color: rgba(208,223,185,0.65);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 500;
  transition: color 0.3s;
}

.case-card:hover .case-tags { color: var(--gold); }

/* Case card arrow indicator */
.case-card::after {
  content: '';
  position: absolute;
  top: 24px;
  right: 24px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.2);
  z-index: 5;
  opacity: 0;
  transform: scale(0.8);
  transition: opacity 0.4s var(--ease-out-expo), transform 0.4s var(--ease-out-expo);
  background: rgba(242,226,164,0.1);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.case-card:hover::after {
  opacity: 1;
  transform: scale(1);
}

@media (max-width: 900px) {
  .cases-grid { grid-template-columns: 1fr; }
  .case-card:first-child { grid-column: 1; }

  /* Consistent aspect ratio across all cards on mobile/tablet */
  .case-image,
  .case-card:first-child .case-image {
    aspect-ratio: 4 / 3;
  }

  /* Mobile: GEEN filter — visuals onverzwakt zichtbaar */
  .case-image img {
    filter: none;
    height: 100%;
    object-position: center center;
    transform: none;
  }
  .case-card:hover .case-image img {
    filter: none;
    transform: scale(1.03);
  }

  /* Mobile: ALLE hover-effects op .case-card uit. iOS triggert :hover bij touch
     waardoor card omhoog springt (translateY -8px) = zichtbaar balkje bij scroll */
  .case-card,
  .case-card:hover {
    transform: none !important;
    transition: none !important;
    box-shadow: 0 4px 16px rgba(0,0,0,0.15) !important;
  }
  .case-card:hover .case-image img {
    transform: none !important;
    filter: none !important;
  }
  .case-card:hover .case-info {
    transform: none !important;
    opacity: 1 !important;
  }
  .case-card:hover::after {
    opacity: 0 !important;
  }

  /* Overlay-gradient onderaan, info-panel volledig static */
  .case-overlay {
    background: linear-gradient(
      to top,
      rgba(5,16,11,0.85) 0%,
      rgba(5,16,11,0.55) 30%,
      rgba(5,16,11,0) 65%
    );
  }
  .case-info {
    position: absolute !important;
    bottom: 0;
    left: 0;
    right: 0;
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
    padding: 20px 24px;
  }
  .case-info h3 {
    font-size: 22px;
    color: var(--white);
    text-shadow: 0 2px 8px rgba(0,0,0,0.7);
  }
  .case-image::before,
  .case-image::after { display: none; }

  /* Reveal the info panel at rest — no hover on touch devices */
  .case-info {
    opacity: 1;
    transform: translateY(0);
    padding: 24px 24px;
  }
  .case-info h3 {
    font-size: 22px;
    text-shadow: 0 2px 8px rgba(0,0,0,0.5);
  }
}

/* Cases on cream: adapt colors */
.section-cream .case-card {
  box-shadow:
    0 4px 16px rgba(12,24,15,0.08),
    0 16px 48px rgba(12,24,15,0.12);
}

.section-cream .case-card:hover {
  box-shadow:
    0 8px 24px rgba(12,24,15,0.12),
    0 32px 80px rgba(12,24,15,0.20),
    0 0 0 1px rgba(143,175,138,0.15);
}

.section-cream .btn-ghost {
  color: var(--mid-green);
}

.section-cream .btn-ghost:hover {
  color: var(--dark-green);
}

/* ---------- CASE HOVER VIDEO ---------- */
.case-image,
.sc-portfolio-image {
  position: relative;
  overflow: hidden;
}

.hover-reel {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  pointer-events: none;
  z-index: 1;
  transition: opacity 0.5s ease;
}

.case-card:hover .hover-reel,
.sc-portfolio-item:hover .hover-reel {
  opacity: 1;
}

/* sp-proof__case (sirclepakket) hover video */
.sp-proof__case {
  position: relative;
  overflow: hidden;
}

.sp-proof__case .hover-reel {
  border-radius: inherit;
}

.sp-proof__case:hover .hover-reel {
  opacity: 1;
}

/* ---------- MARQUEE ---------- */
.marquee {
  overflow: hidden;
  padding: 48px 0;
  border-top: 1px solid rgba(208,223,185,0.1);
  border-bottom: 1px solid rgba(208,223,185,0.1);
}

/* Marquee on cream backgrounds */
.section-cream .marquee {
  border-top: 1px solid rgba(12,24,15,0.08);
  border-bottom: 1px solid rgba(12,24,15,0.08);
}

.section-cream .marquee-item {
  color: rgba(12,24,15,0.55);
}

.section-cream .marquee-item:hover {
  color: var(--bronze);
}

.section-cream .marquee-dot {
  color: rgba(12,24,15,0.3);
}

@media (max-width: 767px) {
  .section-cream .marquee-item {
    color: rgba(12,24,15,0.7);
  }
  .section-cream .marquee-dot {
    color: rgba(12,24,15,0.4);
  }
  .marquee-item {
    color: rgba(208,223,185,0.75);
  }
  .marquee-dot {
    color: rgba(208,223,185,0.5);
  }
}

.marquee-track {
  display: flex;
  gap: 32px;
  white-space: nowrap;
  animation: marqueeScroll 200s linear infinite;
  width: max-content;
}

.marquee-item {
  font-size: 18px;
  font-weight: 600;
  color: rgba(208,223,185,0.45);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  transition: color 0.3s;
  text-decoration: none;
}

.marquee-item:hover {
  color: var(--gold);
}

a.marquee-item:hover {
  color: var(--gold);
}

.marquee-dot {
  color: rgba(208,223,185,0.3);
  font-size: 18px;
}

@keyframes marqueeScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ============================================ */
/* QUOTE */
/* ============================================ */
.quote-section {
  min-height: 92vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--dark-green);
  color: var(--white);
  overflow: hidden;
}

.quote-bg {
  position: absolute;
  inset: -20%;
  z-index: 0;
  will-change: transform;
}

.quote-bg .bg-texture { opacity: 0.12; }

.quote-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(58,94,66,0.85) 0%, rgba(12,24,15,0.72) 60%, rgba(10,26,20,0.82) 100%);
  z-index: 1;
}

.quote-content {
  position: relative;
  z-index: 4;
  text-align: center;
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 48px;
}

.quote-line {
  width: 60px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(217,181,76,0.4), transparent);
  margin: 40px auto;
}

.quote-text {
  font-size: clamp(38px, 6.5vw, 82px);
  font-weight: 700;
  color: var(--white);
  line-height: 1.02;
  text-transform: uppercase;
  letter-spacing: -0.035em;
  text-rendering: geometricPrecision;
  text-shadow: 0 4px 60px rgba(0,0,0,0.2);
}

.quote-cite {
  font-size: 13px;
  color: var(--gold);
  font-style: normal;
  display: block;
  margin-top: 14px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 300;
  opacity: 0.7;
}

.quote-word {
  display: inline-block;
  will-change: transform, opacity, filter;
  transition: none;
}

/* ============================================ */
/* ABOUT */
/* ============================================ */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.about-image {
  border-radius: 16px;
  overflow: hidden;
  line-height: 0;
  font-size: 0;
}

.about-image img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  object-position: center 20%;
  display: block;
  border-radius: 16px;
  filter: saturate(0.85) contrast(1.05) brightness(0.9);
}

.about-image-secondary {
  margin-top: 16px;
  border-radius: 12px;
}

.about-image-tint {
  display: none;
}

.about-content p {
  font-size: 17px;
  line-height: 1.8;
  color: rgba(208,223,185,0.75);
  margin-bottom: 24px;
}

.about-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 36px 0;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.04);
  padding: 12px 22px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--soft-green);
  border: 1px solid rgba(208,223,185,0.1);
  transition: all 0.35s cubic-bezier(0.25,0.46,0.45,0.94);
}

.badge-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: var(--gold);
}

.badge-icon svg {
  width: 100%;
  height: 100%;
}

.badge:hover {
  background: rgba(220,186,94,0.08);
  border-color: rgba(220,186,94,0.25);
  transform: translateY(-2px);
}

@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-image img { aspect-ratio: 16/9; }
  .about-content p { font-size: 16px; }
  .about-badges { gap: 8px; }
  .badge { padding: 10px 16px; font-size: 13px; }
}

/* ============================================ */
/* TESTIMONIALS */
/* ============================================ */
.testimonials { text-align: center; }

.testimonial-carousel {
  position: relative;
  min-height: 280px;
  margin: 48px 0 32px;
  perspective: 1000px;
}

.testimonial {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
  will-change: transform, opacity;
  /* Transitions handled by GSAP */
}

.testimonial.active {
  opacity: 1;
  pointer-events: all;
}

.stars {
  color: var(--gold);
  font-size: 16px;
  letter-spacing: 6px;
  opacity: 0.8;
}

.testimonial blockquote {
  font-size: clamp(18px, 2.2vw, 26px);
  line-height: 1.65;
  color: var(--dark-green);
  max-width: 650px;
  font-style: normal;
  font-weight: 300;
  letter-spacing: 0.005em;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 16px;
}

.author-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--mid-green);
  border: 2px solid var(--gold);
}

.testimonial-author strong {
  color: var(--dark-green);
  font-size: 16px;
  display: block;
}

.testimonial-author span {
  color: var(--mid-grey);
  font-size: 14px;
}

.testimonial-author .testimonial-source {
  display: block;
  font-size: 12px;
  color: var(--gold);
  letter-spacing: 0.5px;
  margin-top: 2px;
  opacity: 0.85;
}

/* Mobile testimonial fix: meer ruimte + names altijd op nieuwe regel */
@media (max-width: 767px) {
  .testimonial-carousel {
    min-height: 460px;
    margin: 32px 0 24px;
  }
  .testimonial {
    padding: 0 8px;
    gap: 18px;
  }
  .testimonial blockquote {
    font-size: 16px;
    line-height: 1.55;
  }
  .testimonial-author {
    flex-direction: column;
    text-align: center;
    gap: 10px;
  }
  .testimonial-author > div {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
  }
  .testimonial-author span {
    display: block;
  }
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 24px;
}

.dot {
  width: 40px;
  height: 4px;
  border-radius: 4px;
  background: rgba(12,24,15,0.12);
  transition: background 0.3s;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.dot.active { background: rgba(12,24,15,0.08); }

.dot-progress {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 0%;
  background: var(--gold);
  border-radius: 4px;
  transition: none;
}

.dot.active .dot-progress {
  width: 0%;
  animation: dotFill 5s linear forwards;
}

@keyframes dotFill {
  from { width: 0%; }
  to { width: 100%; }
}

/* ============================================ */
/* LEAD MAGNET */
/* ============================================ */
.journal {
  padding: 140px 0;
}

.journal-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 56px;
}

.journal-card {
  display: block;
  border-radius: 16px;
  overflow: hidden;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(208,223,185,0.08);
  transition: transform 0.5s var(--ease-out-expo), border-color 0.4s ease;
  text-decoration: none;
  color: inherit;
}

.journal-card:hover {
  transform: translateY(-6px);
  border-color: rgba(208,223,185,0.15);
}

.journal-card-image {
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.journal-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.8) brightness(0.7);
  transition: transform 0.8s var(--ease-out-expo);
}

.journal-card:hover .journal-card-image img {
  transform: scale(1.06);
}

.journal-card-content {
  padding: 28px 28px 32px;
}

.journal-tag {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--sage-green);
  margin-bottom: 12px;
  display: block;
}

.journal-card-content h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--white);
  line-height: 1.4;
  margin-bottom: 10px;
}

.journal-card-content p {
  font-size: 14px;
  color: rgba(208,223,185,0.55);
  line-height: 1.6;
  margin-bottom: 16px;
}

.journal-read {
  font-size: 13px;
  font-weight: 600;
  color: var(--sage-green);
  letter-spacing: 0.04em;
  transition: color 0.3s;
}

.journal-card:hover .journal-read {
  color: var(--soft-green);
}

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

/* ============================================ */
/* SIRCLE SOLUTIONS                            */
/* ============================================ */
.solutions-cta {
  min-height: auto;
  position: relative;
}

.solutions-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.solutions-grid--teaser {
  grid-template-columns: 1fr;
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}
.solutions-grid--teaser .solutions-left .section-label { justify-content: center; }

.solutions-left .section-title {
  text-align: left;
}

.solutions-sub {
  font-size: 18px;
  line-height: 1.65;
  color: var(--mid-grey);
  margin-bottom: 40px;
}

.solutions-right {
  background: var(--dark-green);
  border-radius: 20px;
  padding: 44px 40px;
  position: relative;
  overflow: hidden;
  margin-top: 44px;
}

.solutions-right::before {
  content: '';
  position: absolute;
  top: -60px;
  right: -60px;
  width: 200px;
  height: 200px;
  background: rgba(143,175,138,0.08);
  border-radius: 50%;
  filter: blur(60px);
  pointer-events: none;
}

.solutions-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
}

.solutions-tag {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 100px;
  border: 1px solid rgba(208,223,185,0.15);
  font-size: 12px;
  font-weight: 600;
  color: var(--sage-green);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.solutions-list {
  display: flex;
  flex-direction: column;
}

.solutions-list-item {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  padding: 24px 0;
  border-bottom: 1px solid rgba(208,223,185,0.08);
}

.solutions-list-item:first-child {
  padding-top: 0;
}

.solutions-list-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.solutions-list-nr {
  font-size: 14px;
  font-weight: 700;
  color: var(--sage-green);
  letter-spacing: 0.04em;
  flex-shrink: 0;
  padding-top: 2px;
  opacity: 0.5;
}

.solutions-list-item strong {
  font-size: 16px;
  font-weight: 600;
  color: var(--white);
  display: block;
  margin-bottom: 4px;
}

.solutions-list-item p {
  font-size: 14px;
  color: rgba(208,223,185,0.5);
  line-height: 1.5;
  margin: 0;
}

/* --- Animated code visualization --- */
.solutions-code-viz {
  margin-top: 40px;
  position: relative;
  height: 280px;
  overflow: hidden;
}

.code-float {
  position: absolute;
  background: var(--dark-green);
  border-radius: 12px;
  padding: 0;
  font-size: 12px;
  line-height: 1.6;
  box-shadow: 0 8px 32px rgba(0,0,0,0.18);
  border: 1px solid rgba(208,223,185,0.1);
  opacity: 0;
  transform: translateY(40px);
  overflow: hidden;
  max-width: 340px;
}

.code-float-header {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px 0;
}

.code-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
}
.code-dot--red { background: #ff5f57; }
.code-dot--yellow { background: #ffbd2e; }
.code-dot--green { background: #28c840; }

.code-float-lang {
  margin-left: auto;
  font-size: 10px;
  font-weight: 600;
  color: var(--sage-green);
  opacity: 0.5;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.code-float pre {
  margin: 0;
  padding: 12px 14px 14px;
}

.code-float code {
  font-family: 'SF Mono', 'Fira Code', 'Cascadia Code', monospace;
  font-size: 11.5px;
  color: rgba(208,223,185,0.6);
  line-height: 1.65;
  white-space: pre;
}

.code-kw { color: #c792ea; }
.code-fn { color: #82aaff; }
.code-str { color: #c3e88d; }

.code-float--1 {
  top: 0;
  left: 0;
}

.code-float--2 {
  top: 20px;
  right: 0;
}

.code-float--3 {
  bottom: 0;
  left: 40px;
}

/* Floating idle animation */
@keyframes codeFloat1 {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
@keyframes codeFloat2 {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}
@keyframes codeFloat3 {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

.code-float--1.is-visible {
  opacity: 1;
  transform: translateY(0);
  animation: codeFloat1 5s ease-in-out 0.8s infinite;
}
.code-float--2.is-visible {
  opacity: 1;
  transform: translateY(0);
  animation: codeFloat2 6s ease-in-out 1.2s infinite;
}
.code-float--3.is-visible {
  opacity: 1;
  transform: translateY(0);
  animation: codeFloat3 4.5s ease-in-out 1s infinite;
}

@media (max-width: 767px) {
  .solutions-grid { grid-template-columns: 1fr; gap: 48px; }
  .solutions-right { padding: 32px 24px; }
  .solutions-code-viz { height: 240px; }
  .code-float { max-width: 280px; font-size: 11px; }
  .code-float code { font-size: 10.5px; }
}

/* ============================================ */
/* FINAL CTA */
/* ============================================ */
.final-cta {
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.cta-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.cta-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.6) brightness(0.4);
}

.cta-bg-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(12,24,15,0.95) 0%, rgba(12,24,15,0.6) 40%, rgba(12,24,15,0.4) 100%);
  z-index: 1;
}

.cta-content {
  position: relative;
  z-index: 5;
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.cta-title {
  font-size: clamp(36px, 5.5vw, 72px);
  font-weight: 700;
  color: var(--white);
  text-transform: uppercase;
  line-height: 1.0;
  letter-spacing: -0.025em;
  margin-bottom: 32px;
  text-rendering: optimizeLegibility;
}

.cta-sub {
  font-size: 19px;
  color: rgba(208,223,185,0.75);
  line-height: 1.75;
  margin-bottom: 52px;
  font-weight: 300;
}

.cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}


@media (max-width: 767px) {
  .cta-buttons { flex-direction: column; align-items: center; }
  .cta-buttons .btn-primary, .cta-buttons .btn-secondary { width: 100%; justify-content: center; }
}

/* ============================================ */
/* FOOTER */
/* ============================================ */
.footer {
  position: relative;
  background:
    radial-gradient(ellipse 60% 50% at 20% 30%, rgba(143,175,138,0.10) 0%, transparent 60%),
    radial-gradient(ellipse 50% 50% at 80% 70%, rgba(143,175,138,0.06) 0%, transparent 50%),
    linear-gradient(180deg, #0A1F12 0%, var(--dark-green-deep) 50%, #040E08 100%);
  border-top: 1px solid rgba(208,223,185,0.10);
  padding: 104px 0 52px;
  color: var(--soft-green);
  overflow: hidden;
}

/* Removed .footer::after texture overlay — referenced a missing image
   (allison-saeng-wgJHevxlPio-unsplash.jpg) that wasn't tracked in git.
   The overlay was only 4% opacity, not visually significant. */

.footer .container {
  position: relative;
  z-index: 2;
  opacity: 1 !important;
  visibility: visible !important;
}
.footer .noise-overlay {
  position: absolute !important;
  inset: 0 !important;
  z-index: 1;
  pointer-events: none;
}
.footer-grid,
.footer-col,
.footer-bottom,
.footer-col h4,
.footer-col nav,
.footer-col nav a,
.footer-tagline,
.footer-contact a,
.footer-socials a {
  opacity: 1 !important;
  visibility: visible !important;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 0.8fr 1fr;
  gap: 48px;
  margin-bottom: 64px;
}

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

.footer-logo {
  height: 30px;
  width: auto;
  margin-bottom: 24px;
}

.footer-brand address {
  font-size: 14px;
  line-height: 1.7;
  color: var(--soft-green);
  margin-bottom: 16px;
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 24px;
}

.footer-contact a {
  font-size: 14px;
  color: var(--soft-green);
  transition: color 0.3s;
}

.footer-contact a:hover { color: var(--gold); }

.footer-socials {
  display: flex;
  gap: 12px;
}

.footer-socials a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(208,223,185,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 600;
  color: var(--soft-green);
  transition: all 0.35s cubic-bezier(0.25,0.46,0.45,0.94);
  background: rgba(255,255,255,0.02);
}

.footer-socials a:hover {
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-2px) scale(1.06);
  background: rgba(220,186,94,0.10);
  box-shadow: 0 4px 16px rgba(220,186,94,0.12);
}

.footer-socials a svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
  transition: transform 0.3s ease;
}

.footer-socials a:hover svg {
  transform: scale(1.08);
}

.footer-tagline {
  font-size: 16px;
  font-style: italic;
  color: var(--light-green);
  margin-bottom: 24px;
  line-height: 1.5;
}

.footer-divider {
  width: 40px;
  height: 1px;
  background: rgba(208,223,185,0.25);
  margin: 24px 0;
}

.footer-col h4 {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--white);
  margin-bottom: 16px;
}

.footer-col nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col nav a {
  font-size: 15px;
  color: var(--soft-green);
  transition: color 0.3s, transform 0.3s;
  display: inline-block;
}

.footer-col nav a:hover {
  color: var(--gold);
  transform: translateX(4px);
}

.footer-external {
  font-size: 15px;
  color: var(--soft-green);
  transition: color 0.3s, transform 0.3s;
  display: inline-block;
}

.footer-external:hover {
  color: var(--gold);
  transform: translateX(4px);
}

.footer-bottom {
  border-top: 1px solid rgba(208,223,185,0.08);
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 8px;
}

.footer-bottom p {
  font-size: 13px;
  font-weight: 300;
  color: rgba(208,223,185,0.45);
}

.footer-legal {
  margin-top: 0;
  font-size: 12px !important;
  color: rgba(208,223,185,0.3) !important;
}

.footer-link-subtle {
  color: rgba(208,223,185,0.45);
  transition: color 0.3s;
  text-decoration: none;
}

.footer-link-subtle:hover {
  color: var(--gold);
}

@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr; gap: 48px; }
  .footer-bottom { flex-direction: column; gap: 4px; }
}

/* ============================================ */
/* PAIN PROGRESS BAR                           */
/* ============================================ */
.pain-progress {
  position: absolute;
  right: 48px;
  top: 50%;
  transform: translateY(-50%);
  width: 3px;
  height: 180px;
  background: rgba(12,24,15,0.06);
  border-radius: 3px;
  overflow: hidden;
  z-index: 3;
}

.pain-progress-fill {
  width: 100%;
  height: 0;
  background: linear-gradient(to bottom, var(--gold), var(--bronze));
  border-radius: 3px;
  transform-origin: top;
  transform: scaleY(0);
}

@media (max-width: 900px) {
  .pain-progress { display: none; }
}

/* ============================================ */
/* SECTION COLOR TRANSITION BRIDGES            */
/* ============================================ */
/* Heights already set in main section flow transitions above */

/* ============================================ */
/* MOCKUP GLARE                                */
/* ============================================ */
.mockup-glare {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 120px;
  height: 120px;
  background: radial-gradient(circle, rgba(255,255,255,0.25) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  opacity: 0;
  transform: translate(-50%, -50%);
  z-index: 10;
}

/* ============================================ */
/* MAGNETIC BUTTON STYLE                       */
/* ============================================ */
.btn-magnetic {
  will-change: transform;
  backface-visibility: hidden;
}

/* ============================================ */
/* REVEAL ANIMATIONS (initial states) */
/* ============================================ */
.reveal-up {
  opacity: 0;
  transform: translateY(24px);
  filter: blur(4px);
}

.reveal-clip {
  opacity: 0;
  clip-path: inset(100% 0 0 0);
}

/* Image reveal: scale down + clip from center */
.reveal-scale {
  opacity: 0;
  transform: scale(1.15);
  clip-path: inset(8% 8% 8% 8%);
  will-change: transform, clip-path, opacity;
}

/* Horizontal slide reveal (mask wipe from left) */
.reveal-slide {
  opacity: 0;
  clip-path: inset(0 100% 0 0);
  will-change: clip-path, opacity;
}

/* Section title word-by-word scrub highlight (initial dim state) */
.scrub-highlight .word-inner {
  opacity: 0.15;
  transition: none;
}

/* Link hover underline animation (scaleX from right) */
.hover-underline {
  position: relative;
  text-decoration: none;
}
.hover-underline::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: right center;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.hover-underline:hover::after {
  transform: scaleX(1);
  transform-origin: left center;
}

/* Button arrow slide on hover */
.btn-primary .btn-arrow,
.btn-ghost span,
.btn-secondary span {
  display: inline-block;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
.btn-primary:hover .btn-arrow,
.btn-ghost:hover span,
.btn-secondary:hover span {
  transform: translateX(6px);
}

/* Ensure positioned sections stack correctly */
.section { z-index: 1; }
.hero { z-index: 2; }

/* ============================================ */
/* PREMIUM VISUAL POLISH                       */
/* ============================================ */

/* --- (Duplicate selection, scrollbar, focus rules removed — handled above) --- */

/* --- Pain Card Refinement --- handled in main pain-card styles above */

/* --- Service Card Active State Polish --- */
.sircle-service-card.is-active {
  border-color: rgba(212,185,120,0.4);
  box-shadow: 0 16px 56px rgba(12,24,15,0.12), 0 0 40px rgba(212,185,120,0.06);
}

/* --- Case Card Cinematic Overlay --- */
.case-overlay {
  background: linear-gradient(
    to top,
    rgba(12,24,15,0.92) 0%,
    rgba(12,24,15,0.5) 30%,
    rgba(12,24,15,0.08) 55%,
    transparent 100%
  );
}

.case-card:hover .case-overlay {
  background: linear-gradient(
    to top,
    rgba(12,24,15,0.96) 0%,
    rgba(12,24,15,0.55) 35%,
    rgba(12,24,15,0.1) 60%,
    transparent 100%
  );
}

/* --- Quote Section Drama --- */
.quote-text {
  font-size: clamp(32px, 5vw, 64px) !important;
  letter-spacing: 0.02em !important;
  line-height: 1.1 !important;
  text-shadow: 0 2px 30px rgba(0,0,0,0.15);
}


/* --- Link Hover Consistency --- */
.footer-col nav a,
.footer-external,
.footer-contact a {
  position: relative;
}

.footer-col nav a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width 0.3s ease;
}

.footer-col nav a:hover::after {
  width: 100%;
}

/* ============================================ */
/* HERO FLOATING PARTICLES                     */
/* ============================================ */
.hero-particles {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  overflow: hidden;
}

.hero-particle {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212,185,120,0.6) 0%, rgba(212,185,120,0) 70%);
  animation: particleFloat linear infinite;
  will-change: transform;
}

@keyframes particleFloat {
  0% {
    transform: translateY(0) translateX(0) scale(1);
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  50% {
    transform: translateY(-30vh) translateX(15px) scale(1.2);
  }
  90% {
    opacity: 1;
  }
  100% {
    transform: translateY(-60vh) translateX(-10px) scale(0.8);
    opacity: 0;
  }
}

/* ============================================ */
/* PAIN CARD 3D TILT ENHANCEMENTS              */
/* ============================================ */
.pain-card {
  transform-style: preserve-3d;
  perspective: 800px;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

/* ============================================ */
/* QUOTE WORD GLOW ON REVEAL                   */
/* ============================================ */
.quote-word {
  will-change: opacity, filter, text-shadow;
}

/* ============================================ */
/* TESTIMONIAL PERSPECTIVE SHIFT               */
/* ============================================ */
.testimonial-carousel {
  perspective: 1200px;
  transform-style: preserve-3d;
}

.testimonial {
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

/* ============================================ */
/* SIRCLE MODEL GLOW ANIMATION BOOST           */
/* ============================================ */
.sircle-model-glow {
  will-change: opacity, transform;
}

.sircle-phase-img {
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

/* ============================================ */
/* GPU HINTS                                    */
/* ============================================ */

/* ============================================ */
/* STICKY FLOATING CTA (site-wide)             */
/* ============================================ */
.sticky-cta {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 90;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  background: var(--gold);
  color: var(--dark);
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: 0.02em;
  border-radius: 100px;
  text-decoration: none;
  box-shadow: 0 18px 50px rgba(0,0,0,0.35), 0 0 0 0 rgba(212,175,100,0.45);
  transition: transform 0.35s cubic-bezier(0.16,1,0.3,1), box-shadow 0.3s ease, background 0.25s ease;
  opacity: 0;
  transform: translateY(20px);
  animation: stickyCtaIn 0.5s 0.6s cubic-bezier(0.16,1,0.3,1) forwards;
}
.sticky-cta:hover {
  background: #e3bf76;
  transform: translateY(-3px);
  box-shadow: 0 22px 60px rgba(0,0,0,0.4), 0 0 0 14px rgba(212,175,100,0.18);
}
.sticky-cta__icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}
.sticky-cta__label-short { display: none; }
@media (max-width: 600px) {
  .sticky-cta { right: 16px; bottom: 16px; padding: 12px 18px; font-size: 0.84rem; }
  .sticky-cta__label-long { display: none; }
  .sticky-cta__label-short { display: inline; }
}
@keyframes stickyCtaIn {
  to { opacity: 1; transform: translateY(0); }
}

/* ============================================ */
/* CTA AVATAR (founder portrait beside title)  */
/* ============================================ */
.cta-title-row {
  display: inline-flex;
  align-items: center;
  gap: 20px;
  justify-content: center;
  margin: 0 auto;
}
.cta-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--gold);
  flex-shrink: 0;
  box-shadow: 0 8px 24px rgba(0,0,0,0.35);
}
@media (max-width: 600px) {
  .cta-title-row { gap: 14px; }
  .cta-avatar { width: 48px; height: 48px; }
}

/* Sticky CTA with avatar variant */
.sticky-cta--avatar { padding: 8px 22px 8px 8px; }
.sticky-cta__avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

/* ============================================ */
/* QUICK CONTACT MODAL (sticky CTA + closing CTAs) */
/* ============================================ */
.quick-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.quick-modal.is-open { display: flex; }
.quick-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(7, 17, 10, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  animation: quickModalBgIn 0.3s ease forwards;
}
.quick-modal__card {
  position: relative;
  background: var(--cream);
  border-radius: 16px;
  width: 100%;
  max-width: 440px;
  padding: 36px 32px 32px;
  box-shadow: 0 40px 100px rgba(0,0,0,0.45);
  border-top: 4px solid var(--gold);
  animation: quickModalCardIn 0.4s cubic-bezier(0.16,1,0.3,1) forwards;
  max-height: calc(100vh - 48px);
  overflow-y: auto;
}
.quick-modal__close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: transparent;
  border: 0;
  font-size: 24px;
  line-height: 1;
  color: var(--dark);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
}
.quick-modal__close:hover { background: rgba(0,0,0,0.07); }
.quick-modal__eyebrow {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--gold);
  margin-bottom: 10px;
}
.quick-modal__title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--dark);
  margin: 0 0 8px;
  line-height: 1.2;
}
.quick-modal__sub {
  font-size: 0.92rem;
  color: rgba(12, 24, 15, 0.7);
  margin: 0 0 22px;
  line-height: 1.5;
}
.quick-modal__form { display: flex; flex-direction: column; gap: 10px; }
.quick-modal__form input,
.quick-modal__form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid rgba(12,24,15,0.15);
  border-radius: 10px;
  background: white;
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--dark);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.quick-modal__form input::placeholder,
.quick-modal__form textarea::placeholder { color: rgba(12,24,15,0.4); }
.quick-modal__form input:focus,
.quick-modal__form textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(212,175,100,0.15);
}
.quick-modal__form textarea { resize: vertical; min-height: 60px; font-family: inherit; }
.quick-modal__form button[type="submit"] {
  padding: 14px 22px;
  background: var(--gold);
  color: var(--dark);
  border: 0;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  border-radius: 10px;
  cursor: pointer;
  margin-top: 6px;
  transition: background 0.2s ease, transform 0.2s ease;
}
.quick-modal__form button[type="submit"]:hover:not(:disabled) {
  background: #e3bf76;
  transform: translateY(-1px);
}
.quick-modal__form button[type="submit"]:disabled { opacity: 0.6; cursor: wait; }
.quick-modal__legal {
  font-size: 11px;
  color: rgba(12,24,15,0.5);
  margin: 6px 0 0;
  line-height: 1.5;
  text-align: center;
}
.quick-modal__legal a { color: var(--gold); text-decoration: none; }
.quick-modal__legal a:hover { text-decoration: underline; }
.quick-modal__success {
  text-align: center;
  padding: 18px 0 8px;
}
.quick-modal__success svg {
  width: 56px;
  height: 56px;
  color: var(--gold);
  margin: 0 auto 14px;
  display: block;
}
.quick-modal__success h3 {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--dark);
  margin: 0 0 8px;
}
.quick-modal__success p {
  font-size: 0.95rem;
  color: rgba(12,24,15,0.7);
  margin: 0;
  line-height: 1.5;
}
@keyframes quickModalBgIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes quickModalCardIn {
  from { opacity: 0; transform: translateY(20px) scale(0.96); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
@media (max-width: 480px) {
  .quick-modal { padding: 16px; }
  .quick-modal__card { padding: 28px 22px 24px; }
  .quick-modal__title { font-size: 1.3rem; }
}

/* ============================================ */
/* MARQUEE LOGOS (mixed img + wordmark text)   */
/* ============================================ */
.marquee-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  padding: 0 10px;
  text-decoration: none;
  transition: transform 0.4s cubic-bezier(0.16,1,0.3,1), opacity 0.3s ease;
  flex-shrink: 0;
}
.marquee-link:hover { transform: translateY(-2px); }

/* Logo images: uniform height, soft grayscale by default */
.marquee-logo {
  height: 36px;
  width: auto;
  max-width: 140px;
  object-fit: contain;
  filter: grayscale(1) brightness(1.05) opacity(0.7);
  transition: filter 0.4s ease;
}
.marquee-link:hover .marquee-logo {
  filter: grayscale(0) brightness(1) opacity(1);
}

/* Wordmark text (fallback when no logo): styled like a brand mark */
.marquee-wordmark {
  font-family: 'Kulim Park', sans-serif;
  font-weight: 700;
  font-size: 17px;
  letter-spacing: 0.02em;
  color: rgba(208,223,185,0.65);
  transition: color 0.3s ease;
  white-space: nowrap;
}
.marquee-link:hover .marquee-wordmark { color: var(--gold); }

/* Cream variant */
.section-cream .marquee-wordmark { color: rgba(12,24,15,0.55); }
.section-cream .marquee-link:hover .marquee-wordmark { color: var(--bronze); }
.section-cream .marquee-logo { filter: grayscale(1) opacity(0.6); }
.section-cream .marquee-link:hover .marquee-logo { filter: grayscale(0) opacity(1); }

@media (max-width: 767px) {
  .marquee-link { height: 38px; padding: 0 8px; }
  .marquee-logo { height: 30px; max-width: 110px; }
  .marquee-wordmark { font-size: 15px; }
}
