/* ============================================================
   HEXENITY — dark studio system (official-inspired)
   Dark canvas · lime accent · Syne / Outfit / JetBrains Mono
   ============================================================ */

:root {
  --hx-bg: #09090b;
  --hx-bg-elev: #0b0f19;
  --hx-surface: #111318;
  --hx-surface-2: #161a22;
  --hx-ink: #f4f4f0;
  --hx-muted: #9a9a92;
  --hx-line: rgba(244, 244, 240, 0.1);
  --hx-line-strong: rgba(244, 244, 240, 0.18);
  --hx-accent: #b8f03a;
  --hx-accent-ink: #0a0a0a;
  --hx-accent-soft: rgba(184, 240, 58, 0.14);
  --hx-radius: 18px;
  --hx-radius-sm: 12px;
  --hx-shadow: 0 24px 60px -28px rgba(0, 0, 0, 0.7);
  --hx-font-display: "Syne", "Space Grotesk", sans-serif;
  --hx-font-body: "Outfit", "Inter", sans-serif;
  --hx-font-mono: "JetBrains Mono", "IBM Plex Mono", monospace;
  --hx-container: min(1120px, 92vw);
}

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

html {
  scroll-behavior: smooth;
}

body.hx {
  margin: 0;
  background:
    radial-gradient(ellipse 70% 50% at 10% -10%, rgba(184, 240, 58, 0.08), transparent 55%),
    radial-gradient(ellipse 55% 40% at 95% 5%, rgba(99, 102, 241, 0.08), transparent 50%),
    var(--hx-bg);
  color: var(--hx-ink);
  font-family: var(--hx-font-body);
  font-size: 16px;
  line-height: 1.65;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}

body.hx.nav-locked {
  position: fixed;
  left: 0;
  right: 0;
  width: 100%;
  overflow: hidden;
}

.hx h1,
.hx h2,
.hx h3 {
  font-family: var(--hx-font-display);
  letter-spacing: -0.03em;
  line-height: 1.08;
  font-weight: 700;
  margin: 0;
}

.hx p {
  margin: 0;
}

.hx a {
  color: inherit;
}

.hx-skip {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--hx-accent);
  color: var(--hx-accent-ink);
  padding: 0.6rem 1rem;
  border-radius: 0 0 10px 0;
  z-index: 200;
  font-weight: 700;
}

.hx-skip:focus {
  left: 0;
}

/* ---------- Buttons ---------- */
.hx-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 48px;
  padding: 0.75rem 1.35rem;
  border-radius: 999px;
  font-family: var(--hx-font-body);
  font-weight: 700;
  font-size: 0.92rem;
  text-decoration: none;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.hx-btn:hover {
  transform: translateY(-2px);
}

.hx-btn-primary {
  background: var(--hx-accent);
  color: var(--hx-accent-ink);
  box-shadow: 0 14px 36px -14px rgba(184, 240, 58, 0.55);
}

.hx-btn-primary:hover {
  box-shadow: 0 18px 40px -12px rgba(184, 240, 58, 0.7);
}

.hx-btn-outline {
  border-color: var(--hx-line-strong);
  color: var(--hx-ink);
  background: transparent;
}

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

.hx-btn-ghost {
  border-color: transparent;
  color: var(--hx-muted);
  background: transparent;
}

.hx-btn-ghost:hover {
  color: var(--hx-ink);
  background: rgba(255, 255, 255, 0.04);
}

/* ---------- Header ---------- */
.hx-header {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem clamp(1rem, 4vw, 2.5rem);
  background: rgba(9, 9, 11, 0.82);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--hx-line);
}

.hx-brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--hx-ink);
  min-width: 0;
}

.hx-brand-mark {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--hx-accent);
  color: var(--hx-accent-ink);
  display: grid;
  place-items: center;
  font-family: var(--hx-font-display);
  font-weight: 800;
  font-size: 0.95rem;
  flex-shrink: 0;
}

.hx-brand-text {
  font-family: var(--hx-font-display);
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.hx-brand-text em {
  font-style: normal;
  font-family: var(--hx-font-mono);
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--hx-muted);
}

.hx-nav {
  display: flex;
  align-items: center;
  gap: 0.15rem;
}

.hx-nav a {
  text-decoration: none;
  color: var(--hx-muted);
  font-size: 0.84rem;
  font-weight: 600;
  padding: 0.45rem 0.7rem;
  border-radius: 999px;
  transition: color 0.2s ease, background 0.2s ease;
}

.hx-nav a:hover {
  color: var(--hx-ink);
  background: rgba(255, 255, 255, 0.04);
}

.hx-nav-back {
  color: var(--hx-accent) !important;
}

.hx-header-actions {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.hx-header-cta {
  padding: 0.55rem 1.05rem;
  min-height: 42px;
  font-size: 0.82rem;
}

.hx-nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid var(--hx-line-strong);
  background: var(--hx-surface);
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 0;
}

.hx-nav-toggle span {
  display: block;
  width: 16px;
  height: 2px;
  border-radius: 999px;
  background: var(--hx-ink);
}

.hx-nav-backdrop {
  display: none;
}

/* ---------- Hero ---------- */
.hx-hero {
  position: relative;
  min-height: min(92vh, 860px);
  display: grid;
  align-items: end;
  padding: clamp(3rem, 8vw, 6rem) 0 clamp(3.5rem, 7vw, 5.5rem);
  overflow: hidden;
}

.hx-hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hx-hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(244, 244, 240, 0.035) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(244, 244, 240, 0.035) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 20%, transparent 75%);
}

.hx-hero-glow {
  position: absolute;
  width: min(520px, 70vw);
  height: min(520px, 70vw);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(184, 240, 58, 0.18), transparent 68%);
  top: 8%;
  right: 8%;
  filter: blur(10px);
}

.hx-hero-inner {
  position: relative;
  width: var(--hx-container);
  margin-inline: auto;
  z-index: 1;
}

.hx-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0 0 1.25rem;
  font-family: var(--hx-font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--hx-accent);
}

.hx-kicker::before {
  content: "";
  width: 1.5rem;
  height: 2px;
  background: var(--hx-accent);
}

.hx-brand-hero {
  margin: 0 0 0.85rem;
  font-family: var(--hx-font-display);
  font-size: clamp(2.8rem, 10vw, 6.5rem);
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 0.92;
  color: var(--hx-ink);
}

.hx-brand-hero span {
  color: var(--hx-accent);
}

.hx-hero h1 {
  max-width: 16ch;
  font-size: clamp(1.55rem, 3.8vw, 2.55rem);
  font-weight: 650;
  color: var(--hx-ink);
  margin-bottom: 1rem;
}

.hx-hero-lede {
  max-width: 38rem;
  color: var(--hx-muted);
  font-size: clamp(1rem, 1.8vw, 1.12rem);
  line-height: 1.65;
  margin-bottom: 1.75rem;
}

.hx-hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-bottom: 2.4rem;
}

.hx-hero-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.85rem;
  margin: 0;
  padding: 1.25rem 0 0;
  border-top: 1px solid var(--hx-line);
}

.hx-hero-stats div {
  display: grid;
  gap: 0.2rem;
}

.hx-hero-stats dt {
  font-family: var(--hx-font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 750;
  color: var(--hx-accent);
  letter-spacing: -0.03em;
}

.hx-hero-stats dd {
  margin: 0;
  font-size: 0.78rem;
  color: var(--hx-muted);
  font-weight: 500;
}

/* ---------- Marquee ---------- */
.hx-marquee {
  border-block: 1px solid var(--hx-line);
  background: var(--hx-bg-elev);
  overflow: hidden;
  padding: 0.95rem 0;
}

.hx-marquee-track {
  display: flex;
  gap: 2.5rem;
  width: max-content;
  animation: hx-marquee 34s linear infinite;
  font-family: var(--hx-font-mono);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--hx-muted);
}

.hx-marquee-track span::after {
  content: "·";
  margin-left: 2.5rem;
  color: var(--hx-accent);
}

@keyframes hx-marquee {
  to {
    transform: translateX(-50%);
  }
}

/* ---------- Sections ---------- */
.hx-section {
  width: var(--hx-container);
  margin-inline: auto;
  padding: clamp(3.5rem, 8vw, 6rem) 0;
}

.hx-section-head {
  max-width: 40rem;
  margin-bottom: 2rem;
}

.hx-eyebrow {
  margin: 0 0 0.65rem;
  font-family: var(--hx-font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--hx-accent);
}

.hx-section-head h2 {
  font-size: clamp(1.7rem, 4vw, 2.7rem);
  margin-bottom: 0.75rem;
}

.hx-section-head p {
  color: var(--hx-muted);
  font-size: 1.02rem;
}

/* ---------- Services (editorial rows) ---------- */
.hx-service-list {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--hx-line);
}

.hx-service-row {
  display: grid;
  grid-template-columns: 4.5rem minmax(0, 1fr) minmax(0, 1.1fr);
  gap: 1.25rem 1.75rem;
  padding: 1.55rem 0;
  border-bottom: 1px solid var(--hx-line);
  align-items: start;
  transition: background 0.2s ease;
}

.hx-service-row:hover {
  background: linear-gradient(90deg, rgba(184, 240, 58, 0.04), transparent 55%);
}

.hx-service-num {
  font-family: var(--hx-font-mono);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--hx-accent);
  padding-top: 0.35rem;
}

.hx-service-main h3 {
  font-size: clamp(1.2rem, 2.4vw, 1.55rem);
  margin-bottom: 0.45rem;
}

.hx-service-main p {
  color: var(--hx-muted);
  font-size: 0.95rem;
  line-height: 1.55;
}

.hx-service-row ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.35rem;
}

.hx-service-row li {
  position: relative;
  padding-left: 0.9rem;
  color: var(--hx-muted);
  font-size: 0.86rem;
  line-height: 1.4;
}

.hx-service-row li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 0.35rem;
  height: 0.35rem;
  border-radius: 50%;
  background: var(--hx-accent);
}

/* ---------- Partner / outcomes ---------- */
.hx-partner-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
  margin-bottom: 1.4rem;
}

.hx-partner-card {
  padding: 1.35rem 1.25rem;
  border-radius: var(--hx-radius);
  border: 1px solid var(--hx-line);
  background: var(--hx-surface);
}

.hx-partner-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.45rem;
}

.hx-partner-card p {
  color: var(--hx-muted);
  font-size: 0.92rem;
}

.hx-outcomes {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
  margin: 0;
}

.hx-outcomes div {
  padding: 1.1rem 1rem;
  border-radius: var(--hx-radius-sm);
  border: 1px solid var(--hx-line);
  background: var(--hx-bg-elev);
}

.hx-outcomes dt {
  font-family: var(--hx-font-display);
  font-size: 1.55rem;
  font-weight: 750;
  color: var(--hx-accent);
  letter-spacing: -0.03em;
}

.hx-outcomes dd {
  margin: 0.25rem 0 0;
  color: var(--hx-muted);
  font-size: 0.8rem;
}

/* ---------- Why ---------- */
.hx-why-panel {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.55rem;
  padding: 0.55rem;
  border-radius: var(--hx-radius);
  border: 1px solid var(--hx-line);
  background: var(--hx-surface);
}

.hx-why {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.95rem 1rem;
  border-radius: var(--hx-radius-sm);
  background: var(--hx-bg-elev);
  border: 1px solid transparent;
  font-weight: 600;
  font-size: 0.95rem;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.hx-why:hover {
  border-color: rgba(184, 240, 58, 0.35);
  background: rgba(184, 240, 58, 0.05);
}

.hx-why span {
  font-family: var(--hx-font-mono);
  font-size: 0.72rem;
  color: var(--hx-accent);
  min-width: 1.6rem;
}

/* ---------- Process ---------- */
.hx-process {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0.65rem;
}

.hx-process li {
  position: relative;
  padding: 1.15rem 1rem;
  border-radius: var(--hx-radius);
  border: 1px solid var(--hx-line);
  background: var(--hx-surface);
}

.hx-step {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.8rem;
  height: 1.8rem;
  border-radius: 50%;
  background: var(--hx-accent);
  color: var(--hx-accent-ink);
  font-family: var(--hx-font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.hx-process h3 {
  font-size: 1.02rem;
  margin-bottom: 0.35rem;
}

.hx-process p {
  color: var(--hx-muted);
  font-size: 0.82rem;
  line-height: 1.45;
}

/* ---------- Industries + regions ---------- */
.hx-industries {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 1.35rem;
}

.hx-industries span {
  padding: 0.4rem 0.8rem;
  border-radius: 999px;
  border: 1px solid var(--hx-line);
  background: var(--hx-surface);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--hx-muted);
}

.hx-regions {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
}

.hx-region {
  padding: 1.15rem 1.05rem;
  border-radius: var(--hx-radius);
  border: 1px solid var(--hx-line);
  background: var(--hx-bg-elev);
}

.hx-region h3 {
  font-size: 1rem;
  margin-bottom: 0.35rem;
}

.hx-region p {
  color: var(--hx-muted);
  font-size: 0.86rem;
}

/* ---------- Stack ---------- */
.hx-stack-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
}

.hx-stack-col {
  padding: 1.2rem 1.1rem;
  border-radius: var(--hx-radius);
  border: 1px solid var(--hx-line);
  background: var(--hx-surface);
}

.hx-stack-col h3 {
  font-size: 0.95rem;
  margin-bottom: 0.75rem;
  color: var(--hx-accent);
}

.hx-stack-col ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.4rem;
}

.hx-stack-col li {
  color: var(--hx-muted);
  font-size: 0.88rem;
}

/* ---------- Leadership ---------- */
.hx-lead {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.95fr);
  gap: 1.5rem;
  align-items: stretch;
}

.hx-lead-copy {
  padding: 1.6rem 1.5rem;
  border-radius: var(--hx-radius);
  border: 1px solid var(--hx-line);
  background: var(--hx-surface);
}

.hx-lead-copy h2 {
  font-size: clamp(1.6rem, 3.2vw, 2.2rem);
  margin: 0.4rem 0 0.9rem;
}

.hx-lead-copy p {
  color: var(--hx-muted);
  margin-bottom: 0.85rem;
}

.hx-lead-copy strong {
  color: var(--hx-ink);
}

.hx-lead-copy blockquote {
  margin: 1.1rem 0 1.35rem;
  padding: 0.9rem 0 0.9rem 1rem;
  border-left: 3px solid var(--hx-accent);
  color: var(--hx-ink);
  font-family: var(--hx-font-display);
  font-size: 1.05rem;
  line-height: 1.4;
}

.hx-lead-card {
  border-radius: var(--hx-radius);
  border: 1px solid var(--hx-line);
  background: #07080c;
  padding: 1.35rem 1.2rem;
  overflow: auto;
  box-shadow: var(--hx-shadow);
}

.hx-lead-card pre {
  margin: 0;
  font-family: var(--hx-font-mono);
  font-size: 0.78rem;
  line-height: 1.65;
  color: #c8cbd6;
}

.hx-code-kw { color: var(--hx-accent); }
.hx-code-cl { color: #7dd3fc; }
.hx-code-th { color: #c4b5fd; }
.hx-code-str { color: #86efac; }

/* ---------- Quotes ---------- */
.hx-quotes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
}

.hx-quote {
  margin: 0;
  padding: 1.35rem 1.25rem;
  border-radius: var(--hx-radius);
  border: 1px solid var(--hx-line);
  background: var(--hx-surface);
}

.hx-quote blockquote {
  margin: 0 0 1.1rem;
  color: var(--hx-ink);
  font-size: 0.98rem;
  line-height: 1.55;
}

.hx-quote figcaption {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--hx-muted);
  font-size: 0.84rem;
  font-weight: 600;
}

.hx-quote-avatar {
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--hx-accent-soft);
  color: var(--hx-accent);
  font-family: var(--hx-font-display);
  font-weight: 700;
}

/* ---------- FAQ ---------- */
.hx-faq {
  display: grid;
  gap: 0.55rem;
}

.hx-faq details {
  border-radius: var(--hx-radius-sm);
  border: 1px solid var(--hx-line);
  background: var(--hx-surface);
  padding: 0.15rem 1.05rem;
}

.hx-faq summary {
  cursor: pointer;
  list-style: none;
  padding: 1rem 0;
  font-family: var(--hx-font-display);
  font-weight: 650;
  font-size: 1.02rem;
}

.hx-faq summary::-webkit-details-marker {
  display: none;
}

.hx-faq summary::after {
  content: "+";
  float: right;
  color: var(--hx-accent);
  font-weight: 700;
}

.hx-faq details[open] summary::after {
  content: "–";
}

.hx-faq details p {
  color: var(--hx-muted);
  padding: 0 0 1.05rem;
  font-size: 0.94rem;
}

/* ---------- Contact ---------- */
.hx-contact-card {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.9fr);
  gap: 1.5rem;
  padding: clamp(1.6rem, 4vw, 2.4rem);
  border-radius: calc(var(--hx-radius) + 6px);
  border: 1px solid rgba(184, 240, 58, 0.28);
  background:
    radial-gradient(600px 280px at 0% 0%, rgba(184, 240, 58, 0.12), transparent 60%),
    var(--hx-surface);
}

.hx-contact-copy h2 {
  font-size: clamp(1.7rem, 3.6vw, 2.5rem);
  margin: 0.45rem 0 0.85rem;
}

.hx-contact-copy > p {
  color: var(--hx-muted);
  margin-bottom: 1.35rem;
  max-width: 34rem;
}

.hx-contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.hx-contact-meta {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.85rem;
  align-content: center;
}

.hx-contact-meta li {
  display: grid;
  gap: 0.15rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--hx-line);
  font-size: 0.95rem;
}

.hx-contact-meta li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.hx-contact-meta span {
  font-family: var(--hx-font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--hx-muted);
}

.hx-contact-meta a {
  color: var(--hx-accent);
  text-decoration: none;
}

.hx-contact-meta a:hover {
  text-decoration: underline;
}

/* ---------- Footer ---------- */
.hx-footer {
  width: var(--hx-container);
  margin: 0 auto;
  padding: 1.6rem 0 2.4rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.5rem;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--hx-line);
  color: var(--hx-muted);
  font-size: 0.86rem;
}

.hx-footer strong {
  color: var(--hx-ink);
  font-family: var(--hx-font-display);
}

.hx-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

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

.hx-footer a:hover {
  color: var(--hx-accent);
}

.hx-footer-copy {
  width: 100%;
  margin: 0;
  font-size: 0.78rem;
}

/* ---------- Reveal / motion ---------- */
.hx-reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s ease;
  transition-delay: var(--d, 0ms);
}

.hx-reveal.is-in {
  opacity: 1;
  transform: none;
}

.hx-hero-anim .hx-kicker,
.hx-hero-anim .hx-brand-hero,
.hx-hero-anim h1,
.hx-hero-anim .hx-hero-lede,
.hx-hero-anim .hx-hero-ctas,
.hx-hero-anim .hx-hero-stats {
  opacity: 0;
  transform: translateY(22px);
  animation: hx-rise 0.85s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.hx-hero-anim .hx-kicker { animation-delay: 0.05s; }
.hx-hero-anim .hx-brand-hero { animation-delay: 0.14s; }
.hx-hero-anim h1 { animation-delay: 0.24s; }
.hx-hero-anim .hx-hero-lede { animation-delay: 0.34s; }
.hx-hero-anim .hx-hero-ctas { animation-delay: 0.44s; }
.hx-hero-anim .hx-hero-stats { animation-delay: 0.54s; }

@keyframes hx-rise {
  to {
    opacity: 1;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hx-reveal,
  .hx-hero-anim .hx-kicker,
  .hx-hero-anim .hx-brand-hero,
  .hx-hero-anim h1,
  .hx-hero-anim .hx-hero-lede,
  .hx-hero-anim .hx-hero-ctas,
  .hx-hero-anim .hx-hero-stats {
    opacity: 1;
    transform: none;
    animation: none;
    transition: none;
  }
  .hx-marquee-track { animation: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .hx-service-row {
    grid-template-columns: 3.5rem minmax(0, 1fr);
  }

  .hx-service-row ul {
    grid-column: 2;
  }

  .hx-partner-grid,
  .hx-why-panel,
  .hx-regions,
  .hx-stack-grid,
  .hx-quotes {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hx-process {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .hx-outcomes {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hx-lead,
  .hx-contact-card {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 860px) {
  .hx-nav {
    position: fixed;
    inset: 66px 0.8rem auto;
    flex-direction: column;
    align-items: stretch;
    gap: 0.2rem;
    background: var(--hx-surface);
    border: 1px solid var(--hx-line-strong);
    border-radius: 16px;
    padding: 0.7rem;
    box-shadow: var(--hx-shadow);
    display: none;
    z-index: 120;
  }

  .hx-nav.is-open {
    display: flex;
  }

  .hx-nav a {
    padding: 0.85rem 0.95rem;
    border-radius: 12px;
  }

  .hx-nav-toggle {
    display: inline-flex;
  }

  .hx-header-cta {
    display: none;
  }

  .hx-nav-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 90;
    background: rgba(0, 0, 0, 0.55);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
  }

  .hx-nav-backdrop.is-visible {
    opacity: 1;
    pointer-events: auto;
  }
}

@media (max-width: 720px) {
  .hx-hero-stats,
  .hx-partner-grid,
  .hx-why-panel,
  .hx-process,
  .hx-regions,
  .hx-stack-grid,
  .hx-quotes,
  .hx-outcomes {
    grid-template-columns: 1fr;
  }

  .hx-service-row {
    grid-template-columns: 1fr;
    gap: 0.55rem;
  }

  .hx-service-row ul {
    grid-column: auto;
  }

  .hx-hero-ctas,
  .hx-contact-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .hx-btn {
    width: 100%;
  }

  .hx-footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .hx-brand-hero {
    font-size: clamp(2.4rem, 16vw, 3.6rem);
  }
}
