/* ============================================
   CONNECTED INTELLIGENCE — "Luminous Noir"
   Award-worthy redesign
   ============================================ */

/* --- CUSTOM PROPERTIES --- */
:root {
  --black: #050505;
  --bg: #0a0a0a;
  --bg-elevated: #111111;
  --bg-card: #0f0f0f;
  --surface: #161616;
  --border: rgba(255, 255, 255, 0.06);
  --border-hover: rgba(255, 255, 255, 0.12);

  --white: #f0f0f0;
  --white-dim: #999999;
  --white-muted: #555555;

  --accent: #00e87b;
  --accent-dim: #00c466;
  --accent-glow: rgba(0, 232, 123, 0.15);
  --accent-glow-strong: rgba(0, 232, 123, 0.3);
  --accent-cyan: #00d4ff;
  --accent-blue: #4466ff;

  --font-display: 'Instrument Serif', Georgia, serif;
  --font-body: 'Outfit', system-ui, sans-serif;

  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out-quart: cubic-bezier(0.25, 1, 0.5, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);

  --container: clamp(320px, 90vw, 1400px);
  --gap: clamp(1rem, 3vw, 2.5rem);
}

/* --- RESET --- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: var(--accent) var(--bg);
  overflow-x: hidden;
}

body {
  font-family: var(--font-body);
  font-weight: 300;
  background: var(--bg);
  color: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { color: inherit; text-decoration: none; }
button { border: none; background: none; font-family: inherit; color: inherit; }
input, textarea { font-family: inherit; }

/* Custom cursor: only hide native cursor once JS activates it */
body.custom-cursor-active,
body.custom-cursor-active a,
body.custom-cursor-active button,
body.custom-cursor-active input,
body.custom-cursor-active textarea { cursor: none; }
img { display: block; max-width: 100%; }
ul { list-style: none; }

::selection {
  background: var(--accent);
  color: var(--black);
}

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--accent-dim); border-radius: 3px; }

/* --- LOADER --- */
.loader {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: var(--black);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s var(--ease-out-expo), visibility 0.6s;
}

.loader.loaded {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

.loader__logo {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 2.5rem;
  letter-spacing: -0.02em;
  color: var(--white);
}

.loader__logo-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  display: inline-block;
  animation: pulse-glow 1.2s ease-in-out infinite;
}

.loader__bar {
  width: 200px;
  height: 2px;
  background: var(--surface);
  border-radius: 2px;
  overflow: hidden;
}

.loader__bar-fill {
  height: 100%;
  width: 0%;
  background: var(--accent);
  border-radius: 2px;
  animation: load-bar 1.8s var(--ease-out-expo) forwards;
}

@keyframes load-bar {
  0% { width: 0%; }
  60% { width: 70%; }
  100% { width: 100%; }
}

@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 0 0 var(--accent-glow-strong); }
  50% { box-shadow: 0 0 20px 5px var(--accent-glow); }
}

/* --- CUSTOM CURSOR --- */
.cursor {
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 9999;
  mix-blend-mode: difference;
  transition: width 0.3s var(--ease-out-expo), height 0.3s var(--ease-out-expo), background 0.3s;
}

.cursor.cursor--hover {
  width: 40px;
  height: 40px;
  background: var(--accent-glow-strong);
}

.cursor-follower {
  width: 36px;
  height: 36px;
  border: 1px solid var(--accent);
  border-radius: 50%;
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 9998;
  opacity: 0.4;
  transition: width 0.4s var(--ease-out-expo), height 0.4s var(--ease-out-expo), opacity 0.4s;
}

.cursor-follower.cursor--hover {
  width: 60px;
  height: 60px;
  opacity: 0.15;
}

/* --- NOISE OVERLAY --- */
.noise-overlay {
  position: fixed;
  inset: 0;
  z-index: 9000;
  pointer-events: none;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 256px 256px;
}

/* --- NAVIGATION --- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1.5rem 0;
  transition: all 0.5s var(--ease-out-expo);
}

.nav.scrolled {
  padding: 0.8rem 0;
  background: rgba(10, 10, 10, 0.8);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--border);
}

.nav__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gap);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  z-index: 10;
}

.nav__logo-mark {
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 1.4rem;
  letter-spacing: -0.03em;
  display: flex;
  align-items: center;
  gap: 0.15rem;
}

.nav__logo-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  display: inline-block;
}

.nav__logo-text {
  font-weight: 400;
  font-size: 0.85rem;
  color: var(--white-dim);
  letter-spacing: 0.02em;
}

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

.nav__link {
  font-size: 0.85rem;
  font-weight: 400;
  color: var(--white-dim);
  letter-spacing: 0.02em;
  position: relative;
  transition: color 0.3s;
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--accent);
  transition: width 0.4s var(--ease-out-expo);
}

.nav__link:hover { color: var(--white); }
.nav__link:hover::after { width: 100%; }

.nav__link--cta {
  background: var(--accent);
  color: var(--black) !important;
  padding: 0.6rem 1.5rem;
  border-radius: 100px;
  font-weight: 600;
  transition: background 0.3s, transform 0.3s var(--ease-out-expo);
}

.nav__link--cta::after { display: none; }
.nav__link--cta:hover { background: #00ff88; }

.nav__burger {
  display: none;
  flex-direction: column;
  gap: 6px;
  z-index: 10;
  padding: 4px;
}

.nav__burger span {
  display: block;
  width: 28px;
  height: 2px;
  background: var(--white);
  transition: all 0.4s var(--ease-out-expo);
  transform-origin: center;
}

.nav__burger.active span:first-child {
  transform: translateY(4px) rotate(45deg);
}

.nav__burger.active span:last-child {
  transform: translateY(-4px) rotate(-45deg);
}

/* --- MOBILE MENU --- */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: rgba(5, 5, 5, 0.95);
  backdrop-filter: blur(30px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.5s var(--ease-out-expo);
}

.mobile-menu.active {
  opacity: 1;
  visibility: visible;
}

.mobile-menu__inner {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  text-align: center;
}

.mobile-menu__link {
  font-family: var(--font-display);
  font-size: clamp(2rem, 8vw, 4rem);
  font-style: italic;
  color: var(--white-dim);
  transition: color 0.3s;
  transform: translateY(30px);
  opacity: 0;
}

.mobile-menu.active .mobile-menu__link {
  transform: translateY(0);
  opacity: 1;
  transition: transform 0.6s var(--ease-out-expo), opacity 0.6s, color 0.3s;
}

.mobile-menu.active .mobile-menu__link:nth-child(1) { transition-delay: 0.1s; }
.mobile-menu.active .mobile-menu__link:nth-child(2) { transition-delay: 0.15s; }
.mobile-menu.active .mobile-menu__link:nth-child(3) { transition-delay: 0.2s; }
.mobile-menu.active .mobile-menu__link:nth-child(4) { transition-delay: 0.25s; }
.mobile-menu.active .mobile-menu__link:nth-child(5) { transition-delay: 0.3s; }

.mobile-menu__link:hover { color: var(--accent); }

/* --- HERO --- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 8rem var(--gap) 4rem;
}

.hero__canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.4;
}

.hero__gradient-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.3;
  animation: float-orb 20s ease-in-out infinite;
}

.hero__gradient-orb--1 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--accent) 0%, transparent 70%);
  top: -15%;
  right: -10%;
  animation-delay: 0s;
}

.hero__gradient-orb--2 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, var(--accent-cyan) 0%, transparent 70%);
  bottom: -10%;
  left: -5%;
  animation-delay: -7s;
}

.hero__gradient-orb--3 {
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, var(--accent-blue) 0%, transparent 70%);
  top: 40%;
  left: 50%;
  animation-delay: -14s;
}

@keyframes float-orb {
  0%, 100% { transform: translate(0, 0) scale(1); }
  25% { transform: translate(30px, -40px) scale(1.1); }
  50% { transform: translate(-20px, 20px) scale(0.95); }
  75% { transform: translate(15px, 30px) scale(1.05); }
}

.hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 1000px;
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 2rem;
}

.hero__eyebrow-line {
  width: 40px;
  height: 1px;
  background: var(--accent);
}

.hero__title {
  font-family: var(--font-body);
  font-weight: 800;
  font-size: clamp(3rem, 10vw, 8rem);
  line-height: 0.95;
  letter-spacing: -0.04em;
  margin-bottom: 2rem;
}

.hero__title-line {
  display: block;
  overflow: hidden;
}

.hero__title-word {
  display: inline-block;
}

.hero__title-word--serif {
  font-family: var(--font-display);
  font-weight: 400;
  font-style: italic;
  color: var(--accent);
  letter-spacing: -0.02em;
}

.hero__subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem);
  font-weight: 300;
  color: var(--white-dim);
  max-width: 600px;
  margin: 0 auto 3rem;
  line-height: 1.7;
}

.hero__ctas {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.hero__scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--white-muted);
}

.hero__scroll-line {
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, var(--accent), transparent);
  animation: scroll-line 2s ease-in-out infinite;
}

@keyframes scroll-line {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  51% { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* --- BUTTONS --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 2.5rem;
  border-radius: 100px;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: all 0.4s var(--ease-out-expo);
  position: relative;
  overflow: hidden;
}

.btn--primary {
  background: var(--accent);
  color: var(--black);
}

.btn--primary:hover {
  background: #00ff88;
  transform: translateY(-2px);
  box-shadow: 0 10px 40px var(--accent-glow);
}

.btn--ghost {
  border: 1px solid var(--border-hover);
  color: var(--white);
}

.btn--ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
}

.btn--full { width: 100%; justify-content: center; }

.btn__arrow {
  transition: transform 0.3s var(--ease-out-expo);
}

.btn:hover .btn__arrow {
  transform: translateX(4px);
}

/* --- MARQUEE --- */
.marquee {
  padding: 1.5rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
  position: relative;
}

.marquee__track {
  display: flex;
  gap: 3rem;
  animation: marquee-scroll 30s linear infinite;
  width: max-content;
}

.marquee__item {
  font-size: clamp(0.85rem, 1.5vw, 1rem);
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white-dim);
  white-space: nowrap;
}

.marquee__separator {
  color: var(--accent);
}

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

/* --- CONTAINERS & SECTIONS --- */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gap);
}

.section-label {
  display: inline-flex;
  align-items: center;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 2rem;
}

.text-accent { color: var(--accent); }
.text-serif { font-family: var(--font-display); font-style: italic; }

/* --- ABOUT --- */
.about {
  padding: clamp(6rem, 12vw, 10rem) 0;
}

.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(3rem, 6vw, 6rem);
  margin-bottom: clamp(4rem, 8vw, 8rem);
}

.about__title {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.about__text {
  font-size: clamp(0.95rem, 1.5vw, 1.1rem);
  color: var(--white-dim);
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  padding-top: clamp(3rem, 6vw, 5rem);
  border-top: 1px solid var(--border);
}

.stats__item {
  text-align: center;
}

.stats__number {
  font-family: var(--font-body);
  font-weight: 800;
  font-size: clamp(2.5rem, 5vw, 4rem);
  letter-spacing: -0.03em;
  color: var(--white);
  display: inline;
}

.stats__suffix {
  font-family: var(--font-body);
  font-weight: 800;
  font-size: clamp(2.5rem, 5vw, 4rem);
  letter-spacing: -0.03em;
  color: var(--accent);
}

.stats__label {
  display: block;
  font-size: 0.8rem;
  font-weight: 400;
  color: var(--white-muted);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-top: 0.5rem;
}

/* --- SERVICES / BENTO --- */
.services {
  padding: clamp(6rem, 12vw, 10rem) 0;
  background: var(--bg-elevated);
  position: relative;
}

.services::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0.3;
}

.services__title {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: clamp(2rem, 5vw, 3.5rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: clamp(3rem, 6vw, 5rem);
}

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

.bento__card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 2.5rem;
  overflow: hidden;
  transition: border-color 0.4s, transform 0.4s var(--ease-out-expo);
}

.bento__card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
}

.bento__card-glow {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.5s;
  background: radial-gradient(600px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), var(--accent-glow), transparent 40%);
}

.bento__card:hover .bento__card-glow {
  opacity: 1;
}

.bento__card-content {
  position: relative;
  z-index: 2;
}

.bento__card--large {
  grid-row: span 2;
}

.bento__card--wide {
  grid-column: span 2;
}

.bento__card-icon {
  width: 48px;
  height: 48px;
  color: var(--accent);
  margin-bottom: 1.5rem;
}

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

.bento__card-number {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  color: var(--white-muted);
  text-transform: uppercase;
  display: block;
  margin-bottom: 0.75rem;
}

.bento__card-title {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: clamp(1.3rem, 2.5vw, 1.6rem);
  letter-spacing: -0.01em;
  margin-bottom: 1rem;
}

.bento__card-desc {
  font-size: 0.95rem;
  color: var(--white-dim);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.bento__card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.bento__card-tags li {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.35rem 0.85rem;
  border: 1px solid var(--border);
  border-radius: 100px;
  color: var(--white-dim);
  transition: border-color 0.3s, color 0.3s;
}

.bento__card:hover .bento__card-tags li {
  border-color: var(--accent-glow-strong);
  color: var(--accent);
}

/* --- PROCESS / TIMELINE --- */
.process {
  padding: clamp(6rem, 12vw, 10rem) 0;
}

.process__title {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: clamp(2rem, 5vw, 3.5rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: clamp(4rem, 8vw, 6rem);
}

.timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.timeline__line {
  position: absolute;
  left: 24px;
  top: 0;
  bottom: 0;
  width: 1px;
  background: var(--border);
}

.timeline__line-fill {
  width: 100%;
  height: 0%;
  background: linear-gradient(to bottom, var(--accent), var(--accent-cyan));
  transition: height 0.1s linear;
}

.timeline__item {
  position: relative;
  padding-left: 70px;
  padding-bottom: 4rem;
}

.timeline__item:last-child { padding-bottom: 0; }

.timeline__dot {
  position: absolute;
  left: 16px;
  top: 6px;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  border: 2px solid var(--white-muted);
  background: var(--bg);
  transition: border-color 0.4s, box-shadow 0.4s;
}

.timeline__item.in-view .timeline__dot {
  border-color: var(--accent);
  box-shadow: 0 0 20px var(--accent-glow);
}

.timeline__step {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  color: var(--accent);
  text-transform: uppercase;
  display: block;
  margin-bottom: 0.5rem;
}

.timeline__title {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: clamp(1.3rem, 2.5vw, 1.8rem);
  letter-spacing: -0.01em;
  margin-bottom: 0.75rem;
}

.timeline__desc {
  font-size: 0.95rem;
  color: var(--white-dim);
  line-height: 1.7;
  max-width: 500px;
}

/* --- RESULTS / CASE STUDIES --- */
.results {
  padding: clamp(6rem, 12vw, 10rem) 0;
  background: var(--bg-elevated);
  position: relative;
}

.results::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent-cyan), transparent);
  opacity: 0.3;
}

.results__title {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: clamp(2rem, 5vw, 3.5rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: clamp(3rem, 6vw, 5rem);
}

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

.cases__card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
  transition: border-color 0.4s, transform 0.4s var(--ease-out-expo);
}

.cases__card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
}

.cases__card-inner {
  padding: 2.5rem;
}

.cases__card-industry {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  display: block;
  margin-bottom: 1rem;
}

.cases__card-title {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1.1rem;
  line-height: 1.4;
  margin-bottom: 2rem;
}

.cases__card-metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}

.cases__metric-value {
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 1.8rem;
  letter-spacing: -0.02em;
  color: var(--white);
  display: block;
}

.cases__metric-label {
  font-size: 0.75rem;
  color: var(--white-muted);
  letter-spacing: 0.02em;
  margin-top: 0.3rem;
  display: block;
}

.cases__card-description {
  font-size: 0.85rem;
  color: var(--white-muted);
  line-height: 1.6;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}

/* --- TESTIMONIALS --- */
.testimonials {
  padding: clamp(6rem, 12vw, 10rem) 0;
  position: relative;
  overflow: hidden;
}

.testimonial-carousel {
  position: relative;
  overflow: hidden;
}

.testimonial {
  display: none;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.testimonial.active {
  display: block;
  animation: fade-in 0.6s var(--ease-out-expo);
}

@keyframes fade-in {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.testimonial__quote {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 3vw, 2rem);
  font-style: italic;
  line-height: 1.5;
  color: var(--white);
  margin-bottom: 2.5rem;
}

.testimonial__author {
  display: flex;
  align-items: center;
  justify-content: center;
}

.testimonial__name {
  font-weight: 600;
  font-size: 0.95rem;
  display: block;
}

.testimonial__role {
  font-size: 0.8rem;
  color: var(--white-muted);
  display: block;
  margin-top: 0.2rem;
}

.testimonial-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 3rem;
}

.testimonial-nav__btn {
  width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--white-dim);
  transition: all 0.3s;
}

.testimonial-nav__btn:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.testimonial-nav__dots {
  display: flex;
  gap: 0.5rem;
}

.testimonial-nav__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--white-muted);
  border: none;
  padding: 0;
  transition: all 0.3s;
}

.testimonial-nav__dot.active {
  background: var(--accent);
  box-shadow: 0 0 10px var(--accent-glow);
}

/* --- CONTACT --- */
.contact {
  padding: clamp(6rem, 12vw, 10rem) 0;
  background: var(--bg-elevated);
  position: relative;
}

.contact::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0.3;
}

.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(3rem, 6vw, 6rem);
}

.contact__title {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 3rem;
}

.contact__info {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact__info-label {
  display: block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.5rem;
}

.contact__info-value {
  font-size: 0.95rem;
  color: var(--white-dim);
  line-height: 1.6;
  transition: color 0.3s;
}

a.contact__info-value:hover { color: var(--accent); }

.contact__socials {
  display: flex;
  gap: 1rem;
  margin-top: 0.5rem;
}

.contact__social {
  width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
}

.contact__social svg {
  width: 18px;
  height: 18px;
}

.contact__social:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
}

/* --- FORM --- */
.form-group {
  position: relative;
  margin-bottom: 2rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--border);
  padding: 1rem 0 0.75rem;
  font-size: 0.95rem;
  color: var(--white);
  outline: none;
  transition: border-color 0.3s;
}

.form-group textarea { resize: vertical; min-height: 100px; }

.form-group label {
  position: absolute;
  top: 1rem;
  left: 0;
  font-size: 0.9rem;
  color: var(--white-muted);
  pointer-events: none;
  transition: all 0.3s var(--ease-out-expo);
}

.form-group input:focus + label,
.form-group input:not(:placeholder-shown) + label,
.form-group textarea:focus + label,
.form-group textarea:not(:placeholder-shown) + label {
  top: -0.6rem;
  font-size: 0.7rem;
  color: var(--accent);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.form-line {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--accent);
  transition: width 0.4s var(--ease-out-expo);
}

.form-group input:focus ~ .form-line,
.form-group textarea:focus ~ .form-line {
  width: 100%;
}

/* --- FOOTER --- */
.footer {
  padding: 3rem 0;
  border-top: 1px solid var(--border);
}

.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer__logo {
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: -0.01em;
  margin-bottom: 0.5rem;
  display: block;
}

.footer__copy {
  font-size: 0.75rem;
  color: var(--white-muted);
  display: block;
}

.footer__back-top {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: var(--white-dim);
  transition: color 0.3s;
}

.footer__back-top svg {
  width: 18px;
  height: 18px;
}

.footer__back-top:hover { color: var(--accent); }

/* --- NEWS TEASER (homepage) --- */
.news-teaser {
  padding: clamp(6rem, 12vw, 10rem) 0;
}

.news-teaser__header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: clamp(3rem, 6vw, 5rem);
}

.news-teaser__title {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: clamp(2rem, 5vw, 3.5rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.news-teaser__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.news-teaser__skeleton {
  display: contents;
}

.skeleton-card {
  height: 280px;
  background: var(--surface);
  border-radius: 20px;
  animation: skeleton-pulse 1.5s ease-in-out infinite;
}

@keyframes skeleton-pulse {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 0.6; }
}

.news-teaser__empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 4rem 2rem;
  color: var(--white-dim);
}

.news-teaser__empty a {
  color: var(--accent);
  text-decoration: underline;
}

/* --- NEWS CARD (shared between homepage teaser and news page) --- */
.news-card {
  display: block;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
  transition: border-color 0.4s, transform 0.4s var(--ease-out-expo);
}

.news-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
}

.news-card--featured {
  grid-column: 1 / -1;
}

.news-card--featured .news-card__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
}

.news-card__inner {
  padding: 2rem;
}

.news-card__meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.news-card__category {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  padding: 0.25rem 0.7rem;
  border: 1px solid var(--accent-glow-strong);
  border-radius: 100px;
}

.news-card__date {
  font-size: 0.75rem;
  color: var(--white-muted);
}

.news-card__title {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1.1rem;
  line-height: 1.4;
  margin-bottom: 0.75rem;
  color: var(--white);
}

.news-card--featured .news-card__title {
  font-size: clamp(1.3rem, 2.5vw, 1.8rem);
}

.news-card__summary {
  font-size: 0.9rem;
  color: var(--white-dim);
  line-height: 1.6;
  margin-bottom: 1.25rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-card__footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

.news-card__source {
  font-size: 0.75rem;
  color: var(--white-muted);
}

.news-card__read {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--accent);
  transition: gap 0.3s;
}

/* --- NEWSLETTER --- */
.newsletter {
  padding: clamp(4rem, 8vw, 6rem) 0;
  border-top: 1px solid var(--border);
}

.newsletter__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
  padding: 3rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  position: relative;
  overflow: hidden;
}

.newsletter__inner::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
  pointer-events: none;
}

.newsletter__content { position: relative; flex: 1; }

.newsletter__title {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1.5rem;
  letter-spacing: -0.01em;
  margin-bottom: 0.5rem;
}

.newsletter__desc {
  font-size: 0.9rem;
  color: var(--white-dim);
  line-height: 1.6;
}

.newsletter__form { position: relative; flex: 1; max-width: 400px; }

.newsletter__input-wrap {
  display: flex;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: 100px;
  overflow: hidden;
  transition: border-color 0.3s;
}

.newsletter__input-wrap:focus-within {
  border-color: var(--accent);
}

.newsletter__input-wrap input {
  flex: 1;
  background: transparent;
  border: none;
  padding: 0.9rem 1.5rem;
  font-size: 0.9rem;
  color: var(--white);
  outline: none;
  min-width: 0;
}

.newsletter__input-wrap input::placeholder {
  color: var(--white-muted);
}

.newsletter__btn {
  background: var(--accent);
  color: var(--black);
  border: none;
  padding: 0.9rem 1.8rem;
  font-size: 0.85rem;
  font-weight: 600;
  font-family: var(--font-body);
  white-space: nowrap;
  transition: background 0.3s;
}

.newsletter__btn:hover { background: #00ff88; }

.newsletter__status {
  display: block;
  font-size: 0.8rem;
  margin-top: 0.75rem;
  text-align: center;
}

.newsletter__status--success { color: var(--accent); }
.newsletter__status--error { color: #ff4444; }

/* --- FOOTER CENTER LINKS --- */
.footer__center {
  display: flex;
  gap: 2rem;
}

.footer__link {
  font-size: 0.8rem;
  color: var(--white-dim);
  transition: color 0.3s;
}

.footer__link:hover { color: var(--accent); }

/* --- BUTTON STATES --- */
.btn--success { background: var(--accent) !important; }
.btn--error { background: #ff4444 !important; color: white !important; }

/* --- NAV ACTIVE STATE --- */
.nav__link--active {
  color: var(--accent) !important;
}

.nav__link--active::after {
  width: 100% !important;
}

/* --- NEWS HERO (news listing page) --- */
.news-hero {
  padding: 10rem 0 4rem;
  position: relative;
}

.news-hero__title {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: clamp(3rem, 8vw, 5rem);
  line-height: 0.95;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
}

.news-hero__subtitle {
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: var(--white-dim);
  max-width: 600px;
  line-height: 1.7;
}

/* --- NEWS LISTING --- */
.news-listing {
  padding: 0 0 clamp(6rem, 12vw, 10rem);
}

.news-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 3rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border);
}

.news-filter {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  padding: 0.5rem 1.2rem;
  border: 1px solid var(--border);
  border-radius: 100px;
  color: var(--white-dim);
  transition: all 0.3s;
}

.news-filter:hover {
  border-color: var(--accent);
  color: var(--white);
}

.news-filter--active {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--black);
  font-weight: 600;
}

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

.news-grid--small {
  grid-template-columns: repeat(3, 1fr);
}

.news-empty {
  text-align: center;
  padding: 6rem 2rem;
}

.news-empty h2 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

.news-empty p {
  color: var(--white-dim);
  max-width: 500px;
  margin: 0 auto;
}

/* --- NEWS PAGINATION --- */
.news-pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

.news-pagination__btn {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--accent);
  transition: opacity 0.3s;
}

.news-pagination__btn:hover { opacity: 0.7; }

.news-pagination__info {
  font-size: 0.8rem;
  color: var(--white-muted);
}

/* --- ARTICLE PAGE --- */
.article-page {
  padding: 8rem 0 clamp(4rem, 8vw, 6rem);
}

.article-page__header {
  max-width: 800px;
  margin-bottom: 3rem;
}

.article-page__back {
  font-size: 0.85rem;
  color: var(--white-dim);
  display: inline-block;
  margin-bottom: 2rem;
  transition: color 0.3s;
}

.article-page__back:hover { color: var(--accent); }

.article-page__meta {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.article-page__category {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  padding: 0.3rem 0.8rem;
  border: 1px solid var(--accent-glow-strong);
  border-radius: 100px;
}

.article-page__date,
.article-page__reading-time {
  font-size: 0.8rem;
  color: var(--white-muted);
}

.article-page__title {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: clamp(2rem, 5vw, 3rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.article-page__source {
  font-size: 0.85rem;
  color: var(--white-muted);
}

.article-page__source a {
  color: var(--accent);
  text-decoration: underline;
}

.article-page__body {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 4rem;
  align-items: start;
}

.article-page__content {
  max-width: 100%;
}

.article-page__summary {
  font-size: 1.15rem;
  line-height: 1.8;
  color: var(--white-dim);
  margin-bottom: 2.5rem;
}

/* --- CI TAKE BOX --- */
.ci-take {
  background: var(--surface);
  border: 1px solid var(--accent-glow-strong);
  border-left: 3px solid var(--accent);
  border-radius: 12px;
  padding: 2rem;
  margin-bottom: 2.5rem;
}

.ci-take__header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.ci-take__icon {
  width: 20px;
  height: 20px;
  color: var(--accent);
}

.ci-take__icon svg { width: 100%; height: 100%; }

.ci-take__label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
}

.ci-take__text {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--white);
}

/* --- READ ORIGINAL LINK --- */
.article-page__read-original {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1rem;
  font-weight: 600;
  color: var(--accent);
  padding: 1rem 2rem;
  border: 1px solid var(--accent);
  border-radius: 100px;
  margin-bottom: 2rem;
  transition: all 0.3s;
}

.article-page__read-original:hover {
  background: var(--accent);
  color: var(--black);
}

/* --- ARTICLE TAGS --- */
.article-page__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}

.article-page__tag {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.35rem 0.85rem;
  border: 1px solid var(--border);
  border-radius: 100px;
  color: var(--white-dim);
}

/* --- ARTICLE SIDEBAR --- */
.article-page__sidebar {
  position: sticky;
  top: 100px;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.share-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.5rem;
}

.share-box__title {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--white-dim);
  margin-bottom: 1rem;
}

.share-box__buttons {
  display: flex;
  gap: 0.75rem;
}

.share-btn {
  width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white-dim);
  background: transparent;
  font-family: var(--font-body);
  font-size: 0.75rem;
  transition: all 0.3s;
}

.share-btn svg { width: 18px; height: 18px; }

.share-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.sidebar-cta {
  background: var(--surface);
  border: 1px solid var(--accent-glow-strong);
  border-radius: 16px;
  padding: 2rem;
}

.sidebar-cta__title {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.sidebar-cta__desc {
  font-size: 0.85rem;
  color: var(--white-dim);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.sidebar-follow {
  font-size: 0.85rem;
  color: var(--white-muted);
  text-align: center;
}

.sidebar-follow a {
  color: var(--accent);
  text-decoration: underline;
}

/* --- RELATED ARTICLES --- */
.article-page__related {
  margin-top: 4rem;
  padding-top: 3rem;
  border-top: 1px solid var(--border);
}

.article-page__related-title {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 2rem;
}

/* --- REVEAL ANIMATIONS --- */
.reveal-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s var(--ease-out-expo), transform 0.8s var(--ease-out-expo);
}

.reveal-up.in-view {
  opacity: 1;
  transform: translateY(0);
}

.reveal-text {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s var(--ease-out-expo), transform 0.7s var(--ease-out-expo);
}

.reveal-text.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* stagger delays for hero */
.hero__content .reveal-text:nth-child(1) { transition-delay: 0.3s; }
.hero__content .reveal-text:nth-child(2) { transition-delay: 0.1s; }
.hero__content .reveal-text:nth-child(3) { transition-delay: 0.2s; }
.hero__content .reveal-text:nth-child(4) { transition-delay: 0.4s; }
.hero__content .reveal-text:nth-child(5) { transition-delay: 0.6s; }

/* --- RESPONSIVE --- */
@media (max-width: 1024px) {
  .bento {
    grid-template-columns: 1fr 1fr;
  }

  .bento__card--large {
    grid-row: auto;
  }

  .bento__card--wide {
    grid-column: span 2;
  }

  .news-grid, .news-teaser__grid {
    grid-template-columns: 1fr 1fr;
  }

  .news-card--featured .news-card__inner {
    grid-template-columns: 1fr;
  }

  .article-page__body {
    grid-template-columns: 1fr;
  }

  .article-page__sidebar {
    position: static;
    flex-direction: row;
    flex-wrap: wrap;
  }

  .share-box, .sidebar-cta {
    flex: 1;
    min-width: 250px;
  }
}

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

  .about__grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

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

  .bento {
    grid-template-columns: 1fr;
  }

  .bento__card--wide {
    grid-column: auto;
  }

  .cases {
    grid-template-columns: 1fr;
  }

  .contact__grid {
    grid-template-columns: 1fr;
    gap: 4rem;
  }

  .footer__inner {
    flex-direction: column;
    gap: 2rem;
    text-align: center;
  }

  .footer__center {
    flex-wrap: wrap;
    justify-content: center;
  }

  .hide-mobile { display: none; }

  /* Disable custom cursor on touch devices */
  .cursor, .cursor-follower { display: none; }
  body.custom-cursor-active,
  body.custom-cursor-active a,
  body.custom-cursor-active button,
  body.custom-cursor-active input,
  body.custom-cursor-active textarea { cursor: auto; }

  .hero {
    padding: 7rem var(--gap) 4rem;
  }

  .hero__scroll-indicator {
    display: none;
  }

  /* Newsletter responsive */
  .newsletter__inner {
    flex-direction: column;
    text-align: center;
  }

  .newsletter__form { max-width: 100%; width: 100%; }

  .newsletter__input-wrap {
    flex-direction: column;
    border-radius: 12px;
  }

  .newsletter__btn {
    border-radius: 0 0 12px 12px;
  }

  /* News responsive */
  .news-grid, .news-teaser__grid, .news-grid--small {
    grid-template-columns: 1fr;
  }

  .news-teaser__header {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
  }

  .article-page__sidebar {
    flex-direction: column;
  }

  .news-filters {
    overflow-x: auto;
    flex-wrap: nowrap;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .news-filters::-webkit-scrollbar { display: none; }

  .news-filter { white-space: nowrap; }
}

@media (max-width: 480px) {
  .stats {
    grid-template-columns: 1fr 1fr;
  }

  .cases__card-metrics {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .hero__title {
    font-size: clamp(2.5rem, 12vw, 4rem);
  }
}

/* --- ACCESSIBILITY --- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal-up, .reveal-text {
    opacity: 1;
    transform: none;
  }

  .hero__gradient-orb { animation: none; }
  .marquee__track { animation: none; }
  .hero__scroll-line { animation: none; }
}

/* Focus styles for keyboard navigation */
*:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
  border-radius: 4px;
}
