:root {
  --bg: #07080d;
  --bg-2: #0d1017;
  --surface: rgba(17, 20, 30, 0.7);
  --surface-strong: rgba(20, 23, 34, 0.88);
  --line: rgba(255, 255, 255, 0.1);
  --text: #eef2ff;
  --muted: #a8b0c7;
  --gold: #d6b370;
  --gold-soft: rgba(214, 179, 112, 0.18);
  --accent: #7b8fff;
  --accent-soft: rgba(123, 143, 255, 0.14);
  --success: #7bd7a9;
  --shadow: 0 18px 60px rgba(0, 0, 0, 0.38);
  --radius: 24px;
  --radius-sm: 18px;
  --container: min(1180px, calc(100vw - 32px));
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  background: radial-gradient(circle at 12% 8%, rgba(123, 143, 255, 0.16), transparent 28%), radial-gradient(circle at 88% 10%, rgba(214, 179, 112, 0.14), transparent 24%), radial-gradient(circle at 50% 120%, rgba(214, 179, 112, 0.08), transparent 32%), linear-gradient(180deg, #05060a 0%, #090b12 42%, #06070b 100%);
  color: var(--text);
  min-height: 100vh;
  background-attachment: fixed;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(255,255,255,0.02), transparent 18%, transparent 82%, rgba(0,0,0,0.24));
  z-index: -1;
}
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  box-shadow: inset 0 0 180px rgba(0,0,0,0.45);
  z-index: -1;
}
a { color: inherit; text-decoration: none; }
p { color: var(--muted); line-height: 1.7; }
h1, h2, h3, h4 { margin: 0 0 16px; font-family: Manrope, Inter, sans-serif; line-height: 1.1; letter-spacing: -0.03em; }
h1 { font-size: clamp(2.6rem, 5vw, 5.4rem); }
h2 { font-size: clamp(1.8rem, 3vw, 3.2rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.5rem); }
.site-shell { position: relative; overflow: hidden; }
#luxury-bg {
  position: fixed; inset: 0; width: 100%; height: 100%; z-index: -3;
}
.noise {
  position: fixed; inset: 0; z-index: -2; pointer-events: none; opacity: 0.12;
  background-image: radial-gradient(rgba(255,255,255,.25) 0.5px, transparent 0.5px);
  background-size: 12px 12px;
  mix-blend-mode: soft-light;
}
.header {
  width: calc(100% - 32px); margin: 16px 16px 0; max-width: none; padding: 14px 20px;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  position: sticky; top: 14px; z-index: 40; backdrop-filter: blur(22px);
  background: linear-gradient(180deg, rgba(14, 16, 24, 0.72), rgba(10, 12, 19, 0.54)); border: 1px solid rgba(255,255,255,0.09); border-radius: 999px; box-shadow: 0 20px 60px rgba(0, 0, 0, 0.42);
}
.brand { display: inline-flex; align-items: center; gap: 14px; }
.brand strong { display: block; font-size: 1rem; }
.brand small { display: block; color: var(--muted); margin-top: 2px; }
.brand-mark {
  display: none;
}
.brand-logo {
  width: 44px;
  height: 44px;
  object-fit: contain;
  display: block;
  border-radius: 14px;
  filter: drop-shadow(0 8px 20px rgba(214, 179, 112, 0.18));
}

.nav { display: flex; align-items: center; gap: 24px; margin-left: auto; }
.nav a { color: var(--muted); font-size: 0.93rem; letter-spacing: 0.02em; }
.nav a:hover, .nav a.active { color: var(--text); }
.nav-toggle { display: none; background: transparent; border: 0; width: 44px; height: 44px; cursor: pointer; }
.nav-toggle span { display:block; width:22px; height:2px; background:#fff; margin:6px auto; }
.section, .error-main { width: var(--container); margin: 0 auto; }
.page-hero { width: 100%; margin: 0; max-width: none; }
.section { padding: 92px 0; }
.section-tight { padding-top: 56px; }
.hero {
  width: 100%;
  margin: 0;
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(420px, 0.98fr);
  align-items: center;
  gap: clamp(40px, 4.5vw, 72px);
  padding: clamp(110px, 14vh, 156px) clamp(28px, 5vw, 74px) clamp(34px, 6vh, 52px);
  position: relative;
  overflow: hidden;
  border-radius: 0;
  isolation: isolate;
}

.hero-copy {
  max-width: min(760px, 46vw);
  padding-left: clamp(4px, 1vw, 14px);
}

.hero-visual {
  justify-self: end;
  align-self: center;
  width: min(680px, 41vw);
  margin-right: clamp(0px, 0.4vw, 10px);
}
.hero-copy span.eyebrow, .eyebrow {
  display:inline-flex; align-items:center; gap:8px; padding:8px 14px; border-radius:999px;
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.08);
  color: var(--gold); text-transform: uppercase; letter-spacing: 0.16em; font-size: 0.72rem; font-weight: 700; margin-bottom: 20px;
}
.hero h1 span { color: var(--gold); }
.lead { font-size: 1.08rem; max-width: 68ch; }
.hero-actions, .cta-actions, .contact-actions { display:flex; gap:14px; flex-wrap:wrap; margin-top: 28px; }
.btn {
  display:inline-flex; align-items:center; justify-content:center; min-height: 52px; padding: 0 22px; border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.12); font-weight: 700; letter-spacing: 0.01em; transition: .28s ease; cursor: pointer;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: linear-gradient(135deg, #b88a3c, #f2db9d 45%, #d4aa59 100%); color: #15120b; border-color: rgba(255,255,255,0.2);
  box-shadow: 0 16px 38px rgba(214, 179, 112, 0.28);
}
.btn-secondary, .btn-nav {
  background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.03)); color: var(--text);
}
.btn-nav { padding: 0 18px; min-height: 44px; }
.trust-row, .badge-row { display:flex; flex-wrap:wrap; gap:12px; margin-top: 22px; }
.trust-row span, .badge-row span {
  padding: 10px 14px; border-radius: 999px; background: rgba(255,255,255,0.05); border:1px solid rgba(255,255,255,0.08); color: #d9def3; font-size: .92rem;
}
.glass-panel, .service-card, .service-detail-card, .stat-card, .contact-card {
  position: relative; overflow: hidden;
  background: linear-gradient(180deg, rgba(22, 25, 37, 0.88), rgba(10, 12, 19, 0.8));
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 28px;
  transition: transform .35s ease, border-color .35s ease, box-shadow .35s ease, background .35s ease;
}
.glass-panel::before, .service-card::before, .service-detail-card::before, .stat-card::before, .contact-card::before {
  content: ""; position: absolute; inset: 0 auto auto 0; width: 100%; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
}
.hero-panel { padding: 22px; background: linear-gradient(180deg, rgba(19, 22, 33, 0.78), rgba(8, 10, 17, 0.7)); backdrop-filter: blur(10px); }
.panel-topline { display:flex; align-items:center; gap:10px; color: var(--muted); margin-bottom: 18px; }
.dot { width: 9px; height: 9px; border-radius: 50%; background: rgba(255,255,255,0.24); }
.hero-grid, .cards-grid, .stats-grid, .mini-cards {
  display:grid; gap: 18px;
}
.hero-copy h1 {
  max-width: 11.5ch;
  text-wrap: balance;
}


.hero-with-video::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5, 10, 18, 0.82) 0%, rgba(5, 10, 18, 0.72) 34%, rgba(7, 12, 22, 0.46) 60%, rgba(7, 12, 22, 0.58) 100%),
    linear-gradient(180deg, rgba(4, 8, 15, 0.08) 0%, rgba(4, 8, 15, 0.22) 100%);
  z-index: 1;
}

.hero-video-wrap {
  position: absolute;
  inset: 0;
  z-index: -2;
  overflow: hidden;
  border-radius: inherit;
  background: radial-gradient(circle at 76% 42%, rgba(76, 147, 255, 0.18), transparent 36%), linear-gradient(180deg, #09111d, #05080f);
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center right;
  filter: saturate(1.02) brightness(0.62) contrast(1.05);
  transform: scale(1.04);
}

.page-hero .eyebrow,
.page-hero h1,
.page-hero .lead,
.hero-copy,
.hero-visual {
  position: relative;
  z-index: 2;
}

.page-hero::after,
.hero::after {
  content: "";
  position: absolute;
  right: -60px;
  top: 16%;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(73, 133, 255, 0.16), transparent 62%);
  filter: blur(12px);
  z-index: -1;
}

.page-hero .lead {
  max-width: 62ch;
}

body[data-page="home"] .header {
  width: calc(100% - 32px);
  max-width: none;
  margin: 14px 16px 0;
  padding: 12px 18px;
  top: 12px;
}

body[data-page="home"] .brand-logo {
  width: 40px;
  height: 40px;
  border-radius: 12px;
}

body[data-page="home"] .brand strong {
  font-size: 0.96rem;
}

body[data-page="home"] .brand small {
  font-size: 0.78rem;
}

body[data-page="home"] .nav {
  gap: 20px;
  margin-left: auto;
}

body[data-page="home"] .nav a {
  font-size: 0.89rem;
}

body[data-page="home"] .btn-nav {
  min-height: 40px;
  padding: 0 16px;
}

body[data-page="home"] .section {
  padding: 64px 0;
}

body[data-page="home"] .section-tight {
  padding-top: 28px;
}

body[data-page="home"] .hero {
  min-height: 100vh;
  align-items: center;
  gap: clamp(38px, 4.5vw, 64px);
  padding-top: clamp(116px, 15vh, 164px);
  padding-bottom: clamp(34px, 6vh, 52px);
}

body[data-page="home"] .hero-with-video::before {
  background:
    linear-gradient(90deg, rgba(5, 10, 18, 0.84) 0%, rgba(5, 10, 18, 0.72) 34%, rgba(7, 12, 22, 0.42) 60%, rgba(7, 12, 22, 0.56) 100%),
    linear-gradient(180deg, rgba(4, 8, 15, 0.08) 0%, rgba(4, 8, 15, 0.2) 100%);
}

body[data-page="home"] .hero-copy {
  max-width: min(720px, 46vw);
  padding-left: clamp(12px, 2.8vw, 42px);
}

body[data-page="home"] .hero-visual {
  width: min(660px, 43vw);
  margin-right: clamp(-4px, 0.4vw, 6px);
}

body[data-page="home"] .hero-copy .eyebrow {
  margin-bottom: 14px;
  padding: 6px 12px;
  font-size: 0.7rem;
}

body[data-page="home"] .hero-copy h1 {
  font-size: clamp(2.1rem, 3.4vw, 3.5rem);
  max-width: 14ch;
  margin-bottom: 14px;
}

body[data-page="home"] .lead {
  font-size: 1rem;
  line-height: 1.64;
  max-width: 60ch;
}

body[data-page="home"] .hero-actions {
  margin-top: 18px;
  gap: 12px;
}

body[data-page="home"] .hero-actions .btn {
  min-height: 46px;
  padding: 0 18px;
  font-size: 0.94rem;
}

body[data-page="home"] .trust-row, body[data-page="home"] .badge-row {
  gap: 10px;
  margin-top: 18px;
}

body[data-page="home"] .trust-row span, body[data-page="home"] .badge-row span {
  padding: 8px 12px;
  font-size: 0.83rem;
}

body[data-page="home"] .hero-panel {
  padding: 18px;
  backdrop-filter: blur(10px);
  background: linear-gradient(180deg, rgba(12, 16, 26, 0.72), rgba(8, 11, 18, 0.76));
}

body[data-page="home"] .panel-topline {
  margin-bottom: 14px;
  font-size: 0.9rem;
}

body[data-page="home"] .section-heading {
  margin-bottom: 20px;
}

body[data-page="home"] .content-grid.two-col {
  gap: 24px;
}

body[data-page="home"] .proof-strip {
  padding-top: 8px;
  padding-bottom: 28px;
}

body[data-page="home"] .proof-strip-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 14px;
}

body[data-page="home"] .proof-strip-head p {
  max-width: 60ch;
  font-size: 0.92rem;
  line-height: 1.5;
}

body[data-page="home"] .proof-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

body[data-page="home"] .proof-card {
  position: relative;
  overflow: hidden;
  padding: 16px 18px;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,0.07);
  background: linear-gradient(180deg, rgba(18, 21, 31, 0.76), rgba(10, 12, 18, 0.72));
  box-shadow: 0 18px 40px rgba(0,0,0,0.26);
  transition: transform .28s ease, border-color .28s ease;
}

body[data-page="home"] .proof-card:hover {
  transform: translateY(-4px);
  border-color: rgba(214, 179, 112, 0.2);
}

body[data-page="home"] .proof-card strong {
  display: block;
  font-size: 1.34rem;
  color: var(--text);
  margin-bottom: 6px;
}

body[data-page="home"] .proof-card p {
  margin: 0 0 8px;
  font-size: 0.88rem;
  line-height: 1.48;
  color: #c1c9dd;
}

body[data-page="home"] .proof-card small {
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 700;
  font-size: 0.68rem;
}

body[data-page="home"] .hero-signal-stack {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

body[data-page="home"] .hero-signal-card {
  padding: 14px;
  border-radius: 16px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);
}

body[data-page="home"] .hero-signal-card.span-2 {
  grid-column: span 2;
}

body[data-page="home"] .hero-signal-card small {
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 700;
  font-size: 0.66rem;
}

body[data-page="home"] .hero-signal-card h3 {
  font-size: 1rem;
  margin: 6px 0 8px;
}

body[data-page="home"] .hero-signal-card p {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.5;
  color: #c1c9dd;
}

body[data-page="home"] .capabilities-priority .section-heading {
  max-width: 840px;
}

body[data-page="home"] .capabilities-priority .section-heading p {
  max-width: 62ch;
  font-size: 0.95rem;
}

body[data-page="home"] .primary-capability-grid {
  gap: 14px;
}

body[data-page="home"] .primary-service-card {
  padding: 24px;
  background: linear-gradient(180deg, rgba(24, 28, 41, 0.92), rgba(10, 12, 19, 0.86));
  border-color: rgba(214, 179, 112, 0.14);
}

body[data-page="home"] .primary-service-card h3 {
  font-size: 1.12rem;
  margin-bottom: 10px;
}

body[data-page="home"] .primary-service-card p {
  font-size: 0.94rem;
  line-height: 1.55;
  color: #c6cde0;
}

body[data-page="home"] .secondary-capability-row {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 14px;
  margin-top: 14px;
}

body[data-page="home"] .secondary-capability-card {
  padding: 20px 22px;
}

body[data-page="home"] .secondary-capability-card small {
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 700;
  font-size: 0.68rem;
}

body[data-page="home"] .secondary-capability-card h3 {
  margin-top: 8px;
  margin-bottom: 10px;
  font-size: 1.04rem;
}

body[data-page="home"] .secondary-capability-card p {
  font-size: 0.91rem;
  line-height: 1.52;
}

body[data-page="home"] .capability-inline-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

body[data-page="home"] .capability-inline-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  color: var(--gold);
  border: 1px solid rgba(214, 179, 112, 0.18);
  background: rgba(214, 179, 112, 0.05);
  font-weight: 700;
  font-size: 0.88rem;
}

body[data-page="home"] .cta-section {
  padding: 30px;
  margin-bottom: 48px;
}

.section-heading h2, .page-hero h1, .cta-section h2 {
  text-wrap: balance;
}
.hero-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.hero-grid article, .mini-cards article {
  padding: 18px; border-radius: 20px; background: rgba(255,255,255,0.04); border:1px solid rgba(255,255,255,0.06);
}
.hero-grid small, .stat-card small, .service-icon { color: var(--gold); text-transform: uppercase; letter-spacing: .12em; font-weight:700; }
.section-heading { max-width: 760px; margin-bottom: 28px; }
.stats-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.stat-card strong { display:block; font-size: 2rem; color: var(--text); margin-bottom: 12px; }
.content-grid.two-col { display:grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap:28px; align-items:center; }
.cards-grid-4 { grid-template-columns: repeat(4, minmax(0,1fr)); }
.cards-grid-3 { grid-template-columns: repeat(3, minmax(0,1fr)); }
.cards-grid-2 { grid-template-columns: repeat(2, minmax(0,1fr)); }
.cards-grid-5 { grid-template-columns: repeat(5, minmax(0,1fr)); }
.service-card a, .service-detail-card a { color: var(--gold); font-weight: 700; display:inline-block; margin-top: 12px; }
.service-detail-card { min-height: 100%; }
.service-icon {
  display:inline-flex; align-items:center; justify-content:center; width: 54px; height:54px; border-radius: 18px;
  background: var(--gold-soft); margin-bottom: 16px;
}
.feature-list { list-style: none; padding: 0; margin: 22px 0 0; display:grid; gap:12px; }
.feature-list li {
  position: relative; padding-left: 22px; color: var(--muted);
}
.feature-list li::before {
  content: ""; position:absolute; left:0; top: 10px; width: 10px; height: 10px; border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), #f7e8be);
  box-shadow: 0 0 16px rgba(214, 179, 112, 0.35);
}
.compact li { margin: 0; }
.audience-stack { display:grid; gap:18px; }
.audience-stack article, .timeline div {
  padding: 16px 0; border-bottom: 1px solid rgba(255,255,255,0.08);
}
.audience-stack article:last-child, .timeline div:last-child { border-bottom: 0; }
.timeline { display:grid; gap: 6px; }
.timeline div { display:flex; gap:16px; align-items:flex-start; }
.timeline strong {
  min-width: 44px; color: var(--gold); font-size: 1.1rem;
}
.accent-section {
  position: relative;
}
.accent-section::after {
  content:""; position:absolute; inset: 12% -10% auto auto; width: 320px; height: 320px; border-radius: 50%;
  background: radial-gradient(circle, rgba(214, 179, 112, 0.12), transparent 62%); filter: blur(10px); pointer-events:none;
}
.cta-section {
  display:flex; align-items:center; justify-content:space-between; gap:26px; padding: 38px; margin-bottom: 72px;
  background: linear-gradient(90deg, rgba(214, 179, 112, 0.16), rgba(123, 143, 255, 0.12)); border-radius: 28px; border: 1px solid rgba(255,255,255,0.1);
  position: relative; overflow: hidden;
}
.cta-section::before {
  content: "";
  position: absolute;
  inset: auto -10% -90px auto;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,0.12), rgba(255,255,255,0) 60%);
  pointer-events: none;
}
.page-hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(360px, 0.98fr);
  align-items: center;
  gap: clamp(34px, 4.5vw, 64px);
  padding: clamp(118px, 15vh, 158px) clamp(28px, 5vw, 74px) clamp(40px, 8vh, 64px);
  position: relative;
  overflow: hidden;
  border-radius: 0;
  isolation: isolate;
}
.page-hero > :not(.hero-video-wrap) { position: relative; z-index: 2; max-width: min(900px, 60vw); }

.page-hero-copy {
  position: relative;
  z-index: 2;
  max-width: min(840px, 54vw);
}

.page-hero-side {
  position: relative;
  z-index: 2;
  justify-self: end;
  align-self: center;
  width: min(520px, 33vw);
  margin-right: clamp(0px, 0.6vw, 12px);
}

.page-hero-panel {
  padding: 20px;
  background: linear-gradient(180deg, rgba(12, 16, 26, 0.72), rgba(8, 11, 18, 0.76));
  backdrop-filter: blur(10px);
}

.page-hero-cards {
  display: grid;
  gap: 12px;
}

.page-hero-card {
  --card-accent: rgba(214, 179, 112, 0.48);
  --mx: 50%;
  --my: 50%;
  --dash-speed: 3.8s;
  --dash-grid-opacity: 0.12;
  --dash-glow: color-mix(in srgb, var(--card-accent) 58%, rgba(255,255,255,0.12));
  position: relative;
  padding: 15px 15px 14px;
  border-radius: 18px;
  background:
    radial-gradient(circle at var(--mx) var(--my), color-mix(in srgb, var(--card-accent) 16%, transparent), transparent 42%),
    linear-gradient(180deg, rgba(255,255,255,0.062), rgba(255,255,255,0.028));
  border: 1px solid rgba(255,255,255,0.06);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.04), 0 18px 32px rgba(0,0,0,0.18);
  overflow: hidden;
  transition: transform .28s ease, border-color .28s ease, box-shadow .28s ease, background .28s ease;
}

.page-hero-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--card-accent), transparent);
}

.page-hero-card::after {
  content: "";
  position: absolute;
  right: -28px;
  top: -28px;
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--card-accent), transparent 68%);
  opacity: 0.18;
  pointer-events: none;
  transition: opacity .28s ease, transform .28s ease;
}

.page-hero-card:hover,
.page-hero-card.is-active {
  transform: translateY(-4px);
  border-color: color-mix(in srgb, var(--card-accent) 26%, rgba(255,255,255,0.06));
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.05), 0 22px 42px rgba(0,0,0,0.24), 0 0 0 1px color-mix(in srgb, var(--card-accent) 10%, transparent);
}

.page-hero-card:hover::after,
.page-hero-card.is-active::after {
  opacity: 0.28;
  transform: scale(1.08);
}

.page-hero-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}

.page-hero-icon {
  width: 34px;
  height: 34px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #eff5ff;
  background: linear-gradient(135deg, rgba(255,255,255,0.12), rgba(255,255,255,0.04));
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 10px 24px rgba(0,0,0,0.18);
}

.page-hero-status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.06);
  color: #d9def3;
  font-size: 0.72rem;
  font-weight: 600;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #6ff3d7;
  box-shadow: 0 0 0 0 rgba(111, 243, 215, 0.55);
  animation: statusPulse 2.2s infinite;
}

.page-hero-card small {
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 700;
  font-size: 0.66rem;
}

.page-hero-card h3 {
  font-size: 1rem;
  margin: 6px 0 8px;
}

.page-hero-card p {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.5;
  color: #c1c9dd;
}

.page-hero-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.metric-chip {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);
  color: #e6ebff;
  font-size: 0.73rem;
  font-weight: 700;
}

.page-hero-card.accent-ai { --card-accent: rgba(104, 180, 255, 0.72); }
.page-hero-card.accent-ops { --card-accent: rgba(120, 255, 214, 0.65); }
.page-hero-card.accent-cloud { --card-accent: rgba(162, 135, 255, 0.62); }
.page-hero-card.accent-data { --card-accent: rgba(70, 223, 255, 0.7); }
.page-hero-card.accent-trust { --card-accent: rgba(236, 195, 103, 0.72); }

.page-hero-dashboard {
  display: grid;
  gap: 10px;
  margin-top: 12px;
  position: relative;
  padding: 10px 10px 8px;
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(255,255,255,0.022), rgba(255,255,255,0.012));
  border: 1px solid rgba(255,255,255,0.04);
  overflow: hidden;
}

.page-hero-dashboard::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(transparent 95%, rgba(255,255,255,0.035) 100%),
    repeating-linear-gradient(90deg, rgba(255,255,255, calc(var(--dash-grid-opacity) * .7)) 0 1px, transparent 1px 24px),
    repeating-linear-gradient(180deg, rgba(255,255,255, calc(var(--dash-grid-opacity) * .55)) 0 1px, transparent 1px 18px);
  opacity: var(--dash-grid-opacity);
  mask-image: linear-gradient(180deg, rgba(0,0,0,.9), rgba(0,0,0,.6));
  pointer-events: none;
}

.page-hero-pulse-divider {
  position: relative;
  height: 1px;
  overflow: hidden;
  background: linear-gradient(90deg, rgba(255,255,255,0.02), rgba(255,255,255,0.1), rgba(255,255,255,0.02));
}

.page-hero-pulse-divider span {
  position: absolute;
  inset: 0 auto 0 -34%;
  width: 34%;
  background: linear-gradient(90deg, transparent, var(--card-accent), transparent);
  filter: blur(0.3px);
  animation: dashboardSweep var(--dash-speed) ease-in-out infinite;
}

.page-hero-progress {
  --progress: 70%;
  position: relative;
  height: 6px;
  border-radius: 999px;
}

.page-hero-progress .progress-track,
.page-hero-progress .progress-fill {
  position: absolute;
  inset: 0;
  border-radius: inherit;
}

.page-hero-progress .progress-track {
  background: linear-gradient(90deg, rgba(255,255,255,0.06), rgba(255,255,255,0.12));
}

.page-hero-progress .progress-fill {
  width: var(--progress);
  background: linear-gradient(90deg, color-mix(in srgb, var(--card-accent) 35%, white), var(--card-accent));
  box-shadow: 0 0 18px color-mix(in srgb, var(--card-accent) 48%, transparent);
  animation: dashboardFill calc(var(--dash-speed) + .8s) ease-in-out infinite;
  transform-origin: left center;
}

.page-hero-microbars {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  align-items: end;
  gap: 6px;
  min-height: 30px;
}

.page-hero-microbars span {
  --bar-height: 50%;
  --bar-delay: 0s;
  display: block;
  min-height: 8px;
  height: var(--bar-height);
  border-radius: 999px 999px 4px 4px;
  background: linear-gradient(180deg, color-mix(in srgb, var(--card-accent) 88%, white), color-mix(in srgb, var(--card-accent) 62%, #0c1220));
  box-shadow: 0 8px 16px rgba(0,0,0,0.18);
  opacity: 0.88;
  animation: dashboardBars calc(var(--dash-speed) - .4s) ease-in-out infinite;
  animation-delay: var(--bar-delay);
}

.page-hero-topology {
  position: relative;
  height: 28px;
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01));
  border: 1px solid rgba(255,255,255,0.05);
  overflow: hidden;
}

.page-hero-topology::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 -28%;
  width: 28%;
  background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--card-accent) 42%, white), transparent);
  opacity: 0.28;
  filter: blur(5px);
  animation: topologySweep calc(var(--dash-speed) + 1.2s) ease-in-out infinite;
}

.topology-line {
  position: absolute;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(90deg, rgba(255,255,255,0.08), color-mix(in srgb, var(--card-accent) 65%, white), rgba(255,255,255,0.08));
  opacity: 0.55;
}

.topology-line.line-a { top: 10px; }
.topology-line.line-b { top: 18px; left: 18%; right: 18%; opacity: 0.32; }

.topology-node {
  position: absolute;
  top: 6px;
  left: var(--node-x);
  width: 7px;
  height: 7px;
  margin-left: -3px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--card-accent) 82%, white);
  box-shadow: 0 0 0 0 color-mix(in srgb, var(--card-accent) 42%, transparent);
  animation: topologyPulse 2.8s ease-in-out infinite;
}

.topology-node.node-b { top: 14px; animation-delay: .4s; }
.topology-node.node-c { animation-delay: .8s; }

@keyframes dashboardSweep {
  0% { transform: translateX(0); opacity: 0; }
  12% { opacity: 0.95; }
  50% { opacity: 0.75; }
  100% { transform: translateX(390%); opacity: 0; }
}

@keyframes dashboardFill {
  0%, 100% { transform: scaleX(0.92); opacity: 0.88; }
  50% { transform: scaleX(1); opacity: 1; }
}

@keyframes dashboardBars {
  0%, 100% { transform: scaleY(0.9); opacity: 0.82; }
  50% { transform: scaleY(1.06); opacity: 1; }
}

@keyframes topologyPulse {
  0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--card-accent) 38%, transparent); opacity: 0.72; }
  70% { box-shadow: 0 0 0 8px rgba(255,255,255,0); opacity: 1; }
  100% { box-shadow: 0 0 0 0 rgba(255,255,255,0); opacity: 0.82; }
}

@keyframes topologySweep {
  0% { transform: translateX(0); opacity: 0; }
  18% { opacity: 0.28; }
  52% { opacity: 0.2; }
  100% { transform: translateX(470%); opacity: 0; }
}


@keyframes statusPulse {
  0% { box-shadow: 0 0 0 0 rgba(111, 243, 215, 0.5); }
  70% { box-shadow: 0 0 0 8px rgba(111, 243, 215, 0); }
  100% { box-shadow: 0 0 0 0 rgba(111, 243, 215, 0); }
}

body[data-page="services"] .page-hero-card {
  --dash-speed: 4.2s;
  --dash-grid-opacity: 0.16;
}
body[data-page="ai-agents"] .page-hero-card {
  --dash-speed: 3.5s;
  --dash-grid-opacity: 0.18;
}
body[data-page="devops-automation"] .page-hero-card {
  --dash-speed: 3.2s;
  --dash-grid-opacity: 0.14;
}
body[data-page="observability"] .page-hero-card {
  --dash-speed: 2.9s;
  --dash-grid-opacity: 0.2;
}
body[data-page="cloud-platforms"] .page-hero-card {
  --dash-speed: 3.7s;
  --dash-grid-opacity: 0.15;
}
body[data-page="blueprints"] .page-hero-card {
  --dash-speed: 4.4s;
  --dash-grid-opacity: 0.12;
}
body[data-page="about"] .page-hero-card {
  --dash-speed: 4.6s;
  --dash-grid-opacity: 0.11;
}
body[data-page="contact"] .page-hero-card {
  --dash-speed: 3.4s;
  --dash-grid-opacity: 0.17;
}
body[data-page="privacy"] .page-hero-card {
  --dash-speed: 4.8s;
  --dash-grid-opacity: 0.1;
}
body[data-page="404"] .page-hero-card {
  --dash-speed: 3.9s;
  --dash-grid-opacity: 0.13;
}

body[data-page="services"] .page-hero-card:nth-child(1) .page-hero-microbars span,
body[data-page="ai-agents"] .page-hero-card:nth-child(1) .page-hero-microbars span,
body[data-page="contact"] .page-hero-card:nth-child(1) .page-hero-microbars span {
  border-radius: 999px 999px 3px 3px;
}

body[data-page="devops-automation"] .page-hero-card .page-hero-microbars span,
body[data-page="observability"] .page-hero-card .page-hero-microbars span {
  box-shadow: 0 10px 18px rgba(0,0,0,0.22), 0 0 0 1px rgba(255,255,255,0.04) inset;
}

body[data-page="cloud-platforms"] .page-hero-card .page-hero-dashboard::before,
body[data-page="blueprints"] .page-hero-card .page-hero-dashboard::before {
  opacity: calc(var(--dash-grid-opacity) + 0.03);
}

body[data-page="services"] .page-hero-panel {
  border-color: rgba(236, 195, 103, 0.16);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.36), 0 0 0 1px rgba(236, 195, 103, 0.04) inset;
}
body[data-page="ai-agents"] .page-hero-panel {
  border-color: rgba(104, 180, 255, 0.18);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.36), 0 0 0 1px rgba(104, 180, 255, 0.05) inset;
}
body[data-page="devops-automation"] .page-hero-panel {
  border-color: rgba(120, 255, 214, 0.16);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.36), 0 0 0 1px rgba(120, 255, 214, 0.05) inset;
}
body[data-page="observability"] .page-hero-panel {
  border-color: rgba(70, 223, 255, 0.18);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.36), 0 0 0 1px rgba(70, 223, 255, 0.05) inset;
}
body[data-page="cloud-platforms"] .page-hero-panel {
  border-color: rgba(162, 135, 255, 0.18);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.36), 0 0 0 1px rgba(162, 135, 255, 0.05) inset;
}
body[data-page="blueprints"] .page-hero-panel,
body[data-page="about"] .page-hero-panel,
body[data-page="contact"] .page-hero-panel,
body[data-page="privacy"] .page-hero-panel,
body[data-page="404"] .page-hero-panel {
  border-color: rgba(236, 195, 103, 0.14);
}
.page-hero h1 { max-width: 14ch; }
.page-shell .header { margin-top: 16px; }
.contact-grid { align-items: start; }
.contact-form { display:grid; gap:16px; }
.contact-form label { display:grid; gap:8px; color:#dce1f5; font-weight:600; }
.contact-form input, .contact-form select, .contact-form textarea, .chatbot-form input {
  width:100%; border-radius: 16px; border:1px solid rgba(255,255,255,0.08); background: rgba(255,255,255,0.04);
  color: var(--text); padding: 14px 16px; font: inherit; outline: none;
}
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus, .chatbot-form input:focus {
  border-color: rgba(214, 179, 112, 0.55); box-shadow: 0 0 0 4px rgba(214, 179, 112, 0.08);
}
.form-note, .form-status { font-size: .92rem; }
.form-status { margin-top: 12px; color: var(--success); }
.small-card { margin-top: 18px; }
.vertical-actions { flex-direction: column; align-items: stretch; }
.prose-section { max-width: 780px; }
.prose-section h2 { margin-top: 26px; font-size: 1.5rem; }
.footer {
  width: var(--container); margin: 0 auto 40px; padding: 34px 0 12px; display:grid; grid-template-columns: 1.3fr repeat(3, .7fr); gap: 24px;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.footer h4 { font-size: 1rem; margin-bottom: 14px; }
.footer a, .simple-footer a { display:block; color: var(--muted); margin-bottom: 10px; }
.simple-footer { grid-template-columns: repeat(3, auto); align-items:center; }
.footer-brand { margin-bottom: 16px; }
.floating-actions {
  position: fixed; right: 18px; bottom: 18px; display:grid; gap: 12px; z-index: 50;
}
.float-btn {
  width: 58px; height: 58px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.1);
  display:grid; place-items:center; font-weight: 800; color: #0d1118; background: linear-gradient(135deg, #f0d99a, #d4aa59); box-shadow: var(--shadow);
}
.chatbot {
  position: fixed; right: 92px; bottom: 18px; width: min(380px, calc(100vw - 28px)); border-radius: 24px;
  background: rgba(12, 14, 22, 0.92); border: 1px solid rgba(255,255,255,0.08); box-shadow: var(--shadow); z-index: 55;
  transform: translateY(20px) scale(.98); opacity: 0; pointer-events: none; transition: .28s ease;
}
.chatbot.open { opacity: 1; transform: translateY(0) scale(1); pointer-events: auto; }
.chatbot-header, .chatbot-form { display:flex; align-items:center; gap: 12px; padding: 16px 18px; }
.chatbot-header { justify-content: space-between; border-bottom: 1px solid rgba(255,255,255,0.08); }
.chatbot-header small { color: var(--muted); display:block; margin-top: 4px; }
.chatbot-close { background: transparent; border:0; color: #fff; font-size: 1.4rem; cursor:pointer; }
.chatbot-messages { max-height: 300px; overflow:auto; padding: 16px 18px 8px; display:grid; gap: 12px; }
.chat-msg {
  padding: 12px 14px; border-radius: 16px; max-width: 90%; font-size: .95rem; line-height: 1.55;
}
.chat-msg.bot { background: rgba(255,255,255,0.06); color: #e6ebff; }
.chat-msg.user { background: rgba(214, 179, 112, 0.16); color: #fff; margin-left: auto; }
.chatbot-suggestions { display:flex; flex-wrap:wrap; gap:8px; padding: 0 18px 12px; }
.chatbot-suggestions button {
  border:1px solid rgba(255,255,255,0.08); background: rgba(255,255,255,0.05); color: #e7ebfd; border-radius: 999px; padding: 8px 12px; cursor:pointer;
}
.chatbot-form button, .contact-form button { border: 0; }
.reveal { opacity: 0; transform: translateY(18px); transition: .8s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: .08s; }
.reveal-delay-2 { transition-delay: .16s; }
.reveal-delay-3 { transition-delay: .24s; }
.reveal-delay-4 { transition-delay: .32s; }
.error-main { min-height: 100vh; display:grid; place-items:center; }
.error-card { width:min(680px, 100%); text-align:center; }
code { color: #ffe6b0; }
@media (max-width: 1100px) {
  .hero {
    grid-template-columns: minmax(0, 1fr) minmax(340px, 0.9fr);
    padding-left: 24px;
    padding-right: 24px;
  }

  .hero-copy {
    max-width: 100%;
    padding-left: 0;
  }

  .hero-visual {
    width: min(500px, 44vw);
    margin-right: 0;
  }

  .page-hero > :not(.hero-video-wrap) {
    max-width: none;
  }

  .page-hero {
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.92fr);
    padding-left: 24px;
    padding-right: 24px;
  }

  .page-hero-copy {
    max-width: 100%;
  }

  .page-hero-side {
    width: min(460px, 42vw);
    margin-right: 0;
  }
}

@media (max-width: 820px) {

  .page-hero-dashboard {
    gap: 8px;
  }

  .page-hero-microbars {
    min-height: 24px;
    gap: 5px;
  }

  .page-hero-topology {
    height: 24px;
  }

  .header {
    width: calc(100% - 20px);
    margin: 10px 10px 0;
  }

  .hero,
  .page-hero {
    width: 100%;
    margin: 0;
    min-height: auto;
    border-radius: 0;
  }

  .hero {
    padding: 104px 18px 28px;
  }

  .page-hero {
    padding: 108px 18px 28px;
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .hero-copy,
  .hero-visual,
  .page-hero > :not(.hero-video-wrap),
  .page-hero-copy,
  .page-hero-side {
    max-width: 100%;
    width: 100%;
    padding-left: 0;
    margin-right: 0;
  }

  .hero-video,
  .page-hero .hero-video {
    object-position: center center;
  }
}

@media (max-width: 1100px) {
  body[data-page="home"] .proof-strip-head {
    flex-direction: column;
    align-items: flex-start;
  }

  body[data-page="home"] .proof-grid,
  body[data-page="home"] .primary-capability-grid,
  body[data-page="home"] .secondary-capability-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body[data-page="home"] .secondary-capability-row article:first-child {
    grid-column: span 2;
  }
}

@media (max-width: 820px) {
  body[data-page="home"] .proof-grid,
  body[data-page="home"] .primary-capability-grid,
  body[data-page="home"] .secondary-capability-row,
  body[data-page="home"] .hero-signal-stack {
    grid-template-columns: 1fr;
  }

  body[data-page="home"] .hero-signal-card.span-2,
  body[data-page="home"] .secondary-capability-row article:first-child {
    grid-column: auto;
  }

  body[data-page="home"] .proof-strip-head {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 1100px) {
  .hero, .content-grid.two-col, .cards-grid-4, .cards-grid-3, .cards-grid-5, .stats-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .footer { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 820px) {
  .header { border-radius: 24px; padding: 14px 16px; align-items:flex-start; }
  .nav-toggle { display:block; }
  .nav {
    position:absolute; top: calc(100% + 12px); left:0; right:0; display:none; flex-direction:column; align-items:stretch;
    background: rgba(9, 11, 18, 0.96); border: 1px solid rgba(255,255,255,0.08); border-radius: 24px; padding: 16px;
  }
  .nav.open { display:flex; }
  .hero, .content-grid.two-col, .cards-grid-4, .cards-grid-3, .cards-grid-2, .cards-grid-5, .stats-grid, .hero-grid, .footer, .simple-footer {
    grid-template-columns: 1fr;
  }
  .cta-section { flex-direction: column; align-items:flex-start; }
  .chatbot { right: 12px; left: 12px; bottom: 92px; width: auto; }
  .floating-actions { right: 12px; bottom: 12px; }
}


.glass-panel:hover, .service-card:hover, .service-detail-card:hover, .stat-card:hover, .contact-card:hover {
  transform: translateY(-6px);
  border-color: rgba(214, 179, 112, 0.24);
  box-shadow: 0 26px 70px rgba(0,0,0,0.44);
}

.page-hero .lead, .section-heading p {
  max-width: 64ch;
}

.stat-card span {
  display: block;
  margin-bottom: 14px;
}

.service-card p, .service-detail-card p, .glass-panel p {
  color: #b8c0d6;
}

.footer {
  padding-top: 40px;
}

.float-btn {
  backdrop-filter: blur(12px);
}


/* === Cinematic luxury direction overrides === */
:root {
  --bg: #04050a;
  --bg-2: #0b0d15;
  --surface: rgba(17, 18, 28, 0.78);
  --surface-strong: rgba(16, 17, 27, 0.92);
  --line: rgba(255, 255, 255, 0.09);
  --text: #f5f4ef;
  --muted: #b7bdd0;
  --gold: #e4c37a;
  --gold-soft: rgba(228, 195, 122, 0.18);
  --accent: #6f88ff;
  --accent-soft: rgba(111, 136, 255, 0.14);
  --success: #91e4c1;
  --shadow: 0 26px 80px rgba(0, 0, 0, 0.48);
  --radius: 28px;
  --radius-sm: 20px;
}

body {
  background:
    radial-gradient(circle at 15% 10%, rgba(111, 136, 255, 0.16), transparent 24%),
    radial-gradient(circle at 82% 14%, rgba(228, 195, 122, 0.13), transparent 20%),
    radial-gradient(circle at 50% 105%, rgba(228, 195, 122, 0.08), transparent 28%),
    linear-gradient(180deg, #04050a 0%, #070911 36%, #090914 68%, #05060b 100%);
}

body::before {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.03), transparent 14%, transparent 78%, rgba(0,0,0,0.28)),
    radial-gradient(circle at 50% 0%, rgba(255,255,255,0.04), transparent 30%);
}

body::after {
  box-shadow: inset 0 0 220px rgba(0,0,0,0.56);
}

h1, h2, h3, h4 {
  letter-spacing: -0.04em;
}

h1 {
  text-shadow: 0 10px 28px rgba(0,0,0,0.28);
}

#luxury-bg {
  opacity: 0.78;
}

.noise {
  opacity: 0.08;
  mix-blend-mode: overlay;
}

.header {
  top: 12px;
  padding: 15px 24px;
  backdrop-filter: blur(26px) saturate(1.15);
  background:
    linear-gradient(180deg, rgba(18, 18, 29, 0.78), rgba(10, 11, 18, 0.58)),
    linear-gradient(90deg, rgba(255,255,255,0.04), transparent 22%, transparent 78%, rgba(228,195,122,0.05));
  border: 1px solid rgba(255,255,255,0.1);
  box-shadow: 0 22px 70px rgba(0,0,0,0.44), inset 0 1px 0 rgba(255,255,255,0.08);
}

.header::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, rgba(255,255,255,0.05), transparent 16%, transparent 84%, rgba(228,195,122,0.04));
  pointer-events: none;
}

.brand {
  position: relative;
  z-index: 1;
}

.brand strong {
  font-size: 1.02rem;
  letter-spacing: -0.02em;
}

.brand small {
  color: #d0c7b4;
}

.brand-logo {
  filter: drop-shadow(0 10px 26px rgba(228, 195, 122, 0.2));
}

.nav {
  position: relative;
  z-index: 1;
  gap: 26px;
}

.nav a {
  position: relative;
  color: #c9cfdd;
  transition: color .26s ease, opacity .26s ease;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -8px;
  height: 1px;
  transform: scaleX(0);
  transform-origin: center;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  transition: transform .26s ease;
}

.nav a:hover,
.nav a.active {
  color: var(--text);
}

.nav a:hover::after,
.nav a.active::after {
  transform: scaleX(1);
}

.btn {
  backdrop-filter: blur(12px);
}

.btn-primary {
  background: linear-gradient(135deg, #a87a31 0%, #f0d79c 42%, #d4aa59 100%);
  box-shadow: 0 18px 44px rgba(212, 170, 89, 0.28), inset 0 1px 0 rgba(255,255,255,0.36);
}

.btn-secondary, .btn-nav {
  background: linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.035));
  border-color: rgba(255,255,255,0.12);
}

.btn-nav {
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.08);
}

.hero, .page-hero {
  gap: clamp(42px, 5vw, 80px);
}

.hero-copy h1,
.page-hero h1 {
  max-width: 12.2ch;
}

.hero-copy .lead,
.page-hero .lead {
  color: #c8cddc;
}

.hero-with-video::before {
  background:
    linear-gradient(92deg, rgba(4, 7, 14, 0.88) 0%, rgba(6, 9, 17, 0.78) 28%, rgba(8, 10, 18, 0.54) 56%, rgba(7, 9, 18, 0.66) 100%),
    radial-gradient(circle at 78% 28%, rgba(228,195,122,0.08), transparent 26%),
    linear-gradient(180deg, rgba(255,255,255,0.02), rgba(0,0,0,0.1));
}

.hero-video-wrap {
  background: radial-gradient(circle at 74% 38%, rgba(94, 110, 255, 0.18), transparent 34%), linear-gradient(180deg, #08101b, #04060d);
}

.hero-video {
  filter: saturate(1.06) brightness(0.54) contrast(1.08);
  transform: scale(1.06);
}

.hero::after,
.page-hero::after {
  right: -40px;
  top: 12%;
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(228, 195, 122, 0.12), transparent 58%);
  filter: blur(18px);
}

.hero-copy .eyebrow,
.eyebrow {
  background: linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.04));
  border-color: rgba(255,255,255,0.1);
  color: #f0cf8e;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.08), 0 10px 24px rgba(0,0,0,0.14);
}

.trust-row span,
.badge-row span,
.metric-chip,
.page-hero-status {
  background: linear-gradient(180deg, rgba(255,255,255,0.07), rgba(255,255,255,0.035));
  border-color: rgba(255,255,255,0.08);
}

.glass-panel, .service-card, .service-detail-card, .stat-card, .contact-card {
  background:
    radial-gradient(circle at top right, rgba(228,195,122,0.08), transparent 28%),
    linear-gradient(180deg, rgba(24, 24, 36, 0.9), rgba(9, 10, 18, 0.84));
  border: 1px solid rgba(255,255,255,0.09);
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.42), inset 0 1px 0 rgba(255,255,255,0.06);
}

.glass-panel::after, .service-card::after, .service-detail-card::after, .stat-card::after, .contact-card::after {
  content: "";
  position: absolute;
  inset: auto -12% -38% auto;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(228,195,122,0.08), transparent 65%);
  pointer-events: none;
}

.glass-panel:hover, .service-card:hover, .service-detail-card:hover, .stat-card:hover, .contact-card:hover {
  border-color: rgba(228,195,122,0.18);
  box-shadow: 0 30px 84px rgba(0,0,0,0.48), inset 0 1px 0 rgba(255,255,255,0.07);
}

.hero-panel,
.page-hero-panel {
  background:
    radial-gradient(circle at top right, rgba(228,195,122,0.1), transparent 30%),
    linear-gradient(180deg, rgba(19, 20, 32, 0.84), rgba(8, 9, 16, 0.78));
  backdrop-filter: blur(14px) saturate(1.08);
  border-color: rgba(255,255,255,0.09);
}

.panel-topline {
  color: #d7dcee;
}

.dot:first-child {
  background: rgba(228,195,122,0.72);
}

.dot:nth-child(2) {
  background: rgba(126, 164, 255, 0.54);
}

.dot:nth-child(3) {
  background: rgba(166, 255, 214, 0.42);
}

.hero-signal-card,
.page-hero-card,
.proof-card {
  backdrop-filter: blur(10px);
}

.hero-signal-card {
  background: linear-gradient(180deg, rgba(255,255,255,0.055), rgba(255,255,255,0.03));
  border-color: rgba(255,255,255,0.08);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.05);
}

.proof-card {
  background:
    radial-gradient(circle at 90% 10%, rgba(228,195,122,0.1), transparent 20%),
    linear-gradient(180deg, rgba(18, 20, 30, 0.82), rgba(9, 10, 17, 0.76));
  border-color: rgba(255,255,255,0.08);
}

.proof-card strong,
.stat-card strong {
  color: #f7f1de;
}

.section-heading h2,
.cta-section h2,
.page-hero h1,
.hero h1 {
  color: #faf7ef;
}

.cta-section {
  background:
    radial-gradient(circle at top right, rgba(228,195,122,0.14), transparent 24%),
    linear-gradient(180deg, rgba(21, 22, 34, 0.92), rgba(10, 11, 18, 0.9));
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 28px 78px rgba(0,0,0,0.44), inset 0 1px 0 rgba(255,255,255,0.05);
}

.footer {
  width: min(1220px, calc(100vw - 32px));
  margin: 24px auto 42px;
  padding: 32px 28px 22px;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 30px;
  background:
    radial-gradient(circle at top right, rgba(228,195,122,0.1), transparent 24%),
    linear-gradient(180deg, rgba(16, 17, 27, 0.9), rgba(9, 10, 17, 0.9));
  box-shadow: 0 24px 68px rgba(0,0,0,0.38), inset 0 1px 0 rgba(255,255,255,0.05);
}

.footer p {
  max-width: 34ch;
}

.footer h4 {
  color: #f2ead5;
  letter-spacing: -0.02em;
}

.footer a,
.simple-footer a {
  color: #c8cedd;
  transition: color .24s ease, transform .24s ease;
}

.footer a:hover,
.simple-footer a:hover {
  color: #fff6df;
  transform: translateX(2px);
}

.simple-footer {
  display: grid;
  grid-template-columns: repeat(3, auto);
  justify-content: start;
  align-items: center;
  gap: 18px 28px;
}

.contact-form input, .contact-form select, .contact-form textarea, .chatbot-form input {
  background: linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.035));
  border-color: rgba(255,255,255,0.1);
}

.chatbot {
  background: linear-gradient(180deg, rgba(12, 14, 24, 0.94), rgba(8, 9, 16, 0.94));
  border-color: rgba(255,255,255,0.1);
  box-shadow: 0 28px 72px rgba(0,0,0,0.48);
}

.float-btn {
  box-shadow: 0 18px 42px rgba(0,0,0,0.32), inset 0 1px 0 rgba(255,255,255,0.34);
}

body[data-page="home"] .hero-panel {
  box-shadow: 0 28px 88px rgba(0,0,0,0.5), inset 0 1px 0 rgba(255,255,255,0.06);
}

body[data-page="home"] .proof-card,
body[data-page="home"] .primary-service-card,
body[data-page="home"] .secondary-capability-card {
  border-color: rgba(255,255,255,0.08);
}

@media (max-width: 1100px) {
  .footer {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 26px;
  }
}

@media (max-width: 820px) {
  .header {
    padding: 12px 16px;
    border-radius: 24px;
  }

  .footer,
  .simple-footer {
    width: calc(100vw - 20px);
    margin: 18px auto 28px;
    padding: 24px 20px 18px;
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .nav a::after {
    display: none;
  }
}


/* === Final launch refinement pass === */
.section {
  padding: 80px 0;
}

.section-heading {
  margin-bottom: 24px;
}

.section-heading p,
.page-hero .lead,
.hero-copy .lead {
  max-width: 58ch;
}

.hero,
.page-hero {
  gap: clamp(34px, 4.2vw, 64px);
}

.hero {
  padding: clamp(106px, 13.5vh, 146px) clamp(26px, 4.4vw, 64px) clamp(30px, 5vh, 44px);
}

.page-hero {
  padding: clamp(112px, 13vh, 150px) clamp(26px, 4.4vw, 64px) clamp(30px, 5vh, 44px);
}

.hero-copy,
.page-hero-copy {
  max-width: min(760px, 48vw);
}

.hero-visual,
.page-hero-side {
  width: min(600px, 39vw);
}

.hero-actions,
.cta-actions,
.contact-actions {
  gap: 10px;
  margin-top: 24px;
}

.btn {
  min-height: 50px;
  padding: 0 20px;
}

.btn-primary {
  box-shadow: 0 20px 50px rgba(212, 170, 89, 0.3), inset 0 1px 0 rgba(255,255,255,0.36);
}

.btn-secondary,
.btn-nav {
  color: #e5e9f7;
  background: linear-gradient(180deg, rgba(255,255,255,0.07), rgba(255,255,255,0.028));
}

.hero-actions .btn-primary,
.cta-actions .btn-primary,
.contact-actions .btn-primary {
  min-width: 260px;
}

.hero-actions .btn-secondary,
.cta-actions .btn-secondary,
.contact-actions .btn-secondary {
  border-color: rgba(255,255,255,0.1);
  color: #d2d8ea;
}

.hero-actions .btn-secondary:hover,
.cta-actions .btn-secondary:hover,
.contact-actions .btn-secondary:hover {
  color: #edf0fb;
}

.trust-row,
.badge-row {
  gap: 10px;
  margin-top: 18px;
}

.trust-row span,
.badge-row span,
.metric-chip,
.page-hero-status {
  font-size: 0.8rem;
}

.trust-row span,
.badge-row span {
  padding: 9px 12px;
}

.glass-panel,
.service-card,
.service-detail-card,
.stat-card,
.contact-card {
  padding: 24px;
}

.hero-panel,
.page-hero-panel {
  padding: 20px;
}

.hero-grid,
.cards-grid,
.stats-grid,
.mini-cards,
.page-hero-cards,
.hero-signal-stack,
.proof-grid,
.primary-capability-grid,
.content-grid.two-col,
.secondary-capability-row {
  gap: 14px;
}

.proof-strip {
  padding-top: 4px;
  padding-bottom: 18px;
}

.proof-strip-head {
  margin-bottom: 12px;
}

.primary-service-card,
.secondary-capability-card {
  padding: 22px;
}

.cta-section {
  padding: 26px;
}

.footer {
  margin: 20px auto 34px;
  padding: 28px 24px 20px;
}

body[data-page="home"] .section {
  padding: 58px 0;
}

body[data-page="home"] .hero-copy h1 {
  max-width: 11.8ch;
}

body[data-page="home"] .hero-panel {
  padding: 20px;
}

body[data-page="home"] .proof-card {
  padding: 15px 16px;
}

body[data-page="home"] .primary-service-card,
body[data-page="home"] .secondary-capability-card {
  padding: 22px;
}

body[data-page="home"] .cta-section {
  margin-bottom: 36px;
}

@media (max-width: 980px) {
  .hero,
  .page-hero {
    grid-template-columns: 1fr;
    min-height: auto;
    gap: 22px;
    padding-left: 22px;
    padding-right: 22px;
  }

  .hero-copy,
  .page-hero-copy,
  .hero-visual,
  .page-hero-side {
    max-width: 100%;
    width: 100%;
    margin-right: 0;
    padding-left: 0;
  }

  .hero-visual,
  .page-hero-side {
    justify-self: start;
  }

  .content-grid.two-col,
  .secondary-capability-row,
  .cards-grid-3,
  .cards-grid-4,
  .cards-grid-5,
  .stats-grid {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 820px) {
  .section {
    padding: 50px 0;
  }

  .header {
    align-items: center;
    padding: 12px 14px;
  }

  .nav {
    top: calc(100% + 10px);
    padding: 14px;
    gap: 12px;
  }

  .nav a,
  .btn-nav {
    width: 100%;
  }

  .hero {
    padding: 102px 18px 24px;
  }

  .page-hero {
    padding: 104px 18px 24px;
    gap: 16px;
  }

  .hero-actions,
  .cta-actions,
  .contact-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .hero-actions .btn-primary,
  .cta-actions .btn-primary,
  .contact-actions .btn-primary,
  .hero-actions .btn-secondary,
  .cta-actions .btn-secondary,
  .contact-actions .btn-secondary {
    width: 100%;
    min-width: 0;
  }

  .trust-row,
  .badge-row {
    gap: 8px;
  }

  .trust-row span,
  .badge-row span {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  .glass-panel,
  .service-card,
  .service-detail-card,
  .stat-card,
  .contact-card,
  .hero-panel,
  .page-hero-panel,
  .cta-section,
  .footer {
    padding: 20px;
  }

  .footer {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .page-hero-dashboard {
    padding: 8px 8px 7px;
  }

  body[data-page="home"] .section {
    padding: 50px 0;
  }
}


/* ================================================================
   DENSITY & VIEWPORT FIT PASS — Primary target: 1366×768
   Reduces oversized sections, caps hero heights, compacts cards.
   Does NOT change colors, content, animations, or section order.
   ================================================================ */

/* --- Page heroes: remove 100vh forcing, let content define height --- */
.page-hero {
  min-height: auto;
}

/* --- Home hero: keep impactful, cap height so large screens still scroll --- */
body[data-page="home"] .hero {
  min-height: min(100vh, 760px);
}

/* --- Content section vertical spacing ---
   :not(.hero) avoids home hero (also has .section class).
   :not(.cta-section) preserves CTA banner's own compact padding.
   :not(.proof-strip) preserves the ribbon-style proof-strip section. */
.section:not(.hero):not(.cta-section):not(.proof-strip) {
  padding-top: 60px;
  padding-bottom: 60px;
}

body[data-page="home"] .section:not(.hero):not(.cta-section):not(.proof-strip) {
  padding-top: 48px;
  padding-bottom: 48px;
}

.section-heading {
  margin-bottom: 18px;
}

/* --- Typography: tighter h2 across sections --- */
h2 {
  font-size: clamp(1.5rem, 2.5vw, 2.65rem);
  margin-bottom: 12px;
}

/* --- Page hero h1: slightly smaller so long titles fit at 768px --- */
.page-hero h1 {
  font-size: clamp(1.9rem, 3.4vw, 3.15rem);
}

/* --- Compact service/glass cards --- */
.glass-panel,
.service-card,
.service-detail-card,
.stat-card,
.contact-card {
  padding: 20px;
}

/* --- CTA section --- */
.cta-section {
  padding: 22px 24px;
  margin-bottom: 32px;
}

/* --- Scroll margin so sticky header never hides section headings --- */
main > section {
  scroll-margin-top: 96px;
}

/* --- Page hero side panel: compact padding --- */
.page-hero-panel {
  padding: 16px;
}

.panel-topline {
  margin-bottom: 10px;
  font-size: 0.88rem;
}

/* --- Page hero cards: tighter gap --- */
.page-hero-cards {
  gap: 10px;
}

/* Desktop: 2-column layout cuts panel height ~40%, fits 768px viewport */
@media (min-width: 980px) {
  .page-hero-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .page-hero-cards > article:first-child {
    grid-column: 1 / -1;
  }
}

/* --- Compact animated dashboard in page-hero cards --- */
.page-hero-dashboard {
  margin-top: 8px;
  padding: 6px 8px 5px;
  gap: 5px;
}

.page-hero-microbars {
  min-height: 18px;
  gap: 4px;
}

.page-hero-topology {
  height: 20px;
}

.page-hero-card h3 {
  margin: 3px 0 5px;
}

.page-hero-card p {
  font-size: 0.85rem;
  line-height: 1.46;
}

.page-hero-metrics {
  margin-top: 8px;
  gap: 5px;
}

/* --- Footer: tighter margins --- */
.footer {
  margin-top: 12px;
  margin-bottom: 20px;
  padding-top: 22px;
  padding-bottom: 14px;
}

/* --- Mobile overrides --- */
@media (max-width: 820px) {
  .section:not(.hero):not(.cta-section):not(.proof-strip) {
    padding-top: 36px;
    padding-bottom: 36px;
  }

  body[data-page="home"] .section:not(.hero):not(.cta-section):not(.proof-strip) {
    padding-top: 32px;
    padding-bottom: 32px;
  }

  /* Revert 2-col cards to 1-col on mobile */
  .page-hero-cards {
    grid-template-columns: 1fr;
  }

  .page-hero-cards > article:first-child {
    grid-column: auto;
  }

  .panel-topline {
    margin-bottom: 8px;
  }
}

/* ================================================================
   COMPANY INFORMATION — Trust & legal identity
   ================================================================ */

.footer-legal {
  margin-top: 14px;
  font-size: 0.75rem;
  line-height: 1.6;
  color: var(--muted);
  opacity: 0.72;
}

.footer-legal a {
  display: inline;
  color: var(--muted);
  margin-bottom: 0;
  text-decoration: none;
}

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

.company-info-card {
  padding: 20px;
}

.company-info-card dl {
  margin: 12px 0 0;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 6px 14px;
}

.company-info-card dt {
  font-size: 0.73rem;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  white-space: nowrap;
  padding-top: 1px;
}

.company-info-card dd {
  font-size: 0.82rem;
  color: var(--text);
  margin: 0;
  line-height: 1.5;
}

.company-info-card dd a {
  color: var(--muted);
  text-decoration: none;
}

.company-info-card dd a:hover {
  color: var(--accent);
}

.company-trust-note {
  margin-top: 14px;
  font-size: 0.78rem;
  color: var(--muted);
  line-height: 1.55;
  opacity: 0.8;
}

@media (max-width: 640px) {
  .company-info-card dl {
    grid-template-columns: 1fr;
    gap: 2px;
  }
  .company-info-card dt {
    margin-top: 8px;
  }
  .company-info-card dt:first-child {
    margin-top: 0;
  }
}
