/* ==========================================================================
   HeyHI â€” Public landing
   A dark, editorial intelligence system. Built for Algorithm Innovations.
   ========================================================================== */

/* --------------------------------------------------------------------------
   01. Local type
   -------------------------------------------------------------------------- */
@font-face {
  font-family: "MangoGrotesque";
  src: url("../../fonts/MangoGrotesque/MangoGrotesque-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "MangoGrotesque";
  src: url("../../fonts/MangoGrotesque/MangoGrotesque-SemiBold.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "MangoGrotesque";
  src: url("../../fonts/MangoGrotesque/MangoGrotesque-Medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "ClashDisplay";
  src: url("../../fonts/ClashDisplay/ClashDisplay-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "ClashDisplay";
  src: url("../../fonts/ClashDisplay/ClashDisplay-Semibold.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "ClashDisplay";
  src: url("../../fonts/ClashDisplay/ClashDisplay-Medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Platform";
  src: url("../../fonts/Platform/Platform-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Platform";
  src: url("../../fonts/Platform/Platform-Medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Platform";
  src: url("../../fonts/Platform/Platform-Light.woff2") format("woff2");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

/* --------------------------------------------------------------------------
   02. Tokens + reset
   -------------------------------------------------------------------------- */
:root {
  color-scheme: dark;
  --hh-bg: #0a0612;
  --hh-bg-2: #0e0818;
  --hh-bg-3: #120a20;
  --hh-panel: #150c26;
  --hh-panel-2: #1c1033;
  --hh-ink: #08030f;
  --hh-on-dark: #f4efff;
  --hh-text: #f4efff;
  --hh-muted: rgba(232, 222, 255, 0.62);
  --hh-muted-2: rgba(232, 222, 255, 0.4);
  --hh-muted-3: rgba(232, 222, 255, 0.22);
  --hh-line: rgba(180, 140, 255, 0.13);
  --hh-line-2: rgba(180, 140, 255, 0.24);
  --hh-gold: #f5a800;
  --hh-gold-deep: #d68f00;
  --hh-purple: #6a00d6;
  --hh-lavender: #c4b5fd;
  --hh-coral: #f59e0b;
  --hh-amber: #ffc24d;
  --hh-green: #d8b4fe;
  --hh-red: #a855f7;

  --hh-font-display: "MangoGrotesque", "ClashDisplay", "Arial Narrow", sans-serif;
  --hh-font-head: "ClashDisplay", "MangoGrotesque", sans-serif;
  --hh-font-body: "Platform", "Segoe UI", sans-serif;
  --hh-font-mono: "JetBrains Mono", ui-monospace, monospace;

  --hh-ease: cubic-bezier(0.22, 0.78, 0.24, 1);
  --hh-radius: 8px;
  --hh-radius-lg: 18px;
  --hh-nav-h: 84px;
  --hh-gutter: 40px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--hh-bg);
  color: var(--hh-text);
  font-family: var(--hh-font-body);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body.is-locked {
  overflow: hidden;
}

h1, h2, h3, h4, p, figure, blockquote, dl, dd {
  margin: 0;
}

ul, ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

svg {
  display: block;
}

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

::selection {
  background: var(--hh-gold);
  color: var(--hh-ink);
}

:focus-visible {
  outline: 2px solid var(--hh-gold);
  outline-offset: 3px;
}

html::-webkit-scrollbar {
  width: 10px;
}
html::-webkit-scrollbar-track {
  background: #08030f;
}
html::-webkit-scrollbar-thumb {
  background: #1b2436;
  border-radius: 99px;
  border: 2px solid #08030f;
}

section[id] {
  scroll-margin-top: 96px;
}

.hh-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.hh-container {
  width: min(1280px, calc(100% - var(--hh-gutter) * 2));
  margin-inline: auto;
}

.ic {
  width: 18px;
  height: 18px;
  flex: none;
}

.hh-accent {
  color: var(--hh-gold);
}

/* --------------------------------------------------------------------------
   03. Chrome: cursor, grain, progress, skip
   -------------------------------------------------------------------------- */
.hh-skip {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 10001;
  padding: 10px 16px;
  background: var(--hh-gold);
  color: var(--hh-ink);
  font-size: 0.78rem;
  font-weight: 500;
  border-radius: 6px;
  transform: translateY(-160%);
  transition: transform 0.25s var(--hh-ease);
}
.hh-skip:focus {
  transform: translateY(0);
}

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

.hh-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  z-index: 10000;
  background: var(--hh-gold);
  transform: scaleX(0);
  transform-origin: 0 50%;
  will-change: transform;
}

.hh-cursor {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.hh-cursor.is-visible {
  opacity: 1;
}
.hh-cursor-ring {
  position: absolute;
  top: 0;
  left: 0;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(245, 168, 0, 0.55);
  border-radius: 50%;
  transform: translate3d(-50%, -50%, 0);
  transition: width 0.25s var(--hh-ease), height 0.25s var(--hh-ease),
    background-color 0.25s ease, border-color 0.25s ease;
}
.hh-cursor-dot {
  position: absolute;
  top: 0;
  left: 0;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--hh-gold);
  transform: translate3d(-50%, -50%, 0);
}
.hh-cursor.is-hover .hh-cursor-ring {
  width: 58px;
  height: 58px;
  background: rgba(245, 168, 0, 0.08);
  border-color: rgba(245, 168, 0, 0.8);
}
/* Keep the native OS cursor always visible so the user never loses track of it */
body.hh-cursor-on a,
body.hh-cursor-on button,
body.hh-cursor-on summary {
  cursor: pointer;
}
body.hh-cursor-on input,
body.hh-cursor-on textarea {
  cursor: text;
}

/* --------------------------------------------------------------------------
   04. Buttons + labels
   -------------------------------------------------------------------------- */
.hh-btn {
  --btn-bg: transparent;
  --btn-fg: var(--hh-text);
  --btn-bd: transparent;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 46px;
  padding: 0 20px;
  border: 1px solid var(--btn-bd);
  border-radius: var(--hh-radius);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-family: var(--hh-font-body);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.11em;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
  transition: background-color 0.28s var(--hh-ease), color 0.28s var(--hh-ease),
    border-color 0.28s var(--hh-ease), transform 0.28s var(--hh-ease),
    box-shadow 0.28s var(--hh-ease);
}
.hh-btn .ic {
  width: 16px;
  height: 16px;
  transition: transform 0.3s var(--hh-ease);
}
.hh-btn:hover .ic {
  transform: translateX(3px);
}
.hh-btn-lime {
  --btn-bg: var(--hh-gold);
  --btn-fg: var(--hh-ink);
}
.hh-btn-lime:hover {
  --btn-bg: #ffc233;
  box-shadow: 0 12px 40px rgba(245, 168, 0, 0.22);
}
.hh-btn-ghost {
  --btn-bd: var(--hh-line-2);
  --btn-fg: var(--hh-text);
}
.hh-btn-ghost:hover {
  --btn-bg: rgba(255, 255, 255, 0.06);
  --btn-bd: rgba(255, 255, 255, 0.32);
}
.hh-btn-dark {
  --btn-bg: var(--hh-ink);
  --btn-fg: var(--hh-on-dark);
}
.hh-btn-dark:hover {
  --btn-bg: #4b00a8;
  --btn-fg: #ffffff;
}
.hh-btn-dark-ghost {
  --btn-bd: rgba(20, 6, 31, 0.28);
  --btn-fg: var(--hh-ink);
}
.hh-btn-dark-ghost:hover {
  --btn-bg: rgba(20, 6, 31, 0.08);
}
.hh-btn-sm {
  height: 40px;
  padding: 0 16px;
  font-size: 0.66rem;
}
.hh-btn-lg {
  height: 54px;
  padding: 0 26px;
  font-size: 0.74rem;
}
.hh-btn-block {
  width: 100%;
}
.hh-magnetic {
  will-change: transform;
}

.hh-section-label {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 26px;
  color: var(--hh-muted);
  font-family: var(--hh-font-body);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.hh-section-label span {
  display: inline-grid;
  place-items: center;
  min-width: 26px;
  height: 22px;
  padding: 0 5px;
  border: 1px solid rgba(245, 168, 0, 0.28);
  border-radius: 4px;
  color: var(--hh-gold);
  font-family: var(--hh-font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.04em;
}

.hh-section-title {
  font-family: var(--hh-font-display);
  font-size: clamp(2.8rem, 5.2vw, 5.2rem);
  font-weight: 700;
  line-height: 0.92;
  letter-spacing: -0.01em;
}

.hh-display {
  font-family: var(--hh-font-display);
  font-size: clamp(4rem, 9.2vw, 9.4rem);
  font-weight: 700;
  line-height: 0.82;
  letter-spacing: -0.015em;
}

/* --------------------------------------------------------------------------
   05. Header + navigation
   -------------------------------------------------------------------------- */
.hh-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 900;
  border-bottom: 1px solid transparent;
  transition: transform 0.45s var(--hh-ease), background-color 0.35s ease,
    border-color 0.35s ease, backdrop-filter 0.35s ease;
}
.hh-header.is-scrolled {
  background: rgba(10, 6, 18, 0.84);
  border-bottom-color: var(--hh-line);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}
.hh-header.is-hidden {
  transform: translateY(-105%);
}

.hh-nav {
  width: min(1440px, 100%);
  height: var(--hh-nav-h);
  margin-inline: auto;
  padding: 0 var(--hh-gutter);
  display: flex;
  align-items: center;
  gap: 34px;
}

.hh-brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  flex: none;
}
.hh-logo {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--hh-line-2);
  border-radius: 8px;
  color: var(--hh-text);
  background: rgba(255, 255, 255, 0.02);
}
.hh-wordmark {
  font-family: var(--hh-font-head);
  font-size: 1.24rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.hh-brand-sub {
  max-width: 108px;
  padding-left: 12px;
  border-left: 1px solid var(--hh-line-2);
  color: var(--hh-muted-2);
  font-size: 0.52rem;
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.hh-nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
  margin-left: auto;
}
.hh-nav-links a {
  position: relative;
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  padding: 6px 0;
  color: var(--hh-muted);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color 0.25s ease;
}
.hh-nav-links a span {
  color: rgba(245, 168, 0, 0.55);
  font-family: var(--hh-font-mono);
  font-size: 0.52rem;
}
.hh-nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: var(--hh-gold);
  transform: scaleX(0);
  transform-origin: 100% 50%;
  transition: transform 0.35s var(--hh-ease);
}
.hh-nav-links a:hover {
  color: var(--hh-text);
}
.hh-nav-links a:hover::after {
  transform: scaleX(1);
  transform-origin: 0 50%;
}

.hh-nav-actions {
  display: flex;
  align-items: center;
  gap: 18px;
}
.hh-nav-signin {
  color: var(--hh-muted);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: color 0.25s ease;
}
.hh-nav-signin:hover {
  color: var(--hh-text);
}

.hh-burger {
  display: none;
  position: relative;
  width: 42px;
  height: 42px;
  border: 1px solid var(--hh-line-2);
  border-radius: 8px;
}
.hh-burger span {
  position: absolute;
  left: 12px;
  width: 17px;
  height: 1.5px;
  background: var(--hh-text);
  transition: transform 0.35s var(--hh-ease), top 0.35s var(--hh-ease);
}
.hh-burger span:first-child {
  top: 17px;
}
.hh-burger span:last-child {
  top: 23px;
}
.hh-burger.is-open span:first-child {
  top: 20px;
  transform: rotate(45deg);
}
.hh-burger.is-open span:last-child {
  top: 20px;
  transform: rotate(-45deg);
}

/* Drawer */
.hh-drawer {
  position: fixed;
  inset: 0;
  z-index: 880;
  background: #0a0612;
  transform: translateY(-100%);
  visibility: hidden;
  transition: transform 0.55s var(--hh-ease), visibility 0.55s;
}
.hh-drawer.is-open {
  transform: translateY(0);
  visibility: visible;
}
.hh-drawer-inner {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  padding: calc(var(--hh-nav-h) + 30px) 24px 34px;
  overflow-y: auto;
}
.hh-drawer nav a {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding: 18px 0;
  border-bottom: 1px solid var(--hh-line);
  font-family: var(--hh-font-display);
  font-size: clamp(2rem, 8vw, 3rem);
  font-weight: 600;
  line-height: 1;
}
.hh-drawer nav a span {
  color: var(--hh-gold);
  font-family: var(--hh-font-mono);
  font-size: 0.62rem;
}
.hh-drawer-actions {
  display: grid;
  gap: 10px;
  padding-top: 34px;
}

/* --------------------------------------------------------------------------
   06. Hero
   -------------------------------------------------------------------------- */
.hh-hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: calc(var(--hh-nav-h) + 56px) 0 26px;
  overflow: hidden;
  isolation: isolate;
}

.hh-canvas {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  opacity: 0.6;
  -webkit-mask-image: linear-gradient(to bottom, #000 62%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 62%, transparent 100%);
  pointer-events: none;
}

.hh-hero-glow {
  position: absolute;
  z-index: 0;
  top: 2%;
  right: -12%;
  width: 62vw;
  height: 62vw;
  max-width: 880px;
  max-height: 880px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(106, 0, 214, 0.28) 0%, rgba(106, 0, 214, 0.08) 38%, transparent 68%);
  filter: blur(26px);
  pointer-events: none;
}

.hh-hero-lines {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.032) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.032) 1px, transparent 1px);
  background-size: 88px 88px;
  -webkit-mask-image: radial-gradient(circle at 55% 42%, #000 0%, transparent 72%);
  mask-image: radial-gradient(circle at 55% 42%, #000 0%, transparent 72%);
  pointer-events: none;
}

.hh-hero-grid {
  position: relative;
  z-index: 2;
  flex: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  align-items: center;
  gap: 30px;
}

.hh-hero-copy {
  position: relative;
  z-index: 3;
  max-width: 660px;
}

.hh-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 30px;
  padding: 7px 12px 7px 9px;
  border: 1px solid var(--hh-line);
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.025);
  color: var(--hh-muted);
  font-size: 0.63rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.hh-live-dot {
  position: relative;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--hh-gold);
  box-shadow: 0 0 0 0 rgba(245, 168, 0, 0.5);
  animation: hh-pulse 2.6s infinite;
}

.hh-hero-lede {
  max-width: 54ch;
  margin-top: 32px;
  color: var(--hh-muted);
  font-size: 1.02rem;
  font-weight: 400;
  line-height: 1.72;
}

.hh-hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 34px;
}

.hh-hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  margin-top: 30px;
  color: var(--hh-muted-2);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.hh-hero-trust li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.hh-hero-trust li span {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--hh-gold);
}

/* Hero visual */
.hh-hero-visual {
  position: relative;
  width: 100%;
  max-width: 560px;
  margin-left: auto;
  padding: 20px 0 40px;
}

.hh-core {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  max-width: 540px;
  margin-inline: auto;
}

.hh-core-halo {
  position: absolute;
  inset: -14%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(106, 0, 214, 0.32) 0%, rgba(106, 0, 214, 0.1) 42%, transparent 68%);
  filter: blur(22px);
  animation: hh-halo 7s ease-in-out infinite;
}

.hh-core-ring {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.hh-ring-1 {
  inset: 0;
  border: 1px dashed rgba(196, 181, 253, 0.18);
  animation: hh-spin 70s linear infinite;
}
.hh-ring-2 {
  inset: 11%;
  border: 1px solid rgba(245, 168, 0, 0.18);
  animation: hh-spin-rev 48s linear infinite;
}
.hh-ring-3 {
  inset: 22%;
  border: 1px dashed rgba(255, 255, 255, 0.1);
  animation: hh-spin 36s linear infinite;
}

.hh-core-sphere {
  position: absolute;
  inset: 30%;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(245, 168, 0, 0.26);
  background: radial-gradient(circle at 34% 28%, #5b21b6 0%, #1e0a38 48%, #08030f 100%);
  box-shadow: 0 0 90px rgba(106, 0, 214, 0.38), inset 0 0 70px rgba(106, 0, 214, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
  overflow: hidden;
}
.hh-core-sphere::before {
  content: "";
  position: absolute;
  inset: 8%;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.06);
}
.hh-core-mono {
  position: relative;
  z-index: 2;
  font-family: var(--hh-font-display);
  font-size: clamp(4.4rem, 9vw, 8rem);
  font-weight: 700;
  line-height: 1;
  color: var(--hh-text);
  text-shadow: 0 0 40px rgba(245, 168, 0, 0.28);
  transform: translateY(-2%);
}
.hh-core-mono::after {
  content: "";
  position: absolute;
  top: 12%;
  right: -10px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--hh-gold);
  box-shadow: 0 0 14px rgba(245, 168, 0, 0.9);
}
.hh-core-meta {
  position: absolute;
  top: 12%;
  left: 0;
  right: 0;
  z-index: 2;
  text-align: center;
  color: rgba(244, 239, 255, 0.5);
  font-family: var(--hh-font-mono);
  font-size: 0.48rem;
  letter-spacing: 0.24em;
}
.hh-core-scan {
  position: absolute;
  left: -20%;
  right: -20%;
  top: -40%;
  height: 34%;
  background: linear-gradient(to bottom, transparent, rgba(245, 168, 0, 0.12), transparent);
  animation: hh-scan 5.5s ease-in-out infinite;
}

.hh-node {
  position: absolute;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid var(--hh-line-2);
  border-radius: 50%;
  background: rgba(22, 12, 40, 0.82);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  color: var(--hh-text);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
  animation: hh-float 6s ease-in-out infinite;
}
.hh-node b {
  font-family: var(--hh-font-head);
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}
.hh-node::after {
  content: "";
  position: absolute;
  inset: -5px;
  border-radius: 50%;
  border: 1px solid rgba(245, 168, 0, 0.14);
}
.hh-node-1 { top: 4%; left: 45%; animation-delay: -0.4s; }
.hh-node-2 { top: 21%; right: 2%; animation-delay: -1.8s; }
.hh-node-3 { top: 43%; right: -1%; animation-delay: -3.1s; }
.hh-node-4 { bottom: 8%; left: 28%; animation-delay: -2.2s; }
.hh-node-5 { bottom: 20%; left: 2%; animation-delay: -4.2s; }
.hh-node-6 { top: 21%; left: 2%; animation-delay: -5.1s; }

/* Live chat card */
.hh-hero-chat {
  position: absolute;
  right: -4%;
  bottom: 2%;
  z-index: 4;
  width: 332px;
  border: 1px solid var(--hh-line-2);
  border-radius: 16px;
  background: rgba(12, 7, 24, 0.92);
  -webkit-backdrop-filter: blur(22px);
  backdrop-filter: blur(22px);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  overflow: hidden;
}
.hh-chat-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 14px;
  border-bottom: 1px solid var(--hh-line);
  background: rgba(255, 255, 255, 0.02);
}
.hh-chat-avatar {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  flex: none;
  border-radius: 9px;
  background: linear-gradient(135deg, #6a00d6, #c4b5fd);
  color: #08030f;
  font-family: var(--hh-font-head);
  font-size: 0.68rem;
  font-weight: 700;
}
.hh-chat-id {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.hh-chat-id strong {
  font-family: var(--hh-font-head);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.hh-chat-id small {
  color: var(--hh-muted-2);
  font-size: 0.58rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.hh-chat-live {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-left: auto;
  color: var(--hh-gold);
  font-family: var(--hh-font-mono);
  font-size: 0.52rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.hh-chat-live i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--hh-gold);
  animation: hh-pulse 2.4s infinite;
}
.hh-chat-body {
  padding: 15px 14px 13px;
}
.hh-chat-user {
  margin-bottom: 12px;
  padding-left: 10px;
  border-left: 2px solid rgba(255, 255, 255, 0.14);
  color: var(--hh-muted);
  font-size: 0.76rem;
  font-style: italic;
  line-height: 1.5;
  transition: opacity 0.3s ease;
}
.hh-chat-ai {
  color: rgba(244, 239, 255, 0.88);
  font-size: 0.79rem;
  line-height: 1.62;
  transition: opacity 0.3s ease;
}
.hh-chat-ai code {
  padding: 1px 4px;
  border: 1px solid var(--hh-line);
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--hh-gold);
  font-family: var(--hh-font-mono);
  font-size: 0.72em;
}
.hh-chat-typing {
  display: inline-flex;
  gap: 4px;
  margin-top: 10px;
  padding: 8px 11px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
}
.hh-chat-typing[hidden] {
  display: none;
}
.hh-chat-typing i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--hh-muted);
  animation: hh-blink 1.2s infinite;
}
.hh-chat-typing i:nth-child(2) { animation-delay: 0.18s; }
.hh-chat-typing i:nth-child(3) { animation-delay: 0.36s; }
.hh-chat-foot {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 10px 14px;
  border-top: 1px solid var(--hh-line);
  color: var(--hh-muted-2);
  font-family: var(--hh-font-mono);
  font-size: 0.5rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.hh-ladder {
  display: inline-flex;
  gap: 3px;
  flex: 1;
}
.hh-ladder i {
  flex: 1;
  height: 3px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.12);
}
.hh-ladder i.is-on {
  background: var(--hh-gold);
}

.hh-hero-chip {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 13px;
  border: 1px solid var(--hh-line-2);
  border-radius: 10px;
  background: rgba(12, 7, 24, 0.8);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
  animation: hh-float 7s ease-in-out infinite;
}
.hh-hero-chip .ic {
  width: 17px;
  height: 17px;
  color: var(--hh-gold);
}
.hh-hero-chip span:not(.hh-chip-pulse) {
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.hh-hero-chip b {
  font-family: var(--hh-font-head);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}
.hh-hero-chip small {
  color: var(--hh-muted-2);
  font-size: 0.54rem;
  letter-spacing: 0.04em;
}
.hh-chip-a {
  top: 5%;
  right: -5%;
  animation-delay: -2.2s;
}
.hh-chip-b {
  bottom: 33%;
  left: -7%;
  animation-delay: -4.4s;
}
.hh-chip-pulse {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--hh-gold);
  box-shadow: 0 0 0 0 rgba(245, 168, 0, 0.5);
  animation: hh-pulse 2.4s infinite;
}

.hh-hero-foot {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 26px;
  border-top: 1px solid var(--hh-line);
}
.hh-scroll-cue {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--hh-muted-2);
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: color 0.25s ease;
}
.hh-scroll-cue:hover {
  color: var(--hh-text);
}
.hh-scroll-line {
  position: relative;
  width: 1px;
  height: 26px;
  background: var(--hh-line-2);
  overflow: hidden;
}
.hh-scroll-line::after {
  content: "";
  position: absolute;
  top: -100%;
  left: 0;
  width: 1px;
  height: 60%;
  background: var(--hh-gold);
  animation: hh-scroll-line 2s ease-in-out infinite;
}
.hh-hero-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--hh-muted-2);
  font-family: var(--hh-font-mono);
  font-size: 0.56rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.hh-hero-status i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--hh-gold);
  animation: hh-pulse 2.6s infinite;
}

/* --------------------------------------------------------------------------
   07. Ticker
   -------------------------------------------------------------------------- */
.hh-ticker {
  position: relative;
  overflow: hidden;
  padding: 20px 0;
  border-top: 1px solid var(--hh-line);
  border-bottom: 1px solid var(--hh-line);
  background: #08030f;
}
.hh-ticker-track {
  display: flex;
  align-items: center;
  gap: 38px;
  width: max-content;
  animation: hh-marquee 42s linear infinite;
}
.hh-ticker:hover .hh-ticker-track {
  animation-play-state: paused;
}
.hh-ticker-track span {
  font-family: var(--hh-font-display);
  font-size: 2.1rem;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.01em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(244, 239, 255, 0.26);
  white-space: nowrap;
}
.hh-ticker-track span.is-fill {
  color: var(--hh-text);
  -webkit-text-stroke: 0;
}
.hh-ticker-track i {
  color: var(--hh-gold);
  font-style: normal;
  font-size: 0.9rem;
}

/* --------------------------------------------------------------------------
   08. Idea / manifesto
   -------------------------------------------------------------------------- */
.hh-idea {
  position: relative;
  padding: 170px 0 160px;
  background: var(--hh-bg-2);
}
.hh-idea::before {
  content: "";
  position: absolute;
  top: 20%;
  left: -10%;
  width: 46vw;
  height: 46vw;
  max-width: 620px;
  max-height: 620px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(106, 0, 214, 0.12), transparent 66%);
  filter: blur(30px);
  pointer-events: none;
}
.hh-idea-grid {
  position: relative;
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 40px;
}
.hh-idea .hh-section-label {
  position: sticky;
  top: 120px;
  align-self: start;
}
.hh-manifesto {
  max-width: 1020px;
  font-family: var(--hh-font-display);
  font-size: clamp(2.6rem, 5.4vw, 5.4rem);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -0.01em;
}
.hh-manifesto .word {
  will-change: opacity;
}
.hh-idea-note {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  max-width: 520px;
  margin-top: 54px;
}
.hh-note-line {
  width: 44px;
  height: 1px;
  margin-top: 11px;
  flex: none;
  background: var(--hh-gold);
}
.hh-idea-note p {
  color: var(--hh-muted);
  font-size: 0.9rem;
  line-height: 1.7;
}
.hh-idea-principles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 54px;
  padding-top: 22px;
  border-top: 1px solid var(--hh-line);
}
.hh-idea-principles span {
  display: flex;
  align-items: baseline;
  gap: 10px;
  color: var(--hh-muted);
  font-family: var(--hh-font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.hh-idea-principles b {
  color: var(--hh-gold);
  font-size: 0.5rem;
  font-weight: 500;
}

/* --------------------------------------------------------------------------
   09. Agents â€” pinned horizontal rail
   -------------------------------------------------------------------------- */
.hh-agents {
  position: relative;
  background: var(--hh-bg-3);
}
.hh-agents-pin {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 96px 0 24px;
  overflow: hidden;
}
.hh-agents-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 26px;
}
.hh-agents-head .hh-section-title {
  font-size: clamp(2.6rem, 3.4vw, 3.4rem);
  line-height: 0.96;
}
.hh-agents-hint {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 8px;
  color: var(--hh-muted-2);
  font-family: var(--hh-font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
}
.hh-agents-hint .ic {
  width: 15px;
  height: 15px;
  color: var(--hh-gold);
}
.hh-hint-line {
  width: 54px;
  height: 1px;
  background: linear-gradient(90deg, var(--hh-line-2), var(--hh-gold));
}

.hh-agents-viewport {
  position: relative;
  overflow: hidden;
}
.hh-agents-viewport::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  z-index: 2;
  width: 110px;
  height: 100%;
  background: linear-gradient(to right, transparent, var(--hh-bg-3));
  pointer-events: none;
}
.hh-agents-track {
  display: flex;
  gap: 20px;
  width: max-content;
  padding-left: max(var(--hh-gutter), calc((100vw - 1280px) / 2));
  padding-right: 10vw;
  will-change: transform;
}
.hh-agent {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 380px;
  min-height: 500px;
  padding: 24px;
  border: 1px solid var(--hh-line);
  border-radius: var(--hh-radius-lg);
  background: linear-gradient(160deg, #1a1030 0%, #0d0718 68%);
  overflow: hidden;
  transition: border-color 0.35s ease, transform 0.35s var(--hh-ease),
    box-shadow 0.35s ease;
}
.hh-agent::before {
  content: "";
  position: absolute;
  top: -30%;
  right: -30%;
  width: 70%;
  height: 70%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(106, 0, 214, 0.16), transparent 68%);
  pointer-events: none;
}
.hh-agent:hover {
  border-color: rgba(245, 168, 0, 0.38);
  transform: translateY(-5px);
  box-shadow: 0 26px 60px rgba(0, 0, 0, 0.42);
}
.hh-agent-featured {
  border-color: rgba(245, 168, 0, 0.28);
  background: linear-gradient(160deg, #152033 0%, #0d0718 62%);
}
.hh-agent-featured::before {
  background: radial-gradient(circle, rgba(245, 168, 0, 0.14), transparent 68%);
}
.hh-agent-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.hh-agent-index {
  color: var(--hh-muted-2);
  font-family: var(--hh-font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.08em;
}
.hh-agent-chip {
  padding: 5px 8px;
  border: 1px solid var(--hh-line-2);
  border-radius: 4px;
  font-family: var(--hh-font-mono);
  font-size: 0.52rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}
.hh-chip-lime { color: var(--hh-gold); border-color: rgba(245, 168, 0, 0.3); background: rgba(245, 168, 0, 0.06); }
.hh-chip-sky { color: var(--hh-lavender); border-color: rgba(196, 181, 253, 0.28); background: rgba(196, 181, 253, 0.06); }
.hh-chip-amber { color: var(--hh-amber); border-color: rgba(255, 194, 77, 0.28); background: rgba(255, 194, 77, 0.06); }
.hh-chip-coral { color: var(--hh-coral); border-color: rgba(255, 106, 77, 0.28); background: rgba(255, 106, 77, 0.06); }
.hh-chip-red { color: var(--hh-red); border-color: rgba(255, 93, 93, 0.28); background: rgba(255, 93, 93, 0.06); }
.hh-chip-green { color: var(--hh-green); border-color: rgba(74, 222, 128, 0.28); background: rgba(74, 222, 128, 0.06); }

.hh-agent-avatar {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  margin-top: 18px;
  border-radius: 13px;
  color: #08030f;
  font-family: var(--hh-font-head);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35);
}
.hh-av-blue { background: linear-gradient(135deg, #c4b5fd, #6a00d6); }
.hh-av-sky { background: linear-gradient(135deg, #ede9fe, #a855f7); }
.hh-av-amber { background: linear-gradient(135deg, #ffe2a8, #f5a800); }
.hh-av-coral { background: linear-gradient(135deg, #ffd6a8, #f59e0b); }
.hh-av-red { background: linear-gradient(135deg, #d8b4fe, #7e22ce); }
.hh-av-green { background: linear-gradient(135deg, #fef3c7, #d68f00); }

.hh-agent h3 {
  margin-top: 12px;
  font-family: var(--hh-font-display);
  font-size: 1.95rem;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.01em;
}
.hh-agent-role {
  display: block;
  margin-top: 5px;
  color: var(--hh-muted-2);
  font-family: var(--hh-font-mono);
  font-size: 0.54rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}
.hh-agent p {
  margin-top: 10px;
  color: var(--hh-muted);
  font-size: 0.82rem;
  line-height: 1.55;
}
.hh-agent p em {
  color: var(--hh-text);
  font-style: normal;
}
.hh-agent blockquote {
  margin-top: 12px;
  padding-left: 12px;
  border-left: 1px solid rgba(245, 168, 0, 0.42);
  color: rgba(244, 239, 255, 0.78);
  font-size: 0.74rem;
  line-height: 1.5;
}
.hh-agent blockquote code {
  padding: 1px 4px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--hh-gold);
  font-family: var(--hh-font-mono);
  font-size: 0.72em;
}
.hh-agent-specs {
  margin-top: 12px;
  border-top: 1px solid var(--hh-line);
}
.hh-agent-specs div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 6px 0;
  border-bottom: 1px solid var(--hh-line);
}
.hh-agent-specs dt {
  color: var(--hh-muted-2);
  font-family: var(--hh-font-mono);
  font-size: 0.52rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.hh-agent-specs dd {
  color: rgba(244, 239, 255, 0.78);
  font-size: 0.7rem;
  text-align: right;
}
.hh-agent-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid var(--hh-line);
  color: var(--hh-text);
  font-family: var(--hh-font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color 0.25s ease;
}
.hh-agent-link .ic {
  width: 15px;
  height: 15px;
  transition: transform 0.3s var(--hh-ease);
}
.hh-agent-link:hover {
  color: var(--hh-gold);
}
.hh-agent-link:hover .ic {
  transform: translate(2px, -2px);
}

.hh-agent-end {
  justify-content: center;
  background: var(--hh-gold);
  border-color: var(--hh-gold);
  color: var(--hh-ink);
}
.hh-agent-end::before {
  background: radial-gradient(circle, rgba(255, 255, 255, 0.35), transparent 68%);
}
.hh-agent-end .hh-agent-index {
  color: rgba(20, 6, 31, 0.45);
  font-size: 1.4rem;
}
.hh-agent-end h3 {
  margin-top: 20px;
  font-size: 2.8rem;
  line-height: 0.95;
}
.hh-agent-end p {
  color: rgba(20, 6, 31, 0.68);
  font-size: 0.9rem;
}
.hh-agent-end .hh-btn {
  margin-top: 28px;
  align-self: flex-start;
}

.hh-agents-foot {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 22px;
}
.hh-agents-progress {
  position: relative;
  width: 210px;
  height: 2px;
  background: rgba(255, 255, 255, 0.1);
  overflow: hidden;
}
.hh-agents-progress i {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--hh-gold);
  transform: scaleX(0);
  transform-origin: 0 50%;
  will-change: transform;
}
.hh-agents-count {
  color: var(--hh-muted-2);
  font-family: var(--hh-font-mono);
  font-size: 0.54rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.hh-agents.is-static .hh-agents-viewport {
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: thin;
}
.hh-agents.is-static .hh-agents-track {
  padding-bottom: 16px;
}

/* --------------------------------------------------------------------------
   10. Built in â€” bento
   -------------------------------------------------------------------------- */
.hh-built {
  position: relative;
  padding: 170px 0 160px;
  background: var(--hh-bg);
}
.hh-built-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 52px;
}
.hh-built-lede {
  max-width: 390px;
  padding-bottom: 6px;
  color: var(--hh-muted);
  font-size: 0.94rem;
  line-height: 1.7;
}

.hh-bento {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.hh-bento-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 270px;
  padding: 28px;
  border: 1px solid var(--hh-line);
  border-radius: var(--hh-radius-lg);
  background: linear-gradient(160deg, #160d28 0%, #0e0818 72%);
  overflow: hidden;
  transition: border-color 0.35s ease, transform 0.35s var(--hh-ease);
}
.hh-bento-card::after {
  content: "";
  position: absolute;
  top: -40%;
  right: -30%;
  width: 75%;
  height: 75%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(106, 0, 214, 0.16), transparent 68%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}
.hh-bento-card:hover {
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-3px);
}
.hh-bento-card:hover::after {
  opacity: 1;
}
.hh-bento-wide {
  grid-column: span 2;
}
.hh-bento-wide:last-child {
  grid-column: span 3;
}
.hh-bento-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.hh-bento-icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--hh-line-2);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.025);
  color: var(--hh-gold);
}
.hh-bento-icon .ic {
  width: 17px;
  height: 17px;
}
.hh-bento-tag {
  color: var(--hh-muted-2);
  font-family: var(--hh-font-mono);
  font-size: 0.52rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.hh-bento-card h3 {
  margin-top: 22px;
  font-family: var(--hh-font-display);
  font-size: 1.95rem;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.01em;
}
.hh-bento-card p {
  max-width: 46ch;
  margin-top: 10px;
  color: var(--hh-muted);
  font-size: 0.85rem;
  line-height: 1.62;
}

.hh-age-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: auto;
  padding-top: 22px;
}
.hh-age-chips span {
  padding: 6px 9px;
  border: 1px solid var(--hh-line);
  border-radius: 4px;
  color: var(--hh-muted);
  font-size: 0.66rem;
  line-height: 1;
}
.hh-age-chips span:nth-child(-n + 3) {
  border-color: rgba(245, 168, 0, 0.28);
  color: var(--hh-gold);
  background: rgba(245, 168, 0, 0.04);
}

.hh-approval {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 4px 12px;
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid var(--hh-line);
}
.hh-approval-label {
  color: rgba(244, 239, 255, 0.82);
  font-size: 0.74rem;
}
.hh-toggle {
  position: relative;
  width: 42px;
  height: 23px;
  border: 1px solid rgba(245, 168, 0, 0.4);
  border-radius: 99px;
  background: rgba(245, 168, 0, 0.12);
}
.hh-toggle i {
  position: absolute;
  top: 3px;
  right: 3px;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: var(--hh-gold);
  box-shadow: 0 0 10px rgba(245, 168, 0, 0.45);
}
.hh-approval-state {
  grid-column: 1 / -1;
  color: var(--hh-muted-2);
  font-family: var(--hh-font-mono);
  font-size: 0.52rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hh-layers {
  position: relative;
  height: 106px;
  margin-top: auto;
}
.hh-layer {
  position: absolute;
  left: 0;
  display: flex;
  align-items: center;
  width: 82%;
  height: 42px;
  padding: 0 13px;
  border: 1px solid var(--hh-line-2);
  border-radius: 7px;
  background: #1c1233;
  color: var(--hh-muted);
  font-family: var(--hh-font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.06em;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
}
.hh-layer::after {
  content: "";
  position: absolute;
  right: 12px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--hh-gold);
}
.hh-layer.l1 { top: 0; left: 0; }
.hh-layer.l2 { top: 30px; left: 9%; }
.hh-layer.l3 { top: 60px; left: 18%; }

.hh-router {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: auto;
  padding-top: 20px;
}
.hh-router span {
  padding: 6px 9px;
  border: 1px solid var(--hh-line-2);
  border-radius: 4px;
  color: rgba(244, 239, 255, 0.8);
  font-family: var(--hh-font-mono);
  font-size: 0.6rem;
}
.hh-router span:first-child {
  border-color: rgba(245, 168, 0, 0.32);
  color: var(--hh-gold);
}
.hh-router i {
  color: var(--hh-muted-2);
  font-style: normal;
  font-size: 0.7rem;
}
.hh-router-note {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
  color: var(--hh-muted-2);
  font-family: var(--hh-font-mono);
  font-size: 0.5rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.hh-router-note i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--hh-gold);
  animation: hh-pulse 2.6s infinite;
}

.hh-ladder-list {
  margin-top: auto;
  padding-top: 18px;
  counter-reset: rung;
}
.hh-ladder-list li {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 4px 0;
  color: var(--hh-muted);
  font-size: 0.72rem;
  counter-increment: rung;
}
.hh-ladder-list li::before {
  content: "0" counter(rung);
  color: var(--hh-muted-3);
  font-family: var(--hh-font-mono);
  font-size: 0.52rem;
}
.hh-ladder-list li::after {
  content: "";
  position: absolute;
  left: 17px;
  bottom: -2px;
  width: 1px;
  height: 6px;
  background: var(--hh-line);
}
.hh-ladder-list li:last-child {
  color: var(--hh-gold);
}
.hh-ladder-list li:last-child::after {
  display: none;
}

.hh-meter-copy {
  max-width: 560px;
}
.hh-meter {
  display: flex;
  align-items: flex-end;
  gap: 34px;
  margin-top: auto;
  padding-top: 26px;
}
.hh-meter-bars {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  width: 100%;
  max-width: 300px;
  height: 78px;
}
.hh-meter-bars i {
  flex: 1;
  height: var(--h);
  border-radius: 2px 2px 0 0;
  background: linear-gradient(to top, rgba(106, 0, 214, 0.6), var(--hh-gold));
  opacity: 0.85;
}
.hh-meter-bars i:last-child {
  opacity: 1;
  box-shadow: 0 0 18px rgba(245, 168, 0, 0.3);
}
.hh-meter-stat {
  flex: none;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.hh-meter-stat strong {
  font-family: var(--hh-font-display);
  font-size: 2.3rem;
  font-weight: 600;
  line-height: 1;
  color: var(--hh-gold);
}
.hh-meter-stat span {
  color: var(--hh-muted-2);
  font-family: var(--hh-font-mono);
  font-size: 0.52rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* --------------------------------------------------------------------------
   11. Platform stack
   -------------------------------------------------------------------------- */
.hh-platform {
  position: relative;
  padding: 165px 0 150px;
  background: var(--hh-bg-2);
}
.hh-platform-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 54px;
}
.hh-platform-head p {
  max-width: 380px;
  padding-bottom: 6px;
  color: var(--hh-muted);
  font-size: 0.94rem;
  line-height: 1.7;
}

.hh-stack {
  border-top: 1px solid var(--hh-line-2);
}
.hh-stack-row {
  position: relative;
  display: grid;
  grid-template-columns: 58px minmax(0, 1.1fr) minmax(0, 1.45fr) auto 48px;
  align-items: center;
  gap: 26px;
  padding: 34px 0;
  border-bottom: 1px solid var(--hh-line);
  transition: padding-left 0.35s var(--hh-ease), background-color 0.35s ease;
}
.hh-stack-row::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(106, 0, 214, 0.08), transparent 55%);
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}
.hh-stack-row:hover {
  padding-left: 14px;
}
.hh-stack-row:hover::before {
  opacity: 1;
}
.hh-stack-num {
  color: var(--hh-muted-3);
  font-family: var(--hh-font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.08em;
}
.hh-stack-name h3 {
  font-family: var(--hh-font-display);
  font-size: clamp(2.2rem, 3.4vw, 3.2rem);
  font-weight: 600;
  line-height: 0.92;
  letter-spacing: -0.01em;
}
.hh-stack-name span {
  display: block;
  margin-top: 6px;
  color: var(--hh-gold);
  font-family: var(--hh-font-mono);
  font-size: 0.54rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.hh-stack-row p {
  max-width: 44ch;
  color: var(--hh-muted);
  font-size: 0.86rem;
  line-height: 1.62;
}
.hh-stack-rule {
  justify-self: start;
  padding: 6px 9px;
  border: 1px solid rgba(245, 168, 0, 0.2);
  border-radius: 4px;
  color: rgba(245, 168, 0, 0.8);
  font-family: var(--hh-font-mono);
  font-size: 0.5rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}
.hh-stack-arrow {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--hh-line-2);
  border-radius: 50%;
  color: var(--hh-muted);
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}
.hh-stack-row:hover .hh-stack-arrow {
  background: var(--hh-gold);
  border-color: var(--hh-gold);
  color: var(--hh-ink);
}
.hh-stack-arrow .ic {
  width: 16px;
  height: 16px;
}

/* --------------------------------------------------------------------------
   12. Developers
   -------------------------------------------------------------------------- */
.hh-dev {
  position: relative;
  padding: 170px 0 160px;
  background: var(--hh-bg);
}
.hh-dev-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  align-items: center;
  gap: 70px;
}
.hh-dev-copy p {
  max-width: 470px;
  margin-top: 24px;
  color: var(--hh-muted);
  font-size: 0.96rem;
  line-height: 1.72;
}
.hh-dev-list {
  display: grid;
  gap: 12px;
  margin-top: 30px;
}
.hh-dev-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--hh-muted);
  font-size: 0.84rem;
}
.hh-dev-list .ic {
  width: 16px;
  height: 16px;
  color: var(--hh-gold);
}
.hh-dev-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 34px;
}

.hh-terminal {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 460px;
  border: 1px solid var(--hh-line-2);
  border-radius: 16px;
  background: #0a0514;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.55);
  overflow: hidden;
}
.hh-terminal::before {
  content: "";
  position: absolute;
  top: -30%;
  right: -20%;
  width: 60%;
  height: 60%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(106, 0, 214, 0.16), transparent 70%);
  pointer-events: none;
}
.hh-term-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--hh-line);
  background: rgba(255, 255, 255, 0.02);
}
.hh-term-dots {
  display: inline-flex;
  gap: 6px;
}
.hh-term-dots i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ff5f57;
  opacity: 0.72;
}
.hh-term-dots i:nth-child(2) { background: #febc2e; }
.hh-term-dots i:nth-child(3) { background: #28c840; }
.hh-term-title {
  margin-left: 4px;
  color: var(--hh-muted);
  font-family: var(--hh-font-mono);
  font-size: 0.66rem;
}
.hh-term-copy {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
  color: var(--hh-muted-2);
  font-family: var(--hh-font-mono);
  font-size: 0.56rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color 0.25s ease;
}
.hh-term-copy:hover,
.hh-term-copy.is-copied {
  color: var(--hh-gold);
}
.hh-term-copy .ic {
  width: 13px;
  height: 13px;
}
.hh-term-tabs {
  display: flex;
  gap: 4px;
  padding: 10px 12px;
  border-bottom: 1px solid var(--hh-line);
}
.hh-term-tabs button {
  padding: 7px 11px;
  border: 1px solid transparent;
  border-radius: 5px;
  color: var(--hh-muted-2);
  font-family: var(--hh-font-mono);
  font-size: 0.56rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color 0.25s ease, background-color 0.25s ease, border-color 0.25s ease;
}
.hh-term-tabs button:hover {
  color: var(--hh-text);
}
.hh-term-tabs button.is-active {
  border-color: rgba(245, 168, 0, 0.2);
  background: rgba(245, 168, 0, 0.08);
  color: var(--hh-gold);
}
.hh-term-body {
  flex: 1;
  margin: 0;
  padding: 22px 20px 26px;
  overflow: auto;
  color: #e4d9ff;
  font-family: var(--hh-font-mono);
  font-size: 0.76rem;
  line-height: 1.8;
  tab-size: 2;
}
.hh-term-body code {
  counter-reset: line;
}
.code-line {
  display: block;
  white-space: pre;
}
.code-line::before {
  counter-increment: line;
  content: counter(line, decimal-leading-zero);
  display: inline-block;
  width: 26px;
  margin-right: 16px;
  color: rgba(244, 239, 255, 0.18);
  text-align: right;
  user-select: none;
}
.hh-term-body code::after {
  content: "â–";
  color: var(--hh-gold);
  animation: hh-caret 1.1s step-end infinite;
}
.hh-term-foot {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  padding: 11px 16px;
  border-top: 1px solid var(--hh-line);
  color: var(--hh-muted-2);
  font-family: var(--hh-font-mono);
  font-size: 0.52rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.hh-term-foot span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.hh-term-foot i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--hh-gold);
}

/* --------------------------------------------------------------------------
   13. FAQ
   -------------------------------------------------------------------------- */
.hh-faq-section {
  position: relative;
  padding: 150px 0 150px;
  background: var(--hh-bg-2);
}
.hh-faq-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
  gap: 70px;
}
.hh-faq-head {
  position: sticky;
  top: 130px;
  align-self: start;
}
.hh-text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 30px;
  padding-bottom: 5px;
  border-bottom: 1px solid rgba(245, 168, 0, 0.4);
  color: var(--hh-gold);
  font-family: var(--hh-font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  transition: gap 0.3s var(--hh-ease);
}
.hh-text-link:hover {
  gap: 13px;
}
.hh-text-link .ic {
  width: 14px;
  height: 14px;
}
.hh-faq {
  border-top: 1px solid var(--hh-line-2);
}
.hh-faq details {
  border-bottom: 1px solid var(--hh-line);
}
.hh-faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 23px 0;
  list-style: none;
  cursor: pointer;
  font-family: var(--hh-font-head);
  font-size: 1.02rem;
  font-weight: 500;
  letter-spacing: -0.005em;
  color: var(--hh-text);
  transition: color 0.25s ease;
}
.hh-faq summary::-webkit-details-marker {
  display: none;
}
.hh-faq summary:hover {
  color: var(--hh-gold);
}
.hh-faq-plus {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  flex: none;
  border: 1px solid var(--hh-line-2);
  border-radius: 50%;
  color: var(--hh-muted);
  transition: transform 0.35s var(--hh-ease), color 0.25s ease,
    border-color 0.25s ease;
}
.hh-faq-plus .ic {
  width: 13px;
  height: 13px;
}
.hh-faq details[open] .hh-faq-plus {
  transform: rotate(45deg);
  color: var(--hh-gold);
  border-color: rgba(245, 168, 0, 0.4);
}
.hh-faq details[open] summary {
  color: var(--hh-gold);
}
.hh-faq-body {
  padding: 0 40px 25px 0;
}
.hh-faq-body p {
  max-width: 560px;
  color: var(--hh-muted);
  font-size: 0.9rem;
  line-height: 1.72;
}

/* --------------------------------------------------------------------------
   14. CTA
   -------------------------------------------------------------------------- */
.hh-cta {
  position: relative;
  padding: 130px 0;
  background: var(--hh-gold);
  color: var(--hh-ink);
  overflow: hidden;
}
.hh-cta-word {
  position: absolute;
  right: -3%;
  bottom: -24%;
  font-family: var(--hh-font-display);
  font-size: 26vw;
  font-weight: 700;
  line-height: 0.8;
  color: transparent;
  -webkit-text-stroke: 1px rgba(20, 6, 31, 0.13);
  pointer-events: none;
  user-select: none;
}
.hh-cta-inner {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 60px;
}
.hh-cta-copy {
  max-width: 780px;
}
.hh-cta-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 24px;
  font-family: var(--hh-font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.hh-cta-kicker::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--hh-ink);
}
.hh-cta h2 {
  font-family: var(--hh-font-display);
  font-size: clamp(3rem, 7vw, 7rem);
  font-weight: 700;
  line-height: 0.86;
  letter-spacing: -0.015em;
}
.hh-cta p {
  max-width: 470px;
  margin-top: 24px;
  color: rgba(20, 6, 31, 0.66);
  font-size: 0.98rem;
  line-height: 1.66;
}
.hh-cta-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: none;
}
.hh-cta-actions .hh-btn {
  min-width: 240px;
}

/* --------------------------------------------------------------------------
   15. Footer
   -------------------------------------------------------------------------- */
.hh-footer {
  position: relative;
  padding: 90px 0 30px;
  background: #08030f;
  border-top: 1px solid var(--hh-line);
}
.hh-footer-top {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 58px;
}
.hh-footer-brand {
  display: inline-flex;
  align-items: flex-end;
  gap: 10px;
}
.hh-footer-word {
  font-family: var(--hh-font-display);
  font-size: clamp(4.5rem, 10vw, 9rem);
  font-weight: 700;
  line-height: 0.78;
  color: transparent;
  -webkit-text-stroke: 1px rgba(244, 239, 255, 0.38);
  transition: color 0.4s ease;
}
.hh-footer-brand:hover .hh-footer-word {
  color: var(--hh-text);
}
.hh-footer-dot {
  width: 14px;
  height: 14px;
  margin-bottom: 12px;
  border-radius: 50%;
  background: var(--hh-gold);
}
.hh-footer-note {
  padding-bottom: 6px;
  text-align: right;
  color: var(--hh-muted);
  font-size: 0.8rem;
  line-height: 1.65;
}
.hh-footer-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 30px;
  padding-top: 40px;
  border-top: 1px solid var(--hh-line);
}
.hh-footer-col h4 {
  margin-bottom: 16px;
  color: var(--hh-muted-3);
  font-family: var(--hh-font-mono);
  font-size: 0.54rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.hh-footer-col a {
  display: block;
  padding: 5px 0;
  color: var(--hh-muted);
  font-size: 0.8rem;
  transition: color 0.25s ease;
}
.hh-footer-col a:hover {
  color: var(--hh-gold);
}
.hh-status-line {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(244, 239, 255, 0.82);
  font-size: 0.78rem;
}
.hh-status-line i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--hh-gold);
  animation: hh-pulse 2.6s infinite;
}
.hh-status-meta {
  display: block;
  margin-top: 8px;
  color: var(--hh-muted-2);
  font-family: var(--hh-font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.04em;
}
.hh-footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 48px;
  padding-top: 22px;
  border-top: 1px solid var(--hh-line);
  color: var(--hh-muted-3);
  font-family: var(--hh-font-mono);
  font-size: 0.54rem;
  letter-spacing: 0.05em;
}

/* --------------------------------------------------------------------------
   16. Reveal + split helpers
   -------------------------------------------------------------------------- */
.hh-ready .js-reveal {
  opacity: 0;
  transform: translateY(26px);
}
.js-reveal.is-in {
  opacity: 1 !important;
  transform: none !important;
}

.js-split.is-split .word {
  display: inline-block;
}
.js-split.is-split .word-inner {
  display: inline-block;
  will-change: transform, opacity;
}

/* --------------------------------------------------------------------------
   17. Motion
   -------------------------------------------------------------------------- */
@keyframes hh-spin {
  to { transform: rotate(360deg); }
}
@keyframes hh-spin-rev {
  to { transform: rotate(-360deg); }
}
@keyframes hh-halo {
  0%, 100% { opacity: 0.75; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.05); }
}
@keyframes hh-scan {
  0% { top: -40%; opacity: 0; }
  18% { opacity: 1; }
  82% { opacity: 1; }
  100% { top: 110%; opacity: 0; }
}
@keyframes hh-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-9px); }
}
@keyframes hh-pulse {
  0% { box-shadow: 0 0 0 0 rgba(245, 168, 0, 0.45); }
  70% { box-shadow: 0 0 0 7px rgba(245, 168, 0, 0); }
  100% { box-shadow: 0 0 0 0 rgba(245, 168, 0, 0); }
}
@keyframes hh-blink {
  0%, 100% { opacity: 0.3; transform: translateY(0); }
  50% { opacity: 1; transform: translateY(-2px); }
}
@keyframes hh-marquee {
  to { transform: translateX(-50%); }
}
@keyframes hh-scroll-line {
  0% { top: -100%; }
  100% { top: 120%; }
}
@keyframes hh-caret {
  0%, 49% { opacity: 1; }
  50%, 100% { opacity: 0; }
}

/* --------------------------------------------------------------------------
   18. Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1240px) {
  :root {
    --hh-gutter: 30px;
  }
  .hh-nav {
    gap: 22px;
  }
  .hh-nav-links {
    gap: 18px;
  }
  .hh-brand-sub {
    display: none;
  }
  .hh-hero-chat {
    right: 0;
    width: 310px;
  }
  .hh-chip-a {
    right: -2%;
  }
  .hh-chip-b {
    left: -2%;
  }
  .hh-dev-grid {
    gap: 44px;
  }
}

@media (max-width: 1080px) {
  .hh-nav-links {
    display: none;
  }
  .hh-burger {
    display: block;
  }
  .hh-nav-actions {
    margin-left: auto;
    gap: 12px;
  }
  .hh-hero {
    min-height: auto;
    padding-top: calc(var(--hh-nav-h) + 64px);
    padding-bottom: 30px;
  }
  .hh-hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .hh-hero-copy {
    max-width: 760px;
  }
  .hh-hero-visual {
    max-width: 520px;
    margin: 0 auto;
  }
  .hh-hero-chat {
    right: -2%;
    bottom: 0;
  }
  .hh-hero-foot {
    margin-top: 30px;
  }
  .hh-idea-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .hh-idea .hh-section-label {
    position: static;
  }
  .hh-idea {
    padding: 130px 0;
  }
  .hh-built,
  .hh-platform,
  .hh-dev {
    padding: 130px 0;
  }
  .hh-built-head,
  .hh-platform-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }
  .hh-built-lede,
  .hh-platform-head p {
    max-width: 560px;
  }
  .hh-bento {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .hh-bento-wide,
  .hh-bento-wide:last-child {
    grid-column: span 2;
  }
  .hh-stack-row {
    grid-template-columns: 44px minmax(0, 1fr) 48px;
    gap: 18px;
  }
  .hh-stack-row p {
    grid-column: 2 / 3;
  }
  .hh-stack-rule {
    grid-column: 2 / 3;
  }
  .hh-stack-arrow {
    grid-column: 3 / 4;
    grid-row: 1 / 3;
  }
  .hh-dev-grid {
    grid-template-columns: 1fr;
    gap: 44px;
  }
  .hh-dev-copy p {
    max-width: 620px;
  }
  .hh-faq-grid {
    grid-template-columns: 1fr;
    gap: 44px;
  }
  .hh-faq-head {
    position: static;
  }
  .hh-cta-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 40px;
  }
  .hh-cta-actions {
    flex-direction: row;
    flex-wrap: wrap;
  }
}

/* Short desktop screens: keep the pinned agent rail inside the viewport */
@media (min-width: 961px) and (max-height: 820px) {
  .hh-agents-pin {
    padding-top: 92px;
    padding-bottom: 20px;
  }
  .hh-agents-head {
    margin-bottom: 22px;
  }
  .hh-agents-head .hh-section-title {
    font-size: 3.1rem;
  }
  .hh-agent {
    min-height: 440px;
    padding: 24px;
  }
  .hh-agent blockquote {
    display: none;
  }
  .hh-agent-specs div:nth-child(3) {
    display: none;
  }
  .hh-agent h3 {
    font-size: 1.9rem;
  }
  .hh-agent p {
    font-size: 0.8rem;
  }
  .hh-agents-foot {
    margin-top: 18px;
  }
}

@media (max-width: 960px) {
  .hh-agents {
    padding: 110px 0;
  }
  .hh-agents-pin {
    min-height: auto;
    padding: 0;
    overflow: visible;
  }
  .hh-agents-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 34px;
  }
  .hh-agents-hint {
    display: none;
  }
  .hh-agents-viewport {
    overflow: visible;
  }
  .hh-agents-viewport::after {
    display: none;
  }
  .hh-agents-track {
    display: grid;
    grid-template-columns: 1fr;
    width: auto;
    gap: 14px;
    padding: 0;
  }
  .hh-agent {
    width: auto;
    min-height: auto;
  }
  .hh-agent blockquote {
    margin-top: 14px;
  }
  .hh-agent-link {
    margin-top: 18px;
  }
  .hh-agent-end {
    min-height: 300px;
  }
  .hh-agents-foot {
    display: none;
  }
  .hh-ticker-track span {
    font-size: 1.7rem;
  }
  .hh-ticker-track {
    gap: 28px;
  }
  .hh-cta {
    padding: 100px 0;
  }
  .hh-cta-word {
    font-size: 40vw;
    bottom: -10%;
  }
  .hh-footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 34px;
  }
  .hh-footer-top {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }
  .hh-footer-note {
    text-align: left;
  }
  .hh-footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
}

@media (max-width: 760px) {
  :root {
    --hh-gutter: 20px;
    --hh-nav-h: 72px;
  }
  .hh-display {
    font-size: clamp(3.1rem, 14.5vw, 5.4rem);
    line-height: 0.86;
  }
  .hh-section-title {
    font-size: clamp(2.4rem, 11vw, 3.6rem);
  }
  .hh-kicker {
    margin-bottom: 22px;
    font-size: 0.56rem;
    letter-spacing: 0.1em;
  }
  .hh-hero-lede {
    margin-top: 24px;
    font-size: 0.94rem;
    line-height: 1.66;
  }
  .hh-hero-cta {
    margin-top: 28px;
  }
  .hh-hero-cta .hh-btn {
    flex: 1 1 100%;
  }
  .hh-hero-trust {
    gap: 8px 16px;
    margin-top: 24px;
    font-size: 0.6rem;
  }
  .hh-hero-visual {
    max-width: 420px;
    padding-bottom: 0;
  }
  .hh-core {
    max-width: 380px;
  }
  .hh-node {
    width: 36px;
    height: 36px;
  }
  .hh-node b {
    font-size: 0.56rem;
  }
  .hh-hero-chat {
    position: relative;
    right: auto;
    bottom: auto;
    width: 100%;
    margin-top: 24px;
  }
  .hh-hero-chip {
    display: none;
  }
  .hh-hero-foot {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    margin-top: 34px;
  }
  .hh-hero-status {
    font-size: 0.5rem;
  }
  .hh-manifesto {
    font-size: clamp(2.1rem, 9.6vw, 3.1rem);
    line-height: 1.08;
  }
  .hh-idea-note {
    margin-top: 36px;
  }
  .hh-idea-principles {
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 36px;
  }
  .hh-built,
  .hh-platform,
  .hh-dev,
  .hh-faq-section {
    padding: 100px 0;
  }
  .hh-agents {
    padding: 90px 0;
  }
  .hh-bento {
    grid-template-columns: 1fr;
  }
  .hh-bento-wide,
  .hh-bento-wide:last-child {
    grid-column: span 1;
  }
  .hh-bento-card {
    min-height: 250px;
    padding: 24px;
  }
  .hh-bento-wide:last-child {
    min-height: auto;
  }
  .hh-meter {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
  .hh-meter-bars {
    max-width: 100%;
  }
  .hh-stack-row {
    grid-template-columns: 32px minmax(0, 1fr) 38px;
    gap: 14px;
    padding: 26px 0;
  }
  .hh-stack-row:hover {
    padding-left: 0;
  }
  .hh-stack-name h3 {
    font-size: 2.3rem;
  }
  .hh-stack-row p,
  .hh-stack-rule {
    grid-column: 2 / 4;
  }
  .hh-stack-arrow {
    width: 38px;
    height: 38px;
    grid-column: 3 / 4;
    grid-row: 1 / 2;
  }
  .hh-stack-rule {
    white-space: normal;
  }
  .hh-terminal {
    min-height: 420px;
  }
  .hh-term-body {
    font-size: 0.68rem;
    padding: 18px 14px 22px;
  }
  .code-line::before {
    width: 20px;
    margin-right: 10px;
  }
  .hh-term-foot {
    gap: 10px;
    font-size: 0.46rem;
  }
  .hh-faq summary {
    font-size: 0.94rem;
    padding: 20px 0;
  }
  .hh-cta {
    padding: 80px 0;
  }
  .hh-cta h2 {
    font-size: clamp(2.7rem, 12vw, 4.4rem);
  }
  .hh-cta-actions {
    flex-direction: column;
    width: 100%;
  }
  .hh-cta-actions .hh-btn {
    width: 100%;
    min-width: 0;
  }
  .hh-footer {
    padding-top: 70px;
  }
  .hh-footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .hh-footer-word {
    font-size: 26vw;
  }
}

@media (max-width: 460px) {
  .hh-nav {
    padding: 0 16px;
  }
  .hh-brand {
    gap: 8px;
  }
  .hh-logo {
    width: 32px;
    height: 32px;
  }
  .hh-wordmark {
    font-size: 1.1rem;
  }
  .hh-nav-signin {
    display: none;
  }
  .hh-btn-sm {
    height: 38px;
    padding: 0 12px;
    font-size: 0.6rem;
  }
  .hh-hero-visual {
    max-width: 340px;
  }
  .hh-core {
    max-width: 320px;
  }
  .hh-core-mono {
    font-size: 4rem;
  }
  .hh-core-meta {
    font-size: 0.38rem;
    letter-spacing: 0.18em;
  }
  .hh-node {
    width: 31px;
    height: 31px;
  }
  .hh-node b {
    font-size: 0.5rem;
  }
  .hh-chat-foot {
    font-size: 0.44rem;
    gap: 6px;
  }
  .hh-chat-ai {
    font-size: 0.75rem;
  }
  .hh-section-label {
    font-size: 0.62rem;
  }
  .hh-agent {
    padding: 22px;
  }
  .hh-agent h3 {
    font-size: 1.95rem;
  }
  .hh-meter-stat strong {
    font-size: 1.9rem;
  }
  .hh-footer-word {
    font-size: 30vw;
  }
}

/* --------------------------------------------------------------------------
   19. Reduced motion + touch
   -------------------------------------------------------------------------- */
@media (hover: none) {
  .hh-cursor {
    display: none;
  }
  body.hh-cursor-on,
  body.hh-cursor-on a,
  body.hh-cursor-on button,
  body.hh-cursor-on summary {
    cursor: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .hh-cursor {
    display: none;
  }
  .hh-ready .js-reveal {
    opacity: 1;
    transform: none;
  }
  .hh-agents-viewport {
    overflow-x: auto;
    overflow-y: hidden;
  }
  .hh-agents-track {
    padding-bottom: 16px;
  }
  .hh-ticker-track {
    animation: none;
    flex-wrap: wrap;
    width: auto;
    justify-content: center;
  }
  .hh-core-ring,
  .hh-core-halo,
  .hh-core-scan,
  .hh-node,
  .hh-hero-chip,
  .hh-live-dot,
  .hh-hero-status i,
  .hh-chat-live i,
  .hh-status-line i,
  .hh-router-note i {
    animation: none !important;
  }
}

/* --------------------------------------------------------------------------
   20. HeyHi brand lockups + light theme
   -------------------------------------------------------------------------- */
.hh-logo-for-light { display: none !important; }
.hh-logo-img {
  display: block;
  width: auto;
  height: 34px;
  flex: none;
  object-fit: contain;
}
.hh-theme-toggle {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  flex: none;
  border: 1px solid var(--hh-line-2);
  border-radius: var(--hh-radius);
  background: rgba(255, 255, 255, 0.025);
  color: var(--hh-muted);
  transition: color 0.25s ease, border-color 0.25s ease, background-color 0.25s ease;
}
.hh-theme-toggle:hover {
  color: var(--hh-gold);
  border-color: rgba(245, 168, 0, 0.48);
}
.hh-theme-toggle .ic { width: 17px; height: 17px; }
.hh-icon-moon { display: none; }
.hh-footer-logo {
  display: block;
  width: min(390px, 54vw);
  height: auto;
}
.hh-footer-brand { align-items: flex-end; }
.hh-core-icon {
  position: relative;
  z-index: 1;
  display: block;
  width: 56%;
  height: auto;
  border-radius: 22%;
  box-shadow: 0 18px 52px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(245, 168, 0, 0.22);
}
.hh-cta-word {
  width: min(720px, 62vw);
  height: auto;
  opacity: 0.055;
  filter: brightness(0);
}

[data-theme="light"] {
  color-scheme: light;
  --hh-bg: #fbf8f2;
  --hh-bg-2: #f5f0e9;
  --hh-bg-3: #f1ebf1;
  --hh-panel: #ffffff;
  --hh-panel-2: #f8f3ed;
  --hh-ink: #1a0b2e;
  --hh-on-dark: #f8f4ff;
  --hh-text: #211334;
  --hh-muted: rgba(42, 24, 62, 0.72);
  --hh-muted-2: rgba(42, 24, 62, 0.54);
  --hh-muted-3: rgba(42, 24, 62, 0.36);
  --hh-line: rgba(83, 50, 93, 0.13);
  --hh-line-2: rgba(83, 50, 93, 0.23);
  --hh-gold: #a86200;
  --hh-gold-deep: #874d00;
  --hh-purple: #6415b7;
  --hh-lavender: #7542bd;
  --hh-coral: #a65312;
  --hh-amber: #a86200;
  --hh-green: #7041ae;
  --hh-red: #7626a8;
}
[data-theme="light"] .hh-logo-for-dark { display: none !important; }
[data-theme="light"] .hh-logo-for-light { display: block !important; }
[data-theme="light"] body { background: var(--hh-bg); color: var(--hh-text); }
[data-theme="light"] .hh-header.is-scrolled {
  background: rgba(251, 248, 242, 0.92);
  box-shadow: 0 8px 30px rgba(42, 24, 62, 0.05);
}
[data-theme="light"] .hh-drawer { background: #fbf8f2; }
[data-theme="light"] .hh-hero-lines {
  background-image: linear-gradient(rgba(74, 35, 112, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(74, 35, 112, 0.055) 1px, transparent 1px);
}
[data-theme="light"] .hh-hero-glow { opacity: 0.42; }
[data-theme="light"] .hh-canvas { opacity: 0.52; }
[data-theme="light"] .hh-ring-1 { border-color: rgba(100, 21, 183, 0.2); }
[data-theme="light"] .hh-ring-2 { border-color: rgba(168, 98, 0, 0.24); }
[data-theme="light"] .hh-ring-3 { border-color: rgba(100, 21, 183, 0.13); }
[data-theme="light"] .hh-node {
  background: rgba(255, 255, 255, 0.94);
  border-color: rgba(74, 35, 112, 0.2);
  color: #32144e;
  box-shadow: 0 12px 30px rgba(42, 24, 62, 0.14);
}
[data-theme="light"] .hh-node::after { border-color: rgba(168, 98, 0, 0.25); }
[data-theme="light"] .hh-hero-chip {
  background: rgba(255, 255, 255, 0.92);
  border-color: var(--hh-line-2);
  box-shadow: 0 16px 40px rgba(42, 24, 62, 0.1);
}
[data-theme="light"] .hh-hero-chat {
  background: rgba(255, 255, 255, 0.97);
  border-color: var(--hh-line-2);
  box-shadow: 0 30px 80px rgba(42, 24, 62, 0.16);
}
[data-theme="light"] .hh-chat-head { background: #f8f3ed; }
[data-theme="light"] .hh-chat-ai { color: var(--hh-text); }
[data-theme="light"] .hh-chat-ai code {
  background: #f1eafa;
  border-color: var(--hh-line);
  color: var(--hh-purple);
}
[data-theme="light"] .hh-chat-user { border-left-color: rgba(74, 35, 112, 0.2); }
[data-theme="light"] .hh-chat-typing { background: #f1eafa; }
[data-theme="light"] .hh-ticker { background: #f2ece6; }
[data-theme="light"] .hh-ticker-track span { -webkit-text-stroke-color: rgba(74, 35, 112, 0.3); }
[data-theme="light"] .hh-ticker-track span.is-fill { color: var(--hh-text); }
[data-theme="light"] .hh-agent {
  background: linear-gradient(160deg, #ffffff, #f7f2fc);
  border-color: var(--hh-line);
  box-shadow: 0 20px 55px rgba(42, 24, 62, 0.07);
}
[data-theme="light"] .hh-agent::before,
[data-theme="light"] .hh-bento-card::after { opacity: 0.45; }
[data-theme="light"] .hh-agent-featured {
  background: linear-gradient(160deg, #f1e7ff, #ffffff);
  border-color: rgba(100, 21, 183, 0.24);
}
[data-theme="light"] .hh-agent blockquote { color: rgba(42, 24, 62, 0.82); }
[data-theme="light"] .hh-agent blockquote code { background: #eee7f8; color: var(--hh-purple); }
[data-theme="light"] .hh-agent-specs dd { color: rgba(42, 24, 62, 0.82); }
[data-theme="light"] .hh-agents-viewport::after { background: linear-gradient(90deg, transparent, var(--hh-bg-3)); }
[data-theme="light"] .hh-agent-end {
  background: #f5a800;
  border-color: #f5a800;
  color: #1a0b2e;
}
[data-theme="light"] .hh-agent-end p { color: rgba(26, 11, 46, 0.72); }
[data-theme="light"] .hh-bento-card {
  background: linear-gradient(160deg, #ffffff, #f7f2fc);
  border-color: var(--hh-line);
  box-shadow: 0 18px 50px rgba(42, 24, 62, 0.06);
}
[data-theme="light"] .hh-layer {
  background: #f7f2fc;
  border-color: var(--hh-line-2);
  box-shadow: 0 10px 24px rgba(42, 24, 62, 0.08);
}
[data-theme="light"] .hh-terminal {
  background: #ffffff;
  border-color: var(--hh-line-2);
  box-shadow: 0 30px 80px rgba(42, 24, 62, 0.12);
}
[data-theme="light"] .hh-terminal::before { opacity: 0.2; }
[data-theme="light"] .hh-term-bar { background: #f4effa; }
[data-theme="light"] .hh-term-body { color: #2e1a45; }
[data-theme="light"] .code-line::before { color: rgba(46, 26, 69, 0.3); }
[data-theme="light"] .hh-term-tabs { border-bottom-color: var(--hh-line); }
[data-theme="light"] .hh-term-tabs button { color: var(--hh-muted-2); }
[data-theme="light"] .hh-term-tabs button:hover { color: var(--hh-text); }
[data-theme="light"] .hh-term-tabs button.is-active {
  color: var(--hh-purple);
  border-color: rgba(100, 21, 183, 0.22);
  background: rgba(100, 21, 183, 0.07);
}
[data-theme="light"] .hh-cta { background: #f5a800; color: #1a0b2e; }
[data-theme="light"] .hh-cta p { color: rgba(26, 11, 46, 0.74); }
[data-theme="light"] .hh-cta-word { opacity: 0.065; }
[data-theme="light"] .hh-btn-dark { --btn-bg: #26113d; --btn-fg: #f8f4ff; }
[data-theme="light"] .hh-btn-dark:hover { --btn-bg: #4b00a8; }
[data-theme="light"] .hh-btn-dark-ghost { --btn-bd: rgba(26, 11, 46, 0.34); --btn-fg: #1a0b2e; }
[data-theme="light"] .hh-btn-lime { --btn-bg: #f5a800; --btn-fg: #1a0b2e; }
[data-theme="light"] .hh-btn-lime:hover { --btn-bg: #ffc233; }
[data-theme="light"] .hh-footer {
  background: #f2ece6;
  border-top-color: var(--hh-line);
}
[data-theme="light"] .hh-footer-note,
[data-theme="light"] .hh-footer-col a { color: var(--hh-muted); }
[data-theme="light"] .hh-status-line { color: var(--hh-text); }
[data-theme="light"] .hh-footer-col a:hover { color: var(--hh-purple); }
[data-theme="light"] .hh-footer-bottom { border-top-color: var(--hh-line); }
[data-theme="light"] .hh-theme-toggle { background: rgba(74, 35, 112, 0.035); }
[data-theme="light"] .hh-icon-sun { display: none; }
[data-theme="light"] .hh-icon-moon { display: block; }
[data-theme="light"] .hh-faq summary:hover,
[data-theme="light"] .hh-faq details[open] summary { color: var(--hh-purple); }
[data-theme="light"] .hh-faq details[open] .hh-faq-plus { color: var(--hh-purple); }
[data-theme="light"] .hh-stack-rule { color: #874d00; }
[data-theme="light"] .hh-nav-links a:hover,
[data-theme="light"] .hh-nav-signin:hover { color: var(--hh-text); }
[data-theme="light"] .hh-drawer nav a { border-bottom-color: var(--hh-line); }
[data-theme="light"] .hh-grain { opacity: 0.025; mix-blend-mode: multiply; }
[data-theme="light"] .hh-skip { color: #1a0b2e; }
[data-theme="light"] ::selection { background: rgba(168, 98, 0, 0.23); color: #1a0b2e; }

@media (max-width: 760px) {
  .hh-logo-img { height: 30px; }
  .hh-footer-logo { width: min(310px, 64vw); }
  .hh-core-icon { width: 56%; }
}
@media (max-width: 460px) {
  .hh-logo-img { height: 27px; }
  .hh-theme-toggle { width: 36px; height: 36px; }
  .hh-footer-logo { width: min(270px, 70vw); }
}

/* --------------------------------------------------------------------------
   21. Human-first story and accessible theme control
   -------------------------------------------------------------------------- */
.hh-human-story {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: center;
  gap: clamp(42px, 7vw, 104px);
  margin-top: 118px;
  padding-top: 72px;
  border-top: 1px solid var(--hh-line);
}
.hh-human-copy { max-width: 560px; }
.hh-human-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 22px;
  color: var(--hh-gold);
  font-family: var(--hh-font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.11em;
  line-height: 1.6;
  text-transform: uppercase;
}
.hh-human-eyebrow i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--hh-gold);
  box-shadow: 0 0 0 4px rgba(245, 168, 0, 0.12);
}
.hh-human-copy h3 {
  max-width: 13ch;
  font-family: var(--hh-font-head);
  font-size: clamp(2.8rem, 4.8vw, 4.7rem);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.035em;
}
.hh-human-copy > p {
  max-width: 54ch;
  margin-top: 24px;
  color: var(--hh-muted);
  font-size: 1rem;
  line-height: 1.8;
}
.hh-human-points {
  display: grid;
  gap: 0;
  margin-top: 32px;
  border-top: 1px solid var(--hh-line);
}
.hh-human-points li {
  display: grid;
  grid-template-columns: 30px 1fr;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--hh-line);
  color: var(--hh-muted);
  font-size: 0.84rem;
  line-height: 1.65;
}
.hh-human-points b {
  padding-top: 2px;
  color: var(--hh-gold);
  font-family: var(--hh-font-mono);
  font-size: 0.6rem;
  font-weight: 500;
}
.hh-human-points strong { color: var(--hh-text); font-weight: 600; }
.hh-human-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 25px;
  color: var(--hh-gold);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.hh-human-link .ic { width: 16px; height: 16px; transition: transform 0.25s ease; }
.hh-human-link:hover .ic { transform: translateX(4px); }
.hh-human-gallery {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(0, 0.94fr);
  grid-template-rows: repeat(2, minmax(190px, 1fr));
  gap: 14px;
  min-height: 510px;
  padding: 12px 0 30px 12px;
}
.hh-human-gallery::before {
  content: "";
  position: absolute;
  inset: 0 10% 12% 10%;
  border: 1px solid rgba(245, 168, 0, 0.2);
  border-radius: 20px;
  transform: rotate(-4deg);
  pointer-events: none;
}
.hh-human-photo {
  position: relative;
  z-index: 1;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  border: 1px solid var(--hh-line-2);
  border-radius: 16px;
  background: var(--hh-panel);
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.2);
  isolation: isolate;
}
.hh-human-photo::after {
  content: "";
  position: absolute;
  inset: 25% 0 0;
  z-index: 0;
  background: linear-gradient(transparent, rgba(13, 7, 24, 0.78));
  pointer-events: none;
}
.hh-human-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.22, 0.78, 0.24, 1), filter 0.5s ease;
}
.hh-human-photo:hover img { transform: scale(1.045); }
.hh-human-photo-main { grid-row: 1 / 3; }
.hh-human-photo-main img { object-position: 56% center; }
.hh-human-photo-support img { object-position: center 42%; }
.hh-human-photo-small img { object-position: 62% center; }
.hh-human-photo figcaption {
  position: absolute;
  right: 17px;
  bottom: 16px;
  left: 17px;
  z-index: 1;
  color: #fff;
  font-family: var(--hh-font-head);
  font-size: 0.88rem;
  font-weight: 500;
  line-height: 1.35;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
}
.hh-human-stamp {
  position: absolute;
  top: 34px;
  left: 26px;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 92px;
  height: 92px;
  border: 1px solid rgba(245, 168, 0, 0.65);
  border-radius: 50%;
  background: var(--hh-gold);
  color: var(--hh-ink);
  font-family: var(--hh-font-mono);
  font-size: 0.56rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  line-height: 1.5;
  text-align: center;
  text-transform: uppercase;
  transform: rotate(8deg);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
}
.hh-image-credit {
  position: absolute;
  right: 0;
  bottom: 0;
  color: var(--hh-muted-2);
  font-family: var(--hh-font-mono);
  font-size: 0.52rem;
  letter-spacing: 0.04em;
}
.hh-image-credit a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
[data-theme="light"] .hh-human-photo { box-shadow: 0 22px 60px rgba(49, 28, 62, 0.14); }
[data-theme="light"] .hh-human-gallery::before { border-color: rgba(100, 21, 183, 0.18); }
[data-theme="light"] .hh-manifesto .word { opacity: 1 !important; }
[data-theme="light"] .hh-theme-toggle:focus-visible {
  outline: 3px solid rgba(100, 21, 183, 0.5);
  outline-offset: 3px;
}

@media (max-width: 960px) {
  .hh-human-story {
    grid-template-columns: 1fr;
    gap: 42px;
    margin-top: 88px;
    padding-top: 56px;
  }
  .hh-human-copy { max-width: 720px; }
  .hh-human-copy h3 { max-width: 13ch; }
  .hh-human-gallery { min-height: 480px; }
}
@media (max-width: 600px) {
  .hh-human-story { margin-top: 64px; padding-top: 38px; gap: 30px; }
  .hh-human-copy h3 { font-size: clamp(2.5rem, 10vw, 3.5rem); }
  .hh-human-copy > p { font-size: 0.95rem; }
  .hh-human-gallery {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 280px 170px;
    min-height: 0;
    gap: 9px;
    padding: 8px 0 27px 8px;
  }
  .hh-human-photo-main { grid-column: 1 / 3; grid-row: 1 / 2; }
  .hh-human-photo-support,
  .hh-human-photo-small { grid-row: 2 / 3; }
  .hh-human-photo figcaption { right: 11px; bottom: 11px; left: 11px; font-size: 0.72rem; }
  .hh-human-stamp { top: 20px; left: 18px; width: 72px; height: 72px; font-size: 0.47rem; }
}


/* --------------------------------------------------------------------------
   22. Editorial human photography cards (Workforce, Guardrails & CTA)
   -------------------------------------------------------------------------- */
.hh-agent-media {
  margin: 14px 0 16px;
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border: 1px solid var(--hh-line-2);
  background: var(--hh-panel-2);
}
.hh-agent-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  transition: transform 0.6s var(--hh-ease);
}
.hh-agent:hover .hh-agent-media img {
  transform: scale(1.04);
}

.hh-real-world-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-top: 24px;
}
.hh-real-card {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: var(--hh-radius-lg);
  border: 1px solid var(--hh-line-2);
  background: var(--hh-panel);
  aspect-ratio: 16 / 10;
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.24);
  isolation: isolate;
}
.hh-real-card::after {
  content: "";
  position: absolute;
  inset: 30% 0 0;
  z-index: 0;
  background: linear-gradient(transparent, rgba(10, 6, 18, 0.84));
  pointer-events: none;
}
.hh-real-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 28%;
  transition: transform 0.7s var(--hh-ease);
}
.hh-real-card:hover img {
  transform: scale(1.04);
}
.hh-real-card figcaption {
  position: absolute;
  right: 22px;
  bottom: 20px;
  left: 22px;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 7px;
  color: #fff;
}
.hh-real-tag {
  align-self: flex-start;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(245, 168, 0, 0.42);
  background: rgba(10, 6, 18, 0.62);
  backdrop-filter: blur(8px);
  color: var(--hh-gold);
  font-family: var(--hh-font-mono);
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.hh-real-card figcaption strong {
  font-family: var(--hh-font-head);
  font-size: clamp(1rem, 1.45vw, 1.24rem);
  font-weight: 600;
  line-height: 1.3;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.42);
}

.hh-cta-with-photo {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  align-items: center;
  gap: clamp(28px, 5vw, 64px);
}
.hh-cta-with-photo .hh-cta-actions {
  margin-top: 28px;
}
.hh-cta-photo {
  margin: 0;
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  border: 1px solid rgba(20, 6, 31, 0.18);
  box-shadow: 0 26px 70px rgba(20, 6, 31, 0.28);
}
.hh-cta-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  transition: transform 0.7s var(--hh-ease);
}
.hh-cta-photo:hover img {
  transform: scale(1.03);
}

[data-theme="light"] .hh-real-card {
  box-shadow: 0 22px 60px rgba(49, 28, 62, 0.14);
}
[data-theme="light"] .hh-agent-media {
  border-color: var(--hh-line-2);
}

@media (max-width: 900px) {
  .hh-real-world-grid,
  .hh-cta-with-photo {
    grid-template-columns: 1fr;
  }
}
