/* ============================================================
   ADRIEN AGENCY — Neumorphic Design System (Pixel-Perfect)
   ============================================================ */

/* Fonts */
@import url('https://api.fontshare.com/v2/css?f[]=clash-grotesk@200,300,400,500,600,700&display=swap');
@import url('https://api.fontshare.com/v2/css?f[]=satoshi@300,400,500,700&display=swap');

/* ---- Reset ---- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Satoshi', sans-serif;
  font-weight: 400;
  color: #4A3B8C;
  background: #F0F0F3;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: color 0.3s; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, textarea { font-family: inherit; }

/* ---- Design Tokens ---- */
:root {
  --bg: #F0F0F3;
  --card-bg: #F0F0F3;
  --shadow: rgba(140,155,190,0.25);
  --light: rgba(255,255,255,0.85);
  --shadow-neu: 6px 6px 14px 0 rgba(140,155,190,0.22), -6px -6px 14px 0 rgba(255,255,255,0.8);
  --shadow-neu-inset: inset 3px 3px 8px rgba(140,155,190,0.2), inset -3px -3px 8px rgba(255,255,255,0.7);
  --shadow-neu-hover: 8px 8px 20px 0 rgba(120,140,190,0.28), -8px -8px 20px 0 rgba(255,255,255,0.85);
  --heading: #2D1F6B;
  --body: #4A3B8C;
  --accent: #4943F0;
  --purple: #be64e7;
  --cta-text: #FFFFFF;
  --radius: 8px;
  --radius-sm: 8px;
  --radius-btn: 1rem;
  --container-lg: 1120px;
  --container-md: 800px;
  --container-sm: 600px;
  --max-w: var(--container-lg);
  --gutter: 2.5rem;
}

/* ---- Typography ---- */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Clash Grotesk', sans-serif;
  font-weight: 600;
  color: var(--heading);
  line-height: 1.15;
}
h1 { font-size: clamp(1.5rem, 5vw, 4rem); }
h2 { font-size: clamp(1.35rem, 4vw, 3rem); }
h3 { font-size: clamp(1.15rem, 2.5vw, 1.75rem); }
h4 { font-size: 1.125rem; }
p { font-size: 1rem; line-height: 1.7; color: var(--body); }
.text-sm { font-size: 0.875rem; }
.text-xs { font-size: 0.75rem; }

/* ---- Layout ---- */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.section { padding: 1.5rem 0; }
.section + .section,
.features-section,
.testimonials-section {
  margin-top: 80px;
}
.section:has(.cta-block) {
  margin-top: 100px;
}
/* Keep hero → first section tight */
.hero-wrapper + .section {
  margin-top: 60px;
}

/* ---- Neumorphic Card ---- */
.neu {
  background: var(--card-bg);
  border: 1px solid rgba(255,255,255,0.7);
  border-radius: var(--radius);
  box-shadow: var(--shadow-neu);
  transition: box-shadow 0.35s ease, transform 0.35s ease;
}
.neu:hover {
  box-shadow: var(--shadow-neu-hover);
}
.neu--flat:hover { box-shadow: var(--shadow-neu); }

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'Clash Grotesk', sans-serif;
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 1rem 2rem;
  border-radius: var(--radius-btn);
  transition: all 0.3s ease;
  cursor: pointer;
}
.btn--primary {
  background: var(--accent);
  color: var(--cta-text);
  box-shadow: 4px 4px 10px rgba(73,67,240,0.3), -2px -2px 6px rgba(255,255,255,0.7);
}
.btn--primary:hover {
  background: #3d37d4;
  transform: translateY(-2px);
}
.btn--outline {
  background: var(--card-bg);
  color: var(--accent);
  box-shadow: var(--shadow-neu);
  border: 1px solid rgba(255,255,255,0.7);
}
.btn--outline:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-neu-hover);
}

/* ---- Tag ---- */
.tag {
  display: inline-block;
  padding: 0.3rem 0.9rem;
  font-size: 0.8rem;
  font-weight: 600;
  font-family: 'Clash Grotesk', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--body);
  background: #fff;
  border-radius: 50px;
  box-shadow: inset -6px -6px 10px #fff, inset 6px 6px 10px rgba(174,174,192,0.4);
  border: none;
}

/* ============================================================
   PRELOADER
   ============================================================ */
#preloader {
  position: fixed; inset: 0; z-index: 9999;
  background: var(--bg);
  display: flex; align-items: center; justify-content: center;
  transition: opacity 0.6s ease, visibility 0.6s ease;
  animation: preloader-auto-hide 1.5s ease forwards;
}
#preloader.hidden { opacity: 0; visibility: hidden; pointer-events: none; }
@keyframes preloader-auto-hide {
  0%, 30% { opacity: 1; visibility: visible; }
  100% { opacity: 0; visibility: hidden; pointer-events: none; }
}
.loader { display: flex; gap: 0.5rem; }
.loader span {
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--accent);
  animation: bounce 1.2s ease-in-out infinite;
}
.loader span:nth-child(2) { animation-delay: 0.15s; }
.loader span:nth-child(3) { animation-delay: 0.3s; }
@keyframes bounce {
  0%, 80%, 100% { transform: scale(0.6); opacity: 0.4; }
  40% { transform: scale(1); opacity: 1; }
}

/* ============================================================
   NAVIGATION
   ============================================================ */
.nav {
  position: fixed; top: 0; left: 0; width: 100%; z-index: 1000;
  padding: 1.25rem var(--gutter);
  display: flex; align-items: center; justify-content: space-between;
  background: rgba(240,240,243,0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.nav__logo {
  display: flex;
  align-items: center;
}
.nav__logo-img {
  height: 22px;
  width: auto;
  display: block;
}
.nav__right {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
/* Sticky CTA pill */
.nav__cta {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 1.25rem;
  font-family: 'Clash Grotesk', sans-serif;
  font-weight: 600;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--cta-text);
  background: var(--accent);
  border-radius: 1rem;
  transition: background 0.3s, transform 0.3s;
  white-space: nowrap;
}
.nav__cta:hover {
  background: #3d37d4;
  transform: translateY(-1px);
}
/* Theme toggle button in nav */
.nav__theme-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--card-bg);
  box-shadow: var(--shadow-neu);
  border: 1px solid rgba(255,255,255,0.7);
  color: var(--heading);
  transition: box-shadow 0.3s, color 0.3s;
  padding: 0;
  flex-shrink: 0;
}
.nav__theme-btn:hover {
  box-shadow: var(--shadow-neu-hover);
  color: var(--accent);
}
.nav__theme-icon { display: none; }
.nav__theme-icon--sun { display: block; }
html.dark .nav__theme-icon--sun { display: none; }
html.dark .nav__theme-icon--moon { display: block; }
/* Language switch */
.nav__lang {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  font-family: 'Clash Grotesk', sans-serif;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.04em;
}
.nav__lang-btn {
  padding: 0.15rem 0.3rem;
  color: var(--body);
  font-family: 'Clash Grotesk', sans-serif;
  font-size: 0.75rem;
  font-weight: 500;
  transition: color 0.3s;
  background: none;
  border: none;
  cursor: pointer;
}
.nav__lang-btn:hover { color: var(--heading); }
.nav__lang-btn--active {
  color: var(--accent);
  font-weight: 700;
}
.nav__lang-sep {
  color: var(--body);
  opacity: 0.4;
  font-size: 0.7rem;
  user-select: none;
}
/* Nav social icons (visible on mobile only) */
.nav__socials {
  display: none;
  align-items: center;
  gap: 0.4rem;
}
.nav__socials a {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--card-bg);
  box-shadow: var(--shadow-neu);
  border: 1px solid rgba(255,255,255,0.7);
  color: var(--body);
  transition: color 0.3s, box-shadow 0.3s;
}
.nav__socials a:hover { color: var(--accent); box-shadow: var(--shadow-neu-hover); }
.nav__socials a svg { width: 14px; height: 14px; }
html.dark .nav__socials a {
  background: var(--card-bg);
  box-shadow: var(--shadow-neu);
  border-color: rgba(255,255,255,0.08);
  color: var(--body);
}
/* Nav separator */
.nav__sep {
  display: none;
  width: 1px;
  height: 20px;
  background: var(--body);
  opacity: 0.2;
}
@media (max-width: 480px) {
  .nav__sep { display: block; }
}

.nav__hamburger {
  width: 44px; height: 44px;
  display: flex;
  align-items: center; justify-content: center;
  background: var(--card-bg);
  border-radius: 50%;
  box-shadow: var(--shadow-neu);
  border: 1px solid rgba(255,255,255,0.7);
  z-index: 1002;
  transition: box-shadow 0.3s;
  color: var(--heading);
}
.nav__hamburger:hover { box-shadow: var(--shadow-neu-hover); }
.nav__hamburger svg {
  transition: transform 0.35s ease;
}
.nav__hamburger.active svg {
  transform: rotate(90deg);
}

/* Menu Overlay */
.menu-overlay {
  position: fixed; inset: 0; z-index: 1001;
  background: var(--bg);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 0.4rem;
  opacity: 0; visibility: hidden;
  transform: translateY(-20px);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: none;
}
.menu-overlay.active { opacity: 1; visibility: visible; transform: translateY(0); }
.menu-overlay__link {
  font-family: 'Clash Grotesk', sans-serif;
  font-weight: 700;
  font-size: clamp(2rem, 6vw, 4rem);
  line-height: 1.1;
  color: var(--heading);
  transition: color 0.2s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  display: block;
  transform-origin: center center;
  cursor: none;
}
.menu-overlay__link:hover {
  color: var(--accent);
  transform: scale(1.2);
}
/* Services submenu (expands on hover, pushes items smoothly) */
.menu-overlay__services {
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: none;
}
.menu-overlay__services-trigger {
  cursor: none;
}
.menu-overlay__sub {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.15rem;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1),
              opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1),
              margin 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  margin: 0;
}
.menu-overlay__services:hover .menu-overlay__sub,
.menu-overlay__services.touch-open .menu-overlay__sub {
  max-height: 12rem;
  opacity: 1;
  margin: 0.2rem 0 0.1rem;
}
.menu-overlay__sub-link {
  font-size: clamp(1rem, 3vw, 1.6rem) !important;
  font-weight: 500 !important;
  color: var(--text-muted) !important;
  letter-spacing: 0.04em;
}
.menu-overlay__sub-link:hover {
  color: var(--accent) !important;
}

.menu-overlay__social { display: flex; gap: 1.5rem; margin-top: 1.5rem; cursor: none; }
.menu-overlay__social a { color: var(--body); transition: color 0.3s; cursor: none; }
.menu-overlay__social a:hover { color: var(--accent); }

/* Green cursor blob — follows mouse inside menu overlay */
.menu-cursor {
  position: fixed;
  width: 64px; height: 64px;
  border-radius: 50%;
  background: #e2022b;
  pointer-events: none;
  z-index: 1002;
  mix-blend-mode: difference;
  transform: translate(-50%, -50%) scale(0);
  transition: transform 0.15s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform, left, top;
}
html.dark .menu-cursor {
  background: #28fff6;
}
.menu-cursor.active {
  transform: translate(-50%, -50%) scale(1);
}

/* ============================================================
   HERO — Single large card with internal grid
   ============================================================ */
.hero-wrapper {
  padding-top: 5.5rem;
  padding-bottom: 0.5rem;
  max-width: 85vw;
}
.hero-wrapper.container {
  max-width: 85vw;
}

.hero-card {
  position: relative;
  padding: 2rem;
  min-height: 85vh;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
  grid-template-rows: auto 1fr auto;
  gap: 1rem;
  overflow: hidden;
}

/* Three dots */
.hero-dots {
  grid-column: 1; grid-row: 1;
  display: flex; gap: 0.5rem;
  align-self: start;
  position: relative; z-index: 1;
  pointer-events: none;
}
.hero-dots span {
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--card-bg);
  box-shadow: 2px 2px 4px var(--shadow), -2px -2px 4px var(--light);
  border: 1px solid rgba(255,255,255,0.6);
}

/* Top-right labels */
.hero-labels {
  grid-column: 2; grid-row: 1;
  display: flex; flex-direction: column;
  align-items: flex-end; gap: 0.25rem;
  font-family: 'Clash Grotesk', sans-serif;
  font-size: 0.8rem; font-weight: 500;
  letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--body);
  opacity: 0.7;
  position: relative; z-index: 1;
  pointer-events: none;
}

/* Watermark */
.hero-watermark {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  font-family: 'Clash Grotesk', sans-serif;
  font-weight: 700;
  font-size: clamp(5rem, 12vw, 11rem);
  text-transform: uppercase;
  color: var(--heading);
  opacity: 0.06;
  white-space: nowrap;
  pointer-events: none;
  z-index: 0;
  letter-spacing: 0.02em;
  line-height: 1;
}

/* Hero text content */
.hero-text {
  grid-column: 1 / -1; grid-row: 2;
  display: flex; flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  text-align: center;
  position: relative; z-index: 1;
  padding: 0 2rem 1rem;
  pointer-events: none;
}
.hero-text h1 {
  font-size: clamp(1.35rem, 2vw, 1.6rem);
  font-weight: 600;
  margin-bottom: 0.75rem;
  line-height: 1.3;
  max-width: 420px;
}
.hero-text p {
  font-size: 0.9rem;
  line-height: 1.6;
  max-width: 380px;
}
.hero-text .btn {
  pointer-events: auto;
  margin-top: 1rem;
  align-self: center;
  font-size: 0.8rem;
  padding: 0.55rem 1.4rem;
}

/* 3D Viewer — absolute fullscreen behind text */
.hero-3d {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  border-radius: 8px;
}
.hero-3d spline-viewer {
  width: 100%; height: 100%;
}

/* Bottom bar: tags left, socials right */
.hero-bottom {
  grid-column: 1 / -1; grid-row: 3;
  display: flex; align-items: center;
  justify-content: space-between;
  position: relative; z-index: 1;
  padding-top: 0.5rem;
  pointer-events: none;
}
.hero-tags {
  display: flex; align-items: center; gap: 0;
  font-family: 'Clash Grotesk', sans-serif;
  font-size: 0.8rem; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--body);
  pointer-events: none;
}
.hero-tags span, .hero-tags a { padding: 0 0.75rem; white-space: nowrap; }
.hero-tags a { color: var(--body); text-decoration: none; pointer-events: auto; transition: color 0.2s ease; }
.hero-tags a:hover { color: var(--accent); }
.hero-tags .divider {
  width: 1px; height: 1rem;
  background: var(--body); opacity: 0.3;
}
.hero-socials {
  display: flex; gap: 0.75rem;
}
.hero-socials a {
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: var(--card-bg);
  box-shadow: var(--shadow-neu);
  border: 1px solid rgba(255,255,255,0.7);
  color: var(--body);
  transition: color 0.3s, box-shadow 0.3s;
  pointer-events: auto;
}
.hero-socials a:hover { color: var(--accent); box-shadow: var(--shadow-neu-hover); }
.hero-socials a svg { width: 16px; height: 16px; }

/* Scroll indicator */
.scroll-indicator {
  display: flex; justify-content: center;
  padding: 1.5rem 0;
}
.scroll-indicator span {
  width: 24px; height: 40px;
  border: 2px solid var(--body);
  border-radius: 12px;
  position: relative;
  opacity: 0.4;
}
.scroll-indicator span::after {
  content: '';
  position: absolute;
  top: 6px; left: 50%;
  transform: translateX(-50%);
  width: 4px; height: 8px;
  background: var(--body);
  border-radius: 2px;
  animation: scrollBounce 2s ease-in-out infinite;
}
@keyframes scrollBounce {
  0%, 100% { top: 6px; opacity: 1; }
  50% { top: 18px; opacity: 0.3; }
}

/* ============================================================
   FEATURES — 3 cards in a row
   ============================================================ */
.features-section {
  width: 100%;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 320px);
  gap: 20px;
  justify-content: center;
}
.feature-card {
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
  min-height: 360px;
  position: relative;
  overflow: hidden;
}
.feature-card__pill {
  width: 40px;
  height: 18px;
  border-radius: 9px;
  background: var(--card-bg);
  box-shadow: inset 2px 2px 4px rgba(174,174,192,0.3), inset -2px -2px 4px #fff;
  align-self: center;
  margin-bottom: 0.5rem;
}
.feature-card__pill--active {
  background: linear-gradient(135deg, #6e5ce6 0%, #4943F0 50%, #3d8bfd 100%);
  box-shadow: 0 2px 8px rgba(73,67,240,0.35);
}
.feature-card h3 {
  font-size: clamp(1.2rem, 2.2vw, 1.55rem);
  font-weight: 600;
  line-height: 1.35;
}
.feature-card p {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--body);
}
.feature-card__bar {
  width: 100%;
  height: 8px;
  background: var(--accent);
  border-radius: 4px;
  margin-top: auto;
}
.feature-card--accent::after {
  display: none;
}

/* ============================================================
   SERVICE HUB CARDS (glassmorphism)
   ============================================================ */
.service-hub-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: var(--container-lg);
  margin: 0 auto;
  text-align: center;
}
.service-hub-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 340px;
  border-radius: var(--radius);
  overflow: hidden;
  text-decoration: none;
  color: var(--heading);
  background: var(--card-bg);
  border: 1px solid rgba(255,255,255,0.7);
  box-shadow: var(--shadow-neu);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s ease;
  cursor: pointer;
}
.service-hub-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-neu-hover);
}
.service-hub-card__glow {
  position: absolute;
  top: -40%;
  left: 50%;
  transform: translateX(-50%);
  width: 140%;
  height: 60%;
  background: radial-gradient(ellipse, rgba(73, 67, 240, 0.08) 0%, transparent 70%);
  pointer-events: none;
  transition: opacity 0.4s ease;
  opacity: 0.4;
}
.service-hub-card:hover .service-hub-card__glow {
  opacity: 0.8;
}
.service-hub-card__content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex: 1;
  padding: 2rem 1.5rem;
  text-align: center;
}
.service-hub-card__top {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}
.service-hub-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(73, 67, 240, 0.06);
  border: 1px solid rgba(73, 67, 240, 0.12);
  color: var(--accent);
}
.service-hub-card__desc {
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--body);
  margin: 0;
}
.service-hub-card__bottom {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-top: auto;
  padding-top: 1.5rem;
}
.service-hub-card__cta {
  font-family: 'Clash Grotesk', sans-serif;
  font-weight: 600;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
}
.service-hub-card__title {
  font-size: clamp(1.3rem, 2.5vw, 1.6rem);
  font-weight: 700;
  line-height: 1.2;
  margin: 0;
  color: var(--heading);
}
.service-hub-card__arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(73, 67, 240, 0.08);
  border: 1px solid rgba(73, 67, 240, 0.2);
  color: var(--accent);
  transition: background 0.25s ease, transform 0.25s ease;
}
.service-hub-card:hover .service-hub-card__arrow {
  background: var(--accent);
  color: #fff;
  transform: translateX(3px);
}
.service-hub-card__arrow svg {
  width: 16px;
  height: 16px;
}

/* Dark mode adjustments for service hub */
html.dark .service-hub-card {
  background: var(--card-bg);
  border-color: rgba(100,120,220,0.1);
  color: var(--heading);
}
html.dark .service-hub-card__icon {
  background: rgba(73, 67, 240, 0.12);
  border-color: rgba(73, 67, 240, 0.2);
}

/* ============================================================
   HOME FAQ ACCORDION (GEO capsules)
   ============================================================ */
.home-faq {
  max-width: var(--container-md);
  margin: 0 auto;
}
.home-faq__heading {
  text-align: center;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 600;
  margin-bottom: 2rem;
}
.home-faq__item {
  border-bottom: 1px solid rgba(120, 137, 179, 0.15);
}
.home-faq__item:first-of-type {
  border-top: 1px solid rgba(120, 137, 179, 0.15);
}
.home-faq__question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 1.25rem 0;
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--heading);
  text-align: left;
  line-height: 1.4;
  gap: 1rem;
}
.home-faq__question:hover {
  color: var(--accent);
}
.home-faq__chevron {
  flex-shrink: 0;
  color: var(--body);
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}
.home-faq__item--open .home-faq__chevron {
  transform: rotate(180deg);
}
.home-faq__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.22, 1, 0.36, 1), padding 0.3s ease;
  padding: 0 0;
}
.home-faq__item--open .home-faq__answer {
  max-height: 300px;
  padding: 0 0 1.25rem 0;
}
.home-faq__answer p {
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--body);
  margin: 0;
}

/* Dark mode FAQ */
html.dark .home-faq__item {
  border-color: rgba(100,120,220,0.1);
}
html.dark .home-faq__question {
  color: var(--heading);
}
html.dark .home-faq__question:hover {
  color: var(--accent);
}

/* ============================================================
   SPECIALIZATION — "Since 2022"
   ============================================================ */
.spec-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 1.25rem;
  align-items: stretch;
}
.spec-text {
  grid-column: 1; grid-row: 1;
  padding: 2.5rem;
  display: flex; flex-direction: column;
  justify-content: center;
}
.spec-text .label {
  font-family: 'Clash Grotesk', sans-serif;
  font-size: 0.8rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--body);
  margin-bottom: 1.5rem;
}
.spec-text h2 {
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  font-weight: 400;
  line-height: 1.35;
}
.spec-text h2 strong {
  font-weight: 700;
}
.spec-portrait {
  grid-column: 2; grid-row: 1;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 3/4;
}
.spec-portrait img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.spec-3d {
  grid-column: 2; grid-row: 2;
  min-height: 120px;
  display: flex; align-items: center; justify-content: center;
}
.spec-3d spline-viewer {
  width: 100%; height: 100%;
  border-radius: var(--radius);
}

/* ============================================================
   SKILLS / STATS
   ============================================================ */
.skills-wrapper {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 1.25rem;
  align-items: stretch;
}
.skills-tiles-card {
  padding: 2rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.skill-tile {
  padding: 1.5rem;
  display: flex; align-items: center; justify-content: center;
  text-align: center;
  min-height: 120px;
  border-radius: var(--radius-sm);
  background: var(--card-bg);
  box-shadow: var(--shadow-neu-inset);
}
.skill-tile h3 {
  font-size: clamp(0.9rem, 1.8vw, 1.2rem);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  line-height: 1.3;
}

.stat-card {
  padding: 2.5rem 2rem;
  background: var(--purple) !important;
  border-color: rgba(255,255,255,0.2) !important;
  display: flex; flex-direction: column;
  justify-content: center;
}
.stat-card__number {
  font-family: 'Clash Grotesk', sans-serif;
  font-weight: 700;
  font-size: clamp(3.5rem, 7vw, 5.5rem);
  color: #fff;
  line-height: 1;
}
.stat-card__text {
  margin-top: 1rem;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.85);
  line-height: 1.5;
}

/* ============================================================
   LAST CREATIONS — inside one large card
   ============================================================ */
.creations-card {
  padding: 2.5rem;
  background: transparent;
  border: none;
  box-shadow: none;
}
.creations-card h2 {
  text-align: center;
  margin-bottom: 2rem;
  font-size: clamp(1.5rem, 3vw, 2rem);
}
.creations-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}


/* ============================================================
   PROJECT CARD (shared)
   ============================================================ */
.project-card {
  overflow: hidden;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  cursor: pointer;
}
.project-card:hover {
  transform: none;
  box-shadow: var(--shadow-neu);
}
.project-card__img-wrap {
  overflow: hidden;
  border-radius: calc(var(--radius) - 2px);
  margin: 0.75rem;
  aspect-ratio: 1/1;
}
.project-card__img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.project-card:hover .project-card__img { transform: scale(1.05); }
.project-card__body {
  padding: 0.75rem 1.25rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.project-card__tag-row {
  /* Tag sits on its own row */
}
.project-card__title {
  font-size: 1rem;
  color: var(--heading);
  line-height: 1.3;
}
.project-card__divider {
  width: 100%;
  height: 1px;
  background: rgba(120, 137, 179, 0.12);
  margin: 0.15rem 0;
}
.project-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  white-space: nowrap;
  flex-wrap: nowrap;
}
.project-card__link-text {
  font-family: 'Clash Grotesk', sans-serif;
  font-weight: 600;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--body);
  transition: color 0.3s;
  white-space: nowrap;
  flex-shrink: 0;
}
.project-card__arrow-link {
  flex-shrink: 0;
}
.project-card__arrow-link .arrow-circle {
  width: 32px; height: 32px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: transparent;
  border: 1.5px solid rgba(120, 137, 179, 0.25);
  color: var(--body);
  transition: border-color 0.3s, color 0.3s;
  flex-shrink: 0;
}
.project-card:hover .project-card__link-text { color: var(--heading); }
.project-card:hover .project-card__arrow-link .arrow-circle { border-color: var(--heading); color: var(--heading); }

/* Disable hover on creations wrapper (.creations-card.neu) */
.creations-card.neu:hover {
  box-shadow: none !important;
  transform: none !important;
}



/* ============================================================
   TESTIMONIALS — Drag-scrollable horizontal band
   ============================================================ */
.testimonials-section {
  padding: 1.5rem 0;
  position: relative;
  margin-top: 80px;
}
.testimonials-heading {
  text-align: center;
  margin-bottom: 1.5rem;
  font-size: clamp(1.5rem, 3vw, 2rem);
}
.testimonials-track-wrapper {
  position: relative;
}
.testimonials-track-wrapper::before,
.testimonials-track-wrapper::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 120px;
  z-index: 2;
  pointer-events: none;
}
.testimonials-track-wrapper::before {
  left: 0;
  background: linear-gradient(to right, var(--bg), transparent);
}
.testimonials-track-wrapper::after {
  right: 0;
  background: linear-gradient(to left, var(--bg), transparent);
}
.testimonials-track {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 0.5rem var(--gutter) 1.5rem;
  cursor: grab;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  scroll-snap-type: x proximity;
  justify-content: center;
}
.testimonials-track::-webkit-scrollbar {
  display: none;
}
.testimonials-track.grabbing {
  cursor: grabbing;
  scroll-snap-type: none;
}
.testimonials-track.grabbing .testimonial-card {
  pointer-events: none;
}
.testimonial-card {
  flex: 0 0 320px;
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  scroll-snap-align: start;
  user-select: none;
  -webkit-user-select: none;
  background: transparent;
  border: none;
  box-shadow: none;
  border-radius: 0;
}
.testimonial-card__header {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}
.testimonial-card__photo {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: none;
  border: 2px solid var(--body);
  flex-shrink: 0;
}
.testimonial-card__info {
  display: flex;
  flex-direction: column;
}
.testimonial-card__name {
  font-family: 'Clash Grotesk', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--heading);
  line-height: 1.3;
  text-decoration: none;
}
a.testimonial-card__name:hover {
  color: var(--accent);
  text-decoration: underline;
}
.testimonial-card__role {
  font-size: 0.75rem;
  color: var(--body);
  line-height: 1.3;
}
.testimonial-card__stars {
  display: flex;
  gap: 2px;
}
.testimonial-star {
  flex-shrink: 0;
}
.testimonial-card__quote {
  font-size: 0.9rem;
  line-height: 1.65;
  color: var(--body);
  font-style: italic;
}

/* ============================================================
   CONTROL SECTION
   ============================================================ */
.control-section {
  text-align: center;
  padding: 2rem 0;
}
.control-section p {
  font-family: 'Clash Grotesk', sans-serif;
  font-size: clamp(1.5rem, 3.5vw, 2.5rem);
  font-weight: 400;
  color: var(--heading);
  line-height: 1.4;
}
.control-section .control-word {
  display: inline-block;
  font-weight: 700;
  font-size: clamp(3rem, 8vw, 6rem);
  padding: 0.5rem 2rem;
  background: var(--card-bg);
  border-radius: var(--radius);
  box-shadow: var(--shadow-neu);
  border: 1px solid rgba(255,255,255,0.7);
  margin: 0.5rem 0;
  line-height: 1.2;
}

/* ============================================================
   CTA SECTION — Conversion-optimized block
   ============================================================ */
.cta-block {
  max-width: var(--container-md);
  margin: 0 auto;
  background: linear-gradient(135deg, #1a1a3e 0%, #2d1b69 40%, #4943F0 100%);
  border-radius: 16px;
  padding: 3rem 2.5rem 2.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
/* Subtle radial glow overlay */
.cta-block::before {
  content: '';
  position: absolute;
  top: -40%;
  left: 50%;
  transform: translateX(-50%);
  width: 120%;
  height: 80%;
  background: radial-gradient(ellipse, rgba(73, 67, 240, 0.25) 0%, transparent 70%);
  pointer-events: none;
}
.cta-block__badge {
  display: inline-block;
  font-family: 'Satoshi', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: #0EEEC8;
  background: rgba(14, 238, 200, 0.1);
  border: 1px solid rgba(14, 238, 200, 0.25);
  border-radius: 2rem;
  padding: 0.35rem 1rem;
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 1;
}
.cta-block h2 {
  font-family: 'Clash Grotesk', sans-serif;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.5rem;
  letter-spacing: -0.01em;
  line-height: 1.15;
  position: relative;
  z-index: 1;
}
.cta-block__subtitle {
  font-family: 'Satoshi', sans-serif;
  font-size: 1.05rem;
  font-weight: 500;
  color: rgba(255,255,255,0.85);
  margin-bottom: 1rem;
  position: relative;
  z-index: 1;
}
.cta-block__text {
  font-family: 'Satoshi', sans-serif;
  color: rgba(255,255,255,0.55);
  font-size: 0.88rem;
  line-height: 1.6;
  max-width: var(--container-sm);
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.cta-block .btn--cta {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: 'Clash Grotesk', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 1rem 2.25rem;
  border-radius: var(--radius-btn);
  background: #fff;
  color: #1a1a3e;
  border: none;
  margin-top: 2rem;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease;
  position: relative;
  z-index: 1;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}
.cta-block .btn--cta:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 8px 32px rgba(73, 67, 240, 0.35), 0 4px 16px rgba(0, 0, 0, 0.15);
}
.cta-block .btn--cta svg {
  transition: transform 0.3s ease;
}
.cta-block .btn--cta:hover svg {
  transform: translateX(3px);
}
/* Dark mode — slightly different gradient for contrast */
html.dark .cta-block {
  background: linear-gradient(135deg, #0d0d2b 0%, #1a1050 40%, #3730b0 100%);
}
html.dark .cta-block .btn--cta {
  background: #fff;
  color: #0d0d2b;
}

/* ============================================================
   PROJECT PAGE
   ============================================================ */
.project-hero {
  padding-top: 7rem;
  padding-bottom: 2rem;
  display: flex; align-items: center; gap: 1rem;
  flex-wrap: wrap;
}
.project-hero h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-right: 1rem;
}
.project-cover {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-neu);
  border: 1px solid rgba(255,255,255,0.7);
  margin-bottom: 2.5rem;
}
.project-cover img { width: 100%; display: block; }
.project-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  align-items: stretch;
  margin-bottom: 2.5rem;
}
.project-split img {
  border-radius: var(--radius);
  box-shadow: var(--shadow-neu);
  border: 1px solid rgba(255,255,255,0.7);
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.project-split .text-card {
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
}
.project-full-img {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-neu);
  border: 1px solid rgba(255,255,255,0.7);
  margin-bottom: 2.5rem;
}
.project-full-img img { width: 100%; display: block; }
.project-three-col {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}
.project-three-col img {
  border-radius: var(--radius);
  box-shadow: var(--shadow-neu);
  border: 1px solid rgba(255,255,255,0.7);
  width: 100%;
}
.project-video {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-neu);
  border: 1px solid rgba(255,255,255,0.7);
  margin-bottom: 2.5rem;
  aspect-ratio: 16/9;
}
.project-video iframe { width: 100%; height: 100%; border: none; }
.project-actions {
  display: flex; align-items: center;
  justify-content: center; gap: 1rem;
  flex-wrap: wrap;
  padding: 2rem 0;
}

/* ============================================================
   PORTFOLIO PAGE
   ============================================================ */
.page-heading {
  padding-top: 7rem;
  padding-bottom: 2rem;
}
.page-heading h1 {
  font-family: 'Clash Grotesk', sans-serif;
  font-size: clamp(3rem, 8vw, 5rem);
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.02em;
}

/* Portfolio Filters */
.portfolio-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  justify-content: center;
}
.portfolio-filter {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 1rem;
  font-family: 'Clash Grotesk', sans-serif;
  font-weight: 600;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--body);
  background: var(--card-bg);
  border: 1px solid rgba(255,255,255,0.6);
  border-radius: 50px;
  box-shadow: var(--shadow-neu);
  cursor: pointer;
  transition: all 0.25s ease;
  opacity: 0.55;
}
.portfolio-filter--active {
  opacity: 1;
  color: var(--heading);
}
.portfolio-filter:hover {
  box-shadow: var(--shadow-neu-hover);
  opacity: 1;
}
.portfolio-filter__check {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  color: var(--accent);
}
.portfolio-filter__check svg {
  width: 12px;
  height: 12px;
}

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

/* ============================================================
   GALLERY PAGE (Blender, etc.)
   ============================================================ */
.gallery-intro {
  padding: 2.5rem;
  margin-bottom: 2rem;
}
.gallery-intro h3 {
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  margin-bottom: 1rem;
}
.gallery-intro p,
.gallery-intro__body p {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--body);
}
.gallery-intro__body p {
  margin-bottom: 0.75rem;
}
.gallery-intro__body p:last-child {
  margin-bottom: 0;
}
.gallery-grid {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-bottom: 2.5rem;
}
.gallery-item {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-neu);
  border: 1px solid rgba(255,255,255,0.7);
}
.gallery-item + .gallery-item {
  margin-top: 14px;
}
.gallery-item img {
  width: 100%;
  display: block;
  object-fit: cover;
}
/* Video items — full width with controls */
.gallery-item--video {
  position: relative;
}
.gallery-item--video video {
  width: 100%;
  display: block;
  background: #000;
}
.gallery-video-controls {
  position: absolute;
  bottom: 16px;
  right: 16px;
  display: flex;
  gap: 8px;
  z-index: 2;
}
.gallery-video-controls button {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: background 0.2s;
}
.gallery-video-controls button:hover {
  background: rgba(0, 0, 0, 0.8);
}
.gallery-video-controls button svg {
  width: 18px;
  height: 18px;
}
/* Portrait images — centred, contained */
.gallery-item--portrait {
  max-width: var(--container-sm);
  margin-left: auto;
  margin-right: auto;
  align-self: center;
  width: 100%;
}
.gallery-item--portrait img {
  max-height: 80vh;
  width: auto;
  margin: 0 auto;
  object-fit: contain;
}

/* ---- Masonry Gallery (Pinterest-style) ---- */
.masonry-gallery {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 2.5rem;
}
.masonry-row {
  width: 100%;
}
.masonry-row--full img,
.masonry-row--full video {
  width: 100%;
  display: block;
  border-radius: var(--radius);
  box-shadow: var(--shadow-neu);
  border: 1px solid rgba(255,255,255,0.7);
  background: #000;
}
.masonry-row--full {
  position: relative;
}
.masonry-row--grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
.masonry-row--grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.masonry-cell {
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow-neu);
  border: 1px solid rgba(255,255,255,0.7);
}
.masonry-cell img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

/* See more link */
.creations-see-more {
  display: flex;
  justify-content: center;
  margin-top: 2rem;
}

/* ============================================================
   NEWS — List page
   ============================================================ */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.news-card {
  overflow: hidden;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  cursor: pointer;
}
.news-card:hover {
  transform: none;
  box-shadow: var(--shadow-neu);
}
.news-card__img-wrap {
  overflow: hidden;
  border-radius: calc(var(--radius) - 2px);
  margin: 0.75rem;
  aspect-ratio: 16/10;
}
.news-card__img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.news-card:hover .news-card__img { transform: scale(1.05); }
.news-card__body {
  padding: 0.75rem 1.25rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.news-card__tag-row {
  display: flex;
  gap: 0.35rem;
  flex-wrap: wrap;
}
.news-card__title {
  font-size: 1rem;
  color: var(--heading);
  line-height: 1.3;
}
.news-card__excerpt {
  font-size: 0.85rem;
  line-height: 1.6;
  color: var(--body);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.news-card__divider {
  width: 100%;
  height: 1px;
  background: rgba(120, 137, 179, 0.12);
  margin: 0.15rem 0;
}
.news-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: nowrap;
}
.news-card__date {
  font-size: 0.8rem;
  color: var(--body);
  opacity: 0.7;
}
.news-card__link-text {
  font-family: 'Clash Grotesk', sans-serif;
  font-weight: 600;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--body);
  transition: color 0.3s;
  white-space: nowrap;
}
.news-card:hover .news-card__link-text { color: var(--heading); }
.news-no-results {
  text-align: center;
  padding: 3rem 0;
  color: var(--body);
  opacity: 0.6;
}

/* ============================================================
   NEWS — Single article
   ============================================================ */
.news-post-hero {
  padding-top: 7rem;
  padding-bottom: 1.5rem;
}
.news-post-back {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'Clash Grotesk', sans-serif;
  font-weight: 600;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--body);
  margin-bottom: 1.5rem;
  transition: color 0.3s;
}
.news-post-back svg {
  transform: rotate(225deg);
  transition: transform 0.3s;
}
.news-post-back:hover {
  color: var(--accent);
}
.news-post-back:hover svg {
  transform: rotate(225deg) translateX(2px);
}
.news-post-hero h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 1rem;
}
.news-post-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  font-size: 0.85rem;
  color: var(--body);
  opacity: 0.8;
}

/* News masonry — same as project masonry but text blocks are flat */
.news-masonry {
  margin-top: 1rem;
}
.news-text-block {
  padding: 0;
  background: transparent;
  box-shadow: none;
  border: none;
}
.news-text-block h2 {
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  margin-bottom: 1rem;
}
.news-text-block__body p {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--body);
  margin-bottom: 0.5rem;
}
.news-text-block__body strong {
  color: var(--heading);
  font-weight: 600;
}
.news-text-block__body .news-dash {
  padding-left: 1rem;
}

/* News post content wrapper — allow carousel shadows to bleed */
.news-post-content {
  overflow: visible;
}

/* Slide carousel — reusable horizontal scrollable card strip */
.slide-carousel-wrap {
  position: relative;
  margin-bottom: 2rem;
  margin-top: 0.5rem;
  overflow: visible;
}
.slide-carousel {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  cursor: grab;
  padding: 40px 0;
  margin: -16px 0;
  scrollbar-width: none;
}
.slide-carousel::-webkit-scrollbar { display: none; }
.slide-carousel.grabbing { cursor: grabbing; scroll-behavior: auto; }
.slide-carousel__card {
  flex: 0 0 auto;
  width: 400px;
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  background: var(--card-bg);
  border: 1px solid rgba(255,255,255,0.5);
}
.slide-carousel__card img {
  width: 100%;
  height: auto;
  display: block;
  pointer-events: none;
  user-select: none;
}
/* Hover — glassmorphism blue glow */
.slide-carousel__card:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow:
    0 0 24px rgba(73, 67, 240, 0.28),
    0 0 64px rgba(73, 67, 240, 0.14),
    0 12px 40px rgba(73, 67, 240, 0.20);
}
html.dark .slide-carousel__card {
  border-color: rgba(100,120,220,0.15);
  background: var(--card-bg);
}
html.dark .slide-carousel__card:hover {
  box-shadow:
    0 0 28px rgba(100, 120, 255, 0.35),
    0 0 80px rgba(100, 120, 255, 0.18),
    0 12px 44px rgba(100, 120, 255, 0.25);
}

/* Dark mode — news */
html.dark .news-card__divider {
  background: rgba(100,120,220,0.15);
}
html.dark .news-text-block__body strong {
  color: var(--heading);
}

/* ============================================================
   PROFIL PAGE
   ============================================================ */
.profil-hero {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 1.25rem;
  padding-top: 7rem;
  align-items: stretch;
}
.profil-hero__card {
  padding: 2.5rem;
  display: flex; flex-direction: column;
  justify-content: center;
}
.profil-hero__card h2 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  margin-bottom: 1rem;
  line-height: 1.25;
}
.profil-hero__card p {
  margin-bottom: 1.5rem;
}
.profil-hero__social {
  display: flex; gap: 1rem;
}
.profil-hero__social a {
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: var(--card-bg);
  box-shadow: var(--shadow-neu);
  border: 1px solid rgba(255,255,255,0.7);
  color: var(--body);
  transition: color 0.3s;
}
.profil-hero__social a:hover { color: var(--accent); }
.profil-hero__portrait {
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
}
.profil-hero__portrait img {
  width: 100%; height: 100%;
  object-fit: cover;
}

/* What I believe */
.beliefs-card {
  padding: 2.5rem;
}
.beliefs-card h3 {
  color: var(--accent);
  margin-bottom: 1.5rem;
  font-size: 1.25rem;
}
.beliefs-card p {
  font-size: 1rem;
  line-height: 1.8;
}
.beliefs-card p + p { margin-top: 1rem; }

/* Values + Experience grid */
.ve-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 1.25rem;
}
.values-card {
  padding: 2rem;
}
.values-card h3 {
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
}
.values-chart {
  width: 100%;
  max-width: 300px;
  margin: 0 auto;
}
.values-chart img {
  width: 100%;
}

.experience-card {
  padding: 2rem;
}
.experience-card h3 {
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
}
.experience-item {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 1rem;
  align-items: center;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(120,137,179,0.1);
}
.experience-item:last-child { border-bottom: none; }
.experience-item__company {
  font-family: 'Clash Grotesk', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--heading);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.experience-item__role {
  font-size: 0.85rem;
  color: var(--body);
}
.experience-item__period {
  font-size: 0.85rem;
  color: var(--body);
  white-space: nowrap;
}

/* Mentors */
.mentors-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}
.mentor-card {
  padding: 1.5rem;
  text-align: center;
}
.mentor-card img {
  width: 72px; height: 72px;
  object-fit: cover; border-radius: 50%;
  margin: 0 auto 1rem;
  box-shadow: var(--shadow-neu);
  border: 1px solid rgba(255,255,255,0.7);
}
.mentor-card h4 {
  font-family: 'Clash Grotesk', sans-serif;
  color: var(--heading);
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
}
.mentor-card p { font-size: 0.8rem; line-height: 1.5; }

/* Tools */
.tools-card {
  padding: 2rem;
}
.tools-card h2 {
  margin-bottom: 2rem;
}
.tools-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}
.tool-item { text-align: center; }
.tool-item__icons {
  display: flex; gap: 0.75rem;
  justify-content: center;
  margin-bottom: 1rem;
}
.tool-item__icon {
  width: 60px; height: 60px;
  display: flex; align-items: center; justify-content: center;
  background: var(--card-bg);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-neu);
  border: 1px solid rgba(255,255,255,0.7);
}
.tool-item__icon img { width: 36px; height: 36px; }
.tool-item h4 {
  font-family: 'Clash Grotesk', sans-serif;
  color: var(--heading);
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
}
.tool-item .stat {
  font-family: 'Clash Grotesk', sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--accent);
}
.tool-item p { font-size: 0.8rem; line-height: 1.5; margin-top: 0.25rem; }

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 1.25rem;
  align-items: start;
  padding-top: 7rem;
}
.contact-info__portrait {
  border-radius: var(--radius);
  box-shadow: var(--shadow-neu);
  border: 1px solid rgba(255,255,255,0.7);
  overflow: hidden;
  margin-bottom: 2rem;
  max-width: 320px;
}
.contact-info__portrait img { width: 100%; display: block; }
.contact-info h2 { margin-bottom: 1rem; font-size: clamp(1.5rem, 2.5vw, 2rem); }
.contact-info p { margin-bottom: 1rem; }
.contact-info__detail {
  display: flex; align-items: center; gap: 0.5rem;
  margin-bottom: 0.5rem;
  font-size: 0.9rem; color: var(--heading); font-weight: 500;
}
.contact-info__detail svg { flex-shrink: 0; }

.contact-form-card { padding: 2.5rem; }
.form-group { margin-bottom: 1.25rem; }
.form-group label {
  display: block;
  font-family: 'Clash Grotesk', sans-serif;
  font-weight: 600; font-size: 0.8rem;
  text-transform: uppercase; letter-spacing: 0.06em;
  color: var(--heading);
  margin-bottom: 0.5rem;
}
.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.85rem 1.25rem;
  background: var(--card-bg);
  border: none;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-neu-inset);
  color: var(--heading);
  font-size: 0.9rem;
  outline: none;
  transition: box-shadow 0.3s;
}
.form-group input:focus,
.form-group textarea:focus {
  box-shadow: var(--shadow-neu-inset), 0 0 0 2px rgba(73,67,240,0.3);
}
.form-group textarea { min-height: 120px; resize: vertical; }
.form-success { display: none; text-align: center; padding: 2rem; }
.form-success.show { display: block; }
.form-success h3 { color: var(--accent); margin-bottom: 0.5rem; }

/* FAQ Accordion */
.faq-section { max-width: var(--container-md); margin: 0 auto; }
.faq-section h2 { text-align: center; margin-bottom: 2rem; }
.faq-item {
  margin-bottom: 1rem;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-neu);
  border: 1px solid rgba(255,255,255,0.7);
  overflow: hidden;
}
.faq-item__question {
  width: 100%;
  padding: 1.25rem 1.5rem;
  display: flex; align-items: center;
  justify-content: space-between;
  font-family: 'Clash Grotesk', sans-serif;
  font-weight: 600; font-size: 0.95rem;
  color: var(--heading);
  background: transparent;
  text-align: left;
  transition: color 0.3s;
}
.faq-item__question:hover { color: var(--accent); }
.faq-item__icon {
  font-size: 1.25rem;
  transition: transform 0.3s;
  color: var(--accent);
}
.faq-item.active .faq-item__icon { transform: rotate(45deg); }
.faq-item__answer {
  max-height: 0; overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
  padding: 0 1.5rem;
}
.faq-item.active .faq-item__answer {
  max-height: 600px;
  padding: 0 1.5rem 1.25rem;
}
.faq-item__answer p { font-size: 0.9rem; line-height: 1.7; }

/* ============================================================
   PRICING PAGE
   ============================================================ */
.pricing-subtitle {
  font-size: 1.05rem;
  color: var(--body);
  margin-top: 0.5rem;
}
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: start;
}
.pricing-card {
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  position: relative;
  overflow: visible;
}
.pricing-card--popular {
  border-color: var(--accent) !important;
  box-shadow: var(--shadow-neu), 0 0 0 2px var(--accent);
}
.pricing-card--popular:hover {
  box-shadow: var(--shadow-neu-hover), 0 0 0 2px var(--accent);
}
.pricing-card__badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  padding: 0.3rem 1.25rem;
  font-family: 'Clash Grotesk', sans-serif;
  font-weight: 700;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
  background: var(--accent);
  border-radius: 50px;
  white-space: nowrap;
}
.pricing-card__name {
  font-family: 'Clash Grotesk', sans-serif;
  font-weight: 700;
  font-size: 1.4rem;
  color: var(--heading);
  text-align: center;
}
.pricing-card__desc {
  font-size: 0.9rem;
  color: var(--body);
  text-align: center;
  line-height: 1.6;
}
.pricing-card__price {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.15rem;
  padding: 1rem 0;
  border-top: 1px solid rgba(120, 137, 179, 0.1);
  border-bottom: 1px solid rgba(120, 137, 179, 0.1);
}
.pricing-card__prefix {
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--body);
}
.pricing-card__amount {
  font-family: 'Clash Grotesk', sans-serif;
  font-weight: 700;
  font-size: clamp(2.5rem, 4vw, 3.25rem);
  color: var(--heading);
  line-height: 1.1;
}
.pricing-card__unit {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--body);
  letter-spacing: 0.04em;
}
.pricing-card__features {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}
.pricing-feature {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.85rem;
  line-height: 1.5;
}
.pricing-feature__icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  margin-top: 1px;
}
.pricing-feature--included .pricing-feature__icon {
  color: var(--accent);
}
.pricing-feature--included span:last-child {
  color: var(--heading);
  font-weight: 500;
}
.pricing-feature--excluded .pricing-feature__icon {
  color: rgba(120, 137, 179, 0.3);
}
.pricing-feature--excluded span:last-child {
  color: var(--body);
  opacity: 0.5;
}
.pricing-card__cta {
  margin-top: auto;
  width: 100%;
  justify-content: center;
  text-align: center;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  position: relative;
  padding: 4rem 0 2rem;
  text-align: center;
  overflow: hidden;
}
.footer__agency-bg {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%) translateY(100%);
  width: 98vw;
  font-family: 'Clash Grotesk', sans-serif;
  font-weight: 800;
  font-size: 18vw;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--heading);
  opacity: 0.045;
  line-height: 0.85;
  white-space: nowrap;
  pointer-events: none;
  z-index: 0;
  text-align: center;
  transition: transform 0.05s linear;
}
.footer__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.75rem;
}
.footer__logo-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
}
.footer__logo-link {
  display: block;
}
.footer__logo-img {
  height: 24px;
  width: auto;
  display: block;
}
.footer__nav {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  justify-content: center;
}
.footer__nav a {
  font-family: 'Clash Grotesk', sans-serif;
  font-weight: 600;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--heading);
  transition: color 0.3s;
}
.footer__nav a:hover { color: var(--accent); }
.footer__social {
  display: flex;
  justify-content: center;
  gap: 1rem;
}
.footer__social a {
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: var(--card-bg);
  box-shadow: var(--shadow-neu);
  border: 1px solid rgba(255,255,255,0.7);
  color: var(--body);
  transition: color 0.3s;
}
.footer__social a:hover { color: var(--accent); }
.footer__copy {
  font-size: 0.75rem;
  color: var(--body);
}
.footer__attribution {
  font-size: 0.7rem;
  color: var(--body);
  opacity: 0.7;
}
.footer__attribution a {
  color: var(--accent);
  text-decoration: underline;
}

/* Theme toggle in menu (removed — now in nav) */

/* ============================================================
   DARK THEME
   ============================================================ */
html.dark {
  --bg: #1a1a2e;
  --card-bg: #1e1e34;
  --shadow: rgba(0,0,0,0.4);
  --light: rgba(100,120,200,0.06);
  --shadow-neu: 6px 6px 16px rgba(0,0,10,0.35), -4px -4px 14px rgba(100,120,220,0.06), 0 0 20px rgba(73,67,240,0.03);
  --shadow-neu-inset: inset 3px 3px 8px rgba(0,0,10,0.35), inset -3px -3px 8px rgba(100,120,220,0.05);
  --shadow-neu-hover: 8px 8px 24px rgba(0,0,10,0.4), -5px -5px 20px rgba(100,120,220,0.08), 0 0 30px rgba(73,67,240,0.06);
  --heading: #C4B8F0;
  --body: #9A8BE0;
}
html.dark body { background: var(--bg); color: var(--body); }
html.dark .neu {
  background: var(--card-bg);
  border-color: rgba(100,120,220,0.1);
}
html.dark .nav {
  background: rgba(26,26,46,0.9);
}
html.dark .nav__theme-btn {
  background: var(--card-bg);
  border-color: rgba(100,120,220,0.1);
  box-shadow: var(--shadow-neu);
}
html.dark .menu-overlay {
  background: var(--bg);
}
html.dark .tag {
  background: rgba(100,120,220,0.08);
  box-shadow: var(--shadow-neu-inset);
  color: var(--body);
}
html.dark .hero-dots span {
  background: var(--card-bg);
  box-shadow: var(--shadow-neu);
  border-color: rgba(100,120,220,0.1);
}
html.dark .hero-socials a,
html.dark .profil-hero__social a,
html.dark .footer__social a {
  background: var(--card-bg);
  border-color: rgba(100,120,220,0.1);
  box-shadow: var(--shadow-neu);
}
html.dark .hero-watermark { color: var(--heading); opacity: 0.04; }
html.dark .scroll-indicator span {
  border-color: var(--body);
}
html.dark .scroll-indicator span::after {
  background: var(--body);
}
html.dark .feature-card__pill {
  background: var(--card-bg);
  box-shadow: var(--shadow-neu-inset);
}
html.dark .project-card__divider {
  background: rgba(100,120,220,0.1);
}
html.dark .project-card__arrow-link .arrow-circle {
  border-color: rgba(100,120,220,0.15);
}
html.dark .control-word {
  background: var(--card-bg);
  border-color: rgba(100,120,220,0.1);
  box-shadow: var(--shadow-neu);
}
html.dark .testimonial-card__photo {
  box-shadow: 0 0 12px rgba(73,67,240,0.08);
  border-color: rgba(100,120,220,0.15);
}
html.dark .pricing-card__price {
  border-color: rgba(100,120,220,0.1);
}
html.dark .pricing-card--popular {
  border-color: var(--accent) !important;
}
html.dark .form-group input,
html.dark .form-group textarea {
  background: var(--card-bg);
  box-shadow: var(--shadow-neu-inset);
  color: var(--heading);
}
html.dark .form-group input:focus,
html.dark .form-group textarea:focus {
  box-shadow: var(--shadow-neu-inset), 0 0 0 2px rgba(73,67,240,0.4);
}
html.dark .faq-item {
  border-color: rgba(100,120,220,0.1);
  box-shadow: var(--shadow-neu);
}
html.dark .footer__agency-bg {
  color: var(--heading);
  opacity: 0.035;
}
html.dark .nav__logo-img {
  filter: brightness(0) invert(0.78) sepia(0.15) saturate(0.5) hue-rotate(200deg);
}
html.dark .footer__logo-img {
  filter: brightness(0) invert(0.78) sepia(0.15) saturate(0.5) hue-rotate(200deg);
}

html.dark #preloader {
  background: var(--bg);
}
html.dark .contact-info__portrait {
  box-shadow: var(--shadow-neu);
  border-color: rgba(100,120,220,0.08);
}
html.dark .mentor-card img {
  box-shadow: var(--shadow-neu);
  border-color: rgba(100,120,220,0.1);
}
html.dark .tool-item__icon {
  background: var(--card-bg);
  box-shadow: var(--shadow-neu);
  border-color: rgba(100,120,220,0.1);
}
html.dark .experience-item {
  border-bottom-color: rgba(100,120,220,0.08);
}
html.dark .project-cover,
html.dark .project-full-img,
html.dark .project-split img,
html.dark .project-video {
  box-shadow: var(--shadow-neu);
  border-color: rgba(100,120,220,0.08);
}
html.dark .values-card,
html.dark .experience-card {
  border-color: rgba(100,120,220,0.1);
}
html.dark .btn--primary {
  box-shadow: 4px 4px 12px rgba(73,67,240,0.25), -2px -2px 8px rgba(100,120,220,0.06), 0 0 16px rgba(73,67,240,0.08);
}
html.dark .btn--outline {
  background: var(--card-bg);
  border-color: rgba(100,120,220,0.12);
  box-shadow: var(--shadow-neu);
}
html.dark .project-three-col img {
  box-shadow: var(--shadow-neu);
  border-color: rgba(100,120,220,0.08);
}
html.dark .portfolio-filter {
  background: var(--card-bg);
  border-color: rgba(100,120,220,0.1);
  box-shadow: var(--shadow-neu);
}
html.dark .portfolio-filter:hover {
  box-shadow: var(--shadow-neu-hover);
}
html.dark .gallery-item {
  box-shadow: var(--shadow-neu);
  border-color: rgba(100,120,220,0.08);
}
html.dark .masonry-row--full img,
html.dark .masonry-row--full video,
html.dark .masonry-cell {
  box-shadow: var(--shadow-neu);
  border-color: rgba(100,120,220,0.08);
}

/* ============================================================
   ANIMATIONS
   ============================================================ */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}
#app {
  opacity: 1;
  transition: opacity 0.35s ease;
}
#app.transitioning {
  opacity: 0;
  transition: opacity 0.2s ease;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

/* --- Tablet landscape (1024px) --- */
@media (max-width: 1024px) {
  .features-grid { grid-template-columns: repeat(3, 1fr); }
  .service-hub-grid { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .mentors-grid { grid-template-columns: repeat(2, 1fr); }
  .tools-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { gap: 16px; }
  .testimonials-track-wrapper::before,
  .testimonials-track-wrapper::after { width: 80px; }
}

/* --- Tablet portrait (768px) --- */
@media (max-width: 768px) {
  :root {
    --gutter: 1rem;
    --container-lg: 100%;
    --container-md: 100%;
    --container-sm: 100%;
  }
  .nav__cta { font-size: 0.75rem; padding: 0.4rem 0.9rem; }
  .nav__right { gap: 0.5rem; }

  /* Hero */
  .hero-wrapper.container { max-width: 95vw; }
  .hero-card {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto auto;
    min-height: 60vh;
    padding: 1.5rem;
  }
  .hero-3d { position: absolute; inset: 0; }
  .hero-text { grid-row: 2; padding: 0 1rem 1rem; }
  .hero-text h1 { font-size: 1.4rem; }
  .hero-text p { font-size: 0.85rem; }
  .hero-labels { grid-column: 1; flex-direction: row; gap: 1rem; }
  .hero-bottom { grid-row: 4; flex-direction: column; gap: 1rem; align-items: flex-start; }
  .hero-watermark { font-size: 3.5rem; }

  /* Features — stack vertically on tablet */
  .features-grid { grid-template-columns: 1fr; gap: 14px; max-width: 420px; margin: 0 auto; }
  .features-grid .feature-card { min-height: auto; padding: 2rem 1.5rem; }
  .features-grid .feature-card h3 { font-size: 1.15rem; }
  .features-grid .feature-card p { font-size: 0.9rem; }
  .service-hub-grid { grid-template-columns: 1fr; gap: 14px; max-width: 420px; margin: 0 auto; }
  .service-hub-card { min-height: 280px; }
  .home-faq__question { font-size: 0.95rem; }
  .home-faq__answer p { font-size: 0.9rem; }

  /* Creations — single column on tablet */
  .creations-grid { grid-template-columns: 1fr; gap: 14px; }
  .creations-card { padding: 1.5rem; }
  .creations-card h2 { font-size: 1.5rem; margin-bottom: 1.25rem; }

  /* Portfolio — 2 cols on tablet */
  .portfolio-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }

  /* Pricing — stack */
  .pricing-grid { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; }

  /* Profil */
  .profil-hero { grid-template-columns: 1fr; padding-top: 5rem; }
  .ve-grid { grid-template-columns: 1fr; }
  .mentors-grid { grid-template-columns: repeat(2, 1fr); }
  .tools-grid { grid-template-columns: repeat(2, 1fr); }

  /* Contact */
  .contact-layout { grid-template-columns: 1fr; padding-top: 5rem; }

  /* Project detail */
  .project-split { grid-template-columns: 1fr; }
  .project-three-col { grid-template-columns: 1fr; }

  /* Gallery */
  .gallery-intro { padding: 1.5rem; }
  .masonry-row--grid-2,
  .masonry-row--grid-3 { grid-template-columns: 1fr; }

  /* News */
  .news-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }

  /* Footer */
  .footer__nav { flex-wrap: wrap; gap: 1rem; justify-content: center; }
  .footer__agency-bg { font-size: 14vw; }
}

/* --- Mobile (480px) --- */
@media (max-width: 480px) {
  h1 { font-size: 1.75rem; }
  h2 { font-size: 1.5rem; }
  .section { padding: 1rem 0; }
  .section + .section,
  .features-section,
  .testimonials-section,
  .section:has(.cta-block) {
    margin-top: 48px;
  }
  .hero-wrapper + .section {
    margin-top: 0;
  }
  .nav__right { gap: 0.4rem; }

  .nav__cta { display: none; }

  /* Body padding for edge spacing */
  #app { padding-left: 8px; padding-right: 8px; }

  /* Hide Spline 3D on mobile */
  .hero-3d { display: none !important; }

  /* Hide hero socials on mobile (moved to nav) */
  .hero-socials { display: none !important; }

  /* DESIGN 360° label — right-aligned on mobile */
  .hero-labels { align-items: flex-end; align-self: flex-end; justify-self: flex-end; }

  /* Buttons full-width on mobile — arrow far right */
  .btn { width: 100%; box-sizing: border-box; justify-content: space-between; }
  .btn--outline { width: 100%; justify-content: space-between; }
  .btn svg { margin-left: auto; flex-shrink: 0; }
  .project-actions { flex-direction: column; }
  .project-nav { display: flex; flex-direction: column; }

  /* Contact page — center everything */
  .contact-layout { padding-left: 0; padding-right: 0; }
  .contact-info { text-align: center; align-items: center; display: flex; flex-direction: column; }
  .contact-info__portrait { margin-left: auto; margin-right: auto; }
  .contact-info h2 { text-align: center; }
  .contact-info p { text-align: center; }
  .contact-info__detail { justify-content: center; }
  .contact-form { width: 100%; }
  .contact-form input,
  .contact-form textarea { width: 100%; box-sizing: border-box; }

  /* Testimonials overflow fix — remove centering, clip to viewport */
  .testimonials-section { overflow: hidden; }
  .testimonials-track-wrapper { overflow: hidden; }
  .testimonials-track { justify-content: flex-start; padding-left: 1rem; padding-right: 1rem; }

  /* Nav social icons hidden on mobile — visible only in burger menu */
  .nav__socials { display: none !important; }

  /* Hero */
  .hero-card { min-height: 50vh; padding: 1.25rem; }
  .hero-text h1 { font-size: 1.35rem; }

  /* Features — single column, comfortable sizing */
  .features-grid .feature-card { padding: 1.5rem 1.25rem; }
  .features-grid .feature-card h3 { font-size: 1.15rem; }
  .features-grid .feature-card p { font-size: 0.9rem; }
  .service-hub-card { min-height: 260px; }
  .service-hub-card__title { font-size: 1.25rem; }
  .home-faq__question { font-size: 0.9rem; padding: 1rem 0; }



  /* Portfolio — single column on mobile */
  .portfolio-grid { grid-template-columns: 1fr; }

  /* Cards */
  .project-card__body { padding: 0.5rem 1rem 1rem; }
  .project-card__link-text { font-size: 0.6rem; }
  .project-card__arrow-link .arrow-circle { width: 28px; height: 28px; }

  /* Pricing */
  .pricing-card { padding: 2rem 1.5rem; }
  .pricing-card__amount { font-size: 2.5rem; }

  /* Profil */
  .mentors-grid { grid-template-columns: 1fr; }
  .tools-grid { grid-template-columns: 1fr; }

  /* Testimonials */
  .testimonial-card { flex: 0 0 280px; padding: 1.25rem; }
  .testimonials-track-wrapper::before,
  .testimonials-track-wrapper::after { width: 40px; }

  /* Footer */
  .footer__nav { gap: 0.75rem; }
  .footer__nav a { font-size: 0.8rem; }
  .footer__agency-bg { font-size: 16vw; }

  /* Page heading */
  .page-heading { padding-top: 5.5rem; padding-bottom: 1.5rem; }
  .page-heading h1 { font-size: 2.5rem; }

  /* News responsive */
  .news-grid { grid-template-columns: 1fr; }
  .news-card__img-wrap { aspect-ratio: 16/9; }
  .news-post-hero h1 { font-size: 2rem; }
  .news-post-back svg { transform: rotate(225deg); }
  .slide-carousel__card { width: 320px; }

  /* CTA responsive */
  .cta-block {
    padding: 2.25rem 1.5rem 2rem;
    border-radius: 12px;
  }
  .cta-block h2 {
    font-size: 1.5rem;
  }
  .cta-block__text {
    font-size: 0.82rem;
  }
}

/* ============================================================
   SERVICE PAGES
   ============================================================ */
.svc-hero { padding-top: 9rem; padding-bottom: 2rem; text-align: center; }
.svc-hero h1 { font-size: clamp(2rem, 4vw, 3rem); max-width: var(--container-md); margin: 0 auto 1.5rem; line-height: 1.15; }
.svc-hero .tag { margin-bottom: 1rem; display: inline-block; }
.svc-hero__sub { max-width: var(--container-sm); margin: 0 auto 2rem; color: var(--text-muted); font-size: 1.05rem; line-height: 1.6; }
.svc-hero__showcase { margin-top: 3rem; width: 100%; max-width: var(--container-lg); margin-left: auto; margin-right: auto; }
.svc-hero__img { width: 100%; height: auto; border-radius: 20px; display: block; }
.svc-hero__img--dark { display: none; }
html.dark .svc-hero__img--light { display: none; }
html.dark .svc-hero__img--dark { display: block; }
.svc-pricing-link { text-align: center; margin-top: 1.5rem; }
.svc-pricing-link a { color: var(--accent, #4943F0); text-decoration: none; font-weight: 600; font-size: 0.95rem; transition: opacity 0.2s; }
.svc-pricing-link a:hover { opacity: 0.75; }
.svc-problems { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.svc-problem-card { padding: 2rem; border-radius: var(--radius); text-align: center; }
.svc-problem-card p { font-size: 0.95rem; line-height: 1.6; color: var(--text-muted); }
/* Advantage card component (reusable) */
.svc-adv-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
.adv-card {
  border-radius: var(--radius); overflow: hidden;
  background: var(--card-bg, #fff);
  box-shadow: 0 4px 20px rgba(73,67,240,0.10), 0 1px 4px rgba(73,67,240,0.06);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}
.adv-card:hover {
  box-shadow: 0 8px 36px rgba(73,67,240,0.18), 0 2px 8px rgba(73,67,240,0.10);
  transform: translateY(-2px);
}
.adv-card__img-wrap { width: 100%; aspect-ratio: 16/9; overflow: hidden; }
.adv-card__img { width: 100%; height: 100%; object-fit: cover; display: block; }
.adv-card__body {
  padding: 0.85rem 1rem; display: flex; align-items: center; gap: 0.75rem;
}
.adv-card__text {
  flex: 1; font-size: 0.82rem; line-height: 1.4; color: var(--text-muted);
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.adv-card__check { width: 32px; height: 32px; flex-shrink: 0; }
.adv-card__check--dark { display: none; }
html.dark .adv-card__check--light { display: none; }
html.dark .adv-card__check--dark { display: block; }
html.dark .adv-card {
  background: var(--card-bg, #1a1a2e);
  box-shadow: 0 4px 20px rgba(73,67,240,0.15), 0 1px 4px rgba(73,67,240,0.08);
}
html.dark .adv-card:hover {
  box-shadow: 0 8px 36px rgba(73,67,240,0.28), 0 2px 8px rgba(73,67,240,0.14);
}
.svc-deliverables { padding: 2rem; border-radius: var(--radius); max-width: var(--container-md); margin: 0 auto; display: flex; flex-direction: column; gap: 1rem; }
.svc-deliverable { display: flex; align-items: flex-start; gap: 0.75rem; font-size: 1rem; line-height: 1.5; }
@media (max-width: 768px) {
  .svc-problems { grid-template-columns: 1fr; }
  .svc-adv-grid { grid-template-columns: 1fr; }
  .svc-hero { padding-top: 5.5rem; }
}

/* 3D red X button — light/dark assets */
.svc-problem-icon {
  display: flex; justify-content: center; margin-bottom: 1.25rem;
}
.svc-x-img {
  width: 40px; height: 40px;
  pointer-events: none; user-select: none;
}
.svc-x-img--dark { display: none; }
html.dark .svc-x-img--light { display: none; }
html.dark .svc-x-img--dark { display: block; filter: drop-shadow(0 4px 18px rgba(239,35,60,0.35)); }

/* ============================================================
   SERVICE PITCH — Text block (2/3 width)
   ============================================================ */
.svc-text-block {
  max-width: calc(var(--container-lg) * 0.66);
  margin: 0 auto;
}
.svc-text-block h2 {
  margin-bottom: 1.25rem;
}
.svc-text-block p {
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 1rem;
  color: var(--text-secondary, #555);
}
html.dark .svc-text-block p {
  color: var(--text-secondary-dark, #aaa);
}
@media (max-width: 768px) {
  .svc-text-block {
    max-width: 100%;
  }
}

/* ============================================================
   SERVICE PITCH — Canva embed
   ============================================================ */
.svc-canva-embed {
  width: 100%;
  border-radius: var(--radius);
  overflow: hidden;
}

/* ============================================================
   SERVICE 3D — Spline demo (16:9 desktop, 3:4 mobile)
   ============================================================ */
.svc3d-demo {
  position: relative;
  width: 100%;
  padding-top: 56.25%; /* 16:9 */
  overflow: hidden;
  border-radius: var(--radius);
}
@media (max-width: 768px) {
  .svc3d-demo {
    padding-top: 133.33%; /* 3:4 */
  }
}

/* ============================================================
   SERVICE PITCH — Gallery masonry (reusable)
   ============================================================ */
.gallery-masonry {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.gallery-masonry__item {
  border-radius: var(--radius);
  overflow: hidden;
}
.gallery-masonry__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: var(--radius);
  transition: transform 0.3s ease;
}
.gallery-masonry__item img:hover {
  transform: scale(1.02);
}
@media (max-width: 768px) {
  .gallery-masonry {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
}
@media (max-width: 480px) {
  .gallery-masonry {
    grid-template-columns: 1fr;
  }
}
