:root {
  --ink: #15101e;
  /* near-black with a violet cast */
  --paper: #ffffff;
  --muted: #6b6675;
  --line: #e7e3ee;
  --accent: #482880;
  /* Rishiraj Media brand purple */
  --accent-ink: #3a1f6b;
  --accent-soft: #9a7fd0;
  --cream: #f6f3fb;
  /* faint lavender tint */
  --sys: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --serif: "Satoshi", var(--sys);
  /* display — premium geometric */
  --sans: "General Sans", var(--sys);
  /* body / UI */
  --exp: "General Sans", var(--sys);
  /* labels */
  --maxw: 1240px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  scroll-snap-type: y proximity
}

section,
footer,
.manifesto {
  scroll-snap-align: start;
  scroll-margin-top: 80px
}

body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  overflow-x: hidden;
  font-feature-settings: "liga" 1, "kern" 1;
}

::selection {
  background: var(--accent);
  color: #fff
}

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

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

.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 32px
}

/* ---------- micro label ---------- */
.eyebrow {
  font-family: var(--exp);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--accent-ink);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.eyebrow::before {
  content: "";
  width: 24px;
  height: 1.5px;
  background: var(--accent);
  display: inline-block;
}

/* ---------- nav (over dark hero) ---------- */
header.nav {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.03) 100%);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.2);
  transition: background .35s, border-color .35s, backdrop-filter .35s, box-shadow .35s;
}

header.nav .logo-img {
  filter: brightness(0) invert(1);
}

header.nav.stuck {
  position: fixed;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.72) 0%, rgba(255, 255, 255, 0.6) 100%);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 8px 32px 0 rgba(21, 16, 30, 0.08);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px
}

.logo {
  display: flex;
  align-items: center;
  gap: 14px;
  cursor: pointer
}

.logo-img {
  height: 46px;
  width: auto;
  display: block;
  transition: filter .35s, transform .35s
}

.logo:hover .logo-img {
  transform: scale(1.03)
}

.logo-tag {
  font-family: var(--exp);
  font-size: 11px;
  letter-spacing: .28em;
  text-transform: uppercase;
  font-weight: 700;
  background: linear-gradient(90deg, #ffffff 0%, var(--accent-soft) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  padding-left: 16px;
  border-left: 1.5px solid var(--accent-soft);
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.logo:hover .logo-tag {
  letter-spacing: .32em;
  background: linear-gradient(90deg, #ffffff 0%, #fff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

header.nav.stuck .logo-img {
  filter: brightness(0) saturate(100%) invert(16%) sepia(48%) saturate(2200%) hue-rotate(248deg) brightness(70%) contrast(95%)
}

header.nav.stuck .logo-tag {
  background: linear-gradient(90deg, var(--accent-soft) 0%, var(--accent-ink) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  border-left-color: var(--accent);
}

header.nav.stuck .logo:hover .logo-tag {
  letter-spacing: .32em;
  border-left-color: var(--accent-ink);
}

.nav-links {
  display: flex;
  gap: 36px;
  align-items: center
}

.nav-links a {
  font-size: 14.5px;
  font-weight: 500;
  color: rgba(255, 255, 255, .82);
  transition: color .2s
}

.nav-links a:hover {
  color: #fff
}

header.nav.stuck .nav-links a {
  color: #3a3340
}

header.nav.stuck .nav-links a:hover {
  color: var(--accent)
}

/* Hamburger Toggle Button Styling */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 18px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 101;
}

.menu-toggle span {
  width: 100%;
  height: 2px;
  background-color: rgba(255, 255, 255, 0.9);
  transition: all 0.3s ease;
}

header.nav.stuck .menu-toggle span {
  background-color: var(--ink);
}

.menu-toggle.active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

.btn {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 14.5px;
  background: var(--ink);
  color: #fff;
  padding: 13px 26px;
  border-radius: 100px;
  border: 1px solid var(--ink);
  cursor: pointer;
  transition: all .25s cubic-bezier(.2, .8, .2, 1);
  display: inline-block;
}

.btn:hover {
  background: var(--accent);
  border-color: var(--accent);
  transform: translateY(-1px)
}

.btn.ghost {
  background: transparent;
  color: var(--ink)
}

.btn.ghost:hover {
  background: var(--ink);
  color: #fff
}

.nav-links a.nav-btn {
  background: #fff;
  color: var(--accent-ink);
  border-color: #fff
}

.nav-links a.nav-btn:hover {
  background: var(--accent-soft);
  border-color: var(--accent-soft);
  color: #fff
}

header.nav.stuck .nav-links a.nav-btn {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent)
}

header.nav.stuck .nav-links a.nav-btn:hover {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff
}

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

  .nav-links {
    position: absolute;
    top: 80px;
    left: 0;
    width: 100%;
    background: rgba(30, 22, 48, 0.96);
    backdrop-filter: blur(14px);
    flex-direction: column;
    padding: 30px 0;
    gap: 24px;
    border-bottom: 1px solid rgba(255, 255, 255, .1);
    transform: translateY(-150%);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
    pointer-events: none;
    z-index: 99;
  }

  header.nav.stuck .nav-links {
    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid var(--line);
  }

  .nav-links.active {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }

  .nav-links a {
    color: rgba(255, 255, 255, .9) !important;
    font-size: 16px;
  }

  header.nav.stuck .nav-links a {
    color: var(--ink) !important;
  }

  .nav-links a.nav-btn {
    background: var(--accent) !important;
    color: #fff !important;
    border-color: var(--accent) !important;
    width: 80%;
    margin: 8px auto 0;
    text-align: center;
    display: inline-block;
    padding: 13px 26px;
    border-radius: 100px;
  }

  header.nav.stuck .nav-links a.nav-btn {
    color: #fff !important;
    background: var(--accent) !important;
    border-color: var(--accent) !important;
  }

  .nav-links a.nav-btn:hover,
  header.nav.stuck .nav-links a.nav-btn:hover {
    background: var(--ink) !important;
    border-color: var(--ink) !important;
    color: #fff !important;
  }
}

/* ---------- hero banner ---------- */
.hero-banner {
  position: relative;
  overflow: hidden;
  color: #fff;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
  background:
    radial-gradient(900px 500px at 82% -8%, #6b3fb8 0%, transparent 58%),
    radial-gradient(700px 600px at 8% 110%, #3a1f6b 0%, transparent 55%),
    linear-gradient(158deg, #2a1551 0%, #1a1230 50%, #120c1c 100%);
}

/* top sheen + bottom fade into white page */
.hero-banner::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 240px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .08), transparent);
  pointer-events: none
}

.hero-banner::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 140px;
  background: linear-gradient(180deg, transparent, rgba(255, 255, 255, .04));
  pointer-events: none
}

.hb-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
  will-change: transform
}

.hb-glow-1 {
  width: 540px;
  height: 540px;
  background: #7b50d6;
  opacity: .5;
  top: -180px;
  right: -60px;
  animation: drift1 18s ease-in-out infinite
}

.hb-glow-2 {
  width: 460px;
  height: 460px;
  background: #3a1f6b;
  opacity: .65;
  bottom: -200px;
  left: -140px;
  animation: drift2 22s ease-in-out infinite
}

.hb-glow-3 {
  width: 300px;
  height: 300px;
  background: #9a6cff;
  opacity: .28;
  top: 40%;
  left: 42%;
  animation: drift3 26s ease-in-out infinite
}

@keyframes drift1 {

  0%,
  100% {
    transform: translate(0, 0)
  }

  50% {
    transform: translate(-28px, 34px)
  }
}

@keyframes drift2 {

  0%,
  100% {
    transform: translate(0, 0)
  }

  50% {
    transform: translate(40px, -30px)
  }
}

@keyframes drift3 {

  0%,
  100% {
    transform: translate(0, 0) scale(1)
  }

  50% {
    transform: translate(30px, 20px) scale(1.12)
  }
}

.hb-grid-lines {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(circle at 60% 25%, #000 0%, transparent 72%);
  -webkit-mask-image: radial-gradient(circle at 60% 25%, #000 0%, transparent 72%);
  pointer-events: none
}

.hb-inner {
  position: relative;
  z-index: 2
}

.hb-grid {
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  gap: 56px;
  align-items: center
}

.hb-eyebrow {
  color: var(--accent-soft)
}

.hb-eyebrow::before {
  background: var(--accent-soft)
}

.hb-pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 14px 7px 11px;
  border-radius: 100px;
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .14);
  backdrop-filter: blur(6px);
  font-family: var(--exp);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: .03em;
  color: #e7ddf7
}

.hb-pill .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #5fd08a;
  box-shadow: 0 0 0 4px rgba(95, 208, 138, .18);
  display: inline-block
}

.hero-banner h1 {
  font-family: var(--serif);
  font-weight: 900;
  font-size: clamp(44px, 5.6vw, 84px);
  line-height: 1.02;
  letter-spacing: -.035em;
  margin: 24px 0 0;
  color: #fff;
}

.hero-banner h1 em {
  font-style: normal;
  font-weight: 900;
  background: linear-gradient(96deg, #d7c2ff 0%, #a07fe8 55%, #c9b3ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent
}

.hb-sub {
  font-size: 18px;
  color: #cabdde;
  max-width: 480px;
  margin-top: 24px;
  line-height: 1.62
}

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

.hb-btn-primary {
  background: #fff;
  color: var(--accent-ink);
  border-color: #fff;
  box-shadow: 0 12px 30px -10px rgba(122, 80, 200, .6)
}

.hb-btn-primary:hover {
  background: var(--accent-soft);
  border-color: var(--accent-soft);
  color: #fff
}

.hb-btn-ghost {
  background: rgba(255, 255, 255, .06);
  color: #fff;
  border-color: rgba(255, 255, 255, .28)
}

.hb-btn-ghost:hover {
  background: #fff;
  color: var(--accent-ink);
  border-color: #fff
}

/* ---------- stats band ---------- */
.stats-band {
  background: #fff;
  padding: 48px 0;
  border-bottom: 1px solid var(--line);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  text-align: center;
}

.stat-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.stat-card .num {
  font-family: var(--serif);
  font-size: 44px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -.02em;
  color: var(--accent);
}

.stat-card .num span {
  color: var(--accent-soft);
}

.stat-card .desc {
  font-size: 13.5px;
  color: var(--muted);
  max-width: 200px;
  line-height: 1.4;
  font-weight: 500;
}

@media(max-width:768px) {
  .stats-grid {
    grid-template-columns: 1fr;
    gap: 28px
  }
}

/* floating work-preview cluster */
.hb-showcase {
  position: relative;
  height: 440px
}

.hb-card {
  position: absolute;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 30px 60px -24px rgba(0, 0, 0, .6);
  border: 1px solid rgba(255, 255, 255, .1);
  background: #1e1630
}

.hb-card .ph {
  position: absolute;
  inset: 0
}

.hb-card .tag {
  position: absolute;
  left: 14px;
  bottom: 13px;
  z-index: 3;
  font-family: var(--exp);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #fff;
  padding: 5px 10px;
  border-radius: 100px;
  background: rgba(20, 12, 30, .55);
  backdrop-filter: blur(6px)
}

.hb-card-1 {
    width: 249px;
    height: 282px;
    top: 14px;
    left: 6%;
  transform: rotate(-5deg);
  animation: bob1 7s ease-in-out infinite
}

.hb-card-2 {
    width: 251px;
    height: 253px;
    top: -17px;
    right: 2%;
  transform: rotate(4deg);
  animation: bob2 8s ease-in-out infinite
}

.hb-card-3 {
width: 236px;
    height: 264px;
    bottom: -65px;
    right: 14%;
  transform: rotate(-3deg);
  animation: bob3 9s ease-in-out infinite
}

@keyframes bob1 {

  0%,
  100% {
    transform: rotate(-5deg) translateY(0)
  }

  50% {
    transform: rotate(-5deg) translateY(-14px)
  }
}

@keyframes bob2 {

  0%,
  100% {
    transform: rotate(4deg) translateY(0)
  }

  50% {
    transform: rotate(4deg) translateY(12px)
  }
}

@keyframes bob3 {

  0%,
  100% {
    transform: rotate(-3deg) translateY(0)
  }

  50% {
    transform: rotate(-3deg) translateY(-10px)
  }
}

/* card art fills */
.hc-a {
  background: linear-gradient(150deg, #8a6fc0, #3a1f6b)
}

.hc-a .mk {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  font-weight: 900;
  font-size: 96px;
  color: rgba(255, 255, 255, .92)
}

.hc-b {
  background: #0f0a18
}

.hc-b .gr {
  position: absolute;
  inset: 26px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px
}

.hc-b .gr i {
  border-radius: 7px;
  background: #241a38
}

.hc-b .gr i:nth-child(1) {
  background: var(--accent-soft)
}

.hc-b .gr i:nth-child(4) {
  background: #3a2a5a
}

.hc-c {
  background: linear-gradient(135deg, #fff, #efe9fb)
}

.hc-c .ln {
  position: absolute;
  left: 22px;
  right: 22px;
  top: 30px;
  display: flex;
  flex-direction: column;
  gap: 10px
}

.hc-c .ln i {
  height: 11px;
  border-radius: 5px;
  background: #d8cdec
}

.hc-c .ln i:nth-child(1) {
  width: 60%;
  background: var(--accent)
}

.hc-c .ln i:nth-child(2) {
  width: 100%
}

.hc-c .ln i:nth-child(3) {
  width: 78%
}

.hc-c .tag {
  color: var(--accent-ink);
  background: rgba(255, 255, 255, .7)
}

/* hero entrance animation (staggered) */
.hb-anim {
  opacity: 0;
  transform: translateY(20px);
  animation: heroIn .85s cubic-bezier(.2, .8, .2, 1) forwards
}

.hb-d1 {
  animation-delay: .05s
}

.hb-d2 {
  animation-delay: .16s
}

.hb-d3 {
  animation-delay: .27s
}

.hb-d4 {
  animation-delay: .38s
}

.hb-d5 {
  animation-delay: .5s
}

.hb-showcase .hb-card {
  opacity: 0;
  animation: cardIn 1s cubic-bezier(.2, .8, .2, 1) forwards
}

.hb-card-1 {
  animation: cardIn 1s cubic-bezier(.2, .8, .2, 1) .45s forwards, bob1 7s ease-in-out 1.4s infinite
}

.hb-card-2 {
  animation: cardIn 1s cubic-bezier(.2, .8, .2, 1) .6s forwards, bob2 8s ease-in-out 1.6s infinite
}

.hb-card-3 {
  animation: cardIn 1s cubic-bezier(.2, .8, .2, 1) .75s forwards, bob3 9s ease-in-out 1.8s infinite
}

@keyframes heroIn {
  to {
    opacity: 1;
    transform: none
  }
}

@keyframes cardIn {
  to {
    opacity: 1
  }
}

@media(prefers-reduced-motion:reduce) {

  .hb-glow,
  .hb-card {
    animation: none !important
  }

  .hb-anim {
    opacity: 1;
    transform: none;
    animation: none
  }

  .hb-showcase .hb-card {
    opacity: 1;
    animation: none
  }
}

@media(max-width:980px) {
  .hb-grid {
    grid-template-columns: 1fr;
    gap: 10px
  }

  .hb-showcase {
    height: 320px;
    margin-top: 20px
  }

  .hero-banner {
    padding: 128px 0 72px
  }
}

@media(max-width:560px) {
  .hb-showcase {
    display: none
  }

  .hero-banner {
    padding: 96px 0 56px;
    text-align: center
  }

  .hero-banner h1 br {
    display: none
  }

  .hb-sub {
    margin-left: auto;
    margin-right: auto
  }

  .hero-cta {
    flex-direction: column;
    gap: 12px;
    width: 100%;
    max-width: 320px;
    margin: 30px auto 0
  }

  .hero-cta .btn {
    width: 100%;
    text-align: center
  }
}


/* ---------- trust band ---------- */
.trust-band {
  background: #ffffff;
  padding: 48px 0;
  position: relative;
  overflow: hidden;
}

.trust-label {
  font-family: var(--exp);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--ink);
  opacity: 0.75;
  text-align: center;
  margin-bottom: 28px;
}

.marquee {
  display: flex;
  gap: 72px;
  align-items: center;
  width: max-content;
  animation: slide 32s linear infinite;
  position: relative;
  z-index: 2
}

.marquee span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
}

@keyframes slide {
  to {
    transform: translateX(-50%)
  }
}

.marquee-mask {
  position: relative;
  z-index: 2;
  overflow: hidden
}

/* ---------- section header ---------- */
section {
  padding: 56px 0
}

@media(max-width:768px) {
  section {
    padding: 40px 0
  }
}

.sec-head {
  max-width: 760px;
  margin-bottom: 36px
}

.sec-head h2 {
  font-family: var(--serif);
  font-weight: 900;
  font-size: clamp(32px, 4.4vw, 58px);
  line-height: 1.04;
  letter-spacing: -.018em;
  margin-top: 18px;
}

.sec-head h2 em {
  font-style: normal;
  font-weight: 900;
  color: var(--accent)
}

.sec-head p {
  color: var(--muted);
  font-size: 18px;
  margin-top: 18px;
  max-width: 560px
}

/* ---------- problem / value strip ---------- */
.manifesto {
  background: var(--ink);
  color: #fff;
  border-radius: 12px;
  position: relative;
  overflow: hidden;
  margin: 24px 0 48px;
  box-shadow: 0 20px 40px rgba(21, 16, 30, 0.08);
}

.manifesto::after {
  content: "“";
  position: absolute;
  top: -10px;
  right: 48px;
  font-family: var(--serif);
  font-size: 200px;
  line-height: 1;
  color: rgba(255, 255, 255, 0.04);
  font-weight: 900;
  pointer-events: none;
}

.manifesto .wrap {
  padding-top: 56px;
  padding-bottom: 56px;
  position: relative;
  z-index: 2;
}

.manifesto .eyebrow {
  color: var(--accent-soft)
}

.manifesto .eyebrow::before {
  background: var(--accent-soft)
}

.manifesto h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(22px, 3vw, 34px);
  line-height: 1.4;
  letter-spacing: -.015em;
  margin-top: 20px;
  max-width: 920px;
}

.manifesto h2 em {
  font-style: normal;
  font-weight: 700;
  color: var(--accent-soft);
}

.manifesto h2 b {
  font-weight: 700;
  color: #fff;
  background: linear-gradient(transparent 62%, rgba(138, 111, 192, .35) 62%);
}

/* ---------- services ---------- */
.svc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px
}

.svc {
  padding: 38px 34px 44px;
  border: 1px solid var(--line);
  border-radius: 12px;
  position: relative;
  transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
  cursor: default;
  background: #fff;
}

.svc:hover {
  background: #fff;
  transform: translateY(-4px);
  border-color: var(--accent-soft);
  box-shadow: 0 12px 30px rgba(72, 40, 128, 0.08);
}

.svc .num {
  font-family: var(--exp);
  font-size: 16px;
  letter-spacing: .16em;
  color: var(--accent);
  font-weight: 600
}

.svc h3 {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 23px;
  letter-spacing: -.025em;
  margin: 38px 0 10px;
  line-height: 1.15
}

.svc p {
  font-size: 14.5px;
  color: var(--muted);
  line-height: 1.55
}

.svc .arrow {
  position: absolute;
  top: 34px;
  right: 30px;
  font-size: 20px;
  color: #cfcdc7;
  transition: .3s
}

.svc:hover .arrow {
  color: var(--accent);
  transform: translate(3px, -3px)
}

@media(max-width:880px) {
  .svc-grid {
    grid-template-columns: repeat(2, 1fr)
  }
}

@media(max-width:560px) {
  .svc-grid {
    grid-template-columns: 1fr
  }
}

/* ---------- portfolio ---------- */
.port-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 16px
}

.tile {
  border-radius: 4px;
  overflow: hidden;
  position: relative;
  background: var(--cream);
  min-height: 200px
}

.tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .8s cubic-bezier(.2, .8, .2, 1)
}

.tile:hover img {
  transform: scale(1.05)
}

.tile .cap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 60px 20px 20px;
  background: linear-gradient(to top, rgba(0, 0, 0, .98) 0%, rgba(0, 0, 0, .6) 65%, transparent 100%);
  color: #fff;
  opacity: 1;
  transform: translateY(0);
  transition: .35s
}

.tile .cap .t {
  font-family: var(--exp);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: #d7c2ff
}

.tile .cap .b {
  font-family: var(--serif);
  font-size: 21px;
  font-weight: 700;
  letter-spacing: -.02em;
  margin-top: 4px
}

/* placeholder tiles — self-contained, no external assets */
.ph {
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transition: transform .8s cubic-bezier(.2, .8, .2, 1)
}

.tile:hover .ph {
  transform: scale(1.04)
}

.ph-k {
  position: absolute;
  top: 18px;
  left: 18px;
  font-family: var(--exp);
  font-size: 9.5px;
  letter-spacing: .18em;
  text-transform: uppercase;
  font-weight: 600;
  color: rgba(0, 0, 0, .4);
  z-index: 2
}

.ph1 {
  background: #f0ede6
}

.ph1 .ph-mark {
  font-family: var(--serif);
  font-size: 120px;
  font-weight: 700;
  letter-spacing: -.02em;
  color: var(--ink)
}

.ph2 {
  background: var(--ink)
}

.ph-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  width: 62%;
  height: 62%
}

.ph-grid i {
  background: #262626;
  border-radius: 6px
}

.ph-grid i:nth-child(1) {
  background: var(--accent)
}

.ph-grid i:nth-child(4) {
  background: #3a3a3a
}

.ph3 {
  background: var(--accent)
}

.ph3 .ph-k {
  color: rgba(255, 255, 255, .75)
}

.ph-bar {
  width: 54px;
  height: 54%;
  background: #fff;
  border-radius: 4px
}

.ph4 {
  background: #f0ede6
}

.ph-ui {
  display: flex;
  flex-direction: column;
  gap: 9px;
  width: 58%
}

.ph-ui i {
  height: 13px;
  border-radius: 4px;
  background: #d6d2c8
}

.ph-ui i:nth-child(1) {
  width: 70%;
  background: var(--ink)
}

.ph-ui i:nth-child(2) {
  width: 100%
}

.ph-ui i:nth-child(3) {
  width: 45%;
  background: var(--accent)
}

.ph5 {
  background: #f0ede6
}

.ph-lines {
  display: flex;
  flex-direction: column;
  gap: 11px;
  width: 54%
}

.ph-lines i {
  height: 8px;
  border-radius: 4px;
  background: #cdc9bf
}

.ph-lines i:nth-child(2) {
  width: 78%
}

.ph-lines i:nth-child(3) {
  width: 55%
}

.ph6 {
  background: var(--ink)
}

.ph-circ {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, var(--accent-soft), #2a1650)
}

.t-a {
  grid-column: span 5;
  min-height: 340px
}

.t-b {
  grid-column: span 4;
  min-height: 340px
}

.t-c {
  grid-column: span 3;
  min-height: 340px
}

.t-d {
  grid-column: span 4
}

.t-e {
  grid-column: span 4
}

.t-f {
  grid-column: span 4
}

@media(max-width:760px) {

  .t-a,
  .t-b,
  .t-c,
  .t-d,
  .t-e,
  .t-f {
    grid-column: span 6;
    min-height: 220px
  }
}

/* ---------- process ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--line)
}

.step {
  padding: 24px 24px 0;
  border-right: 1px solid var(--line);
  position: relative
}

.step:last-child {
  border-right: none
}

.step .n {
  font-family: var(--serif);
  font-size: 52px;
  font-weight: 500;
  color: var(--accent-soft);
  line-height: 1;
  letter-spacing: -.02em;
  transition: color .3s
}

.step:hover .n {
  color: var(--accent)
}

.step h3 {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 17px;
  margin: 18px 0 10px;
  letter-spacing: -.01em
}

.step p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.55;
  padding-bottom: 24px
}

@media(max-width:780px) {
  .steps {
    grid-template-columns: 1fr 1fr
  }

  .step {
    border-bottom: 1px solid var(--line)
  }

  .step:nth-child(2n) {
    border-right: none
  }
}

@media(max-width:560px) {
  .steps {
    grid-template-columns: 1fr
  }

  .step {
    border-right: none !important
  }

  .step:last-child {
    border-bottom: none
  }
}

/* ---------- pricing ---------- */
.pricing {
  background: var(--cream)
}

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

.price-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 38px 34px 36px;
  display: flex;
  flex-direction: column;
  transition: transform .3s cubic-bezier(.2, .8, .2, 1), box-shadow .3s, border-color .3s;
  position: relative;
}

.price-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 50px -24px rgba(0, 0, 0, .22)
}

.price-card.feature {
  border-color: var(--ink);
  background: var(--ink);
  color: #fff
}

.price-card.feature .ptier {
  color: var(--accent-soft)
}

.price-card.feature .pnote,
.price-card.feature .pfeat li {
  color: #cfcdc7
}

.price-card.feature .pfeat li::before {
  color: var(--accent)
}

.price-card.feature .price-amt {
  color: #fff
}

.badge {
  position: absolute;
  top: -12px;
  left: 34px;
  background: var(--accent);
  color: #fff;
  font-family: var(--exp);
  font-size: 10px;
  letter-spacing: .16em;
  text-transform: uppercase;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 100px
}

.ptier {
  font-family: var(--exp);
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--accent-ink);
  font-weight: 600
}

.price-amt {
  font-family: var(--serif);
  font-size: 50px;
  font-weight: 700;
  letter-spacing: -.02em;
  line-height: 1;
  margin: 18px 0 2px
}

.price-amt sup {
  font-size: 23px;
  font-weight: 400;
  top: -18px;
  margin-right: 1px
}

.price-amt .per {
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0
}

.price-card.feature .price-amt .per {
  color: #9c9c9c
}

.pvol {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 16px;
  margin: 20px 0 4px
}

.pnote {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.5
}

.pfeat {
  list-style: none;
  margin: 24px 0 30px;
  flex: 1
}

.pfeat li {
  font-size: 14.5px;
  padding: 9px 0 9px 26px;
  position: relative;
  border-top: 1px solid rgba(0, 0, 0, .07)
}

.price-card.feature .pfeat li {
  border-top-color: rgba(255, 255, 255, .12)
}

.pfeat li:first-child {
  border-top: none
}

.pfeat li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700
}

.price-card .btn {
  width: 100%;
  text-align: center
}

.price-card.feature .btn {
  background: #fff;
  color: var(--ink);
  border-color: #fff
}

.price-card.feature .btn:hover {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent)
}

.price-foot {
  text-align: center;
  margin-top: 40px;
  font-size: 14.5px;
  color: var(--muted);
  line-height: 1.6
}

.price-foot b {
  color: var(--ink);
  font-weight: 600
}

.price-foot a {
  color: var(--accent);
  font-weight: 600;
  text-decoration: underline;
  display: inline-block;
  margin-left: 4px;
  transition: color .2s
}

.price-foot a:hover {
  color: var(--ink)
}

@media(max-width:880px) {
  .price-grid {
    grid-template-columns: 1fr;
    max-width: 440px;
    margin: 8px auto 0
  }
}

/* ---------- why / metrics ---------- */
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center
}

.why-list {
  list-style: none
}

.why-list li {
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
  display: flex;
  gap: 22px;
  align-items: baseline
}

.why-list li:first-child {
  border-top: 1px solid var(--line)
}

.why-list .k {
  font-family: var(--serif);
  font-size: 32px;
  font-weight: 700;
  letter-spacing: -.03em;
  color: var(--accent);
  min-width: 120px;
  line-height: 1
}

.why-list .v {
  font-size: 16px;
  color: #2a2a2a;
  line-height: 1.5
}

.why-list .v b {
  font-weight: 600;
  color: var(--ink)
}

@media(max-width:820px) {
  .why-grid {
    grid-template-columns: 1fr;
    gap: 40px
  }
}

@media(max-width:560px) {
  .why-list li {
    flex-direction: column;
    gap: 8px;
    align-items: flex-start;
  }

  .why-list .k {
    min-width: auto;
  }
}

/* ---------- CTA / form ---------- */
.cta {
  background:
    radial-gradient(800px 400px at 12% 0%, #2c1858 0%, transparent 55%),
    linear-gradient(150deg, #1d1230 0%, #16101f 70%);
  color: #fff;
  border-radius: 18px;
  overflow: hidden;
  position: relative;
  border: 1px solid rgba(255, 255, 255, .08);
}

.cta::after {
  content: "";
  position: absolute;
  right: -140px;
  top: -140px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(138, 111, 192, .5), transparent 70%);
  filter: blur(40px);
  pointer-events: none
}

.cta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  padding: 48px 40px;
  position: relative;
  z-index: 1
}

.cta .eyebrow {
  color: var(--accent-soft)
}

.cta .eyebrow::before {
  background: var(--accent-soft)
}

.cta h2 {
  font-family: var(--serif);
  font-weight: 900;
  font-size: clamp(34px, 4.6vw, 56px);
  line-height: 1.06;
  letter-spacing: -.018em;
  color: #fff
}

.cta h2 em {
  font-style: normal;
  font-weight: 900;
  color: #c9b3ff
}

.cta p {
  color: #d4ccdf;
  margin-top: 20px;
  font-size: 17px;
  max-width: 380px;
  line-height: 1.6
}

.cta-points {
  list-style: none;
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px
}

.cta-points li {
  font-size: 15px;
  color: #cdc4dd;
  padding-left: 28px;
  position: relative
}

.cta-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--accent-soft);
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='black' d='M9 16.2l-3.5-3.5L4 14.2 9 19.2 20 8.2l-1.5-1.5z'/></svg>") center/12px no-repeat;
  mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='black' d='M9 16.2l-3.5-3.5L4 14.2 9 19.2 20 8.2l-1.5-1.5z'/></svg>") center/12px no-repeat
}

/* form card */
.form-card {
  background: #fff;
  border-radius: 14px;
  padding: 34px 32px;
  box-shadow: 0 30px 60px -28px rgba(0, 0, 0, .5)
}

.form-card h3 {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 21px;
  letter-spacing: -.01em;
  color: var(--ink)
}

.form-card .sub {
  font-size: 14px;
  color: var(--muted);
  margin-top: 6px;
  margin-bottom: 22px
}

.form {
  display: flex;
  flex-direction: column;
  gap: 16px
}

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

.field label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .02em;
  color: #5a5466
}

.form input,
.form textarea {
  background: #faf9fc;
  border: 1px solid var(--line);
  border-radius: 9px;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 15px;
  padding: 13px 14px;
  transition: border-color .2s, box-shadow .2s, background .2s;
}

.form input::placeholder,
.form textarea::placeholder {
  color: #a39db0
}

.form input:focus,
.form textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(72, 40, 128, .12)
}

.form .row {
  display: flex;
  gap: 14px
}

.form .row .field {
  flex: 1
}

.form .btn {
  margin-top: 8px;
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  width: 100%;
  text-align: center;
  padding: 15px
}

.form .btn:hover {
  background: var(--accent-ink);
  border-color: var(--accent-ink);
  color: #fff;
  transform: translateY(-1px)
}

.form .reassure {
  font-size: 12.5px;
  color: var(--muted);
  text-align: center;
  margin-top: 4px
}

@media(max-width:820px) {
  .cta-grid {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 32px 16px
  }

  .form-card {
    padding: 24px 20px
  }

  .form .row {
    flex-direction: column;
    gap: 16px
  }
}

@media(max-width:560px) {
  .wrap {
    padding: 0 16px
  }

  .cta-grid {
    padding: 28px 12px;
    gap: 24px
  }

  .form-card {
    padding: 20px 16px
  }

  .price-foot {
    font-size: 15px;
    line-height: 1.6;
    margin-top: 30px;
    padding: 0 8px
  }
}

/* ---------- footer ---------- */
footer {
  padding: 64px 0 40px
}

.footer-logo {
  height: 46px;
  filter: brightness(0) saturate(100%) invert(16%) sepia(48%) saturate(2200%) hue-rotate(248deg) brightness(70%) contrast(95%)
}

.foot-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  flex-wrap: wrap;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--line)
}

.foot-top .logo {
  font-size: 30px
}

.foot-contact {
  text-align: right;
  font-size: 15px;
  color: #2a2a2a;
  line-height: 1.9
}

.foot-contact a:hover {
  color: var(--accent)
}

.foot-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 28px;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 13px;
  color: var(--muted)
}

.foot-social {
  display: flex;
  gap: 22px
}

.foot-social a {
  font-size: 13px;
  color: #2a2a2a;
  transition: color .2s
}

.foot-social a:hover {
  color: var(--accent)
}

@media(max-width:620px) {
  .foot-contact {
    text-align: left
  }
}

/* ---------- reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .9s cubic-bezier(.2, .8, .2, 1), transform .9s cubic-bezier(.2, .8, .2, 1)
}

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

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none
  }
}

/* Marquee Client Logos styling */
.marquee span {
  opacity: 1 !important;
}

.marquee img {
  height: 56px;
  /* Larger client logos */
  width: auto;
  object-fit: contain;
  vertical-align: middle;
  transition: all 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
  opacity: 1;
}

.marquee img:hover {
  transform: scale(1.06);
}

.more-tile.hide {
  display: none !important;
}