/* ==========================================================================
   TGA Technologies, styles.css (Version 2 design pass)
   Edit colors, fonts and spacing in the :root block below.
   ========================================================================== */

/* ---------- Variables ---------- */

:root {
  /* Base surfaces */
  --bg: #050816;
  --bg-deep: #03050f;
  --surface: rgba(15, 23, 42, 0.55);
  --surface-strong: rgba(15, 23, 42, 0.85);

  /* Borders */
  --border: rgba(148, 163, 184, 0.14);
  --border-strong: rgba(148, 163, 184, 0.28);

  /* Text */
  --text: #f8fafc;
  --text-soft: #e2e8f0;
  --text-muted: #a6b2c8;
  --label: #7dd3fc;

  /* Accent colors: sky blue to indigo to violet, plus pink and orange for icon tiles */
  --sky: #38bdf8;
  --blue: #3b82f6;
  --indigo: #6366f1;
  --violet: #8b5cf6;
  --pink: #ec4899;
  --orange: #fb923c;

  /* Gradients */
  --grad: linear-gradient(100deg, var(--sky) 0%, var(--indigo) 55%, var(--violet) 100%);
  --grad-soft: linear-gradient(100deg, rgba(56, 189, 248, 0.5), rgba(99, 102, 241, 0.5), rgba(139, 92, 246, 0.5));
  --grad-warm: linear-gradient(90deg, #fb923c 0%, #f87171 100%);   /* orange to coral: Four Steps section */
  --grad-violet: linear-gradient(90deg, #c084fc 0%, #f472b6 100%); /* violet to pink: Services section */
  --warm: #fb923c;
  --violet-text: #c084fc;

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

  /* Shape and depth */
  --radius: 18px;
  --radius-lg: 26px;
  --shadow: 0 18px 50px rgba(2, 4, 12, 0.55);
  --glow-blue: 0 0 40px rgba(56, 189, 248, 0.22);
  --glow-violet: 0 0 40px rgba(139, 92, 246, 0.22);

  /* Subtle noise texture, inline SVG so no extra request */
  --noise: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%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");
}

/* ---------- Reset and base ---------- */

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

html { scroll-behavior: smooth; }

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

/* Faint noise over the whole page */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image: var(--noise);
  opacity: 0.04;
  pointer-events: none;
  z-index: 1;
}

img, svg { display: block; max-width: 100%; }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

a { color: inherit; text-decoration: none; }
ul { list-style: none; }

a:focus-visible, button:focus-visible {
  outline: 2px solid var(--sky);
  outline-offset: 3px;
  border-radius: 6px;
}

::selection { background: rgba(99, 102, 241, 0.45); color: #fff; }

.skip-link {
  position: absolute;
  left: 16px;
  top: -48px;
  z-index: 100;
  background: var(--indigo);
  color: #fff;
  padding: 10px 16px;
  border-radius: 10px;
  font-weight: 600;
  transition: top 0.2s;
}
.skip-link:focus { top: 12px; }

/* ---------- Layout helpers ---------- */

.container {
  width: min(1180px, 100% - 40px);
  margin-inline: auto;
}

.section { padding-block: 92px; position: relative; }

.section-head {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 44px;
  max-width: 760px;
}
.section-head h2 { font-size: clamp(28px, 3.6vw, 42px); }
.section-head p { color: var(--text-muted); font-size: 17px; }
.section-head .link { margin-top: 2px; }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--label);
  border: 1px solid rgba(56, 189, 248, 0.3);
  background: rgba(56, 189, 248, 0.08);
  padding: 6px 14px;
  border-radius: 999px;
}

.eyebrow {
  display: block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--label);
  margin-bottom: 10px;
}

.grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.link { color: var(--label); font-weight: 600; }
.link:hover { color: #bae6fd; }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 600;
  font-size: 15px;
  padding: 12px 22px;
  border-radius: 12px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}
.btn-lg { padding: 15px 28px; font-size: 16px; border-radius: 14px; }

.btn-primary {
  background: var(--grad);
  color: #fff;
  box-shadow: 0 8px 28px rgba(99, 102, 241, 0.38);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 36px rgba(99, 102, 241, 0.5);
}

.btn-ghost {
  border-color: var(--border-strong);
  background: rgba(15, 23, 42, 0.5);
  color: var(--text-soft);
}
.btn-ghost:hover {
  border-color: rgba(125, 211, 252, 0.55);
  background: rgba(30, 41, 59, 0.6);
  transform: translateY(-2px);
}

.btn-light { background: #fff; color: #1e1b4b; }
.btn-light:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(2, 4, 12, 0.35); }

.btn-outline-light {
  border-color: rgba(255, 255, 255, 0.45);
  color: #fff;
}
.btn-outline-light:hover { background: rgba(255, 255, 255, 0.12); transform: translateY(-2px); }

/* ---------- Glass cards (shared) ---------- */

.glass {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

/* ---------- Icon tiles ---------- */

.icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 13px;
  color: #fff;
  background: linear-gradient(135deg, var(--sky), var(--blue));
  box-shadow: 0 6px 18px rgba(56, 189, 248, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.25);
  flex: none;
}
.icon svg { width: 23px; height: 23px; }
.icon.g1 { background: linear-gradient(135deg, var(--sky), var(--blue)); box-shadow: 0 6px 18px rgba(56, 189, 248, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.25); }
.icon.g2 { background: linear-gradient(135deg, var(--blue), var(--violet)); box-shadow: 0 6px 18px rgba(99, 102, 241, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.25); }
.icon.g3 { background: linear-gradient(135deg, var(--violet), var(--pink)); box-shadow: 0 6px 18px rgba(236, 72, 153, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.25); }
.icon.g4 { background: linear-gradient(135deg, var(--pink), var(--orange)); box-shadow: 0 6px 18px rgba(251, 146, 60, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.25); }

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid transparent;
  transition: background-color 0.3s ease, border-color 0.3s ease;
}
.site-header.scrolled {
  background: rgba(5, 8, 22, 0.82);
  border-bottom-color: var(--border);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-block: 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 17px;
  letter-spacing: -0.01em;
}
.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 7px 10px;
  border-radius: 10px;
  background: var(--grad);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  box-shadow: 0 4px 14px rgba(99, 102, 241, 0.4);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  font-weight: 500;
  font-size: 15px;
}
.nav-links a:not(.btn) { color: var(--text-muted); transition: color 0.2s; }
.nav-links a:not(.btn):hover { color: var(--text); }

.nav-toggle {
  display: none;
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid var(--border-strong);
  color: var(--text-soft);
  font: inherit;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 10px;
}

/* ---------- Hero ---------- */

.hero-wrap {
  position: relative;
  overflow: hidden;
  margin-top: -73px; /* pulls the glow behind the sticky header */
  padding-top: 73px;
  background:
    radial-gradient(900px 480px at 70% 0%, rgba(99, 102, 241, 0.2), transparent 70%),
    radial-gradient(700px 420px at 15% 20%, rgba(56, 189, 248, 0.12), transparent 70%),
    linear-gradient(180deg, var(--bg-deep) 0%, rgba(5, 8, 22, 0) 100%);
}

/* Faint grid lines behind the hero */
.hero-grid-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(148, 163, 184, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 163, 184, 0.055) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 85% 70% at 50% 25%, #000 35%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 85% 70% at 50% 25%, #000 35%, transparent 80%);
}

/* Diagonal meteor streaks: bright white head, colored tail fading behind */
.streaks { position: absolute; inset: 0; pointer-events: none; }
.streaks span {
  position: absolute;
  height: 2px;
  border-radius: 2px;
  transform: rotate(-32deg);
  opacity: 0.7;
  background: linear-gradient(90deg, #fff 0%, rgba(56, 189, 248, 0.95) 6%, rgba(56, 189, 248, 0) 100%);
  box-shadow: -2px 0 8px rgba(56, 189, 248, 0.6);
  animation: streak 7s linear infinite;
}
.streaks span:nth-child(even) {
  background: linear-gradient(90deg, #fff 0%, rgba(139, 92, 246, 0.95) 6%, rgba(139, 92, 246, 0) 100%);
  box-shadow: -2px 0 8px rgba(139, 92, 246, 0.6);
}
.streaks span:nth-child(1) { width: 220px; top: 12%; left: 62%; animation-delay: 0s; }
.streaks span:nth-child(2) { width: 160px; top: 30%; left: 8%; animation-delay: 1.5s; }
.streaks span:nth-child(3) { width: 260px; top: 55%; left: 78%; animation-delay: 3s; }
.streaks span:nth-child(4) { width: 140px; top: 70%; left: 20%; animation-delay: 4.2s; }
.streaks span:nth-child(5) { width: 200px; top: 8%; left: 30%; animation-delay: 2.2s; }
.streaks span:nth-child(6) { width: 180px; top: 42%; left: 45%; animation-delay: 5.5s; opacity: 0.3; }
@keyframes streak {
  0% { translate: 120px -75px; opacity: 0; }
  15% { opacity: 0.85; }
  70% { opacity: 0.5; }
  100% { translate: -260px 160px; opacity: 0; }
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  align-items: center;
  gap: clamp(32px, 5vw, 72px);
  padding-top: 76px;
  padding-bottom: 60px;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--border-strong);
  background: rgba(15, 23, 42, 0.7);
  border-radius: 999px;
  padding: 9px 18px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-soft);
}
.pill svg { color: var(--label); flex: none; }

.hero h1 {
  font-size: clamp(38px, 4.6vw, 62px);
  line-height: 1.07;
  letter-spacing: -0.03em;
}
.hero .lead {
  font-size: clamp(17px, 1.6vw, 20px);
  color: var(--text-muted);
  max-width: 560px;
}
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; padding-top: 4px; }

/* ---------- Hero visual: "Copilot at work" card ---------- */

.hero-visual {
  position: relative;
  justify-self: end;
  width: min(440px, 100%);
}

.copilot-card {
  position: relative;
  border-radius: var(--radius-lg);
  background:
    linear-gradient(rgba(10, 15, 34, 0.92), rgba(10, 15, 34, 0.92)) padding-box,
    linear-gradient(160deg, rgba(56, 189, 248, 0.6), rgba(99, 102, 241, 0.35) 40%, rgba(139, 92, 246, 0.55)) border-box;
  border: 1px solid transparent;
  box-shadow: var(--shadow), var(--glow-violet);
  padding: 20px 22px 22px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.window-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 18px;
}
.win-dot { width: 10px; height: 10px; border-radius: 50%; background: rgba(148, 163, 184, 0.3); }
.window-title {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-left: auto;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--text-muted);
}
.window-title svg { color: var(--label); }

.chat { display: flex; flex-direction: column; gap: 14px; }

.msg.user p {
  margin-left: auto;
  max-width: 85%;
  width: fit-content;
  background: rgba(99, 102, 241, 0.22);
  border: 1px solid rgba(99, 102, 241, 0.4);
  border-radius: 14px 14px 4px 14px;
  padding: 10px 14px;
  font-size: 13.5px;
  color: var(--text-soft);
}

.msg.ai { display: flex; gap: 10px; align-items: flex-start; }
.ai-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 9px;
  background: var(--grad);
  color: #fff;
  flex: none;
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.45);
}

.skeleton {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 9px;
  padding: 12px 14px;
  background: rgba(30, 41, 59, 0.5);
  border: 1px solid var(--border);
  border-radius: 4px 14px 14px 14px;
}
.skeleton .line {
  height: 9px;
  border-radius: 6px;
  background: linear-gradient(90deg, rgba(148, 163, 184, 0.16) 25%, rgba(148, 163, 184, 0.32) 50%, rgba(148, 163, 184, 0.16) 75%);
  background-size: 200% 100%;
  animation: shimmer 2.4s linear infinite;
}
.skeleton .w100 { width: 100%; }
.skeleton .w85 { width: 85%; }
.skeleton .w70 { width: 70%; }
.skeleton .w55 { width: 55%; }
@keyframes shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

.chip-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  background: rgba(30, 41, 59, 0.6);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 5px 11px;
}
.chip svg { flex: none; }
.chip-ok { color: #a5f3fc; border-color: rgba(56, 189, 248, 0.4); background: rgba(56, 189, 248, 0.1); }

/* Small floating badges around the card */
.float-card {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-soft);
  background: var(--surface-strong);
  border: 1px solid var(--border-strong);
  border-radius: 12px;
  padding: 9px 14px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.float-card svg { color: var(--label); }
.float-top { top: -18px; left: -26px; animation: floaty 6s ease-in-out infinite; }
.float-bottom { bottom: -16px; right: -14px; animation: floaty 6s ease-in-out 3s infinite; }
@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-7px); }
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--sky);
  box-shadow: 0 0 0 0 rgba(56, 189, 248, 0.6);
  animation: pulse 2s ease-out infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(56, 189, 248, 0.6); }
  70% { box-shadow: 0 0 0 9px rgba(56, 189, 248, 0); }
  100% { box-shadow: 0 0 0 0 rgba(56, 189, 248, 0); }
}

/* ---------- Stats (proof strip) ---------- */

.stats {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--border);
  margin-top: 28px;
  padding-top: 36px;
  width: 100%;
  gap: 16px;
}
.stat { display: flex; flex-direction: column; align-items: center; gap: 4px; text-align: center; }
.stat-num {
  font-family: var(--font-display);
  font-size: 38px;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
}
.stat-label { font-size: 14px; color: var(--text-muted); max-width: 230px; }

/* ---------- Differentiator ---------- */

.diff {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.diff-card {
  padding: 30px 28px;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.diff-card:hover { transform: translateY(-4px); border-color: var(--border-strong); }
.diff-card h3 { font-size: 21px; margin-bottom: 10px; }
.diff-card p { color: var(--text-muted); font-size: 15px; }

/* The "both" card gets the gradient border treatment */
.diff-both {
  position: relative;
  border-radius: var(--radius);
  background:
    linear-gradient(rgba(13, 18, 38, 0.95), rgba(13, 18, 38, 0.95)) padding-box,
    var(--grad) border-box;
  border: 1px solid transparent;
  box-shadow: var(--glow-blue);
}
.diff-both:hover { transform: translateY(-4px); box-shadow: var(--glow-violet); }

/* ---------- Services bento ---------- */

.bento {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
}
.card {
  grid-column: span 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  padding: 30px 28px;
  position: relative;
  overflow: hidden;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.card.wide { grid-column: span 4; }
.card:hover {
  transform: translateY(-4px);
  border-color: rgba(125, 211, 252, 0.4);
  box-shadow: 0 16px 44px rgba(2, 4, 12, 0.5);
}
.card .eyebrow { margin-bottom: 0; }
.card h3 { font-size: 21px; }
.card p { color: var(--text-muted); font-size: 15px; }
.card .more {
  margin-top: auto;
  padding-top: 6px;
  font-weight: 600;
  font-size: 14.5px;
  color: var(--label);
  transition: translate 0.25s ease;
}
.card:hover .more { translate: 4px 0; }

/* Soft glow that brightens on hover */
.card::after {
  content: "";
  position: absolute;
  top: -70px;
  right: -70px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.16), transparent 70%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}
.card:hover::after { opacity: 1; }

/* Featured card: gradient border and stronger glow */
.card.featured {
  border-radius: var(--radius);
  background:
    linear-gradient(rgba(13, 18, 38, 0.95), rgba(13, 18, 38, 0.95)) padding-box,
    linear-gradient(140deg, rgba(56, 189, 248, 0.75), rgba(99, 102, 241, 0.45) 45%, rgba(139, 92, 246, 0.75)) border-box;
  border: 1px solid transparent;
  box-shadow: var(--glow-blue);
}
.card.featured:hover { box-shadow: var(--glow-violet); border-color: transparent; }
.card.featured::after { opacity: 0.6; }

.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tag {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-soft);
  background: rgba(99, 102, 241, 0.16);
  border: 1px solid rgba(99, 102, 241, 0.35);
  border-radius: 999px;
  padding: 5px 12px;
}

/* ---------- Approach band ---------- */

.band {
  position: relative;
  padding-block: 92px;
  background:
    radial-gradient(800px 420px at 50% 0%, rgba(99, 102, 241, 0.12), transparent 70%),
    linear-gradient(180deg, rgba(10, 15, 34, 0.7), rgba(5, 8, 22, 0));
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.step {
  position: relative;
  padding: 30px 26px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  transition: transform 0.25s ease, border-color 0.25s ease;
}
.step:hover { transform: translateY(-4px); border-color: var(--border-strong); }
.step h3 { font-size: 19px; }
.step p { color: var(--text-muted); font-size: 14.5px; }
.step-num {
  position: absolute;
  top: 18px;
  right: 22px;
  font-family: var(--font-display);
  font-size: 40px;
  font-weight: 700;
  line-height: 1;
  background: var(--grad-soft);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  opacity: 0.9;
}
.step-arrow {
  position: absolute;
  right: -17px;
  top: 50%;
  translate: 0 -50%;
  z-index: 2;
  width: 26px;
  height: 26px;
  color: var(--indigo);
  display: flex;
}

.outcomes {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 40px;
}
.outcomes li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-soft);
  background: rgba(15, 23, 42, 0.65);
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  padding: 9px 18px;
}
.outcomes li::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--grad);
  flex: none;
}

/* ---------- Selected work ---------- */

.work-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.work {
  padding: 30px 28px;
  transition: transform 0.25s ease, border-color 0.25s ease;
}
.work:hover { transform: translateY(-4px); border-color: var(--border-strong); }
.work .client {
  display: block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--label);
  margin-bottom: 10px;
}
.work h3 { font-size: 20px; margin-bottom: 10px; }
.work p { color: var(--text-muted); font-size: 15px; }
.work .result {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
  color: var(--text-soft);
  font-weight: 600;
  font-size: 14.5px;
}

.clients {
  margin-top: 44px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.clients .label {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.clients ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 26px;
}
.clients li {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 16px;
  color: rgba(226, 232, 240, 0.6);
  transition: color 0.2s;
}
.clients li:hover { color: var(--text-soft); }

/* ---------- Testimonials ---------- */

.quotes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.quote {
  position: relative;
  padding: 30px 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  transition: transform 0.25s ease, border-color 0.25s ease;
}
.quote:hover { transform: translateY(-4px); border-color: var(--border-strong); }
.quote::before {
  content: "\201C";
  font-family: var(--font-display);
  font-size: 54px;
  line-height: 1;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.quote blockquote { color: var(--text-soft); font-size: 15px; }
.quote figcaption { margin-top: auto; font-size: 13.5px; color: var(--text-muted); }
.quote figcaption strong { display: block; color: var(--text); font-size: 14.5px; margin-bottom: 2px; }

/* ---------- About ---------- */

.about {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 40px;
  align-items: center;
  padding: 44px;
  border-radius: var(--radius-lg);
}
.photo-placeholder {
  width: 200px;
  height: 240px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-weight: 600;
  font-size: 14px;
  background:
    linear-gradient(rgba(15, 23, 42, 0.9), rgba(15, 23, 42, 0.9)) padding-box,
    var(--grad-soft) border-box;
  border: 1px dashed transparent;
}
.about-text h2 { font-size: clamp(26px, 3vw, 34px); margin-bottom: 14px; }
.about-text p { color: var(--text-muted); margin-bottom: 18px; max-width: 640px; }
.about-text a { color: var(--label); font-weight: 600; }
.about-text a:hover { color: #bae6fd; }

/* ---------- Call to action ---------- */

.cta {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  padding: clamp(40px, 6vw, 64px);
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 36px;
  align-items: center;
  background:
    radial-gradient(600px 300px at 85% 10%, rgba(255, 255, 255, 0.14), transparent 60%),
    linear-gradient(120deg, #1d4ed8 0%, var(--indigo) 45%, var(--violet) 100%);
  box-shadow: 0 24px 70px rgba(99, 102, 241, 0.35);
}
.cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--noise);
  opacity: 0.07;
  pointer-events: none;
}
.cta-text h2 { font-size: clamp(26px, 3.4vw, 38px); color: #fff; margin-bottom: 12px; }
.cta-text p { color: rgba(255, 255, 255, 0.85); font-size: 16.5px; }
.cta-actions {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 12px;
}
.cta-actions .btn { width: 100%; }

/* ---------- Section color themes ----------
   Add class "theme-warm" or "theme-violet" to a <section> to recolor its
   badge, eyebrows, links, highlights and accents. Icon tiles keep their
   own varied gradients. */

.grad-warm, .grad-violet {
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.grad-warm { background-image: var(--grad-warm); }
.grad-violet { background-image: var(--grad-violet); }

/* Warm theme: orange to coral (Four Steps to Peak Productivity) */
.theme-warm { --label: var(--warm); }
.theme-warm .badge {
  color: var(--warm);
  border-color: rgba(251, 146, 60, 0.3);
  background: rgba(251, 146, 60, 0.1);
}
.band.theme-warm {
  background:
    radial-gradient(800px 420px at 50% 0%, rgba(251, 146, 60, 0.09), transparent 70%),
    linear-gradient(180deg, rgba(10, 15, 34, 0.7), rgba(5, 8, 22, 0));
}
.theme-warm .step-num { background-image: var(--grad-warm); opacity: 0.75; }
.theme-warm .step-arrow { color: var(--warm); }
.theme-warm .step:hover { border-color: rgba(251, 146, 60, 0.4); }
.theme-warm .outcomes li::before { background: var(--grad-warm); }
.theme-warm .outcomes li { border-color: rgba(251, 146, 60, 0.28); }

/* Violet theme: violet to pink (From AI curiosity to real results) */
.theme-violet { --label: var(--violet-text); }
.theme-violet .badge {
  color: var(--violet-text);
  border-color: rgba(192, 132, 252, 0.3);
  background: rgba(192, 132, 252, 0.1);
}
.theme-violet .tag {
  background: rgba(192, 132, 252, 0.13);
  border-color: rgba(192, 132, 252, 0.35);
}
.theme-violet .card:hover { border-color: rgba(192, 132, 252, 0.45); }
.theme-violet .card::after { background: radial-gradient(circle, rgba(244, 114, 182, 0.16), transparent 70%); }
.theme-violet .card.featured {
  background:
    linear-gradient(rgba(13, 18, 38, 0.95), rgba(13, 18, 38, 0.95)) padding-box,
    linear-gradient(140deg, rgba(192, 132, 252, 0.8), rgba(168, 85, 247, 0.4) 45%, rgba(244, 114, 182, 0.8)) border-box;
  box-shadow: 0 0 40px rgba(192, 132, 252, 0.2);
}
.theme-violet .card.featured:hover { box-shadow: 0 0 44px rgba(244, 114, 182, 0.25); }

/* ---------- Footer ---------- */

.site-footer {
  border-top: 1px solid var(--border);
  padding-block: 32px;
  background: var(--bg-deep);
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 14px;
  color: var(--text-muted);
}
.footer-links { display: flex; flex-wrap: wrap; gap: 22px; font-weight: 500; }
.footer-links a { color: var(--text-muted); transition: color 0.2s; }
.footer-links a:hover { color: var(--text); }

/* ---------- Scroll-reveal ---------- */

/* Elements start hidden only when JS is running, so content is never lost */
.js .reveal {
  opacity: 0;
  translate: 0 20px;
  transition: opacity 0.7s ease var(--d, 0s), translate 0.7s ease var(--d, 0s);
}
.js .reveal.in { opacity: 1; translate: 0 0; }

/* ---------- Reduced motion ---------- */

@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;
  }
  .js .reveal { opacity: 1; translate: 0 0; }
  .streaks { display: none; }
}

/* ---------- Responsive ---------- */

@media (max-width: 1020px) {
  .hero { grid-template-columns: 1fr; padding-top: 56px; }
  .hero-copy { align-items: center; text-align: center; }
  .hero .lead { margin-inline: auto; }
  .hero-ctas { justify-content: center; }
  .hero-visual { justify-self: center; margin-top: 10px; }
  .float-top { left: -8px; }
  .float-bottom { right: -4px; }
  .diff { grid-template-columns: 1fr; }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .card, .card.wide { grid-column: span 2; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .step-arrow { display: none; }
  .quotes { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .section { padding-block: 64px; }
  .band { padding-block: 64px; }
  .section-head { margin-bottom: 32px; }

  .nav-toggle { display: inline-flex; }
  .nav-links {
    display: none;
    position: absolute;
    top: calc(100% + 1px);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    background: rgba(5, 8, 22, 0.97);
    border-bottom: 1px solid var(--border);
    padding: 16px 20px 20px;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
  }
  .nav-links.open { display: flex; }
  .nav-links a:not(.btn) { display: block; padding: 10px 4px; font-size: 16px; }
  .nav-links .btn { margin-top: 10px; justify-content: center; }
  .site-header { background: rgba(5, 8, 22, 0.92); border-bottom-color: var(--border); }

  .stats { grid-template-columns: repeat(2, 1fr); gap: 24px 12px; }
  .stat-num { font-size: 32px; }
  .work-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .about { grid-template-columns: 1fr; padding: 32px 26px; justify-items: center; text-align: center; }
  .about-text { display: flex; flex-direction: column; align-items: center; }
  .cta { grid-template-columns: 1fr; }
  .hero-ctas .btn { width: 100%; }
}

@media (max-width: 420px) {
  .container { width: calc(100% - 32px); }
  .hero h1 { font-size: 34px; }
  .copilot-card { padding: 16px 16px 18px; }
  .float-top { top: -14px; left: 0; }
  .float-bottom { bottom: -12px; right: 0; }
  .bento { grid-template-columns: 1fr; }
  .card, .card.wide { grid-column: span 1; }
}

/* ==========================================================================
   INNER PAGES
   Styles used by the service, success stories, about, contact and blog pages.
   ========================================================================== */

/* ---------- Page hero ---------- */

.page-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
  align-items: center;
  gap: clamp(32px, 5vw, 64px);
  padding-top: 56px;
  padding-bottom: 72px;
}
.page-hero.single { grid-template-columns: minmax(0, 1fr); max-width: 860px; }
.page-hero-copy { display: flex; flex-direction: column; align-items: flex-start; gap: 22px; }
.page-hero h1 {
  font-size: clamp(36px, 4.4vw, 56px);
  line-height: 1.08;
  letter-spacing: -0.03em;
}
.page-hero .lead { font-size: clamp(17px, 1.6vw, 19.5px); color: var(--text-muted); max-width: 640px; }

/* Breadcrumbs */
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; color: var(--text-muted); }
.breadcrumbs li { display: inline-flex; align-items: center; gap: 8px; }
.breadcrumbs li + li::before { content: "/"; color: rgba(148, 163, 184, 0.5); }
.breadcrumbs a { color: var(--text-muted); transition: color 0.2s; }
.breadcrumbs a:hover { color: var(--text); }
.breadcrumbs [aria-current] { color: var(--text-soft); }

/* "At a glance" card beside the page hero */
.glance {
  border-radius: var(--radius-lg);
  background:
    linear-gradient(rgba(10, 15, 34, 0.9), rgba(10, 15, 34, 0.9)) padding-box,
    linear-gradient(160deg, rgba(56, 189, 248, 0.55), rgba(99, 102, 241, 0.3) 45%, rgba(139, 92, 246, 0.55)) border-box;
  border: 1px solid transparent;
  box-shadow: var(--shadow), var(--glow-violet);
  padding: 28px;
}
.glance h2 {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--label);
  margin-bottom: 18px;
}
.glance dl { display: flex; flex-direction: column; gap: 16px; }
.glance dl div { padding-bottom: 16px; border-bottom: 1px solid var(--border); }
.glance dl div:last-child { padding-bottom: 0; border-bottom: 0; }
.glance dt { font-size: 13px; color: var(--text-muted); margin-bottom: 3px; }
.glance dd { font-weight: 600; color: var(--text-soft); font-size: 15px; }

/* ---------- Feature grids ---------- */

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.feature-grid.three { grid-template-columns: repeat(3, 1fr); }
.feature {
  padding: 28px 26px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  transition: transform 0.25s ease, border-color 0.25s ease;
}
.feature:hover { transform: translateY(-4px); border-color: var(--border-strong); }
.feature h3 { font-size: 19px; }
.feature p { color: var(--text-muted); font-size: 15px; }

/* Two-column text + list block */
.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
}
.split .section-head { margin-bottom: 0; }

.check-list { display: flex; flex-direction: column; gap: 12px; }
.check-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 16px 18px;
  border-radius: 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text-soft);
  font-size: 15px;
}
.check-list li::before {
  content: "";
  flex: none;
  width: 20px;
  height: 20px;
  margin-top: 1px;
  border-radius: 6px;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E") center / 12px no-repeat,
    var(--grad);
}
.theme-warm .check-list li::before {
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E") center / 12px no-repeat,
    var(--grad-warm);
}
.theme-violet .check-list li::before {
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E") center / 12px no-repeat,
    var(--grad-violet);
}
.check-list strong { color: var(--text); }

/* Compact numbered process */
.process, .timeline, .breadcrumbs ol { list-style: none; }
.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; }
.process li {
  counter-increment: step;
  padding: 26px 24px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
}
.process li::before {
  content: counter(step);
  display: block;
  font-family: var(--font-display);
  font-size: 34px;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 14px;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.theme-warm .process li::before { background-image: var(--grad-warm); }
.theme-violet .process li::before { background-image: var(--grad-violet); }
.process h3 { font-size: 18px; margin-bottom: 8px; }
.process p { color: var(--text-muted); font-size: 14.5px; }

/* Proof callout: a highlighted result with a quote */
.proof {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 20px;
  align-items: stretch;
}
.proof-card {
  padding: 34px 32px;
  border-radius: var(--radius-lg);
  background:
    linear-gradient(rgba(13, 18, 38, 0.95), rgba(13, 18, 38, 0.95)) padding-box,
    var(--grad) border-box;
  border: 1px solid transparent;
  box-shadow: var(--glow-blue);
}
.theme-warm .proof-card { background: linear-gradient(rgba(13, 18, 38, 0.95), rgba(13, 18, 38, 0.95)) padding-box, var(--grad-warm) border-box; box-shadow: 0 0 40px rgba(251, 146, 60, 0.16); }
.theme-violet .proof-card { background: linear-gradient(rgba(13, 18, 38, 0.95), rgba(13, 18, 38, 0.95)) padding-box, var(--grad-violet) border-box; box-shadow: 0 0 40px rgba(192, 132, 252, 0.18); }
.proof-card h3 { font-size: 22px; margin-bottom: 12px; }
.proof-card p { color: var(--text-muted); font-size: 15.5px; }
.proof-card .result { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--border); color: var(--text-soft); font-weight: 600; }
.proof .quote { height: 100%; }

/* ---------- FAQ ---------- */

.faq { display: flex; flex-direction: column; gap: 12px; max-width: 860px; }
.faq details {
  border-radius: 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  transition: border-color 0.25s ease, background-color 0.25s ease;
}
.faq details[open] { border-color: var(--border-strong); background: var(--surface-strong); }
.faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 22px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 17.5px;
  color: var(--text);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  flex: none;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 500;
  color: var(--label);
  border: 1px solid var(--border-strong);
  transition: transform 0.25s ease;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:focus-visible { outline: 2px solid var(--sky); outline-offset: 2px; border-radius: 16px; }
.faq .answer { padding: 0 22px 20px; color: var(--text-muted); font-size: 15.5px; }

/* ---------- Success stories ---------- */

.case-list { display: flex; flex-direction: column; gap: 24px; }
.case {
  padding: 34px 32px;
  border-radius: var(--radius-lg);
}
.case-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 20px; margin-bottom: 22px; }
.case-head h3 { font-size: clamp(21px, 2.2vw, 26px); }
.case .client { font-size: 13px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--label); display: block; margin-bottom: 8px; }
.case-tools { display: flex; flex-wrap: wrap; gap: 8px; }
.case-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.case-grid > div {
  padding: 20px;
  border-radius: 14px;
  background: rgba(30, 41, 59, 0.35);
  border: 1px solid var(--border);
}
.case-grid h4 {
  font-family: var(--font-body);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.case-grid .c-problem h4 { color: #fda4af; }
.case-grid .c-solution h4 { color: var(--label); }
.case-grid .c-result h4 { color: #fdba74; }
.case-grid .c-result { border-color: rgba(251, 146, 60, 0.3); background: rgba(251, 146, 60, 0.06); }
.case-grid p, .case-grid li { color: var(--text-muted); font-size: 14.5px; }
.case-grid ul { display: flex; flex-direction: column; gap: 6px; padding-left: 18px; list-style: disc; }
.case-grid .c-result p { color: var(--text-soft); }

.mini-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.mini { padding: 26px 24px; transition: transform 0.25s ease, border-color 0.25s ease; }
.mini:hover { transform: translateY(-4px); border-color: var(--border-strong); }
.mini .client { font-size: 13px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--label); display: block; margin-bottom: 8px; }
.mini h3 { font-size: 18px; margin-bottom: 8px; }
.mini p { color: var(--text-muted); font-size: 14.5px; }

/* ---------- About ---------- */

.about-hero-photo {
  justify-self: end;
  width: min(320px, 100%);
}
.about-hero-photo .photo-placeholder { width: 100%; height: auto; aspect-ratio: 4 / 5; }

.timeline { position: relative; display: flex; flex-direction: column; gap: 22px; max-width: 900px; }
.timeline::before {
  content: "";
  position: absolute;
  left: 15px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: linear-gradient(180deg, var(--sky), var(--indigo), var(--violet), var(--pink));
  opacity: 0.6;
  border-radius: 2px;
}
.timeline li { position: relative; padding-left: 52px; }
.timeline li::before {
  content: "";
  position: absolute;
  left: 8px;
  top: 26px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--bg);
  border: 3px solid var(--indigo);
  box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.15);
}
.timeline .t-card { padding: 22px 24px; }
.timeline .t-when { font-size: 13px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--label); }
.timeline h3 { font-size: 19px; margin: 6px 0 8px; }
.timeline p { color: var(--text-muted); font-size: 15px; }

.chip-cloud { display: flex; flex-wrap: wrap; gap: 10px; }
.chip-cloud li {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-soft);
  background: rgba(15, 23, 42, 0.65);
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  padding: 8px 16px;
}

/* ---------- Contact ---------- */

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
  gap: 24px;
  align-items: start;
}
.form-card { padding: clamp(26px, 4vw, 40px); border-radius: var(--radius-lg); }
.form-card h2 { font-size: 26px; margin-bottom: 6px; }
.form-card > p { color: var(--text-muted); margin-bottom: 26px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 18px; }
.field label, .field legend { font-size: 14px; font-weight: 600; color: var(--text-soft); }
.field .optional { font-weight: 500; color: var(--text-muted); }
.field input, .field textarea {
  font: inherit;
  font-size: 15.5px;
  color: var(--text);
  background: rgba(3, 5, 15, 0.6);
  border: 1px solid var(--border-strong);
  border-radius: 12px;
  padding: 12px 14px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: #7c8aa3; }
.field input:focus, .field textarea:focus {
  outline: none;
  border-color: var(--sky);
  box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.25);
}
fieldset.field { border: 0; }
.checks { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 4px; }
.checks label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
  font-size: 14.5px;
  color: var(--text-soft);
  padding: 11px 14px;
  border-radius: 12px;
  background: rgba(3, 5, 15, 0.45);
  border: 1px solid var(--border);
  cursor: pointer;
  transition: border-color 0.2s ease;
}
.checks label:hover { border-color: var(--border-strong); }
.checks input { width: 18px; height: 18px; accent-color: var(--indigo); flex: none; }
.checks input:focus-visible { outline: 2px solid var(--sky); outline-offset: 2px; }
.form-note { margin-top: 14px; font-size: 14px; color: var(--text-muted); }

.contact-side { display: flex; flex-direction: column; gap: 16px; }
.contact-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 22px;
  transition: transform 0.25s ease, border-color 0.25s ease;
}
a.contact-item:hover { transform: translateY(-3px); border-color: rgba(125, 211, 252, 0.4); }
.contact-item .icon { width: 42px; height: 42px; border-radius: 12px; }
.contact-item .icon svg { width: 20px; height: 20px; }
.contact-item div span { display: block; font-size: 13px; color: var(--text-muted); }
.contact-item div strong { display: block; font-size: 15.5px; color: var(--text); word-break: break-word; }

/* ---------- Blog ---------- */

.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.post {
  padding: 28px 26px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  border-style: dashed;
}
.post .eyebrow { margin-bottom: 0; }
.post h3 { font-size: 19px; }
.post p { color: var(--text-muted); font-size: 14.5px; }
.placeholder-tag {
  align-self: flex-start;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #fdba74;
  border: 1px dashed rgba(251, 146, 60, 0.5);
  border-radius: 8px;
  padding: 3px 8px;
}

/* Current page in the main navigation */
.nav-links a[aria-current="page"] { color: var(--text); }

/* ---------- Inner pages: responsive ---------- */

@media (max-width: 1020px) {
  .page-hero { grid-template-columns: 1fr; padding-top: 40px; }
  .glance, .about-hero-photo { justify-self: stretch; max-width: 560px; }
  .about-hero-photo { width: min(280px, 100%); justify-self: start; }
  .feature-grid.three { grid-template-columns: repeat(2, 1fr); }
  .process { grid-template-columns: repeat(2, 1fr); }
  .proof { grid-template-columns: 1fr; }
  .case-grid { grid-template-columns: 1fr; }
  .mini-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .post-grid { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .page-hero { padding-bottom: 48px; }
  .feature-grid, .feature-grid.three { grid-template-columns: 1fr; }
  .process { grid-template-columns: 1fr; }
  .mini-grid { grid-template-columns: 1fr; }
  .post-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .checks { grid-template-columns: 1fr; }
  .case, .proof-card { padding: 26px 22px; }
  .page-hero-copy .hero-ctas { width: 100%; }
}

/* ---------- Inner pages: original-content layouts ---------- */

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0);
  white-space: nowrap; border: 0;
}

/* Success story sections: label on the left, text on the right */
.case-profile { color: var(--text-soft); font-size: 15.5px; margin-bottom: 22px; max-width: 900px; }
.case-sec {
  display: grid;
  grid-template-columns: 190px 1fr;
  gap: 20px;
  padding: 18px 0;
  border-top: 1px solid var(--border);
}
.case-sec h4 {
  font-family: var(--font-body);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--label);
  padding-top: 3px;
}
.case-sec p, .case-sec li { color: var(--text-muted); font-size: 15px; }
.case-sec p + p { margin-top: 10px; }
.case-sec ol { padding-left: 20px; list-style: decimal; display: flex; flex-direction: column; gap: 6px; }
.case-sec.result {
  margin-top: 6px;
  padding: 18px 20px;
  border: 1px solid rgba(251, 146, 60, 0.3);
  border-radius: 14px;
  background: rgba(251, 146, 60, 0.06);
}
.case-sec.result h4 { color: #fdba74; }
.case-sec.result p { color: var(--text-soft); }

/* Clients */
.client-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; align-items: start; }
.client-card { padding: 28px 26px; transition: transform 0.25s ease, border-color 0.25s ease; }
.client-card:hover { transform: translateY(-4px); border-color: var(--border-strong); }
.client-card-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 16px; margin-bottom: 12px; }
.client-card h3 { font-size: 19px; }
.client-link { font-size: 13.5px; font-weight: 600; color: var(--label); }
.client-link:hover { color: #bae6fd; }
.client-card p { color: var(--text-muted); font-size: 15px; }
.client-card p + p { margin-top: 10px; }
.client-sub { color: var(--label) !important; font-weight: 600; }
.emoji-list { display: flex; flex-direction: column; gap: 10px; margin: 12px 0; }
.emoji-list li { display: flex; gap: 10px; color: var(--text-muted); font-size: 15px; }
.emoji-list strong { color: var(--text-soft); }
.client-quote { margin-top: 28px; max-width: 760px; margin-inline: auto; text-align: center; align-items: center; }

/* SharePoint list inside a feature card */
.dot-list { display: flex; flex-direction: column; gap: 8px; }
.dot-list li { position: relative; padding-left: 16px; color: var(--text-muted); font-size: 15px; }
.dot-list li::before { content: ""; position: absolute; left: 0; top: 10px; width: 6px; height: 6px; border-radius: 50%; background: var(--grad); }
.dot-list strong { color: var(--text-soft); }
.feature p + p { margin-top: -4px; }

/* Contact */
.contact-card { padding: 24px 22px; }
.contact-card h2 { font-size: 22px; margin-bottom: 6px; }
.contact-card p { color: var(--text-muted); }
.contact-card .contact-org { color: var(--text-soft); font-weight: 600; }
.signoff { color: var(--text-muted); font-size: 15px; padding-left: 4px; }

/* Blog list */
.post-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.post-card {
  padding: 26px 24px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  transition: transform 0.25s ease, border-color 0.25s ease;
}
.post-card:hover { transform: translateY(-4px); border-color: rgba(125, 211, 252, 0.4); }
.post-card time { font-size: 13px; color: var(--text-muted); font-weight: 600; }
.post-card h3 { font-size: 18.5px; }
.post-card .more { margin-top: auto; font-weight: 600; font-size: 14.5px; color: var(--label); }

/* Blog post */
.post-wrap { position: relative; max-width: 780px; padding-top: 56px; padding-bottom: 72px; }
.post-head { display: flex; flex-direction: column; gap: 18px; margin-bottom: 36px; }
.post-head h1 { font-size: clamp(34px, 4.4vw, 52px); letter-spacing: -0.03em; }
.post-meta { color: var(--text-muted); font-size: 15px; }
.prose { color: var(--text-soft); font-size: 17px; line-height: 1.75; }
.prose p + p, .prose p + ul, .prose ul + p { margin-top: 18px; }
.prose a { color: var(--label); text-decoration: underline; text-underline-offset: 3px; }
.prose a:hover { color: #bae6fd; }
.prose ul { list-style: disc; padding-left: 22px; display: flex; flex-direction: column; gap: 6px; }
.post-back { margin-top: 40px; }

@media (max-width: 1020px) {
  .client-grid { grid-template-columns: 1fr; }
  .post-list { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  .case-sec { grid-template-columns: 1fr; gap: 8px; }
  .post-list { grid-template-columns: 1fr; }
}

/* ==========================================================================
   SERVICES SUB-MENU
   A wide floating panel on hover or keyboard focus: bold titles, small
   badges, a one-line description, and a labeled "Start here" row.
   ========================================================================== */

.nav { position: relative; }
.has-sub > a { display: inline-flex; align-items: center; gap: 5px; }
.has-sub > a.is-active { color: var(--text); }
.has-sub .chev { transition: rotate 0.25s ease; opacity: 0.8; }
.has-sub:hover .chev, .has-sub:focus-within .chev { rotate: 180deg; }

/* The panel is centered under the whole menu bar, not just the Services link */
.sub-menu {
  --menu-bg: #110e26;            /* panel color: dark navy-violet */
  --menu-badge-bg: rgba(99, 102, 241, 0.22);
  --menu-badge-text: #b4b8ff;
  position: absolute;
  top: calc(100% - 2px);
  left: 50%;
  translate: -50% 8px;
  width: min(940px, calc(100vw - 40px));
  padding: 22px 20px 20px;
  border-radius: 18px;
  background: var(--menu-bg);
  border: 1px solid rgba(148, 163, 184, 0.16);
  box-shadow: 0 24px 60px rgba(2, 4, 12, 0.65), 0 0 50px rgba(99, 102, 241, 0.1);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, translate 0.2s ease, visibility 0.2s;
  z-index: 60;
}
/* Invisible bridge so the panel stays open while the pointer moves down to it */
.sub-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -20px; height: 20px; }

.has-sub:hover .sub-menu,
.has-sub:focus-within .sub-menu {
  opacity: 1;
  visibility: visible;
  translate: -50% 0;
}

.menu-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px 12px;
}

.nav-links .sub-menu a {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 12px 14px;
  border-radius: 12px;
  transition: background-color 0.2s ease;
}
.nav-links .sub-menu a:hover,
.nav-links .sub-menu a:focus-visible,
.nav-links .sub-menu a[aria-current="page"] {
  background: rgba(139, 92, 246, 0.12);
}

.menu-title {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
}
.menu-desc {
  font-size: 14px;
  font-weight: 400;
  line-height: 1.45;
  color: var(--text-muted);
}
.menu-badge {
  font-size: 12px;
  font-weight: 600;
  padding: 2px 9px;
  border-radius: 999px;
  background: var(--sub-badge-bg, var(--menu-badge-bg));
  color: var(--menu-badge-text);
}

.menu-label {
  margin: 14px 14px 6px;
  padding-top: 18px;
  border-top: 1px solid rgba(148, 163, 184, 0.16);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* Collapse the menu into the "Menu" button below 1020px (it has more links now) */
@media (max-width: 1020px) {
  .nav-toggle { display: inline-flex; }
  .nav-links {
    display: none;
    position: absolute;
    top: calc(100% + 1px);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    background: rgba(5, 8, 22, 0.97);
    border-bottom: 1px solid var(--border);
    padding: 16px 20px 20px;
    max-height: calc(100vh - 72px);
    overflow-y: auto;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
  }
  .nav-links.open { display: flex; }
  .nav-links a:not(.btn) { display: block; padding: 10px 4px; font-size: 16px; }
  .nav-links .btn { margin-top: 10px; justify-content: center; width: 100%; }
  .site-header { background: rgba(5, 8, 22, 0.92); border-bottom-color: var(--border); }

  /* Inside the open menu the panel shows inline: titles and badges only */
  .has-sub > a { display: flex; }
  .has-sub .chev { display: none; }
  .sub-menu {
    position: static;
    translate: none;
    width: auto;
    opacity: 1;
    visibility: visible;
    padding: 0 0 6px 10px;
    background: none;
    border: 0;
    box-shadow: none;
  }
  .sub-menu::before { display: none; }
  .has-sub:hover .sub-menu, .has-sub:focus-within .sub-menu { translate: none; }
  .menu-grid { grid-template-columns: 1fr; gap: 0; }
  .nav-links .sub-menu a { padding: 8px 10px; }
  .menu-title { font-size: 15px; font-weight: 500; color: var(--text-soft); }
  .menu-desc { display: none; }
  .menu-label { margin: 6px 10px 2px; padding-top: 10px; font-size: 11.5px; }
}

/* ==========================================================================
   HOMEPAGE VERSION 3 ADDITIONS
   ========================================================================== */

/* ---------- Client logo strip (under the stats row in the hero) ---------- */
/* Full-color logos on white cards, scrolling slowly from right to left.
   Change the speed with --marquee-duration (bigger number = slower). */
.client-logos {
  --marquee-duration: 90s;
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
  margin-top: 8px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
  min-width: 0;
}
.client-logos-label {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.marquee {
  width: 100%;
  overflow: hidden;
  /* Soft fade at both edges */
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee-rtl var(--marquee-duration) linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-group {
  display: flex;
  align-items: center;
  gap: 20px;
  padding-right: 20px;
}
@keyframes marquee-rtl {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.logo-card {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 180px;
  height: 76px;
  padding: 14px 22px;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 6px 20px rgba(2, 4, 12, 0.35);
}
.logo-card img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
/* Per-logo sizing so wide and square marks look balanced */
.logo-card img[src*="bayer"] { height: 52px; }
.logo-card img[src*="ppl"] { height: 50px; }
.logo-card img[src*="roche"] { height: 44px; }
.logo-card img[src*="buckeye"] { height: 40px; }
.logo-card img[src*="aesculap"], .logo-card img[src*="bbraun"] { width: 128px; }
.logo-card img[src*="airproducts"], .logo-card img[src*="lvhn"], .logo-card img[src*="rodale"] { width: 136px; }

/* Reduced motion: no scrolling, show one set of logos wrapped and centered */
@media (prefers-reduced-motion: reduce) {
  .marquee { mask-image: none; -webkit-mask-image: none; }
  .marquee-track { animation: none !important; width: 100%; }
  .marquee-group { flex-wrap: wrap; justify-content: center; padding-right: 0; width: 100%; }
  .marquee-group[aria-hidden="true"] { display: none; }
}

/* ---------- Warm sections: "Training alone" and "What colleagues say" ---------- */
.theme-warm .grad-text { background-image: var(--grad-warm); }
.theme-warm .diff-card:hover { border-color: rgba(251, 146, 60, 0.4); }
.theme-warm .diff-both {
  background:
    linear-gradient(rgba(13, 18, 38, 0.95), rgba(13, 18, 38, 0.95)) padding-box,
    var(--grad-warm) border-box;
  box-shadow: 0 0 40px rgba(251, 146, 60, 0.16);
}
.theme-warm .diff-both:hover { box-shadow: 0 0 44px rgba(248, 113, 113, 0.22); }
.theme-warm .quote::before { background-image: var(--grad-warm); }
.theme-warm .quote:hover { border-color: rgba(251, 146, 60, 0.4); }

/* ---------- Violet section: "Selected work" ---------- */
.theme-violet .work:hover { border-color: rgba(192, 132, 252, 0.45); }
.theme-violet .link:hover { color: #e9d5ff; }
.theme-violet .clients li:hover { color: #e9d5ff; }

@media (max-width: 760px) {
  .logo-card { width: 150px; height: 66px; padding: 12px 18px; }
  .marquee-group { gap: 14px; padding-right: 14px; }
}

/* "See more recommendations on LinkedIn" line under testimonials */
.see-more { margin-top: 28px; text-align: center; color: var(--text-muted); font-size: 15.5px; }
.see-more a { font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- About page photo (round, with a soft gradient ring) ---------- */
.about-photo {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  padding: 4px;
  background: var(--grad);
  box-shadow: 0 20px 60px rgba(2, 4, 12, 0.6), 0 0 50px rgba(99, 102, 241, 0.25);
}

/* Homepage About section photo: same round style, sized to the 220px column */
.home-about-photo { width: 220px; max-width: 100%; }
@media (max-width: 760px) { .home-about-photo { width: 180px; } }
