:root {
  color-scheme: dark;
  --black: #000;
  --panel: rgba(255, 255, 255, 0.025);
  --line: rgba(255, 255, 255, 0.14);
  --line-strong: rgba(255, 255, 255, 0.24);
  --muted: rgba(255, 255, 255, 0.62);
  --purple: #7d3cff;
  --mint: #38f2bb;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: #000;
}

body {
  min-height: 100vh;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 72% 9%, rgba(125, 60, 255, 0.08), transparent 24rem),
    radial-gradient(circle at 18% 70%, rgba(56, 242, 187, 0.045), transparent 22rem),
    #000;
  font-family: "Inter", system-ui, sans-serif;
}

body.gallery-open {
  overflow: hidden;
}

body.mascot-glow {
  background:
    radial-gradient(circle at 80% 20%, rgba(125, 60, 255, 0.22), transparent 28rem),
    radial-gradient(circle at 15% 72%, rgba(56, 242, 187, 0.08), transparent 22rem),
    #000;
}

img,
svg {
  display: block;
}

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

.skip-link {
  position: fixed;
  left: 1rem;
  top: 1rem;
  z-index: 100;
  transform: translateY(-150%);
  background: white;
  color: black;
  padding: 0.75rem 1rem;
  font-weight: 800;
  transition: transform 180ms ease;
}

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

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 70;
  padding: 1rem;
}

.site-nav,
.site-footer {
  max-width: 1500px;
  margin-inline: auto;
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.66);
  backdrop-filter: blur(18px);
}

.site-nav {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
  min-height: 4.3rem;
  padding: 0.6rem 1.05rem;
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 0.78rem;
  width: max-content;
  color: #fff;
}

/* 1. AX आइकॉन का साइज़ यहाँ से फिक्स कर (इसे सिकुड़ने या फैलने से रोकेगा) */
.brand-lockup .ax-icon {
    width: 56px; /* अगर आइकॉन छोटा लगे तो इसे 60px कर लेना */
    height: 56px;
    border-radius: 999px;
    box-shadow: 0 0 28px rgba(125, 60, 255, 0.38);
    object-fit: contain;
    flex-shrink: 0; /* ये सबसे ज़रूरी है, ये आइकॉन को बड़ा या छोटा होने से रोकेगा */
}

/* 2. तेरे टेक्स्ट लोगो (AlixStudio) का साइज़ */
.brand-lockup .ax-text-logo {
    width: 117px; /* अब तू इसे आराम से 180px, 200px या 220px कर सकता है */
    height: auto;
    border-radius: 0;
    display: block;
    margin-bottom: 4px;
}

.brand-lockup small {
  display: block;
  letter-spacing: 0;
  line-height: 1;
}

.brand-lockup strong {
  width: 117px;
  height: 17px;
}

.brand-lockup small {
  margin-top: 0.34rem;
  color: rgba(255, 255, 255, 0.52);
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
}

.nav-links a,
.site-footer a {
  color: #fff;
  font-size: 0.9rem;
  font-weight: 800;
  text-decoration: none;
  transition: color 220ms ease;
}

.nav-links a:hover,
.site-footer a:hover {
  color: var(--purple);
}

.quote-button,
.text-link,
.view-all,
.back-button,
.contact-form button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  color: #fff;
  font-weight: 900;
  text-transform: uppercase;
  text-decoration: none;
}

.quote-button {
  justify-self: end;
  min-height: 3rem;
  border: 1px solid var(--purple);
  border-radius: 0.28rem;
  padding: 0.85rem 1.3rem;
  background: rgba(125, 60, 255, 0.1);
  box-shadow: 0 0 26px rgba(125, 60, 255, 0.18);
  text-transform: none;
  transition: transform 220ms ease, background 220ms ease, box-shadow 220ms ease;
}

.quote-button:hover,
.quote-button:focus-visible {
  transform: translateY(-2px);
  background: rgba(125, 60, 255, 0.22);
  box-shadow: 0 0 36px rgba(125, 60, 255, 0.36);
  outline: none;
}

.quote-button svg,
.text-link svg,
.view-all svg,
.service-arrow svg,
.work-top svg,
.back-button svg,
.contact-form button svg {
  width: 1.1rem;
  height: 1.1rem;
}

.quote-button path,
.text-link path,
.view-all path,
.service-icon path,
.service-icon rect,
.service-arrow path,
.work-top path,
.back-button path,
.contact-form button path,
.social-links path,
.social-links rect,
.social-links circle {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.75;
}

.hero-section {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  padding: 7.25rem 1rem 0;
}

.grain {
  pointer-events: none;
  position: absolute;
  inset: 0;
  opacity: 0.28;
  background-image: radial-gradient(circle at 1px 1px, rgba(255, 255, 255, 0.14) 1px, transparent 0);
  background-size: 38px 38px;
  mask-image: linear-gradient(to bottom, #000, transparent 78%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(22rem, 38rem);
  align-items: stretch;
  gap: 2rem;
  max-width: 1500px;
  min-height: calc(100svh - 7.25rem);
  margin-inline: auto;
  padding: 5.8rem 0 2.5rem;
}

.hero-copy {
  align-self: center;
  padding-bottom: 4rem;
}

.hero-title {
  max-width: 11ch;
  font-family: "Archivo", "Inter", system-ui, sans-serif;
  font-size: 4.5rem;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 0.91;
  text-transform: uppercase;
}

.hero-title span {
  display: block;
}

.hero-title em {
  color: var(--purple);
  font-style: normal;
}

.hero-text {
  max-width: 28rem;
  margin-top: 2rem;
  color: rgba(255, 255, 255, 0.66);
  font-size: 1.08rem;
  line-height: 1.6;
}

.text-link {
  position: relative;
  margin-top: 2.25rem;
  padding-bottom: 1rem;
  font-size: 0.86rem;
}

.text-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 11rem;
  height: 2px;
  background: var(--purple);
  transform-origin: left;
  transition: transform 240ms ease;
}

.text-link:hover::after {
  transform: scaleX(0.68);
}

.text-link svg {
  color: var(--purple);
}

.hero-visual {
  position: relative;
  min-height: 42rem;
}

.blueprint-card {
  position: absolute;
  right: 0;
  top: 2rem;
  width: min(100%, 34rem);
  opacity: 0.8;
}

.blueprint-card img {
  width: 100%;
  height: auto;
}

.blueprint-card span {
  position: absolute;
  right: 8.5rem;
  bottom: 4.2rem;
  color: var(--mint);
  font-size: 0.68rem;
  font-weight: 900;
  line-height: 1.15;
  text-transform: uppercase;
}

.mascot-wrap {
  --mascot-height: 17.2rem;
  position: absolute;
  right: -1.4rem;
  bottom: 0;
  width: 21.5rem;
}

.mascot-button {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  width: 100%;
  height: var(--mascot-height);
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
  filter: drop-shadow(0 0 24px rgba(125, 60, 255, 0.28));
  transform-origin: 60% 100%;
  animation: mascotIdle 4.8s ease-in-out infinite;
  transition: filter 240ms ease, transform 240ms ease;
}

.mascot-button img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: right bottom;
  transition: opacity 170ms ease, transform 220ms ease;
}

.mascot-button.is-switching img {
  opacity: 0.08;
  transform: translateY(0.45rem) scale(0.96) rotate(-1deg);
}

.mascot-button:hover,
.mascot-button:focus-visible {
  filter: drop-shadow(0 0 38px rgba(125, 60, 255, 0.52));
  outline: none;
}

.mascot-wrap.is-reacting .mascot-button {
  animation: mascotPop 760ms cubic-bezier(0.16, 1, 0.3, 1);
}

.mascot-wrap.is-dashing .mascot-button {
  animation: mascotDash 820ms cubic-bezier(0.16, 1, 0.3, 1);
}

.mascot-wrap.is-nodding .mascot-button {
  animation: mascotNod 820ms cubic-bezier(0.16, 1, 0.3, 1);
}

.mascot-wrap.is-leaning .mascot-button {
  animation: mascotLean 820ms cubic-bezier(0.16, 1, 0.3, 1);
}

.mascot-wrap.is-jumping .mascot-button {
  animation: mascotJump 820ms cubic-bezier(0.16, 1, 0.3, 1);
}

.mascot-hint {
  position: absolute;
  right: 13.4rem;
  bottom: calc(var(--mascot-height) - 2rem);
  z-index: 4;
  border: 1px solid rgba(56, 242, 187, 0.55);
  background: rgba(0, 0, 0, 0.72);
  padding: 0.42rem 0.58rem;
  color: var(--mint);
  font-size: 0.68rem;
  font-weight: 900;
  text-transform: uppercase;
  box-shadow: 0 0 18px rgba(56, 242, 187, 0.15);
  animation: hintPulse 1.9s ease-in-out infinite;
  pointer-events: none;
}

.mascot-bubble {
  position: absolute;
  right: 12.8rem;
  bottom: calc(var(--mascot-height) - 6.4rem);
  z-index: 4;
  min-width: 12rem;
  max-width: 16rem;
  border: 1px solid rgba(125, 60, 255, 0.74);
  background: rgba(0, 0, 0, 0.78);
  padding: 0.85rem 1rem;
  color: white;
  font-size: 0.86rem;
  font-weight: 800;
  line-height: 1.35;
  box-shadow: 0 0 32px rgba(125, 60, 255, 0.18);
  opacity: 0;
  transform: translateY(0.6rem) scale(0.96);
  transition: opacity 220ms ease, transform 220ms ease;
  pointer-events: none;
}

.mascot-bubble.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.mascot-tag {
  position: absolute;
  right: 12rem;
  bottom: 1.2rem;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.72);
  padding: 0.22rem 0.54rem;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.62rem;
  font-weight: 900;
}

.mascot-tag span,
.section-label span {
  width: 0.38rem;
  height: 0.38rem;
  border-radius: 999px;
  background: var(--mint);
  box-shadow: 0 0 12px rgba(56, 242, 187, 0.7);
}

.spark {
  position: absolute;
  z-index: 5;
  width: 0.38rem;
  height: 0.38rem;
  border-radius: 999px;
  background: var(--purple);
  box-shadow: 0 0 18px rgba(125, 60, 255, 0.9);
  animation: sparkFly 780ms ease-out forwards;
  pointer-events: none;
}

.page-section {
  max-width: 1500px;
  margin-inline: auto;
  padding: 0 1rem 4.7rem;
}

.section-rule {
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.2rem;
  padding-top: 1.45rem;
}

.section-label,
.view-all,
.contact-kicker,
.gallery-header p {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: #fff;
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.view-all,
.contact-kicker {
  color: rgba(255, 255, 255, 0.9);
}

.view-all {
  border: 0;
  background: transparent;
  cursor: pointer;
}

.view-all svg {
  color: var(--purple);
}

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

.service-card {
  position: relative;
  min-height: 19.5rem;
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at 50% 0%, rgba(125, 60, 255, 0.06), transparent 14rem),
    rgba(255, 255, 255, 0.012);
  padding: 2.2rem 2.2rem 1.8rem;
  cursor: pointer;
  transition: transform 260ms ease, border-color 260ms ease, background 260ms ease;
}

.service-card:hover,
.service-card:focus-visible {
  transform: translateY(-5px);
  border-color: rgba(125, 60, 255, 0.68);
  background:
    radial-gradient(circle at 50% 0%, rgba(125, 60, 255, 0.16), transparent 14rem),
    rgba(255, 255, 255, 0.024);
  outline: none;
}

.service-number {
  position: absolute;
  right: 1.35rem;
  top: 1.25rem;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.86rem;
  font-weight: 800;
}

.service-icon {
  color: var(--purple);
}

.service-icon svg {
  width: 2.3rem;
  height: 2.3rem;
}

.service-card h2 {
  margin-top: 4rem;
  color: #fff;
  font-family: "Archivo", "Inter", system-ui, sans-serif;
  font-size: 1.55rem;
  font-weight: 900;
  line-height: 0.98;
  text-transform: uppercase;
}

.service-card p:not(.service-number) {
  margin-top: 1.3rem;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.94rem;
  line-height: 1.55;
}

.service-arrow {
  position: absolute;
  left: 2.2rem;
  bottom: 1.45rem;
  color: var(--purple);
  transition: transform 220ms ease;
}

.service-card:hover .service-arrow,
.service-card:focus-visible .service-arrow {
  transform: translateX(0.28rem);
}

.work-grid {
  display: grid;
  grid-template-columns: 0.78fr 1.32fr 0.88fr;
  grid-template-rows: 14rem 14rem;
  gap: 1.25rem;
}

.work-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #050505;
  color: #fff;
  text-align: left;
  cursor: pointer;
  isolation: isolate;
  transition: transform 260ms ease, border-color 260ms ease, box-shadow 260ms ease;
}

.work-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.24), rgba(0, 0, 0, 0.18) 45%, rgba(0, 0, 0, 0.8));
  pointer-events: none;
}

.work-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.92;
  transition: opacity 560ms ease, transform 560ms ease;
}

.work-card:hover,
.work-card:focus-visible {
  transform: translateY(-5px);
  border-color: rgba(125, 60, 255, 0.64);
  box-shadow: 0 0 40px rgba(125, 60, 255, 0.15);
  outline: none;
}

.work-card:hover img,
.work-card:focus-visible img {
  transform: scale(1.04);
}

.work-card img.is-fading {
  opacity: 0.15;
}

.logo-card {
  grid-column: 1;
  grid-row: 1;
}

.social-card {
  grid-column: 1;
  grid-row: 2;
}

.packaging-card {
  grid-column: 2;
  grid-row: 1 / span 2;
}

.print-card {
  grid-column: 3;
  grid-row: 1 / span 2;
}

.work-top {
  position: absolute;
  inset: 1.25rem 1.25rem auto;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.work-top strong {
  font-size: 0.86rem;
  font-weight: 900;
  text-transform: uppercase;
}

.work-top svg {
  color: rgba(255, 255, 255, 0.85);
  flex: 0 0 auto;
}

.work-brand,
.work-copy {
  position: absolute;
  z-index: 3;
  left: 1.7rem;
  bottom: 1.45rem;
  color: rgba(255, 255, 255, 0.94);
}

.work-brand {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2.4rem;
  letter-spacing: 0;
  text-transform: uppercase;
}

.work-copy {
  font-family: "Archivo", "Inter", system-ui, sans-serif;
  font-size: 1.45rem;
  font-weight: 900;
  line-height: 1.05;
  text-transform: uppercase;
}

.clients-section {
  padding-top: 2.4rem;
}

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

.client-card {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  min-height: 0;
  border: 1px solid var(--line);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.006)),
    #020202;
  color: #fff;
  cursor: pointer;
  isolation: isolate;
  text-align: left;
  transition: transform 280ms ease, border-color 280ms ease, box-shadow 280ms ease;
}

.client-card-wide {
  grid-column: auto;
}

.client-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(circle at 50% 14%, rgba(125, 60, 255, 0.18), transparent 14rem),
    linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.7));
  opacity: 0.55;
  pointer-events: none;
  transition: opacity 280ms ease;
}

.client-logo-state,
.client-work,
.client-work-copy,
.client-chip {
  position: absolute;
}

.client-logo-state {
  inset: 1.35rem;
  z-index: 3;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 0.72rem;
  transition: opacity 280ms ease, transform 360ms cubic-bezier(0.16, 1, 0.3, 1);
}

.client-mark {
  display: grid;
  place-items: center;
  min-width: 9rem;
  min-height: 9rem;
  border: 1px solid rgba(125, 60, 255, 0.68);
  
  box-shadow:
    inset 0 0 24px rgba(125, 60, 255, 0.1),
    0 0 28px rgba(125, 60, 255, 0.14);
}

.client-mark-verda {
  font-family: Georgia, "Times New Roman", serif;
}

.client-mark-kaizen {
  color: #d6b15e;
  writing-mode: vertical-rl;
}

.client-mark-nexora {
  border-color: rgba(56, 242, 187, 0.52);
  color: var(--mint);
}

.client-mark-built {
  border-color: rgba(255, 255, 255, 0.5);
  font-size: 1.8rem;
}

.client-mark-aura {
  color: var(--purple);
}

.client-name,
.client-type {
  display: block;
  text-align: center;
}

.client-name {
  font-family: "Archivo", "Inter", system-ui, sans-serif;
  font-size: 1.2rem;
  font-weight: 900;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}

.client-type {
  color: rgba(255, 255, 255, 0.52);
  font-size: 0.73rem;
  font-weight: 900;
  text-transform: uppercase;
}

.client-work {
  inset: 0;
  z-index: 2;
  opacity: 0;
  transform: scale(1.055);
  transition: opacity 320ms ease, transform 520ms cubic-bezier(0.16, 1, 0.3, 1);
}

.client-work::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.18) 42%, rgba(0, 0, 0, 0.88)),
    radial-gradient(circle at 18% 20%, rgba(56, 242, 187, 0.13), transparent 16rem);
}

.client-work img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.95;
}

.client-work-copy {
  left: 1.35rem;
  right: 1.35rem;
  bottom: 1.25rem;
  z-index: 3;
}

.client-work-copy strong,
.client-work-copy small {
  display: block;
}

.client-work-copy strong {
  font-family: "Archivo", "Inter", system-ui, sans-serif;
  font-size: 1.28rem;
  font-weight: 900;
  line-height: 1.04;
  text-transform: uppercase;
}

.client-work-copy small {
  margin-top: 0.45rem;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.35;
}

.client-chip {
  right: 1rem;
  top: 1rem;
  z-index: 3;
  border: 1px solid rgba(125, 60, 255, 0.65);
  background: rgba(0, 0, 0, 0.58);
  padding: 0.38rem 0.55rem;
  color: #fff;
  font-size: 0.64rem;
  font-weight: 900;
  text-transform: uppercase;
}

.client-card:hover,
.client-card:focus-visible,
.client-card.is-active {
  transform: translateY(-5px);
  border-color: rgba(125, 60, 255, 0.72);
  box-shadow: 0 0 44px rgba(125, 60, 255, 0.15);
  outline: none;
}

.client-card:hover::before,
.client-card:focus-visible::before,
.client-card.is-active::before {
  opacity: 0.12;
}

.client-card:hover .client-logo-state,
.client-card:focus-visible .client-logo-state,
.client-card.is-active .client-logo-state {
  opacity: 1;
  transform: translateY(-0.28rem) scale(0.98);
}

.client-card:hover .client-work,
.client-card:focus-visible .client-work,
.client-card.is-active .client-work {
  opacity: 1;
  transform: scale(1);
}

.client-window[hidden] {
  display: none;
}

.client-window {
  margin-top: 1.25rem;
  border: 1px solid rgba(125, 60, 255, 0.48);
  background:
    radial-gradient(circle at 82% 12%, rgba(125, 60, 255, 0.16), transparent 22rem),
    rgba(255, 255, 255, 0.026);
  padding: 1.25rem;
  opacity: 0;
  transform: translateY(0.8rem) scale(0.99);
  transition: opacity 220ms ease, transform 260ms cubic-bezier(0.16, 1, 0.3, 1);
}

.client-window.is-open {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.client-window-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.client-window-head h2 {
  max-width: 13ch;
  margin-top: 0.72rem;
  font-family: "Archivo", "Inter", system-ui, sans-serif;
  font-size: 2.55rem;
  font-weight: 900;
  line-height: 0.95;
  text-transform: uppercase;
}

.client-window-head p:not(.section-label) {
  max-width: 36rem;
  margin-top: 0.8rem;
  color: var(--muted);
  line-height: 1.55;
}

.client-window-close {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.32);
  color: #fff;
  padding: 0.74rem 0.85rem;
  font-size: 0.74rem;
  font-weight: 900;
  text-transform: uppercase;
  cursor: pointer;
  transition: border-color 220ms ease, background 220ms ease;
}

.client-window-close:hover,
.client-window-close:focus-visible {
  border-color: var(--purple);
  background: rgba(125, 60, 255, 0.12);
  outline: none;
}

.client-window-close svg {
  width: 1rem;
  height: 1rem;
}

.client-window-close path {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

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

.client-project-card {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  border: 1px solid rgba(255, 255, 255, 0.13);
  background: #050505;
}

.client-project-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 35%, rgba(0, 0, 0, 0.82));
}

.client-project-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 360ms ease;
}

.client-project-card:hover img {
  transform: scale(1.04);
}

.client-project-card span {
  position: absolute;
  left: 0.8rem;
  right: 0.8rem;
  bottom: 0.78rem;
  z-index: 2;
  color: #fff;
  font-size: 0.74rem;
  font-weight: 900;
  line-height: 1.15;
  text-transform: uppercase;
}

.contact-section {
  padding-bottom: 1.25rem;
}

.contact-panel {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: 2rem;
  border: 1px solid var(--line);
  padding: 2.1rem 1.9rem;
}

.contact-copy h2 {
  max-width: 13rem;
  font-family: "Archivo", "Inter", system-ui, sans-serif;
  font-size: 2.25rem;
  font-weight: 900;
  line-height: 0.98;
  text-transform: uppercase;
}

.contact-copy p {
  margin: 1.2rem 0 2rem;
  color: var(--muted);
}

.contact-copy a,
.contact-copy span {
  display: block;
  margin-top: 1.15rem;
  color: #fff;
  font-weight: 700;
  text-decoration: none;
}

.social-links {
  display: grid;
  gap: 0.75rem;
  margin-top: 1.4rem;
}

.social-links a {
  display: grid;
  grid-template-columns: 2.35rem 1fr;
  column-gap: 0.72rem;
  align-items: center;
  min-height: 3rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.025);
  padding: 0.55rem 0.75rem;
  transition: border-color 220ms ease, transform 220ms ease, background 220ms ease;
}

.social-links a:hover,
.social-links a:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(125, 60, 255, 0.72);
  background: rgba(125, 60, 255, 0.08);
  outline: none;
}

.social-links svg {
  grid-row: span 2;
  width: 1.42rem;
  height: 1.42rem;
  color: var(--purple);
}

.social-links span,
.social-links strong {
  display: block;
  margin: 0;
  line-height: 1.1;
}

.social-links span {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.68rem;
  font-weight: 900;
  text-transform: uppercase;
}

.social-links strong {
  color: #fff;
  font-size: 0.9rem;
  font-weight: 800;
}

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

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

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(0, 0, 0, 0.42);
  color: #fff;
  padding: 1.02rem 1.05rem;
  outline: none;
  transition: border-color 200ms ease, box-shadow 200ms ease;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(255, 255, 255, 0.42);
}

.contact-form textarea {
  resize: vertical;
  min-height: 8.5rem;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: rgba(125, 60, 255, 0.85);
  box-shadow: 0 0 0 3px rgba(125, 60, 255, 0.14);
}

.contact-form button {
  min-height: 3rem;
  border: 1px solid var(--purple);
  background: rgba(125, 60, 255, 0.08);
  padding: 0.95rem 1.1rem;
  cursor: pointer;
  justify-content: space-between;
  transition: background 220ms ease, box-shadow 220ms ease;
}

.contact-form button:hover {
  background: rgba(125, 60, 255, 0.18);
  box-shadow: 0 0 30px rgba(125, 60, 255, 0.18);
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
  padding: 1.45rem 1rem;
}

.site-footer p {
  color: rgba(255, 255, 255, 0.42);
  font-size: 0.82rem;
  text-align: center;
}

.site-footer div {
  display: flex;
  justify-content: flex-end;
  gap: 2.4rem;
}

.footer-socials {
  grid-column: 1 / -1;
  justify-content: center !important;
  padding-top: 0.7rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-socials a {
  color: rgba(255, 255, 255, 0.62);
}

.gallery-overlay {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  background: rgba(0, 0, 0, 0.72);
  opacity: 0;
  pointer-events: none;
  transition: opacity 360ms ease;
}

.gallery-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}

.gallery-panel {
  min-height: 100svh;
  overflow: auto;
  background:
    radial-gradient(circle at 86% 12%, rgba(125, 60, 255, 0.22), transparent 25rem),
    #000;
  padding: 1rem;
  transform: translateY(1.6rem) scale(0.986);
  transition: transform 460ms cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-overlay.is-open .gallery-panel {
  transform: translateY(0) scale(1);
}

.gallery-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  max-width: 1500px;
  margin-inline: auto;
}

.back-button {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.035);
  padding: 0.85rem 1rem;
  cursor: pointer;
}

.back-button:hover {
  border-color: var(--purple);
}

.gallery-copy {
  max-width: 1500px;
  margin: 5rem auto 2rem;
}

.gallery-title {
  max-width: 9ch;
  font-family: "Archivo", "Inter", system-ui, sans-serif;
  font-size: 4.4rem;
  font-weight: 900;
  line-height: 0.9;
  text-transform: uppercase;
}

.gallery-description {
  max-width: 42rem;
  margin-top: 1.2rem;
  color: var(--muted);
  line-height: 1.65;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 1rem;
  max-width: 1500px;
  margin-inline: auto;
  padding-bottom: 4rem;
}

.gallery-item {
  grid-column: span 6;
  overflow: hidden;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
}

.gallery-item:nth-child(3n + 1) {
  grid-column: span 7;
}

.gallery-item:nth-child(3n + 2) {
  grid-column: span 5;
}

.gallery-item img {
  width: 100%;
  height: 28rem;
  object-fit: cover;
}

.gallery-caption {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1rem;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 650ms ease, transform 650ms cubic-bezier(0.16, 1, 0.3, 1);
}

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

@keyframes mascotIdle {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-0.45rem) rotate(-1deg);
  }
}

@keyframes mascotPop {
  0% {
    transform: scale(1) rotate(0);
  }
  38% {
    transform: scale(1.08) rotate(-4deg);
  }
  70% {
    transform: scale(0.98) rotate(2deg);
  }
  100% {
    transform: scale(1) rotate(0);
  }
}

@keyframes mascotDash {
  0% {
    transform: translateX(0) rotate(0);
  }
  40% {
    transform: translateX(-2rem) rotate(-7deg);
  }
  100% {
    transform: translateX(0) rotate(0);
  }
}

@keyframes mascotNod {
  0%,
  100% {
    transform: rotate(0) translateY(0);
  }
  32% {
    transform: rotate(3deg) translateY(0.35rem);
  }
  68% {
    transform: rotate(-2deg) translateY(-0.25rem);
  }
}

@keyframes mascotLean {
  0%,
  100% {
    transform: translateX(0) rotate(0) scale(1);
  }
  45% {
    transform: translateX(-1.2rem) rotate(-5deg) scale(1.03);
  }
}

@keyframes mascotJump {
  0%,
  100% {
    transform: translateY(0) scale(1);
  }
  42% {
    transform: translateY(-1.7rem) scale(1.04);
  }
  68% {
    transform: translateY(0.25rem) scale(0.99);
  }
}

@keyframes hintPulse {
  0%,
  100% {
    opacity: 0.72;
    transform: translateY(0);
  }
  50% {
    opacity: 1;
    transform: translateY(-0.25rem);
  }
}

@keyframes sparkFly {
  to {
    opacity: 0;
    transform: translate(var(--x), var(--y)) scale(0.15);
  }
}

@media (min-width: 760px) {
  .hero-title {
    font-size: 6.8rem;
  }

  .gallery-title {
    font-size: 6.5rem;
  }
}

@media (min-width: 1120px) {
  .hero-title {
    font-size: 7.6rem;
  }
}

@media (min-width: 1380px) {
  .hero-title {
    font-size: 8.8rem;
  }

  .hero-inner {
    padding-top: 7rem;
  }

  .gallery-title {
    font-size: 9rem;
  }
}

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

  .nav-links {
    display: none;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 4.2rem;
  }

  .hero-copy {
    padding-bottom: 0;
  }

  .hero-visual {
    min-height: 32rem;
  }

  .blueprint-card {
    left: 0;
    right: auto;
    width: 30rem;
  }

  .mascot-wrap {
    --mascot-height: 13.6rem;
    right: 0;
    width: 17.2rem;
  }

  .mascot-hint {
    right: 10.2rem;
  }

  .mascot-bubble {
    right: 9.5rem;
  }

  .mascot-tag {
    right: 9rem;
  }

  .services-grid,
  .clients-grid,
  .work-grid,
  .contact-panel,
  .site-footer {
    grid-template-columns: 1fr 1fr;
  }

  .client-card-wide {
    grid-column: auto;
  }

  .client-window-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .work-grid {
    grid-template-rows: auto;
  }

  .logo-card,
  .social-card,
  .packaging-card,
  .print-card {
    grid-column: auto;
    grid-row: auto;
    min-height: 30rem;
  }

  .packaging-card {
    grid-column: span 2;
    min-height: 30rem;
  }

  .site-footer p {
    text-align: right;
  }

  .site-footer div {
    grid-column: 1 / -1;
    justify-content: flex-start;
  }
}

@media (max-width: 720px) {
  .site-header,
  .hero-section,
  .page-section,
  .gallery-panel {
    padding-inline: 0.75rem;
  }

  .site-nav {
    min-height: 4rem;
    padding: 0.55rem;
  }

  .brand-lockup img {
    width: 2.6rem;
    height: 2.6rem;
  }

  .brand-lockup small {
    display: none;
  }

  .quote-button {
    min-height: 2.75rem;
    padding: 0.7rem 0.85rem;
    font-size: 0.82rem;
  }

  .hero-section {
    padding-top: 5.7rem;
  }

  .hero-inner {
    padding-top: 2.5rem;
  }

  .hero-title {
    font-size: 3.55rem;
    max-width: 9ch;
  }

  .hero-text {
    font-size: 1rem;
  }

  .hero-visual {
    min-height: 28rem;
  }

  .blueprint-card {
    width: 23rem;
    opacity: 0.62;
  }

  .blueprint-card span {
    right: 5.4rem;
    bottom: 3rem;
  }

  .mascot-wrap {
    --mascot-height: 11.8rem;
    right: -1.2rem;
    width: 14.2rem;
  }

  .mascot-bubble {
    right: 6.1rem;
    bottom: calc(var(--mascot-height) - 5.4rem);
    min-width: 10rem;
    max-width: 12rem;
  }

  .mascot-hint {
    right: 7rem;
    bottom: calc(var(--mascot-height) - 1.55rem);
  }

  .mascot-tag {
    right: 6.5rem;
    bottom: 0.8rem;
  }

  .services-grid,
  .clients-grid,
  .work-grid,
  .contact-panel,
  .form-row,
  .site-footer {
    grid-template-columns: 1fr;
  }

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

  .service-card {
    min-height: 17.5rem;
  }

  .packaging-card {
    grid-column: auto;
    min-height: 25rem;
  }

  .client-card,
  .client-card-wide {
    grid-column: auto;
    min-height: 0;
  }

  .client-name {
    font-size: 0.96rem;
  }

  .client-type {
    font-size: 0.64rem;
  }

  .client-window {
    padding: 1rem;
  }

  .client-window-head {
    flex-direction: column;
  }

  .client-window-head h2 {
    font-size: 2rem;
  }

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

  .contact-panel {
    padding: 1.2rem;
  }

  .section-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .gallery-title {
    font-size: 3.7rem;
  }

  .gallery-item,
  .gallery-item:nth-child(3n + 1),
  .gallery-item:nth-child(3n + 2) {
    grid-column: span 12;
  }

  .gallery-item img {
    height: 21rem;
  }

  .site-footer p {
    text-align: left;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 1ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
/* 1. लोगो को हमेशा डब्बे के अंदर और सेंटर में लॉक करने के लिए */
.client-mark img {
    max-width: 75%; /* लोगो डब्बे से बाहर नहीं जाएगा */
    max-height: 75%;
    object-fit: contain;
    margin: auto; /* एकदम सेंटर में फिक्स */
    display: block;
}

/* 2. मोबाइल स्क्रीन (768px से कम) के लिए डब्बे का साइज़ फिक्स */
@media (max-width: 768px) {
    .client-mark {
        min-width: 100%; /* मोबाइल पर डब्बा बाहर नहीं भागेगा */
        min-height: 140px; /* मोबाइल के हिसाब से हाइट एडजस्ट */
        aspect-ratio: 1 / 1; /* डब्बे को एकदम स्क्वायर रखेगा */
    }
    
    /* अगर लोगो मोबाइल पर और छोटे चाहिए तो इसे 60% कर लेना */
    .client-mark img {
        max-width: 70%;
    }
}