/* ===== Variables & Reset ===== */
:root {
  /* Brand v0 foundation (provisional tokens; swap these values when final brand is ready) */
  --brand-bg-950: #04070d;
  --brand-bg-900: #09111d;
  --brand-surface-800: rgba(10, 16, 29, 0.78);
  --brand-surface-700: rgba(18, 26, 43, 0.72);
  --brand-card: rgba(255, 255, 255, 0.04);
  --brand-text-strong: #f8fafc;
  --brand-text-body: #e2e8f0;
  --brand-text-muted: #a9b7ce;
  --brand-primary: #5f6fff;
  --brand-accent: #22c7e8;
  --brand-link: #7dd3fc;
  --brand-success: #22c55e;

  /* Semantic colors */
  --color-bg: var(--brand-bg-950);
  --color-bg-elevated: var(--brand-surface-800);
  --color-bg-overlay: var(--brand-surface-700);
  --color-bg-card: var(--brand-card);
  --color-text-main: var(--brand-text-strong);
  --color-text-body: var(--brand-text-body);
  --color-text-muted: var(--brand-text-muted);
  --color-link: var(--brand-link);
  --color-border-soft: rgba(148, 163, 184, 0.22);
  --color-border-strong: rgba(148, 163, 184, 0.36);

  --color-primary: var(--brand-primary);
  --color-primary-glow: rgba(95, 111, 255, 0.42);

  --color-accent: var(--brand-accent);
  --color-accent-glow: rgba(34, 199, 232, 0.4);

  --gradient-main: linear-gradient(
    135deg,
    var(--brand-primary) 0%,
    var(--brand-accent) 100%
  );
  --gradient-main-soft: linear-gradient(
    135deg,
    rgba(95, 111, 255, 0.16) 0%,
    rgba(34, 199, 232, 0.12) 100%
  );
  --gradient-glow: conic-gradient(
    from 180deg at 50% 50%,
    var(--brand-primary) 0deg,
    var(--brand-accent) 180deg,
    var(--brand-primary) 360deg
  );

  /* Typography */
  --font-heading: "Outfit", sans-serif;
  --font-body: "Inter", sans-serif;
  --font-mono: "JetBrains Mono", monospace;

  /* Layout */
  --container-width: 1200px;
  --header-height: 80px;
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 8px;

  /* Effects */
  --transition: cubic-bezier(0.16, 1, 0.3, 1);
  --blur-glass: blur(12px);
  --blur-heavy: blur(80px); /* Performance capped blur */
  --shadow-card:
    0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-glow: 0 0 20px rgba(95, 111, 255, 0.32);
}

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

html {
  scroll-behavior: smooth;
  background-color: var(--color-bg);
}

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

.skip-link {
  position: fixed;
  top: 10px;
  left: 12px;
  z-index: 1000;
  padding: 10px 14px;
  border-radius: 10px;
  border: 1px solid rgba(125, 211, 252, 0.5);
  background: rgba(15, 23, 42, 0.95);
  color: var(--color-link);
  font-weight: 600;
  text-decoration: none;
  transform: translateY(-140%);
  transition: transform 0.2s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid rgba(125, 211, 252, 0.95);
  outline-offset: 2px;
}

/* ===== Background Effects ===== */
.bg-noise {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.05'/%3E%3C/svg%3E");
  z-index: -2;
  pointer-events: none;
}

.bg-glow {
  position: fixed;
  border-radius: 50%;
  filter: var(--blur-heavy);
  z-index: -1;
  opacity: 0.3;
  pointer-events: none;
  animation: drift 10s infinite alternate var(--transition);
}

.bg-glow-1 {
  top: -10%;
  left: -10%;
  width: 600px;
  height: 600px;
  background: var(--color-primary);
}

.bg-glow-2 {
  bottom: -10%;
  right: -10%;
  width: 800px;
  height: 800px;
  background: var(--color-accent);
}

@keyframes drift {
  0% {
    transform: translate(0, 0);
  }
  100% {
    transform: translate(20px, 30px);
  }
}

.tech-grid {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 40px 40px;
  z-index: -1;
  mask-image: radial-gradient(circle at center, black 0%, transparent 80%);
}

/* Particle Field */
.particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
  pointer-events: none;
}

.particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: var(--color-accent);
  border-radius: 50%;
  opacity: 0.6;
  animation: float 15s infinite ease-in-out;
  box-shadow: 0 0 10px var(--color-accent);
}

/* Distribute particles randomly using nth-child */
.particle:nth-child(1) {
  left: 5%;
  top: 20%;
  animation-delay: 0s;
  animation-duration: 12s;
}
.particle:nth-child(2) {
  left: 15%;
  top: 80%;
  animation-delay: 1s;
  animation-duration: 18s;
  width: 3px;
  height: 3px;
}
.particle:nth-child(3) {
  left: 25%;
  top: 40%;
  animation-delay: 2s;
  animation-duration: 14s;
  background: var(--color-primary);
  box-shadow: 0 0 10px var(--color-primary);
}
.particle:nth-child(4) {
  left: 35%;
  top: 60%;
  animation-delay: 3s;
  animation-duration: 16s;
  width: 2px;
  height: 2px;
  opacity: 0.4;
}
.particle:nth-child(5) {
  left: 45%;
  top: 10%;
  animation-delay: 4s;
  animation-duration: 20s;
}
.particle:nth-child(6) {
  left: 55%;
  top: 70%;
  animation-delay: 5s;
  animation-duration: 13s;
  background: var(--color-primary);
  box-shadow: 0 0 10px var(--color-primary);
}
.particle:nth-child(7) {
  left: 65%;
  top: 30%;
  animation-delay: 6s;
  animation-duration: 17s;
  width: 5px;
  height: 5px;
}
.particle:nth-child(8) {
  left: 75%;
  top: 90%;
  animation-delay: 7s;
  animation-duration: 15s;
  width: 2px;
  height: 2px;
  opacity: 0.3;
}
.particle:nth-child(9) {
  left: 85%;
  top: 50%;
  animation-delay: 8s;
  animation-duration: 19s;
}
.particle:nth-child(10) {
  left: 95%;
  top: 15%;
  animation-delay: 9s;
  animation-duration: 14s;
  background: var(--color-primary);
  box-shadow: 0 0 10px var(--color-primary);
}
.particle:nth-child(11) {
  left: 10%;
  top: 55%;
  animation-delay: 1.5s;
  animation-duration: 16s;
  width: 3px;
  height: 3px;
}
.particle:nth-child(12) {
  left: 20%;
  top: 25%;
  animation-delay: 2.5s;
  animation-duration: 18s;
  opacity: 0.5;
}
.particle:nth-child(13) {
  left: 30%;
  top: 85%;
  animation-delay: 3.5s;
  animation-duration: 13s;
  background: var(--color-primary);
  box-shadow: 0 0 10px var(--color-primary);
}
.particle:nth-child(14) {
  left: 40%;
  top: 35%;
  animation-delay: 4.5s;
  animation-duration: 15s;
  width: 2px;
  height: 2px;
}
.particle:nth-child(15) {
  left: 50%;
  top: 75%;
  animation-delay: 5.5s;
  animation-duration: 17s;
}
.particle:nth-child(16) {
  left: 60%;
  top: 5%;
  animation-delay: 6.5s;
  animation-duration: 19s;
  width: 3px;
  height: 3px;
}
.particle:nth-child(17) {
  left: 70%;
  top: 45%;
  animation-delay: 7.5s;
  animation-duration: 14s;
  background: var(--color-primary);
  box-shadow: 0 0 10px var(--color-primary);
  opacity: 0.4;
}
.particle:nth-child(18) {
  left: 80%;
  top: 65%;
  animation-delay: 8.5s;
  animation-duration: 16s;
}
.particle:nth-child(19) {
  left: 90%;
  top: 95%;
  animation-delay: 9.5s;
  animation-duration: 18s;
  width: 2px;
  height: 2px;
}
.particle:nth-child(20) {
  left: 3%;
  top: 88%;
  animation-delay: 0.5s;
  animation-duration: 20s;
  background: var(--color-primary);
  box-shadow: 0 0 10px var(--color-primary);
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0) translateX(0);
    opacity: 0.6;
  }
  25% {
    transform: translateY(-30px) translateX(10px);
    opacity: 0.8;
  }
  50% {
    transform: translateY(-20px) translateX(-15px);
    opacity: 0.5;
  }
  75% {
    transform: translateY(-40px) translateX(5px);
    opacity: 0.7;
  }
}

/* ===== Components ===== */
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: var(--radius-sm);
  font-weight: 500;
  font-family: var(--font-heading);
  cursor: pointer;
  text-decoration: none;
  transition: all 0.3s var(--transition);
  border: 1px solid transparent;
}

.btn-primary {
  background: var(--gradient-main);
  color: var(--color-text-main);
  box-shadow: var(--shadow-glow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(99, 102, 241, 0.5);
}

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

.btn-outline:hover {
  border-color: var(--color-text-main);
  background: rgba(255, 255, 255, 0.05);
}

.btn-lg {
  padding: 16px 36px;
  font-size: 1.1rem;
}

.btn-icon {
  width: 18px;
  height: 18px;
}

/* Glass Basics */
.glass {
  background: var(--color-bg-elevated);
  backdrop-filter: var(--blur-glass);
  border-bottom: 1px solid var(--color-border-soft);
}

.glass-card {
  background: var(--color-bg-card);
  backdrop-filter: blur(8px);
  border: 1px solid var(--color-border-soft);
  border-radius: var(--radius-md);
  padding: 32px;
  height: 100%;
}

/* Reduced glow for strategic contact form */
.contact-form.glass-card {
  background: rgba(14, 15, 19, 0.4); /* Darker, less transparent */
  border-color: rgba(255, 255, 255, 0.04); /* Subtler border */
  box-shadow: none; /* Remove any default shadow */
}

/* Typography Helpers */
.gradient-text {
  background: var(--gradient-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-label {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-accent);
  margin-bottom: 16px;
  padding: 6px 14px;
  background: rgba(6, 182, 212, 0.08);
  border-radius: 4px;
  border: 1px solid rgba(6, 182, 212, 0.15);
}

/* ===== Navigation ===== */
.nav {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 100;
  height: var(--header-height);
  transform: translateY(0);
  transition: transform 0.28s ease;
  will-change: transform;
}

.nav.nav-hidden {
  transform: translateY(calc(-1 * var(--header-height)));
}

.nav-container {
  height: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  text-decoration: none;
  color: var(--color-text-main);
  background: none;
  -webkit-text-fill-color: currentColor;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  line-height: 1;
}

.logo::before {
  content: "";
  width: 38px;
  height: 32px;
  display: inline-block;
  flex-shrink: 0;
  background-image: url("/images/logo-mark-copper.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

.logo.large::before {
  width: 44px;
  height: 37px;
}

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

.nav-link {
  color: var(--color-text-muted);
  font-weight: 500;
  text-decoration: none;
  transition: color 0.3s;
}

.nav-link:hover {
  color: var(--color-text-main);
}

/* ===== Hero Section ===== */
.hero {
  position: relative;
  padding: 180px 0 100px;
  text-align: center;
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 100px;
  font-size: 0.9rem;
  color: var(--color-text-muted);
  margin-bottom: 32px;
}

.badge-dot {
  width: 8px;
  height: 8px;
  background: var(--brand-success);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--brand-success);
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(3.5rem, 8vw, 6rem);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--color-text-muted);
  max-width: 600px;
  margin: 0 auto 48px;
}

.hero-audience {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.72);
  margin: 0 auto 48px;
  max-width: 520px;
}

.hero-cta {
  display: flex;
  justify-content: center;
  gap: 16px;
}

.hero-proof-row {
  margin: 36px auto 0;
  max-width: 760px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.hero-proof-item {
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.02);
  text-align: left;
}

.hero-proof-item strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 1rem;
  color: #fff;
  margin-bottom: 2px;
}

.hero-proof-item span {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ===== Stats Section ===== */
.section-stats {
  background: rgba(255, 255, 255, 0.02);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding: 60px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
}

.stat-number {
  display: block;
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 700;
  color: white;
  margin-bottom: 8px;
}

.stat-label {
  color: var(--color-text-muted);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ===== Services Section ===== */
.section {
  padding: 120px 0;
}

.pt-0 {
  padding-top: 0 !important;
}

.section-darker {
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.02) 0%,
    rgba(255, 255, 255, 0.01) 100%
  );
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 80px;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--color-text-muted);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 32px;
  align-items: stretch;
}

.service-card {
  position: relative;
  transition:
    transform 0.3s var(--transition),
    border-color 0.3s ease,
    box-shadow 0.3s ease;
  overflow: hidden;
  padding: 32px;
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-8px);
  border-color: rgba(99, 102, 241, 0.4);
  box-shadow: 0 0 30px rgba(99, 102, 241, 0.15);
}

/* Featured Service Highlight */
.service-card.featured::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--gradient-main);
  opacity: 0.5;
}

.service-icon-wrapper {
  width: 100px;
  height: 100px;
  min-width: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 28px;
  border-radius: 20px;
  overflow: visible;
  background: transparent;
  position: relative;
  z-index: 10;
  transition: transform 0.3s ease;
}

.service-card:hover .service-icon-wrapper {
  transform: scale(1.05);
}

.service-icon-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 0 15px rgba(99, 102, 241, 0.3));
}

.service-card h3 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}

.service-card p {
  color: rgba(148, 163, 184, 0.9);
  margin-bottom: 28px;
  line-height: 1.7;
}

/* Mandate text styling */
.service-mandate {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-primary);
  margin-top: 8px;
  padding: 6px 12px;
  background: rgba(99, 102, 241, 0.1);
  border-radius: 4px;
  border-left: 2px solid var(--color-primary);
  display: inline-block;
}

.feature-list {
  list-style: none;
  margin-top: auto;
  padding-top: 24px;
}

.feature-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
  font-size: 0.95rem;
  color: var(--color-text-body);
  line-height: 1.5;
}

.feature-list li i {
  width: 18px;
  height: 18px;
  color: var(--color-primary);
  flex-shrink: 0;
}

/* ===== Portfolio ===== */
.portfolio-showcase {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.portfolio-item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  padding: 40px;
  border-radius: var(--radius-lg);
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.03) 0%,
    rgba(255, 255, 255, 0.01) 100%
  );
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.portfolio-brand {
  margin-bottom: 16px;
}

.brand-logo-text {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.thirdretail {
  background: linear-gradient(90deg, #ffffff 0%, #a0a0a0 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.asnjunagal {
  background: linear-gradient(90deg, #4f46e5 0%, #06b6d4 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 16px 0 20px;
}

.tag {
  padding: 6px 14px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 100px;
  font-size: 0.9rem;
  color: var(--color-text-muted);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.link-with-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--color-primary);
  font-weight: 600;
  text-decoration: none;
  transition: gap 0.3s;
}

.link-with-arrow:hover {
  gap: 12px;
  color: var(--color-accent);
}

/* Dashbord Mockup */
.dashboard-mockup {
  perspective: 1000px;
  width: 100%;
}

.img-responsive {
  width: 100%;
  height: auto;
  border-radius: 12px;
  display: block;
}

.glow-image {
  width: 100%;
  border-radius: 12px;
  opacity: 1;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.portfolio-item:hover .glow-image {
  border-color: rgba(99, 102, 241, 0.3);
}

@media (max-width: 768px) {
  .glow-image {
    max-height: 340px;
    object-fit: cover;
  }
}

/* ===== Process ===== */
.process-steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  padding: 40px 0;
}

.process-line {
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(
    180deg,
    transparent 0%,
    var(--color-primary) 50%,
    transparent 100%
  );
  transform: translateX(-50%);
  opacity: 0.8;
}

.step {
  display: flex;
  justify-content: center;
  position: relative;
  margin-bottom: 60px;
}

.step-marker {
  width: 40px;
  height: 40px;
  background: var(--color-bg);
  border: 2px solid var(--color-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  font-weight: 700;
  z-index: 2;
  box-shadow: 0 0 10px rgba(99, 102, 241, 0.4);
}

.step-content {
  position: absolute;
  width: 40%;
}

.text-left {
  right: 55%;
  text-align: right;
}

.text-right {
  left: 55%;
  text-align: left;
}

.move-down {
  top: 50%; /* Staggering visual */
}

/* ===== Contact Section ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr; /* 2 Columns: Text Left, Form Right */
  gap: 80px;
  align-items: center;
}

.contact-content {
  max-width: 500px;
}

.contact-methods {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.method-item {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 1.1rem;
  color: var(--color-text-muted);
}

.method-item i {
  color: var(--color-primary);
}

.contact-form {
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  font-weight: 500;
}

.form-input {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 16px;
  font-family: var(--font-body);
  color: var(--color-text-main);
  font-size: 1rem;
  transition: all 0.3s ease;
}

.form-input:focus {
  outline: none;
  border-color: var(--color-primary);
  background: rgba(255, 255, 255, 0.05);
  box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1);
}

.btn-full {
  width: 100%;
  margin-top: 8px;
}

.form-success {
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.2);
  color: #10b981;
  padding: 16px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 500;
  margin-top: 16px;
}

.hidden {
  display: none;
}

/* Responsive Contact */
@media (max-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

/* ===== Footer ===== */
.footer {
  padding: 100px 0 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 0.95rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 80px;
}

.brand-col .logo {
  font-size: 2rem;
  margin-bottom: 16px;
  display: inline-flex;
}

.footer-col h4 {
  color: var(--color-text-main);
  margin-bottom: 24px;
  font-family: var(--font-heading);
}

.footer-col a {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--color-text-muted);
  text-decoration: none;
  margin-bottom: 12px;
  transition: color 0.3s;
}

.footer-col a:hover {
  color: var(--color-primary);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  padding-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  color: var(--color-text-muted);
  font-size: 0.9rem;
}

.footer-legal {
  display: flex;
  gap: 24px;
}

.footer-legal a {
  color: var(--color-text-muted);
  text-decoration: none;
}

/* ===== Animations ===== */
.fade-in-up {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.8s ease forwards;
}

.delay-100 {
  animation-delay: 0.1s;
}
.delay-200 {
  animation-delay: 0.2s;
}
.delay-300 {
  animation-delay: 0.3s;
}
.delay-400 {
  animation-delay: 0.4s;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===== Scroll Reveal System ===== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered children */
.reveal-stagger > * {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 0.5s ease,
    transform 0.5s ease;
}

.reveal-stagger.visible > *:nth-child(1) {
  transition-delay: 0.1s;
  opacity: 1;
  transform: translateY(0);
}
.reveal-stagger.visible > *:nth-child(2) {
  transition-delay: 0.2s;
  opacity: 1;
  transform: translateY(0);
}
.reveal-stagger.visible > *:nth-child(3) {
  transition-delay: 0.3s;
  opacity: 1;
  transform: translateY(0);
}
.reveal-stagger.visible > *:nth-child(4) {
  transition-delay: 0.4s;
  opacity: 1;
  transform: translateY(0);
}

/* Timeline Sequential Reveal */
.step.reveal {
  opacity: 0;
  transform: translateX(-20px);
  transition:
    opacity 0.5s ease,
    transform 0.5s ease;
}

.step.reveal.visible {
  opacity: 1;
  transform: translateX(0);
}

/* Counter Animation Pulse */
.stat-number.counting {
  animation: pulse 0.3s ease-in-out;
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

/* ===== Cursor Glow Effect ===== */
.cursor-glow {
  position: fixed;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(99, 102, 241, 0.15) 0%,
    transparent 70%
  );
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: opacity 0.3s ease;
  opacity: 0;
}

.cursor-glow.active {
  opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
  .cursor-glow {
    display: none;
  }
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .mobile-menu-btn {
    display: flex; /* Show only on mobile */
  }

  .hero-title {
    font-size: 2.5rem;
  }
  .hero-subtitle {
    font-size: 1rem;
  }
  .hero-audience {
    font-size: 0.9rem;
  }
  .hero-proof-row {
    grid-template-columns: 1fr;
    max-width: 320px;
    margin-top: 28px;
  }
  .hero-proof-item {
    text-align: center;
  }

  /* Stack hero CTA buttons on mobile */
  .hero-cta {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }

  .hero-cta .btn {
    width: 100%;
    max-width: 280px;
    justify-content: center;
  }

  .portfolio-item {
    grid-template-columns: 1fr;
  }
  .process-line {
    left: 20px;
  }
  .step {
    justify-content: flex-start;
    padding-left: 60px;
  }
  .step-marker {
    position: absolute;
    left: 0;
  }
  .step-content {
    position: static;
    width: 100%;
    text-align: left;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  /* Improve section spacing on mobile */
  .section {
    padding: 60px 0;
  }
  .section-header {
    margin-bottom: 40px;
  }
  .section-partner-fit {
    padding-top: 56px;
    padding-bottom: 10px;
  }
  .partner-fit-card {
    padding: 28px 20px;
  }

  /* Service cards on mobile */
  .services-grid {
    gap: 24px;
  }
  .service-card {
    padding: 24px;
  }
  .service-icon-wrapper {
    width: 80px;
    height: 80px;
  }
}

/* Base styles for mobile elements (hidden on desktop) */
.mobile-menu-btn {
  display: none;
  background: transparent;
  border: none;
  color: white;
  cursor: pointer;
  z-index: 101;
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
}

.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(3, 4, 7, 0.95);
  backdrop-filter: blur(20px);
  z-index: 99;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.mobile-menu.active {
  opacity: 1;
  pointer-events: auto;
}

body.menu-open {
  overflow: hidden;
}

.mobile-link {
  font-family: var(--font-heading);
  font-size: 2rem;
  color: var(--color-text-main);
  text-decoration: none;
  font-weight: 600;
}

.mobile-cta {
  margin-top: 16px;
  width: 80%;
  text-align: center;
  justify-content: center;
}

/* ===== Cookie Consent Banner ===== */
.cookie-banner {
  position: fixed;
  bottom: 24px;
  left: 24px;
  right: 24px;
  background: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 24px;
  z-index: 1000;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
  transform: translateY(150%);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  max-width: 1200px;
  margin: 0 auto;
}

.cookie-banner.visible {
  transform: translateY(0);
}

.cookie-content {
  flex: 1;
  min-width: 300px;
}

.cookie-content h4 {
  color: #fff;
  margin-bottom: 8px;
  font-size: 1.1rem;
}

.cookie-content p {
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.95rem;
  margin: 0;
}

.cookie-content a {
  color: #fff;
  text-decoration: underline;
}

.cookie-actions {
  display: flex;
  gap: 12px;
}

.cookie-banner .btn-outline {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.42);
  background: transparent;
}

.cookie-banner .btn-outline:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.72);
  background: rgba(255, 255, 255, 0.12);
}

.cookie-banner .btn-primary {
  color: #fff;
}

.btn-sm {
  padding: 10px 20px;
  font-size: 0.9rem;
}

.cookie-banner.hidden {
  display: none;
}

/* ===== Blog Page ===== */
.page-header {
  padding: 160px 0 80px;
  background: radial-gradient(
    circle at 50% 0%,
    rgba(181, 122, 71, 0.14),
    transparent 60%
  );
  text-align: center;
}

.blog-subtitle {
  max-width: 600px;
  margin: 0 auto;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 32px;
  margin-bottom: 80px;
}

.blog-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  color: var(--color-text-main);
  transition:
    transform 0.3s ease,
    border-color 0.3s ease,
    box-shadow 0.3s ease;
  text-decoration: none;
  overflow: hidden;
}

/* ── In-Feed Ad Card ── */
.ad-card-infeed {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 480px;
  padding: 16px;
  pointer-events: auto;
  cursor: default;
}
.ad-card-infeed:hover {
  transform: none;
  border-color: rgba(148, 163, 184, 0.22);
  box-shadow: none;
}
.ad-card-inner {
  width: 100%;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 8px;
}

.blog-card:visited {
  color: var(--color-text-main);
}

.blog-card:hover {
  transform: translateY(-4px);
  border-color: rgba(181, 122, 71, 0.3);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.25);
}

.blog-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 12px 12px 0 0;
  background: #1a1a1a;
}

.blog-image-fallback {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  gap: 10px;
  padding: 20px;
  background:
    radial-gradient(
      circle at 15% 20%,
      rgba(99, 102, 241, 0.45),
      transparent 55%
    ),
    radial-gradient(
      circle at 85% 10%,
      rgba(6, 182, 212, 0.35),
      transparent 50%
    ),
    linear-gradient(145deg, rgba(14, 17, 30, 1), rgba(9, 12, 20, 1));
}

.blog-fallback-tag {
  position: absolute;
  top: 14px;
  right: 14px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.08);
}

.blog-fallback-icon {
  width: 30px;
  height: 30px;
  color: rgba(255, 255, 255, 0.9);
}

.blog-fallback-label {
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.blog-content {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.blog-meta {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  margin-bottom: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.blog-category {
  margin-bottom: 16px;
  display: flex;
}

.meta-topic {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.blog-card-footer {
  margin-top: auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 16px;
}

.blog-meta-bottom {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

.blog-readtime {
  padding: 2px 8px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.blog-title {
  font-size: 1.4rem;
  color: var(--color-text-main);
  margin-bottom: 12px;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-excerpt {
  color: var(--color-text-body);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 20px;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.read-more {
  color: var(--color-link);
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 6px;
}

.read-more i {
  width: 16px;
  height: 16px;
}

.blog-card-placeholder {
  opacity: 0.7;
  pointer-events: none;
}

/* ===== Article Page ===== */
.article-header {
  padding: 132px 0 40px;
  background: radial-gradient(
    circle at 50% 0%,
    rgba(95, 111, 255, 0.08),
    transparent 68%
  );
  text-align: center;
}

.article-container {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 24px;
}

.article-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 18px;
  color: var(--color-text-muted);
  font-size: 0.95rem;
}

.article-meta-secondary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 22px;
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.article-body {
  max-width: 72ch;
  margin: 0 auto;
  font-size: 1.1rem;
  line-height: 1.86;
  color: var(--color-text-body);
}

.article-cover {
  margin: 0 auto 30px;
  max-width: min(760px, 100%);
  padding: 10px;
  border-radius: 16px;
  border: 1px solid var(--color-border-soft);
  background: linear-gradient(
    140deg,
    rgba(99, 102, 241, 0.14),
    rgba(6, 182, 212, 0.08)
  );
}

.article-cover img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: contain;
  object-position: center;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: #0b1120;
}

.article-body h2 {
  color: var(--color-text-main);
  font-size: 1.68rem;
  margin: 44px 0 18px;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.01em;
}

.article-body p {
  margin-bottom: 1.4rem;
}

.article-body ul {
  margin-bottom: 1.35rem;
  padding-left: 1.2rem;
}

.article-body li {
  margin-bottom: 10px;
  list-style-type: disc;
  color: var(--color-text-body);
}

.article-body a {
  color: var(--color-link);
  text-decoration: underline;
  text-underline-offset: 2px;
  text-decoration-thickness: 1px;
}

.article-body a:hover {
  color: #bae6fd;
}

.ad-container-in-article {
  margin: 40px 0;
  padding: 20px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.ad-container-in-article .ad-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: rgba(255, 255, 255, 0.3);
  text-align: center;
  margin-bottom: 16px;
}

.ad-container-intro {
  text-align: center;
}

.ad-slot-fixed-300x250 {
  margin: 0 auto;
}

.article-sources {
  margin: 16px 0 24px;
  padding-left: 22px;
}

.article-sources li {
  margin-bottom: 10px;
  color: var(--color-text-muted);
  line-height: 1.6;
}

.article-sources a {
  color: var(--color-link);
  text-decoration: none;
}

.article-sources a:hover {
  text-decoration: underline;
}

.source-meta {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.85rem;
}

.source-note {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.9rem;
}

.article-hero-image {
  width: 100%;
  border-radius: 12px;
  border: 1px solid var(--color-border-soft);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  margin-bottom: 40px;
}

.highlight-box {
  background: rgba(15, 23, 42, 0.58);
  border: 1px solid var(--color-border-soft);
  border-radius: 12px;
  padding: 32px;
  margin: 40px 0;
}

.back-link {
  display: flex;
  width: fit-content;
  align-items: center;
  gap: 8px;
  color: #6b5644;
  margin-left: 0;
  margin-right: auto;
  margin-bottom: 24px;
  text-decoration: none;
  transition: color 0.2s;
}

.back-link:hover {
  color: #2f261e;
}

.article-title {
  font-size: 3rem;
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.article-lead {
  font-size: 1.3rem;
  color: var(--color-text-body);
  font-weight: 500;
}

.highlight-title {
  margin-top: 0;
  color: var(--color-primary);
}

.highlight-box p {
  margin-bottom: 0;
}

.article-divider {
  border: 0;
  border-top: 1px solid var(--color-border-soft);
  margin: 60px 0;
}

.article-cta {
  background: var(--gradient-main-soft);
  border: 1px solid rgba(95, 111, 255, 0.34);
  padding: 32px;
  border-radius: 12px;
  text-align: center;
}

.article-cta h3 {
  margin-top: 0;
  color: var(--color-text-main);
}

/* ===== Legal Pages ===== */
.legal-content {
  max-width: 800px;
  margin: 120px auto 60px;
  color: var(--color-text-body);
}

.legal-content h1 {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  margin-bottom: 2rem;
  background: linear-gradient(135deg, #fff 0%, #cbd5e1 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.legal-content h2 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  color: #fff;
}

.legal-content h3 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
  color: #e2e8f0;
}

.legal-content p {
  margin-bottom: 1.5rem;
  line-height: 1.7;
  font-family: var(--font-body);
}

.legal-content ul {
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
  list-style-type: disc;
}

.legal-content li {
  margin-bottom: 0.5rem;
}

/* ===== Careers ===== */
.careers-header {
  padding: 180px 0 80px;
  text-align: center;
}

.careers-title {
  font-size: 3.5rem;
  margin-bottom: 24px;
  font-family: var(--font-heading);
  background: linear-gradient(135deg, #fff 0%, #cbd5e1 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.careers-subtitle {
  font-size: 1.25rem;
  color: var(--color-text-muted);
  max-width: 600px;
  margin: 0 auto;
}

.culture-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-bottom: 120px;
}

.culture-item {
  text-align: center;
  padding: 32px;
}

.culture-item i {
  width: 48px;
  height: 48px;
  margin-bottom: 24px;
  color: var(--color-primary);
}

.job-list {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.job-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 32px;
  transition: all 0.3s ease;
}

.job-card:hover {
  transform: translateX(10px);
  border-color: var(--color-primary);
}

.job-info h3 {
  font-size: 1.5rem;
  margin-bottom: 8px;
  color: #fff;
}

.job-meta {
  display: flex;
  gap: 16px;
  color: var(--color-text-muted);
  font-size: 0.9rem;
}

.job-tag {
  background: rgba(255, 255, 255, 0.05);
  padding: 4px 12px;
  border-radius: 100px;
}

@media (max-width: 768px) {
  .mobile-link {
    font-size: 1.45rem;
  }

  .blog-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 48px;
  }

  .blog-content {
    padding: 20px;
  }

  .blog-meta {
    gap: 8px;
    font-size: 0.82rem;
  }

  .blog-readtime {
    margin-left: 0;
  }

  .article-container {
    padding: 0 18px;
  }

  .article-title {
    font-size: 2.15rem;
    margin-bottom: 28px;
    line-height: 1.2;
  }

  .article-meta {
    flex-wrap: wrap;
    gap: 10px;
    font-size: 0.88rem;
  }

  .article-meta-secondary {
    flex-wrap: wrap;
    gap: 8px;
    font-size: 0.76rem;
    margin-bottom: 20px;
  }

  .article-body {
    font-size: 1.03rem;
    line-height: 1.8;
  }

  .article-cover {
    max-width: 100%;
    margin-bottom: 22px;
    padding: 8px;
  }

  .ad-container-in-article {
    margin: 28px 0;
    padding: 16px 0;
  }

  .tool-card {
    padding: 20px;
  }

  .tool-ops-actions .btn {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 860px) {
  .careers-title {
    font-size: 2.5rem;
  }
  .culture-grid {
    grid-template-columns: 1fr;
    margin-bottom: 60px;
  }
  .job-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }
  .job-card .btn {
    width: 100%;
  }
}

.careers-empty-card {
  text-align: center;
  padding: 60px 40px;
}

.careers-empty-icon {
  width: 48px;
  height: 48px;
  color: var(--color-text-muted);
  margin-bottom: 24px;
}

.careers-empty-title {
  font-size: 1.5rem;
  margin-bottom: 16px;
  color: #fff;
}

.careers-empty-text {
  max-width: 500px;
  margin: 0 auto 24px;
}

.careers-note-wrap {
  margin: 48px auto 96px;
  text-align: center;
}

.careers-note {
  max-width: 760px;
  margin: 0 auto;
}

/* ===== 404 Page ===== */
.error-container {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 24px;
}

.error-code {
  font-size: 8rem;
  font-weight: 800;
  font-family: var(--font-heading);
  background: var(--gradient-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 24px;
}

.error-title {
  font-size: 2rem;
  margin-bottom: 16px;
  color: #fff;
}

.error-message {
  font-size: 1.1rem;
  color: var(--color-text-muted);
  max-width: 400px;
  margin-bottom: 40px;
}

/* ===== Portfolio & Philosophy ===== */
.capabilities-note {
  text-align: center;
  margin-top: 40px;
  color: var(--color-text-muted);
  font-size: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 30px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.ownership-badge {
  margin-bottom: 16px;
  font-size: 0.85rem;
  color: var(--color-primary);
}

.portfolio-note {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  margin-bottom: 16px;
  font-style: normal;
}

.philosophy-note {
  margin-top: 40px;
  color: var(--color-primary);
  font-weight: 500;
  letter-spacing: 0.05em;
  font-size: 0.95rem;
  text-transform: uppercase;
}

.process-label {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 5px;
}

.philosophy-closing {
  text-align: center;
  margin-top: 60px;
  color: var(--color-text-muted);
  font-size: 1rem;
  font-style: normal;
  opacity: 0.8;
}

/* ===== Contact ===== */
.contact-intro {
  font-size: 0.95rem;
  color: var(--color-primary);
  font-weight: 500;
  margin-bottom: 16px;
  letter-spacing: 0.02em;
}

/* ===== Partner Fit ===== */
.section-partner-fit {
  padding-top: 80px;
  padding-bottom: 20px;
}

.partner-fit-card {
  padding: 40px;
}

.partner-fit-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 28px;
}

.partner-fit-header .section-title {
  margin-bottom: 14px;
}

.partner-fit-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.partner-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.03);
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.88);
}

.contact-footnote {
  margin-top: 30px;
  font-size: 0.9rem;
  color: var(--color-text-muted);
  opacity: 0.7;
  font-style: normal;
}

.form-note {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  margin-bottom: 12px;
  text-align: center;
}

@media (max-width: 768px) {
  .error-code {
    font-size: 5rem;
  }
  .error-title {
    font-size: 1.5rem;
  }
}

@media (max-width: 768px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    bottom: 0;
    left: 0;
    right: 0;
    border-radius: 12px 12px 0 0;
    padding: 32px 24px;
  }

  .cookie-actions {
    width: 100%;
  }

  .cookie-actions .btn {
    flex: 1;
    justify-content: center;
  }
}

/* ===== Reduced Motion Gradient ===== */
@media (prefers-reduced-motion: reduce) {
  .bg-glow,
  .particle {
    animation: none;
  }
}

/* ===== Tools ===== */
.tool-hero {
  padding-bottom: 56px;
}

.tools-hero-actions {
  margin-top: 24px;
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.tools-quick-stats {
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(3, minmax(140px, 1fr));
  gap: 12px;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

.tools-quick-stat {
  border: 1px solid rgba(142, 117, 89, 0.24);
  border-radius: 14px;
  padding: 12px 14px;
  background: linear-gradient(
    165deg,
    rgba(181, 122, 71, 0.12),
    rgba(142, 117, 89, 0.06)
  );
}

.tools-quick-stat strong {
  display: block;
  font-size: 1.1rem;
  letter-spacing: 0.01em;
}

.tools-quick-stat span {
  color: var(--color-text-muted);
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.tools-section-intro {
  margin-bottom: 20px;
  padding: 18px 22px;
}

.tools-section-intro p {
  color: var(--color-text-muted);
  margin: 0;
}

.tool-layout {
  display: grid;
  grid-template-columns: minmax(300px, 1fr) minmax(300px, 1fr);
  gap: 28px;
  align-items: start;
}

.tool-card {
  padding: 28px;
}

.tool-title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  margin-bottom: 8px;
}

.tool-subtitle {
  color: var(--color-text-muted);
  margin-bottom: 22px;
  font-size: 0.95rem;
}

.tool-form {
  display: grid;
  gap: 14px;
}

.tool-field {
  display: grid;
  gap: 8px;
}

.tool-field span {
  font-size: 0.88rem;
  color: rgba(61, 49, 39, 0.86);
}

.tool-field input {
  width: 100%;
  border-radius: 10px;
  border: 1px solid rgba(142, 117, 89, 0.28);
  background: rgba(255, 255, 255, 0.75);
  color: #2f261e;
  padding: 12px 14px;
  font-size: 0.95rem;
}

.tool-field select {
  width: 100%;
  border-radius: 10px;
  border: 1px solid rgba(142, 117, 89, 0.28);
  background: rgba(255, 255, 255, 0.75);
  color: #2f261e;
  padding: 12px 14px;
  font-size: 0.95rem;
}

.tool-field input::placeholder,
.tool-field select::placeholder {
  color: rgba(78, 62, 47, 0.62);
}

.tool-field input:focus {
  border-color: rgba(181, 122, 71, 0.85);
  outline: none;
  box-shadow: 0 0 0 2px rgba(181, 122, 71, 0.2);
}

.tool-field select:focus {
  border-color: rgba(181, 122, 71, 0.85);
  outline: none;
  box-shadow: 0 0 0 2px rgba(181, 122, 71, 0.2);
}

.tool-submit {
  margin-top: 10px;
  width: 100%;
  justify-content: center;
}

.tool-metrics {
  display: grid;
  gap: 12px;
  margin-top: 6px;
}

.tool-metric {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  padding: 14px;
  background: rgba(5, 10, 20, 0.55);
}

.tool-metric-label {
  display: block;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: 6px;
}

.tool-metric strong {
  font-size: 1.25rem;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.tool-summary-wrap {
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.tool-summary-wrap h3 {
  font-size: 1rem;
  margin-bottom: 8px;
}

.tool-summary-text {
  color: var(--color-text-muted);
  line-height: 1.65;
  margin-bottom: 12px;
}

.tool-cta {
  margin-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 18px;
}

.tool-cta h3 {
  font-size: 1.12rem;
  margin-bottom: 8px;
}

.tool-cta p {
  color: var(--color-text-muted);
  margin-bottom: 12px;
}

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

.tool-catalog {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 12px;
  margin-bottom: 28px;
}

.tool-catalog-card {
  text-decoration: none;
  padding: 18px;
  border: 1px solid rgba(142, 117, 89, 0.2);
  background: linear-gradient(
    160deg,
    rgba(255, 255, 255, 0.78),
    rgba(245, 239, 230, 0.88)
  );
  transition:
    transform 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.tool-catalog-card:hover {
  transform: translateY(-3px);
  border-color: rgba(181, 122, 71, 0.42);
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.24);
}

.tool-catalog-card h3 {
  font-size: 1rem;
  margin-bottom: 6px;
  color: #2f261e;
}

.tool-catalog-card p {
  color: var(--color-text-muted);
  font-size: 0.87rem;
  line-height: 1.5;
}

.tool-section-grid {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(260px, 1fr);
  gap: 18px;
  margin-bottom: 18px;
  border-radius: 16px;
  border: 1px solid rgba(142, 117, 89, 0.2);
  padding: 14px;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.5),
    rgba(244, 237, 227, 0.25)
  );
}

.tool-output-block h3 {
  margin-bottom: 10px;
}

.tool-output-block p {
  margin-bottom: 8px;
  color: var(--color-text-muted);
}

.tool-output-block strong {
  color: #2f261e;
}

.tool-output-block .btn {
  margin-top: 10px;
}

.tool-pre {
  white-space: pre-wrap;
  color: var(--color-text-muted);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.09);
  padding: 12px;
  border-radius: 10px;
  margin-bottom: 10px;
  min-height: 110px;
}

.table-wrap {
  overflow-x: auto;
  margin-bottom: 12px;
}

.table-wrap table {
  width: 100%;
  border-collapse: collapse;
  min-width: 520px;
}

.table-wrap th,
.table-wrap td {
  text-align: left;
  padding: 8px 10px;
  border-bottom: 1px solid rgba(111, 90, 72, 0.18);
  font-size: 0.86rem;
}

.table-wrap th {
  color: #5a4738;
  font-weight: 700;
}

.tool-ops-card {
  margin-bottom: 26px;
}

.tool-inline-form {
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  align-items: end;
}

.tool-ops-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 10px;
}

.tool-live-container {
  margin-top: 12px;
}

.article-tools-cta {
  margin-top: 22px;
  padding: 24px;
  border-radius: 14px;
  border: 1px solid rgba(142, 117, 89, 0.22);
  background: rgba(255, 255, 255, 0.78);
}

.article-tools-cta h3 {
  margin: 0 0 8px;
  color: #2f261e;
}

.article-tools-cta p {
  margin: 0 0 14px;
  color: #5d4b3b;
}

.article-tools-cta .tool-ops-actions {
  margin-top: 0;
  gap: 10px;
}

.article-tools-cta .btn {
  text-decoration: none;
}

.article-tools-cta .btn-outline {
  color: #6e4f34;
  border-color: rgba(142, 117, 89, 0.34);
  background: rgba(255, 255, 255, 0.5);
}

.article-tools-cta .btn-outline:hover {
  color: #2f261e;
  border-color: rgba(181, 122, 71, 0.6);
  background: rgba(181, 122, 71, 0.16);
}

@media (max-width: 760px) {
  .article-tools-cta .tool-ops-actions .btn {
    width: 100%;
    justify-content: center;
  }
}

.article-resources-cta {
  margin-top: 28px;
  padding: 26px 24px;
  border-radius: 14px;
  border: 1px solid rgba(142, 117, 89, 0.26);
  background: linear-gradient(
    140deg,
    rgba(255, 255, 255, 0.86),
    rgba(243, 234, 220, 0.88)
  );
  text-align: center;
}

.article-resources-cta h3 {
  margin: 0 0 8px;
  color: #2f261e;
}

.article-resources-cta p {
  margin: 0 0 14px;
  color: #5d4b3b;
}

.article-resources-cta .btn {
  text-decoration: none;
}

.article-resources-cta .btn-primary {
  color: #fff;
  background: linear-gradient(135deg, #995427 0%, #c8874b 100%);
  border-color: rgba(120, 74, 39, 0.38);
  box-shadow: 0 8px 20px rgba(122, 76, 43, 0.24);
}

.article-resources-cta .btn-primary:hover {
  transform: none;
  box-shadow: 0 10px 24px rgba(122, 76, 43, 0.26);
}

@media (max-width: 980px) {
  .tool-section-grid {
    grid-template-columns: 1fr;
    padding: 10px;
  }

  .tools-quick-stats {
    grid-template-columns: 1fr;
  }
}

/* ===== Blog V2 ===== */
.blog-v2 .blog-hero-v2 {
  padding-bottom: 52px;
}

.blog-v2 .blog-hero-stats {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.blog-v2 .hero-stat {
  padding: 18px;
  text-align: left;
}

.blog-v2 .hero-stat strong {
  display: block;
  font-size: 1.15rem;
  color: #2f261e;
  margin-bottom: 4px;
}

.blog-v2 .hero-stat span {
  font-size: 0.83rem;
  color: var(--color-text-muted);
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.blog-v2 .data-banner {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  margin-bottom: 22px;
}

.blog-v2 .data-banner i {
  color: #8c5a34;
  width: 20px;
  height: 20px;
}

.blog-v2 .data-banner p {
  margin: 0;
  color: var(--color-text-muted);
}

.blog-v2 .featured-post {
  display: grid;
  grid-template-columns: minmax(320px, 42%) 1fr;
  gap: 0;
  overflow: hidden;
  margin-bottom: 22px;
  padding: 0;
}

.blog-v2 .featured-post .blog-image,
.blog-v2 .featured-post .featured-media {
  width: 100%;
  height: 100%;
  min-height: 280px;
  max-height: 360px;
  object-fit: contain;
  object-position: center;
  border-radius: 0;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(
    140deg,
    rgba(37, 49, 82, 0.75),
    rgba(16, 22, 38, 0.92)
  );
}

.blog-v2 .featured-content {
  padding: 28px;
}

.blog-v2 .featured-kicker {
  margin: 0 0 10px;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #8c5a34;
}

.blog-v2 .featured-title {
  margin: 0 0 12px;
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  line-height: 1.2;
}

.blog-v2 .featured-excerpt {
  margin: 0 0 18px;
  color: var(--color-text-muted);
  line-height: 1.65;
  max-width: 58ch;
}

.blog-v2 .featured-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  color: var(--color-text-muted);
  font-size: 0.9rem;
  margin-bottom: 18px;
}

.blog-v2 .blog-toolbar {
  padding: 14px;
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 12px;
  align-items: center;
  margin-bottom: 14px;
}

.blog-v2 .toolbar-search {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid rgba(142, 117, 89, 0.24);
  background: rgba(255, 255, 255, 0.62);
}

.blog-v2 .toolbar-search i {
  width: 16px;
  height: 16px;
  color: var(--color-text-muted);
}

.blog-v2 .toolbar-search input {
  width: 100%;
  border: 0;
  background: transparent;
  color: #2f261e;
  outline: none;
  font-size: 0.95rem;
}

.blog-v2 .toolbar-sort {
  display: flex;
  align-items: center;
  gap: 8px;
}

.blog-v2 .toolbar-sort label {
  color: var(--color-text-muted);
  font-size: 0.85rem;
}

.blog-v2 .toolbar-sort select {
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid rgba(142, 117, 89, 0.24);
  background: rgba(255, 255, 255, 0.62);
  color: #2f261e;
}

.blog-v2 .toolbar-count {
  margin: 0;
  font-size: 0.9rem;
  color: var(--color-text-muted);
  justify-self: end;
}

.blog-v2 .blog-topic-chips {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 10px;
  margin-bottom: 18px;
}

.blog-v2 .topic-chip {
  border: 1px solid rgba(142, 117, 89, 0.24);
  background: rgba(255, 255, 255, 0.58);
  color: #6b5644;
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 0.82rem;
  letter-spacing: 0.03em;
  white-space: nowrap;
  cursor: pointer;
  transition:
    border-color 0.25s ease,
    color 0.25s ease,
    background-color 0.25s ease;
}

.blog-v2 .topic-chip.active,
.blog-v2 .topic-chip:hover {
  border-color: rgba(181, 122, 71, 0.65);
  color: #2f261e;
  background: rgba(181, 122, 71, 0.2);
}

.blog-v2 .blog-layout-v2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
}

.blog-v2 .blog-main-v2 {
  display: grid;
  gap: 16px;
  align-content: start;
}

.blog-v2 .blog-priority-strip {
  padding: 16px;
  display: grid;
  gap: 14px;
}

.blog-v2 .priority-head h2 {
  margin: 0 0 6px;
  font-size: 1.08rem;
  color: #2f261e;
}

.blog-v2 .priority-head p {
  margin: 0;
  color: var(--color-text-muted);
  font-size: 0.92rem;
}

.blog-v2 .priority-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.blog-v2 .priority-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border-radius: 10px;
  border: 1px solid rgba(142, 117, 89, 0.24);
  background: rgba(255, 255, 255, 0.56);
  color: #6b5644;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  text-decoration: none;
  text-align: center;
  padding: 10px 12px;
  transition:
    border-color 0.25s ease,
    background-color 0.25s ease,
    color 0.25s ease;
}

.blog-v2 .priority-link:hover,
.blog-v2 .priority-link.active {
  border-color: rgba(181, 122, 71, 0.7);
  background: rgba(181, 122, 71, 0.22);
  color: #2f261e;
}

.blog-v2 .blog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin-bottom: 0;
}

.blog-v2 .blog-title {
  -webkit-line-clamp: 3;
}

.blog-v2 .blog-card {
  min-height: 100%;
}

.blog-v2 .blog-image {
  height: auto;
  min-height: 210px;
  aspect-ratio: 16 / 9;
}

.blog-v2 .topic-cover-image {
  object-fit: cover;
  object-position: center center;
}

.blog-v2 .blog-title {
  color: #2f261e;
  font-size: 1.15rem;
}

.blog-v2 .blog-excerpt {
  -webkit-line-clamp: 4;
}

.blog-v2 .blog-no-results {
  margin: 20px 0 8px;
  color: var(--color-text-muted);
}

.blog-v2 .blog-pagination {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.blog-v2 .page-link {
  text-decoration: none;
  border: 1px solid rgba(142, 117, 89, 0.24);
  background: rgba(255, 255, 255, 0.58);
  color: #6b5644;
  border-radius: 10px;
  padding: 9px 14px;
  font-size: 0.9rem;
  transition:
    border-color 0.25s ease,
    background-color 0.25s ease,
    color 0.25s ease;
}

.blog-v2 .page-link:hover,
.blog-v2 .page-link.active {
  color: #2f261e;
  border-color: rgba(181, 122, 71, 0.65);
  background: rgba(181, 122, 71, 0.2);
}

.blog-v2 .blog-rail {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 28px;
}

.blog-v2 .rail-card {
  padding: 20px;
}

.blog-v2 .rail-card h3 {
  margin: 0 0 10px;
  font-size: 1.1rem;
}

.blog-v2 .rail-card p {
  margin: 0 0 14px;
  color: var(--color-text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

.blog-v2 .rail-card .btn {
  width: 100%;
  justify-content: center;
  margin-top: 8px;
}

@media (max-width: 1060px) {
  .blog-v2 .priority-links {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  .blog-v2 .blog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .blog-v2 .priority-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .blog-v2 .featured-post {
    grid-template-columns: 1fr;
  }

  .blog-v2 .featured-post .blog-image,
  .blog-v2 .featured-post .featured-media {
    max-height: 300px;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .blog-v2 .blog-toolbar {
    grid-template-columns: 1fr;
  }

  .blog-v2 .featured-content {
    padding: 20px;
  }

  .blog-v2 .featured-title {
    font-size: 1.7rem;
  }

  .blog-v2 .featured-meta {
    font-size: 0.82rem;
  }

  .blog-v2 .toolbar-count {
    justify-self: start;
  }

  .blog-v2 .blog-hero-stats {
    grid-template-columns: 1fr;
  }

  .blog-v2 .blog-rail {
    grid-template-columns: 1fr;
    margin-top: 20px;
  }

  .blog-v2 .priority-link {
    font-size: 0.78rem;
  }

  .blog-v2 .page-link {
    min-height: 40px;
    min-width: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .blog-v2 .blog-grid {
    grid-template-columns: 1fr;
  }
}

/* ===== Home Improvements ===== */
.hero-start-links {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.hero-start-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  border: 1px solid rgba(99, 102, 241, 0.45);
  border-radius: 999px;
  padding: 9px 16px;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.95);
  background: linear-gradient(
    135deg,
    rgba(99, 102, 241, 0.32),
    rgba(6, 182, 212, 0.22)
  );
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
  font-size: 0.83rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition:
    transform 0.2s ease,
    border-color 0.25s ease,
    color 0.25s ease,
    background-color 0.25s ease;
}

.hero-start-link:hover {
  border-color: rgba(99, 102, 241, 0.82);
  color: #fff;
  background: linear-gradient(
    135deg,
    rgba(99, 102, 241, 0.5),
    rgba(6, 182, 212, 0.34)
  );
  transform: translateY(-1px);
}

.hero-mobile-note {
  display: none;
  margin: 16px auto 0;
  color: rgba(226, 232, 240, 0.9);
  font-size: 0.9rem;
  max-width: 340px;
  line-height: 1.5;
}

.section-engage-flow {
  padding-top: 24px;
}

.section-home-insights {
  padding-top: 24px;
}

.home-insights-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  align-items: start;
}

.home-insight-card {
  overflow: hidden;
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 360px;
  min-height: 100%;
  margin: 0 auto;
}

.home-insight-media-link {
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: rgba(15, 23, 42, 0.92);
}

.home-insight-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.home-insight-content {
  padding: 14px 14px 16px;
  display: grid;
  gap: 8px;
}

.home-insight-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.8rem;
  color: var(--color-text-muted);
}

.home-insight-card h3 {
  margin: 0;
  font-size: 1rem;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.home-insight-card p {
  margin: 0;
  color: var(--color-text-muted);
  line-height: 1.5;
  font-size: 0.93rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.home-insights-footer {
  margin-top: 18px;
  display: flex;
  justify-content: center;
}

.engage-flow-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.engage-flow-card {
  padding: 24px;
}

.engage-step {
  display: inline-block;
  padding: 5px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.76rem;
  letter-spacing: 0.1em;
  margin-bottom: 10px;
}

.engage-flow-card h3 {
  margin: 0 0 8px;
  font-size: 1.18rem;
}

.engage-flow-card p {
  margin: 0;
  color: var(--color-text-muted);
  line-height: 1.65;
}

/* ===== Resources ===== */
.resources-hero {
  padding-bottom: 40px;
}

.resources-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.resource-card {
  padding: 22px;
  text-decoration: none;
  color: inherit;
  min-height: 210px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.resource-card h3 {
  margin: 0;
  font-size: 1.16rem;
  line-height: 1.35;
}

.resource-card p {
  margin: 0;
  color: var(--color-text-muted);
  line-height: 1.55;
}

.resource-type {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid var(--color-border-soft);
  background: rgba(95, 111, 255, 0.16);
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(226, 232, 240, 0.95);
}

.resource-meta {
  margin-top: auto;
  color: var(--color-text-muted);
  font-size: 0.82rem;
}

.resources-cta-row {
  margin-top: 22px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.resource-page-container {
  max-width: 860px;
}

.resource-page-header {
  padding-bottom: 24px;
}

.resource-page-title {
  margin-top: 12px;
}

.resource-meta-row {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.resource-badge {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--color-border-soft);
  color: var(--color-text-body);
  font-size: 0.82rem;
}

.resource-content {
  display: grid;
  gap: 16px;
}

.resource-block {
  padding: 24px;
}

.resource-block h2 {
  margin: 0 0 12px;
  color: var(--color-text-main);
  font-size: 1.28rem;
  line-height: 1.3;
}

.resource-block p {
  margin: 0 0 12px;
  color: var(--color-text-body);
  line-height: 1.75;
}

.resource-block ul {
  margin: 0;
  padding-left: 18px;
  color: var(--color-text-body);
  display: grid;
  gap: 8px;
  line-height: 1.72;
}

.resource-faq-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.resource-faq-list li {
  border: 1px solid var(--color-border-soft);
  border-radius: 12px;
  background: rgba(15, 23, 42, 0.4);
  padding: 12px 14px;
}

.resource-faq-list p {
  margin: 8px 0 0;
  color: var(--color-text-body);
  line-height: 1.7;
}

.resource-faq-question {
  display: inline-block;
  color: var(--color-text-main);
  font-weight: 600;
}

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

  .home-insights-grid {
    grid-template-columns: 1fr;
  }

  .engage-flow-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .hero-proof-row,
  .hero-start-links {
    display: none;
  }

  .hero-mobile-note {
    display: block;
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .bg-glow,
  .particle,
  .cursor-glow {
    display: none !important;
  }

  .nav {
    transition: none !important;
  }
}

/* ===== Global Editorial Premium Theme ===== */
.editorial-premium {
  --brand-bg-950: #f3ebdf;
  --brand-bg-900: #ece1d2;
  --brand-surface-800: rgba(248, 241, 233, 0.88);
  --brand-surface-700: rgba(244, 234, 223, 0.92);
  --brand-card: rgba(255, 251, 245, 0.9);
  --brand-text-strong: #201910;
  --brand-text-body: #3e3228;
  --brand-text-muted: #6f6054;
  --brand-primary: #8a4f2a;
  --brand-accent: #2f6870;
  --brand-link: #7d4525;
  --brand-success: #2f7f50;
  --gradient-main: linear-gradient(
    128deg,
    #7d4323 0%,
    #b36c3d 60%,
    #cb8954 100%
  );
  --gradient-main-soft: linear-gradient(
    135deg,
    rgba(138, 79, 42, 0.09) 0%,
    rgba(47, 104, 112, 0.08) 100%
  );
  --font-heading: "Fraunces", serif;
  --font-body: "Manrope", sans-serif;
  --font-mono: "IBM Plex Mono", monospace;
  --radius-lg: 26px;
  --radius-md: 18px;
  --radius-sm: 999px;
  --shadow-card: 0 20px 54px rgba(62, 42, 27, 0.08);
  --shadow-glow: 0 14px 36px rgba(138, 79, 42, 0.24);
  --color-border-soft: rgba(112, 91, 72, 0.2);
  --color-border-strong: rgba(112, 91, 72, 0.34);
  /* Explicit semantic tokens so no default dark-theme values leak through */
  --color-bg: #f3ebdf;
  --color-bg-elevated: rgba(248, 241, 233, 0.88);
  --color-bg-overlay: rgba(244, 234, 223, 0.92);
  --color-bg-card: rgba(255, 251, 245, 0.9);
  --color-text-main: #201910;
  --color-text-body: #3e3228;
  --color-text-muted: #6f6054;
  --color-link: #7d4525;
  --color-primary: #8a4f2a;
  --color-primary-glow: rgba(138, 79, 42, 0.24);
  background:
    radial-gradient(
      circle at 16% 8%,
      rgba(216, 180, 145, 0.24),
      transparent 34%
    ),
    radial-gradient(
      circle at 84% 3%,
      rgba(117, 170, 176, 0.18),
      transparent 30%
    ),
    linear-gradient(180deg, #f5eee4 0%, #ede2d2 100%);
}

.editorial-premium .bg-noise {
  opacity: 0.2;
  mix-blend-mode: multiply;
}

.editorial-premium .bg-glow {
  opacity: 0.15;
  filter: blur(110px);
}

.editorial-premium .bg-glow-1 {
  background: #d5a272;
}

.editorial-premium .bg-glow-2 {
  background: #79a9ae;
}

.editorial-premium .particles {
  display: none;
}

.editorial-premium .tech-grid {
  opacity: 0.26;
  background-image:
    linear-gradient(rgba(80, 63, 50, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(80, 63, 50, 0.08) 1px, transparent 1px);
  background-size: 56px 56px;
}

.editorial-premium .container {
  max-width: 1240px;
}

.editorial-premium .glass {
  background: rgba(247, 239, 230, 0.78);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(91, 69, 53, 0.16);
}

.editorial-premium .nav {
  height: 76px;
}

.editorial-premium .logo {
  color: var(--color-text-main);
  background: none;
  -webkit-text-fill-color: currentColor;
  letter-spacing: -0.03em;
}

.editorial-premium .nav-links {
  gap: 24px;
}

.editorial-premium .nav-link {
  color: #5f5248;
  font-size: 0.83rem;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  font-weight: 700;
}

.editorial-premium .nav-link:hover,
.editorial-premium .nav-link.active {
  color: var(--color-text-main);
}

.editorial-premium .btn {
  border-radius: 999px;
  border-width: 1px;
  font-family: var(--font-body);
  font-weight: 700;
  letter-spacing: 0.01em;
}

.editorial-premium .btn-primary {
  color: #fff7ee;
  border-color: rgba(107, 60, 32, 0.78);
  background: var(--gradient-main);
  box-shadow: var(--shadow-glow);
}

.editorial-premium .btn-primary:hover {
  box-shadow: 0 18px 40px rgba(136, 76, 42, 0.3);
}

.editorial-premium .btn-outline {
  color: var(--color-text-main);
  border-color: rgba(118, 95, 76, 0.4);
  background: rgba(255, 251, 245, 0.72);
}

.editorial-premium .btn-outline:hover {
  border-color: rgba(118, 95, 76, 0.65);
  background: rgba(255, 251, 245, 0.92);
}

.editorial-premium .section {
  padding: 96px 0;
}

.editorial-premium .section-darker {
  background: linear-gradient(
    180deg,
    rgba(255, 248, 240, 0.58) 0%,
    rgba(246, 236, 223, 0.72) 100%
  );
  border-top: 1px solid rgba(111, 90, 72, 0.14);
  border-bottom: 1px solid rgba(111, 90, 72, 0.14);
}

.editorial-premium .section-label {
  border-radius: 999px;
  border: 1px solid rgba(117, 94, 76, 0.2);
  background: rgba(255, 251, 245, 0.82);
  color: #705e4f;
}

.editorial-premium .section-title,
.editorial-premium .hero-title,
.editorial-premium .article-title,
.editorial-premium .careers-title,
.editorial-premium .error-title,
.editorial-premium .tool-title,
.editorial-premium .tool-catalog-card h3,
.editorial-premium .blog-title,
.editorial-premium .blog-v2 .featured-title,
.editorial-premium .resource-card h3,
.editorial-premium .resource-block h2,
.editorial-premium .legal-content h1,
.editorial-premium .legal-content h2,
.editorial-premium .job-info h3 {
  color: var(--color-text-main);
}

.editorial-premium .hero-title .gradient-text,
.editorial-premium .gradient-text {
  background: linear-gradient(120deg, #7d4324 0%, #b56f3f 60%, #cb8953 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

.editorial-premium .section-subtitle,
.editorial-premium .hero-subtitle,
.editorial-premium .hero-audience,
.editorial-premium .blog-excerpt,
.editorial-premium .article-body,
.editorial-premium .article-body li,
.editorial-premium .article-lead,
.editorial-premium .tool-subtitle,
.editorial-premium .tool-catalog-card p,
.editorial-premium .resource-card p,
.editorial-premium .resource-block p,
.editorial-premium .resource-block ul,
.editorial-premium .legal-content p,
.editorial-premium .legal-content li,
.editorial-premium .error-message {
  color: #5f5248;
}

/* Legal pages: fix headings and links on light glass-card background */
.editorial-premium .legal-content h1 {
  background: linear-gradient(135deg, #3a2a1c 0%, #7d4324 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.editorial-premium .legal-content h2 {
  color: #3a2a1c;
}

.editorial-premium .legal-content h3 {
  color: #4a3828;
}

.editorial-premium .legal-content a {
  color: #7d4324;
}

.editorial-premium .legal-content a:hover {
  color: #b56f3f;
}

.editorial-premium .hero-proof-item strong,
.editorial-premium .careers-empty-title,
.editorial-premium .tool-output-block strong,
.editorial-premium .blog-v2 .hero-stat strong {
  color: var(--color-text-main);
}

.editorial-premium .source-note {
  color: #6a5a4c;
}

.editorial-premium .hero-title {
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.editorial-premium .process-label {
  color: #7a6655;
}

.editorial-premium .step-content h3 {
  color: #231b16;
}

.editorial-premium .step-content p {
  color: #6a594b;
}

.editorial-premium .page-header,
.editorial-premium .article-header,
.editorial-premium .tool-hero,
.editorial-premium .careers-header {
  background: radial-gradient(
    circle at 50% 0%,
    rgba(138, 79, 42, 0.16),
    transparent 62%
  );
}

.editorial-premium .glass-card,
.editorial-premium .portfolio-item,
.editorial-premium .tool-card,
.editorial-premium .tool-catalog-card,
.editorial-premium .tool-output-block,
.editorial-premium .tool-ops-card,
.editorial-premium .blog-card,
.editorial-premium .blog-v2 .featured-post,
.editorial-premium .blog-v2 .data-banner,
.editorial-premium .blog-v2 .blog-toolbar,
.editorial-premium .blog-v2 .rail-card,
.editorial-premium .resource-card,
.editorial-premium .resource-block,
.editorial-premium .partner-fit-card,
.editorial-premium .job-card,
.editorial-premium .culture-item,
.editorial-premium .careers-empty-card,
.editorial-premium .article-cta,
.editorial-premium .article-resources-cta,
.editorial-premium .article-tools-cta,
.editorial-premium .highlight-box {
  border: 1px solid rgba(111, 90, 72, 0.2);
  background: linear-gradient(
    180deg,
    rgba(255, 253, 248, 0.94) 0%,
    rgba(250, 243, 233, 0.9) 100%
  );
  box-shadow: var(--shadow-card);
  backdrop-filter: none;
}

.editorial-premium .service-card:hover,
.editorial-premium .blog-card:hover,
.editorial-premium .tool-catalog-card:hover,
.editorial-premium .job-card:hover {
  border-color: rgba(128, 72, 38, 0.42);
  box-shadow: 0 18px 38px rgba(95, 61, 36, 0.13);
}

.editorial-premium .service-icon-img {
  /* Re-tone legacy blue neon icon art into the editorial warm palette */
  filter: sepia(0.95) hue-rotate(-22deg) saturate(0.72) brightness(0.9)
    contrast(1.06) drop-shadow(0 8px 18px rgba(105, 64, 38, 0.2));
}

.editorial-premium .portfolio-item:hover .glow-image {
  border-color: rgba(128, 72, 38, 0.38);
}

.editorial-premium .tool-field input,
.editorial-premium .tool-field select,
.editorial-premium .form-input,
.editorial-premium .blog-v2 .toolbar-search input,
.editorial-premium .blog-v2 .toolbar-sort select {
  color: #30251d;
  border-color: rgba(111, 90, 72, 0.28);
  background: rgba(255, 251, 245, 0.82);
}

.editorial-premium .tool-field input::placeholder,
.editorial-premium .form-input::placeholder,
.editorial-premium .blog-v2 .toolbar-search input::placeholder {
  color: #928475;
}

.editorial-premium .tool-field span,
.editorial-premium .blog-v2 .toolbar-sort label,
.editorial-premium .hero-mobile-note {
  color: #6b5b4e;
}

.editorial-premium .tool-field input:focus,
.editorial-premium .tool-field select:focus,
.editorial-premium .form-input:focus,
.editorial-premium .blog-v2 .toolbar-search input:focus,
.editorial-premium .blog-v2 .toolbar-sort select:focus {
  border-color: rgba(140, 79, 43, 0.62);
  box-shadow: 0 0 0 4px rgba(140, 79, 43, 0.12);
}

.editorial-premium .blog-meta,
.editorial-premium .article-meta,
.editorial-premium .article-meta-secondary,
.editorial-premium .resource-meta,
.editorial-premium .resource-badge,
.editorial-premium .tool-metric-label,
.editorial-premium .job-meta,
.editorial-premium .footer-bottom,
.editorial-premium .footer-desc,
.editorial-premium .footer-col a,
.editorial-premium .footer-legal a,
.editorial-premium .source-meta {
  color: #6a5a4c;
}

.editorial-premium .meta-topic {
  background: #8c4f2b;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 4px 12px rgba(140, 79, 43, 0.2);
  font-weight: 700;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.editorial-premium .blog-readtime,
.editorial-premium .resource-type,
.editorial-premium .tag,
.editorial-premium .partner-chip,
.editorial-premium .job-tag,
.editorial-premium .blog-v2 .topic-chip,
.editorial-premium .hero-proof-item,
.editorial-premium .tools-quick-stat,
.editorial-premium .tool-metric,
.editorial-premium .blog-v2 .hero-stat {
  border: 1px solid rgba(120, 89, 63, 0.24);
  background: rgba(140, 79, 43, 0.08);
  color: #5f4d3e;
}

.editorial-premium .blog-v2 .topic-chip.active,
.editorial-premium .blog-v2 .topic-chip:hover {
  border-color: rgba(132, 74, 40, 0.5);
  color: #7f4522;
}

.editorial-premium .blog-image,
.editorial-premium .home-insight-image {
  filter: sepia(0.34) hue-rotate(-14deg) saturate(0.86) brightness(0.94)
    contrast(1.02);
}

.editorial-premium .home-insight-media-link {
  background: rgba(239, 228, 214, 0.96);
}

.editorial-premium .home-insight-image {
  border-bottom: 1px solid rgba(111, 90, 72, 0.2);
}

.editorial-premium .blog-image-fallback {
  background:
    radial-gradient(
      circle at 15% 20%,
      rgba(138, 79, 42, 0.28),
      transparent 55%
    ),
    radial-gradient(
      circle at 85% 10%,
      rgba(47, 104, 112, 0.2),
      transparent 50%
    ),
    linear-gradient(145deg, rgba(239, 228, 214, 1), rgba(229, 215, 198, 1));
}

.editorial-premium .blog-fallback-tag {
  border: 1px solid rgba(111, 90, 72, 0.28);
  color: #6d5a4c;
  background: rgba(255, 249, 242, 0.74);
}

.editorial-premium .blog-fallback-icon,
.editorial-premium .blog-fallback-label {
  color: #6d5849;
}

.editorial-premium .blog-v2 .page-link {
  border: 1px solid rgba(120, 89, 63, 0.26);
  background: rgba(255, 251, 245, 0.78);
  color: #66584d;
}

.editorial-premium .blog-v2 .page-link:hover,
.editorial-premium .blog-v2 .page-link.active {
  color: #7f4522;
  border-color: rgba(132, 74, 40, 0.54);
  background: rgba(140, 79, 43, 0.12);
}

.editorial-premium .link-with-arrow,
.editorial-premium .read-more,
.editorial-premium .article-body a,
.editorial-premium .article-sources a {
  color: #814724;
  transition: color 0.2s ease;
}

.editorial-premium .link-with-arrow:hover,
.editorial-premium .read-more:hover,
.editorial-premium .article-body a:hover,
.editorial-premium .article-sources a:hover {
  color: #7d4524;
}

/* ===== Premium Blog Refresh ===== */
.editorial-premium.blog-v2 .blog-hero-v2 {
  position: relative;
  padding-top: calc(var(--header-height) + 36px);
  padding-bottom: 60px;
}

.editorial-premium.blog-v2 .blog-hero-v2::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 8% 10%, rgba(167, 106, 63, 0.18), transparent 42%),
    radial-gradient(circle at 92% 16%, rgba(50, 78, 106, 0.16), transparent 38%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.3), transparent 72%);
}

.editorial-premium.blog-v2 .blog-hero-v2 .container {
  position: relative;
  z-index: 1;
}

.editorial-premium.blog-v2 .page-header + .section.pt-0 {
  padding-top: 14px !important;
}

.editorial-premium.blog-v2 .hero-title {
  max-width: 18ch;
  line-height: 1.01;
}

.editorial-premium.blog-v2 .blog-subtitle {
  max-width: 64ch;
  font-size: 1.02rem;
}

.editorial-premium.blog-v2 .blog-hero-stats {
  gap: 16px;
}

.editorial-premium.blog-v2 .hero-stat {
  border-radius: 16px;
  padding: 18px 20px;
}

.editorial-premium.blog-v2 .hero-stat strong {
  font-size: 1.25rem;
  font-family: "Fraunces", serif;
}

.editorial-premium.blog-v2 .featured-post {
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(122, 87, 60, 0.22);
}

.editorial-premium.blog-v2 .featured-post .blog-image,
.editorial-premium.blog-v2 .featured-post .featured-media {
  object-fit: contain;
  object-position: center center;
  min-height: 320px;
  background: linear-gradient(
    145deg,
    rgba(36, 27, 21, 0.82),
    rgba(58, 40, 29, 0.68)
  );
}

.editorial-premium.blog-v2 .featured-content {
  padding: 32px;
}

.editorial-premium.blog-v2 .featured-title {
  font-size: clamp(1.85rem, 2.35vw, 2.45rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
}

.editorial-premium.blog-v2 .featured-excerpt {
  font-size: 1.02rem;
  line-height: 1.68;
}

.editorial-premium.blog-v2 .blog-toolbar {
  border-radius: 16px;
  padding: 15px;
}

.editorial-premium.blog-v2 .toolbar-search,
.editorial-premium.blog-v2 .toolbar-sort select {
  border-radius: 12px;
}

.editorial-premium.blog-v2 .blog-grid {
  gap: 24px;
}

.editorial-premium.blog-v2 .blog-card {
  border-radius: 18px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition:
    transform 0.26s ease,
    box-shadow 0.26s ease,
    border-color 0.26s ease;
}

.editorial-premium.blog-v2 .blog-card:hover {
  transform: translateY(-5px);
}

.editorial-premium.blog-v2 .blog-image {
  aspect-ratio: 16 / 9;
  height: auto;
  min-height: 0;
  border-bottom: 1px solid rgba(122, 87, 60, 0.18);
}

.editorial-premium.blog-v2 .blog-content {
  padding: 18px 20px 20px;
  display: grid;
  gap: 12px;
  height: 100%;
}

.editorial-premium.blog-v2 .blog-title {
  margin: 0;
  font-size: 1.06rem;
  line-height: 1.3;
  letter-spacing: -0.01em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.editorial-premium.blog-v2 .blog-excerpt {
  margin: 0;
  line-height: 1.62;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.editorial-premium.blog-v2 .blog-card-footer {
  margin-top: auto;
  padding-top: 2px;
}

.editorial-premium.blog-v2 .read-more i {
  transition: transform 0.22s ease;
}

.editorial-premium.blog-v2 .blog-card:hover .read-more i {
  transform: translateX(3px);
}

.editorial-premium.blog-v2 .blog-rail {
  gap: 18px;
  margin-top: 30px;
}

.editorial-premium.blog-v2 .rail-card {
  border-radius: 16px;
  padding: 22px;
}

@media (max-width: 980px) {
  .editorial-premium.blog-v2 .blog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .editorial-premium.blog-v2 .blog-hero-v2 {
    padding-top: calc(var(--header-height) + 26px);
  }

  .editorial-premium.blog-v2 .featured-content {
    padding: 22px;
  }

  .editorial-premium.blog-v2 .featured-post .blog-image,
  .editorial-premium.blog-v2 .featured-post .featured-media {
    min-height: 250px;
  }
}

@media (max-width: 768px) {
  .editorial-premium.blog-v2 .blog-grid {
    grid-template-columns: 1fr;
  }
}

.editorial-premium .link-with-arrow:hover {
  gap: 8px;
}

.editorial-premium .back-link:hover {
  color: #7d4524;
}

.editorial-premium .contact-intro {
  color: #7d4524;
}

.editorial-premium .article-cover,
.editorial-premium .article-hero-image,
.editorial-premium .glow-image {
  border-color: rgba(111, 90, 72, 0.24);
}

.editorial-premium .glow-image {
  /* Warm retone for portfolio/business screenshots without editing source assets */
  filter: sepia(0.42) hue-rotate(-16deg) saturate(0.8) brightness(0.92)
    contrast(1.04);
}

.editorial-premium .asnjunagal {
  background: linear-gradient(90deg, #7d4524 0%, #b36c3f 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

.editorial-premium .thirdretail {
  background: linear-gradient(90deg, #6f4a33 0%, #9f6d49 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

.editorial-premium .article-cover {
  background: linear-gradient(
    140deg,
    rgba(138, 79, 42, 0.14),
    rgba(47, 104, 112, 0.08)
  );
}

.editorial-premium .article-cover img {
  background: #f4eadb;
  border-color: rgba(111, 90, 72, 0.24);
  filter: sepia(0.42) hue-rotate(-16deg) saturate(0.8) brightness(0.92)
    contrast(1.04);
}

.editorial-premium .article-hero-image {
  filter: sepia(0.42) hue-rotate(-16deg) saturate(0.8) brightness(0.92)
    contrast(1.04);
}

.editorial-premium .process-line {
  background: linear-gradient(
    180deg,
    transparent 0%,
    rgba(129, 74, 40, 0.72) 50%,
    transparent 100%
  );
}

.editorial-premium .step-marker {
  border-color: rgba(129, 74, 40, 0.68);
  background: rgba(255, 250, 244, 0.96);
  box-shadow: 0 0 0 6px rgba(140, 79, 43, 0.1);
  color: #704122;
}

.editorial-premium .mobile-menu {
  background: rgba(248, 241, 231, 0.98);
  border-top: 1px solid rgba(111, 90, 72, 0.2);
}

.editorial-premium .mobile-link,
.editorial-premium .mobile-menu-btn {
  color: #5d4f43;
}

.editorial-premium .mobile-link:hover {
  color: #7f4522;
}

.editorial-premium .engage-step {
  border: 1px solid rgba(120, 89, 63, 0.28);
  color: #6b5649;
  background: rgba(255, 251, 245, 0.8);
}

.editorial-premium .footer {
  border-top: 1px solid rgba(111, 90, 72, 0.2);
  background: rgba(243, 233, 220, 0.58);
}

.editorial-premium .footer-col a:hover,
.editorial-premium .footer-legal a:hover {
  color: #7d4524;
}

.editorial-premium .error-code {
  background: linear-gradient(128deg, #7d4324 0%, #b56f3f 60%, #cb8953 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

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

@media (max-width: 768px) {
  .editorial-premium .hero {
    text-align: center;
  }

  .editorial-premium .hero-cta,
  .editorial-premium .tools-hero-actions {
    justify-content: center;
  }

  .editorial-premium .section {
    padding: 76px 0;
  }

  .editorial-premium .section-header {
    margin-bottom: 50px;
  }

  .editorial-premium .footer-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .editorial-premium .footer-bottom {
    flex-direction: column;
    gap: 10px;
  }

  .editorial-premium .btn-sm,
  .editorial-premium .btn-lg {
    width: 100%;
    justify-content: center;
  }
}

/* ===== Homepage Editorial Refresh ===== */
.home-editorial {
  --brand-bg-950: #f4ece1;
  --brand-bg-900: #efe5d8;
  --brand-surface-800: rgba(248, 241, 233, 0.86);
  --brand-surface-700: rgba(245, 236, 225, 0.92);
  --brand-card: rgba(255, 252, 247, 0.9);
  --brand-text-strong: #1f1a15;
  --brand-text-body: #3f342c;
  --brand-text-muted: #6e6055;
  --brand-primary: #8c4f2b;
  --brand-accent: #2f6670;
  --brand-link: #7c4526;
  --brand-success: #2f7b4d;
  --gradient-main: linear-gradient(
    128deg,
    #7f4424 0%,
    #ae6a3e 58%,
    #c98754 100%
  );
  --gradient-main-soft: linear-gradient(
    135deg,
    rgba(140, 79, 43, 0.08) 0%,
    rgba(47, 102, 112, 0.08) 100%
  );
  --font-heading: "Fraunces", serif;
  --font-body: "Manrope", sans-serif;
  --font-mono: "IBM Plex Mono", monospace;
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 999px;
  --shadow-card: 0 22px 58px rgba(63, 43, 29, 0.08);
  --shadow-glow: 0 14px 36px rgba(140, 79, 43, 0.24);
  --color-border-soft: rgba(111, 90, 72, 0.2);
  --color-border-strong: rgba(111, 90, 72, 0.34);
  --color-bg: #f4ece1;
  --color-bg-elevated: rgba(248, 241, 233, 0.86);
  --color-bg-overlay: rgba(245, 236, 225, 0.92);
  --color-bg-card: rgba(255, 252, 247, 0.9);
  --color-text-main: #1f1a15;
  --color-text-body: #3f342c;
  --color-text-muted: #6e6055;
  --color-link: #7c4526;
  --color-primary: #8c4f2b;
  --color-primary-glow: rgba(140, 79, 43, 0.24);
  background:
    radial-gradient(
      circle at 16% 8%,
      rgba(216, 180, 145, 0.24),
      transparent 34%
    ),
    radial-gradient(
      circle at 88% 2%,
      rgba(123, 173, 180, 0.18),
      transparent 28%
    ),
    linear-gradient(180deg, #f5eee4 0%, #eee4d5 100%);
}

.home-editorial .bg-noise {
  opacity: 0.2;
  mix-blend-mode: multiply;
}

.home-editorial .bg-glow {
  opacity: 0.14;
  filter: blur(120px);
}

.home-editorial .bg-glow-1 {
  background: #d8a06d;
  top: -22%;
  left: -12%;
  width: 520px;
  height: 520px;
}

.home-editorial .bg-glow-2 {
  background: #7aa8ae;
  bottom: -24%;
  right: -14%;
  width: 560px;
  height: 560px;
}

.home-editorial .tech-grid {
  opacity: 0.25;
  background-image:
    linear-gradient(rgba(80, 63, 50, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(80, 63, 50, 0.08) 1px, transparent 1px);
  background-size: 56px 56px;
}

.home-editorial .particles {
  display: none;
}

.home-editorial .container {
  max-width: 1240px;
}

.home-editorial .nav {
  height: 76px;
  border-bottom: 1px solid rgba(91, 69, 53, 0.16);
  background: rgba(247, 239, 230, 0.76);
  backdrop-filter: blur(14px);
}

.home-editorial .logo {
  font-size: 1.95rem;
  letter-spacing: -0.03em;
  color: #2a1f17;
  background: none;
  -webkit-text-fill-color: currentColor;
}

.home-editorial .nav-links {
  gap: 24px;
}

.home-editorial .nav-link {
  color: #5e5248;
  font-size: 0.83rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.09em;
}

.home-editorial .nav-link:hover {
  color: var(--color-text-main);
}

.home-editorial .nav-link.active {
  color: #2a1f17;
}

.home-editorial .btn {
  border-radius: 999px;
  border-width: 1px;
  font-family: var(--font-body);
  font-weight: 700;
  letter-spacing: 0.01em;
  padding: 12px 24px;
}

.home-editorial .btn-primary {
  color: #fff7ee;
  border-color: rgba(107, 60, 32, 0.78);
  background: var(--gradient-main);
  box-shadow: var(--shadow-glow);
}

.home-editorial .btn-primary:hover {
  box-shadow: 0 18px 40px rgba(136, 76, 42, 0.3);
}

.home-editorial .btn-outline {
  color: var(--color-text-main);
  border-color: rgba(118, 95, 76, 0.4);
  background: rgba(255, 251, 245, 0.72);
}

.home-editorial .btn-outline:hover {
  border-color: rgba(118, 95, 76, 0.65);
  background: rgba(255, 251, 245, 0.92);
}

.home-editorial .hero {
  min-height: auto;
  text-align: left;
  padding: 158px 0 86px;
}

.home-editorial .hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.82fr);
  gap: 34px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.home-editorial .badge-pill {
  margin-bottom: 20px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(104, 81, 63, 0.24);
  background: rgba(255, 253, 249, 0.8);
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: #655448;
}

.home-editorial .hero-title {
  max-width: 12.5ch;
  margin-bottom: 20px;
  font-size: clamp(2.8rem, 6vw, 5rem);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -0.025em;
  color: #231b16 !important;
}

.home-editorial .gradient-text {
  background: linear-gradient(120deg, #7d4324 0%, #b56f3f 60%, #cb8953 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

.home-editorial .hero-subtitle {
  margin: 0 0 20px;
  max-width: 60ch;
  font-size: 1.14rem;
  line-height: 1.72;
  color: #5e5147;
}

.home-editorial .hero-audience {
  margin: 0 0 30px;
  max-width: 56ch;
  font-size: 0.95rem;
  color: #726356;
}

.home-editorial .hero-cta {
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 12px;
}

.home-editorial .hero-proof-row {
  margin-top: 26px;
  max-width: 100%;
}

.home-editorial .hero-proof-item {
  border-radius: 14px;
  border: 1px solid rgba(111, 90, 72, 0.26);
  background: rgba(255, 253, 248, 0.76);
  box-shadow: 0 14px 30px rgba(62, 44, 29, 0.08);
}

.home-editorial .hero-proof-item strong {
  color: #30251d;
}

.home-editorial .hero-proof-item span {
  color: #6b5c50;
}

.home-editorial .hero-start-links {
  justify-content: flex-start;
}

.home-editorial .hero-start-link {
  color: #6a574a;
  border: 1px solid rgba(120, 89, 63, 0.28);
  border-radius: 999px;
  background: rgba(255, 251, 245, 0.78);
  padding: 9px 16px;
}

.home-editorial .hero-start-link:hover {
  color: #7d4524;
  border-color: rgba(132, 74, 40, 0.54);
  background: rgba(140, 79, 43, 0.12);
  transform: none;
}

.home-editorial .hero-brief {
  padding: 30px;
  border-radius: 24px;
  border: 1px solid rgba(111, 90, 72, 0.25);
  background: linear-gradient(160deg, #fffefb 0%, #f8f0e4 100%);
  box-shadow: var(--shadow-card);
}

.home-editorial .hero-brief-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 16px;
}

.home-editorial .hero-brief-kicker {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #6e5f52;
}

.home-editorial .hero-brief-chip {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 0.73rem;
  color: #705039;
  border: 1px solid rgba(134, 88, 53, 0.22);
  background: rgba(255, 245, 232, 0.9);
}

.home-editorial .hero-brief h2 {
  margin: 0 0 10px;
  color: #231b16;
  font-family: var(--font-heading);
  font-size: clamp(1.4rem, 2.8vw, 2rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.home-editorial .hero-brief p {
  margin: 0 0 16px;
  color: #5e5046;
  line-height: 1.65;
}

.home-editorial .hero-brief-list {
  list-style: none;
  margin: 0 0 18px;
  padding: 0;
}

.home-editorial .hero-brief-list li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 0;
  border-bottom: 1px solid rgba(112, 92, 74, 0.16);
}

.home-editorial .hero-brief-list li:last-child {
  border-bottom: 0;
}

.home-editorial .hero-brief-list span {
  color: #5e5247;
  font-size: 0.92rem;
}

.home-editorial .hero-brief-list strong {
  color: #7a4323;
  font-size: 1rem;
  font-family: var(--font-mono);
}

.home-editorial .section {
  padding: 98px 0;
}

.home-editorial .section-darker {
  background: linear-gradient(
    180deg,
    rgba(255, 248, 240, 0.58) 0%,
    rgba(246, 236, 223, 0.72) 100%
  );
  border-top: 1px solid rgba(111, 90, 72, 0.14);
  border-bottom: 1px solid rgba(111, 90, 72, 0.14);
}

.home-editorial .section-label {
  border-radius: 999px;
  border: 1px solid rgba(117, 94, 76, 0.2);
  background: rgba(255, 251, 245, 0.82);
  color: #705e4f;
}

.home-editorial .section-title {
  color: #231b16 !important;
  letter-spacing: -0.03em;
  font-weight: 600;
}

.home-editorial .section-subtitle {
  color: #66584d;
}

.home-editorial .glass-card,
.home-editorial .portfolio-item,
.home-editorial .partner-fit-card {
  border: 1px solid rgba(111, 90, 72, 0.2);
  background: linear-gradient(
    180deg,
    rgba(255, 253, 248, 0.92) 0%,
    rgba(250, 243, 233, 0.9) 100%
  );
  backdrop-filter: none;
  box-shadow: var(--shadow-card);
}

.home-editorial .service-card:hover {
  border-color: rgba(128, 72, 38, 0.44);
  box-shadow: 0 18px 38px rgba(95, 61, 36, 0.13);
}

.home-editorial .service-icon-img {
  /* Keep home cards aligned to the same warm visual language */
  filter: sepia(0.95) hue-rotate(-22deg) saturate(0.72) brightness(0.9)
    contrast(1.06) drop-shadow(0 8px 18px rgba(105, 64, 38, 0.2));
}

.home-editorial .service-card h3,
.home-editorial .portfolio-item h3,
.home-editorial .home-insight-card h3,
.home-editorial .engage-flow-card h3,
.home-editorial .footer-col h4 {
  color: #231b16;
}

.home-editorial .service-card p,
.home-editorial .portfolio-item p,
.home-editorial .home-insight-card p,
.home-editorial .engage-flow-card p {
  color: #5e5147;
}

.home-editorial .home-insight-media-link {
  background: rgba(239, 228, 214, 0.96);
}

.home-editorial .home-insight-image {
  border-bottom: 1px solid rgba(111, 90, 72, 0.2);
  filter: sepia(0.34) hue-rotate(-14deg) saturate(0.86) brightness(0.94)
    contrast(1.02);
}

.home-editorial .engage-step {
  border: 1px solid rgba(120, 89, 63, 0.28);
  color: #6b5649;
  background: rgba(255, 251, 245, 0.8);
}

.home-editorial .service-mandate {
  color: #7c4727;
  border-left-color: #7c4727;
  border-radius: 999px;
  background: rgba(140, 79, 43, 0.1);
}

.home-editorial .feature-list li {
  color: #4e4036;
}

.home-editorial .feature-list li i {
  color: #8a4e2b;
}

.home-editorial .ownership-badge {
  border: 1px solid rgba(111, 90, 72, 0.24);
  background: rgba(255, 250, 243, 0.78);
  color: #5d4d41;
}

.home-editorial .portfolio-note,
.home-editorial .capabilities-note,
.home-editorial .philosophy-note,
.home-editorial .philosophy-closing,
.home-editorial .contact-footnote,
.home-editorial .form-note {
  color: #6b5d52;
}

.home-editorial .tag,
.home-editorial .partner-chip {
  border: 1px solid rgba(120, 89, 63, 0.24);
  background: rgba(140, 79, 43, 0.08);
  color: #5f4d3e;
}

.home-editorial .link-with-arrow {
  color: #814724;
  transition: color 0.2s ease;
}

.home-editorial .link-with-arrow:hover {
  color: #7d4524;
  gap: 8px;
}

.home-editorial .glow-image {
  border: 1px solid rgba(111, 90, 72, 0.24);
  filter: sepia(0.42) hue-rotate(-16deg) saturate(0.8) brightness(0.92)
    contrast(1.04);
}

.home-editorial .asnjunagal {
  background: linear-gradient(90deg, #7d4524 0%, #b36c3f 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

.home-editorial .thirdretail {
  background: linear-gradient(90deg, #6f4a33 0%, #9f6d49 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

.home-editorial .process-line {
  background: linear-gradient(
    180deg,
    transparent 0%,
    rgba(129, 74, 40, 0.72) 50%,
    transparent 100%
  );
}

.home-editorial .process-label {
  color: #7a6655;
}

.home-editorial .step-content,
.home-editorial .step-content * {
  opacity: 1 !important;
}

.home-editorial .step-content h3 {
  color: #231b16;
}

.home-editorial .step-content p {
  color: #6a594b;
}

.home-editorial .step-marker {
  border-color: rgba(129, 74, 40, 0.68);
  background: rgba(255, 250, 244, 0.96);
  box-shadow: 0 0 0 6px rgba(140, 79, 43, 0.1);
  color: #704122;
}

.home-editorial .contact-grid {
  align-items: start;
}

.home-editorial .method-item {
  color: #66584d;
}

.home-editorial .method-item i {
  color: #7d4524;
}

.home-editorial .contact-form {
  background: linear-gradient(
    180deg,
    rgba(255, 253, 248, 0.94) 0%,
    rgba(248, 238, 227, 0.92) 100%
  );
  border-color: rgba(111, 90, 72, 0.24);
}

.home-editorial .form-group label {
  color: #66584d;
}

.home-editorial .contact-intro {
  color: #7d4524;
}

.home-editorial .form-input {
  color: #30251d;
  border-color: rgba(111, 90, 72, 0.28);
  background: rgba(255, 251, 245, 0.8);
}

.home-editorial .form-input::placeholder {
  color: #928475;
}

.home-editorial .form-input:focus {
  border-color: rgba(140, 79, 43, 0.62);
  box-shadow: 0 0 0 4px rgba(140, 79, 43, 0.12);
}

.home-editorial .footer {
  border-top: 1px solid rgba(111, 90, 72, 0.2);
  background: rgba(243, 233, 220, 0.6);
}

.home-editorial .footer-desc,
.home-editorial .footer-bottom,
.home-editorial .footer-col a,
.home-editorial .footer-legal a {
  color: #645549;
}

.home-editorial .footer-col a:hover,
.home-editorial .footer-legal a:hover {
  color: #7d4524;
}

.home-editorial .mobile-menu {
  background: rgba(248, 241, 231, 0.98);
  border-top: 1px solid rgba(111, 90, 72, 0.2);
}

.home-editorial .mobile-link {
  color: #5d4f43;
}

.home-editorial .mobile-link:hover {
  color: #7f4522;
}

@media (max-width: 1100px) {
  .home-editorial .hero-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .home-editorial .hero-title {
    max-width: 100%;
  }

  .home-editorial .hero-proof-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .home-editorial .services-grid {
    grid-template-columns: 1fr 1fr;
  }

  .home-editorial .portfolio-item {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .home-editorial .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .home-editorial .hero {
    padding: 132px 0 70px;
    text-align: center;
  }

  .home-editorial .hero-subtitle,
  .home-editorial .hero-audience {
    margin-left: auto;
    margin-right: auto;
  }

  .home-editorial .hero-cta {
    justify-content: center;
  }

  .home-editorial .hero-brief {
    text-align: left;
    padding: 24px;
  }

  .home-editorial .services-grid {
    grid-template-columns: 1fr;
  }

  .home-editorial .section {
    padding: 78px 0;
  }

  .home-editorial .section-header {
    margin-bottom: 52px;
  }

  .home-editorial .footer-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .home-editorial .footer-bottom {
    flex-direction: column;
    gap: 10px;
  }

  .home-editorial .btn-lg {
    width: 100%;
    justify-content: center;
  }
}

/* ===== Motion Disabled Sitewide (Performance) ===== */
html {
  scroll-behavior: auto;
}

*,
*::before,
*::after {
  animation: none !important;
  transition: none !important;
}

.bg-glow,
.particle,
.cursor-glow {
  display: none !important;
}

/* Keep content visible after globally disabling animations */
.fade-in-up,
.reveal,
.reveal-stagger > * {
  opacity: 1 !important;
  transform: none !important;
}
