:root {
  --purple: #7c3aed;
  --purple-dark: #2b0b62;
  --purple-soft: #f4edff;
  --violet: #a855f7;
  --pink: #ec4899;
  --cyan: #38bdf8;
  --amber: #facc15;
  --mint: #34d399;
  --ink: #201236;
  --text: #4a3c5d;
  --muted: #7b6f8d;
  --paper: #fbf9ff;
  --white: #ffffff;
  --line: rgba(64, 32, 111, 0.11);
  --line-strong: rgba(124, 58, 237, 0.24);
  --shadow: 0 28px 90px rgba(58, 21, 110, 0.16);
  --radius: 30px;
  --radius-lg: 36px;
  --content: min(1120px, calc(100vw - 2rem));
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 10% 8%, rgba(168, 85, 247, 0.22), transparent 28rem),
    radial-gradient(circle at 82% 18%, rgba(236, 72, 153, 0.18), transparent 26rem),
    radial-gradient(circle at 50% 42%, rgba(56, 189, 248, 0.12), transparent 28rem),
    linear-gradient(180deg, #ffffff 0%, #fbf9ff 42%, #f7f2ff 100%);
  color: var(--ink);
  font-family: "Inter", "Avenir Next", Arial, sans-serif;
  line-height: 1.65;
  overflow-x: hidden;
}

body::before,
body::after {
  content: "";
  position: fixed;
  z-index: -1;
  border-radius: 999px;
  filter: blur(42px);
  pointer-events: none;
}

body::before {
  width: 34vw;
  height: 34vw;
  min-width: 280px;
  min-height: 280px;
  left: -10vw;
  top: 22vh;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.18), transparent 64%);
}

body::after {
  width: 38vw;
  height: 38vw;
  min-width: 300px;
  min-height: 300px;
  right: -12vw;
  top: 18vh;
  background: radial-gradient(circle, rgba(236, 72, 153, 0.18), transparent 66%);
}

body.nav-open {
  overflow: hidden;
}

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

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

button {
  color: inherit;
}

svg {
  display: block;
  max-width: 100%;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
  fill: none;
}

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 100;
  padding: 0.75rem 1rem;
  border-radius: var(--radius);
  background: var(--purple-dark);
  color: var(--white);
  transform: translateY(-140%);
}

.skip-link:focus {
  transform: translateY(0);
}

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100;
  width: var(--scroll-progress, 0%);
  height: 4px;
  background: linear-gradient(90deg, var(--purple), var(--pink), var(--cyan));
  box-shadow: 0 0 18px rgba(124, 58, 237, 0.42);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  width: 100%;
  padding: 0.75rem 0;
  background: rgba(255, 255, 255, 0.68);
  backdrop-filter: blur(24px);
  border-bottom: 1px solid rgba(124, 58, 237, 0.08);
}

.site-header::before {
  content: "";
  position: absolute;
  left: max(1rem, calc((100vw - 1120px) / 2));
  right: max(1rem, calc((100vw - 1120px) / 2));
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(124, 58, 237, 0.32), transparent);
}

.site-header,
.hero,
.approach-strip,
.section,
.site-footer {
  padding-inline: max(1rem, calc((100vw - 1120px) / 2));
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-weight: 900;
}

.brand-mark {
  width: 50px;
  height: 50px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

/* Image fit */
.brand-mark img {
  width: 100%;   /* slightly zoom for better face crop */
  height: 100%;
  object-fit: cover;
}

/* Optional hover effect (looks premium) */
.brand-mark:hover {
  transform: scale(1.08);
  box-shadow: 0 4px 14px rgba(0,0,0,0.18);
}

.footer-logo {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: var(--radius);
  background: var(--purple);
  color: var(--white);
  font-family: "Sora", "Inter", sans-serif;
  font-weight: 800;
  box-shadow: 0 12px 30px rgba(124, 58, 237, 0.28);
}

.brand-name {
  font-family: "Sora", "Inter", sans-serif;
  color: var(--purple-dark);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0.62rem 0.78rem;
  border-radius: var(--radius);
  color: var(--text);
  font-size: 0.92rem;
  font-weight: 800;
  transition:
    transform 180ms ease,
    color 180ms ease,
    background 180ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a.is-active {
  color: var(--purple);
  background: var(--purple-soft);
  transform: translateY(-1px);
}

.site-nav .nav-button {
  margin-left: 0.2rem;
  padding-inline: 1rem;
  background: var(--purple);
  color: var(--white);
  box-shadow: 0 12px 30px rgba(124, 58, 237, 0.22);
}

.site-nav .nav-button-secondary {
  background: rgba(124, 58, 237, 0.08);
  color: var(--purple);
  box-shadow: none;
}

.site-nav .nav-button:hover,
.site-nav .nav-button:focus-visible {
  color: var(--white);
  background: var(--purple-dark);
}

.site-nav .nav-button-secondary:hover,
.site-nav .nav-button-secondary:focus-visible {
  color: var(--purple);
  background: rgba(124, 58, 237, 0.14);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  cursor: pointer;
}

.nav-toggle span {
  width: 19px;
  height: 2px;
  display: block;
  margin: 0 auto;
  background: var(--purple-dark);
  transition:
    transform 180ms ease,
    opacity 180ms ease;
}

.nav-toggle span + span {
  margin-top: 5px;
}

.hero {
  position: relative;
  min-height: 650px;
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(300px, 0.72fr);
  align-items: center;
  gap: 3rem;
  padding-top: 5rem;
  padding-bottom: 4rem;
  overflow: hidden;
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  pointer-events: none;
  filter: blur(34px);
}

.hero::before {
  width: 460px;
  height: 460px;
  right: 4%;
  top: 16%;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.2), transparent 66%);
}

.hero::after {
  width: 380px;
  height: 380px;
  left: 2%;
  bottom: 4%;
  background: radial-gradient(circle, rgba(236, 72, 153, 0.14), transparent 68%);
}

.hero-bg,
.mesh {
  position: absolute;
  pointer-events: none;
}

.hero-bg {
  inset: 0;
  overflow: hidden;
}

.mesh {
  border-radius: 999px;
  filter: blur(18px);
  opacity: 0.48;
  animation: mesh-drift 9s var(--ease) infinite;
}

.mesh-one {
  width: 220px;
  height: 220px;
  left: 4%;
  top: 14%;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.34), transparent 64%);
}

.mesh-two {
  width: 180px;
  height: 180px;
  right: 9%;
  top: 18%;
  background: radial-gradient(circle, rgba(236, 72, 153, 0.26), transparent 64%);
  animation-delay: -3s;
}

.mesh-three {
  width: 240px;
  height: 240px;
  right: 32%;
  bottom: 8%;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.2), transparent 66%);
  animation-delay: -5s;
}

.hero-content,
.hero-visual {
  position: relative;
  z-index: 2;
}

.eyebrow,
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0 0 0.8rem;
  color: var(--purple);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0;
}

.eyebrow::before,
.section-kicker::before {
  content: "";
  width: 1.9rem;
  height: 2px;
  background: currentColor;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Sora", "Inter", sans-serif;
  line-height: 1.04;
  letter-spacing: 0;
}

h1 {
  max-width: 650px;
  color: var(--purple-dark);
  font-size: clamp(3.2rem, 7vw, 6rem);
}

h1 span {
  display: block;
  color: transparent;
  background: linear-gradient(90deg, var(--purple), var(--pink), var(--cyan));
  background-clip: text;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.1rem);
  color: var(--purple-dark);
}

h3 {
  color: var(--purple-dark);
  font-size: 1.15rem;
}

.hero-copy {
  max-width: 620px;
  margin: 1.2rem 0 0;
  color: var(--text);
  font-size: 1.05rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.52rem;
  min-height: 50px;
  padding: 0.85rem 1.05rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 900;
  cursor: pointer;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease;
}

.button svg {
  width: 1rem;
  height: 1rem;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-3px);
}

.button-primary {
  background: var(--purple);
  color: var(--white);
  box-shadow: 0 16px 34px rgba(124, 58, 237, 0.3);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: var(--purple-dark);
}

.button-ghost {
  border-color: var(--line-strong);
  background: var(--white);
  color: var(--purple);
}

.button-soft {
  border-color: rgba(124, 58, 237, 0.14);
  background: rgba(124, 58, 237, 0.08);
  color: var(--purple);
}

.hero-visual {
  display: grid;
  justify-items: center;
}

.portrait-card {
  position: relative;
  width: min(360px, 100%);
  min-height: 430px;
  border-radius: 42px;
  background:
    linear-gradient(145deg, rgba(124, 58, 237, 0.18), rgba(236, 72, 153, 0.1)),
    var(--purple-dark);
  box-shadow: 0 32px 90px rgba(43, 11, 98, 0.24);
  overflow: hidden;
  transform-style: preserve-3d;
  animation: hero-float 6.5s var(--ease) infinite;
}

.portrait-card::before {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 34px;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 36px 36px;
  transform: rotate(-4deg);
}

.portrait-glow {
  position: absolute;
  right: -70px;
  top: -80px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: rgba(236, 72, 153, 0.46);
  filter: blur(20px);
}

.designer-portrait {
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 240px;
  height: 360px;
  transform: translateX(-50%);
}

.kinjal-photo {
  position: absolute;
  inset: 18px;
  z-index: 3;
  width: calc(100% - 36px);
  height: calc(100% - 36px);
  object-fit: cover;
  object-position: center top;
  border-radius: 30px;
  transform: none;
  filter: saturate(1.02) contrast(1.02);
}

.hair {
  position: absolute;
  left: 42px;
  top: 26px;
  width: 156px;
  height: 190px;
  border-radius: 82px 82px 42px 42px;
  background: #25111e;
  box-shadow: inset -28px 0 0 rgba(255, 255, 255, 0.05);
}

.face {
  position: absolute;
  left: 68px;
  top: 58px;
  width: 106px;
  height: 132px;
  border-radius: 54px 54px 46px 46px;
  background: #c98669;
  overflow: hidden;
}

.eye {
  position: absolute;
  top: 62px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--purple-dark);
  animation: blink 5.5s infinite;
}

.eye-left {
  left: 30px;
}

.eye-right {
  right: 30px;
}

.nose {
  position: absolute;
  left: 51px;
  top: 72px;
  width: 7px;
  height: 22px;
  border-radius: 999px;
  background: rgba(85, 37, 36, 0.18);
}

.smile {
  position: absolute;
  left: 42px;
  top: 98px;
  width: 26px;
  height: 14px;
  border-bottom: 2px solid var(--purple-dark);
  border-radius: 0 0 999px 999px;
}

.neck {
  position: absolute;
  left: 96px;
  top: 178px;
  width: 48px;
  height: 58px;
  background: #b8745c;
}

.shirt {
  position: absolute;
  left: 42px;
  right: 42px;
  bottom: 55px;
  height: 126px;
  border-radius: 72px 72px 0 0;
  background: linear-gradient(135deg, var(--purple), var(--pink));
}

.laptop {
  position: absolute;
  left: 17px;
  right: 17px;
  bottom: 0;
  height: 96px;
  border-radius: var(--radius) var(--radius) 0 0;
  background: #eee9ff;
  box-shadow: 0 -18px 40px rgba(0, 0, 0, 0.16);
}

.laptop span {
  position: absolute;
  left: 50%;
  top: 36px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--purple);
  transform: translateX(-50%);
}

.tool-bubble,
.orbit-dot {
  position: absolute;
  z-index: 4;
}

.tool-bubble {
  padding: 0.52rem 0.7rem;
  border-radius: 999px;
  backdrop-filter: blur(14px);
  background: var(--white);
  color: var(--purple);
  font-weight: 900;
  box-shadow: 0 18px 38px rgba(43, 11, 98, 0.16);
  animation: bubble-drift 4.4s var(--ease) infinite;
}

.bubble-figma {
  left: 14px;
  top: 88px;
}

.bubble-code {
  right: 14px;
  bottom: 126px;
  animation-delay: -1.4s;
}

.orbit-dot {
  width: 16px;
  height: 16px;
  border: 4px solid var(--white);
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0 10px rgba(56, 189, 248, 0.14);
}

.dot-a {
  left: 36px;
  bottom: 118px;
  animation: pulse 2.6s infinite;
}

.dot-b {
  right: 48px;
  top: 42px;
  background: var(--amber);
  box-shadow: 0 0 0 10px rgba(250, 204, 21, 0.14);
  animation: pulse 2.6s infinite 500ms;
}

.approach-strip {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, minmax(0, 0.7fr));
  gap: 1rem;
  padding-top: 1.2rem;
  padding-bottom: 4rem;
}

.approach-card {
  position: relative;
  min-height: 210px;
  padding: 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.68);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.88), rgba(244, 237, 255, 0.7)),
    rgba(255, 255, 255, 0.74);
  backdrop-filter: blur(20px);
  box-shadow: 0 22px 70px rgba(58, 21, 110, 0.12);
  overflow: hidden;
  transition:
    transform 220ms ease,
    box-shadow 220ms ease;
}

.approach-card::before {
  content: "";
  position: absolute;
  width: 150px;
  height: 150px;
  right: -58px;
  top: -58px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.24), transparent 68%);
  filter: blur(2px);
}

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

.intro-card {
  grid-column: span 1;
  color: var(--white);
  background:
    radial-gradient(circle at 78% 12%, rgba(236, 72, 153, 0.46), transparent 28%),
    radial-gradient(circle at 18% 85%, rgba(56, 189, 248, 0.22), transparent 32%),
    linear-gradient(135deg, var(--purple-dark), var(--purple));
  box-shadow: 0 30px 95px rgba(80, 28, 153, 0.25);
}

.intro-card .section-kicker,
.intro-card h2,
.approach-card.intro-card p {
  color: var(--white);
}

.intro-card .section-kicker::before {
  background: rgba(255, 255, 255, 0.68);
}

.approach-card h3 {
  margin-top: 1rem;
}

.approach-card:not(.intro-card) p {
  position: relative;
  z-index: 1;
  margin: 0.75rem 0 0;
  color: var(--text);
}

.approach-icon {
  position: relative;
  z-index: 1;
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--purple), var(--pink));
  color: var(--white);
  font-family: "Sora", "Inter", sans-serif;
  font-weight: 900;
  box-shadow: 0 16px 34px rgba(124, 58, 237, 0.28);
}

.section {
  padding-top: 5rem;
  padding-bottom: 5rem;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 2rem;
}

.section-heading.centered {
  margin-inline: auto;
  text-align: center;
}

.section-heading.centered .section-kicker {
  justify-content: center;
}

.section-heading h2 {
  margin-top: 0.3rem;
}

.section-heading p:not(.section-kicker) {
  color: var(--text);
}

.services-section,
.works-section,
.skills-section,
.blog-section {
  background: rgba(255, 255, 255, 0.36);
}

.service-list {
  display: grid;
  gap: 0.85rem;
}

.service-row {
  position: relative;
  display: grid;
  grid-template-columns: 70px minmax(210px, 0.42fr) minmax(0, 1fr) 48px;
  gap: 1rem;
  align-items: start;
  min-height: 148px;
  padding: 1.15rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.94), rgba(250, 247, 255, 0.78)),
    var(--white);
  backdrop-filter: blur(16px);
  box-shadow: 0 18px 56px rgba(58, 21, 110, 0.08);
  overflow: hidden;
  transition:
    transform 220ms ease,
    background 220ms ease,
    box-shadow 220ms ease,
    color 220ms ease;
}

.service-row::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 0;
  background:
    radial-gradient(circle at 82% 18%, rgba(236, 72, 153, 0.48), transparent 26%),
    linear-gradient(90deg, var(--purple), var(--violet));
  transition: width 260ms var(--ease);
}

.service-row > * {
  position: relative;
  z-index: 1;
}

.service-row:hover,
.service-row.featured {
  color: var(--white);
  transform: translateY(-4px);
  box-shadow: 0 24px 70px rgba(124, 58, 237, 0.2);
}

.service-row:hover::before,
.service-row.featured::before {
  width: 100%;
}

.service-number {
  color: var(--purple);
  font-family: "Sora", "Inter", sans-serif;
  font-weight: 800;
  padding-top: 0.35rem;
}

.service-row:hover .service-number,
.service-row.featured .service-number,
.service-row:hover h3,
.service-row.featured h3,
.service-row:hover p,
.service-row.featured p {
  color: var(--white);
}

.service-row h3 {
  padding-top: 0.2rem;
  font-size: 1.25rem;
}

.service-row p {
  margin: 0;
  color: var(--text);
  font-size: 0.95rem;
}

.service-row a {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  justify-self: end;
  border-radius: 18px;
  background: var(--purple-soft);
  color: var(--purple);
  transition:
    transform 220ms ease,
    background 220ms ease,
    color 220ms ease;
}

.service-row a:hover,
.service-row a:focus-visible {
  transform: rotate(45deg);
}

.service-row:hover a,
.service-row.featured a {
  background: rgba(255, 255, 255, 0.16);
  color: var(--white);
}

.work-tabs {
  width: fit-content;
  margin: 0 auto 1.4rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  padding: 0.50rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 12px 34px rgba(58, 21, 110, 0.06);
}

.work-filter {
  min-height: 38px;
  padding: 0.6rem 2rem;
  border: 0;
  border-radius: var(--radius);
  background: transparent;
  color: var(--muted);
  font-weight: 900;
  cursor: pointer;
  transition:
    background 180ms ease,
    color 180ms ease,
    transform 180ms ease;
}

.work-filter:hover,
.work-filter:focus-visible {
  color: var(--purple);
  transform: translateY(-1px);
}

.work-filter.is-active {
  background: var(--purple);
  color: var(--white);
}

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

.work-card {
  position: relative;
  min-height: 0;
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.94), rgba(244, 237, 255, 0.72)),
    var(--white);
  backdrop-filter: blur(14px);
  border: 1px solid var(--line);
  box-shadow: 0 18px 50px rgba(58, 21, 110, 0.09);
  overflow: hidden;
  transition:
    transform 240ms ease,
    box-shadow 240ms ease,
    opacity 180ms ease;
}

.work-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 28px 80px rgba(58, 21, 110, 0.16);
}

.work-card.is-hidden {
  display: none;
}

.work-preview {
  min-height: 0;
  display: grid;
  place-items: center;
  padding: 0.7rem;
  overflow: hidden;
}

.image-preview {
  background:
    radial-gradient(circle at 78% 14%, rgba(236, 72, 153, 0.14), transparent 26%),
    linear-gradient(145deg, rgba(250, 247, 255, 0.88), rgba(244, 237, 255, 0.64));
}

.image-preview img {
  width: 100%;
  aspect-ratio: 4 / 4.7;
  object-fit: cover;
  object-position: top center;
  border-radius: 20px;
  box-shadow: 0 18px 44px rgba(58, 21, 110, 0.12);
  transition: transform 280ms var(--ease);
}

.work-card:hover .image-preview img {
  transform: scale(1.03);
}

.preview-one {
  background:
    radial-gradient(circle at 18% 84%, rgba(236, 72, 153, 0.3), transparent 30%),
    linear-gradient(135deg, #0f1020, #2b0b62);
}

.preview-two {
  background:
    radial-gradient(circle at 80% 18%, rgba(56, 189, 248, 0.35), transparent 32%),
    linear-gradient(135deg, #ede9fe, #ffffff);
}

.preview-three {
  background:
    radial-gradient(circle at 30% 25%, rgba(250, 204, 21, 0.25), transparent 30%),
    linear-gradient(135deg, #0f172a, #2b0b62);
}

.preview-four {
  background:
    radial-gradient(circle at 85% 80%, rgba(52, 211, 153, 0.28), transparent 28%),
    linear-gradient(135deg, #101828, #190a31);
}

.dark-browser,
.light-board,
.phone-case,
.brand-poster {
  border-radius: var(--radius);
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.22);
  animation: preview-float 6s var(--ease) infinite;
}

.dark-browser {
  width: min(370px, 94%);
  height: 220px;
  padding: 1rem;
  background: #111827;
}

.dark-browser > span,
.light-board > span {
  width: 10px;
  height: 10px;
  display: inline-block;
  border-radius: 50%;
  margin-right: 0.28rem;
  background: var(--pink);
}

.dark-browser > span:nth-child(2),
.light-board > span:nth-child(2) {
  background: var(--amber);
}

.dark-browser > span:nth-child(3),
.light-board > span:nth-child(3) {
  background: var(--mint);
}

.preview-title {
  width: 54%;
  height: 22px;
  margin-top: 1.2rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
}

.preview-chart {
  height: 110px;
  display: flex;
  align-items: end;
  gap: 0.6rem;
  margin-top: 1.2rem;
}

.preview-chart i {
  flex: 1;
  border-radius: var(--radius) var(--radius) 0 0;
  background: linear-gradient(180deg, var(--violet), var(--pink));
  animation: chart-wave 2.2s var(--ease) infinite;
}

.preview-chart i:nth-child(1) {
  height: 42%;
}

.preview-chart i:nth-child(2) {
  height: 74%;
  animation-delay: 120ms;
}

.preview-chart i:nth-child(3) {
  height: 55%;
  animation-delay: 240ms;
}

.preview-chart i:nth-child(4) {
  height: 88%;
  animation-delay: 360ms;
}

.light-board {
  width: min(370px, 94%);
  min-height: 220px;
  padding: 1rem;
  background: var(--white);
}

.board-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  margin-top: 1.3rem;
}

.board-grid i {
  height: 72px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.16), rgba(56, 189, 248, 0.18));
}

.phone-case {
  width: 150px;
  min-height: 248px;
  padding: 0.8rem;
  background: var(--white);
}

.phone-case > span {
  display: block;
  width: 48px;
  height: 6px;
  margin: 0 auto 0.9rem;
  border-radius: 999px;
  background: var(--purple-dark);
}

.phone-hero {
  height: 96px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--purple), var(--pink));
}

.phone-case i {
  display: block;
  height: 12px;
  margin-top: 0.72rem;
  border-radius: 999px;
  background: rgba(43, 11, 98, 0.16);
}

.phone-case i:nth-child(4) {
  width: 78%;
}

.phone-case i:nth-child(5) {
  width: 58%;
}

.brand-poster {
  width: min(330px, 92%);
  min-height: 230px;
  padding: 1.2rem;
  background: #050816;
  color: var(--white);
}

.brand-poster strong {
  display: block;
  font-family: "Sora", "Inter", sans-serif;
  font-size: 2rem;
}

.brand-poster span {
  display: block;
  height: 14px;
  margin-top: 0.8rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
}

.brand-poster span:nth-child(3) {
  width: 62%;
}

.poster-mark {
  width: 78px;
  height: 78px;
  margin-top: 1.4rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--cyan), var(--purple), var(--pink));
  animation: rotate-mark 8s linear infinite;
}

.work-copy {
  padding: 1rem;
}

.work-copy p {
  margin: 0 0 0.35rem;
  color: var(--purple);
  font-weight: 900;
  font-size: 0.82rem;
  text-transform: uppercase;
}

.work-copy a {
  display: inline-flex;
  margin-top: 0.85rem;
  color: var(--purple);
  font-weight: 900;
}

.dribbble-cta {
  display: flex;
  justify-content: center;
  margin-top: 1.4rem;
}

.resume-section {
  background:
    radial-gradient(circle at 20% 18%, rgba(124, 58, 237, 0.08), transparent 22rem),
    #f7f2ff;
}

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

.resume-list {
  display: grid;
  gap: 0.8rem;
}

.resume-card {
  padding: 1.05rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.9), rgba(244, 237, 255, 0.72)),
    rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(16px);
  box-shadow: 0 14px 42px rgba(58, 21, 110, 0.07);
  transition:
    transform 220ms ease,
    background 220ms ease,
    box-shadow 220ms ease;
}

.resume-card:hover {
  transform: translateX(6px);
  background: var(--white);
  box-shadow: var(--shadow);
}

.resume-card span {
  color: var(--purple);
  font-weight: 900;
  font-size: 0.82rem;
}

.resume-card h3 {
  margin-top: 0.35rem;
}

.resume-card p {
  margin: 0.45rem 0 0;
  color: var(--muted);
}

.skill-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1rem;
}

.skill-card {
  width: 100%;
  max-width: 180px; /* prevents stretching */
  min-height: 160px;
  padding: 1rem;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 80% 10%, rgba(124, 58, 237, 0.08), transparent 38%),
    rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(16px);
  text-align: center;
  box-shadow: 0 14px 42px rgba(58, 21, 110, 0.07);
  transition:
    transform 220ms ease,
    box-shadow 220ms ease,
    border-color 220ms ease;
}

.skill-card:hover {
  transform: translateY(-8px) rotate(-1deg);
  border-color: var(--line-strong);
  box-shadow: var(--shadow);
}

.skill-icon {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.74);
  box-shadow:
    inset 0 0 0 1px rgba(124, 58, 237, 0.1),
    0 16px 34px rgba(58, 21, 110, 0.1);
}

.skill-icon img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  display: block;
}

.skill-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
}

.skill-card strong {
  margin-top: 0.7rem;
  color: var(--purple-dark);
  font-family: "Sora", "Inter", sans-serif;
}

.skill-card p {
  margin: 0;
  color: var(--muted);
  font-weight: 800;
  font-size: 0.9rem;
}

.stories-section {
  background: #ffffff;
}

.story-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 1rem;
  align-items: stretch;
}

.story-video {
  position: relative;
  min-height: 320px;
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(43, 11, 98, 0.72), rgba(124, 58, 237, 0.44)),
    radial-gradient(circle at 26% 72%, rgba(236, 72, 153, 0.42), transparent 28%),
    var(--purple-dark);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.story-video::before {
  content: "";
  position: absolute;
  inset: 32px;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.16);
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 34px 34px;
}

.video-glow {
  position: absolute;
  width: 160px;
  height: 160px;
  left: 20%;
  bottom: 18%;
  border-radius: 50%;
  background: rgba(236, 72, 153, 0.5);
  filter: blur(26px);
  animation: mesh-drift 6s var(--ease) infinite;
}

.play-button {
  position: absolute;
  inset: 50% auto auto 50%;
  width: 68px;
  height: 68px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: var(--white);
  color: var(--purple);
  transform: translate(-50%, -50%);
  cursor: pointer;
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.18);
  animation: play-pulse 2.2s infinite;
}

.play-button svg {
  width: 30px;
  height: 30px;
  fill: currentColor;
  stroke: none;
}

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

.client-card {
  min-height: 320px;
  padding: 1.2rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.94), rgba(244, 237, 255, 0.7)),
    var(--white);
  backdrop-filter: blur(16px);
  box-shadow: 0 14px 42px rgba(58, 21, 110, 0.07);
  transition:
    transform 220ms ease,
    border-color 220ms ease,
    box-shadow 220ms ease;
}

.client-card.active,
.client-card:hover {
  transform: translateY(-6px);
  border-color: var(--line-strong);
  box-shadow: var(--shadow);
}

.client-avatar {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--purple), var(--pink));
}

.avatar-two {
  background: linear-gradient(135deg, var(--cyan), var(--purple));
}

.client-card p {
  color: var(--text);
}

.client-card strong,
.client-card span {
  display: block;
}

.client-card strong {
  color: var(--purple-dark);
}

.client-card span {
  color: var(--muted);
  font-size: 0.9rem;
}

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

.blog-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.94), rgba(244, 237, 255, 0.7)),
    var(--white);
  backdrop-filter: blur(16px);
  overflow: hidden;
  box-shadow: 0 14px 42px rgba(58, 21, 110, 0.07);
  transition:
    transform 220ms ease,
    box-shadow 220ms ease;
}

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

.blog-image {
  min-height: 170px;
}

.blog-one {
  background:
    linear-gradient(135deg, rgba(124, 58, 237, 0.18), transparent),
    repeating-linear-gradient(45deg, #2b0b62 0 12px, #7c3aed 12px 24px);
}

.blog-two {
  background:
    radial-gradient(circle at 30% 30%, rgba(56, 189, 248, 0.44), transparent 30%),
    linear-gradient(135deg, #ede9fe, #ffffff);
}

.blog-three {
  background:
    linear-gradient(135deg, rgba(236, 72, 153, 0.35), rgba(124, 58, 237, 0.78)),
    #2b0b62;
}

.blog-copy {
  padding: 1rem;
}

.blog-copy span {
  color: var(--purple);
  font-weight: 900;
  font-size: 0.78rem;
  text-transform: uppercase;
}

.blog-copy h3 {
  margin-top: 0.5rem;
  line-height: 1.25;
}

.blog-copy a {
  display: inline-flex;
  margin-top: 1rem;
  color: var(--purple);
  font-weight: 900;
}

.contact-section {
  background: #f7f2ff;
}

.contact-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: 1rem;
}

.contact-form,
.contact-info {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.92), rgba(244, 237, 255, 0.76)),
    var(--white);
  backdrop-filter: blur(18px);
  box-shadow: 0 14px 42px rgba(58, 21, 110, 0.07);
}

.contact-form {
  padding: 1.2rem;
  display: grid;
  gap: 1rem;
}

.contact-form h2 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
}

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

.contact-form label {
  display: grid;
  gap: 0.4rem;
  color: var(--purple-dark);
  font-weight: 850;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  min-height: 48px;
  padding: 0.8rem 0.85rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  color: var(--ink);
  outline: none;
  transition:
    border-color 180ms ease,
    background 180ms ease,
    box-shadow 180ms ease;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(74, 60, 93, 0.48);
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--purple);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(124, 58, 237, 0.1);
}

.form-status {
  min-height: 1.4rem;
  margin: 0;
  color: var(--purple);
  font-weight: 800;
}

.contact-info {
  padding: 1.2rem;
  display: grid;
  align-content: center;
  gap: 1rem;
}

.contact-info article {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 0.8rem;
  align-items: center;
}

.contact-info article > span {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: var(--radius);
  background: var(--purple-soft);
  color: var(--purple);
}

.contact-info svg {
  width: 24px;
  height: 24px;
}

.contact-info p {
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
}

.contact-info a {
  color: var(--purple-dark);
  font-weight: 900;
}

.site-footer {
  display: grid;
  justify-items: center;
  gap: 1rem;
  padding-top: 3rem;
  padding-bottom: 3rem;
  background: var(--purple-dark);
  color: rgba(255, 255, 255, 0.72);
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}

.site-footer a:not(.footer-logo) {
  color: var(--white);
  font-weight: 800;
}

.site-footer p {
  margin: 0;
  text-align: center;
}

.footer-logo {
  background: var(--white);
  color: var(--purple);
}

.js .reveal-up,
.js .reveal-scale {
  opacity: 0;
  transition:
    opacity 720ms var(--ease),
    transform 720ms var(--ease);
  transition-delay: var(--delay, 0ms);
}

.js .reveal-up {
  transform: translateY(30px);
}

.js .reveal-scale {
  transform: translateY(24px) scale(0.94);
}

.js .reveal-up.is-visible,
.js .reveal-scale.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

@keyframes mesh-drift {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  50% {
    transform: translate3d(22px, -18px, 0) scale(1.08);
  }
}

@keyframes hero-float {
  0%,
  100% {
    transform: translateY(0) rotate(-2deg);
  }
  50% {
    transform: translateY(-14px) rotate(1deg);
  }
}

@keyframes bubble-drift {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

@keyframes blink {
  0%,
  92%,
  100% {
    transform: scaleY(1);
  }
  95% {
    transform: scaleY(0.08);
  }
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.16);
  }
}

@keyframes preview-float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

@keyframes chart-wave {
  0%,
  100% {
    transform: scaleY(1);
  }
  50% {
    transform: scaleY(0.72);
  }
}

@keyframes rotate-mark {
  to {
    transform: rotate(360deg);
  }
}

@keyframes play-pulse {
  0%,
  100% {
    box-shadow:
      0 16px 34px rgba(0, 0, 0, 0.18),
      0 0 0 0 rgba(255, 255, 255, 0.34);
  }
  50% {
    box-shadow:
      0 16px 34px rgba(0, 0, 0, 0.18),
      0 0 0 18px rgba(255, 255, 255, 0);
  }
}

@media (max-width: 980px) {
  .hero,
  .resume-grid,
  .story-layout,
  .contact-shell {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 4rem;
  }

  .hero-visual {
    order: -1;
  }

  .portrait-card {
    width: min(330px, 100%);
    min-height: 390px;
  }

  .approach-strip,
 .skill-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(140px, 180px)); /* fixed card width */
  gap: 1rem;

  justify-content: center;   /* centers whole grid */
  justify-items: center;     /* centers items inside */
}

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

  .intro-card {
    grid-column: 1 / -1;
  }

  .service-row {
    grid-template-columns: 56px 1fr 44px;
  }

  .service-row p {
    grid-column: 2 / -1;
  }
}

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

  .site-nav {
    position: absolute;
    top: calc(100% + 0.5rem);
    left: 1rem;
    right: 1rem;
    display: none;
    padding: 0.75rem;
    flex-direction: column;
    align-items: stretch;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.96);
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    width: 100%;
  }

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

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

  .work-grid,
  .blog-grid,
  .testimonial-stack,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .work-card {
    min-height: auto;
  }

  .section {
    padding-top: 4rem;
    padding-bottom: 4rem;
  }
}

@media (max-width: 560px) {
  .site-header,
  .hero,
  .approach-strip,
  .section,
  .site-footer {
    padding-inline: 0.8rem;
  }

  .brand-name {
    display: none;
  }

  .hero {
    gap: 2rem;
    padding-top: 2.6rem;
  }

  h1 {
    font-size: 3rem;
  }

  .hero-actions,
  .work-tabs {
    width: 100%;
    flex-direction: column;
  }

  .button,
  .work-filter {
    width: 100%;
  }

  .approach-strip,
  .skill-grid {
    grid-template-columns: 1fr;
  }

  .intro-card {
    grid-column: auto;
  }

  .service-row {
    grid-template-columns: 1fr auto;
  }

  .service-number,
  .service-row h3,
  .service-row p {
    grid-column: 1 / -1;
  }

  .service-row a {
    justify-self: start;
  }

  .contact-info article {
    grid-template-columns: 1fr;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 1ms !important;
  }
}
