/* Vistorio Homepage v2 — Executive OS (Design System v3) */

.hp-body {
  background: var(--page);
}

/* ─── Homepage nav (transparent → solid) ─── */
.hp-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  padding: 1rem 1.5rem;
  transition: background 0.35s ease, box-shadow 0.35s ease, padding 0.35s ease;
}

.hp-nav.is-scrolled {
  padding: 0.65rem clamp(1.25rem, 4vw, 2.5rem);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(20px) saturate(1.2);
  box-shadow: 0 1px 0 var(--line);
}

.hp-nav__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.hp-nav__brand {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 1rem;
  font-family: var(--font-display);
  letter-spacing: -0.02em;
  color: var(--ink);
  flex-shrink: 0;
}

.hp-nav__toggle {
  display: none;
  margin-left: auto;
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
  cursor: pointer;
  color: var(--ink);
}

.hp-nav__menu {
  display: flex;
  align-items: center;
  gap: 0.15rem;
  flex: 1;
  justify-content: center;
}

.hp-nav__link,
.hp-nav__trigger {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 1rem;
  font-weight: 600;
  font-family: var(--font-display);
  color: var(--muted);
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius-sm);
  white-space: nowrap;
  transition: color 0.2s, background 0.2s;
  border: none;
  background: transparent;
  cursor: pointer;
  line-height: 1.4;
}

.hp-nav__link:hover,
.hp-nav__trigger:hover,
.hp-nav__group.is-open > .hp-nav__trigger {
  color: var(--ink);
  background: var(--page-muted);
}

.hp-nav__link.is-active,
.hp-nav__group.is-active > .hp-nav__trigger {
  color: var(--red);
  background: var(--red-soft);
}

.hp-nav__group {
  position: relative;
}

.hp-nav__chevron {
  transition: transform 0.2s var(--ease);
  opacity: 0.55;
}

.hp-nav__group.is-open > .hp-nav__trigger .hp-nav__chevron {
  transform: rotate(180deg);
}

.hp-nav__dropdown {
  position: absolute;
  top: calc(100% + 0.45rem);
  left: 50%;
  transform: translateX(-50%) translateY(6px);
  min-width: 15.5rem;
  padding: 0.45rem;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px) saturate(1.5);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s var(--ease), transform 0.2s var(--ease), visibility 0.2s;
  z-index: 300;
}

.hp-nav__group.is-open > .hp-nav__dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.hp-nav__group:nth-last-child(-n + 2) .hp-nav__dropdown {
  left: auto;
  right: 0;
  transform: translateY(6px);
}

.hp-nav__group:nth-last-child(-n + 2).is-open > .hp-nav__dropdown {
  transform: translateY(0);
}

.hp-nav__dropdown-link {
  display: block;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--muted);
  padding: 0.55rem 0.75rem;
  border-radius: 8px;
  transition: color 0.2s, background 0.2s;
}

.hp-nav__dropdown-link:hover {
  color: var(--ink);
  background: rgba(15, 20, 25, 0.04);
}

.hp-nav__dropdown-link.is-active {
  color: var(--red);
  background: var(--red-soft);
}

.hp-nav__actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

.hp-nav__btn {
  font-size: 1rem;
  font-weight: 600;
  font-family: var(--font-display);
  min-height: 2.75rem;
  padding: 0 1.25rem;
  border-radius: var(--radius-btn);
  white-space: nowrap;
  transition: transform 0.25s var(--ease), box-shadow 0.25s;
}

.hp-nav__btn--ghost {
  color: var(--ink);
  border: 1.5px solid var(--line-strong);
  background: transparent;
}

.hp-nav__btn--ghost:hover {
  border-color: var(--ink);
  background: var(--page-muted);
}

.hp-nav__btn--solid {
  background: var(--red);
  color: #fff;
  box-shadow: var(--shadow-sm);
}

.hp-nav__btn--solid:hover {
  background: var(--red-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

@media (max-width: 1100px) {
  .hp-nav__toggle { display: inline-flex; align-items: center; justify-content: center; margin-left: auto; }

  .hp-nav__menu {
    display: none;
    position: absolute;
    top: calc(100% + 0.5rem);
    left: 1rem;
    right: 1rem;
    flex-direction: column;
    align-items: stretch;
    gap: 0.15rem;
    padding: 0.75rem;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
    max-height: calc(100vh - 5rem);
    overflow-y: auto;
  }

  .hp-nav__menu.is-open { display: flex; }

  .hp-nav__link,
  .hp-nav__trigger {
    width: 100%;
    justify-content: space-between;
    padding: 0.75rem 1rem;
  }

  .hp-nav__dropdown {
    position: static;
    transform: none;
    min-width: 0;
    margin: 0 0 0.25rem;
    padding: 0.25rem 0 0.25rem 0.75rem;
    background: transparent;
    border: none;
    box-shadow: none;
    backdrop-filter: none;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    display: none;
  }

  .hp-nav__group.is-open > .hp-nav__dropdown {
    display: block;
    transform: none;
  }

  .hp-nav__dropdown-link {
    padding: 0.6rem 0.85rem;
  }

  .hp-nav__actions .hp-nav__btn--ghost { display: none; }
  .hp-nav { position: fixed; }
  .hp-nav__inner { position: relative; }
}

@media (max-width: 768px) {
  .hp-nav { position: fixed; }
}

/* ─── Layout ─── */
.hp-main { padding-top: 5rem; }

.hp-wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 2.5rem);
}

.hp-section {
  padding: var(--section-gap) 0;
}

.hp-eyebrow {
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 1rem;
  font-family: var(--font-body);
}

.hp-h2 {
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 700;
  font-family: var(--font-display);
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin: 0 0 1.25rem;
  color: var(--ink);
}

.hp-lede {
  font-size: 1.125rem;
  color: var(--muted);
  line-height: 1.7;
  max-width: var(--read-width);
  margin: 0 0 2.5rem;
  font-family: var(--font-body);
}

.hp-lede--center { margin-left: auto; margin-right: auto; text-align: center; }

.hp-head--center { text-align: center; }
.hp-head--center .hp-lede { margin-left: auto; margin-right: auto; }

/* Reveal animation */
.hp-reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}

.hp-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ─── Hero ─── */
.hp-hero {
  position: relative;
  padding: clamp(3rem, 6vw, 5rem) 0 clamp(4rem, 8vw, 6rem);
  overflow: hidden;
}

.hp-hero__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.hp-hero__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.5;
  animation: hp-float 12s ease-in-out infinite;
}

.hp-hero__orb--1 {
  width: 480px; height: 480px;
  background: rgba(177, 18, 38, 0.04);
  top: -10%; right: -5%;
  opacity: 0.35;
}

.hp-hero__orb--2 {
  width: 360px; height: 360px;
  background: rgba(26, 26, 26, 0.03);
  bottom: 10%; left: -10%;
  animation-delay: -4s;
  opacity: 0.35;
}

.hp-hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(26,26,26,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(26,26,26,0.02) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, black, transparent);
  opacity: 0.6;
}

@keyframes hp-float {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(8px, -6px); }
}

.hp-hero__layout {
  position: relative;
  display: grid;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .hp-hero__layout { grid-template-columns: 0.95fr 1.05fr; }
}

.hp-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--red);
  background: var(--red-soft);
  border: 1px solid rgba(196,0,43,0.12);
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  margin-bottom: 1.25rem;
}

.hp-hero__badge::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--red);
  animation: hp-pulse 2s ease infinite;
}

@keyframes hp-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.hp-hero h1 {
  font-size: clamp(2.75rem, 5.5vw, 5rem);
  font-weight: 800;
  font-family: var(--font-display);
  letter-spacing: -0.02em;
  line-height: 0.95;
  margin: 0 0 1.5rem;
  color: var(--ink);
}

.hp-hero__sub {
  font-size: 1.125rem;
  color: var(--muted);
  line-height: 1.7;
  margin: 0 0 2.5rem;
  max-width: var(--read-width);
  font-family: var(--font-body);
}

.hp-hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

/* ─── Dashboard scene ─── */
.hp-scene {
  position: relative;
  min-height: 420px;
  perspective: 1200px;
}

.hp-laptop {
  position: relative;
  margin: 0 auto;
  max-width: 560px;
  transform: perspective(1200px) rotateY(-4deg) rotateX(2deg);
  transform-style: preserve-3d;
}

.hp-laptop__screen {
  background: var(--ink-soft);
  border-radius: 16px 16px 0 0;
  border: 2px solid #E4E4E7;
  border-bottom: none;
  padding: 0.75rem 0.75rem 0;
  box-shadow: var(--shadow-lg);
}

.hp-laptop__chrome {
  display: flex;
  gap: 0.35rem;
  padding-bottom: 0.5rem;
}

.hp-laptop__chrome span {
  width: 0.45rem; height: 0.45rem;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
}

.hp-laptop__chrome span:nth-child(1) { background: #ff5f57; }
.hp-laptop__chrome span:nth-child(2) { background: #febc2e; }
.hp-laptop__chrome span:nth-child(3) { background: #28c840; }

.hp-dash {
  background: var(--page-muted);
  border-radius: 10px 10px 0 0;
  min-height: 300px;
  display: grid;
  grid-template-columns: 52px 1fr;
  overflow: hidden;
}

.hp-dash__side {
  background: var(--ink);
  padding: 0.75rem 0.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  align-items: center;
}

.hp-dash__side i {
  width: 28px; height: 28px;
  border-radius: 8px;
  background: rgba(255,255,255,0.08);
  display: block;
}

.hp-dash__side i.active { background: var(--red); }

.hp-dash__main { padding: 0.85rem; }

.hp-dash__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
}

.hp-dash__top strong {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--ink);
}

.hp-dash__top span {
  font-size: 0.55rem;
  color: var(--muted);
}

.hp-dash__kpis {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.4rem;
  margin-bottom: 0.65rem;
}

.hp-dash__kpi {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 0.65rem 0.75rem;
}

.hp-dash__kpi label {
  display: block;
  font-size: 0.6875rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
  font-family: var(--font-body);
}

.hp-dash__kpi b {
  font-size: 1.125rem;
  font-weight: 700;
  font-family: var(--font-display);
  color: var(--ink);
}

.hp-dash__kpi b.up { color: var(--success); }
.hp-dash__kpi b.warn { color: var(--warn); }

.hp-dash__chart {
  height: 80px;
  background: var(--surface);
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}

.hp-dash__chart svg {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.hp-laptop__base {
  height: 14px;
  background: linear-gradient(180deg, #3d4654, #2a3340);
  border-radius: 0 0 12px 12px;
  margin: 0 -8%;
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}

/* Floating glass KPI cards */
.hp-float {
  position: absolute;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(20px) saturate(1.2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  box-shadow: var(--shadow-md);
  min-width: 150px;
  transition: transform 0.4s var(--ease);
}

.hp-float:hover {
  transform: translateY(-3px);
}

.hp-float strong {
  font-size: 1.25rem;
  font-weight: 700;
  font-family: var(--font-display);
  letter-spacing: -0.02em;
  color: var(--ink);
}

.hp-float small.pos { color: var(--success); }
.hp-float small.neg { color: var(--red); }
.hp-float small.alert { color: var(--warn); }

.hp-float--1 { top: 5%; left: -2%; }
.hp-float--2 { top: 18%; right: -4%; }
.hp-float--3 { bottom: 35%; left: -6%; }
.hp-float--4 { bottom: 18%; right: -2%; }
.hp-float--5 { top: 42%; right: -8%; }

@media (max-width: 1023px) {
  .hp-float { display: none; }
  .hp-laptop { transform: none; }
}

.hp-float label {
  display: block;
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
  margin-bottom: 0.25rem;
  font-family: var(--font-body);
}

.hp-float small {
  display: block;
  font-size: 0.75rem;
  font-weight: 500;
  margin-top: 0.2rem;
  font-family: var(--font-body);
}

/* ─── Trust band ─── */
.hp-trust {
  background: var(--graphite);
  color: #fff;
  padding: clamp(3rem, 6vw, 4.5rem) 0;
}

.hp-trust__logos {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 2.5rem;
}

.hp-trust__logo {
  height: 36px;
  padding: 0 1.25rem;
  display: inline-flex;
  align-items: center;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: rgba(255,255,255,0.5);
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
}

.hp-trust__metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.1);
}

@media (max-width: 700px) {
  .hp-trust__metrics { grid-template-columns: repeat(2, 1fr); }
}

.hp-trust__metric strong {
  display: block;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
}

.hp-trust__metric span {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.55);
}

.hp-trust__statement {
  text-align: center;
  font-size: 1rem;
  color: rgba(255,255,255,0.65);
  max-width: 42rem;
  margin: 0 auto 2rem;
  line-height: 1.6;
}

/* ─── Question cards ─── */
.hp-questions {
  display: grid;
  gap: 0.85rem;
  grid-template-columns: repeat(auto-fill, minmax(16rem, 1fr));
}

.hp-qcard {
  padding: 1.5rem 1.5rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-size: 1rem;
  font-weight: 600;
  font-family: var(--font-display);
  color: var(--ink);
  line-height: 1.5;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--ease), border-color 0.3s, box-shadow 0.3s;
}

.hp-qcard:hover {
  transform: translateY(-3px);
  border-color: var(--line-strong);
  box-shadow: var(--shadow-md);
}

.hp-qcard::before {
  content: '?';
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 8px;
  background: var(--red-soft);
  color: var(--red);
  font-size: 0.75rem;
  font-weight: 800;
  margin-right: 0.65rem;
  vertical-align: middle;
}

.hp-answer-banner {
  margin-top: 2.5rem;
  padding: 2.5rem;
  background: var(--graphite);
  border-radius: var(--radius);
  color: #fff;
  text-align: center;
}

.hp-answer-banner h3 {
  margin: 0 0 0.5rem;
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.hp-answer-banner p {
  margin: 0;
  color: rgba(255,255,255,0.72);
  font-size: 1rem;
  max-width: 36rem;
  margin-inline: auto;
}

/* ─── Executive dashboard section ─── */
.hp-exec {
  background: var(--surface);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.hp-exec__scene {
  position: relative;
  margin-top: 2rem;
}

.hp-exec__dash {
  background: var(--ink);
  border-radius: 20px;
  padding: 1.5rem;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.hp-exec__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.25rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.hp-exec__header h3 {
  margin: 0;
  font-size: 0.85rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.02em;
}

.hp-exec__live {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--success);
  font-family: var(--font-body);
}

.hp-exec__live::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--success);
  animation: hp-pulse 2s ease infinite;
}

.hp-exec__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.65rem;
  margin-bottom: 1rem;
}

@media (max-width: 900px) {
  .hp-exec__grid { grid-template-columns: repeat(2, 1fr); }
}

.hp-exec__tile {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  padding: 0.85rem;
}

.hp-exec__tile span {
  display: block;
  font-size: 0.6rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,0.45);
  margin-bottom: 0.25rem;
}

.hp-exec__tile strong {
  font-size: 1.375rem;
  font-weight: 700;
  font-family: var(--font-display);
  color: #fff;
  letter-spacing: -0.02em;
}

.hp-exec__tile.accent strong { color: var(--warn); }
.hp-exec__tile.alert strong { color: #EF4444; }

.hp-exec__bar {
  flex: 1;
  background: var(--red);
  border-radius: 4px 4px 0 0;
  min-height: 20%;
  animation: hp-bar-grow 1s var(--ease-out) backwards;
}

.hp-exec__bars {
  display: flex;
  align-items: flex-end;
  gap: 0.35rem;
  height: 100px;
  padding: 1rem;
  background: rgba(255,255,255,0.03);
  border-radius: var(--radius-sm);
}

.hp-exec__bar:nth-child(1) { height: 45%; animation-delay: 0.1s; }
.hp-exec__bar:nth-child(2) { height: 72%; animation-delay: 0.15s; }
.hp-exec__bar:nth-child(3) { height: 58%; animation-delay: 0.2s; }
.hp-exec__bar:nth-child(4) { height: 88%; animation-delay: 0.25s; }
.hp-exec__bar:nth-child(5) { height: 65%; animation-delay: 0.3s; }
.hp-exec__bar:nth-child(6) { height: 92%; animation-delay: 0.35s; }
.hp-exec__bar:nth-child(7) { height: 78%; animation-delay: 0.4s; }

@keyframes hp-bar-grow {
  from { transform: scaleY(0); transform-origin: bottom; }
  to { transform: scaleY(1); transform-origin: bottom; }
}

.hp-exec__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 2rem;
  justify-content: center;
}

.hp-exec__chip {
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  background: var(--page);
  border: 1px solid var(--line);
  color: var(--muted);
}

/* ─── Why cards ─── */
.hp-why-grid {
  display: grid;
  gap: var(--card-gap);
  grid-template-columns: repeat(auto-fill, minmax(17rem, 1fr));
}

.hp-why-card {
  padding: var(--card-pad);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--ease), box-shadow 0.3s;
}

.hp-why-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.hp-why-card__icon {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: var(--radius-sm);
  background: var(--red-soft);
  color: var(--red);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  margin-bottom: 1.25rem;
}

.hp-why-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.375rem;
  font-weight: 600;
  font-family: var(--font-display);
  letter-spacing: -0.02em;
}

.hp-why-card p {
  margin: 0;
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.7;
}

/* ─── Module grid ─── */
.hp-modules {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fill, minmax(14.5rem, 1fr));
}

.hp-module {
  padding: 1.35rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color 0.2s, transform 0.2s;
}

.hp-module:hover {
  border-color: rgba(196,0,43,0.25);
  transform: translateY(-2px);
}

.hp-module__icon { font-size: 1.35rem; margin-bottom: 0.65rem; }

.hp-module h3 {
  margin: 0 0 0.35rem;
  font-size: 0.95rem;
  font-weight: 700;
}

.hp-module p {
  margin: 0 0 0.85rem;
  font-size: 0.8rem;
  color: var(--muted);
  line-height: 1.5;
}

.hp-module a {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--red);
}

.hp-module a:hover { text-decoration: underline; }

/* ─── Procurement ─── */
.hp-proc {
  background: var(--page-muted);
}

.hp-proc__flow {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
  justify-content: center;
  margin: 2rem 0;
}

.hp-proc__step {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  box-shadow: var(--shadow-sm);
}

.hp-proc__arrow {
  color: var(--red);
  font-weight: 800;
  font-size: 0.9rem;
}

.hp-proc__preview {
  display: grid;
  gap: 1.5rem;
  margin-top: 2rem;
}

@media (min-width: 800px) {
  .hp-proc__preview { grid-template-columns: 1fr 1fr; align-items: start; }
}

.hp-proc__ui {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.25rem;
  box-shadow: var(--shadow-md);
}

.hp-proc__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.85rem;
}

.hp-proc__row:last-child { border-bottom: none; }

.hp-proc__status {
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.25rem 0.55rem;
  border-radius: 6px;
}

.hp-proc__status--ok { background: var(--success-soft); color: var(--success); }
.hp-proc__status--wait { background: #fff7ed; color: #b45309; }
.hp-proc__status--new { background: var(--red-soft); color: var(--red); }

/* ─── Simplicity ─── */
.hp-compare {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 800px) {
  .hp-compare { grid-template-columns: 1fr 1fr; }
}

.hp-ui-mock {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.hp-ui-mock__head {
  padding: 0.75rem 1rem;
  background: var(--ink);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
}

.hp-ui-mock__body { padding: 1rem; }

.hp-ui-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.82rem;
}

.hp-ui-row:last-child { border-bottom: none; }

.hp-ui-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

/* ─── Industries ─── */
.hp-ind-grid {
  display: grid;
  gap: 1.15rem;
  grid-template-columns: repeat(auto-fill, minmax(16rem, 1fr));
}

.hp-ind {
  position: relative;
  padding: 2rem 1.5rem;
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 180px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: #fff;
  transition: transform 0.3s var(--ease);
}

.hp-ind:hover { transform: scale(1.02); }

.hp-ind::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(0,0,0,0.75) 100%);
  z-index: 1;
}

.hp-ind__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hp-ind--hotels .hp-ind__bg,
.hp-ind--resorts .hp-ind__bg,
.hp-ind--restaurants .hp-ind__bg,
.hp-ind--lounges .hp-ind__bg,
.hp-ind--clubs .hp-ind__bg,
.hp-ind--shortlet .hp-ind__bg { background: var(--ink-soft); }

.hp-ind h3, .hp-ind p, .hp-ind a {
  position: relative;
  z-index: 2;
}

.hp-ind h3 { margin: 0 0 0.35rem; font-size: 1.1rem; font-weight: 800; }
.hp-ind p { margin: 0 0 0.75rem; font-size: 0.82rem; opacity: 0.85; line-height: 1.45; }
.hp-ind a { font-size: 0.78rem; font-weight: 700; color: #fff; opacity: 0.9; }
.hp-ind a:hover { opacity: 1; text-decoration: underline; }

/* ─── Testimonials ─── */
.hp-testimonials {
  display: grid;
  gap: 1.15rem;
  grid-template-columns: repeat(auto-fill, minmax(18rem, 1fr));
}

.hp-testi {
  padding: 1.5rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.hp-testi__tag {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.75rem;
}

.hp-testi blockquote {
  margin: 0 0 1rem;
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--ink);
}

.hp-testi__result {
  display: inline-block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--success);
  background: var(--success-soft);
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
}
  margin-bottom: 0.75rem;
}

.hp-testi figcaption {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--muted);
}

/* ─── Editions ─── */
.hp-editions {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fill, minmax(14rem, 1fr));
}

.hp-edition {
  padding: 1.5rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-align: center;
  transition: transform 0.2s, border-color 0.2s;
}

.hp-edition:hover { transform: translateY(-3px); }

.hp-edition--featured {
  border-color: var(--red);
  background: var(--surface);
  box-shadow: var(--shadow-md);
}

.hp-edition h3 {
  margin: 0 0 0.5rem;
  font-size: 1.1rem;
  font-weight: 800;
}

.hp-edition p {
  margin: 0 0 1rem;
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.5;
}

/* ─── Interactive demo CTA block ─── */
.hp-interactive {
  background: var(--ink);
  border-radius: 24px;
  padding: clamp(2.5rem, 5vw, 4rem);
  color: #fff;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hp-interactive::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 80% at 80% 20%, rgba(196,0,43,0.35), transparent);
}

.hp-interactive > * { position: relative; }

.hp-interactive h2 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 800;
  letter-spacing: -0.03em;
}

.hp-interactive p {
  margin: 0 auto 1.5rem;
  max-width: 32rem;
  color: rgba(255,255,255,0.7);
  font-size: 1rem;
  line-height: 1.6;
}

.hp-interactive__list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  margin-bottom: 2rem;
}

.hp-interactive__list span {
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
}

/* ─── FAQ (homepage) ─── */
.hp-faq details {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  margin-bottom: 0.6rem;
  background: var(--surface);
  overflow: hidden;
}

.hp-faq summary {
  padding: 1.25rem 1.5rem;
  font-weight: 600;
  font-size: 1rem;
  font-family: var(--font-display);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.hp-faq summary::-webkit-details-marker { display: none; }
.hp-faq summary::after { content: '+'; color: var(--muted); font-size: 1.2rem; }
.hp-faq details[open] summary::after { content: '−'; color: var(--red); }

.hp-faq p {
  margin: 0;
  padding: 0 1.5rem 1.25rem;
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.7;
  font-family: var(--font-body);
}

/* ─── Final CTA ─── */
.hp-final-cta {
  text-align: center;
  padding: clamp(4rem, 8vw, 6rem) 0;
}

.hp-final-cta h2 {
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 800;
  font-family: var(--font-display);
  letter-spacing: -0.02em;
  margin: 0 0 1.25rem;
}

/* ─── Enterprise footer ─── */
.hp-footer {
  background: var(--graphite);
  color: rgba(255,255,255,0.65);
  padding: 4rem 1.5rem 2rem;
}

.hp-footer__grid {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  gap: 2rem 1.5rem;
  grid-template-columns: 2fr repeat(5, 1fr);
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

@media (max-width: 1000px) {
  .hp-footer__grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 600px) {
  .hp-footer__grid { grid-template-columns: 1fr 1fr; }
}

.hp-footer__brand p {
  margin: 0.75rem 0 0;
  font-size: 0.88rem;
  line-height: 1.6;
  color: rgba(255,255,255,0.45);
  max-width: 22rem;
}

.hp-footer h4 {
  margin: 0 0 0.85rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
}

.hp-footer ul { list-style: none; margin: 0; padding: 0; }
.hp-footer li { margin-bottom: 0.45rem; }
.hp-footer a {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.65);
  transition: color 0.2s;
}
.hp-footer a:hover { color: #fff; }

.hp-footer__bottom {
  max-width: var(--max-width);
  margin: 2rem auto 0;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.35);
}

.hp-footer__social {
  display: flex;
  gap: 1rem;
}

@media (prefers-reduced-motion: reduce) {
  .hp-reveal, .hp-float, .hp-laptop, .hp-hero__orb, .hp-exec__bar {
    animation: none !important;
    transition: none !important;
  }
  .hp-reveal { opacity: 1; transform: none; }
  .hp-chapter { opacity: 1; transform: none; }
}

/* ─── Executive Luxury OS — Cinematic Chapters ─── */
.hp-cinematic-hero {
  min-height: 92vh;
  display: flex;
  align-items: center;
  padding: var(--section-gap) 0;
  background: var(--page);
}

.hp-cinematic-hero h1 {
  font-size: clamp(2.5rem, 6vw, 5.5rem);
  font-weight: 800;
  line-height: 0.92;
  letter-spacing: -0.03em;
  max-width: 14ch;
}

.hp-cinematic-hero__tag {
  font-size: clamp(1.125rem, 2vw, 1.75rem);
  font-weight: 600;
  color: var(--red);
  margin: 0 0 1.5rem;
  font-family: var(--font-display);
}

.hp-chapter-nav {
  position: fixed;
  left: 1.25rem;
  top: 50%;
  transform: translateY(-50%);
  z-index: 50;
  display: none;
  flex-direction: column;
  gap: 0.35rem;
}

@media (min-width: 1200px) {
  .hp-chapter-nav { display: flex; }
}

.hp-chapter-nav a {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--line-strong);
  transition: transform 0.2s, background 0.2s;
}

.hp-chapter-nav a.is-active,
.hp-chapter-nav a:hover {
  background: var(--red);
  transform: scale(1.35);
}

.hp-chapter {
  padding: var(--section-gap) 0;
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

.hp-chapter.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.hp-chapter--dark {
  background: var(--graphite);
  color: #fff;
}

.hp-chapter--dark .hp-chapter__lede,
.hp-chapter--dark .hp-chapter__problem {
  color: rgba(255, 255, 255, 0.6);
}

.hp-chapter--dark .hp-chapter__num {
  color: rgba(255, 255, 255, 0.35);
}

.hp-chapter--muted {
  background: var(--page-muted);
}

.hp-chapter__inner {
  display: grid;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .hp-chapter__inner--split {
    grid-template-columns: 1fr 1.1fr;
  }
  .hp-chapter__inner--flip .hp-chapter__copy { order: 2; }
}

.hp-chapter__num {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1rem;
  font-family: var(--font-body);
}

.hp-chapter__title {
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0 0 1.25rem;
  font-family: var(--font-display);
}

.hp-chapter--dark .hp-chapter__title { color: #fff; }

/* Light UI panels inside dark chapters must not inherit white body text */
.hp-chapter--dark .hp-ui-mock,
.hp-chapter--dark .hp-ui-mock__body,
.hp-chapter--dark .hp-ui-row {
  color: var(--ink);
}

.hp-chapter--dark .hp-ui-row strong {
  color: var(--ink);
}

.hp-chapter__problem {
  font-size: 1.125rem;
  color: var(--muted);
  line-height: 1.7;
  margin: 0 0 1rem;
  max-width: var(--read-width);
}

.hp-chapter__lede {
  font-size: 1.125rem;
  line-height: 1.7;
  margin: 0 0 1.5rem;
  max-width: var(--read-width);
}

.hp-chapter__outcome {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--success);
  font-family: var(--font-display);
}

.hp-chapter__visual {
  position: relative;
}

/* Homepage — implementation journey boxes (Chapter 12) */
.hp-home-journey__title {
  margin: 0 0 1rem;
  font-size: clamp(1.125rem, 2vw, 1.35rem);
  font-weight: 700;
  font-family: var(--font-display);
  letter-spacing: -0.02em;
  color: var(--ink);
}

.hp-home-journey {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.65rem;
}

@media (min-width: 640px) {
  .hp-home-journey { grid-template-columns: repeat(4, 1fr); }
}

.hp-home-journey__step {
  padding: 0.85rem 0.65rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  color: var(--ink);
}

.hp-home-journey__step strong {
  display: block;
  font-size: 0.72rem;
  font-weight: 800;
  line-height: 1.35;
  color: var(--ink);
}

@media (max-width: 480px) {
  .hp-home-journey {
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
  }

  .hp-home-journey__step {
    padding: 0.65rem 0.45rem;
  }

  .hp-home-journey__step strong {
    font-size: 0.65rem;
  }
}

.hp-kpi-num,
.hp-dash__kpi b,
.hp-exec__tile strong,
.hp-float strong {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
}

.hp-trust--inline {
  background: var(--graphite);
  padding: var(--section-inner) 0;
}
