/* ===========================================================
   SHUBHAM ENGITECH — Dark/Light Editorial
   Brand: #5C155A | #3C1830 | #653B57
   Fonts: Inter · Inria Serif · Kaisei Tokumin
   =========================================================== */

/* ── Reset ─────────────────────────────────────────────── */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* ── DARK THEME — commented out; light is the default ─── */
/*
:root {
  --surface: #0D0A0F;
  --card: #14101A;
  --white: #FFFFFF;
  --text: #d8d0da;
  --muted: #8d7e91;
  --heading: #FFFFFF;

  --header-bg: rgba(13, 10, 15, .88);
  --header-shadow: 0 1px 30px rgba(0, 0, 0, .5);
  --card-border: rgba(255, 255, 255, .05);
  --card-border-hover: var(--royal);
  --card-bg-hover: rgba(92, 21, 90, .08);
  --glass: rgba(255, 255, 255, .04);
  --glass-border: rgba(255, 255, 255, .08);
  --overlay-text: rgba(255, 255, 255, .7);
  --nav-active: var(--white);
}
*/

/* ── BASE VARIABLES (shared across themes) ────────────── */
:root {
  /* Brand colours */
  --royal: #5C155A;
  --plum: #3C1830;
  --mauve: #653B57;
  --blush: #F5F0F4;

  --grad: linear-gradient(135deg, var(--royal), var(--plum));
  --grad-glow: linear-gradient(135deg, #9b3d99, #5C155A);

  /* Fonts */
  --f-main: 'Inter', -apple-system, sans-serif;
  --f-serif: 'Inria Serif', Georgia, serif;
  --f-kai: 'Kaisei Tokumin', serif;

  /* Radius */
  --r-sm: 8px;
  --r-md: 16px;
  --r-lg: 28px;
  --r-full: 100px;

  /* Shadows */
  --sh-sm: 0 2px 16px rgba(0, 0, 0, .25);
  --sh-md: 0 8px 40px rgba(0, 0, 0, .4);
  --sh-glow: 0 0 40px rgba(92, 21, 90, .45);

  --ease: cubic-bezier(.25, .8, .25, 1);
  --nav-h: 72px;
}

/* ── LIGHT THEME (default) ────────────────────────────── */
:root {
  --surface: #F8F5FA;
  --card: #FFFFFF;
  --white: #1a1020;
  --text: #4a3d50;
  --muted: #7a6d82;
  --heading: #2a1830;

  --header-bg: rgba(248, 245, 250, .92);
  --header-shadow: 0 1px 20px rgba(92, 21, 90, .08);
  --card-border: rgba(92, 21, 90, .1);
  --card-border-hover: var(--royal);
  --card-bg-hover: rgba(92, 21, 90, .05);
  --glass: rgba(92, 21, 90, .04);
  --glass-border: rgba(92, 21, 90, .1);
  --overlay-text: #4a3d50;
  --nav-active: var(--plum);
}

#header.scrolled {
  background: var(--header-bg);
  box-shadow: var(--header-shadow);
}

/* Ensure header logo and mobile toggles are white over the dark hero background in light theme */
#header:not(.scrolled) .hd-brand {
  color: #ffffff;
}

#header:not(.scrolled) .hd-brand strong {
  color: #ffffff;
}

#header:not(.scrolled) .hd-brand span {
  color: rgba(255, 255, 255, 0.7);
}

#header:not(.scrolled) .mt-line {
  background: #ffffff;
}

#header:not(.scrolled) .theme-toggle {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.1);
}

/* Ensure desktop navigation links are white over the dark hero background when not scrolled */
@media (min-width: 901px) {
  #header:not(.scrolled) .nm-link {
    color: rgba(255, 255, 255, 0.7);
  }

  #header:not(.scrolled) .nm-link:hover,
  #header:not(.scrolled) .nm-link.active {
    color: #ffffff;
  }
}

/* In mobile menu, dark overlay background always */
@media (max-width: 900px) {
  #nav-menu {
    background: rgba(15, 8, 20, 0.98) !important;
  }

  #nav-menu .nm-link {
    color: rgba(255, 255, 255, 0.75) !important;
  }

  #nav-menu .nm-link:hover,
  #nav-menu .nm-link.active {
    color: #ffffff !important;
    background: rgba(92, 21, 90, 0.25) !important;
  }
}

/* Light theme nav — dark text ONLY when header has scrolled bg */
#header.scrolled .hd-brand {
  color: var(--plum);
}

#header.scrolled .hd-brand span {
  color: var(--mauve);
}

#header.scrolled .nm-link {
  color: var(--mauve);
}

#header.scrolled .nm-link:hover,
#header.scrolled .nm-link.active {
  color: var(--plum);
}

.nm-cta {
  color: #fff !important;
}

#header.scrolled .mt-line {
  background: var(--plum);
}

.sec-title {
  color: var(--heading);
}

strong {
  color: var(--heading);
}

.about {
  background: var(--card);
  border-bottom: 1px solid rgba(92, 21, 90, .06);
}

.srv-card {
  background: var(--card);
  border-color: var(--card-border);
  box-shadow: 0 2px 20px rgba(0, 0, 0, .04);
}

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

.srv-icon {
  background: rgba(92, 21, 90, .08);
}

.clients-section {
  background: var(--surface);
}

.client-logo-item {
  background: var(--card);
  border-color: rgba(92, 21, 90, .08);
  box-shadow: 0 2px 12px rgba(0, 0, 0, .03);
}

.client-logo-item span {
  color: var(--text);
}

.vision-backdrop {
  background: linear-gradient(160deg, #f0e8f2, #e8dcea 60%, var(--surface));
}

.vm-panel {
  background: var(--card);
  border-color: rgba(92, 21, 90, .08);
  box-shadow: 0 2px 20px rgba(0, 0, 0, .04);
}

.vm-panel h2 {
  color: var(--heading);
}

.vm-panel p {
  color: var(--text);
}

.vm-checks li {
  color: var(--text);
}

.vm-panel blockquote {
  color: var(--royal);
}

.team {
  background: var(--surface);
}

.team-card {
  background: var(--card);
  border-color: rgba(92, 21, 90, .06);
  box-shadow: 0 2px 16px rgba(0, 0, 0, .04);
}

.tc-name {
  color: var(--heading);
}

.tc-info-row {
  background: rgba(92, 21, 90, .04);
  border-color: rgba(92, 21, 90, .06);
  color: var(--text);
}

.tc-info-row:hover {
  background: rgba(92, 21, 90, .1);
  color: var(--heading);
}

.contact {
  background: var(--card);
}

.contact-card {
  background: var(--surface);
  border-color: rgba(92, 21, 90, .08);
}

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

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

.contact-card:hover {
  background: rgba(92, 21, 90, .05);
}

.footer {
  background: var(--plum);
}

.footer .hd-brand,
.footer .hd-brand strong,
.footer h4 {
  color: #ffffff;
}

.footer .hd-brand span,
.footer p,
.footer ul li,
.footer a,
.footer span {
  color: #d8d0da;
}

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

.footer i {
  color: #e86b6b;
}

.ah-item {
  background: rgba(92, 21, 90, .03);
  border-color: rgba(92, 21, 90, .06);
}

.ah-item:hover {
  background: rgba(92, 21, 90, .06);
}

.ah-item p {
  color: var(--muted);
}

.hr-counter {
  background: rgba(92, 21, 90, .06);
  border-color: rgba(92, 21, 90, .12);
}

.hrc-label {
  color: var(--mauve);
}

.side-social a {
  background: rgba(255, 255, 255, .4);
  border-color: rgba(92, 21, 90, .15);
  color: var(--royal);
}

.side-social a:hover {
  background: var(--plum);
  color: #fff;
  border-color: transparent;
}

.ss-line {
  background: rgba(92, 21, 90, .15);
}



.btt {
  color: #fff;
}

/* Transition for theme change */
body,
.about,
.services,
.clients-section,
.vision,
.team,
.contact,
.footer,
.srv-card,
.team-card,
.contact-card,
.vm-panel,
.client-logo-item,
.ah-item,
.tc-info-row,
.hr-counter,
#header,
.hd-brand,
.nm-link,
.sec-title,
strong {
  transition: background .4s var(--ease), color .4s var(--ease), border-color .4s var(--ease), box-shadow .4s var(--ease);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--f-main);
  background: var(--surface);
  color: var(--text);
  overflow-x: hidden;
  cursor: default;
}

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

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

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

ul {
  list-style: none;
}

strong {
  color: var(--white);
}

/* ── Custom Cursor ────────────────────────────────────── 
#cursor-dot {
  width: 8px;
  height: 8px;
  background: var(--royal);
  border-radius: 50%;
  position: fixed;
  pointer-events: none;
  z-index: 10000;
  transform: translate(-50%, -50%);
  transition: width .2s, height .2s, background .2s;
}

#cursor-dot {
  background: var(--plum);
}

#cursor-ring {
  width: 36px;
  height: 36px;
  border: 1.5px solid rgba(92, 21, 90, .7);
  border-radius: 50%;
  position: fixed;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: width .3s, height .3s, border-color .3s, opacity .3s;
  opacity: .6;
}

.cursor-active #cursor-dot {
  width: 14px;
  height: 14px;
  background: var(--mauve);
}

.cursor-active #cursor-ring {
  width: 52px;
  height: 52px;
  opacity: .3;
  border-color: var(--mauve);
}

@media (pointer: coarse) {

  #cursor-dot,
  #cursor-ring {
    display: none;
  }

  body {
    cursor: auto;
  }
}
*/
/* ── Preloader ────────────────────────────────────────── */
#preloader {
  position: fixed;
  inset: 0;
  z-index: 11000;
  background: var(--plum);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity .7s ease, visibility .7s ease;
}

#preloader.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.pre-inner {
  text-align: center;
}

.pre-logo {
  display: flex;
  justify-content: center;
  margin-bottom: 12px;
}

.pre-badge-logo {
  width: 120px;
  height: auto;
  position: relative;
  animation: pre-float 2s ease-in-out infinite;
  object-fit: contain;
}

@keyframes pre-float {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-8px);
  }
}

.pre-tag {
  font-size: .8rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .5);
  margin-bottom: 20px;
}

.pre-progress {
  width: 180px;
  height: 2px;
  background: rgba(255, 255, 255, .1);
  border-radius: 4px;
  overflow: hidden;
  margin: 0 auto;
}

.pre-fill {
  height: 100%;
  background: var(--royal);
  width: 0;
  animation: pre-load 2s ease-in-out forwards;
}

@keyframes pre-load {
  to {
    width: 100%;
  }
}

/* ── Header ───────────────────────────────────────────── */
#header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9100;
  height: var(--nav-h);
  transition: background .4s, backdrop-filter .4s, box-shadow .4s;
}

#header.scrolled {
  background: var(--header-bg);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  box-shadow: var(--header-shadow);
}

.hd-inner {
  max-width: 1320px;
  margin: 0 auto;
  height: 100%;
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.hd-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* ── Logo Badge — Appears in Header & Footer ── */
.hd-badge {
  width: 52px;
  height: auto;
  position: relative;
  object-fit: contain;
}

.hd-brand {
  font-size: .82rem;
  line-height: 1.3;
  color: var(--white);
}

.hd-brand strong {
  font-weight: 700;
}

.hd-brand span {
  display: block;
  font-weight: 300;
  opacity: .7;
}

/* Nav links */
#nav-menu {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nm-link {
  padding: 8px 16px;
  font-size: .88rem;
  font-weight: 500;
  color: var(--overlay-text);
  border-radius: var(--r-full);
  position: relative;
  transition: color .3s, background .3s;
}

.nm-link::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--royal);
  border-radius: 1px;
  transition: width .3s, left .3s;
}

.nm-link:hover,
.nm-link.active {
  color: var(--nav-active);
}

.nm-link:hover::after,
.nm-link.active::after {
  width: 60%;
  left: 20%;
}

.nm-cta {
  background: var(--grad);
  color: var(--white) !important;
  padding: 10px 24px;
  font-weight: 600;
  box-shadow: 0 4px 20px rgba(92, 21, 90, .5);
  border: none;
}

.nm-cta::after {
  display: none;
}

.nm-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(92, 21, 90, .6);
}

/* ── Theme Toggle ─────────────────────────────────────── */
.theme-toggle {
  width: 42px;
  height: 42px;
  background: rgba(92, 21, 90, .15);
  border: 1.5px solid rgba(92, 21, 90, .2);
  border-radius: 50%;
  display: grid;
  place-items: center;
  /* cursor: pointer; */
  color: var(--royal);
  font-size: 1rem;
  transition: .3s var(--ease);
  position: relative;
  margin-left: 8px;
  flex-shrink: 0;
}

.theme-toggle:hover {
  background: var(--grad);
  color: #fff;
  border-color: transparent;
  transform: rotate(15deg) scale(1.05);
  box-shadow: var(--sh-glow);
}

/* Light icon visible in dark mode, dark icon visible in light mode */
.theme-icon-dark {
  display: none;
}

.theme-icon-light {
  display: block;
}

.theme-icon-dark {
  display: block;
}

.theme-icon-light {
  display: none;
}

.theme-toggle {
  background: rgba(92, 21, 90, .08);
  border-color: rgba(92, 21, 90, .15);
  color: var(--royal);
}

/* Menu toggle */
.menu-toggle {
  display: none;
  width: 36px;
  height: 36px;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  gap: 7px;
  align-items: flex-end;
}

.mt-line {
  display: block;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform .35s var(--ease), width .35s var(--ease), opacity .25s;
}

/* On initial load the header has no .scrolled class — hero is always dark,
   so hamburger lines must always be white over it */
#header:not(.scrolled) .mt-line {
  background: #ffffff !important;
}

.mt-line:nth-child(1) {
  width: 28px;
}

.mt-line:nth-child(2) {
  width: 20px;
}

.menu-toggle.open .mt-line {
  background: #ffffff !important;
}

.menu-toggle.open .mt-line:nth-child(1) {
  transform: translateY(4.5px) rotate(45deg);
  width: 24px;
}

.menu-toggle.open .mt-line:nth-child(2) {
  transform: translateY(-4.5px) rotate(-45deg);
  width: 24px;
}

/* ── Side Social ──────────────────────────────────────── */
.side-social {
  position: fixed;
  right: 28px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 800;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.ss-line {
  width: 1px;
  height: 40px;
  background: rgba(255, 255, 255, .12);
}

.side-social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(13, 10, 15, .4);
  border: 1px solid rgba(255, 255, 255, .15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .95rem;
  color: #fff;
  transition: all .3s;
  backdrop-filter: blur(4px);
}

.side-social a:hover {
  background: var(--grad);
  border-color: transparent;
  transform: scale(1.15);
  box-shadow: var(--sh-glow);
  color: #fff;
}

/* ── Buttons ──────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 34px;
  border-radius: var(--r-full);
  font-family: var(--f-main);
  font-size: .92rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: transform .35s var(--ease), box-shadow .35s, background .35s;
}

.btn-glow {
  background: var(--grad-glow);
  color: #fff;
  box-shadow: 0 6px 28px rgba(92, 21, 90, .45);
}

.btn-glow:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 42px rgba(92, 21, 90, .6);
}

.btn-line {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255, 255, 255, .3);
}

/* Hero always has a dark overlay — keep btn-line clearly white regardless of theme */
.hero .btn-line {
  color: #ffffff;
  border-color: rgba(255, 255, 255, .45);
}

.hero .btn-line:hover {
  border-color: #ffffff;
  background: rgba(255, 255, 255, .12);
}

.btn-line:hover {
  border-color: var(--white);
  background: rgba(255, 255, 255, .06);
  transform: translateY(-3px);
}

.btn-full {
  width: 100%;
  justify-content: center;
}

/* ── HERO ─────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: hero-drift 18s ease-in-out infinite alternate;
}

@keyframes hero-drift {
  from {
    transform: scale(1.02);
  }

  to {
    transform: scale(1.1);
  }
}

.hero-grain {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(160deg, rgba(13, 10, 15, .93) 0%, rgba(60, 24, 48, .72) 45%, rgba(92, 21, 90, .5) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 90%;
  max-width: 1320px;
  margin: 0 auto;
  padding-top: calc(var(--nav-h) + 60px);
  padding-bottom: 100px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 60px;
}

.hero-left {
  max-width: 660px;
}

.h-label {
  display: inline-block;
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: 3.5px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .45);
  margin-bottom: 28px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, .12);
}

.h-title {
  font-family: var(--f-main);
  font-size: clamp(2.8rem, 5.5vw, 4.8rem);
  font-weight: 800;
  line-height: 1.05;
  color: #fff;
  margin-bottom: 24px;
}

.h-accent {
  font-family: var(--f-kai);
  font-style: normal;
  background: linear-gradient(90deg, #d69ed4, #f0c4ee, #fff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.h-sub {
  font-family: var(--f-serif);
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  color: rgba(255, 255, 255, .6);
  max-width: 500px;
  line-height: 1.8;
  margin-bottom: 40px;
}

.h-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* Hero right — counter stack */
.hero-right {
  flex-shrink: 0;
}

.hr-counter {
  display: flex;
  flex-direction: column;
  gap: 32px;
  padding: 36px 40px;
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: var(--r-lg);
  backdrop-filter: blur(16px);
}

.hrc-item {
  display: flex;
  align-items: flex-end;
  gap: 14px;
}

.hrc-num {
  font-family: var(--f-kai);
  font-size: 2.6rem;
  font-weight: 800;
  line-height: 1;
  background: linear-gradient(90deg, #d69ed4, #fff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hrc-label {
  font-size: .72rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, .45);
  letter-spacing: .5px;
  text-transform: uppercase;
}

/* Hero scroll cue */
.hero-scroll-cue {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.hsc-dot {
  width: 18px;
  height: 30px;
  border: 1.5px solid rgba(255, 255, 255, .3);
  border-radius: 20px;
  position: relative;
}

.hsc-dot::after {
  content: '';
  width: 3px;
  height: 6px;
  background: var(--royal);
  border-radius: 2px;
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  animation: scroll-dot 2s ease-in-out infinite;
}

@keyframes scroll-dot {

  0%,
  100% {
    top: 6px;
    opacity: 1
  }

  100% {
    top: 18px;
    opacity: 0
  }
}

.hero-scroll-cue span {
  font-size: .65rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .3);
}

/* ── Section tokens ────────────────────────────────────── */
.sec-pad {
  padding: 110px 0;
}

.wrapper {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

.sec-eyebrow {
  display: inline-block;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--royal);
  margin-bottom: 14px;
}

.sec-title {
  font-size: clamp(1.9rem, 3.5vw, 2.8rem);
  font-weight: 800;
  line-height: 1.1;
  color: var(--heading);
  margin-bottom: 20px;
}

.sec-desc {
  font-size: 1rem;
  color: var(--muted);
  max-width: 520px;
}

.sec-body {
  font-size: .97rem;
  line-height: 1.8;
  color: var(--text);
  margin-bottom: 18px;
}

.sec-head {
  margin-bottom: 60px;
}

.sec-head .sec-desc {
  margin: 0 auto;
}

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

/* ── Animations ────────────────────────────────────────── */
.anim-reveal,
.anim-slide-left,
.anim-slide-right {
  opacity: 0;
  transition: opacity .85s var(--ease), transform .85s var(--ease);
}

.anim-reveal {
  transform: translateY(50px);
}

.anim-slide-left {
  transform: translateX(70px);
}

.anim-slide-right {
  transform: translateX(-70px);
}

.in-view {
  opacity: 1 !important;
  transform: none !important;
}

.d1 {
  transition-delay: .15s !important;
}

.d2 {
  transition-delay: .3s !important;
}

.d3 {
  transition-delay: .45s !important;
}

/* ── ABOUT ────────────────────────────────────────────── */
.about {
  background: var(--card);
}

.about-layout {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 80px;
  align-items: center;
}

.about-visual {
  position: relative;
}

.av-frame {
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--sh-md);
  position: relative;
}

.av-frame img {
  width: 100%;
  height: 460px;
  object-fit: cover;
  transition: transform .8s var(--ease);
}

.av-frame:hover img {
  transform: scale(1.04);
}

.av-frame:hover .ac-img.active {
  transform: scale(1.04);
}

.av-tag {
  position: absolute;
  bottom: 24px;
  left: -20px;
  background: var(--grad);
  color: #fff;
  border-radius: var(--r-md);
  padding: 14px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: .82rem;
  font-weight: 600;
  box-shadow: var(--sh-glow);
  animation: tag-float 4s ease-in-out infinite;
}

.av-tag i {
  font-size: 1.3rem;
}

@keyframes tag-float {

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

  50% {
    transform: translateY(-6px)
  }
}

.av-year {
  position: absolute;
  top: -16px;
  right: -16px;
  width: 80px;
  height: 80px;
  background: var(--royal);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: var(--sh-glow);
}

.av-year strong {
  font-family: var(--f-kai);
  font-size: 1.6rem;
  color: #fff !important;
  line-height: 1;
}

.av-year span {
  font-size: .6rem;
  color: rgba(255, 255, 255, .7);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.about-highlights {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 32px;
}

.ah-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 16px;
  border-radius: var(--r-md);
  border: 1px solid var(--card-border);
  background: var(--glass);
  transition: .4s var(--ease);
}

.ah-item:hover {
  border-color: var(--card-border-hover);
  background: var(--card-bg-hover);
  transform: translateX(6px);
}

.ah-icon {
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  background: var(--grad);
  border-radius: var(--r-sm);
  display: grid;
  place-items: center;
  color: #fff;
  font-size: .95rem;
}

.ah-item strong {
  display: block;
  margin-bottom: 2px;
}

.ah-item p {
  font-size: .85rem;
  color: var(--muted);
  margin: 0;
}

/* ── SERVICES ─────────────────────────────────────────── */
.services {
  background: var(--surface);
}

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

.srv-card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--r-lg);
  padding: 36px 28px;
  position: relative;
  overflow: hidden;
  transition: .4s var(--ease);
}

.srv-card:hover {
  transform: translateY(-8px);
  border-color: var(--royal);
  box-shadow: var(--sh-glow), var(--sh-md);
}

.srv-idx {
  position: absolute;
  top: 16px;
  right: 20px;
  font-family: var(--f-kai);
  font-size: 3.2rem;
  font-weight: 800;
  color: rgba(92, 21, 90, .06);
  line-height: 1;
}

.srv-icon {
  width: 52px;
  height: 52px;
  background: rgba(92, 21, 90, .15);
  border-radius: var(--r-md);
  display: grid;
  place-items: center;
  font-size: 1.2rem;
  color: var(--royal);
  margin-bottom: 22px;
  transition: .4s;
}

.srv-card:hover .srv-icon {
  background: var(--grad);
  color: #fff;
  box-shadow: var(--sh-glow);
}

.srv-card h3 {
  font-size: 1.05rem;
  color: var(--heading);
  margin-bottom: 12px;
}

.srv-card p {
  font-size: .88rem;
  color: var(--muted);
}

.srv-hover-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--grad);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .5s var(--ease);
}

.srv-card:hover .srv-hover-bar {
  transform: scaleX(1);
}

/* ── CLIENTS CAROUSEL ─────────────────────────────────── */
.clients-section {
  background: var(--card);
  padding: 80px 0;
  overflow: hidden;
}

.clients-carousel {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
}

.carousel-track {
  display: flex;
  gap: 32px;
  animation: carousel-scroll 30s linear infinite;
  width: max-content;
}

.carousel-track:hover {
  animation-play-state: paused;
}

@keyframes carousel-scroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

.client-logo-item {
  flex-shrink: 0;
  width: 180px;
  height: 110px;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-md);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: .4s var(--ease);
  cursor: default;
  padding: 16px;
}

.client-logo-item:hover {
  border-color: var(--royal);
  background: var(--card-bg-hover);
  transform: translateY(-4px);
  box-shadow: var(--sh-glow);
}

.client-logo-item i {
  font-size: 1.6rem;
  color: var(--royal);
  transition: .3s;
}

.client-logo-item:hover i {
  color: #d69ed4;
  transform: scale(1.15);
}

.client-logo-item img.cl-img {
  max-width: 100px;
  max-height: 50px;
  object-fit: contain;
  transition: transform .3s;
}

.client-logo-item:hover img.cl-img {
  transform: scale(1.15);
}

.client-logo-item span {
  font-size: .78rem;
  color: var(--text);
  text-align: center;
  line-height: 1.4;
  font-weight: 500;
}

.client-logo-item small {
  color: var(--muted);
  font-weight: 400;
}

/* ── VISION ───────────────────────────────────────────── */
.vision {
  position: relative;
  overflow: hidden;
}

.vision-backdrop {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, var(--plum), #1a0a18 60%, var(--surfac));
}

.vm-panels {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 32px;
  align-items: stretch;
}

.vm-panel {
  flex: 1;
  padding: 56px 44px;
  background: var(--glass);
  backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-lg);
  transition: .4s var(--ease);
}

.vm-panel:hover {
  background: rgba(255, 255, 255, .06);
  transform: translateY(-4px);
}

.vm-divider {
  display: none;
}

.vmp-icon {
  width: 56px;
  height: 56px;
  background: var(--grad);
  border-radius: var(--r-md);
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 1.3rem;
  margin-bottom: 24px;
  box-shadow: var(--sh-glow);
}

.vm-panel h2 {
  font-size: 1.7rem;
  color: var(--heading);
  margin-bottom: 20px;
}

.vm-panel p {
  color: var(--text);
  font-size: .95rem;
  line-height: 1.8;
  margin-bottom: 20px;
  opacity: .8;
}

.vm-panel blockquote {
  font-family: var(--f-kai);
  font-size: 1.15rem;
  color: #d69ed4;
  border-left: 3px solid var(--royal);
  padding-left: 16px;
  font-style: italic;
}

.vm-checks {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.vm-checks li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-size: .9rem;
  opacity: .8;
}

.vm-checks i {
  color: #7cfc88;
  font-size: .9rem;
  flex-shrink: 0;
}

/* ── TEAM — CONTACT CARDS ─────────────────────────────── */
.team {
  background: var(--surface);
}

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

.team-card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--r-lg);
  padding: 36px 24px;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: .4s var(--ease);
}

.team-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--grad);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .5s var(--ease);
}

.team-card:hover {
  transform: translateY(-8px);
  border-color: var(--royal);
  box-shadow: var(--sh-glow), var(--sh-md);
}

.team-card:hover::before {
  transform: scaleX(1);
}

.tc-avatar {
  width: 80px;
  height: 80px;
  background: var(--grad);
  border-radius: 50%;
  display: grid;
  place-items: center;
  margin: 0 auto 20px;
  font-size: 1.8rem;
  color: #fff;
  box-shadow: var(--sh-glow);
  transition: .4s var(--ease);
  overflow: hidden;
}

.tc-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-card:hover .tc-avatar {
  transform: scale(1.08);
  box-shadow: 0 0 50px rgba(92, 21, 90, .6);
}

.tc-name {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--heading);
  margin-bottom: 6px;
}

.tc-role {
  font-size: .82rem;
  color: var(--royal);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.tc-divider {
  width: 40px;
  height: 2px;
  background: var(--grad);
  margin: 18px auto;
  border-radius: 2px;
}

.tc-info {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.tc-info-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border-radius: var(--r-sm);
  background: var(--glass);
  border: 1px solid var(--card-border);
  transition: .3s var(--ease);
  font-size: .82rem;
  color: var(--text);
}

.tc-info-row:hover {
  background: var(--card-bg-hover);
  border-color: var(--royal);
  color: var(--heading);
}

.tc-info-row i {
  color: var(--royal);
  font-size: .85rem;
  flex-shrink: 0;
  width: 16px;
  text-align: center;
}

.tc-info-row span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* ── CONTACT — CARD GRID (no form) ───────────────────── */
.contact {
  background: var(--card);
  position: relative;
  overflow: hidden;
}

.contact-cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  max-width: 760px;
  margin: 0 auto;
  gap: 24px;
}

.contact-card {
  background: var(--glass);
  border: 1px solid var(--card-border);
  border-radius: var(--r-lg);
  padding: 40px 28px;
  text-align: center;
  transition: .4s var(--ease);
  display: block;
}

.contact-card:hover {
  transform: translateY(-8px);
  border-color: var(--royal);
  box-shadow: var(--sh-glow), var(--sh-md);
}

.cc-icon {
  width: 64px;
  height: 64px;
  background: var(--grad);
  border-radius: 50%;
  display: grid;
  place-items: center;
  margin: 0 auto 20px;
  font-size: 1.4rem;
  color: #fff;
  box-shadow: var(--sh-glow);
  transition: .4s var(--ease);
}

.contact-card:hover .cc-icon {
  transform: scale(1.1);
  box-shadow: 0 0 50px rgba(92, 21, 90, .6);
}

.contact-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--heading);
  margin-bottom: 10px;
}

.contact-card p {
  font-size: .88rem;
  color: var(--muted);
  line-height: 1.6;
}

.light-text {
  color: var(--white);
}

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

/* ── FOOTER ───────────────────────────────────────────── */
.footer {
  background: var(--plum);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1.2fr;
  gap: 48px;
  padding: 70px 0 50px;
  border-bottom: 1px solid rgba(255, 255, 255, .06);
}

.ft-brand p {
  margin-top: 14px;
  font-size: .85rem;
  color: rgba(255, 255, 255, .4);
  line-height: 1.7;
}

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

.footer .hd-brand span {
  color: rgba(255, 255, 255, .7);
}

.footer h4 {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .3);
  margin-bottom: 20px;
}

.ft-links ul,
.ft-services ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ft-links a {
  color: rgba(255, 255, 255, .55);
  font-size: .88rem;
  transition: color .3s;
}

.ft-links a:hover {
  color: #fff;
}

.ft-services li {
  color: rgba(255, 255, 255, .55);
  font-size: .88rem;
}

.ft-contact p {
  font-size: .88rem;
  color: rgba(255, 255, 255, .55);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.ft-contact i {
  color: var(--royal);
  font-size: .85rem;
}

.ft-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 0;
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  font-size: .78rem;
  color: rgba(255, 255, 255, .25);
}

.ft-bottom i {
  color: #e86b6b;
}

/* ── Back to top ──────────────────────────────────────── */
.btt {
  position: fixed;
  bottom: 32px;
  right: 32px;
  z-index: 800;
  width: 46px;
  height: 46px;
  background: var(--grad);
  color: #fff;
  border: none;
  border-radius: 50%;
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: var(--sh-glow);
  transition: .35s var(--ease);
  opacity: 0;
  transform: translateY(20px);
}

.btt:not([hidden]) {
  opacity: 1;
  transform: none;
}

.btt:hover {
  transform: translateY(-4px);
  box-shadow: 0 0 50px rgba(92, 21, 90, .6);
}

/* ══════════════════════════════════════════════════════════
   RESPONSIVE — Tablet
   ══════════════════════════════════════════════════════════ */
@media (max-width: 1100px) {
  .srv-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

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

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

  .hd-inner {
    padding: 0 24px;
  }
}

/* ══════════════════════════════════════════════════════════
   RESPONSIVE — Small Tablet / Large Phone
   ══════════════════════════════════════════════════════════ */
@media (max-width: 900px) {
  .sec-pad {
    padding: 80px 0;
  }

  /* NAV — mobile full-screen overlay */
  #nav-menu {
    position: fixed;
    inset: 0;
    height: 100%;
    background: rgba(15, 8, 20, 0.98);
    backdrop-filter: blur(28px);
    -webkit-backdrop-filter: blur(28px);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 100px 32px 48px;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-16px);
    transition: opacity .4s var(--ease), transform .4s var(--ease);
    z-index: 8999;
    overflow-y: auto;
  }

  #nav-menu.open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .menu-toggle {
    display: flex;
    z-index: 9001;
    position: relative;
  }

  .nm-link {
    font-size: 1.2rem;
    font-weight: 600;
    padding: 16px 24px;
    width: 100%;
    max-width: 320px;
    border-radius: var(--r-md);
    text-align: center;
    color: rgba(255, 255, 255, 0.75) !important;
    letter-spacing: 0.5px;
  }

  .nm-link:hover,
  .nm-link.active {
    background: rgba(92, 21, 90, 0.25) !important;
    color: #ffffff !important;
  }

  .nm-cta {
    margin-top: 16px;
    text-align: center;
    justify-content: center;
    width: 100%;
    max-width: 320px;
    font-size: 1rem;
  }

  /* Theme toggle on mobile */
  .theme-toggle {
    width: 38px;
    height: 38px;
    font-size: .9rem;
  }

  /* HERO */
  .hero-content {
    flex-direction: column;
    align-items: flex-start;
    padding-bottom: 100px;
    gap: 40px;
  }

  .hero-right {
    width: 100%;
  }

  .hr-counter {
    flex-direction: row;
    justify-content: space-around;
  }

  .h-title {
    font-size: clamp(2.2rem, 7vw, 3.4rem);
  }

  .h-sub {
    font-size: 1rem;
  }

  .h-label {
    font-size: .65rem;
    letter-spacing: 2.5px;
  }

  /* ABOUT */
  .about-layout {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .about-visual {
    order: -1;
  }

  .av-frame img {
    height: 300px;
  }

  .av-tag {
    left: 16px;
    bottom: 16px;
  }

  .av-year {
    top: -10px;
    right: -10px;
    width: 64px;
    height: 64px;
  }

  .av-year strong {
    font-size: 1.3rem;
  }

  /* VISION */
  .vm-panels {
    flex-direction: column;
  }

  .vm-panel:first-child {
    border-radius: var(--r-lg) var(--r-lg) 0 0;
  }

  .vm-panel:last-child {
    border-radius: 0 0 var(--r-lg) var(--r-lg);
  }

  .vm-divider {
    width: 100%;
    height: 1px;
  }

  /* CLIENTS */
  .clients-section {
    padding: 60px 0;
  }

  .client-logo-item {
    width: 150px;
    height: 100px;
  }

  /* MISC */
  .side-social {
    display: none;
  }
}

/* ══════════════════════════════════════════════════════════
   RESPONSIVE — Mobile
   ══════════════════════════════════════════════════════════ */
@media (max-width: 640px) {
  .sec-pad {
    padding: 60px 0;
  }

  .wrapper {
    width: 92%;
  }

  /* HERO */
  .hero {
    min-height: 100svh;
  }

  .hero-content {
    padding-top: calc(var(--nav-h) + 32px);
    padding-bottom: 80px;
  }

  .h-label {
    margin-bottom: 18px;
    padding-bottom: 8px;
  }

  .h-title {
    font-size: clamp(1.8rem, 9vw, 2.6rem);
    margin-bottom: 16px;
  }

  .h-sub {
    font-size: .92rem;
    margin-bottom: 28px;
    max-width: 100%;
  }

  .h-actions {
    flex-direction: column;
    width: 100%;
    gap: 12px;
  }

  .h-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .hero-scroll-cue {
    display: none;
  }

  .hr-counter {
    flex-direction: column;
    gap: 20px;
    padding: 24px 20px;
  }

  .hrc-num {
    font-size: 2rem;
  }

  .hrc-item {
    gap: 10px;
  }

  /* ABOUT */
  .av-frame img {
    height: 220px;
  }

  .av-tag {
    position: relative;
    left: auto;
    bottom: auto;
    margin-top: 12px;
    display: inline-flex;
  }

  .av-year {
    width: 56px;
    height: 56px;
    top: -8px;
    right: -8px;
  }

  .av-year strong {
    font-size: 1.1rem;
  }

  .about-highlights {
    gap: 12px;
  }

  .ah-item {
    padding: 12px;
  }

  .ah-icon {
    width: 36px;
    height: 36px;
    font-size: .85rem;
  }

  .sec-title {
    font-size: clamp(1.5rem, 6vw, 2rem);
  }

  /* SERVICES */
  .srv-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .srv-card {
    padding: 28px 22px;
  }

  /* CLIENTS CAROUSEL */
  .clients-section {
    padding: 48px 0;
  }

  .client-logo-item {
    width: 130px;
    height: 90px;
    padding: 12px;
  }

  .client-logo-item i {
    font-size: 1.3rem;
  }

  .client-logo-item span {
    font-size: .7rem;
  }

  .carousel-track {
    gap: 20px;
  }

  /* VISION */
  .vm-panel {
    padding: 36px 24px;
  }

  .vm-panel h2 {
    font-size: 1.4rem;
  }

  .vm-panel blockquote {
    font-size: 1rem;
  }

  /* TEAM */
  .team-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .team-card {
    padding: 28px 20px;
  }

  .tc-avatar {
    width: 64px;
    height: 64px;
    font-size: 1.4rem;
    margin-bottom: 16px;
  }

  .tc-name {
    font-size: .95rem;
  }

  .tc-role {
    font-size: .75rem;
  }

  .tc-info-row {
    font-size: .78rem;
    padding: 7px 10px;
  }

  /* CONTACT CARDS */
  .contact-cards-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .contact-card {
    padding: 30px 20px;
  }

  .cc-icon {
    width: 54px;
    height: 54px;
    font-size: 1.2rem;
  }

  /* FOOTER */
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .ft-bottom {
    flex-direction: column;
    gap: 6px;
    text-align: center;
  }

  /* BUTTONS */
  .btn {
    padding: 13px 26px;
    font-size: .88rem;
  }

  /* Hide cursor on touch 
  #cursor-dot,
  #cursor-ring {
    display: none !important;
  }
  */
  body {
    cursor: auto;
  }
}


@media (max-width: 380px) {
  .h-title {
    font-size: 1.5rem;
  }

  .h-label {
    font-size: .6rem;
  }

  .sec-title {
    font-size: 1.3rem;
  }

  .hd-inner {
    padding: 0 16px;
  }

  .hd-badge {
    width: 36px;
    height: 36px;
  }

  .badge-s {
    font-size: 1rem;
    top: -4px;
  }

  .badge-e {
    font-size: .82rem;
  }

  .hd-brand {
    font-size: .75rem;
  }

  /* TEAM extra small */
  .tc-info-row {
    font-size: .72rem;
  }

  .team-card {
    padding: 22px 16px;
  }

  /* CLIENTS */
  .client-logo-item {
    width: 110px;
    height: 80px;
  }

  .client-logo-item i {
    font-size: 1.1rem;
  }

  .client-logo-item span {
    font-size: .65rem;
  }
}



/* ===========================================================
   ABOUT CAROUSEL
   =========================================================== */

#about-carousel {
  position: relative;
  overflow: hidden;
  height: 460px;
}

#about-carousel .ac-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1s ease-in-out, transform 0.8s var(--ease);
}

#about-carousel .ac-img.active {
  opacity: 1;
  position: absolute;
}

@media (max-width: 900px) {
  #about-carousel { height: 300px; }
}

@media (max-width: 640px) {
  #about-carousel { height: 220px; }
}
