:root {
  --bg: #edf2fa;
  --surface: #edf2fa;
  --surface-2: #f5f8fd;
  --text: #10183f;
  --muted: #68728f;
  --accent: #6f63ff;
  --accent-2: #8d64ff;
  --line: rgba(255,255,255,.7);
  --shadow-dark: rgba(145, 160, 190, .32);
  --shadow-light: rgba(255,255,255,.95);
  --radius-xl: 28px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 15% 10%, rgba(126, 113, 255, .12), transparent 28%),
    radial-gradient(circle at 86% 12%, rgba(84, 139, 255, .035), transparent 30%),
    var(--bg);
}

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

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

button,
input,
textarea {
  font: inherit;
}

.page-shell {
  width: min(calc(100% - 36px), var(--container));
  margin-inline: auto;
  padding: 22px 0 40px;
}

.neu-card,
.neu-card-small,
.neu-section {
  background: rgba(237, 242, 250, .86);
  border: 1px solid rgba(255,255,255,.8);
  box-shadow:
    12px 12px 28px var(--shadow-dark),
    -12px -12px 28px var(--shadow-light);
}

.neu-card {
  border-radius: 20px;
}

.neu-card-small {
  border-radius: var(--radius-md);
}

.neu-section {
  border-radius: var(--radius-xl);
}

.neu-inset {
  background: rgba(232, 238, 248, .75);
  box-shadow:
    inset 5px 5px 12px rgba(150, 165, 195, .25),
    inset -5px -5px 12px rgba(255,255,255,.85);
}

.site-header {
  position: sticky;
  top: 16px;
  z-index: 100;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  padding: 14px 18px;
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: "Manrope", sans-serif;
  font-weight: 800;
  font-size: 1.15rem;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 34px;
  aspect-ratio: 1;
  border-radius: 50%;
  color: white;
  background: linear-gradient(135deg, #5f7cff, #8d5fff);
  box-shadow: 0 8px 20px rgba(111,99,255,.30);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 30px;
  color: #4e5877;
  font-size: .9rem;
  font-weight: 600;
}

.main-nav a {
  transition: color .2s ease, transform .2s ease;
}

.main-nav a:hover {
  color: var(--accent);
  transform: translateY(-1px);
}

.header-cta {
  justify-self: end;
}

.btn {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 22px;
  border-radius: 14px;
  border: 0;
  font-weight: 700;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease;
}

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

.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, #5f7cff, #8658ff);
  box-shadow: 0 10px 22px rgba(101, 93, 255, .28);
}

.btn-soft,
.neu-button {
  color: var(--text);
  background: var(--surface);
  box-shadow:
    7px 7px 15px rgba(150, 165, 195, .28),
    -7px -7px 15px rgba(255,255,255,.90);
}

.menu-toggle {
  display: none;
  border: 0;
  width: 44px;
  height: 44px;
  border-radius: 12px;
}

.hero {
  min-height: 610px;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  align-items: center;
  gap: 35px;
  padding: 60px 14px 34px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 13px;
  color: #596281;
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .08em;
}

.dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #8b67ff;
  box-shadow: 0 0 0 6px rgba(139,103,255,.10);
}

h1, h2, h3 {
  font-family: "Manrope", sans-serif;
  margin-top: 0;
}

h1 {
  max-width: 720px;
  margin-bottom: 12px;
  font-size: clamp(3rem, 6.5vw, 5.4rem);
  line-height: .96;
  letter-spacing: -.05em;
}

h1 span {
  background: linear-gradient(90deg, #8f5fff, #577eff);
  -webkit-background-clip: text;
  color: transparent;
}

.hero-subtitle {
  margin: 0 0 18px;
  font-weight: 650;
  color: #4f5b7e;
}

.hero-text {
  max-width: 650px;
  color: var(--muted);
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 26px;
}

.hero-visual {
  position: relative;
  min-height: 500px;
  display: grid;
  place-items: end center;
}

.portrait-glow {
  position: absolute;
  width: 74%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 85%, #c7bdff 0, #d8d2ff 48%, rgba(216,210,255,0) 70%);
  filter: blur(3px);
}

.portrait-frame {
  position: relative;
  z-index: 2;
  width: min(78%, 420px);
  filter: drop-shadow(0 20px 28px rgba(84, 98, 140, .18));
}

.floating-tool,
.quote-card {
  position: absolute;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  font-size: .78rem;
}

.tool-1 { left: 2%; top: 20%; }
.tool-2 { right: 1%; top: 32%; }
.tool-3 { left: 6%; top: 43%; }

.tool-icon,
.service-icon,
.stat-icon,
.detail-icon {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  color: #fff;
  font-weight: 800;
  font-size: .72rem;
  background: linear-gradient(135deg, #6d8aff, #8d63ff);
  box-shadow: 0 8px 18px rgba(107,107,255,.22);
}

.quote-card {
  right: 0;
  bottom: 7%;
  display: block;
  max-width: 200px;
  line-height: 1.5;
  color: #61708e;
}

.quote-card small {
  display: block;
  margin-top: 6px;
  color: var(--text);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin: -10px 0 34px;
}

.stat-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px;
}

.stat-card strong,
.stat-card small {
  display: block;
}

.stat-card small {
  margin-top: 5px;
  color: var(--muted);
  font-size: .75rem;
}

.section {
  padding: 68px 18px;
}

.section + .section {
  margin-top: 18px;
}

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

.section-heading h2,
.contact-copy h2 {
  margin-bottom: 6px;
  font-size: clamp(2rem, 4vw, 3.1rem);
  letter-spacing: -.04em;
}

.section-heading p,
.contact-copy p {
  color: var(--muted);
}

.about-grid {
  display: grid;
  grid-template-columns: 1.35fr .85fr .75fr;
  gap: 22px;
  align-items: stretch;
}

.about-copy {
  font-size: 1.02rem;
  line-height: 1.75;
  color: #59637f;
}

.statement {
  margin-top: 24px;
  padding: 22px;
  border-radius: 18px;
  color: #596784;
}

.about-details {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
}

.detail-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.detail-row small,
.detail-row b {
  display: block;
}

.detail-row small {
  color: var(--muted);
  margin-bottom: 4px;
}

.about-photo img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
  border-radius: 20px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.service-card {
  display: flex;
  gap: 16px;
  padding: 22px;
  min-height: 150px;
}

.service-card h3 {
  margin-bottom: 6px;
  font-size: 1rem;
}

.service-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
  font-size: .87rem;
}

.skill-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.skill-pill {
  padding: 14px 18px;
  font-weight: 700;
  font-size: .9rem;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.project-card {
  overflow: hidden;
}

.project-card > img {
  width: calc(100% - 14px);
  height: 190px;
  object-fit: cover;
  margin: 7px;
  border-radius: 13px;
}

.project-body {
  padding: 16px 16px 20px;
}

.project-body h3 {
  margin-bottom: 8px;
  font-size: 1rem;
}

.project-body p {
  color: var(--muted);
  line-height: 1.55;
  font-size: .86rem;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tags span {
  padding: 7px 10px;
  border-radius: 999px;
  color: #665ee8;
  background: rgba(111,99,255,.08);
  font-size: .72rem;
  font-weight: 700;
}

.contact-section {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 30px;
  padding: 40px;
}

.contact-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.mini-card {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 13px 15px;
}

.mini-card small,
.mini-card b {
  display: block;
}

.mini-card small {
  color: var(--muted);
  font-size: .7rem;
  margin-bottom: 3px;
}

.mini-card b {
  font-size: .78rem;
}

.contact-form {
  padding: 18px;
}

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

input,
textarea {
  width: 100%;
  border: 1px solid rgba(152,166,197,.18);
  outline: none;
  color: var(--text);
  background: #edf2fa;
  box-shadow:
    inset 4px 4px 10px rgba(150,165,195,.18),
    inset -4px -4px 10px rgba(255,255,255,.80);
}

input {
  height: 50px;
  padding: 0 15px;
  border-radius: 13px;
}

textarea {
  resize: vertical;
  margin: 12px 0;
  padding: 15px;
  border-radius: 13px;
}

.contact-form .btn {
  width: 100%;
}

.form-note {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: .72rem;
  text-align: center;
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 20px;
  align-items: center;
  padding: 28px 10px 8px;
  color: #68728f;
  font-size: .78rem;
}

.site-footer strong {
  color: var(--text);
}

.site-footer span:last-child {
  justify-self: end;
}

.section-anchor {
  scroll-margin-top: 110px;
}

@media (max-width: 960px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .menu-toggle {
    display: inline-grid;
    place-items: center;
    justify-self: end;
  }

  .main-nav {
    position: absolute;
    inset: calc(100% + 10px) 0 auto 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    padding: 14px;
    background: rgba(237, 242, 250, .96);
    border-radius: 18px;
    box-shadow:
      12px 12px 28px var(--shadow-dark),
      -12px -12px 28px var(--shadow-light);
  }

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

  .main-nav a {
    padding: 11px 12px;
    border-radius: 10px;
  }

  .header-cta {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr;
    padding-top: 50px;
  }

  .hero-copy {
    text-align: center;
  }

  .hero-text {
    margin-inline: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-visual {
    min-height: 480px;
  }

  .stats-grid,
  .service-grid,
  .project-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .about-photo {
    grid-column: 1 / -1;
  }

  .about-photo img {
    max-height: 360px;
  }

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

@media (max-width: 650px) {
  .page-shell {
    width: min(calc(100% - 22px), var(--container));
    padding-top: 12px;
  }

  .site-header {
    top: 8px;
  }

  .hero {
    min-height: auto;
    padding-inline: 4px;
  }

  h1 {
    font-size: clamp(2.7rem, 14vw, 4.2rem);
  }

  .hero-subtitle {
    font-size: .92rem;
  }

  .hero-visual {
    min-height: 390px;
  }

  .portrait-frame {
    width: 82%;
  }

  .floating-tool {
    transform: scale(.88);
  }

  .tool-1 { left: -4%; top: 18%; }
  .tool-2 { right: -4%; top: 32%; }
  .tool-3 { left: -3%; top: 45%; }

  .quote-card {
    right: -1%;
    bottom: 0;
    max-width: 165px;
    font-size: .7rem;
  }

  .stats-grid,
  .service-grid,
  .project-grid,
  .about-grid,
  .form-row {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 48px 8px;
  }

  .neu-section {
    padding-inline: 20px;
  }

  .contact-section {
    padding: 28px 18px;
  }

  .site-footer {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .site-footer span:last-child {
    justify-self: center;
  }
}


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

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

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}
.ai-assist-note {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  margin-top: 28px;
  padding: 24px;
  border-radius: 20px;
}

.ai-assist-icon {
  display: grid;
  place-items: center;
  flex: 0 0 auto;

  width: 54px;
  height: 54px;

  border-radius: 16px;

  color: #fff;
  font-weight: 800;
  font-size: .85rem;

  background:
    linear-gradient(
      135deg,
      #6f7cff,
      #8d63ff
    );

  box-shadow:
    0 10px 22px rgba(111, 99, 255, .22);
}

.ai-assist-note h3 {
  margin: 0 0 8px;
  font-size: 1rem;
}

.ai-assist-note p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
  font-size: .9rem;
}

@media (max-width: 650px) {
  .ai-assist-note {
    flex-direction: column;
  }
}
.projects-more {
  display: flex;
  justify-content: center;
  margin-top: 32px;
}

/* =========================================
   PROJECTS / CREATIVE SERVICES PAGE
========================================= */

.projects-hero {
  min-height: 560px;
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 40px;
  align-items: center;
  padding: 70px 18px 45px;
}

.projects-hero-copy h1 {
  max-width: 760px;
  margin-bottom: 20px;

  font-size: clamp(
    3.2rem,
    7vw,
    5.7rem
  );

  line-height: .96;
  letter-spacing: -.055em;
}

.projects-hero-copy h1 span {
  display: block;

  background: linear-gradient(
    90deg,
    #8e63ff,
    #577eff
  );

  -webkit-background-clip: text;
  color: transparent;
}

.projects-hero-copy p {
  max-width: 650px;

  color: var(--muted);

  font-size: 1.03rem;
  line-height: 1.75;
}

.projects-hero-panel {
  display: grid;
  grid-template-columns: repeat(2, 1fr);

  gap: 18px;

  padding: 24px;
}

.hero-stat {
  min-height: 130px;

  display: flex;
  flex-direction: column;
  justify-content: center;

  padding: 22px;

  border-radius: 18px;

  background:
    rgba(237, 242, 250, .68);

  box-shadow:
    inset 3px 3px 8px
    rgba(150, 165, 195, .12),

    inset -3px -3px 8px
    rgba(255, 255, 255, .78);
}

.hero-stat strong {
  margin-bottom: 6px;

  font-family: "Manrope", sans-serif;

  font-size: 1.35rem;
}

.hero-stat span {
  color: var(--muted);

  font-size: .82rem;
}


/* CREATIVE SERVICES */

.creative-service-grid {
  display: grid;

  grid-template-columns:
    repeat(3, 1fr);

  gap: 18px;
}

.creative-service-card {
  display: flex;

  gap: 16px;

  min-height: 160px;

  padding: 22px;
}

.creative-service-card h3 {
  margin-bottom: 7px;

  font-size: 1rem;
}

.creative-service-card p {
  margin: 0;

  color: var(--muted);

  line-height: 1.6;

  font-size: .86rem;
}


/* AI NOTE */

.ai-assist-note {
  display: flex;

  gap: 18px;

  align-items: flex-start;

  margin-top: 28px;

  padding: 24px;

  border-radius: 20px;
}

.ai-assist-icon {
  display: grid;
  place-items: center;

  flex: 0 0 auto;

  width: 54px;
  height: 54px;

  border-radius: 16px;

  color: white;

  font-weight: 800;

  background: linear-gradient(
    135deg,
    #657cff,
    #8c61ff
  );

  box-shadow:
    0 10px 20px
    rgba(111, 99, 255, .22);
}

.ai-assist-note h3 {
  margin: 0 0 8px;
}

.ai-assist-note p {
  margin: 0;

  color: var(--muted);

  line-height: 1.65;

  font-size: .9rem;
}


/* FILTER */

.projects-gallery-section {
  padding-top: 55px;
}

.project-filter {
  display: flex;

  flex-wrap: wrap;

  gap: 10px;

  margin-bottom: 30px;

  padding: 12px;
}

.filter-btn {
  border: 0;

  padding: 10px 16px;

  border-radius: 12px;

  color: #59627e;

  background: transparent;

  font-weight: 700;

  cursor: pointer;

  transition:
    background .2s ease,
    color .2s ease,
    transform .2s ease;
}

.filter-btn:hover {
  transform: translateY(-1px);

  color: var(--accent);
}

.filter-btn.active {
  color: white;

  background: linear-gradient(
    135deg,
    #667dff,
    #8b61ff
  );

  box-shadow:
    0 8px 18px
    rgba(111, 99, 255, .25);
}


/* LARGE PROJECT GRID */

.all-project-grid {
  display: grid;

  grid-template-columns:
    repeat(3, 1fr);

  gap: 22px;
}

.gallery-project {
  overflow: hidden;

  transition:
    transform .25s ease,
    box-shadow .25s ease;
}

.gallery-project:hover {
  transform: translateY(-6px);
}

.gallery-project img {
  width: calc(100% - 14px);

  height: 235px;

  margin: 7px;

  object-fit: cover;

  border-radius: 14px;

  background: #dde4f1;
}

.gallery-project-body {
  padding: 15px 17px 21px;
}

.project-type {
  display: inline-block;

  margin-bottom: 10px;

  color: #7567f6;

  font-size: .68rem;

  font-weight: 800;

  letter-spacing: .08em;
}

.gallery-project h3 {
  margin-bottom: 8px;

  font-size: 1.05rem;
}

.gallery-project p {
  color: var(--muted);

  line-height: 1.6;

  font-size: .85rem;
}


/* CTA */

.portfolio-cta {
  display: flex;

  align-items: center;

  justify-content: space-between;

  gap: 30px;

  margin-top: 28px;

  padding: 40px;
}

.portfolio-cta h2 {
  margin-bottom: 8px;

  font-size: clamp(
    2rem,
    4vw,
    3rem
  );
}

.portfolio-cta p {
  margin: 0;

  color: var(--muted);
}


/* FILTER HIDE */

.gallery-project.hide {
  display: none;
}


/* RESPONSIVE */

@media (max-width: 960px) {

  .projects-hero {
    grid-template-columns: 1fr;
  }

  .creative-service-grid {
    grid-template-columns:
      repeat(2, 1fr);
  }

  .all-project-grid {
    grid-template-columns:
      repeat(2, 1fr);
  }

}


@media (max-width: 650px) {

  .projects-hero {
    padding-inline: 5px;
  }

  .projects-hero-copy {
    text-align: center;
  }

  .projects-hero-copy p {
    margin-inline: auto;
  }

  .projects-hero .hero-actions {
    justify-content: center;
  }

  .projects-hero-panel {
    grid-template-columns: 1fr 1fr;

    padding: 15px;
  }

  .hero-stat {
    min-height: 105px;

    padding: 15px;
  }

  .creative-service-grid,
  .all-project-grid {
    grid-template-columns: 1fr;
  }

  .project-filter {
    justify-content: center;
  }

  .gallery-project img {
    height: 210px;
  }

  .portfolio-cta {
    flex-direction: column;

    align-items: flex-start;

    padding: 28px 20px;
  }

  .ai-assist-note {
    flex-direction: column;
  }

}