/* ==========================================================================
   Home — gilded landing page inside a full-screen section with its own scroller.
   Design language: "TensuraLabs Gilded" — dark ink surfaces, cream/gold accents,
   serif display type, chamfered parchment CTAs, ornamental rules (Silver-Palace-inspired).
   Scroll-driven effects are fed by core/scroll-fx.js (--p) and pages/home.js (--hero-p).
   ========================================================================== */
.page-home {
  --hx-bg: var(--surface, #0a0c1e);
  --hx-line: rgba(201, 166, 90, 0.22);
  --hx-line-soft: rgba(255, 255, 255, 0.08);
  --hx-text: #ece9df;
  --hx-cream: #efe6cd;
  --hx-dim: #a8a99f;
  --hx-radius: 18px;
  --hx-chamfer: 14px;
  --hero-p: 0;
  background: #05060d;
  color: var(--hx-text);
}
.home-scroll {
  position: absolute; inset: 0;
  overflow-x: hidden; overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin; scrollbar-color: rgba(201, 166, 90, 0.4) transparent;
  -webkit-overflow-scrolling: touch;
}
.home-scroll::-webkit-scrollbar { width: 8px; }
.home-scroll::-webkit-scrollbar-thumb { background: rgba(201, 166, 90, 0.35); border-radius: 8px; }
.hx-container { width: min(1180px, 100% - clamp(32px, 8vw, 120px)); margin-inline: auto; }

/* Reveal primitives ------------------------------------------------------ */
.page-home [data-reveal] {
  opacity: 0; transform: translate3d(0, 28px, 0);
  transition: opacity 0.7s var(--ease-out), transform 0.8s var(--ease-out);
  transition-delay: var(--d, 0ms);
}
.page-home [data-reveal="left"] { transform: translate3d(-36px, 0, 0); }
.page-home [data-reveal="right"] { transform: translate3d(36px, 0, 0); }
.page-home [data-reveal="scale"] { transform: scale(0.94); }
.page-home [data-reveal].is-visible { opacity: 1; transform: none; }
.no-reveal .page-home [data-reveal] { opacity: 1; transform: none; transition: none; }

.page-home [data-anim] { opacity: 0; transform: translate3d(0, 26px, 0); transition: opacity 0.8s var(--ease-out), transform 0.9s var(--ease-out); }
.page-home.is-entered [data-anim] { opacity: 1; transform: none; }
.page-home.is-entered .hx-hero__copy > :nth-child(2) { transition-delay: 0.07s; }
.page-home.is-entered .hx-hero__copy > :nth-child(3) { transition-delay: 0.14s; }
.page-home.is-entered .hx-hero__copy > :nth-child(4) { transition-delay: 0.21s; }
.page-home.is-entered .hx-hero__copy > :nth-child(5) { transition-delay: 0.28s; }
.page-home.is-entered .hx-hero__copy > :nth-child(6) { transition-delay: 0.35s; }
.page-home.is-entered .hx-deploy { transition-delay: 0.4s; }
.page-home.is-entered .hx-stats { transition-delay: 0.48s; }

/* Buttons — parchment chamfer (primary) / gilded glass (ghost) ------------ */
.hx-btn {
  position: relative; isolation: isolate;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 30px;
  font-weight: 700; font-size: 15px; letter-spacing: 0.02em; white-space: nowrap;
  clip-path: polygon(var(--hx-chamfer) 0, calc(100% - var(--hx-chamfer)) 0, 100% 50%, calc(100% - var(--hx-chamfer)) 100%, var(--hx-chamfer) 100%, 0 50%);
  transition: transform 0.25s var(--ease-out), box-shadow 0.3s, background 0.3s, color 0.3s, filter 0.3s;
}
.hx-btn svg { width: 17px; height: 17px; transition: transform 0.3s var(--ease-out); }
.hx-btn:hover svg { transform: translate(3px, -1px); }
.hx-btn:active { transform: scale(0.97); }
.hx-btn--primary {
  color: #241d12;
  background: linear-gradient(180deg, var(--gold-bright, #f0dfae) 0%, var(--cream-2, #e8d7ab) 45%, var(--gold, #c9a65a) 100%);
  box-shadow: 0 12px 32px rgba(201, 166, 90, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.7);
}
.hx-btn--primary:hover { transform: translateY(-2px); box-shadow: 0 16px 42px rgba(201, 166, 90, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.7); filter: brightness(1.04); }
.hx-btn--primary::after {
  content: ''; position: absolute; inset: 4px 12px; pointer-events: none;
  border-top: 1px solid rgba(138, 111, 56, 0.4); border-bottom: 1px solid rgba(138, 111, 56, 0.4);
}
.hx-btn--ghost {
  color: var(--hx-cream);
  background: rgba(16, 17, 28, 0.6);
  box-shadow: inset 0 0 0 1px var(--hx-line);
  backdrop-filter: blur(8px);
}
.hx-btn--ghost:hover { background: rgba(24, 25, 40, 0.75); box-shadow: inset 0 0 0 1px rgba(201, 166, 90, 0.55); }
.hx-btn--light {
  color: #fbf6ea;
  background: linear-gradient(180deg, #1c2140, #0d1124);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4), inset 0 0 0 1px rgba(201, 166, 90, 0.45);
}
.hx-btn--light:hover { transform: translateY(-2px); box-shadow: 0 18px 42px rgba(0, 0, 0, 0.5), inset 0 0 0 1px rgba(201, 166, 90, 0.75); }

/* Hero --------------------------------------------------------------------- */
.hx-hero {
  position: relative; isolation: isolate;
  min-height: calc(100 * var(--vh));
  display: flex; flex-direction: column; justify-content: center; gap: clamp(28px, 4vh, 48px);
  padding: calc(var(--header-top) + var(--header-h) + clamp(28px, 6vh, 72px)) 0 clamp(80px, 12vh, 120px);
  overflow: hidden;
}
.hx-hero__bg { position: absolute; inset: 0; z-index: -1; background: var(--hx-bg); }
.hx-hero__kv-wrap { position: absolute; inset: -4%; will-change: transform; }
.hx-hero__kv {
  width: 100%; height: 100%; object-fit: cover; object-position: 66% 42%;
  transform: scale(calc(1.04 + var(--hero-p) * 0.1)) translate3d(0, calc(var(--hero-p) * 6%), 0);
}
/* "Breathing" light without animating filter (which repaints the full-bleed image every frame):
   a dark overlay's opacity is animated instead — compositor-only. */
.hx-hero__kv-wrap::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: #04050d; opacity: 0.1;
  animation: kv-breathe 16s ease-in-out infinite alternate;
}
.no-parallax .hx-hero__kv { transform: none; }
@keyframes kv-breathe { from { opacity: 0.12; } to { opacity: 0; } }
.hx-hero__aurora {
  position: absolute; inset: -20% -10% auto; height: 90%;
  background:
    radial-gradient(40% 50% at 18% 30%, rgba(201, 166, 90, 0.22), transparent 70%),
    radial-gradient(35% 45% at 42% 8%, rgba(var(--accent-rgb, 94, 168, 255), 0.24), transparent 70%);
  will-change: transform;
  animation: aurora 18s ease-in-out infinite alternate;
  mix-blend-mode: screen;
}
@keyframes aurora { from { transform: translate3d(-3%, 0, 0) rotate(-2deg); } to { transform: translate3d(4%, 3%, 0) rotate(3deg); } }
.hx-hero__grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(232, 215, 171, 0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(232, 215, 171, 0.05) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(80% 70% at 30% 40%, #000 20%, transparent 75%);
  mask-image: radial-gradient(80% 70% at 30% 40%, #000 20%, transparent 75%);
  transform: translate3d(0, calc(var(--hero-p) * -40px), 0);
}
.hx-hero__shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(5, 6, 16, 0.92) 0%, rgba(5, 6, 16, 0.7) 38%, rgba(5, 6, 16, 0.15) 70%, rgba(5, 6, 16, 0.35) 100%),
    linear-gradient(180deg, rgba(5, 6, 16, 0.5) 0%, transparent 22%, transparent 70%, #05060d 100%),
    radial-gradient(120% 90% at 50% 45%, transparent 55%, rgba(3, 4, 10, 0.55) 100%);
}
.home-bubbles { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.hx-hero__grain { position: absolute; inset: 0; pointer-events: none; opacity: 0.5; }

.hx-hero__inner { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr); align-items: center; gap: clamp(24px, 4vw, 64px); }
.hx-hero__copy {
  display: grid; justify-items: start; gap: 22px;
  transform: translate3d(0, calc(var(--hero-p) * -70px), 0);
  opacity: calc(1 - var(--hero-p) * 1.3);
}
.hx-announce {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 5px 16px 5px 6px;
  font-size: 13px; font-weight: 700; color: var(--hx-cream);
  background: rgba(16, 17, 28, 0.55); box-shadow: inset 0 0 0 1px var(--hx-line);
  backdrop-filter: blur(10px);
  transition: background 0.25s, box-shadow 0.25s;
}
.hx-announce b {
  padding: 3px 12px; font-size: 11px; letter-spacing: 0.14em; color: #241d12;
  background: linear-gradient(180deg, var(--gold-bright, #f0dfae), var(--gold, #c9a65a));
}
.hx-announce svg { width: 12px; height: 12px; opacity: 0.7; transition: transform 0.25s var(--ease-out); }
.hx-announce:hover { background: rgba(24, 25, 40, 0.7); box-shadow: inset 0 0 0 1px rgba(201, 166, 90, 0.6); }
.hx-announce:hover svg { transform: translateX(3px); }
.hx-eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--font-mono); font-size: 12px; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--gold, #c9a65a);
}
.hx-eyebrow::before, .hx-eyebrow::after { content: ''; width: 5px; height: 5px; background: var(--gold, #c9a65a); transform: rotate(45deg); }
.hx-eyebrow::before { opacity: 0.55; }
.hx-pulse { position: relative; width: 8px; height: 8px; border-radius: 50%; background: #5ef0b0; box-shadow: 0 0 10px #5ef0b0; }
.hx-pulse::after { content: ''; position: absolute; inset: -4px; border-radius: 50%; border: 1px solid #5ef0b0; animation: pulse-ring 2.2s var(--ease-out) infinite; }
@keyframes pulse-ring { from { transform: scale(0.6); opacity: 1; } to { transform: scale(2); opacity: 0; } }
.hx-hero__title {
  max-width: 100%;
  font-family: var(--font-serif); font-weight: 700;
  font-size: clamp(38px, min(5.2vw, 9vh), 76px); line-height: 1.08; letter-spacing: 0.002em;
  color: var(--hx-cream); text-wrap: balance;
  text-shadow: 0 2px 30px rgba(0, 0, 0, 0.45);
}
/* Three stable rows: lead · rotating word · tail. The rotating row reserves the longest word,
   so the headline height never changes while words rotate. */
.hx-hero__title > span { display: block; }
.hx-rotator {
  --rot-fit: 1;
  position: relative; display: block;
  font-size: calc(1em * var(--rot-fit)); line-height: 1.1;
  white-space: nowrap;
}
.hx-rotator__stack {
  display: inline-grid; justify-items: start; vertical-align: top;
  /* Room for descenders (p, g, y) inside the clipping box without changing the line box. */
  padding-bottom: 0.12em; margin-bottom: -0.12em;
  overflow: hidden; contain: layout paint;
}
.hx-rotator__word {
  grid-area: 1 / 1;
  background: linear-gradient(100deg, var(--gold-bright, #f0dfae) 0%, var(--gold, #c9a65a) 55%, #a5813f 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  opacity: 0; transform: translate3d(0, 105%, 0);
  transition: opacity 0.45s var(--ease-out), transform 0.7s var(--ease-out);
}
.hx-rotator__word.is-active { opacity: 1; transform: none; }
.hx-rotator__word.is-leaving { opacity: 0; transform: translate3d(0, -105%, 0); }
.hx-hero__tail { color: var(--hx-cream); }
.hx-hero__lead { max-width: 37em; font-size: clamp(15px, 1.25vw, 18px); line-height: 1.7; color: #b9bab0; text-wrap: pretty; }
.hx-hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 6px; }
.hx-trust { display: flex; align-items: center; gap: 12px; font-size: 13px; font-weight: 600; color: var(--hx-dim); }
.hx-trust__dots { display: flex; }
.hx-trust__dots i {
  width: 26px; height: 26px; margin-left: -8px; border-radius: 50%;
  border: 2px solid #0a0c1e;
  background: linear-gradient(135deg, var(--cream-2, #e8d7ab), var(--gold, #c9a65a));
}
.hx-trust__dots i:first-child { margin-left: 0; background: linear-gradient(135deg, #5ef0b0, #3fd1c7); }
.hx-trust__dots i:nth-child(3) { background: linear-gradient(135deg, #ffb86b, #ff7a59); }
.hx-trust__dots i:nth-child(4) { background: linear-gradient(135deg, #a8b6e8, #6d84d1); }

/* Glass CI/CD card */
.hx-deploy {
  justify-self: end; width: min(100%, 360px);
  padding: 16px; border-radius: 14px;
  background: linear-gradient(160deg, rgba(22, 24, 44, 0.78), rgba(10, 11, 24, 0.66));
  box-shadow: inset 0 0 0 1px var(--hx-line), 0 30px 60px rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(16px) saturate(1.2);
  font-family: var(--font-mono); font-size: 12.5px; color: #cfd3d9;
  transform: translate3d(0, calc(var(--hero-p) * -30px), 0) rotate(-1.5deg);
  animation: float-card 7s ease-in-out infinite alternate;
}
@keyframes float-card { from { translate: 0 -6px; } to { translate: 0 8px; } }
.hx-deploy__bar { display: flex; align-items: center; gap: 6px; padding-bottom: 12px; border-bottom: 1px solid var(--hx-line-soft); }
.hx-deploy__bar > i { width: 10px; height: 10px; border-radius: 50%; background: #ff6b6b; }
.hx-deploy__bar > i:nth-child(2) { background: #ffd166; }
.hx-deploy__bar > i:nth-child(3) { background: #5ef0b0; }
.hx-deploy__bar span { display: inline-flex; align-items: center; gap: 6px; margin-left: 8px; color: var(--hx-dim); }
.hx-deploy__bar svg { width: 14px; height: 14px; }
.hx-deploy__log { display: grid; gap: 10px; padding: 14px 0; }
.hx-deploy__log li { display: grid; grid-template-columns: 20px 1fr auto; align-items: center; gap: 10px; }
.hx-deploy__log b { display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: rgba(94, 240, 176, 0.15); color: #5ef0b0; }
.hx-deploy__log b svg { width: 12px; height: 12px; }
.hx-deploy__log em { font-style: normal; color: var(--hx-dim); }
.hx-deploy__log .is-running b { background: rgba(201, 166, 90, 0.18); }
.hx-deploy__log .is-running b i { width: 10px; height: 10px; border-radius: 50%; border: 2px solid var(--gold, #c9a65a); border-right-color: transparent; animation: spin 0.9s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.hx-deploy__progress { height: 6px; border-radius: 6px; background: rgba(255, 255, 255, 0.08); overflow: hidden; }
.hx-deploy__progress i { display: block; height: 100%; width: 40%; border-radius: inherit; background: linear-gradient(90deg, var(--gold, #c9a65a), var(--gold-bright, #f0dfae)); animation: deploy 3.2s var(--ease-in-out) infinite; }
@keyframes deploy { 0% { transform: translateX(-100%); } 100% { transform: translateX(260%); } }
.hx-deploy__foot { display: flex; justify-content: space-between; padding-top: 12px; color: var(--hx-dim); }
.hx-deploy__foot span { display: inline-flex; align-items: center; gap: 8px; }
.hx-dot { width: 8px; height: 8px; border-radius: 50%; background: #5ef0b0; box-shadow: 0 0 8px #5ef0b0; }

.hx-stats {
  display: grid; grid-template-columns: repeat(var(--cols, 4), minmax(0, 1fr));
  border-radius: var(--hx-radius);
  background: linear-gradient(180deg, rgba(16, 17, 28, 0.62), rgba(10, 11, 20, 0.55)); box-shadow: inset 0 0 0 1px var(--hx-line-soft);
  backdrop-filter: blur(12px);
  overflow: hidden;
}
.hx-stat { display: flex; flex-direction: column-reverse; gap: 6px; padding: clamp(16px, 2vw, 24px) clamp(16px, 2.4vw, 28px); position: relative; }
.hx-stat + .hx-stat { border-left: 1px solid var(--hx-line-soft); }
.hx-stat + .hx-stat::before { content: ''; position: absolute; left: -1px; top: 20%; bottom: 20%; width: 1px; background: linear-gradient(180deg, transparent, var(--hx-line), transparent); }
.hx-stat dd { margin: 0; font-family: var(--font-serif); font-weight: 700; font-size: clamp(24px, 2.6vw, 36px); letter-spacing: 0.01em; color: var(--hx-cream); font-variant-numeric: tabular-nums; }
.hx-stat dt { font-family: var(--font-mono); font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--hx-dim); }

.hx-scrollcue {
  position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%);
  display: grid; justify-items: center; gap: 10px; color: var(--gold, #c9a65a);
  opacity: calc(1 - var(--hero-p) * 4); transition: color 0.2s, filter 0.2s;
}
.hx-scrollcue:hover { color: var(--gold-bright, #f0dfae); filter: drop-shadow(0 0 8px rgba(201, 166, 90, 0.6)); }
.hx-scrollcue small { font-family: var(--font-mono); font-size: 10px; font-weight: 700; letter-spacing: 0.3em; text-transform: uppercase; }
.hx-scrollcue__gem { position: relative; width: 18px; height: 18px; }
.hx-scrollcue__gem::before { content: ''; position: absolute; inset: 0; background: currentColor; clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%); animation: gem-drop 1.8s var(--ease-in-out) infinite; }
.hx-scrollcue__gem::after { content: ''; position: absolute; inset: 6px 2px; background: currentColor; opacity: 0.5; clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%); }
@keyframes gem-drop { 0% { transform: translateY(-3px); opacity: 1; } 70% { transform: translateY(6px); opacity: 0.2; } 100% { transform: translateY(6px); opacity: 0; } }

/* Sections ----------------------------------------------------------------- */
.hx-section { position: relative; padding: clamp(72px, 11vh, 128px) 0; }
.hx-head { display: grid; gap: 14px; max-width: 760px; margin-bottom: clamp(36px, 5vw, 64px); }
.hx-head--center { margin-inline: auto; text-align: center; justify-items: center; }
.hx-head--center .hx-title::after { content: ''; display: block; width: clamp(120px, 16vw, 200px); height: 1px; margin: 18px auto 0; background: linear-gradient(90deg, transparent, var(--gold-line), transparent); }
.hx-kicker {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-mono); font-size: 12px; font-weight: 700; letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--gold, #c9a65a);
}
.hx-kicker::before { content: ''; width: 22px; height: 1px; background: linear-gradient(90deg, transparent, var(--gold, #c9a65a)); }
.hx-head--center .hx-kicker::after { content: ''; width: 22px; height: 1px; background: linear-gradient(90deg, var(--gold, #c9a65a), transparent); }
.hx-title { font-family: var(--font-serif); font-weight: 700; font-size: clamp(30px, 3.6vw, 50px); line-height: 1.14; letter-spacing: 0.005em; color: var(--hx-cream); text-wrap: balance; }
.hx-subtitle { font-size: clamp(15px, 1.2vw, 18px); line-height: 1.7; color: var(--hx-dim); text-wrap: pretty; }

/* Marquee */
.hx-marquee { padding: clamp(28px, 5vh, 48px) 0; border-block: 1px solid var(--hx-line); background: linear-gradient(180deg, #05060d, #070810); position: relative; }
.hx-marquee__title { margin-bottom: 18px; text-align: center; font-family: var(--font-mono); font-size: 11px; font-weight: 700; letter-spacing: 0.28em; text-transform: uppercase; color: var(--hx-dim); }
.hx-marquee__viewport {
  display: flex; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.hx-marquee__track { display: flex; flex: none; gap: 0; padding-right: 0; animation: marquee 38s linear infinite; }
.hx-marquee__viewport:hover .hx-marquee__track { animation-play-state: paused; }
.hx-marquee__track li {
  position: relative; display: flex; align-items: center; gap: 0; padding: 10px 0; white-space: nowrap;
  font-family: var(--font-serif); font-weight: 600; font-size: 17px; color: #cfc9b8;
}
.hx-marquee__track li::after { content: ''; width: 5px; height: 5px; margin: 0 26px; background: var(--gold-line); transform: rotate(45deg); }
@keyframes marquee { to { transform: translateX(-100%); } }

/* Services */
.hx-services { background: radial-gradient(60% 40% at 50% 0%, rgba(201, 166, 90, 0.07), transparent 70%), #06070f; }
.hx-grid { display: grid; gap: 18px; }
.hx-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.hx-card {
  --mx: 50%; --my: 0%;
  position: relative; isolation: isolate; overflow: hidden;
  display: grid; align-content: start; gap: 14px;
  padding: 30px 28px 28px; border-radius: var(--hx-radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.012));
  box-shadow: inset 0 0 0 1px var(--hx-line-soft);
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s;
}
.hx-card::before {
  content: ''; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity 0.4s;
  background: radial-gradient(420px circle at var(--mx) var(--my), rgba(201, 166, 90, 0.12), transparent 45%);
}
.hx-card::after {
  content: ''; position: absolute; inset: 10px; border-radius: 10px; pointer-events: none; opacity: 0; transition: opacity 0.4s;
  border: 1px solid var(--gold-line);
  -webkit-mask: linear-gradient(#000 0 0) content-box exclude; mask: none;
  background: none;
  box-shadow: none;
}
.hx-card:hover { transform: translateY(-4px); box-shadow: inset 0 0 0 1px var(--hx-line), 0 24px 48px rgba(0, 0, 0, 0.35); }
.hx-card:hover::before, .hx-card:hover::after { opacity: 1; }
.page-home .hx-card[data-reveal].is-visible:hover { transform: translateY(-4px); }
.hx-card__index { position: absolute; top: 24px; right: 28px; font-family: var(--font-serif); font-style: italic; font-weight: 600; font-size: 15px; color: var(--gold-line); transition: color 0.3s; }
.hx-card:hover .hx-card__index { color: var(--gold, #c9a65a); }
.hx-card__icon {
  display: grid; place-items: center; width: 50px; height: 50px; color: var(--gold-bright, #f0dfae);
  background: linear-gradient(160deg, rgba(201, 166, 90, 0.18), rgba(201, 166, 90, 0.06));
  box-shadow: inset 0 0 0 1px var(--hx-line);
  clip-path: polygon(11px 0, calc(100% - 11px) 0, 100% 50%, calc(100% - 11px) 100%, 11px 100%, 0 50%);
}
.hx-card__icon svg { width: 24px; height: 24px; }
.hx-card h3 { font-family: var(--font-serif); font-size: 21px; font-weight: 700; letter-spacing: 0.01em; color: var(--hx-cream); margin-top: 6px; }
.hx-card p { font-size: 15px; line-height: 1.65; color: var(--hx-dim); }
.hx-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.hx-tags li { padding: 4px 12px; font-family: var(--font-mono); font-size: 11px; font-weight: 600; letter-spacing: 0.06em; color: #b5ae97; background: rgba(201, 166, 90, 0.07); box-shadow: inset 0 0 0 1px var(--hx-line); }

/* Industries */
.hx-industries { background: #05060d; }
.hx-tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.hx-tile {
  position: relative; display: grid; align-content: start; gap: 8px;
  padding: 22px 20px 20px; border-radius: 12px;
  background: rgba(255, 255, 255, 0.02);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
  transition: background 0.35s, box-shadow 0.35s, transform 0.35s var(--ease-out);
}
.hx-tile:hover { transform: translateY(-3px); background: rgba(201, 166, 90, 0.05); box-shadow: inset 0 0 0 1px var(--hx-line); }
.hx-tile__index { font-family: var(--font-mono); font-size: 11px; font-weight: 700; letter-spacing: 0.18em; color: var(--gold-line); }
.hx-tile__icon { color: var(--gold, #c9a65a); opacity: 0.9; }
.hx-tile__icon svg { width: 26px; height: 26px; }
.hx-tile h3 { font-family: var(--font-serif); font-size: 17.5px; font-weight: 700; color: var(--hx-cream); }
.hx-tile p { font-size: 13px; line-height: 1.6; color: var(--hx-dim); }

/* Engagement models */
.hx-engagement { background: radial-gradient(50% 40% at 50% 100%, rgba(201, 166, 90, 0.06), transparent 70%), #06070f; }
.hx-plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.hx-plan {
  position: relative; display: grid; align-content: start; gap: 14px;
  padding: 30px 28px 26px; border-radius: var(--hx-radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.012));
  box-shadow: inset 0 0 0 1px var(--hx-line-soft);
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s;
}
.hx-plan:hover { transform: translateY(-4px); box-shadow: inset 0 0 0 1px var(--hx-line), 0 24px 48px rgba(0, 0, 0, 0.35); }
.hx-plan--featured {
  background:
    radial-gradient(120% 90% at 50% 0%, rgba(201, 166, 90, 0.14), transparent 60%),
    linear-gradient(180deg, rgba(28, 26, 20, 0.6), rgba(14, 13, 10, 0.5));
  box-shadow: inset 0 0 0 1px var(--hx-line);
}
.hx-plan__icon { display: grid; place-items: center; width: 50px; height: 50px; color: var(--gold-bright, #f0dfae); background: linear-gradient(160deg, rgba(201, 166, 90, 0.18), rgba(201, 166, 90, 0.06)); box-shadow: inset 0 0 0 1px var(--hx-line); clip-path: polygon(11px 0, calc(100% - 11px) 0, 100% 50%, calc(100% - 11px) 100%, 11px 100%, 0 50%); }
.hx-plan__icon svg { width: 24px; height: 24px; }
.hx-plan h3 { font-family: var(--font-serif); font-size: 21px; font-weight: 700; color: var(--hx-cream); }
.hx-plan p { font-size: 14.5px; line-height: 1.65; color: var(--hx-dim); }
.hx-plan__features { display: grid; gap: 9px; margin-top: 4px; }
.hx-plan__features li { position: relative; padding-left: 20px; font-size: 13.5px; line-height: 1.5; color: #c4beac; }
.hx-plan__features li::before { content: ''; position: absolute; left: 2px; top: 6px; width: 6px; height: 6px; background: var(--gold, #c9a65a); transform: rotate(45deg); opacity: 0.85; }
.hx-plan__cta { display: inline-flex; align-items: center; gap: 8px; margin-top: 8px; font-size: 13.5px; font-weight: 700; color: var(--gold, #c9a65a); transition: gap 0.3s var(--ease-out), color 0.2s; background: none; border: 0; padding: 0; cursor: pointer; }
.hx-plan__cta svg { width: 15px; height: 15px; }
.hx-plan__cta:hover { gap: 12px; color: var(--gold-bright, #f0dfae); }
.hx-plan__badge {
  position: absolute; top: 20px; right: 20px;
  padding: 4px 14px; font-family: var(--font-mono); font-size: 10px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase;
  color: #241d12; background: linear-gradient(180deg, var(--gold-bright, #f0dfae), var(--gold, #c9a65a));
  clip-path: polygon(6px 0, calc(100% - 6px) 0, 100% 50%, calc(100% - 6px) 100%, 6px 100%, 0 50%);
}

/* Process */
.hx-process { background: #05060d; }
.hx-steps { --p: 0; position: relative; }
.hx-steps__line { position: absolute; left: 0; right: 0; top: 23px; height: 1px; background: rgba(255, 255, 255, 0.1); }
.hx-steps__line i {
  position: absolute; inset: 0; transform-origin: left;
  transform: scaleX(calc(min(1, max(0, (var(--p) - 0.2) * 2.4))));
  background: linear-gradient(90deg, var(--gold, #c9a65a), var(--gold-bright, #f0dfae));
  box-shadow: 0 0 12px rgba(201, 166, 90, 0.45);
}
.hx-steps__list { position: relative; display: grid; grid-template-columns: repeat(var(--count, 4), minmax(0, 1fr)); gap: 22px; }
.hx-step { display: grid; align-content: start; gap: 10px; }
.hx-step__num {
  display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 8px;
  font-family: var(--font-serif); font-weight: 700; font-size: 15px; color: var(--hx-dim);
  background: #0b0c1a; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12), 0 0 0 6px #05060d;
  clip-path: polygon(12px 0, calc(100% - 12px) 0, 100% 50%, calc(100% - 12px) 100%, 12px 100%, 0 50%);
  transition: color 0.5s, background 0.5s, box-shadow 0.5s;
}
.hx-step.is-visible .hx-step__num {
  color: #241d12;
  background: linear-gradient(180deg, var(--gold-bright, #f0dfae), var(--gold, #c9a65a));
  box-shadow: 0 0 0 6px #05060d, 0 0 24px rgba(201, 166, 90, 0.4);
  transition-delay: calc(var(--d, 0ms) + 0.3s);
}
.hx-step h3 { font-family: var(--font-serif); font-size: 19px; font-weight: 700; color: var(--hx-cream); }
.hx-step p { font-size: 15px; line-height: 1.65; color: var(--hx-dim); }
.hx-step__time { justify-self: start; margin-top: 4px; padding: 4px 14px; font-family: var(--font-mono); font-size: 11px; font-weight: 700; letter-spacing: 0.1em; color: var(--gold, #c9a65a); background: rgba(201, 166, 90, 0.08); box-shadow: inset 0 0 0 1px var(--hx-line); }

/* Metrics */
.hx-metrics { padding-top: 0; background: #05060d; }
.hx-metrics__panel {
  position: relative; overflow: hidden;
  display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); align-items: center; gap: clamp(24px, 4vw, 64px);
  padding: clamp(32px, 5vw, 64px); border-radius: 24px;
  background:
    radial-gradient(60% 80% at 0% 0%, rgba(201, 166, 90, 0.1), transparent 60%),
    radial-gradient(50% 70% at 100% 100%, rgba(var(--accent-rgb, 94, 168, 255), 0.1), transparent 60%),
    #0a0b16;
  box-shadow: inset 0 0 0 1px var(--hx-line-soft);
}
.hx-metrics__head { display: grid; gap: 14px; }
.hx-metrics__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 32px; }
.hx-metric { display: grid; gap: 6px; padding-left: 18px; border-left: 2px solid var(--hx-line); }
.hx-metric dd { margin: 0; font-family: var(--font-serif); font-weight: 700; font-size: clamp(30px, 3.4vw, 48px); letter-spacing: 0.01em; color: var(--hx-cream); font-variant-numeric: tabular-nums; }
.hx-metric dt { font-size: 14px; line-height: 1.5; color: var(--hx-dim); }

/* Assurance strip */
.hx-assurance { background: #06070f; }
.hx-assurance__panel {
  position: relative;
  display: grid; grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr));
  gap: 0;
  padding: clamp(24px, 3vw, 40px) clamp(20px, 3vw, 36px);
  border-radius: var(--hx-radius);
  background: linear-gradient(180deg, rgba(16, 17, 28, 0.6), rgba(10, 11, 20, 0.5));
  box-shadow: inset 0 0 0 1px var(--hx-line-soft);
  backdrop-filter: blur(10px);
}
.hx-assurance__item { position: relative; display: grid; grid-template-columns: auto 1fr; column-gap: 16px; align-items: start; padding: 18px 22px; }
.hx-assurance__item + .hx-assurance__item::before { content: ''; position: absolute; left: 0; top: 22%; bottom: 22%; width: 1px; background: linear-gradient(180deg, transparent, var(--hx-line), transparent); }
.hx-assurance__icon { display: grid; place-items: center; width: 46px; height: 46px; color: var(--gold, #c9a65a); background: rgba(201, 166, 90, 0.08); box-shadow: inset 0 0 0 1px var(--hx-line); clip-path: polygon(10px 0, calc(100% - 10px) 0, 100% 50%, calc(100% - 10px) 100%, 10px 100%, 0 50%); }
.hx-assurance__icon svg { width: 22px; height: 22px; }
.hx-assurance__item h3 { font-family: var(--font-serif); font-size: 16.5px; font-weight: 700; color: var(--hx-cream); margin-bottom: 5px; }
.hx-assurance__item p { font-size: 13.5px; line-height: 1.55; color: var(--hx-dim); }

/* Testimonials */
.hx-testimonials { background: #05060d; }
.hx-quotes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.hx-quote {
  --mx: 50%; --my: 0%;
  position: relative; display: grid; align-content: space-between; gap: 22px; margin: 0;
  padding: 28px; border-radius: var(--hx-radius);
  background: radial-gradient(360px circle at var(--mx) var(--my), rgba(201, 166, 90, 0.08), transparent 50%), rgba(255, 255, 255, 0.025);
  box-shadow: inset 0 0 0 1px var(--hx-line-soft);
}
.hx-quote__mark { width: 34px; height: 34px; color: var(--gold, #c9a65a); opacity: 0.9; }
.hx-quote blockquote { margin: 0; font-family: var(--font-serif); font-size: 16.5px; line-height: 1.75; color: #ded9c8; }
.hx-quote figcaption { display: flex; align-items: center; gap: 12px; padding-top: 16px; border-top: 1px solid var(--hx-line-soft); }
.hx-quote figcaption span:last-child { display: grid; gap: 2px; }
.hx-quote b { font-size: 15px; color: var(--hx-cream); }
.hx-quote small { font-size: 13px; color: var(--hx-dim); }
.hx-avatar { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; font-family: var(--font-serif); font-weight: 700; font-size: 14px; color: #241d12; background: linear-gradient(135deg, var(--gold-bright, #f0dfae), var(--gold, #c9a65a)); box-shadow: 0 0 0 2px rgba(201, 166, 90, 0.25); }

/* FAQ */
.hx-faq { background: #06070f; }
.hx-faq__layout { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
.hx-faq__intro { display: grid; justify-items: start; gap: 8px; }
.hx-faq__intro .hx-head { margin-bottom: 18px; }
.hx-accordion { display: grid; gap: 12px; }
.hx-acc { border-radius: 12px; background: rgba(255, 255, 255, 0.025); box-shadow: inset 0 0 0 1px var(--hx-line-soft); transition: background 0.3s, box-shadow 0.3s; }
.hx-acc.is-open { background: rgba(201, 166, 90, 0.05); box-shadow: inset 0 0 0 1px var(--hx-line); }
.hx-acc h3 { margin: 0; }
.hx-acc__q { display: flex; align-items: center; justify-content: space-between; gap: 16px; width: 100%; padding: 20px 22px; text-align: left; font-family: var(--font-serif); font-size: 16.5px; font-weight: 700; color: var(--hx-cream); }
.hx-acc__q i { display: grid; place-items: center; flex: none; width: 30px; height: 30px; color: var(--gold, #c9a65a); background: rgba(201, 166, 90, 0.08); box-shadow: inset 0 0 0 1px var(--hx-line); transition: transform 0.4s var(--ease-out), background 0.3s; clip-path: polygon(7px 0, calc(100% - 7px) 0, 100% 50%, calc(100% - 7px) 100%, 7px 100%, 0 50%); }
.hx-acc__q i svg { width: 15px; height: 15px; }
.hx-acc.is-open .hx-acc__q i { transform: rotate(180deg); background: rgba(201, 166, 90, 0.2); }
.hx-acc__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.45s var(--ease-out); }
.hx-acc.is-open .hx-acc__a { grid-template-rows: 1fr; }
.hx-acc__a > div { overflow: hidden; }
.hx-acc__a p { padding: 0 22px 22px; font-size: 15px; line-height: 1.7; color: var(--hx-dim); }

/* CTA — grand parchment banner with ornamental frame */
.hx-cta { padding-top: 0; background: #05060d; }
.hx-cta__card {
  --p: 0;
  position: relative; overflow: hidden; isolation: isolate;
  display: grid; justify-items: center; gap: 18px; text-align: center;
  padding: clamp(44px, 7vw, 88px) clamp(22px, 5vw, 64px);
  color: #241d12;
  background:
    radial-gradient(110% 90% at 50% 0%, rgba(255, 250, 235, 0.7), transparent 55%),
    radial-gradient(80% 60% at 90% 100%, rgba(138, 111, 56, 0.16), transparent 60%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.55 0 0 0 0 0.45 0 0 0 0 0.28 0 0 0 .06 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"),
    linear-gradient(180deg, #f3ead4, #e2d0a4);
  box-shadow: inset 0 0 0 1px rgba(138, 111, 56, 0.4), inset 0 0 0 8px rgba(243, 234, 212, 0.55), inset 0 0 0 9px rgba(138, 111, 56, 0.35), inset 0 0 0 10px rgba(243, 234, 212, 0.55), 0 40px 90px rgba(0, 0, 0, 0.55);
}
.hx-cta__glow { display: none; }
.hx-cta__card .ornament { color: var(--gold-ink, #8a6f38); width: clamp(140px, 24vw, 240px); }
.hx-cta__card h2 { max-width: 16em; font-family: var(--font-serif); font-weight: 700; font-size: clamp(30px, 4vw, 54px); line-height: 1.12; color: #241d12; text-wrap: balance; }
.hx-cta__card p { max-width: 36em; font-size: clamp(15px, 1.25vw, 18px); line-height: 1.65; color: #5c4d2e; }
.hx-cta__actions { margin-top: 6px; }
.hx-channels { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 12px; }
.hx-channels a {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px;
  font-size: 13px; font-weight: 700; color: #4a3d22;
  background: rgba(36, 29, 18, 0.06); box-shadow: inset 0 0 0 1px rgba(138, 111, 56, 0.35);
  transition: background 0.25s, box-shadow 0.25s;
}
.hx-channels a:hover { background: rgba(36, 29, 18, 0.12); box-shadow: inset 0 0 0 1px rgba(138, 111, 56, 0.6); }
.hx-channels svg { width: 16px; height: 16px; }

/* Footer */
.hx-footer { padding: clamp(56px, 8vh, 88px) 0 calc(28px + env(safe-area-inset-bottom)); border-top: 1px solid var(--hx-line); background: linear-gradient(180deg, #05060d, #04050a); position: relative; }
.hx-footer::before { content: ''; position: absolute; top: -1px; left: 50%; width: 160px; height: 1px; transform: translateX(-50%); background: linear-gradient(90deg, transparent, var(--gold, #c9a65a), transparent); }
.hx-footer__grid { display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr)); gap: 36px; }
.hx-footer__brand { display: grid; justify-items: start; gap: 16px; }
.hx-footer__brand .logo { font-size: 22px; }
.hx-footer__brand .logo__mark { width: 24px; height: 24px; }
.hx-footer__brand p { max-width: 30em; font-size: 14px; line-height: 1.7; color: var(--hx-dim); }
.hx-footer h3 { margin-bottom: 14px; font-family: var(--font-serif); font-size: 13px; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold, #c9a65a); }
.hx-footer ul { display: grid; gap: 10px; }
.hx-footer li a, .hx-footer li > span { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; color: var(--hx-dim); transition: color 0.2s; }
.hx-footer li a:hover { color: var(--hx-cream); }
.hx-footer__contact svg { flex: none; width: 16px; height: 16px; color: var(--gold, #c9a65a); }
.hx-footer__contact span { overflow-wrap: anywhere; }
.hx-footer__socials { display: flex !important; gap: 10px !important; }
.hx-footer__socials a { display: grid; place-items: center; width: 38px; height: 38px; color: #b3ae9a; background: rgba(255, 255, 255, 0.03); box-shadow: inset 0 0 0 1px var(--hx-line-soft); transition: color 0.25s, background 0.25s, box-shadow 0.25s; }
.hx-footer__socials a:hover { color: var(--gold-bright, #f0dfae); background: rgba(201, 166, 90, 0.1); box-shadow: inset 0 0 0 1px var(--hx-line); }
.hx-footer__socials svg { width: 17px; height: 17px; }
.hx-footer__bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--hx-line-soft); font-size: 13px; color: #7d7f78; }
.hx-footer__next { display: inline-flex; align-items: center; gap: 10px; padding: 9px 16px; font-size: 13px; font-weight: 700; color: var(--hx-cream); background: rgba(255, 255, 255, 0.03); box-shadow: inset 0 0 0 1px var(--hx-line-soft); transition: background 0.25s, box-shadow 0.25s; }
.hx-footer__next:hover { background: rgba(201, 166, 90, 0.1); box-shadow: inset 0 0 0 1px var(--hx-line); }
.hx-footer__next svg { width: 14px; height: 14px; color: var(--gold, #c9a65a); animation: hint-bounce 1.8s var(--ease-in-out) infinite; }
@keyframes hint-bounce { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(4px); } }

/* Responsive ------------------------------------------------------------- */
@media (max-width: 1100px) {
  .hx-grid--3, .hx-quotes, .hx-plans { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hx-tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hx-assurance__panel { --cols: 2; }
  .hx-assurance__item:nth-child(3)::before { display: none; }
  .hx-footer__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hx-footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 900px) {
  .hx-hero__inner { grid-template-columns: minmax(0, 1fr); }
  .hx-deploy { display: none; }
  .hx-stats { --cols: 2; }
  .hx-stat:nth-child(3) { border-left: 0; }
  .hx-stat:nth-child(3)::before { display: none; }
  .hx-stat:nth-child(n + 3) { border-top: 1px solid var(--hx-line-soft); }
  .hx-metrics__panel, .hx-faq__layout { grid-template-columns: minmax(0, 1fr); }
  .hx-steps__line { left: 23px; right: auto; top: 0; bottom: 0; width: 1px; height: auto; }
  .hx-steps__line i { transform-origin: top; transform: scaleY(calc(min(1, max(0, (var(--p) - 0.15) * 1.6)))); }
  .hx-steps__list { grid-template-columns: minmax(0, 1fr); gap: 30px; }
  .hx-step { grid-template-columns: 48px minmax(0, 1fr); column-gap: 18px; }
  .hx-step__num { grid-row: span 3; margin-bottom: 0; }
  .hx-step > :not(.hx-step__num) { grid-column: 2; }
}
@media (max-width: 768px) {
  .hx-hero { padding-top: calc(var(--header-h) + env(safe-area-inset-top) + 28px); justify-content: flex-start; }
  .hx-hero__shade { background: linear-gradient(180deg, rgba(5, 6, 16, 0.78) 0%, rgba(5, 6, 16, 0.65) 45%, rgba(5, 6, 16, 0.85) 80%, #05060d 100%), radial-gradient(120% 90% at 50% 45%, transparent 55%, rgba(3, 4, 10, 0.55) 100%); }
  .hx-hero__kv { object-position: 72% 40%; }
  .hx-hero__copy { gap: 18px; }
  .hx-hero__title { font-size: clamp(34px, 10vw, 48px); }
  .hx-hero__actions { width: 100%; }
  .hx-hero__actions .hx-btn { flex: 1 1 100%; }
  .hx-grid--3, .hx-plans { grid-template-columns: minmax(0, 1fr); }
  .hx-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hx-card { padding: 26px 22px 24px; }
  .hx-quotes {
    grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 86%;
    overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; margin-inline: -4px; padding-inline: 4px;
    scrollbar-width: none;
  }
  .hx-quotes::-webkit-scrollbar { display: none; }
  .hx-quote { scroll-snap-align: center; }
  .hx-metrics__grid { gap: 22px; }
  .hx-assurance__panel { --cols: 1; }
  .hx-assurance__item { grid-template-columns: 1fr; gap: 10px; }
  .hx-assurance__item + .hx-assurance__item { border-top: 1px solid var(--hx-line-soft); padding-top: 22px; }
  .hx-assurance__item + .hx-assurance__item::before { display: none; }
  .hx-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
  /* Long e-mail / address lines get the full width instead of breaking mid-word. */
  .hx-footer__col--legal { order: 1; }
  .hx-footer__col--contact { order: 2; grid-column: 1 / -1; }
  .hx-footer__contact span { overflow-wrap: break-word; }
  .hx-footer__bottom { justify-content: center; text-align: center; }
  .hx-scrollcue { display: none; }
}
@media (max-width: 420px) {
  .hx-metrics__grid { grid-template-columns: minmax(0, 1fr); }
  .hx-tiles { grid-template-columns: minmax(0, 1fr); }
  .hx-stat dd { font-size: 24px; }
}
/* Short desktop/laptop screens (e.g. 1366×768): keep the headline, CTAs and stats above the fold. */
@media (min-width: 769px) and (max-height: 920px) {
  .hx-trust { display: none; }
  .hx-hero { gap: 22px; padding-top: calc(var(--header-top) + var(--header-h) + 24px); padding-bottom: 56px; }
  .hx-hero__copy { gap: 16px; }
  .hx-hero__title { font-size: clamp(36px, min(4.6vw, 7.6vh), 64px); }
  .hx-hero__lead { font-size: 15.5px; line-height: 1.6; }
  .hx-hero__actions { margin-top: 2px; }
  .hx-btn { min-height: 48px; }
  .hx-stat { padding-block: 14px; }
  .hx-scrollcue { display: none; }
}
/* Touch / small screens: backdrop blur over a moving page is the most expensive effect on mobile GPUs. */
@media (max-width: 768px), (hover: none) {
  .hx-btn--ghost, .hx-announce { backdrop-filter: none; -webkit-backdrop-filter: none; background: rgba(20, 21, 34, 0.85); }
  .hx-deploy { backdrop-filter: none; -webkit-backdrop-filter: none; background: linear-gradient(160deg, rgba(22, 24, 44, 0.94), rgba(10, 11, 24, 0.9)); }
  .hx-stats { backdrop-filter: none; -webkit-backdrop-filter: none; background: rgba(10, 11, 20, 0.86); }
  .hx-assurance__panel { backdrop-filter: none; -webkit-backdrop-filter: none; background: rgba(10, 11, 20, 0.86); }
  .hx-hero__aurora { mix-blend-mode: normal; opacity: 0.8; }
}
@media (prefers-reduced-motion: reduce) {
  .page-home [data-reveal], .page-home [data-anim] { opacity: 1 !important; transform: none !important; }
  .hx-hero__kv-wrap::after, .hx-hero__aurora { animation: none; }
  .hx-marquee__track { animation: none; }
  .hx-hero__copy, .hx-deploy { transform: none; opacity: 1; }
}

/* Service card CTA & offline fallback ----------------------------------- */
.hx-card__cta {
  justify-self: start; display: inline-flex; align-items: center; gap: 6px; margin-top: 6px;
  font-size: 13.5px; font-weight: 700; color: var(--gold, #c9a65a);
  transition: gap 0.3s var(--ease-out), color 0.2s;
}
.hx-card__cta svg { width: 15px; height: 15px; }
.hx-card__cta:hover { gap: 10px; color: var(--gold-bright, #f0dfae); }
.hx-offline { position: absolute; inset: 0; display: grid; place-items: center; padding: 24px; }
