/* ============================================================
   INN DIGI TECHS — Design System
   Smart People. Digital Solutions.
   ============================================================ */

:root {
  /* Color System — monochrome, light */
  --bg: #ffffff;
  --bg-alt: #f5f5f6;
  --bg-elevated: #ffffff;
  --bg-ink: #0a0a0b;
  --bg-ink-alt: #161618;
  --surface: rgba(10, 10, 11, 0.028);
  --surface-strong: rgba(10, 10, 11, 0.055);
  --border: rgba(10, 10, 11, 0.10);
  --border-strong: rgba(10, 10, 11, 0.22);

  --text-primary: #0a0a0b;
  --text-secondary: #55565c;
  --text-muted: #8a8b91;
  --text-on-ink: #f5f5f6;
  --text-on-ink-secondary: #a6a6ac;

  --accent: #0a0a0b;
  --accent-2: #3a3a3f;
  --accent-3: #6b6b70;
  --accent-warm: #b8860b;

  --gradient-brand: linear-gradient(120deg, #1a1a1c 0%, #0a0a0b 100%);
  --gradient-radial: radial-gradient(55% 55% at 50% 35%, rgba(10, 10, 11, 0.06), transparent 70%);
  --gradient-line: linear-gradient(90deg, transparent, rgba(10, 10, 11, 0.35), transparent);

  --success: #1a7a42;
  --danger: #c0362c;

  /* Elevation */
  --shadow-sm: 0 1px 2px rgba(10, 10, 11, 0.06);
  --shadow-md: 0 8px 24px rgba(10, 10, 11, 0.08);
  --shadow-lg: 0 24px 64px rgba(10, 10, 11, 0.12);
  --shadow-glow: 0 0 0 1px rgba(10, 10, 11, 0.06), 0 20px 60px rgba(10, 10, 11, 0.10);

  /* Type */
  --font-display: "Space Grotesk", "Inter", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, sans-serif;

  /* Radii */
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 22px;
  --r-full: 999px;

  /* Motion */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --dur-fast: 0.2s;
  --dur-base: 0.5s;
  --dur-slow: 0.9s;

  --container: 1280px;
  --header-h: 112px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

body {
  background: var(--bg);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font: inherit; cursor: pointer; }
input, textarea, select { font: inherit; color: inherit; }

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

/* ---------- Background layers ---------- */
body {
  background-image:
    radial-gradient(50% 40% at 15% 0%, rgba(10, 10, 11, 0.045), transparent 60%),
    radial-gradient(40% 30% at 100% 10%, rgba(10, 10, 11, 0.035), transparent 60%);
  background-repeat: no-repeat;
}

.noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0.035;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- Layout helpers ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}
@media (min-width: 768px) { .container { padding: 0 40px; } }
@media (min-width: 1200px) { .container { padding: 0 56px; } }

.section { position: relative; padding: 96px 0; }
@media (max-width: 767px) { .section { padding: 64px 0; } }
.section--tight { padding: 64px 0; }
.section--alt { background: var(--bg-alt); }

.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1024px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.flex { display: flex; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.gap-8 { gap: 8px; }
.gap-12 { gap: 12px; }
.gap-16 { gap: 16px; }
.gap-24 { gap: 24px; }

/* ---------- Typography ---------- */
h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}
h1 { font-size: clamp(2.6rem, 5.4vw, 4.6rem); font-weight: 650; }
h2 { font-size: clamp(2rem, 3.6vw, 3rem); }
h3 { font-size: clamp(1.35rem, 2vw, 1.7rem); }
h4 { font-size: 1.15rem; }
p { color: var(--text-secondary); }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--text-secondary); line-height: 1.65; }
.text-sm { font-size: 0.875rem; }
.text-xs { font-size: 0.75rem; }
.text-muted { color: var(--text-muted); }
.text-gradient {
  background: linear-gradient(100deg, #0a0a0b 20%, #6b6b70 50%, #0a0a0b 80%);
  background-size: 240% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: shimmer 7s ease-in-out infinite;
}
@keyframes shimmer {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

/* ---------- Marquee ---------- */
.marquee {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 22px 0;
  overflow: hidden;
  background: var(--bg-alt);
}
.marquee-track {
  display: flex;
  width: max-content;
  gap: 56px;
  animation: marquee-scroll 32s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--text-muted);
  white-space: nowrap;
}
.marquee-item svg { width: 16px; height: 16px; color: var(--text-primary); flex-shrink: 0; }
@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; overflow-x: auto; }
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-2);
  margin-bottom: 18px;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: var(--accent-2);
}

.section-head {
  max-width: 680px;
  margin-bottom: 56px;
}
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head p { margin-top: 18px; }

/* ---------- Buttons ---------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 30px;
  border-radius: var(--r-full);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  white-space: nowrap;
  border: 1px solid transparent;
  transition: transform var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast) var(--ease-out), background var(--dur-fast) var(--ease-out), border-color var(--dur-fast) var(--ease-out);
  will-change: transform;
}
.btn:focus-visible { outline: 2px solid var(--accent-2); outline-offset: 3px; }
.btn svg { width: 18px; height: 18px; transition: transform var(--dur-fast) var(--ease-out); }

.btn--primary {
  background: var(--gradient-brand);
  color: #fff;
  box-shadow: 0 8px 24px rgba(10, 10, 11, 0.18);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 14px 34px rgba(10, 10, 11, 0.26); }
.btn--primary:hover svg { transform: translateX(3px); }

.btn--ghost {
  background: var(--surface);
  border-color: var(--border);
  color: var(--text-primary);
  backdrop-filter: blur(12px);
}
.btn--ghost:hover { border-color: var(--border-strong); background: var(--surface-strong); transform: translateY(-2px); }

.btn--sm { padding: 11px 22px; font-size: 0.85rem; }
.btn--block { width: 100%; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 22px 0;
  transition: padding var(--dur-fast) var(--ease-out), background var(--dur-fast) var(--ease-out), border-color var(--dur-fast) var(--ease-out);
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
  padding: 13px 0;
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(18px) saturate(140%);
  border-bottom-color: var(--border);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.brand { display: flex; align-items: center; gap: 12px; }
.brand-logo { height: 68px; width: auto; display: block; transition: height var(--dur-fast) var(--ease-out), opacity var(--dur-fast); mix-blend-mode: multiply; }
.brand:hover .brand-logo { opacity: 0.8; }
.site-header.is-scrolled .brand-logo { height: 52px; }
.footer-brand .brand-logo { height: 84px; }
.mobile-nav .brand-logo { height: 56px; }
.brand-word { font-family: var(--font-display); font-weight: 650; font-size: 1.02rem; letter-spacing: -0.01em; line-height: 1.15; }
.brand-word span { display: block; font-family: var(--font-body); font-weight: 400; font-size: 0.62rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-muted); white-space: nowrap; }
@media (max-width: 420px) { .brand-word span { display: none; } }

.nav-desktop { display: none; }
@media (min-width: 1024px) {
  .nav-desktop { display: flex; align-items: center; gap: 4px; }
  .nav-desktop a {
    position: relative;
    padding: 10px 16px;
    font-size: 0.92rem;
    font-weight: 500;
    color: var(--text-secondary);
    border-radius: var(--r-full);
    transition: color var(--dur-fast), background var(--dur-fast);
  }
  .nav-desktop a:hover, .nav-desktop a.is-active { color: var(--text-primary); background: var(--surface); }
}

.header-actions { display: flex; align-items: center; gap: 12px; }
@media (max-width: 560px) { .nav-cta { display: none; } }
.nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px; height: 42px;
  border-radius: var(--r-sm);
  background: var(--surface);
  border: 1px solid var(--border);
}
@media (min-width: 1024px) { .nav-toggle { display: none; } }
.nav-toggle span { width: 18px; height: 1.5px; background: var(--text-primary); margin: 0 auto; transition: transform var(--dur-fast), opacity var(--dur-fast); }
.nav-toggle.is-open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  display: flex;
  flex-direction: column;
  padding: 110px 32px 40px;
  transform: translateY(-100%);
  opacity: 0;
  transition: transform var(--dur-base) var(--ease-out), opacity var(--dur-base) var(--ease-out);
  pointer-events: none;
}
.mobile-nav.is-open { transform: translateY(0); opacity: 1; pointer-events: auto; }
.mobile-nav a { display: block; font-family: var(--font-display); font-size: 1.7rem; font-weight: 600; padding: 14px 0; border-bottom: 1px solid var(--border); }
.mobile-nav .btn { margin-top: 28px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: calc(var(--header-h) + 64px) 0 100px;
  overflow: hidden;
  min-height: 92vh;
  display: flex;
  align-items: center;
}
.hero::before {
  content: "";
  position: absolute;
  inset: -20% -10% auto -10%;
  height: 140%;
  background: var(--gradient-radial);
  z-index: 0;
  pointer-events: none;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
  position: relative;
  z-index: 2;
}
@media (max-width: 1023px) { .hero-grid { grid-template-columns: 1fr; } }

.hero-badges { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 24px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 14px; border-radius: var(--r-full);
  background: var(--surface); border: 1px solid var(--border);
  font-size: 0.78rem; color: var(--text-secondary);
}
.hero-badge .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--success); box-shadow: 0 0 0 3px rgba(26, 122, 66, 0.18); }

.hero h1 { margin-bottom: 24px; }

/* Hero headline — line-mask reveal */
.hero-h1.reveal { opacity: 1; transform: none; }
.hero-h1-line { display: block; overflow: hidden; padding-bottom: 0.06em; }
.hero-h1-line > span {
  display: block;
  transform: translateY(110%);
  transition: transform 0.9s var(--ease-out);
}
.hero-h1.is-visible .hero-h1-line > span { transform: translateY(0); }
.hero-h1.is-visible .hero-h1-line:nth-child(1) > span { transition-delay: 0.08s; }
.hero-h1.is-visible .hero-h1-line:nth-child(2) > span { transition-delay: 0.22s; }
@media (prefers-reduced-motion: reduce) {
  .hero-h1-line > span { transform: none; }
}
.hero .lead { max-width: 560px; margin-bottom: 36px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 44px; }

.hero-stats { display: flex; gap: 36px; flex-wrap: wrap; }
.hero-stat-num { font-family: var(--font-display); font-size: 1.9rem; font-weight: 650; }
.hero-stat-label { font-size: 0.8rem; color: var(--text-muted); margin-top: 2px; }

/* Hero slideshow — the one deliberate hit of colour on the site */
.hero-slideshow {
  --ss-interval: 6s;
  position: relative;
  width: 100%;
  max-width: 560px;
  margin: 0 auto;
  aspect-ratio: 4 / 5;
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  background: var(--bg-ink);
  isolation: isolate;
}
@media (max-width: 1023px) {
  .hero-slideshow { aspect-ratio: 1 / 1; max-width: 460px; }
}

.hero-slides { position: absolute; inset: 0; }
.hero-slide {
  position: absolute; inset: 0;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 1.1s var(--ease-in-out), visibility 0s linear 1.1s;
}
.hero-slide.is-active {
  opacity: 1;
  visibility: visible;
  z-index: 1;
  transition: opacity 1.1s var(--ease-in-out), visibility 0s;
}
.hero-slide img {
  width: 100%; height: 100%;
  object-fit: cover;
  transform: scale(1.06);
}
.hero-slide.is-active img { animation: heroKenBurns 7s ease-out forwards; }
@keyframes heroKenBurns {
  from { transform: scale(1.12) translate3d(1.5%, 1%, 0); }
  to   { transform: scale(1.01) translate3d(-1%, -1.5%, 0); }
}
.hero-slide::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(185deg, rgba(10,10,11,0) 32%, rgba(10,10,11,0.55) 74%, rgba(10,10,11,0.86) 100%);
}

.hero-slide-cap {
  position: absolute; left: 26px; right: 26px; bottom: 62px;
  z-index: 2;
  color: #fff;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.08rem;
  line-height: 1.38;
  letter-spacing: -0.01em;
  text-shadow: 0 2px 24px rgba(0,0,0,0.45);
  opacity: 0;
  transform: translateY(12px);
}
.hero-slide.is-active .hero-slide-cap { animation: heroCapIn 0.75s var(--ease-out) 0.4s forwards; }
@keyframes heroCapIn { to { opacity: 1; transform: translateY(0); } }
.hero-slide-kicker {
  display: block;
  font-family: var(--font-body);
  font-size: 0.68rem; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: rgba(255,255,255,0.72);
  margin-bottom: 8px;
}
.hero-slide-cap--center { text-align: center; }

/* Brand slides — black & white logo rotation */
.hero-slide--brand { background: var(--gradient-brand); }
.hero-slide--brand::after {
  background: linear-gradient(185deg, rgba(10,10,11,0) 55%, rgba(10,10,11,0.55) 100%);
}
.hero-slide--brand::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(58% 46% at 50% 40%, rgba(255,255,255,0.10), transparent 72%),
    linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: auto, 30px 30px, 30px 30px;
}

/* light variant: black logo on white */
.hero-slide--brand-light { background: var(--bg); }
.hero-slide--brand-light::after {
  background: linear-gradient(185deg, rgba(255,255,255,0) 55%, rgba(255,255,255,0.65) 100%);
}
.hero-slide--brand-light::before {
  background:
    radial-gradient(58% 46% at 50% 40%, rgba(10,10,11,0.05), transparent 72%),
    linear-gradient(rgba(10,10,11,0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(10,10,11,0.045) 1px, transparent 1px);
  background-size: auto, 30px 30px, 30px 30px;
}
.hero-slide--brand-light .hero-slide-cap { color: var(--text-primary); text-shadow: none; }

.hero-slide-brand-inner {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  padding: 12% 14% 22%;
  z-index: 1;
}
.hero-slide-logo { width: 82%; max-width: 300px; height: auto; }
@media (max-width: 1023px) {
  .hero-slide-brand-inner { padding: 16% 16% 30%; }
  .hero-slide-logo { max-width: 236px; }
  .hero-slide-cap { bottom: 32px; left: 20px; right: 20px; }
}
.hero-slide.is-active .hero-slide-logo {
  animation: heroBrandIn 1.1s var(--ease-out) 0.2s both;
}
@keyframes heroBrandIn {
  from { opacity: 0; transform: scale(0.9) translateY(10px); filter: blur(5px); }
  55%  { opacity: 1; filter: blur(0); }
  to   { opacity: 1; transform: none; filter: blur(0); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-slide.is-active .hero-slide-logo { animation: none; }
}

.hero-ss-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  z-index: 4;
  width: 42px; height: 42px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: rgba(10,10,11,0.42);
  border: 1px solid rgba(255,255,255,0.28);
  backdrop-filter: blur(8px);
  color: #fff;
  opacity: 0;
  transition: opacity var(--dur-fast), background var(--dur-fast), transform var(--dur-fast);
}
.hero-ss-arrow svg { width: 20px; height: 20px; }
.hero-ss-arrow--prev { left: 16px; }
.hero-ss-arrow--next { right: 16px; }
.hero-slideshow:hover .hero-ss-arrow,
.hero-ss-arrow:focus-visible { opacity: 1; }
.hero-ss-arrow:hover { background: rgba(10,10,11,0.7); }
.hero-ss-arrow:active { transform: translateY(-50%) scale(0.92); }
@media (hover: none) { .hero-ss-arrow { opacity: 1; } }

.hero-dots {
  position: absolute; left: 0; right: 0; bottom: 22px;
  z-index: 4;
  display: flex; align-items: center; justify-content: center; gap: 9px;
}
.hero-dot {
  width: 8px; height: 8px; padding: 0;
  border-radius: 50%;
  background: rgba(255,255,255,0.35);
  border: none;
  transition: background var(--dur-fast), transform var(--dur-fast), width var(--dur-fast);
}
.hero-dot:hover { background: rgba(255,255,255,0.6); }
.hero-dot.is-active { background: #fff; width: 22px; border-radius: var(--r-full); }
.hero-dot:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }

.hero-slide-progress {
  position: absolute; left: 0; right: 0; bottom: 0;
  height: 3px; z-index: 4;
  background: rgba(255,255,255,0.16);
}
.hero-slide-progress span {
  display: block; height: 100%; width: 0;
  background: #fff;
  transform-origin: left;
}
.hero-slideshow.is-playing .hero-slide-progress span {
  animation: heroProgress var(--ss-interval) linear forwards;
}
.hero-slideshow.is-paused .hero-slide-progress span { animation-play-state: paused; }
@keyframes heroProgress { from { width: 0; } to { width: 100%; } }

@media (prefers-reduced-motion: reduce) {
  .hero-slide { transition: opacity 0.2s linear; }
  .hero-slide.is-active img { animation: none; transform: none; }
  .hero-slide.is-active .hero-slide-cap { animation: none; opacity: 1; transform: none; }
  .hero-slideshow.is-playing .hero-slide-progress span { animation: none; }
}

/* ---------- Cards ---------- */
.card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 34px;
  backdrop-filter: blur(14px);
  transition: transform var(--dur-base) var(--ease-out), border-color var(--dur-fast), background var(--dur-fast), box-shadow var(--dur-fast);
}
.card:hover { transform: translateY(-6px); border-color: var(--border-strong); background: var(--surface-strong); box-shadow: var(--shadow-lg); }

.card-icon {
  width: 52px; height: 52px;
  border-radius: var(--r-md);
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(145deg, rgba(10,10,11,0.08), rgba(10,10,11,0.03));
  border: 1px solid rgba(10,10,11,0.12);
  margin-bottom: 22px;
}
.card-icon svg { width: 24px; height: 24px; color: var(--accent-2); }

.card h3 { margin-bottom: 10px; }
.card p { font-size: 0.94rem; }
.card-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 20px; font-size: 0.86rem; font-weight: 600; color: var(--accent-2); }
.card-link svg { width: 15px; height: 15px; transition: transform var(--dur-fast); }
.card:hover .card-link svg { transform: translateX(4px); }

/* Service card with image */
.service-card { overflow: hidden; padding: 0; display: flex; flex-direction: column; }
.service-card-media { position: relative; aspect-ratio: 16/10; overflow: hidden; }
.service-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--dur-slow) var(--ease-out); }
.service-card:hover .service-card-media img { transform: scale(1.07); }
.service-card-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,10,11,0) 40%, rgba(10,10,11,0.9)); }
.service-card-body { padding: 28px 30px 32px; flex: 1; display: flex; flex-direction: column; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.reveal-stagger.is-visible > * { transition-delay: calc(var(--i, 0) * 90ms); }

/* ---------- Logo strip / trust ---------- */
.pill-row { display: flex; flex-wrap: wrap; gap: 12px; }
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 16px; border-radius: var(--r-full);
  background: var(--surface); border: 1px solid var(--border);
  font-size: 0.84rem; color: var(--text-secondary);
}
.pill svg { width: 15px; height: 15px; color: var(--accent-2); }

/* ---------- Tech ecosystem ---------- */
.ecosystem { position: relative; padding: 40px; border-radius: var(--r-lg); border: 1px solid var(--border); background: var(--surface); overflow: hidden; }
.ecosystem-svg { width: 100%; height: auto; }
.eco-node-label { font-family: var(--font-display); font-size: 0.72rem; font-weight: 600; fill: var(--text-primary); text-transform: uppercase; letter-spacing: 0.04em; }
.eco-line { stroke: rgba(10,10,11,0.28); stroke-width: 1; fill: none; }
.eco-line-anim { stroke-dasharray: 6 8; animation: dash 3s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -140; } }
.eco-dot { fill: var(--accent-2); }
.eco-circle { fill: var(--bg-elevated); stroke: var(--border-strong); stroke-width: 1; }

/* ---------- Solutions ---------- */
.solution-row {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  align-items: center;
  padding: 56px 0;
  border-bottom: 1px solid var(--border);
}
.solution-row:first-of-type { padding-top: 0; }
.solution-row:last-of-type { border-bottom: none; padding-bottom: 0; }
@media (max-width: 900px) { .solution-row { grid-template-columns: 1fr; gap: 28px; } }
.solution-row:nth-of-type(even) .solution-media { order: 2; }
@media (max-width: 900px) { .solution-row:nth-of-type(even) .solution-media { order: 0; } }
.solution-num { font-family: var(--font-display); font-size: 0.85rem; color: var(--accent-2); font-weight: 600; margin-bottom: 14px; letter-spacing: 0.05em; }
.solution-media { position: relative; width: 100%; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4/3; border: 1px solid var(--border); }
.solution-media img { width: 100%; height: 100%; object-fit: cover; }
.solution-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0 26px; }
.tag { padding: 6px 12px; border-radius: var(--r-full); background: var(--surface-strong); border: 1px solid var(--border); font-size: 0.78rem; color: var(--text-secondary); }

/* ---------- Industries ---------- */
.industry-card {
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  background: var(--surface);
  overflow: hidden;
  cursor: pointer;
}
.industry-card-head { padding: 26px 28px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.industry-card-head h3 { display: flex; align-items: center; gap: 14px; font-size: 1.1rem; }
.industry-card-head svg.chev { width: 20px; height: 20px; color: var(--text-muted); transition: transform var(--dur-fast); }
.industry-card.is-open .chev { transform: rotate(180deg); }
.industry-card-body { max-height: 0; overflow: hidden; transition: max-height var(--dur-base) var(--ease-in-out); }
.industry-card.is-open .industry-card-body { max-height: 260px; }
.industry-card-body-inner { padding: 0 28px 26px; }
.industry-icon-wrap { width: 42px; height: 42px; border-radius: 10px; background: var(--surface-strong); display: flex; align-items: center; justify-content: center; }
.industry-icon-wrap svg { width: 20px; height: 20px; color: var(--accent-2); }

/* ---------- Stats ---------- */
.stats-bar { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--border); border-radius: var(--r-lg); overflow: hidden; background: var(--surface); }
.stats-bar .stat { padding: 36px 24px; text-align: center; border-right: 1px solid var(--border); }
.stats-bar .stat:last-child { border-right: none; }
.stat-num { font-family: var(--font-display); font-size: clamp(1.8rem, 3vw, 2.4rem); font-weight: 650; }
.stat-label { font-size: 0.82rem; color: var(--text-muted); margin-top: 6px; }
@media (max-width: 700px) { .stats-bar { grid-template-columns: repeat(2, 1fr); } .stats-bar .stat:nth-child(2) { border-right: none; } }

/* ---------- Timeline ---------- */
.timeline { position: relative; padding-left: 32px; }
.timeline::before { content: ""; position: absolute; left: 7px; top: 6px; bottom: 6px; width: 1px; background: var(--gradient-line); }
.timeline-item { position: relative; padding-bottom: 40px; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item::before { content: ""; position: absolute; left: -32px; top: 4px; width: 15px; height: 15px; border-radius: 50%; background: var(--bg); border: 2px solid var(--accent-2); }
.timeline-item h4 { margin-bottom: 8px; }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative;
  border-radius: var(--r-lg);
  padding: 76px 56px;
  text-align: center;
  overflow: hidden;
  background: var(--bg-ink);
  isolation: isolate;
}
.cta-band::before {
  content: "";
  position: absolute; inset: -40%;
  background: conic-gradient(from 0deg, transparent 0deg, rgba(255,255,255,0.06) 90deg, transparent 180deg, rgba(255,255,255,0.04) 270deg, transparent 360deg);
  animation: rotate-sheen 16s linear infinite;
  z-index: -1;
}
@keyframes rotate-sheen { to { transform: rotate(360deg); } }
@media (max-width: 700px) { .cta-band { padding: 52px 24px; } }
.cta-band .eyebrow { color: var(--text-on-ink-secondary); }
.cta-band .eyebrow::before { background: var(--text-on-ink-secondary); }
.cta-band h2 { max-width: 640px; margin: 0 auto 20px; color: var(--text-on-ink); }
.cta-band p { max-width: 520px; margin: 0 auto 34px; color: var(--text-on-ink-secondary); }
.cta-band .hero-ctas { justify-content: center; margin-bottom: 0; }
.cta-band .btn--primary { background: #fff; color: var(--bg-ink); box-shadow: 0 8px 24px rgba(0,0,0,0.35); }
.cta-band .btn--ghost { background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.22); color: var(--text-on-ink); }
.cta-band .btn--ghost:hover { background: rgba(255,255,255,0.12); border-color: rgba(255,255,255,0.36); }

/* ---------- Forms ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 700px) { .form-grid { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 20px; }
.field label { font-size: 0.85rem; font-weight: 600; color: var(--text-primary); }
.field .req { color: var(--danger); }
.field input, .field select, .field textarea {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  padding: 14px 16px;
  color: var(--text-primary);
  transition: border-color var(--dur-fast), box-shadow var(--dur-fast);
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(10,10,11,0.12);
}
.field textarea { resize: vertical; min-height: 130px; }
.field-error { font-size: 0.78rem; color: var(--danger); min-height: 16px; }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--danger); }
.form-status { padding: 14px 18px; border-radius: var(--r-sm); font-size: 0.9rem; margin-top: 16px; display: none; }
.form-status.is-success { display: block; background: rgba(26,122,66,0.08); border: 1px solid rgba(26,122,66,0.28); color: var(--success); }
.form-status.is-error { display: block; background: rgba(192,54,44,0.08); border: 1px solid rgba(192,54,44,0.28); color: var(--danger); }
.honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.contact-info-card { border: 1px solid var(--border); border-radius: var(--r-lg); background: var(--surface); padding: 36px; }
.contact-info-item { display: flex; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--border); }
.contact-info-item:last-child { border-bottom: none; }
.contact-info-item svg { width: 20px; height: 20px; color: var(--accent-2); flex-shrink: 0; margin-top: 3px; }
.contact-info-item h4 { font-size: 0.92rem; margin-bottom: 4px; }
.contact-info-item p { font-size: 0.9rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--bg-alt); border-top: 1px solid var(--border); padding: 80px 0 32px; }
.footer-top { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 40px; padding-bottom: 56px; border-bottom: 1px solid var(--border); }
@media (max-width: 1000px) { .footer-top { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .footer-top { grid-template-columns: 1fr; } }
.footer-col h5 { font-family: var(--font-display); font-size: 0.85rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-primary); margin-bottom: 20px; }
.footer-col a, .footer-col p { display: block; font-size: 0.9rem; color: var(--text-secondary); padding: 6px 0; transition: color var(--dur-fast); }
.footer-col a:hover { color: var(--accent-2); }
.footer-brand p { color: var(--text-secondary); font-size: 0.92rem; max-width: 300px; margin: 18px 0 22px; }
.footer-social { display: flex; gap: 10px; }
.footer-social a { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; }
.footer-social svg { width: 16px; height: 16px; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; padding-top: 28px; font-size: 0.82rem; color: var(--text-muted); }
.footer-bottom-links { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-bottom-links a { color: var(--text-muted); }
.footer-bottom-links a:hover { color: var(--accent-2); }

/* ---------- Breadcrumb ---------- */
.breadcrumb { display: flex; align-items: center; gap: 8px; font-size: 0.85rem; color: var(--text-muted); margin-bottom: 28px; flex-wrap: wrap; }
.breadcrumb a { color: var(--text-muted); transition: color var(--dur-fast); }
.breadcrumb a:hover { color: var(--accent-2); }
.breadcrumb svg { width: 13px; height: 13px; }

/* ---------- Page hero (interior pages) ---------- */
.page-hero { padding: calc(var(--header-h) + 60px) 0 70px; position: relative; }
.page-hero::before { content: ""; position: absolute; inset: -10% -10% auto -10%; height: 90%; background: var(--gradient-radial); opacity: 0.6; pointer-events: none; }
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 { max-width: 780px; }
.page-hero .lead { max-width: 640px; margin-top: 22px; }

/* ---------- Misc utility ---------- */
.divider { height: 1px; background: var(--border); border: none; margin: 0; }
.mt-8{margin-top:8px}.mt-16{margin-top:16px}.mt-24{margin-top:24px}.mt-32{margin-top:32px}.mt-48{margin-top:48px}
.mb-8{margin-bottom:8px}.mb-16{margin-bottom:16px}.mb-24{margin-bottom:24px}.mb-32{margin-bottom:32px}
.text-center{text-align:center}
.eyebrow--center{justify-content:center}
.gap-64{gap:64px}
.gap-tight{gap:16px}
.media-frame{width:100%;aspect-ratio:4/3;border-radius:var(--r-lg);overflow:hidden;border:1px solid var(--border)}
.items-start{align-items:flex-start}
.max-w-sm{max-width:520px}
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; top: -60px; left: 12px; z-index: 200; background: var(--accent); color: #fff; padding: 12px 20px; border-radius: var(--r-sm); transition: top var(--dur-fast); }
.skip-link:focus { top: 12px; }

a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
  outline: 2px solid var(--accent-2);
  outline-offset: 2px;
}

/* Filter chips (services index) */
.filter-row { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 48px; }
.filter-chip {
  padding: 10px 18px; border-radius: var(--r-full);
  border: 1px solid var(--border); background: var(--surface);
  font-size: 0.85rem; font-weight: 500; color: var(--text-secondary);
  transition: all var(--dur-fast);
}
.filter-chip:hover { border-color: var(--border-strong); }
.filter-chip.is-active { background: var(--gradient-brand); color: #fff; border-color: transparent; }

/* Detail page layout */
.detail-layout { display: grid; grid-template-columns: 1fr 340px; gap: 56px; align-items: start; }
@media (max-width: 980px) { .detail-layout { grid-template-columns: 1fr; } }
.detail-sidebar { position: sticky; top: calc(var(--header-h) + 24px); display: flex; flex-direction: column; gap: 20px; }
.sidebar-card { border: 1px solid var(--border); border-radius: var(--r-lg); background: var(--surface); padding: 28px; }
.sidebar-card h4 { margin-bottom: 16px; }
.sidebar-nav a { display: flex; align-items: center; justify-content: space-between; padding: 11px 0; font-size: 0.9rem; color: var(--text-secondary); border-bottom: 1px solid var(--border); }
.sidebar-nav a:last-child { border-bottom: none; }
.sidebar-nav a:hover, .sidebar-nav a.is-active { color: var(--accent-2); }

.check-list li { display: flex; gap: 12px; padding: 10px 0; font-size: 0.94rem; color: var(--text-secondary); align-items: flex-start; }
.check-list svg { width: 18px; height: 18px; color: var(--success); flex-shrink: 0; margin-top: 2px; }

.detail-media { border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--border); margin-bottom: 40px; aspect-ratio: 21/9; }
.detail-media img { width: 100%; height: 100%; object-fit: cover; }

.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
@media (max-width: 700px) { .two-col { grid-template-columns: 1fr; } }

.prose h2 { margin: 48px 0 18px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin: 32px 0 14px; }
.prose p { margin-bottom: 16px; }
.prose ul:not(.check-list) { margin: 0 0 20px; }
.prose ul:not(.check-list) li { position: relative; padding-left: 26px; margin-bottom: 10px; color: var(--text-secondary); }
.prose ul:not(.check-list) li::before { content: ""; position: absolute; left: 0; top: 9px; width: 8px; height: 8px; border-radius: 2px; background: var(--gradient-brand); }
.prose .check-list { margin: 0 0 20px; }

/* Insights */
.insight-card { border: 1px solid var(--border); border-radius: var(--r-lg); background: var(--surface); padding: 32px; }
.insight-meta { display: flex; gap: 14px; align-items: center; font-size: 0.8rem; color: var(--text-muted); margin-bottom: 16px; }
.insight-cat { padding: 5px 12px; border-radius: var(--r-full); background: var(--surface-strong); color: var(--accent-2); font-weight: 600; }

/* Back to top */
.back-to-top {
  position: fixed; bottom: 28px; right: 28px; z-index: 60;
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--surface-strong); border: 1px solid var(--border-strong);
  backdrop-filter: blur(10px);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: all var(--dur-fast) var(--ease-out);
}
.back-to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top svg { width: 18px; height: 18px; color: var(--text-primary); transition: color var(--dur-fast); }
.back-to-top:hover { background: var(--gradient-brand); }
.back-to-top:hover svg { color: #fff; }

/* ---------- Generative visual panels (monochrome "photographic" tiles) ---------- */
.visual-panel {
  position: relative;
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  background-image:
    linear-gradient(rgba(255,255,255,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.06) 1px, transparent 1px);
  background-size: 28px 28px;
  overflow: hidden;
}
.visual-panel::before {
  content: "";
  position: absolute; inset: 0;
  background: var(--vp-gradient);
  transition: transform var(--dur-slow) var(--ease-out);
}
.visual-panel::after {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(120% 90% at 15% 0%, rgba(10,10,11,0) 0%, var(--bg-ink) 95%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
  opacity: 0.6;
  mix-blend-mode: overlay;
}
.card:hover .visual-panel::before, a:hover .visual-panel::before { transform: scale(1.06); }

/* Real photography layer */
.vp-photo {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  filter: grayscale(1) contrast(1.06) brightness(0.82);
  transform: scale(1.001);
  transition: transform var(--dur-slow) var(--ease-out), filter var(--dur-base) var(--ease-out);
}
.card:hover .vp-photo, a:hover .vp-photo { transform: scale(1.07); }
.visual-panel.has-photo::before { display: none; }
.visual-panel.has-photo::after {
  background:
    linear-gradient(180deg, rgba(10,10,11,0.20) 0%, rgba(10,10,11,0.30) 45%, rgba(10,10,11,0.72) 100%),
    radial-gradient(130% 100% at 12% 0%, rgba(10,10,11,0) 0%, rgba(10,10,11,0.42) 100%);
  opacity: 1;
  mix-blend-mode: normal;
}
.visual-panel.has-photo .vp-glyph { width: 30%; height: 30%; opacity: 0.9; }
@media (prefers-reduced-motion: reduce) {
  .card:hover .vp-photo, a:hover .vp-photo { transform: none; }
}

.visual-panel svg.vp-glyph {
  position: relative; z-index: 2;
  width: 46%; height: 46%;
  color: rgba(255,255,255,0.94);
  filter: drop-shadow(0 12px 30px rgba(0,0,0,0.45));
  transition: transform var(--dur-base) var(--ease-out);
}
.card:hover .vp-glyph, a:hover .vp-glyph { transform: scale(1.08) translateY(-2px); }
.visual-panel .vp-badge {
  position: absolute; z-index: 2; bottom: 18px; left: 20px;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 13px; border-radius: var(--r-full);
  background: rgba(10,10,11,0.55); border: 1px solid rgba(255,255,255,0.16);
  backdrop-filter: blur(8px);
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: #fff;
}
.visual-panel .vp-dot { width: 6px; height: 6px; border-radius: 50%; background: #fff; }

.vp--infra { --vp-gradient: linear-gradient(135deg, #3a3a3d 0%, #0a0a0b 75%); }
.vp--cloud { --vp-gradient: linear-gradient(135deg, #45454a 0%, #0a0a0b 75%); }
.vp--network { --vp-gradient: linear-gradient(135deg, #303033 0%, #0a0a0b 75%); }
.vp--security { --vp-gradient: linear-gradient(135deg, #262628 0%, #0a0a0b 75%); }
.vp--managed { --vp-gradient: linear-gradient(135deg, #3f3f42 0%, #0a0a0b 75%); }
.vp--backup { --vp-gradient: linear-gradient(135deg, #38383b 0%, #0a0a0b 75%); }
.vp--software { --vp-gradient: linear-gradient(135deg, #4a4a4e 0%, #0a0a0b 75%); }
.vp--integration { --vp-gradient: linear-gradient(135deg, #333336 0%, #0a0a0b 75%); }
.vp--consulting { --vp-gradient: linear-gradient(135deg, #2c2c2f 0%, #0a0a0b 75%); }

/* Cursor glow (desktop only) */
.cursor-glow {
  position: fixed; width: 380px; height: 380px; border-radius: 50%;
  background: radial-gradient(circle, rgba(10,10,11,0.05), transparent 70%);
  pointer-events: none; z-index: 5; transform: translate(-50%, -50%);
  opacity: 0; transition: opacity 0.4s;
  display: none;
}
@media (min-width: 1024px) and (hover: hover) { .cursor-glow { display: block; } }
