/* ============================================================
   Sitanshu — brand & growth site
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&family=Instrument+Serif:ital@0;1&display=swap');

:root {
  --navy: #10243e;
  --navy-2: #1b3557;
  --blue: #2f6fed;
  --blue-dark: #1f56c4;
  --blue-soft: #eaf1ff;
  --ink: #172033;
  --muted: #5c6b80;
  --line: #dfe6ef;
  --bg: #ffffff;
  --bg-soft: #f6f8fb;
  --radius: 10px;
  --shadow: 0 18px 45px rgba(16, 36, 62, 0.08);
  --max: 1180px;
  --header-h: 76px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 20px);
}

body {
  margin: 0;
  font-family: Inter, "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

h1,
h2,
h3,
h4 {
  margin: 0 0 16px;
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: var(--navy);
}

p {
  margin: 0 0 16px;
}

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

:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 8px;
  z-index: 200;
  background: var(--navy);
  color: #fff;
  padding: 10px 16px;
  border-radius: 6px;
}

.skip-link:focus {
  left: 16px;
}

.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--navy);
  font-size: 15px;
}

.logo-mark {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 7px;
  background: var(--blue);
  color: #fff;
  font-size: 17px;
  font-weight: 800;
  letter-spacing: 0;
}

.logo-sub {
  display: block;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--muted);
  line-height: 1;
  margin-top: 3px;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 30px;
}

.nav-menu a {
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
  transition: color 0.2s ease;
}

.nav-menu a:hover,
.nav-menu a[aria-current="page"] {
  color: var(--blue);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 11px 22px;
  border-radius: 7px;
  font-size: 14px;
  font-weight: 700;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}

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

.btn-primary {
  background: var(--blue);
  color: #fff;
  border-color: var(--blue);
}

.btn-primary:hover {
  background: var(--blue-dark);
  border-color: var(--blue-dark);
}

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

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

.btn-light {
  background: #fff;
  color: var(--navy);
}

.btn-light:hover {
  background: var(--blue-soft);
}

.btn-ghost-light {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.45);
}

.btn-ghost-light:hover {
  border-color: #fff;
}

.header-cta {
  min-height: 40px;
  padding: 8px 16px;
}

/* ---------- Shared sections ---------- */

.section {
  padding: 100px 0;
}

.section-soft {
  background: var(--bg-soft);
}

.section-head {
  max-width: 720px;
  margin-bottom: 48px;
}

.eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 16px;
}

.eyebrow-light {
  color: #9fc0ff;
}

h1 {
  font-size: clamp(2.6rem, 5.7vw, 4.5rem);
  margin-bottom: 22px;
}

h2 {
  font-size: clamp(1.9rem, 3.4vw, 2.8rem);
  margin-bottom: 18px;
}

h3 {
  font-size: 1.2rem;
}

.lead {
  font-size: clamp(1.05rem, 1.7vw, 1.22rem);
  color: var(--muted);
  max-width: 640px;
}

.text-muted {
  color: var(--muted);
}

.page-hero {
  padding: 82px 0 64px;
  background: var(--bg-soft);
  border-bottom: 1px solid var(--line);
}

.page-hero h1 {
  font-size: clamp(2.4rem, 5vw, 3.7rem);
}

.page-hero .lead {
  max-width: 720px;
}

/* ---------- Home: hero ---------- */

.hero {
  padding: 92px 0 84px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 64px;
  align-items: center;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.hero-visual {
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
  background: var(--blue-soft);
}

.trust-bar {
  margin-top: 70px;
  padding-top: 30px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px 46px;
}

.trust-label {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.trust-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 38px;
  align-items: center;
}

.trust-logos span {
  font-weight: 800;
  letter-spacing: 0.1em;
  color: #8b9ab0;
  font-size: 14px;
}

/* ---------- Grids and cards ---------- */

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 40px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: #c9d8ee;
}

.card-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 9px;
  background: var(--blue-soft);
  color: var(--blue);
  margin-bottom: 22px;
}

.card-icon svg {
  width: 22px;
  height: 22px;
}

.card p:last-child {
  margin-bottom: 0;
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
  color: var(--blue);
  font-size: 14px;
  font-weight: 700;
}

.card-link:hover {
  gap: 10px;
}

/* ---------- Split sections ---------- */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.split-panel {
  background: var(--navy);
  color: #fff;
  border-radius: 14px;
  padding: 44px;
}

.split-panel h2,
.split-panel h3 {
  color: #fff;
}

.split-panel p {
  color: #c6d3e5;
}

.stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 34px;
}

.stat strong {
  display: block;
  font-size: 2rem;
  line-height: 1;
  color: var(--blue);
  letter-spacing: -0.04em;
}

.stat span {
  display: block;
  font-size: 13px;
  color: var(--muted);
  margin-top: 8px;
}

.split-panel .stat strong {
  color: #fff;
}

.split-panel .stat span {
  color: #b8c8de;
}

.audience-block {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
  background: #fff;
}

.audience-block .tag {
  margin-bottom: 16px;
}

.audience-block h3 {
  margin-bottom: 10px;
}

.audience-block li {
  padding: 8px 0 8px 24px;
  position: relative;
  color: var(--muted);
  font-size: 15px;
}

.audience-block li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 17px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--blue);
}

/* ---------- Tags ---------- */

.tag {
  display: inline-flex;
  align-items: center;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue);
  background: var(--blue-soft);
  border-radius: 4px;
  padding: 5px 9px;
}

.tag-muted {
  color: var(--muted);
  background: var(--bg-soft);
}

/* ---------- Work ---------- */

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
}

.filter-btn {
  padding: 9px 18px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.filter-btn:hover,
.filter-btn[aria-pressed="true"] {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.work-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
  text-align: left;
  padding: 0;
  cursor: pointer;
  width: 100%;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.work-card[hidden] {
  display: none;
}

.work-thumb {
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: var(--bg-soft);
}

.work-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.work-body {
  padding: 22px 24px 24px;
}

.work-body .tag {
  margin-bottom: 12px;
}

.work-body h2,
.work-body h3 {
  margin-bottom: 6px;
}

.work-body p {
  color: var(--muted);
  font-size: 14px;
  margin: 0;
}

.project-dialog {
  border: 0;
  border-radius: 14px;
  padding: 0;
  width: min(640px, calc(100% - 32px));
  box-shadow: 0 30px 80px rgba(16, 36, 62, 0.25);
}

.project-dialog::backdrop {
  background: rgba(12, 25, 44, 0.65);
}

.dialog-inner {
  padding: 34px;
}

.dialog-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
}

.dialog-close {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 7px;
  width: 36px;
  height: 36px;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  color: var(--muted);
}

.dialog-meta {
  margin: 20px 0;
  padding: 16px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: 8px;
  font-size: 14px;
}

.dialog-meta strong {
  color: var(--navy);
}

/* ---------- Process ---------- */

.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px;
}

.step {
  position: relative;
  padding-top: 12px;
}

.step-number {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--blue-soft);
  color: var(--blue);
  font-weight: 800;
  font-size: 14px;
  margin-bottom: 20px;
}

.step h3 {
  font-size: 1.05rem;
}

.step p {
  color: var(--muted);
  font-size: 14px;
}

/* ---------- Quote ---------- */

.quote {
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
}

.quote-mark {
  font-size: 64px;
  line-height: 0.6;
  color: var(--blue);
  font-family: Georgia, serif;
}

.quote blockquote {
  margin: 20px 0 26px;
  font-size: clamp(1.3rem, 2.6vw, 2rem);
  line-height: 1.4;
  letter-spacing: -0.02em;
  color: var(--navy);
  font-weight: 600;
}

.quote cite {
  font-style: normal;
  font-size: 14px;
  color: var(--muted);
}

.quote cite strong {
  color: var(--navy);
}

/* ---------- CTA band ---------- */

.cta-band {
  background: var(--navy);
  color: #fff;
  border-radius: 14px;
  padding: 62px 48px;
  text-align: center;
}

.cta-band h2 {
  color: #fff;
  max-width: 640px;
  margin: 0 auto 14px;
}

.cta-band p {
  color: #c6d3e5;
  max-width: 560px;
  margin: 0 auto 28px;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

/* ---------- Services page ---------- */

.service-row {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 60px;
  padding: 54px 0;
  border-bottom: 1px solid var(--line);
}

.service-row:first-child {
  padding-top: 0;
}

.service-row h2 {
  font-size: clamp(1.6rem, 2.6vw, 2.1rem);
}

.service-index {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: var(--blue);
  margin-bottom: 14px;
}

.check-list li {
  position: relative;
  padding: 9px 0 9px 30px;
  color: var(--muted);
  font-size: 15px;
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--blue);
  font-weight: 800;
}

.engagement-card {
  text-align: center;
}

.engagement-card h3 {
  margin-bottom: 8px;
}

.engagement-card .price {
  font-size: 13px;
  font-weight: 700;
  color: var(--blue);
  margin-bottom: 14px;
}

.engagement-card p {
  color: var(--muted);
  font-size: 14px;
}

.faq-list {
  max-width: 840px;
  margin: 0 auto;
}

.faq-list details {
  border-bottom: 1px solid var(--line);
  padding: 20px 0;
}

.faq-list details:first-child {
  border-top: 1px solid var(--line);
}

.faq-list summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--navy);
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
}

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

.faq-list summary::after {
  content: "+";
  color: var(--blue);
  font-size: 22px;
  line-height: 1;
}

.faq-list details[open] summary::after {
  content: "−";
}

.faq-list details p {
  color: var(--muted);
  margin: 14px 0 0;
  max-width: 680px;
}

/* ---------- About page ---------- */

.value {
  border-top: 3px solid var(--blue);
  padding-top: 22px;
}

.value h3 {
  margin-bottom: 8px;
}

.value p {
  color: var(--muted);
  font-size: 14px;
}

.team-card {
  text-align: center;
}

.avatar {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  margin: 0 auto 18px;
  display: grid;
  place-items: center;
  background: var(--blue-soft);
  color: var(--blue);
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.team-card h3 {
  margin-bottom: 4px;
}

.team-card span {
  display: block;
  color: var(--blue);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.team-card p {
  color: var(--muted);
  font-size: 14px;
  margin: 0;
}

/* ---------- Contact page ---------- */

.contact-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  gap: 56px;
  align-items: start;
}

.form-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 36px;
  background: #fff;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.field-full {
  grid-column: 1 / -1;
}

.field label {
  font-size: 13px;
  font-weight: 700;
  color: var(--navy);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 12px 14px;
  color: var(--ink);
  background: #fff;
  font-size: 15px;
}

.field textarea {
  resize: vertical;
  min-height: 130px;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--blue);
  outline: 3px solid rgba(47, 111, 237, 0.14);
  outline-offset: 0;
}

.form-footer {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
}

.form-note {
  font-size: 12px;
  color: var(--muted);
  margin: 0;
}

.form-status {
  margin: 18px 0 0;
  padding: 14px 16px;
  border-radius: 7px;
  background: var(--blue-soft);
  color: var(--navy);
  font-size: 14px;
  display: none;
}

.form-status.visible {
  display: block;
}

.contact-detail {
  border-bottom: 1px solid var(--line);
  padding: 20px 0;
}

.contact-detail:first-child {
  padding-top: 0;
}

.contact-detail span {
  display: block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 6px;
}

.contact-detail a,
.contact-detail p {
  color: var(--navy);
  font-weight: 600;
  margin: 0;
}

.contact-detail a:hover {
  color: var(--blue);
}

/* ---------- Footer ---------- */

.site-footer {
  background: #0c1b30;
  color: #c7d3e4;
  padding: 66px 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 46px;
}

.footer-brand .logo {
  color: #fff;
}

.footer-brand p {
  max-width: 280px;
  font-size: 14px;
  margin-top: 20px;
  color: #9fb0c7;
}

.footer-col h3,
.footer-col h4 {
  color: #fff;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.footer-col li {
  margin-bottom: 10px;
}

.footer-col a {
  font-size: 14px;
  color: #9fb0c7;
}

.footer-col a:hover {
  color: #fff;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 22px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  font-size: 13px;
  color: #8699b3;
}

.footer-bottom a:hover {
  color: #fff;
}

/* ---------- Reveal on scroll ---------- */

.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.js .reveal.in {
  opacity: 1;
  transform: none;
}

/* ---------- Responsive ---------- */

@media (max-width: 980px) {
  .hero-grid,
  .split,
  .service-row,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero-visual {
    max-width: 620px;
  }

  .work-grid,
  .grid-3,
  .grid-4,
  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr;
  }

  .footer-col:last-child {
    grid-column: 2 / -1;
  }
}

@media (max-width: 940px) {
  .nav-toggle {
    display: flex;
  }

  .nav-menu {
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px 24px 22px;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 16px 30px rgba(16, 36, 62, 0.08);
  }

  .nav-menu.open {
    display: flex;
  }

  .nav-menu a {
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
  }

  .header-cta {
    display: none;
  }
}

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

  .hero {
    padding: 62px 0 56px;
  }

  .page-hero {
    padding: 58px 0 44px;
  }

  .grid-2,
  .grid-3,
  .grid-4,
  .work-grid,
  .steps,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .field-full {
    grid-column: auto;
  }

  .stat-row {
    gap: 12px;
  }

  .stat strong {
    font-size: 1.6rem;
  }

  .split-panel,
  .form-card,
  .cta-band {
    padding: 28px 22px;
  }

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

  .footer-brand,
  .footer-col:last-child {
    grid-column: 1 / -1;
  }

  .dialog-inner {
    padding: 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
  }
}

/* ============================================================
   DARK PREMIUM THEME
   Overrides above. Keep class names intact.
   ============================================================ */

:root {
  --navy: #0d1420;
  --navy-2: #151f2e;
  --blue: #8ab4ff;
  --blue-dark: #5c8ce8;
  --blue-soft: #141e2e;
  --ink: #e8eef8;
  --heading: #f4f7fc;
  --muted: #98a6bb;
  --line: #242f40;
  --card: #101620;
  --bg: #080a0f;
  --bg-soft: #0c1017;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}

body {
  background:
    radial-gradient(900px 520px at 82% -8%, rgba(86, 133, 226, 0.11), transparent 62%),
    radial-gradient(760px 520px at -12% 18%, rgba(86, 133, 226, 0.06), transparent 60%),
    var(--bg);
}

::selection {
  background: rgba(138, 180, 255, 0.28);
  color: #ffffff;
}

h1, h2, h3, h4 {
  color: var(--heading);
}

.skip-link {
  background: #e8eef8;
  color: #080a0f;
}

.site-header {
  background: rgba(8, 10, 15, 0.88);
  border-bottom-color: var(--line);
}

.logo {
  color: var(--heading);
}

.logo-sub {
  color: var(--muted);
}

.nav-menu a {
  color: var(--muted);
}

.nav-menu a:hover,
.nav-menu a[aria-current="page"] {
  color: var(--blue);
}

.nav-toggle {
  background: var(--card);
  border-color: var(--line);
}

.nav-toggle span {
  background: var(--heading);
}

.btn-primary {
  background: linear-gradient(135deg, #6f9ff5 0%, #3f6fd6 100%);
  border-color: transparent;
  color: #ffffff;
  box-shadow: 0 8px 26px rgba(63, 111, 214, 0.28);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #83b0ff 0%, #4d7ee6 100%);
  border-color: transparent;
}

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

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

.btn-light {
  background: #e8eef8;
  color: #0a0f18;
}

.btn-light:hover {
  background: #ffffff;
}

.btn-ghost-light {
  color: #dbe6f7;
  border-color: rgba(255, 255, 255, 0.3);
}

.btn-ghost-light:hover {
  border-color: #ffffff;
}

.eyebrow {
  color: var(--blue);
}

.lead,
.text-muted {
  color: var(--muted);
}

.hero-visual {
  border-color: var(--line);
  box-shadow: var(--shadow);
}

.work-thumb img {
  filter: brightness(0.82) contrast(1.08) saturate(0.9);
  transition: filter 0.3s ease;
}

.work-card:hover .work-thumb img {
  filter: brightness(0.98) contrast(1.05) saturate(1);
}

.trust-bar,
.trust-logos {
  border-color: var(--line);
}

.trust-logos span {
  color: #73819a;
}

.card,
.audience-block,
.work-card,
.form-card {
  background: var(--card);
  border-color: var(--line);
}

.card:hover,
.work-card:hover {
  border-color: #3a557f;
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.35);
}

.card-icon,
.step-number,
.avatar {
  background: var(--blue-soft);
  color: var(--blue);
}

.card-link {
  color: var(--blue);
}

.split-panel {
  background: linear-gradient(145deg, #121e30 0%, #0d1420 100%);
  border: 1px solid var(--line);
  color: var(--ink);
}

.split-panel h3 {
  color: var(--heading);
}

.split-panel p {
  color: var(--muted);
}

.split-panel .stat strong {
  color: #ffffff;
}

.split-panel .stat span {
  color: #a8b8d0;
}

.stat strong {
  color: var(--blue);
}

.tag {
  color: var(--blue);
  background: var(--blue-soft);
}

.tag-muted {
  color: var(--muted);
  background: var(--bg-soft);
}

.work-thumb {
  background: var(--bg-soft);
}

.filters {
  --line: #242f40;
}

.filter-btn {
  background: var(--card);
  color: var(--muted);
  border-color: var(--line);
}

.filter-btn:hover,
.filter-btn[aria-pressed="true"] {
  background: linear-gradient(135deg, #6f9ff5, #3f6fd6);
  border-color: transparent;
  color: #ffffff;
}

.project-dialog {
  background: var(--card);
  color: var(--ink);
  border: 1px solid var(--line);
}

.dialog-close {
  background: var(--bg-soft);
  color: var(--heading);
  border-color: var(--line);
}

.dialog-meta {
  border-color: var(--line);
}

.step p,
.audience-block li {
  color: var(--muted);
}

.quote-mark {
  color: var(--blue);
}

.quote blockquote {
  color: var(--heading);
}

.quote cite,
.quote cite strong {
  color: var(--muted);
}

.quote cite strong {
  color: var(--heading);
}

.cta-band {
  background:
    radial-gradient(600px 300px at 90% -20%, rgba(111, 159, 245, 0.18), transparent 70%),
    linear-gradient(135deg, #122038 0%, #0b1220 65%, #101a2b 100%);
  border: 1px solid var(--line);
  color: var(--ink);
}

.cta-band h2 {
  color: var(--heading);
}

.cta-band p {
  color: var(--muted);
}

.service-row {
  border-color: var(--line);
}

.check-list li {
  color: var(--muted);
}

.check-list li::before {
  color: var(--blue);
}

.faq-list details {
  border-color: var(--line);
}

.faq-list summary {
  color: var(--heading);
}

.faq-list summary::after {
  color: var(--blue);
}

.faq-list details p {
  color: var(--muted);
}

.value {
  border-top-color: var(--blue);
}

.value p,
.team-card p {
  color: var(--muted);
}

.team-card h3 {
  color: var(--heading);
}

.team-card span {
  color: var(--blue);
}

.field label {
  color: var(--heading);
}

.field input,
.field select,
.field textarea {
  background: #0a0e15;
  color: var(--ink);
  border-color: var(--line);
}

.field input::placeholder,
.field textarea::placeholder {
  color: #6d7b91;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--blue);
  outline-color: rgba(138, 180, 255, 0.18);
}

.form-status {
  background: var(--blue-soft);
  color: var(--ink);
  border: 1px solid var(--line);
}

.contact-detail {
  border-color: var(--line);
}

.contact-detail span {
  color: var(--muted);
}

.contact-detail a,
.contact-detail p {
  color: var(--heading);
}

.site-footer {
  background: #06080d;
  border-top: 1px solid var(--line);
  color: #8b9ab1;
}

.footer-brand .logo {
  color: var(--heading);
}

.footer-brand p,
.footer-col a {
  color: #8b9ab1;
}

.footer-col h3,
.footer-col h4 {
  color: var(--heading);
}

.footer-col a:hover {
  color: #ffffff;
}

.footer-bottom {
  border-color: rgba(255, 255, 255, 0.1);
  color: #6f7f97;
}

@media (max-width: 940px) {
  .nav-menu {
    background: #0b1018;
    border-bottom-color: var(--line);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.5);
  }

  .nav-menu a {
    border-bottom-color: var(--line);
  }
}

/* Command center + lead magnet dark surfaces */
.cc-panel,
.cc-stat,
.check-item,
.link-card {
  background: var(--card);
  border-color: var(--line);
}

.cc-stat strong,
.cc-form label,
.check-item strong,
.link-card {
  color: var(--heading);
}

.cc-form input,
.cc-form select {
  background: #0a0e15;
  color: var(--ink);
  border-color: var(--line);
}

.cc-table th {
  color: var(--muted);
  border-bottom-color: var(--line);
}

.cc-table td {
  border-bottom-color: var(--line);
}

.stage {
  background: var(--bg-soft);
  color: var(--muted);
}

.cc-output {
  background: #0a0e15;
  color: var(--ink);
  border-color: var(--line);
}

.progress-track {
  background: #1a2534;
}

.progress-fill {
  background: linear-gradient(90deg, #6f9ff5, #8ab4ff);
}

.check-box {
  border-color: var(--blue);
}

.check-item span {
  color: var(--muted);
}

/* ============================================================
   INTERACTIVE LAYER
   ============================================================ */

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0;
  z-index: 300;
  background: linear-gradient(90deg, #3f6fd6, #8ab4ff);
  box-shadow: 0 0 14px rgba(138, 180, 255, 0.55);
  transition: width 0.1s linear;
}

.back-to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--card);
  color: var(--blue);
  display: grid;
  place-items: center;
  font-size: 20px;
  cursor: pointer;
  z-index: 200;
  opacity: 0;
  transform: translateY(14px);
  pointer-events: none;
  box-shadow: var(--shadow);
  transition: opacity 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
}

.back-to-top.visible {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

.back-to-top:hover {
  border-color: var(--blue);
  transform: translateY(-4px);
}

.hero {
  position: relative;
  overflow: hidden;
}

.hero > .container {
  position: relative;
  z-index: 1;
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.2;
  pointer-events: none;
  animation: float-orb 14s ease-in-out infinite;
}

.hero::before {
  width: 320px;
  height: 320px;
  background: #3f6fd6;
  top: -90px;
  right: 8%;
}

.hero::after {
  width: 260px;
  height: 260px;
  background: #6f9ff5;
  bottom: -130px;
  left: 4%;
  animation-delay: -7s;
}

@keyframes float-orb {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(0, -26px, 0) scale(1.1); }
}

.card,
.audience-block,
.work-card,
.cc-panel {
  position: relative;
  overflow: hidden;
}

.card::before,
.audience-block::before,
.work-card::before,
.cc-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(340px circle at var(--mx, 50%) var(--my, 50%), rgba(138, 180, 255, 0.13), transparent 65%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  z-index: 0;
}

.card:hover::before,
.audience-block:hover::before,
.work-card:hover::before,
.cc-panel:hover::before {
  opacity: 1;
}

.card > *,
.audience-block > *,
.work-card > *,
.cc-panel > * {
  position: relative;
  z-index: 1;
}

.btn {
  position: relative;
  overflow: hidden;
}

.ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.32);
  transform: scale(0);
  animation: ripple-out 0.6s linear forwards;
  pointer-events: none;
}

@keyframes ripple-out {
  to { transform: scale(4); opacity: 0; }
}

.faq-list details[open] p {
  animation: fade-up 0.35s ease both;
}

@keyframes fade-up {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: none; }
}

.field.is-invalid input,
.field.is-invalid select,
.field.is-invalid textarea {
  border-color: #e08080;
  box-shadow: 0 0 0 3px rgba(224, 128, 128, 0.12);
}

.char-count {
  font-size: 11px;
  color: var(--muted);
  text-align: right;
}

.work-card.filter-anim {
  animation: card-in 0.35s ease both;
}

@keyframes card-in {
  from { opacity: 0; transform: translateY(10px) scale(0.98); }
  to { opacity: 1; transform: none; }
}

.stat strong.count-up {
  font-variant-numeric: tabular-nums;
}

@media (prefers-reduced-motion: reduce) {
  .hero::before,
  .hero::after {
    animation: none;
  }

  .card::before,
  .audience-block::before,
  .work-card::before,
  .cc-panel::before {
    display: none;
  }
}

/* ============================================================
   PREMIUM VISUAL UPGRADE — type, texture, depth, showpieces
   ============================================================ */

:root {
  --font-sans: "Manrope", "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
  --font-serif: "Instrument Serif", Georgia, "Times New Roman", serif;
  --accent: #8ab4ff;
  --accent-2: #c9a7ff;
}

body {
  font-family: var(--font-sans);
  font-weight: 400;
  letter-spacing: -0.005em;
}

h1, h2, h3, h4 {
  font-family: var(--font-sans);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 1.08;
}

.serif {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.015em;
}

.text-gradient {
  background: linear-gradient(110deg, #ffffff 8%, #8ab4ff 54%, #c9a7ff 96%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Film grain — subtle, fixed, non-interactive */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 250;
  pointer-events: none;
  opacity: 0.14;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.5'/%3E%3C/svg%3E");
  background-size: 180px 180px;
}

/* Cursor aura */
.cursor-aura {
  position: fixed;
  top: 0;
  left: 0;
  width: 540px;
  height: 540px;
  margin: -270px 0 0 -270px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  opacity: 0;
  background: radial-gradient(circle, rgba(111, 159, 245, 0.11) 0%, rgba(138, 180, 255, 0.045) 34%, transparent 68%);
  mix-blend-mode: screen;
  transition: opacity 0.4s ease;
}

.cursor-aura.on { opacity: 1; }

/* Magnetic buttons */
.btn {
  transform: translate3d(var(--tx, 0px), var(--ty, 0px), 0);
  transition: transform 0.18s cubic-bezier(.2,.8,.2,1), background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

/* 3D tilt surfaces */
.card,
.audience-block,
.work-card,
.cc-panel,
.hero-visual {
  transform-style: preserve-3d;
  transition: transform 0.18s cubic-bezier(.2,.8,.2,1), border-color 0.3s ease, box-shadow 0.3s ease;
}

.card:hover,
.audience-block:hover,
.work-card:hover,
.cc-panel:hover,
.hero-visual:hover {
  transform: perspective(1000px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(-4px);
  border-color: #3a557f;
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.45);
}

/* Hero upgrade */
.hero { padding-top: 84px; }
.hero-grid { align-items: center; }
.hero h1 {
  font-size: clamp(3.1rem, 6.4vw, 5.6rem);
  line-height: 1.01;
  letter-spacing: -0.06em;
  margin-bottom: 22px;
}
.hero h1 .serif { font-size: 1.14em; }
.hero .lead { font-size: 1.08rem; max-width: 620px; }

.avail {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  padding: 9px 15px;
  margin-bottom: 26px;
  border: 1px solid var(--line);
  border-radius: 99px;
  background: rgba(16, 22, 32, 0.72);
  backdrop-filter: blur(10px);
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.avail .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #5fe0a8;
  box-shadow: 0 0 0 0 rgba(95, 224, 168, 0.65);
  animation: avail-pulse 2.2s infinite;
}
@keyframes avail-pulse {
  70% { box-shadow: 0 0 0 13px rgba(95, 224, 168, 0); }
  100% { box-shadow: 0 0 0 0 rgba(95, 224, 168, 0); }
}

.hero-visual { position: relative; border-radius: 16px; }
.hero-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(138, 180, 255, 0.14), transparent 42%);
  pointer-events: none;
}
.orbit {
  position: absolute;
  width: 128px;
  height: 128px;
  top: -38px;
  right: -34px;
  border: 1px dashed rgba(138, 180, 255, 0.3);
  border-radius: 50%;
  animation: orbit-spin 20s linear infinite;
  pointer-events: none;
}
.orbit::after {
  content: "";
  position: absolute;
  top: -5px;
  left: 50%;
  width: 10px;
  height: 10px;
  margin-left: -5px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 16px var(--blue);
}
@keyframes orbit-spin { to { transform: rotate(360deg); } }

.float-chip {
  position: absolute;
  z-index: 3;
  padding: 12px 16px;
  border: 1px solid rgba(138, 180, 255, 0.24);
  border-radius: 12px;
  background: rgba(11, 16, 25, 0.86);
  backdrop-filter: blur(14px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.55);
  animation: chip-float 6s ease-in-out infinite;
}
.float-chip strong { display: block; color: var(--heading); font-size: 16px; letter-spacing: -0.03em; }
.float-chip span { display: block; margin-top: 2px; color: var(--muted); font-size: 9px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; }
.float-chip.one { top: 12%; left: -9%; }
.float-chip.two { right: -7%; bottom: 11%; animation-delay: -3s; }
@keyframes chip-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-11px); } }

.scroll-cue {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 42px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.scroll-cue i {
  display: block;
  width: 1px;
  height: 34px;
  background: linear-gradient(var(--blue), transparent);
  animation: cue-drop 1.8s ease-in-out infinite;
}
@keyframes cue-drop { 0%, 100% { opacity: 0.3; transform: scaleY(0.6); } 50% { opacity: 1; transform: scaleY(1); } }

/* Section head flourish */
.section-head::before {
  content: "";
  display: block;
  width: 46px;
  height: 3px;
  border-radius: 99px;
  margin-bottom: 18px;
  background: linear-gradient(90deg, var(--blue), var(--accent-2));
}

/* Capability ticker */
.marquee {
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(8, 10, 15, 0.55);
}
.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee-run 34s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-set { display: flex; align-items: center; flex: 0 0 auto; }
.marquee-set span {
  padding: 17px 0;
  color: #93a2b9;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  white-space: nowrap;
}
.marquee-set i { padding: 0 30px; color: var(--blue); font-style: normal; font-size: 12px; }
@keyframes marquee-run { to { transform: translateX(-50%); } }

/* Testimonial carousel */
.quote-stage { position: relative; min-height: 252px; }
.quote-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.5s ease, transform 0.5s ease;
  pointer-events: none;
}
.quote-slide.active { opacity: 1; transform: none; pointer-events: auto; }
.quote-slide blockquote { font-family: var(--font-serif); font-style: italic; font-size: clamp(1.4rem, 3vw, 2.15rem); line-height: 1.35; color: var(--heading); letter-spacing: -0.01em; }
.quote-controls { display: flex; align-items: center; gap: 12px; margin-top: 12px; }
.quote-arrow {
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--card);
  color: var(--heading);
  cursor: pointer;
  font-size: 17px;
  transition: border-color .25s, color .25s, transform .25s;
}
.quote-arrow:hover { border-color: var(--blue); color: var(--blue); transform: translateY(-2px); }
.quote-dot {
  width: 8px;
  height: 8px;
  border: 0;
  border-radius: 99px;
  background: #354154;
  cursor: pointer;
  transition: width .3s ease, background .3s ease;
}
.quote-dot.active { width: 26px; background: var(--blue); }

/* Command Center live chart, clock, toasts */
.live-clock { color: var(--blue); font-weight: 800; font-variant-numeric: tabular-nums; letter-spacing: 0.04em; }
.pipeline-chart { display: flex; align-items: flex-end; gap: 10px; height: 132px; margin-top: 18px; }
.chart-col { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 8px; height: 100%; }
.chart-bar {
  width: 100%;
  max-width: 52px;
  min-height: 3px;
  height: 0;
  border-radius: 6px 6px 0 0;
  background: linear-gradient(180deg, #8ab4ff, #3f6fd6);
  box-shadow: 0 0 18px rgba(138, 180, 255, 0.18);
  transition: height 0.7s cubic-bezier(.2,.8,.2,1);
}
.chart-col span { color: var(--muted); font-size: 9px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; }
.toast-wrap { position: fixed; right: 24px; bottom: 88px; z-index: 400; display: flex; flex-direction: column; gap: 10px; pointer-events: none; }
.toast {
  padding: 14px 18px;
  border: 1px solid var(--line);
  border-left: 3px solid var(--blue);
  border-radius: 9px;
  background: var(--card);
  color: var(--heading);
  box-shadow: var(--shadow);
  font-size: 13px;
  animation: toast-in 0.4s ease both;
}
.toast small { display: block; color: var(--muted); font-size: 11px; margin-top: 2px; }
@keyframes toast-in { from { opacity: 0; transform: translateX(30px); } to { opacity: 1; transform: none; } }

/* Completion sparkle (lead magnet) */
.spark {
  position: fixed;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 420;
  animation: spark-fly 0.9s ease-out forwards;
}
@keyframes spark-fly { to { transform: translate(var(--sx), var(--sy)) rotate(320deg); opacity: 0; } }

@media (max-width: 940px) {
  .float-chip.one { left: 2%; }
  .float-chip.two { right: 2%; }
}

@media (max-width: 640px) {
  .hero { padding-top: 62px; }
  .hero h1 { font-size: clamp(2.6rem, 11vw, 3.6rem); }
  .float-chip { display: none; }
  .orbit { width: 90px; height: 90px; }
  .quote-stage { min-height: 260px; }
}

@media (prefers-reduced-motion: reduce) {
  .cursor-aura,
  body::after { display: none; }
  .marquee-track,
  .orbit,
  .avail .dot,
  .float-chip,
  .scroll-cue i { animation: none; }
  .btn,
  .card,
  .work-card,
  .cc-panel,
  .hero-visual { transform: none !important; }
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ============================================================
   MOTION LAYER 2 — entrance choreography, typing, skill bars
   ============================================================ */

@keyframes rise-in {
  from { opacity: 0; transform: translateY(26px); filter: blur(7px); }
  to { opacity: 1; transform: none; filter: none; }
}

@keyframes visual-in {
  from { opacity: 0; transform: translateY(28px) scale(0.965); }
  to { opacity: 1; transform: none; }
}

@keyframes cursor-blink { 50% { opacity: 0; } }

/* Home hero: staggered entrance */
.hero .avail,
.hero h1,
.hero .lead,
.hero .type-line,
.hero .hero-actions,
.hero > .container > .hero-grid > div:first-child > .card-link,
.hero .scroll-cue {
  animation: rise-in 0.85s cubic-bezier(.2,.8,.2,1) backwards;
}
.hero .avail { animation-delay: 0.04s; }
.hero h1 { animation-delay: 0.12s; }
.hero .lead { animation-delay: 0.2s; }
.hero .type-line { animation-delay: 0.28s; }
.hero .hero-actions { animation-delay: 0.36s; }
.hero > .container > .hero-grid > div:first-child > .card-link { animation-delay: 0.44s; }
.hero .scroll-cue { animation-delay: 0.52s; }
.hero .hero-visual.reveal {
  animation: visual-in 1s cubic-bezier(.2,.8,.2,1) 0.18s backwards;
}
.hero .trust-bar.reveal {
  animation: rise-in 0.75s cubic-bezier(.2,.8,.2,1) 0.6s backwards;
}

/* Inner pages: page-hero entrance */
.page-hero .eyebrow,
.page-hero h1,
.page-hero .lead,
.page-hero .person-meta {
  animation: rise-in 0.75s cubic-bezier(.2,.8,.2,1) backwards;
}
.page-hero .eyebrow { animation-delay: 0.04s; }
.page-hero h1 { animation-delay: 0.12s; }
.page-hero .lead { animation-delay: 0.2s; }
.page-hero .person-meta { animation-delay: 0.3s; }

/* Reveal: softer blur-in + stagger support */
.js .reveal {
  filter: blur(5px);
  transition: opacity 0.65s ease, transform 0.65s cubic-bezier(.2,.8,.2,1), filter 0.65s ease;
  transition-delay: calc(var(--i, 0) * 75ms);
}
.js .reveal.in { filter: none; }

/* Typewriter line */
.type-line {
  display: flex;
  align-items: center;
  min-height: 1.7em;
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 0.98rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.typewriter { color: var(--blue); font-weight: 800; }
.type-cursor {
  display: inline-block;
  width: 2px;
  height: 1.05em;
  margin-left: 4px;
  vertical-align: -0.16em;
  border-radius: 2px;
  background: var(--blue);
  box-shadow: 0 0 12px rgba(138, 180, 255, 0.7);
  animation: cursor-blink 0.9s steps(1) infinite;
}

/* CV skill meters */
.skill-card .skill-bar {
  height: 5px;
  margin-top: 20px;
  border-radius: 99px;
  background: #1a2534;
  border: 1px solid var(--line);
  overflow: hidden;
}
.skill-bar span {
  display: block;
  height: 100%;
  width: 0;
  border-radius: 99px;
  background: linear-gradient(90deg, #3f6fd6, #8ab4ff 60%, #c9a7ff);
  box-shadow: 0 0 14px rgba(138, 180, 255, 0.35);
  transition: width 1.25s cubic-bezier(.2,.8,.2,1);
}

/* Work thumb zoom */
.work-thumb img { transition: transform 0.7s cubic-bezier(.2,.8,.2,1), filter 0.3s ease; }
.work-card:hover .work-thumb img { transform: scale(1.07); }

/* Animated nav underline */
.nav-menu a { position: relative; }
.nav-menu a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 1px;
  background: var(--blue);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s cubic-bezier(.2,.8,.2,1);
}
.nav-menu a:hover::after,
.nav-menu a[aria-current="page"]::after { transform: scaleX(1); }

@media (max-width: 940px) {
  .nav-menu a::after { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .hero .avail,
  .hero h1,
  .hero .lead,
  .hero .type-line,
  .hero .hero-actions,
  .hero > .container > .hero-grid > div:first-child > .card-link,
  .hero .scroll-cue,
  .hero .hero-visual.reveal,
  .hero .trust-bar.reveal,
  .page-hero .eyebrow,
  .page-hero h1,
  .page-hero .lead,
  .page-hero .person-meta {
    animation: none;
  }
  .js .reveal { filter: none; transition-delay: 0ms; }
  .type-cursor { animation: none; }
  .skill-bar span { transition: none; }
  .work-card:hover .work-thumb img { transform: none; }
}

/* ============================================================
   TEXTURE & INTERACTION LAYER 3
   Ambient grid, metallic sheen, grain drift, copy + ambient controls
   ============================================================ */

:root {
  --texture-grid: rgba(138, 180, 255, 0.055);
  --texture-dot: rgba(138, 180, 255, 0.085);
  --texture-sheen: rgba(138, 180, 255, 0.075);
}

/* Moving film grain */
body::after {
  animation: grain-drift 1.4s steps(4) infinite;
}
@keyframes grain-drift {
  0%   { background-position: 0 0; }
  25%  { background-position: -38px 26px; }
  50%  { background-position: 28px -22px; }
  75%  { background-position: -18px -34px; }
  100% { background-position: 0 0; }
}

/* Ambient blueprint grid + halftone field */
.texture-layer {
  position: fixed;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  opacity: 0.85;
  mix-blend-mode: soft-light;
  transition: opacity 0.45s ease;
  background-image:
    linear-gradient(var(--texture-grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--texture-grid) 1px, transparent 1px),
    radial-gradient(circle at 50% 50%, var(--texture-dot) 1px, transparent 1.4px);
  background-size: 64px 64px, 64px 64px, 13px 13px;
  background-position: 0 0, 0 0, 0 0;
}

body.texture-off::after,
body.texture-off .texture-layer {
  opacity: 0;
}

/* Ambient mode switch */
.ambient-toggle {
  position: fixed;
  left: 24px;
  bottom: 24px;
  z-index: 210;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 9px 14px;
  border: 1px solid var(--line);
  border-radius: 99px;
  background: rgba(10, 15, 23, 0.86);
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  cursor: pointer;
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow);
  transition: transform 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}
.ambient-toggle:hover {
  transform: translateY(-3px);
  border-color: var(--blue);
  color: var(--heading);
}
.ambient-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 12px var(--blue);
  transition: background 0.25s ease, box-shadow 0.25s ease;
}
.ambient-toggle.off .ambient-dot {
  background: #4b5566;
  box-shadow: none;
}

/* Metallic sheen sweep on interactive surfaces */
.card,
.audience-block,
.work-card,
.cc-panel {
  background-image: linear-gradient(115deg, transparent 26%, var(--texture-sheen) 46%, transparent 64%);
  background-repeat: no-repeat;
  background-size: 230% 100%;
  background-position: 130% 0;
  transition: background-position 0.85s cubic-bezier(.2,.8,.2,1),
              transform 0.18s cubic-bezier(.2,.8,.2,1),
              border-color 0.3s ease,
              box-shadow 0.3s ease;
}
.card:hover,
.audience-block:hover,
.work-card:hover,
.cc-panel:hover {
  background-position: -30% 0;
}

/* Fine machined grid inside surfaces */
.card::after,
.audience-block::after,
.work-card::after,
.cc-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.4;
  background-image:
    linear-gradient(rgba(138, 180, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(138, 180, 255, 0.045) 1px, transparent 1px);
  background-size: 24px 24px;
  -webkit-mask-image: linear-gradient(135deg, #000 0%, transparent 72%);
  mask-image: linear-gradient(135deg, #000 0%, transparent 72%);
}

/* Button gloss sweep */
.btn::after {
  content: "";
  position: absolute;
  top: 0;
  left: -130%;
  width: 55%;
  height: 100%;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.22), transparent);
  transform: skewX(-22deg);
  transition: left 0.75s cubic-bezier(.2,.8,.2,1);
}
.btn:hover::after,
.btn:focus-visible::after { left: 145%; }

/* Marquee edge fade */
.marquee {
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}

/* Pointer parallax inside hero visual */
.hero-visual img,
.hero-visual .hero-system {
  transform: translate3d(var(--px, 0px), var(--py, 0px), 0) scale(1.015);
  transition: transform 0.24s cubic-bezier(.2,.8,.2,1);
}

/* Contact email copy control */
.contact-email-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.copy-email {
  padding: 6px 11px;
  border: 1px solid var(--line);
  border-radius: 99px;
  background: transparent;
  color: var(--muted);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  transition: border-color 0.25s ease, color 0.25s ease, transform 0.25s ease;
}
.copy-email:hover {
  border-color: var(--blue);
  color: var(--blue);
  transform: translateY(-1px);
}
.copy-email.copied {
  border-color: #5fe0a8;
  color: #5fe0a8;
}

/* Stronger focus halo */
:focus-visible {
  box-shadow: 0 0 0 6px rgba(138, 180, 255, 0.14);
}

@media (max-width: 640px) {
  .ambient-toggle {
    left: 16px;
    bottom: 16px;
    padding: 8px 11px;
    font-size: 9px;
  }
  .texture-layer { background-size: 48px 48px, 48px 48px, 11px 11px; }
}

/* Interactive VEXIQ hero system — replaces the static hero image */
.hero-system {
  position: relative;
  z-index: 2;
  min-height: 430px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background:
    linear-gradient(155deg, rgba(138, 180, 255, 0.10), transparent 38%),
    #0c121c;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04), 0 30px 70px rgba(0, 0, 0, 0.45);
  overflow: hidden;
}
.hero-system::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(138, 180, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(138, 180, 255, 0.035) 1px, transparent 1px);
  background-size: 36px 36px;
  pointer-events: none;
}
.hs-head {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 15px;
  border-bottom: 1px solid var(--line);
}
.hs-mark {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--blue);
  color: #080a0f;
  font: 800 18px/1 var(--font-sans), system-ui, sans-serif;
  letter-spacing: -0.04em;
}
.hs-brand {
  color: var(--heading);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.14em;
}
.hs-brand small {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.2em;
}
.hs-live {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-left: auto;
  color: var(--muted);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.14em;
  white-space: nowrap;
}
.hs-live i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #5fe0a8;
  box-shadow: 0 0 0 4px rgba(95, 224, 168, 0.12);
  animation: hs-pulse 2.4s infinite;
}
@keyframes hs-pulse {
  70% { box-shadow: 0 0 0 10px rgba(95, 224, 168, 0); }
  100% { box-shadow: 0 0 0 0 rgba(95, 224, 168, 0); }
}
.hs-stage {
  position: relative;
  min-height: 250px;
  padding-top: 22px;
}
.hs-view {
  position: absolute;
  inset: 22px 0 0;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.35s ease, transform 0.35s ease;
  pointer-events: none;
}
.hs-view.is-active {
  position: relative;
  inset: auto;
  opacity: 1;
  transform: none;
  pointer-events: auto;
}
.hs-index {
  color: var(--blue);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.hs-view h2 {
  margin: 10px 0 12px;
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  line-height: 1.08;
  letter-spacing: -0.045em;
}
.hs-view h2 .serif {
  color: var(--blue);
  font-size: 1.08em;
}
.hs-view p {
  max-width: 430px;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}
.hs-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  margin-top: 24px;
}
.hs-proof span {
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.hs-proof strong {
  margin-right: 5px;
  color: var(--heading);
  font-size: 16px;
  letter-spacing: -0.03em;
}
.hs-kit {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 24px;
}
.hs-swatch {
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
}
.hs-swatch.s1 { background: var(--blue); }
.hs-swatch.s2 { background: #c9a7ff; }
.hs-swatch.s3 { background: #5fe0a8; }
.hs-type {
  margin-left: 10px;
  color: var(--heading);
  font-family: var(--font-serif), Georgia, serif;
  font-size: 26px;
  font-style: italic;
}
.hs-word {
  margin-left: auto;
  color: var(--heading);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.16em;
}
.hs-deliverables {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 24px;
}
.hs-deliverables span {
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--bg-soft);
}
.hs-deliverables b {
  color: var(--heading);
  font-size: 9px;
  letter-spacing: 0.14em;
}
.hs-deliverables i {
  display: block;
  height: 5px;
  margin-top: 9px;
  border-radius: 99px;
  background: var(--blue);
  opacity: 0.75;
}
.hs-deliverables i + i { width: 62%; opacity: 0.3; }
.hs-bars {
  display: flex;
  align-items: flex-end;
  gap: 10px;
  height: 96px;
  margin-top: 24px;
  padding-bottom: 22px;
}
.hs-bars span {
  position: relative;
  flex: 1;
  height: var(--bar);
  border: 1px solid rgba(138, 180, 255, 0.3);
  border-radius: 6px 6px 2px 2px;
  background: linear-gradient(180deg, var(--blue), rgba(63, 111, 214, 0.25));
}
.hs-bars i {
  position: absolute;
  bottom: -19px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--muted);
  font-size: 9px;
  font-style: normal;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.hs-tabs {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}
.hs-tab {
  padding: 9px 6px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: transparent;
  color: var(--muted);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: color 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}
.hs-tab:hover {
  color: var(--heading);
  border-color: var(--line);
}
.hs-tab.is-active {
  background: var(--blue);
  border-color: var(--blue);
  color: #080a0f;
}
@media (max-width: 900px) {
  .hero-system { min-height: 400px; }
  .hs-stage { min-height: 230px; }
}
@media (max-width: 640px) {
  .hero-system { min-height: 420px; padding: 16px; }
  .hs-live { display: none; }
  .hs-stage { min-height: 290px; }
  .hs-tabs { grid-template-columns: repeat(2, 1fr); }
  .hs-deliverables { gap: 6px; }
  .hs-deliverables span { padding: 9px; }
}

@media (prefers-reduced-motion: reduce) {
  body::after { animation: none; }
  .texture-layer { opacity: 0.35; }
  .btn::after { display: none; }
  .card,
  .audience-block,
  .work-card,
  .cc-panel { transition: border-color 0.3s ease, box-shadow 0.3s ease; }
  .hero-visual img,
  .hero-visual .hero-system { transform: none; }
  .hero-system .hs-view { transition: none; }
}

/* VEXIQ hero artwork — open composition, no website frame */
.hero-visual {
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  overflow: visible !important;
}
.hero-visual::after { display: none !important; }
.hero-visual img,
.hero-visual .hero-artwork {
  transform: translate3d(var(--px, 0px), var(--py, 0px), 0);
  transition: transform 0.24s cubic-bezier(.2,.8,.2,1);
}

.hero-artwork {
  position: relative;
  width: 100%;
  min-height: 500px;
  isolation: isolate;
}
.art-halo {
  position: absolute;
  inset: -8% -4% 4%;
  background: radial-gradient(circle at 50% 40%, rgba(138, 180, 255, 0.17), transparent 58%);
  filter: blur(6px);
  pointer-events: none;
  z-index: -3;
}
.art-ring {
  position: absolute;
  left: 50%;
  top: 42%;
  border: 1px solid rgba(138, 180, 255, 0.16);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: -2;
}
.art-ring-one {
  width: 330px;
  height: 330px;
  border-style: dashed;
  animation: art-spin 34s linear infinite;
}
.art-ring-two {
  width: 430px;
  height: 430px;
  border-color: rgba(138, 180, 255, 0.08);
  animation: art-spin 48s linear infinite reverse;
}
@keyframes art-spin {
  to { transform: translate(-50%, -50%) rotate(360deg); }
}
.art-trails {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
  z-index: -1;
}
.art-trails .trail {
  fill: none;
  stroke: rgba(138, 180, 255, 0.32);
  stroke-width: 1.5;
  stroke-dasharray: 7 11;
  animation: art-trail 18s linear infinite;
}
.art-trails .trail-two {
  opacity: 0.38;
  animation-duration: 24s;
}
@keyframes art-trail {
  to { stroke-dashoffset: -360; }
}

.art-core {
  position: absolute;
  left: 50%;
  top: 42%;
  width: 100%;
  transform: translate(-50%, -50%);
  text-align: center;
  pointer-events: none;
}
.core-word {
  display: block;
  color: var(--blue);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.42em;
}
.core-letter {
  display: block;
  margin-top: 8px;
  font-family: var(--font-serif), Georgia, serif;
  font-size: clamp(8rem, 15vw, 13rem);
  font-style: italic;
  line-height: 0.78;
  letter-spacing: -0.07em;
  background: linear-gradient(145deg, #f4f7fc 8%, #8ab4ff 52%, #3f6fd6 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 0 46px rgba(138, 180, 255, 0.16);
}
.core-tag {
  display: block;
  margin-top: 14px;
  color: var(--muted);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.22em;
}

.art-points { position: absolute; inset: 0; }
.art-point {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--muted);
  text-align: left;
  cursor: pointer;
  opacity: 0.62;
  transition: opacity 0.25s ease, color 0.25s ease;
}
.art-point:hover,
.art-point:focus-visible {
  opacity: 1;
  outline: none;
}
.point-dot {
  width: 9px;
  height: 9px;
  flex: none;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 0 5px rgba(138, 180, 255, 0.1), 0 0 18px rgba(138, 180, 255, 0.5);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.point-text b {
  display: block;
  color: var(--heading);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.02em;
}
.point-text small {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}
.art-point.is-active { opacity: 1; }
.art-point.is-active .point-dot {
  transform: scale(1.28);
  box-shadow: 0 0 0 8px rgba(138, 180, 255, 0.14), 0 0 24px rgba(138, 180, 255, 0.75);
}
.art-point.is-active .point-text b { color: var(--blue); }
.point-one { top: 6%; left: 3%; }
.point-two { top: 9%; right: 1%; flex-direction: row-reverse; text-align: right; }
.point-three { bottom: 24%; right: 0; flex-direction: row-reverse; text-align: right; }
.point-four { bottom: 20%; left: 2%; }

.art-readout {
  position: absolute;
  left: 50%;
  bottom: 0;
  width: min(100%, 390px);
  transform: translateX(-50%);
  text-align: center;
}
.art-readout::before {
  content: "";
  display: block;
  width: 54px;
  height: 2px;
  margin: 0 auto 14px;
  background: linear-gradient(90deg, transparent, var(--blue), transparent);
}
.readout-kicker {
  display: block;
  color: var(--blue);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.art-readout strong {
  display: block;
  margin-top: 8px;
  color: var(--heading);
  font-size: 16px;
  line-height: 1.35;
  letter-spacing: -0.02em;
}
.readout-meta {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.5;
}

.hero-visual .float-chip {
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}
.hero-visual .float-chip.one { top: 1%; left: -2%; }
.hero-visual .float-chip.two { right: -1%; bottom: 8%; }
.hero-visual .float-chip strong { font-size: 18px; }
.hero-visual .float-chip span { font-size: 8px; }

@media (max-width: 900px) {
  .hero-artwork { min-height: 450px; }
  .art-ring-one { width: 280px; height: 280px; }
  .art-ring-two { width: 360px; height: 360px; }
  .core-letter { font-size: clamp(7rem, 19vw, 10rem); }
  .point-text small { display: none; }
  .point-text b { font-size: 10px; }
  .art-readout strong { font-size: 15px; }
}
@media (max-width: 640px) {
  .hero-artwork { min-height: 430px; }
  .art-ring-one { width: 230px; height: 230px; }
  .art-ring-two { width: 300px; height: 300px; }
  .core-letter { font-size: clamp(6.5rem, 27vw, 8.5rem); }
  .core-tag { font-size: 8px; letter-spacing: 0.16em; }
  .art-point .point-text { display: none; }
  .point-one { top: 6%; left: 8%; }
  .point-two { top: 9%; right: 8%; }
  .point-three { bottom: 26%; right: 8%; }
  .point-four { bottom: 22%; left: 8%; }
  .art-readout { bottom: -2%; width: 92%; }
  .readout-meta { font-size: 10px; }
  .hero-visual .float-chip.one { top: -2%; left: 0; }
  .hero-visual .float-chip.two { right: 0; bottom: 1%; }
}
@media (prefers-reduced-motion: reduce) {
  .art-ring,
  .art-trails .trail { animation: none !important; }
  .hero-visual .hero-artwork { transform: none !important; }
}

/* ---------- Animated work demos ---------- */
.work-card .card-link {
  border: 0;
  background: transparent;
  padding: 0;
  font-family: inherit;
  cursor: pointer;
}

.demo {
  --accent: #8ab4ff;
  --accent-two: #c9a7ff;
  --gold: #ffd479;
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  font-family: var(--font-sans), system-ui, sans-serif;
}
.demo * { box-sizing: border-box; }
.demo-aura {
  position: absolute;
  inset: -40%;
  background:
    radial-gradient(circle at 50% 28%, rgba(255, 212, 121, 0.26), transparent 42%),
    radial-gradient(circle at 18% 82%, rgba(138, 180, 255, 0.18), transparent 46%);
  animation: demo-drift 9s ease-in-out infinite alternate;
  pointer-events: none;
}
@keyframes demo-drift {
  from { transform: translate3d(-3%, 2%, 0) scale(1); }
  to { transform: translate3d(4%, -3%, 0) scale(1.08); }
}
@keyframes demo-pulse {
  70% { box-shadow: 0 0 0 7px currentColor; }
  100% { box-shadow: 0 0 0 0 transparent; }
}
@keyframes demo-spin {
  to { transform: rotate(360deg); }
}

/* Casino / iGaming */
.demo-casino {
  background: radial-gradient(circle at 50% 0%, #251b3e, #0a0a15 72%);
  color: #fff3d6;
}
.casino-b { --gold: #ffb27a; }
.cas-head,
.saas-head,
.ai-head {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 15px 0;
}
.cas-logo,
.saas-logo,
.ai-logo {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #f4f7fc;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.16em;
  white-space: nowrap;
}
.cas-logo i {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 6px;
  background: linear-gradient(135deg, var(--gold), #d99328);
  color: #1b1124;
  font-style: normal;
  font-size: 12px;
  font-weight: 900;
  box-shadow: 0 0 18px color-mix(in srgb, var(--gold) 45%, transparent);
}
.cas-live {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--gold);
  font-size: 7px;
  font-weight: 800;
  letter-spacing: 0.14em;
  white-space: nowrap;
}
.cas-live i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  color: var(--gold);
  animation: demo-pulse 1.7s infinite;
}
.cas-reels {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
  gap: 7px;
  margin: 11px 0 9px;
}
.reel {
  width: 50px;
  height: 54px;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--gold) 34%, transparent);
  border-radius: 9px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(0, 0, 0, 0.26));
  box-shadow: inset 0 0 16px rgba(0, 0, 0, 0.45), 0 8px 18px rgba(0, 0, 0, 0.28);
}
.reel-track {
  transform: translateY(calc(var(--pos, 0) * -54px));
  transition: transform 0.85s cubic-bezier(0.12, 0.8, 0.2, 1);
}
.reel.spin .reel-track { filter: blur(1.3px); }
.reel-track b {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 54px;
  color: var(--gold);
  font-size: 22px;
  font-weight: 800;
  text-shadow: 0 0 14px color-mix(in srgb, var(--gold) 55%, transparent);
}
.reel-track b:nth-child(3n) { color: #fff9ea; }
.cas-foot {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
}
.cas-balance {
  color: #b9a88c;
  font-size: 7px;
  font-weight: 800;
  letter-spacing: 0.13em;
}
.cas-balance b {
  display: block;
  color: #fff3d6;
  font-size: 14px;
  letter-spacing: -0.02em;
}
.cas-spin {
  border: 0;
  border-radius: 99px;
  padding: 8px 18px;
  background: linear-gradient(135deg, var(--gold), #d99328);
  color: #1b1124;
  font-size: 8px;
  font-weight: 900;
  letter-spacing: 0.16em;
  cursor: pointer;
  box-shadow: 0 8px 20px color-mix(in srgb, var(--gold) 28%, transparent);
  transition: transform 0.2s ease, filter 0.2s ease;
}
.cas-spin:hover { transform: translateY(-2px); filter: brightness(1.08); }
.cas-spin:active { transform: scale(0.96); }
.cas-spin:disabled { opacity: 0.7; cursor: default; transform: none; }
.cas-spark {
  position: absolute;
  left: 50%;
  top: 51%;
  width: 180px;
  height: 180px;
  margin: -90px;
  border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--gold) 26%, transparent), transparent 65%);
  opacity: 0;
  pointer-events: none;
}
.demo-casino.is-win .cas-spark { animation: casino-win 0.8s ease-out; }
@keyframes casino-win {
  0% { opacity: 0.9; transform: scale(0.5); }
  100% { opacity: 0; transform: scale(1.6); }
}

/* SaaS */
.demo-saas {
  background: linear-gradient(150deg, #0d1a2c, #07101c 72%);
  color: #dceaff;
}
.saas-b { --accent: #5fe0a8; --accent-two: #8ab4ff; }
.demo-saas::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(138, 180, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(138, 180, 255, 0.045) 1px, transparent 1px);
  background-size: 27px 27px;
  pointer-events: none;
}
.saas-logo i {
  width: 17px;
  height: 17px;
  border-radius: 5px;
  background: conic-gradient(from 210deg, var(--accent), var(--accent-two), var(--accent));
  box-shadow: 0 0 15px color-mix(in srgb, var(--accent) 45%, transparent);
  animation: demo-spin 7s linear infinite;
}
.saas-live {
  color: #5fe0a8;
  font-size: 7px;
  font-weight: 800;
  letter-spacing: 0.14em;
}
.saas-metrics {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin: 13px 15px 5px;
}
.saas-metrics > div {
  padding: 9px 11px;
  border: 1px solid color-mix(in srgb, var(--accent) 18%, transparent);
  border-radius: 9px;
  background: color-mix(in srgb, var(--accent) 5%, transparent);
}
.saas-metrics span {
  display: block;
  color: #7d93ad;
  font-size: 6px;
  font-weight: 800;
  letter-spacing: 0.16em;
}
.saas-metrics b {
  color: #f4f7fc;
  font-size: 21px;
  letter-spacing: -0.04em;
}
.saas-metrics small {
  margin-left: 2px;
  color: var(--accent);
  font-size: 9px;
}
.saas-chart {
  position: relative;
  z-index: 2;
  display: block;
  width: calc(100% - 30px);
  height: 60px;
  margin: 1px 15px 0;
  overflow: visible;
}
.chart-area {
  fill: color-mix(in srgb, var(--accent) 11%, transparent);
  opacity: 0;
  transition: opacity 0.8s ease 0.2s;
}
.chart-line {
  fill: none;
  stroke: var(--accent);
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 620;
  stroke-dashoffset: 620;
  filter: drop-shadow(0 0 6px color-mix(in srgb, var(--accent) 70%, transparent));
  transition: stroke-dashoffset 1.25s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.demo-saas.is-drawn .chart-area { opacity: 1; }
.demo-saas.is-drawn .chart-line { stroke-dashoffset: 0; }
.saas-tabs {
  position: relative;
  z-index: 3;
  display: flex;
  gap: 6px;
  margin: 7px 15px 0;
}
.saas-tabs button {
  border: 1px solid color-mix(in srgb, var(--accent) 20%, transparent);
  border-radius: 99px;
  background: transparent;
  color: #7d93ad;
  padding: 5px 10px;
  font-size: 7px;
  font-weight: 800;
  letter-spacing: 0.12em;
  cursor: pointer;
  transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}
.saas-tabs button:hover { color: #f4f7fc; }
.saas-tabs button[aria-pressed="true"] {
  background: var(--accent);
  border-color: var(--accent);
  color: #07101c;
}

/* AI */
.demo-ai {
  background:
    radial-gradient(circle at 50% 55%, color-mix(in srgb, var(--accent) 18%, transparent), transparent 56%),
    linear-gradient(150deg, #111327, #080a14 72%);
  color: #eaf0ff;
}
.ai-b { --accent: #c9a7ff; --accent-two: #8ab4ff; }
.ai-logo i {
  position: relative;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-two));
  box-shadow: 0 0 16px color-mix(in srgb, var(--accent) 68%, transparent);
}
.ai-logo i::after {
  content: "";
  position: absolute;
  inset: 4px;
  border-radius: 50%;
  background: #fff;
  opacity: 0.78;
}
.ai-status {
  color: var(--accent);
  font-size: 7px;
  font-weight: 800;
  letter-spacing: 0.14em;
}
.ai-orb {
  position: relative;
  z-index: 2;
  width: 68px;
  height: 68px;
  margin: 8px auto 5px;
}
.ai-orb span {
  position: absolute;
  inset: 0;
  border: 1px solid color-mix(in srgb, var(--accent) 45%, transparent);
  border-radius: 50%;
  animation: demo-spin 8s linear infinite;
}
.ai-orb span:nth-child(2) {
  inset: 10px;
  border-color: color-mix(in srgb, var(--accent-two) 50%, transparent);
  animation-duration: 6s;
  animation-direction: reverse;
}
.ai-orb span:nth-child(3) {
  inset: 22px;
  border: 0;
  background: radial-gradient(circle, #fff, var(--accent) 52%, transparent 72%);
  box-shadow: 0 0 22px color-mix(in srgb, var(--accent) 62%, transparent);
  animation: ai-breathe 3.2s ease-in-out infinite;
}
@keyframes ai-breathe {
  0%, 100% { transform: scale(0.9); opacity: 0.8; }
  50% { transform: scale(1.12); opacity: 1; }
}
.ai-response {
  position: relative;
  z-index: 2;
  min-height: 34px;
  margin: 0 15px;
  color: #dce7ff;
  font-size: 10px;
  line-height: 1.5;
  text-align: center;
}
.ai-prompts {
  position: relative;
  z-index: 3;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 5px;
  margin: 7px 12px 0;
}
.ai-prompts button {
  border: 1px solid color-mix(in srgb, var(--accent) 22%, transparent);
  border-radius: 99px;
  background: color-mix(in srgb, var(--accent) 6%, transparent);
  color: #9fb4d0;
  padding: 5px 8px;
  font-size: 7px;
  font-weight: 700;
  cursor: pointer;
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}
.ai-prompts button:hover {
  border-color: var(--accent);
  background: color-mix(in srgb, var(--accent) 14%, transparent);
  color: #f4f7fc;
}

@media (prefers-reduced-motion: reduce) {
  .demo-aura,
  .saas-logo i,
  .cas-live i,
  .ai-orb span,
  .demo-casino.is-win .cas-spark { animation: none !important; }
  .reel-track,
  .chart-area,
  .chart-line { transition-duration: 0.01ms !important; }
}

/* ---------- Sliding project rail ---------- */
.rail-wrap {
  position: relative;
  padding: 0 50px;
}
.work-rail {
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  cursor: grab;
}
.work-rail::-webkit-scrollbar { display: none; }
.work-rail.is-dragging {
  cursor: grabbing;
  scroll-snap-type: none;
}
.work-rail:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 6px;
  border-radius: var(--radius);
}
.work-track {
  display: flex;
  gap: 24px;
  padding: 4px 2px 18px;
  width: max-content;
}
.work-track .work-card {
  flex: 0 0 clamp(280px, 30vw, 380px);
  scroll-snap-align: start;
}
.rail-nav {
  position: absolute;
  top: 42%;
  z-index: 5;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--card, #101827);
  color: var(--heading);
  font-size: 18px;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.32);
  transition: border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.rail-nav:hover {
  border-color: var(--blue);
  color: var(--blue);
  transform: translateY(-2px);
}
.rail-prev { left: 0; }
.rail-next { right: 0; }
.rail-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 8px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.rail-count b { color: var(--blue); font-size: 13px; }

/* ---------- Slide-in project drawer ---------- */
.drawer-backdrop {
  position: fixed;
  inset: 0;
  z-index: 900;
  background: rgba(4, 6, 10, 0.72);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.drawer-backdrop:not([hidden]) { opacity: 1; }
.project-drawer {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 901;
  width: min(460px, 92vw);
  height: 100%;
  overflow-y: auto;
  border-left: 1px solid var(--line);
  background: #0d1420;
  box-shadow: -30px 0 80px rgba(0, 0, 0, 0.5);
  transform: translateX(100%);
  transition: transform 0.38s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.project-drawer.is-open { transform: translateX(0); }
.drawer-inner { padding: 34px 30px 40px; }
.drawer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.drawer-close {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  flex: none;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  color: var(--muted);
  font-size: 22px;
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease;
}
.drawer-close:hover {
  border-color: var(--blue);
  color: var(--blue);
}
.project-drawer h2 {
  margin: 20px 0 14px;
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
}
.project-drawer > .drawer-inner > p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}
.drawer-meta {
  display: grid;
  gap: 16px;
  margin: 28px 0;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(138, 180, 255, 0.04);
}
.drawer-meta div { display: grid; gap: 6px; }
.drawer-meta strong {
  color: var(--blue);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.drawer-meta span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}
body.drawer-open { overflow: hidden; }

@media (max-width: 640px) {
  .rail-wrap { padding: 0 38px; }
  .work-track { gap: 16px; }
  .work-track .work-card { flex-basis: 84vw; }
  .rail-nav { width: 34px; height: 34px; font-size: 15px; }
  .rail-hint { display: none; }
  .drawer-inner { padding: 26px 22px 34px; }
}
@media (prefers-reduced-motion: reduce) {
  .project-drawer,
  .drawer-backdrop { transition-duration: 0.01ms !important; }
}

