
:root {
  --bg: #05060b;
  --bg-soft: #0a0b12;
  --bg-deep: #030409;
  --surface: rgba(255, 255, 255, 0.05);
  --surface-strong: rgba(255, 255, 255, 0.09);
  --border: rgba(255, 255, 255, 0.1);
  --text: #ffffff;
  --muted: #aeb4ca;
  --muted-strong: #d3d7e8;
  --purple: #8b5cf6;
  --purple-2: #a855f7;
  --purple-3: #d8b4fe;
  --purple-4: #ede9fe;
  --shadow: 0 28px 70px rgba(0, 0, 0, 0.42);
  --shadow-soft: 0 14px 40px rgba(0, 0, 0, 0.28);
  --radius-lg: 32px;
  --radius-md: 24px;
  --radius-sm: 18px;
  --max-width: 1360px;
  --heading-font: "Outfit", "Inter", sans-serif;
  --body-font: "Inter", sans-serif;
}

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

html { scroll-behavior: smooth; }

::selection {
  background: rgba(168, 85, 247, 0.35);
  color: #fff;
}

body {
  font-family: var(--body-font);
  min-height: 100vh;
  background:
    radial-gradient(circle at top left, rgba(168, 85, 247, 0.18), transparent 22%),
    radial-gradient(circle at 82% 12%, rgba(139, 92, 246, 0.14), transparent 20%),
    linear-gradient(180deg, #07070d 0%, #05060b 48%, #080812 100%);
  color: var(--text);
  overflow-x: hidden;
  cursor: none;
  letter-spacing: -0.01em;
  padding-top: 0;
}

body.menu-open { overflow: hidden; }

a { text-decoration: none; }
img { width: 100%; display: block; }
button, input, textarea { font: inherit; }
button { border: none; background: none; }

h1, h2, h3, h4, .brand, .btn, .eyebrow {
  font-family: var(--heading-font);
  letter-spacing: -0.03em;
}

p {
  text-wrap: pretty;
}

section[id],
header[id],
.subpage-hero[id] {
  scroll-margin-top: 8rem;
}

.scroll-progress {
  position: fixed;
  inset: 0 auto auto 0;
  width: 0;
  height: 3px;
  z-index: 3200;
  background: linear-gradient(90deg, var(--purple), var(--purple-3));
  box-shadow: 0 0 20px rgba(139, 92, 246, 0.55);
}

.noise {
  position: fixed;
  inset: 0;
  z-index: -1;
  opacity: 0.06;
  pointer-events: none;
  background-image:
    radial-gradient(circle at 20% 20%, rgba(255,255,255,0.16) 0 0.8px, transparent 1px),
    radial-gradient(circle at 80% 70%, rgba(255,255,255,0.12) 0 0.7px, transparent 1px);
  background-size: 160px 160px, 140px 140px;
  animation: grain 12s linear infinite;
}

.site-loader {
  position: fixed;
  inset: 0;
  background: rgba(5, 6, 11, 0.96);
  display: grid;
  place-items: center;
  gap: 0.75rem;
  z-index: 3000;
  transition: opacity 0.45s ease, visibility 0.45s ease;
}

.site-loader.hidden { opacity: 0; visibility: hidden; }

.loader__core {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.08);
  border-top-color: var(--purple-3);
  box-shadow: 0 0 32px rgba(139, 92, 246, 0.3);
  animation: spin 1s linear infinite;
}

.site-loader p {
  color: var(--muted);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.85rem;
}

#particles-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -3;
}

.ambient {
  position: fixed;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.45;
  pointer-events: none;
  z-index: -2;
  will-change: transform;
}

.ambient--one {
  width: 240px;
  height: 240px;
  top: 12%;
  left: -50px;
  background: rgba(139, 92, 246, 0.18);
  animation: floatBlob 10s ease-in-out infinite;
}

.ambient--two {
  width: 300px;
  height: 300px;
  right: -80px;
  top: 18%;
  background: rgba(168, 85, 247, 0.16);
  animation: floatBlob 12s ease-in-out infinite reverse;
}

.ambient--three {
  width: 260px;
  height: 260px;
  bottom: 6%;
  left: 45%;
  background: rgba(192, 132, 252, 0.12);
  animation: floatBlob 14s ease-in-out infinite;
}

.cursor,
.cursor-follower {
  position: fixed;
  top: 0;
  left: 0;
  border-radius: 50%;
  pointer-events: none;
  transform: translate(-50%, -50%);
  z-index: 5000;
  opacity: 1;
  visibility: visible;
}

.cursor {
  width: 8px;
  height: 8px;
  background: #fff;
}

.cursor-follower {
  width: 34px;
  height: 34px;
  background: rgba(139, 92, 246, 0.12);
  border: 1px solid rgba(216, 180, 254, 0.45);
  box-shadow: 0 0 24px rgba(139, 92, 246, 0.22);
  transition: width 0.25s ease, height 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}

.cursor-follower.active {
  width: 56px;
  height: 56px;
  background: rgba(139, 92, 246, 0.18);
  border-color: rgba(216, 180, 254, 0.7);
}

.section,
.nav {
  width: min(var(--max-width), calc(100% - 0.5rem));
  margin-inline: auto;
}

.section {
  padding: 6rem 0;
  position: relative;
  scroll-margin-top: 6.5rem;
}

.glass-shell,
.glass-panel {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.glass-panel,
.glass-shell {
  position: relative;
  overflow: hidden;
}

.glass-panel::after,
.glass-shell::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 15%, rgba(255,255,255,0.08) 50%, transparent 85%);
  transform: translateX(-130%);
  transition: transform 0.8s ease;
  pointer-events: none;
}

.glass-panel:hover::after,
.glass-shell:hover::after {
  transform: translateX(130%);
}

.hero-shell,
.subpage-hero {
  position: relative;
  min-height: 100svh;
  overflow: clip;
  padding-top: 6.2rem;
}

.nav {
  position: fixed;
  top: 0.35rem;
  left: 50%;
  transform: translateX(-50%);
  width: min(var(--max-width), calc(100% - 0.5rem));
  z-index: 2200;
  padding: 0.95rem 1.4rem;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background: rgba(7, 8, 14, 0.78);
  backdrop-filter: blur(18px);
  border: 1px solid rgba(255,255,255,0.09);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  color: var(--text);
  font-weight: 800;
  letter-spacing: 0.01em;
}

.brand__mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--purple), var(--purple-2));
  box-shadow: 0 0 24px rgba(139, 92, 246, 0.36);
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 3rem;
  list-style: none;
}

.nav__links a {
  color: var(--muted);
  font-size: 1.02rem;
  font-weight: 700;
  transition: color 0.3s ease, text-shadow 0.3s ease;
  position: relative;
  letter-spacing: 0.01em;
}

.nav__links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.45rem;
  width: 100%;
  height: 2px;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.3s ease;
  background: linear-gradient(90deg, transparent, var(--purple-3), transparent);
}

.nav__links a:hover,
.nav__links a.active {
  color: var(--text);
  text-shadow: 0 0 18px rgba(216, 180, 254, 0.5);
}

.nav__links a.active {
  color: #fff;
}

.nav__links a:hover::after,
.nav__links a.active::after {
  transform: scaleX(1);
}


.nav.scrolled {
  background: rgba(7, 8, 14, 0.92);
  border-color: rgba(255,255,255,0.12);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.3);
}

.nav__links a.active {
  color: #fff;
  text-shadow: 0 0 18px rgba(216, 180, 254, 0.5);
}

.nav__menu__btn {
  position: relative;
  z-index: 2305;
  -webkit-tap-highlight-color: transparent;
}

.nav__links {
  z-index: 2300;
}

.nav__menu__btn {
  display: none;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--border);
  color: var(--text);
  cursor: pointer;
}

.btn,
.filter-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.95rem 1.45rem;
  border-radius: 999px;
  border: 1px solid rgba(168, 85, 247, 0.32);
  color: #fff;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease, background 0.3s ease;
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.98), rgba(168, 85, 247, 0.8));
  box-shadow: 0 10px 34px rgba(139, 92, 246, 0.26);
  position: relative;
  isolation: isolate;
}

.btn::before,
.filter-btn::before {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(255,255,255,0.18), transparent 55%);
  z-index: -1;
}

.btn:hover,
.filter-btn:hover,
.filter-btn.active {
  transform: translateY(-3px);
  box-shadow: 0 0 30px rgba(139, 92, 246, 0.38), 0 12px 34px rgba(139, 92, 246, 0.2);
}

.btn--sm { padding: 0.82rem 1.2rem; }

.btn--ghost,
.filter-btn {
  background: rgba(255, 255, 255, 0.04);
}

.eyebrow {
  color: var(--purple-3);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.hero {
  min-height: calc(100svh - 7rem);
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  align-items: center;
  gap: 2.5rem;
}

.hero h1,
.subpage-hero__content h1,
.section__intro h2,
.cta__box h2,
.footer__top h2 {
  line-height: 0.98;
  font-weight: 700;
}

.hero h1 {
  font-size: clamp(1.7rem, 3vw, 2.95rem);
  max-width: 12ch;
  margin-bottom: 1.15rem;
}

.hero h1 span,
.subpage-hero__content h1 span {
  background: linear-gradient(135deg, #ffffff, var(--purple-3));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero__text,
.section__intro p,
.footer__copy,
.service-card p,
.about__points p,
.process-card p,
.insight-card p,
.form-note,
.form-status,
.subpage-hero__content p,
.project-modal__content p,
.team-card span {
  color: var(--muted);
  line-height: 1.82;
  font-size: 1rem;
}

.hero__text {
  max-width: 58ch;
  font-size: clamp(0.95rem, 1.2vw, 1rem);
}

.hero__actions,
.modal__actions,
.tag-row,
.portfolio__nav,
.footer__socials {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

.hero__actions { margin: 2rem 0; }

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

.stat,
.hero__grid,
.about__details,
.about__card,
.service-card,
.process-card,
.portfolio-card,
.team-card,
.insight-card,
.footer__quick,
.contact-form,
.cta__box,
.project-modal__dialog {
  border-radius: var(--radius-lg);
}

.stat { padding: 1.35rem; }

.stat strong {
  font-size: 2rem;
  display: block;
  margin-bottom: 0.35rem;
}

.hero__visual { position: relative; }

.hero__grid {
  padding: 1rem;
  position: relative;
  overflow: visible;
  min-height: 30rem;
  display: grid;
  place-items: center;
  background: transparent;
  border: 0;
  box-shadow: none;
  backdrop-filter: none;
}

.hero__grid::before,
.about__card::before,
.cta__box::before,
.project-modal__dialog::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(255,255,255,0.22), rgba(139,92,246,0.65), transparent 70%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
}

.hero__badge {
  display: none;
  align-items: center;
  align-items: center;
  gap: 0.6rem;
  width: fit-content;
  padding: 0.72rem 1rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 1rem;
}

.hero__badge i,
.about__points i,
.service-card span,
.process-card span {
  color: var(--purple-3);
}

.hero__logo-wrap {
  position: relative;
  width: min(100%, 32rem);
  min-height: 24rem;
  display: grid;
  place-items: center;
  isolation: isolate;
  overflow: visible;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.hero__logo-image {
  width: min(100%, 20.5rem);
  aspect-ratio: 1 / 1;
  object-fit: contain;
  position: relative;
  z-index: 3;
  filter: drop-shadow(0 20px 36px rgba(8, 10, 18, 0.42));
  animation: heroLogoFloat 7s ease-in-out infinite;
  will-change: transform;
}

.hero__logo-aura,
.hero__logo-ring,
.hero__logo-glint,
.hero__logo-wrap::before,
.hero__logo-wrap::after {
  display: none !important;
}

.hero__mini-grid,
.services__grid,
.process__grid,
.insights__grid,
.team__grid,
.portfolio__grid,
.about__points,
.form-grid {
  display: grid;
  gap: 1.25rem;
}

.hero__mini-grid {
  margin-top: 1.25rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (max-width: 768px) {
  .hero__logo-wrap { min-height: 22rem; width: 100%; }
  .hero__logo-image { width: min(100%, 18rem); }
}

.mini-card {
  padding: 1rem;
  border-radius: var(--radius-md);
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.07);
}

.mini-card small {
  color: var(--muted);
  display: block;
  margin-bottom: 0.35rem;
}

.about.section-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: start;
}

.about__content {
  display: grid;
  grid-template-columns: 0.84fr 1fr;
  gap: 1.5rem;
  align-items: stretch;
}

.about__card {
  overflow: hidden;
  padding: 1rem;
  position: relative;
  transform-style: preserve-3d;
}

.about__card img {
  border-radius: var(--radius-md);
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.about__details {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.35rem;
}

.about__lead {
  margin: 0;
  color: var(--muted-strong);
  font-size: 1.02rem;
  line-height: 1.9;
  max-width: 60ch;
}

.about__points {
  gap: 1.35rem;
}

.about__points article {
  padding: 1rem 1.05rem;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.about__points p {
  color: var(--muted-strong);
  line-height: 1.8;
  font-size: 0.98rem;
}

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

.about__stat {
  padding: 1rem;
  border-radius: 20px;
  background: rgba(255,255,255,0.035);
  border: 1px solid rgba(255,255,255,0.06);
}

.about__stat strong {
  display: block;
  margin-bottom: 0.45rem;
  font-size: 1rem;
  color: #fff;
}

.about__stat span {
  display: block;
  color: var(--muted);
  line-height: 1.7;
  font-size: 0.93rem;
}

.about__tags {
  margin-top: 0.15rem;
}

.about__points article {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 1rem;
  align-items: start;
}

.about__points i,
.service-card span {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: rgba(139, 92, 246, 0.16);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.04), 0 0 20px rgba(139, 92, 246, 0.14);
}

.about__points h3,
.service-card h3,
.process-card h3,
.insight-card h3,
.team-card h3,
.portfolio-card__content h3,
.project-modal__content h3 {
  margin-bottom: 0.45rem;
  font-size: 1.16rem;
}

.tag {
  padding: 0.74rem 1rem;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.04);
  border-radius: 999px;
  color: var(--muted-strong);
}

.section__intro,
.section__split { margin-bottom: 3rem; }

.section__intro {
  text-align: center;
  max-width: 58rem;
  margin-inline: auto;
}

.section__intro h2,
.subpage-hero__content h1 {
  font-size: clamp(2.15rem, 4vw, 3.55rem);
  margin-bottom: 1rem;
  max-width: 18ch;
}

.section__intro .eyebrow,
.section__intro h2,
.section__intro p {
  margin-inline: auto;
}

.section__intro p,
.subpage-hero__content p {
  max-width: 62ch;
}

.section__split {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  align-items: end;
}

.services__grid,
.process__grid,
.insights__grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.service-card,
.process-card,
.insight-card,
.team-card,
.contact-form,
.footer__quick,
.cta__box {
  padding: 1.6rem;
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease, background 0.35s ease;
}

.service-card span { margin-bottom: 1rem; }

.process-card span {
  display: inline-block;
  font-size: 2.1rem;
  font-weight: 900;
  margin-bottom: 0.85rem;
  text-shadow: 0 0 22px rgba(216, 180, 254, 0.42);
}

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

.portfolio__grid--featured .portfolio-card img { aspect-ratio: 4 / 3; }

.portfolio-card {
  overflow: hidden;
  position: relative;
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease, opacity 0.35s ease;
}

.portfolio-card img,
.team-card img {
  aspect-ratio: 1 / 1;
  object-fit: cover;
  transition: transform 0.45s ease, filter 0.45s ease;
}

.portfolio-card__content,
.team-card div {
  padding: 1rem 1rem 1.2rem;
}

.portfolio-card__content span,
.team-card p {
  display: inline-block;
  margin-bottom: 0.35rem;
  color: var(--purple-3);
}

.portfolio-card:hover,
.service-card:hover,
.process-card:hover,
.team-card:hover,
.insight-card:hover,
.footer__quick:hover,
.contact-form:hover,
.about__details:hover,
.stat:hover {
  transform: translateY(-8px);
  box-shadow: 0 0 34px rgba(139, 92, 246, 0.14), var(--shadow);
  border-color: rgba(216, 180, 254, 0.3);
}

.portfolio-card:hover img,
.team-card:hover img {
  transform: scale(1.05);
  filter: saturate(1.08) contrast(1.04);
}

.portfolio-card.hidden { display: none; }

.team__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.team__grid--page { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.team-card--large img { aspect-ratio: 4 / 3; }

.footer { padding-top: 2rem; }

.footer__top {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 2rem;
}

.footer__copy {
  max-width: 60ch;
  margin-bottom: 1.5rem;
}

.footer__quick {
  display: grid;
  gap: 1rem;
  align-content: start;
}

.footer__quick a,
.footer__socials a { color: var(--text); }

.footer__quick a {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
}

.footer__socials a {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
}

.footer__socials a:hover {
  background: rgba(139, 92, 246, 0.18);
  box-shadow: 0 0 24px rgba(139, 92, 246, 0.24);
}

.contact-form label {
  display: grid;
  gap: 0.55rem;
  margin-bottom: 1rem;
}

.contact-form span { font-weight: 600; }

.contact-form input,
.contact-form textarea {
  width: 100%;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.04);
  color: var(--text);
  padding: 1rem 1rem;
  outline: none;
  transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.25s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: rgba(216, 180, 254, 0.36);
  box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.12);
  transform: translateY(-1px);
}

.form-note,
.form-status {
  margin-top: 0.85rem;
  font-size: 0.92rem;
}

.footer__bar {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 1.25rem;
  text-align: center;
  color: var(--muted);
}

.compact-footer { padding-top: 0; }

.subpage-hero { min-height: 60vh; }

.subpage-hero__content {
  display: grid;
  align-content: end;
  min-height: calc(60vh - 120px);
  max-width: 780px;
}

.cta-section { padding-top: 0; }

.cta__box {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.cta__box h2 {
  font-size: clamp(1.95rem, 4vw, 3.1rem);
  max-width: 16ch;
}

.project-modal {
  position: fixed;
  inset: 0;
  z-index: 2800;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

.project-modal.open {
  opacity: 1;
  visibility: visible;
}

.project-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 5, 10, 0.78);
  backdrop-filter: blur(8px);
}

.project-modal__dialog {
  position: relative;
  width: min(960px, calc(100% - 2rem));
  max-height: min(88dvh, 920px);
  margin: 6vh auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
  padding: 1.2rem;
  overflow: hidden;
}

.project-modal__media img {
  border-radius: 24px;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.project-modal__content {
  padding: 1rem;
  display: grid;
  align-content: start;
  max-height: calc(88dvh - 2.4rem);
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: rgba(168, 139, 250, 0.8) rgba(255,255,255,0.06);
}

.project-modal__content::-webkit-scrollbar {
  width: 10px;
}

.project-modal__content::-webkit-scrollbar-track {
  background: rgba(255,255,255,0.05);
  border-radius: 999px;
}

.project-modal__content::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, rgba(192, 132, 252, 0.95), rgba(124, 58, 237, 0.9));
  border-radius: 999px;
  border: 2px solid rgba(255,255,255,0.05);
}

.project-modal__close {
  position: absolute;
  top: 0.35rem;
  right: 1rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--text);
  background: rgba(255,255,255,0.06);
  cursor: pointer;
}

.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.8s ease, transform 0.8s ease, filter 0.8s ease;
  filter: blur(10px);
}

.reveal--delay-1 { transition-delay: 0.12s; }
.reveal--delay-2 { transition-delay: 0.24s; }

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

.floating { animation: floatY 6s ease-in-out infinite; }

@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}

@keyframes floatBlob {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-26px) scale(1.06); }
}

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

@keyframes grain {
  0% { transform: translate(0, 0); }
  25% { transform: translate(-1%, 1%); }
  50% { transform: translate(1%, -1%); }
  75% { transform: translate(0.5%, 1%); }
  100% { transform: translate(0, 0); }
}



.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.9rem 1.15rem;
  border-radius: 999px;
  color: var(--text);
}

.events-showcase__grid,
.highlights-band__grid,
.offers-showcase__grid {
  display: grid;
  gap: 1.35rem;
}

.events-showcase__grid {
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
  align-items: start;
}

.event-feature,
.event-mini,
.highlight-card,
.offer-card {
  position: relative;
  overflow: hidden;
}

.event-feature {
  display: grid;
  grid-template-columns: minmax(280px, 0.95fr) minmax(0, 1.05fr);
  gap: 1.25rem;
  padding: 1.15rem;
}

.event-feature__image {
  position: relative;
  min-height: 100%;
}

.event-feature__image img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
  border-radius: 26px;
}

.event-pill,
.offer-tag,
.highlight-label {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: 999px;
}

.event-pill {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  padding: 0.75rem 1rem;
  background: rgba(8, 10, 18, 0.76);
  border: 1px solid rgba(216, 180, 254, 0.24);
  box-shadow: 0 12px 40px rgba(87, 38, 217, 0.18);
}

.event-feature__content {
  display: grid;
  align-content: center;
  gap: 1rem;
  padding: 0.65rem 0.35rem;
}

.event-feature__content h3,
.highlight-card h3,
.offer-card h3 {
  font-size: clamp(1.45rem, 2vw, 2rem);
  line-height: 1.15;
}

.event-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.event-meta span,
.offer-list li {
  color: var(--text-soft);
}

.event-meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.75rem 0.95rem;
  border-radius: 999px;
  background: rgba(255,255,255,0.035);
  border: 1px solid rgba(255,255,255,0.06);
}

.event-timeline {
  display: grid;
  gap: 1rem;
}

.event-mini {
  padding: 1.25rem;
  border-left: 1px solid rgba(216, 180, 254, 0.18);
}

.event-mini::before,
.highlight-card::before,
.offer-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(145deg, rgba(216, 180, 254, 0.16), transparent 35%, transparent 65%, rgba(124, 58, 237, 0.16));
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}

.event-mini:hover::before,
.highlight-card:hover::before,
.offer-card:hover::before {
  opacity: 1;
}

.event-mini__date,
.offer-tag {
  margin-bottom: 0.9rem;
  color: var(--purple-3);
  font-weight: 700;
}

.highlights-band__grid {
  grid-template-columns: 1.2fr repeat(3, minmax(0, 1fr));
}

.highlight-card {
  padding: 1.5rem;
  min-height: 100%;
}

.highlight-card--primary {
  background:
    radial-gradient(circle at top left, rgba(168, 85, 247, 0.22), transparent 40%),
    linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.03));
}

.highlight-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.highlight-icon,
.highlight-number {
  width: 56px;
  height: 56px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(216, 180, 254, 0.16);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.08);
}

.highlight-icon {
  font-size: 1.35rem;
  color: var(--purple-3);
}

.highlight-number {
  color: var(--purple-3);
  font-size: 1.15rem;
  font-weight: 800;
}

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

.offer-card {
  padding: 1.6rem;
  display: grid;
  gap: 1rem;
}

.offer-card__glow {
  position: absolute;
  inset: auto -20% -35% auto;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(168, 85, 247, 0.3), transparent 65%);
  filter: blur(10px);
  pointer-events: none;
}

.offer-card--featured {
  transform: translateY(-10px);
  border-color: rgba(216, 180, 254, 0.22);
  box-shadow: 0 28px 90px rgba(74, 20, 140, 0.28);
}

.offer-price {
  color: var(--text);
  font-weight: 600;
  letter-spacing: 0.01em;
}

.offer-list {
  display: grid;
  gap: 0.8rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.offer-list li {
  position: relative;
  padding-left: 1.5rem;
}

.offer-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6rem;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--purple-3), var(--purple-2));
  box-shadow: 0 0 14px rgba(216, 180, 254, 0.5);
}



.hero-shell,
.subpage-hero,
main,
.footer {
  width: 100%;
}

.hero,
.about.section-grid,
.footer__top,
.project-modal__dialog,
.events-showcase__grid,
.event-feature,
.section,
.nav {
  max-width: min(var(--max-width), calc(100% - 0.5rem));
}

.hero {
  min-height: calc(100svh - 6.2rem);
  gap: 1.8rem;
}

.hero__content {
  padding-inline: clamp(0rem, 0.6vw, 0.25rem);
}

.hero__visual {
  display: flex;
  justify-content: center;
}

@media (max-width: 1100px) {
  .hero,
  .about.section-grid,
  .footer__top,
  .project-modal__dialog,
  .events-showcase__grid,
  .event-feature {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2rem;
  }

  .hero__content,
  .hero__actions,
  .hero__stats {
    justify-content: center;
  }

  .hero__text,
  .hero h1,
  .eyebrow {
    margin-inline: auto;
  }

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

  .services__grid,
  .process__grid,
  .insights__grid,
  .portfolio__grid,
  .team__grid--page,
  .highlights-band__grid,
  .offers-showcase__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero__stats,
  .hero__mini-grid { grid-template-columns: 1fr; }

  .section__split,
  .cta__box {
    flex-direction: column;
    align-items: center;
  }
}

@media (max-width: 768px) {
  body { cursor: auto; }
  .hero-shell, .subpage-hero { padding-top: 5.6rem; }
  .cursor, .cursor-follower { display: none; }
  .nav {
    border-radius: 22px;
    width: calc(100% - 1rem);
    padding: 0.78rem 0.9rem;
    top: 0.5rem;
    overflow: visible;
  }
  .nav__menu__btn { display: grid; place-items: center; }
  .nav__cta { display: none; }

  .nav__links {
    position: absolute;
    top: calc(100% + 0.7rem);
    left: 0;
    right: 0;
    width: 100%;
    padding: 1rem;
    flex-direction: column;
    align-items: stretch;
    gap: 0.7rem;
    border-radius: 24px;
    background: rgba(8, 9, 16, 0.985);
    border: 1px solid rgba(255,255,255,0.08);
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    pointer-events: none;
    max-height: 0;
    overflow: hidden;
    transition: opacity 0.28s ease, transform 0.28s ease, max-height 0.32s ease, visibility 0.28s ease;
    z-index: 2300;
  }

  .nav__links.open {
    opacity: 1;
    max-height: 80vh;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
  }

  .services__grid,
  .process__grid,
  .insights__grid,
  .portfolio__grid,
  .team__grid,
  .team__grid--page,
  .form-grid,
  .highlights-band__grid,
  .offers-showcase__grid,
  .events-showcase__grid,
  .event-feature { grid-template-columns: 1fr; }

  .section,
  .hero,
  .about__section-grid,
  .footer__top,
  .offers-gallery,
  .events-showcase__grid,
  .event-feature,
  nav {
    width: min(var(--max-width), calc(100% - 1rem));
    max-width: calc(100% - 1rem);
  }

  .section {
    padding: 3.5rem 0;
  }

  .hero,
  .services__card,
  .offer-gallery-card,
  .event-gallery-card,
  .highlight-hero,
  .portfolio-card,
  .team-card,
  .glass-panel,
  .glass-shell {
    overflow: hidden;
  }

  .hero__content,
  .section__intro,
  .about__content,
  .offer-card__content,
  .event-feature__content,
  .contact__panel,
  .services__card,
  .portfolio-card__content,
  .team-card__content,
  .highlight-hero {
    padding-left: clamp(0.2rem, 2vw, 0.5rem);
    padding-right: clamp(0.2rem, 2vw, 0.5rem);
  }

  .hero h1 { font-size: 1.9rem; }
  .section__intro h2 { font-size: 2rem; }
  .hero__grid { min-height: 22rem; padding: 1rem; }
  .project-modal__dialog { margin: 3vh auto; }
  .project-modal__content { padding-top: 0; }
}

@media (max-width: 540px) {
  .nav {
    width: calc(100% - 1rem);
    padding: 0.7rem 0.78rem;
    top: 0.45rem;
  }

  .brand { gap: 0.55rem; font-size: 0.95rem; }
  .brand__mark { width: 38px; height: 38px; }

  .hero h1,
  .subpage-hero__content h1 { font-size: 1.55rem; }
  .hero__text, .section__intro p { font-size: 0.96rem; }
  .section__intro h2 { font-size: 1.8rem; }

  .btn,
  .filter-btn { width: 100%; }

  .footer__socials { gap: 0.65rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
}


/* --- Upgraded Events / Highlights / Offers --- */
.events-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.event-gallery-card,
.offer-gallery-card {
  overflow: hidden;
  padding: 0;
  cursor: pointer;
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.event-gallery-card:hover,
.offer-gallery-card:hover {
  transform: translateY(-10px);
  border-color: rgba(196, 133, 255, 0.45);
  box-shadow: 0 22px 70px rgba(139, 92, 246, 0.22);
}

.event-gallery-card__media,
.offer-gallery-card__slider {
  position: relative;
  aspect-ratio: 16 / 11;
  overflow: hidden;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.event-gallery-card__media::after,
.offer-gallery-card__slider::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 35%, rgba(8, 8, 13, 0.82));
  pointer-events: none;
}

.event-gallery-card__media img,
.offer-gallery-card__slider img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
  transition: transform 0.6s ease, opacity 0.6s ease;
}

.event-gallery-card:hover .event-gallery-card__media img,
.offer-gallery-card:hover .offer-gallery-card__slider img.is-active {
  transform: scale(1.08);
}

.event-gallery-card__pill,
.offer-gallery-card__tag,
.highlight-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: rgba(164, 96, 255, 0.14);
  border: 1px solid rgba(216, 180, 254, 0.22);
  color: #efe8ff;
  box-shadow: 0 0 24px rgba(139, 92, 246, 0.15);
}

.event-gallery-card__pill {
  position: absolute;
  left: 1rem;
  top: 0.35rem;
  padding: 0.6rem 0.9rem;
  border-radius: 999px;
  z-index: 2;
  font-size: 0.8rem;
  font-weight: 700;
}

.event-gallery-card__body,
.offer-gallery-card__content {
  padding: 1.3rem 1.25rem 1.35rem;
}

.event-gallery-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-bottom: 0.85rem;
  color: var(--text-muted);
  font-size: 0.88rem;
}

.event-gallery-card__body h3,
.offer-gallery-card__content h3,
.highlight-hero h3,
.highlight-premium-card h3 {
  font-family: var(--font-heading);
  letter-spacing: -0.03em;
}

.event-gallery-card__body p,
.offer-gallery-card__content p,
.highlight-hero p,
.highlight-premium-card p {
  color: var(--text-muted);
}

.highlights-premium {
  display: grid;
  grid-template-columns: 1.35fr 0.95fr;
  gap: 1.5rem;
  align-items: stretch;
}

.highlight-hero {
  position: relative;
  overflow: hidden;
  padding: 2rem;
  min-height: 100%;
  background:
    radial-gradient(circle at top right, rgba(139, 92, 246, 0.24), transparent 36%),
    linear-gradient(140deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02));
}

.highlight-hero::before {
  content: "";
  position: absolute;
  inset: auto -15% -35% auto;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.24), transparent 68%);
}

.highlight-hero__badge {
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
  margin-bottom: 1rem;
  font-size: 0.82rem;
  font-weight: 700;
}

.highlight-hero h3 {
  font-size: clamp(1.7rem, 3vw, 2.6rem);
  line-height: 1.08;
  margin-bottom: 1rem;
}

.highlight-hero__stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.35rem;
}

.highlight-hero__stats div {
  padding: 1rem;
  border-radius: 1rem;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
}

.highlight-hero__stats strong {
  display: block;
  font-size: 1rem;
  margin-bottom: 0.35rem;
}

.highlight-stack {
  display: grid;
  gap: 1rem;
}

.highlight-premium-card {
  position: relative;
  overflow: hidden;
  padding: 1.4rem 1.25rem 1.35rem;
}

.highlight-premium-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,0.05), transparent);
  transform: translateX(-130%);
  transition: transform 0.8s ease;
}

.highlight-premium-card:hover::after { transform: translateX(120%); }

.highlight-premium-card__num {
  display: inline-flex;
  width: 3rem;
  height: 3rem;
  border-radius: 1rem;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  margin-bottom: 1rem;
  color: #f6edff;
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.3), rgba(255,255,255,0.08));
  border: 1px solid rgba(216, 180, 254, 0.18);
}

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

.offer-gallery-card__slider img {
  position: absolute;
  inset: 0;
  opacity: 0;
}

.offer-gallery-card__slider img.is-active {
  opacity: 1;
}

.offer-gallery-card__dots {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  display: flex;
  gap: 0.45rem;
  z-index: 2;
}

.offer-gallery-card__dots span {
  width: 0.65rem;
  height: 0.65rem;
  border-radius: 50%;
  background: rgba(255,255,255,0.35);
  transition: transform 0.25s ease, background 0.25s ease;
}

.offer-gallery-card__dots span.is-active {
  background: #d8b4fe;
  transform: scale(1.25);
  box-shadow: 0 0 18px rgba(216, 180, 254, 0.6);
}

.offer-gallery-card__tag {
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  margin-bottom: 0.9rem;
  font-size: 0.78rem;
  font-weight: 700;
}

.offer-gallery-card--featured {
  transform: translateY(-0.45rem);
  border-color: rgba(216, 180, 254, 0.26);
  box-shadow: 0 24px 80px rgba(139, 92, 246, 0.18);
}

@media (max-width: 980px) {
  .events-gallery,
  .offers-gallery,
  .highlights-premium {
    grid-template-columns: 1fr;
  }

  .highlight-hero__stats {
    grid-template-columns: 1fr;
  }
}

@keyframes heroLogoFloat {
  0%, 100% { transform: translate3d(0, 0, 70px) rotateX(var(--logo-rotate-x)) rotateY(var(--logo-rotate-y)); }
  50% { transform: translate3d(0, -18px, 86px) rotateX(calc(var(--logo-rotate-x) + 3deg)) rotateY(calc(var(--logo-rotate-y) * -1)); }
}

@keyframes heroLogoPulse {
  0%, 100% { filter: drop-shadow(0 36px 58px rgba(20, 10, 48, 0.72)) drop-shadow(0 0 22px rgba(139, 92, 246, 0.18)); }
  50% { filter: drop-shadow(0 44px 66px rgba(20, 10, 48, 0.76)) drop-shadow(0 0 42px rgba(139, 92, 246, 0.34)); }
}

@keyframes auraPulse {
  0%, 100% { transform: scale(0.96); opacity: 0.55; }
  50% { transform: scale(1.08); opacity: 0.92; }
}

@keyframes spinRing {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes spinRingReverse {
  from { transform: rotate(360deg); }
  to { transform: rotate(0deg); }
}

@keyframes glintSweep {
  0%, 15% { transform: translate3d(-120%, -3rem, 10px) rotate(-18deg); opacity: 0; }
  25% { opacity: 0.28; }
  55% { transform: translate3d(125%, 2rem, 10px) rotate(-18deg); opacity: 0.28; }
  70%, 100% { transform: translate3d(125%, 2rem, 10px) rotate(-18deg); opacity: 0; }
}


@media (max-width: 768px) {
  .hero__logo-wrap {
    min-height: 18rem;
    width: 100%;
  }

  .hero__logo-image {
    width: min(100%, 14rem);
  }

  .hero__grid {
    min-height: auto;
    margin-inline: auto;
  }

  .nav__links {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .hero__text {
    font-size: 0.95rem;
  }

  .hero__logo-image {
    width: min(100%, 12rem);
  }

  .nav__links {
    gap: 1rem;
    padding: 1rem;
  }
}


.nav__menu__btn {
  touch-action: manipulation;
  cursor: pointer;
}

@media (max-width: 900px) {
  .hero__content {
    order: 1;
  }

  .hero__visual {
    order: 2;
  }
}

@media (max-width: 768px) {
  html, body {
    overflow-x: hidden;
  }

  .nav {
    align-items: center;
  }

  .nav__links a {
    width: 100%;
    text-align: center;
    padding: 0.35rem 0;
  }

  .hero {
    gap: 1.25rem;
    min-height: auto;
  }

  .hero__text {
    max-width: 32rem;
  }

  .hero__grid,
  .hero__logo-wrap {
    min-height: 16rem;
  }
}

@media (max-width: 480px) {
  .section,
  .nav {
    max-width: calc(100% - 0.2rem);
  }

  .hero__grid,
  .hero__logo-wrap {
    min-height: 13.5rem;
  }

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


/* Final responsive + navigation fixes */
.nav {
  overflow: visible;
  width: min(1320px, calc(100% - 1.1rem));
}

.section,
.hero,
.about.section-grid,
.footer__top,
.project-modal__dialog,
.events-showcase__grid,
.event-feature,
.nav {
  width: min(1320px, calc(100% - 1.1rem));
  max-width: min(1320px, calc(100% - 1.1rem));
}

.hero,
.subpage-hero__content,
.about.section-grid,
.footer__top,
.events-showcase__grid,
.event-feature,
.section__split,
.cta__box {
  align-items: center;
}

.hero-shell,
.subpage-hero {
  padding-top: 6rem;
}

.hero {
  min-height: calc(100svh - 5.8rem);
  gap: clamp(1.25rem, 2.5vw, 2rem);
}

.hero h1 {
  font-size: clamp(2.7rem, 5vw, 5rem);
  max-width: 11ch;
}

.hero__text {
  max-width: 40rem;
}

img {
  max-width: 100%;
  height: auto;
}

@media (max-width: 1100px) {
  .nav__links {
    gap: 1.5rem;
  }

  .section,
  .hero,
  .about.section-grid,
  .footer__top,
  .project-modal__dialog,
  .events-showcase__grid,
  .event-feature,
  .nav {
    width: min(100%, calc(100% - 0.9rem));
    max-width: min(100%, calc(100% - 0.9rem));
  }
}

@media (max-width: 900px) {
  .hero-shell,
  .subpage-hero {
    min-height: auto;
  }

  .hero {
    padding-top: 1rem;
    padding-bottom: 2rem;
  }

  .hero h1 {
    font-size: clamp(2.1rem, 8vw, 3.2rem);
    max-width: 12ch;
  }

  .hero__text {
    font-size: 1rem;
  }

  .events-gallery,
  .offers-gallery,
  .highlights-premium,
  .services__grid,
  .process__grid,
  .insights__grid,
  .portfolio__grid,
  .team__grid,
  .team__grid--page,
  .highlights-band__grid,
  .offers-showcase__grid,
  .events-showcase__grid,
  .event-feature,
  .footer__top,
  .form-grid,
  .about__content,
  .section__split,
  .cta__box {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 768px) {
  .nav {
    top: 0.35rem;
    border-radius: 22px;
    padding: 0.8rem 0.85rem;
    align-items: center;
    overflow: visible;
  }

  .brand {
    font-size: 0.95rem;
    max-width: calc(100% - 4rem);
  }

  .nav__menu__btn {
    display: grid;
    place-items: center;
    flex: 0 0 46px;
    background: rgba(255,255,255,0.04);
  }

  .nav__links {
    display: none;
    position: absolute;
    top: calc(100% + 0.6rem);
    left: 0;
    right: 0;
    width: 100%;
    flex-direction: column;
    gap: 0.25rem;
    padding: 0.8rem;
    border-radius: 22px;
    background: rgba(8, 9, 16, 0.98);
    border: 1px solid rgba(255,255,255,0.08);
    box-shadow: 0 18px 44px rgba(0,0,0,0.34);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-8px);
    max-height: none;
    overflow: visible;
    z-index: 2400;
  }

  .nav__links.open {
    display: flex;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav__links li,
  .nav__links a {
    width: 100%;
  }

  .nav__links a {
    display: block;
    padding: 0.9rem 1rem;
    border-radius: 14px;
    text-align: center;
  }

  .nav__links a:hover,
  .nav__links a.active {
    background: rgba(255,255,255,0.05);
  }

  .section,
  .hero,
  .about.section-grid,
  .footer__top,
  .project-modal__dialog,
  .events-showcase__grid,
  .event-feature,
  .nav {
    width: calc(100% - 0.7rem);
    max-width: calc(100% - 0.7rem);
  }

  .section {
    padding: 3.2rem 0;
  }

  .hero {
    gap: 1rem;
    min-height: auto;
  }

  .hero h1,
  .subpage-hero__content h1 {
    font-size: clamp(1.8rem, 8.5vw, 2.6rem);
    line-height: 1.08;
  }

  .hero__text,
  .section__intro p,
  .subpage-hero__content p {
    font-size: 0.98rem;
  }

  .about__details {
    padding: 1.3rem;
    gap: 1rem;
  }

  .about__lead {
    font-size: 0.96rem;
    line-height: 1.8;
  }

  .about__points article {
    grid-template-columns: 44px 1fr;
    gap: 0.85rem;
    padding: 0.95rem;
    border-radius: 18px;
  }

  .about__points h3 {
    font-size: 1.04rem;
    margin-bottom: 0.35rem;
  }

  .about__points p,
  .about__stat span {
    font-size: 0.92rem;
  }

  .about__stats {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .about__stat {
    padding: 0.95rem;
  }

  .hero__grid,
  .hero__logo-wrap {
    min-height: 15rem;
    padding: 1rem;
  }
}

@media (max-width: 560px) {
  .section,
  .hero,
  .about.section-grid,
  .footer__top,
  .project-modal__dialog,
  .events-showcase__grid,
  .event-feature,
  .nav {
    width: calc(100% - 0.45rem);
    max-width: calc(100% - 0.45rem);
  }

  .hero-shell,
  .subpage-hero {
    padding-top: 5.5rem;
  }

  .hero h1,
  .subpage-hero__content h1 {
    font-size: clamp(1.6rem, 9vw, 2.1rem);
  }

  .hero__text,
  .section__intro p,
  .subpage-hero__content p {
    font-size: 0.94rem;
  }

  .btn,
  .filter-btn {
    width: 100%;
  }
}


.section__intro,
.section__intro--center {
  max-width: 46rem;
  margin-inline: auto;
}

@media (max-width: 768px) {
  .section__intro,
  .section__intro--center {
    width: 100%;
    padding-inline: 0.35rem;
  }

  .section__intro h2,
  .section__intro p,
  .hero__text,
  .offer-gallery-card__content,
  .services__card p,
  .portfolio-card p,
  .team-card p,
  .contact__panel p {
    word-break: normal;
    overflow-wrap: anywhere;
  }

  .nav__links a {
    width: 100%;
    text-align: center;
    padding: 0.82rem 1rem;
    border-radius: 14px;
    background: rgba(255,255,255,0.03);
  }

  .nav__links a.active {
    background: rgba(255,255,255,0.06);
  }
}

@media (max-width: 480px) {
  .section,
  .hero,
  .about__section-grid,
  .footer__top,
  .offers-gallery,
  .events-showcase__grid,
  .event-feature,
  nav {
    width: min(var(--max-width), calc(100% - 1.1rem));
    max-width: calc(100% - 1.1rem);
  }

  .hero h1,
  .subpage-hero__content h1 {
    font-size: 1.72rem;
    line-height: 1.12;
  }

  .hero__text,
  .section__intro p {
    font-size: 0.94rem;
  }

  .hero__grid,
  .hero__logo-wrap,
  .offer-gallery-card__media,
  .event-gallery-card__media,
  .portfolio-card__image {
    border-radius: 22px;
  }
}

/* --- April 2026 custom refresh: workflow + premium events/offers --- */
.process__grid--expanded {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.35rem;
}

.process__grid--expanded .process-card {
  position: relative;
  overflow: hidden;
  min-height: 220px;
  background:
    radial-gradient(circle at top right, rgba(139, 92, 246, 0.16), transparent 34%),
    linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.025));
}

.process__grid--expanded .process-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,0.06), transparent);
  transform: translateX(-140%);
  transition: transform 0.8s ease;
}

.process__grid--expanded .process-card:hover::before {
  transform: translateX(120%);
}

.process__grid--expanded .process-card span {
  width: 4rem;
  height: 4rem;
  display: grid;
  place-items: center;
  border-radius: 1.15rem;
  background: linear-gradient(145deg, rgba(139, 92, 246, 0.32), rgba(255,255,255,0.07));
  border: 1px solid rgba(216, 180, 254, 0.18);
}

.events-gallery--premium,
.offers-gallery--premium {
  gap: 1.65rem;
}

.event-gallery-card,
.offer-gallery-card {
  position: relative;
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.055), rgba(255,255,255,0.03)),
    rgba(10, 10, 16, 0.92);
}

.event-gallery-card::before,
.offer-gallery-card::before {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(255,255,255,0.03), transparent 26%);
  pointer-events: none;
}

.event-gallery-card__media,
.offer-gallery-card__slider {
  aspect-ratio: 16 / 12;
}

.event-gallery-card__media img,
.offer-gallery-card__slider img {
  transform-origin: center;
  will-change: transform, opacity;
}

.event-gallery-card__overlay,
.offer-gallery-card__headline {
  position: absolute;
  left: 1rem;
  right: 1rem;
  z-index: 2;
  display: grid;
  gap: 0.35rem;
  color: #fff;
}

.event-gallery-card__overlay {
  bottom: 1rem;
  padding: 1rem 1.05rem;
  border-radius: 20px;
  background: rgba(5, 6, 12, 0.42);
  border: 1px solid rgba(255,255,255,0.08);
  backdrop-filter: blur(10px);
  transform: translateY(14px);
  opacity: 0;
  transition: transform 0.45s ease, opacity 0.45s ease;
}

.event-gallery-card:hover .event-gallery-card__overlay {
  transform: translateY(0);
  opacity: 1;
}

.event-gallery-card__overlay strong,
.offer-gallery-card__headline strong {
  font-size: 1rem;
  letter-spacing: -0.02em;
}

.event-gallery-card__overlay p,
.offer-gallery-card__headline span {
  color: rgba(245, 243, 255, 0.84);
  font-size: 0.9rem;
  line-height: 1.55;
}

.event-gallery-card__body,
.offer-gallery-card__content {
  display: grid;
  gap: 1rem;
  padding: 1.35rem 1.3rem 1.4rem;
}

.event-gallery-card__body h3,
.offer-gallery-card__content h3 {
  font-size: 1.45rem;
  line-height: 1.08;
  margin: 0;
}

.event-gallery-card__body p,
.offer-gallery-card__content p {
  margin: 0;
  line-height: 1.78;
  color: var(--muted-strong);
}

.event-gallery-card__stats,
.offer-gallery-card__benefits {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.event-gallery-card__stats span,
.offer-gallery-card__benefits span,
.offer-gallery-card__price {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.72rem 0.9rem;
  border-radius: 999px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  color: #f2eaff;
  font-size: 0.84rem;
}

.event-gallery-card__footer,
.offer-gallery-card__footer,
.offer-gallery-card__topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem;
  flex-wrap: wrap;
}

.event-gallery-card__footer strong,
.offer-gallery-card__footer strong,
.offer-gallery-card__topline {
  color: #fff;
}

.event-gallery-card__footer span,
.offer-gallery-card__footer span {
  color: #d7c7ff;
  font-size: 0.92rem;
}

.event-gallery-card--feature {
  background:
    radial-gradient(circle at top right, rgba(139, 92, 246, 0.24), transparent 38%),
    linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.03)),
    rgba(8, 8, 13, 0.96);
}

.offer-gallery-card__gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 8, 13, 0.08) 10%, rgba(8, 8, 13, 0.88) 100%);
  z-index: 1;
  pointer-events: none;
}

.offer-gallery-card__headline {
  bottom: 3.4rem;
}

.offer-gallery-card__headline strong {
  font-size: 1.08rem;
}

.offer-gallery-card__dots {
  z-index: 2;
}

.offer-gallery-card__topline {
  align-items: center;
}

.offer-gallery-card__price {
  background: rgba(164, 96, 255, 0.12);
  border-color: rgba(216, 180, 254, 0.22);
}

.offer-gallery-card--featured {
  transform: translateY(-8px);
  box-shadow: 0 30px 100px rgba(139, 92, 246, 0.22);
}

.offer-gallery-card:hover .offer-gallery-card__headline,
.event-gallery-card:hover .event-gallery-card__overlay {
  text-shadow: 0 0 12px rgba(0,0,0,0.22);
}

.offer-gallery-card:hover .offer-gallery-card__slider img.is-active,
.event-gallery-card:hover .event-gallery-card__media img {
  filter: saturate(1.06) contrast(1.02);
}

@media (max-width: 1024px) {
  .process__grid--expanded,
  .events-gallery--premium,
  .offers-gallery--premium {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .process__grid--expanded,
  .events-gallery--premium,
  .offers-gallery--premium {
    grid-template-columns: 1fr;
  }

  .event-gallery-card__overlay {
    transform: none;
    opacity: 1;
  }

  .offer-gallery-card__headline {
    bottom: 3rem;
  }

  .event-gallery-card__body h3,
  .offer-gallery-card__content h3 {
    font-size: 1.3rem;
  }
}


/* --- April 2026 refinement: centered image-first events + offers --- */
.events-showcase .section__split,
.offers-showcase .section__split {
  align-items: center;
  justify-content: center;
  text-align: center;
}

.events-showcase .section__split > div:first-child,
.offers-showcase .section__split > div:first-child {
  max-width: 760px;
  margin-inline: auto;
}

.events-showcase .section-badge {
  margin-inline: auto;
}

.offers-showcase .btn--ghost {
  margin-inline: auto;
}

.events-gallery--premium,
.offers-gallery--premium {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.event-gallery-card,
.offer-gallery-card {
  overflow: hidden;
  min-height: 560px;
  cursor: pointer;
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.38);
  transition: transform 0.45s ease, box-shadow 0.45s ease, border-color 0.45s ease;
}

.event-gallery-card:hover,
.offer-gallery-card:hover,
.event-gallery-card:focus-within,
.offer-gallery-card:focus-within {
  transform: translateY(-10px);
  box-shadow: 0 34px 90px rgba(107, 76, 211, 0.28);
  border-color: rgba(216, 180, 254, 0.26);
}

.event-gallery-card__media,
.offer-gallery-card__slider {
  position: absolute;
  inset: 0;
  aspect-ratio: auto;
}

.event-gallery-card__media::after,
.offer-gallery-card__slider::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(5,7,13,0.08) 0%, rgba(5,7,13,0.26) 32%, rgba(5,7,13,0.82) 100%);
  z-index: 1;
}

.event-gallery-card__media img,
.offer-gallery-card__slider img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
  transition: transform 0.7s ease, filter 0.45s ease, opacity 0.45s ease;
}

.event-gallery-card:hover .event-gallery-card__media img,
.offer-gallery-card:hover .offer-gallery-card__slider img.is-active {
  transform: scale(1.08);
  filter: saturate(1.05) contrast(1.02);
}

.event-gallery-card__pill {
  z-index: 3;
  top: 1.15rem;
  left: 50%;
  transform: translateX(-50%);
}

.event-gallery-card__overlay,
.offer-gallery-card__headline {
  top: 1rem;
  bottom: auto;
  left: 1rem;
  right: 1rem;
  padding: 0.9rem 1rem;
  border-radius: 18px;
  background: rgba(8, 9, 16, 0.34);
  border: 1px solid rgba(255,255,255,0.08);
  backdrop-filter: blur(10px);
  text-align: center;
  opacity: 0;
  transform: translateY(-10px);
  transition: opacity 0.35s ease, transform 0.35s ease;
  z-index: 3;
}

.event-gallery-card:hover .event-gallery-card__overlay,
.offer-gallery-card:hover .offer-gallery-card__headline,
.event-gallery-card:focus-within .event-gallery-card__overlay,
.offer-gallery-card:focus-within .offer-gallery-card__headline {
  opacity: 1;
  transform: translateY(0);
}

.event-gallery-card__body,
.offer-gallery-card__content {
  position: absolute;
  inset: auto 1.1rem 1.1rem;
  z-index: 3;
  padding: 1.25rem 1.15rem;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(15, 15, 23, 0.58), rgba(8, 8, 14, 0.88));
  border: 1px solid rgba(255,255,255,0.08);
  backdrop-filter: blur(14px);
  text-align: center;
  justify-items: center;
  gap: 0.7rem;
}

.event-gallery-card__meta,
.offer-gallery-card__topline {
  justify-content: center;
  width: 100%;
  gap: 0.6rem;
}

.event-gallery-card__meta span,
.offer-gallery-card__tag,
.offer-gallery-card__price {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.38rem;
  padding: 0.62rem 0.9rem;
  border-radius: 999px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.09);
  color: #fff;
}

.event-gallery-card__body h3,
.offer-gallery-card__content h3 {
  font-size: 1.55rem;
  margin: 0;
  max-width: 14ch;
  text-wrap: balance;
}

.event-gallery-card__body p,
.event-gallery-card__stats,
.event-gallery-card__footer strong,
.offer-gallery-card__content p,
.offer-gallery-card__benefits,
.offer-gallery-card__footer strong {
  display: none;
}

.event-gallery-card__footer,
.offer-gallery-card__footer {
  justify-content: center;
  width: 100%;
  margin-top: 0.15rem;
}

.event-gallery-card__footer span,
.offer-gallery-card__footer span {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: #f3e8ff;
  font-size: 0.92rem;
  letter-spacing: 0.02em;
}

.offer-gallery-card__headline {
  top: 1rem;
  bottom: auto;
}

.offer-gallery-card__dots {
  position: absolute;
  bottom: 8.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
}

.project-modal__meta {
  margin: 0 0 0.7rem;
  color: #dccbff;
  font-size: 0.96rem;
  line-height: 1.7;
}

@media (max-width: 1024px) {
  .event-gallery-card,
  .offer-gallery-card {
    min-height: 520px;
  }
}

@media (max-width: 768px) {
  .events-showcase .section__split,
  .offers-showcase .section__split {
    gap: 1rem;
  }

  .event-gallery-card,
  .offer-gallery-card {
    min-height: 500px;
  }

  .event-gallery-card__overlay,
  .offer-gallery-card__headline {
    opacity: 1;
    transform: none;
  }

  .event-gallery-card__body,
  .offer-gallery-card__content {
    left: 0.9rem;
    right: 0.9rem;
    bottom: 0.9rem;
    padding: 1rem;
  }

  .offer-gallery-card__dots {
    bottom: 8rem;
  }

  .event-gallery-card__body h3,
  .offer-gallery-card__content h3 {
    font-size: 1.35rem;
  }
}


/* --- April 2026 heading refinement: centered showcase titles --- */
.section__intro--showcase {
  position: relative;
  max-width: 60rem;
  text-align: center;
  display: grid;
  justify-items: center;
  gap: 1.15rem;
  margin: 0 auto 3.5rem;
  padding: 1.25rem 1.75rem 0.35rem;
}

.section__intro--showcase::before {
  content: "";
  position: absolute;
  inset: -0.15rem 12% auto;
  height: 11rem;
  border-radius: 999px;
  background: radial-gradient(circle at center, rgba(139, 92, 246, 0.18), transparent 68%);
  filter: blur(26px);
  opacity: 0.9;
  pointer-events: none;
}

.showcase-title {
  position: relative;
  z-index: 1;
  margin: 0;
  font-size: clamp(2.7rem, 5.4vw, 4.85rem);
  line-height: 0.94;
  letter-spacing: -0.055em;
  font-weight: 800;
  text-wrap: balance;
  background: linear-gradient(180deg, #ffffff 0%, #f4ecff 28%, #d8bcfe 58%, #b88cff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 18px 46px rgba(115, 72, 220, 0.24);
}

.showcase-title::before,
.showcase-title::after {
  content: "";
  position: absolute;
  top: 50%;
  width: clamp(2.8rem, 10vw, 6rem);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(216, 180, 254, 0.82), transparent);
  transform: translateY(-50%);
}

.showcase-title::before {
  right: calc(100% + 1rem);
}

.showcase-title::after {
  left: calc(100% + 1rem);
}

.showcase-copy {
  position: relative;
  z-index: 1;
  max-width: 50rem;
  margin: 0;
  color: rgba(233, 224, 255, 0.86);
  font-size: clamp(1rem, 1.35vw, 1.12rem);
  line-height: 1.95;
  text-wrap: balance;
}

.featured-projects-showcase .portfolio__grid--featured {
  margin-top: 0.35rem;
}

@media (max-width: 900px) {
  .showcase-title::before,
  .showcase-title::after {
    width: clamp(2rem, 8vw, 3.75rem);
  }
}

@media (max-width: 768px) {
  .section__intro--showcase {
    gap: 0.8rem;
    margin-bottom: 2.6rem;
    padding: 0.7rem 0.35rem 0.1rem;
  }

  .showcase-title {
    font-size: clamp(2rem, 10vw, 3rem);
    line-height: 1;
  }

  .showcase-copy {
    font-size: 0.96rem;
    line-height: 1.8;
  }
}

@media (max-width: 560px) {
  .showcase-title::before,
  .showcase-title::after {
    display: none;
  }

  .section__intro--showcase {
    padding-inline: 0;
  }

  .section__intro--showcase::before {
    inset: 0.2rem 0 auto;
    height: 8.5rem;
  }
}


/* Unified premium section headers */
.section__intro--with-action {
  gap: 1.15rem;
}

.section__intro--with-action .btn {
  margin-top: 0.35rem;
}

.subpage-hero__content--showcase {
  justify-items: center;
  text-align: center;
  margin-inline: auto;
}

.subpage-hero__content--showcase .showcase-title {
  max-width: none;
  margin-bottom: 0;
}

.subpage-hero__content--showcase .showcase-copy {
  max-width: 48rem;
}

.footer__intro {
  justify-items: start;
  text-align: left;
  max-width: 100%;
  margin-inline: 0;
}

.footer__intro .showcase-title,
.footer__intro .showcase-copy {
  margin-inline: 0;
}

.footer__intro .showcase-title::before {
  display: none;
}

.footer__intro .showcase-title::after {
  left: calc(100% + 1rem);
}

@media (max-width: 980px) {
  .footer__intro {
    justify-items: center;
    text-align: center;
    margin-inline: auto;
  }

  .footer__intro .showcase-title,
  .footer__intro .showcase-copy {
    margin-inline: auto;
  }

  .footer__intro .showcase-title::before {
    display: block;
    right: calc(100% + 1rem);
  }
}


/* Premium Team Page */
.team__grid--premium {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.8rem;
}

.team-member-card {
  position: relative;
  overflow: hidden;
  padding: 0;
  min-height: 36rem;
  cursor: pointer;
  border: 1px solid rgba(255,255,255,0.08);
  background:
    radial-gradient(circle at 50% 0%, rgba(168, 85, 247, 0.2), transparent 38%),
    linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.02));
  box-shadow: 0 30px 80px rgba(2, 6, 20, 0.55);
  isolation: isolate;
}

.team-member-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.03), transparent 24%),
    linear-gradient(180deg, transparent 34%, rgba(6, 8, 15, 0.18) 54%, rgba(6, 8, 15, 0.95) 100%);
  z-index: 1;
  pointer-events: none;
}

.team-member-card__media {
  position: absolute;
  inset: 0;
  min-height: 36rem;
  overflow: hidden;
}

.team-member-card__media img {
  width: 100%;
  height: 100%;
  min-height: 36rem;
  object-fit: cover;
  object-position: center top;
  aspect-ratio: auto;
  transition: transform 0.8s ease, filter 0.8s ease;
  filter: saturate(1.05) contrast(1.02);
}

.team-member-card__glow {
  position: absolute;
  inset: auto 50% -9rem 50%;
  width: 18rem;
  height: 18rem;
  translate: -50% 0;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(168, 85, 247, 0.45), rgba(168, 85, 247, 0.12) 40%, transparent 68%);
  filter: blur(12px);
  opacity: 0.85;
  z-index: 1;
  pointer-events: none;
}

.team-member-card__shade {
  position: absolute;
  inset: auto 0 0 0;
  height: 68%;
  background: linear-gradient(180deg, transparent 0%, rgba(6, 8, 15, 0.2) 28%, rgba(6, 8, 15, 0.95) 100%);
  z-index: 1;
}

.team-member-card__role {
  position: absolute;
  left: 1.4rem;
  top: 1.4rem;
  z-index: 3;
  padding: 0.76rem 1.08rem;
  border-radius: 999px;
  background: rgba(12, 14, 25, 0.55);
  border: 1px solid rgba(216, 180, 254, 0.24);
  box-shadow: 0 18px 44px rgba(16, 12, 28, 0.34);
  color: #f7f1ff;
  backdrop-filter: blur(14px);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.team-member-card__content {
  position: absolute;
  inset: auto 0 0 0;
  z-index: 3;
  display: grid;
  gap: 0.82rem;
  padding: 1.5rem 1.5rem 1.6rem !important;
}

.team-member-card__name {
  margin: 0;
  display: block;
  color: #d9c2ff !important;
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.team-member-card h3 {
  margin: 0;
  font-size: clamp(1.8rem, 2.4vw, 2.5rem);
  line-height: 1;
  letter-spacing: -0.04em;
  color: #fff;
  text-shadow: 0 10px 32px rgba(122, 76, 226, 0.22);
}

.team-member-card__content > span {
  color: rgba(241, 236, 252, 0.88);
  font-size: 1rem;
  line-height: 1.85;
  max-width: 34ch;
}

.team-member-card__details {
  display: flex;
  flex-wrap: wrap;
  gap: 0.72rem;
  margin-top: 0.15rem;
}

.team-member-card__details span {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.68rem 0.94rem;
  border-radius: 999px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.09);
  color: #f7f2ff;
  font-size: 0.84rem;
  line-height: 1.2;
  backdrop-filter: blur(10px);
}

.team-member-card__details i {
  color: var(--purple-3);
  font-size: 1rem;
}

.team-member-card:hover,
.team-member-card:focus-visible {
  transform: translateY(-12px);
  border-color: rgba(216, 180, 254, 0.34);
  box-shadow: 0 34px 90px rgba(70, 29, 128, 0.28), 0 0 0 1px rgba(255,255,255,0.04);
}

.team-member-card:hover .team-member-card__media img,
.team-member-card:focus-visible .team-member-card__media img {
  transform: scale(1.08);
  filter: saturate(1.13) contrast(1.06);
}

.team-modal__dialog {
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  max-width: min(1120px, 96vw);
  max-height: min(90dvh, 940px);
  overflow: hidden;
}

.team-modal__media {
  min-height: 100%;
  overflow: hidden;
}

.team-modal__media img {
  width: 100%;
  height: 100%;
  min-height: min(42rem, 82dvh);
  object-fit: cover;
  object-position: center top;
}

.team-modal__content {
  position: relative;
  padding: 2.25rem 2.25rem 2rem !important;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 1rem;
  max-height: calc(90dvh - 2.4rem);
  overflow-y: auto;
  overscroll-behavior: contain;
  background:
    radial-gradient(circle at top right, rgba(139, 92, 246, 0.18), transparent 36%),
    linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01));
}

.team-modal__content .eyebrow {
  margin-bottom: 0;
  color: #d7c1ff;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.team-modal__content h3 {
  font-size: clamp(2.2rem, 4vw, 3.6rem);
  line-height: 0.95;
  margin: 0;
}

.team-modal__content .project-modal__meta {
  color: rgba(229, 216, 255, 0.82);
  font-size: 1rem;
  line-height: 1.8;
  margin: 0;
}

.team-modal__content #modal-description {
  color: rgba(242, 237, 252, 0.86);
  font-size: 1.02rem;
  line-height: 1.95;
  margin: 0;
}

.team-modal__skills {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
  margin-top: 0.35rem;
}

.team-modal__skill {
  display: flex;
  align-items: center;
  gap: 0.72rem;
  padding: 0.92rem 1rem;
  border-radius: 20px;
  background: rgba(255,255,255,0.045);
  border: 1px solid rgba(255,255,255,0.07);
  color: #f5efff;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.03);
}

.team-modal__skill i {
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: rgba(139, 92, 246, 0.16);
  color: var(--purple-3);
  font-size: 1.05rem;
}

.team-modal__skill span {
  line-height: 1.45;
  font-size: 0.94rem;
}

@media (max-width: 1100px) {
  .team-member-card,
  .team-member-card__media,
  .team-member-card__media img {
    min-height: 32rem;
  }

  .team-modal__dialog {
    grid-template-columns: 1fr;
  }

  .team-modal__media img {
    min-height: 26rem;
    max-height: 34rem;
  }
}

@media (max-width: 980px) {
  .team__grid--premium {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .team-member-card,
  .team-member-card__media,
  .team-member-card__media img {
    min-height: 27rem;
  }

  .team-member-card__role {
    left: 1rem;
    top: 1rem;
    padding: 0.64rem 0.88rem;
    font-size: 0.74rem;
  }

  .team-member-card__content {
    padding: 1.2rem 1.1rem 1.25rem !important;
    gap: 0.7rem;
  }

  .team-member-card h3 {
    font-size: 1.6rem;
  }

  .team-member-card__content > span {
    font-size: 0.94rem;
    max-width: none;
  }

  .team-modal__content {
    padding: 1.35rem 1.1rem 1.2rem !important;
  }

  .team-modal__content h3 {
    font-size: 2rem;
  }

  .team-modal__media img {
    min-height: 21rem;
    max-height: 24rem;
  }

  .team-modal__skills {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .team-member-card,
  .team-member-card__media,
  .team-member-card__media img {
    min-height: 23.5rem;
  }

  .team-member-card__details {
    gap: 0.55rem;
  }

  .team-member-card__details span {
    padding: 0.58rem 0.74rem;
    font-size: 0.78rem;
  }

  .team-modal__content h3 {
    font-size: 1.7rem;
  }

  .team-modal__content #modal-description {
    font-size: 0.95rem;
  }
}


/* Keep the custom cursor visible above modal overlays */
.project-modal.open ~ .cursor,
.project-modal.open ~ .cursor-follower,
.team-modal.open ~ .cursor,
.team-modal.open ~ .cursor-follower {
  opacity: 1;
  visibility: visible;
}

.project-modal__backdrop,
.project-modal__dialog,
.team-modal__dialog,
.team-modal__content,
.team-modal__media {
  cursor: none;
}



/* Premium Contact Showcase */
.contact-footer {
  padding-top: 1.4rem;
  position: relative;
}

.contact-showcase {
  position: relative;
  overflow: hidden;
  padding: clamp(1.25rem, 2vw, 1.6rem);
  background:
    radial-gradient(circle at top left, rgba(168, 85, 247, 0.18), transparent 24%),
    radial-gradient(circle at 85% 14%, rgba(139, 92, 246, 0.16), transparent 24%),
    linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.025));
}

.contact-showcase__glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  opacity: 0.55;
}

.contact-showcase__glow--one {
  width: 18rem;
  height: 18rem;
  top: -4rem;
  left: -4rem;
  background: rgba(139, 92, 246, 0.24);
}

.contact-showcase__glow--two {
  width: 20rem;
  height: 20rem;
  right: -5rem;
  bottom: -6rem;
  background: rgba(168, 85, 247, 0.18);
}

.contact-showcase__intro {
  max-width: 54rem;
  margin-inline: auto;
  margin-bottom: 2rem;
}

.contact-showcase__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 1.5rem;
  align-items: stretch;
  position: relative;
  z-index: 1;
}

.contact-identity,
.contact-form--premium {
  height: 100%;
  padding: 1.5rem;
  border-radius: 30px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.055), rgba(255,255,255,0.02));
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 28px 80px rgba(4, 7, 20, 0.38);
}

.contact-identity {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.35rem;
}

.contact-identity__badge,
.contact-form__eyebrow {
  display: inline-flex;
  width: fit-content;
  padding: 0.72rem 1rem;
  border-radius: 999px;
  background: rgba(20, 18, 34, 0.65);
  border: 1px solid rgba(216, 180, 254, 0.22);
  color: #efe6ff;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  box-shadow: 0 14px 36px rgba(76, 32, 149, 0.18);
}

.contact-identity__top h3,
.contact-form__header h3 {
  margin-top: 1rem;
  margin-bottom: 0.75rem;
  font-size: clamp(1.8rem, 2.6vw, 2.65rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
  color: #fff;
}

.contact-identity__top p,
.contact-form__header p {
  color: rgba(233, 225, 250, 0.82);
  line-height: 1.9;
  font-size: 1rem;
  max-width: 60ch;
}

.contact-points {
  display: grid;
  gap: 0.85rem;
}

.contact-point {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 1rem;
  align-items: center;
  padding: 1rem 1.05rem;
  border-radius: 24px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);
  color: var(--text);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.contact-point:hover {
  transform: translateY(-4px);
  border-color: rgba(216, 180, 254, 0.28);
  box-shadow: 0 20px 44px rgba(70, 29, 128, 0.18);
}

.contact-point__icon {
  width: 58px;
  height: 58px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  background: rgba(139, 92, 246, 0.14);
  border: 1px solid rgba(216, 180, 254, 0.18);
  color: #d8b4fe;
  font-size: 1.25rem;
}

.contact-point strong {
  display: block;
  color: #fff;
  margin-bottom: 0.25rem;
  font-size: 1rem;
}

.contact-point small {
  color: rgba(233, 225, 250, 0.76);
  font-size: 0.92rem;
}

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

.contact-social {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  min-height: 4rem;
  padding: 0.95rem 1rem;
  border-radius: 22px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);
  color: #fff;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.contact-social:hover {
  transform: translateY(-4px);
  border-color: rgba(216, 180, 254, 0.28);
  box-shadow: 0 20px 44px rgba(70, 29, 128, 0.16);
}

.contact-social i {
  color: #d8b4fe;
  font-size: 1.25rem;
}

.contact-form--premium {
  position: relative;
  overflow: hidden;
}

.contact-form--premium::before {
  content: "";
  position: absolute;
  inset: auto -15% 88% auto;
  width: 14rem;
  height: 14rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(168, 85, 247, 0.28), transparent 70%);
  filter: blur(18px);
  pointer-events: none;
}

.contact-form__header {
  margin-bottom: 1rem;
}

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

.contact-form--premium label {
  margin-bottom: 1rem;
}

.contact-form--premium input,
.contact-form--premium textarea {
  border-radius: 20px;
  background: rgba(255,255,255,0.045);
  border: 1px solid rgba(255,255,255,0.08);
  min-height: 3.4rem;
}

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

.contact-form--premium input:focus,
.contact-form--premium textarea:focus {
  border-color: rgba(216, 180, 254, 0.42);
  box-shadow: 0 0 0 4px rgba(139, 92, 246, 0.12), 0 14px 32px rgba(70, 29, 128, 0.12);
}

.contact-form--premium .btn {
  width: 100%;
  justify-content: center;
  min-height: 3.8rem;
  font-size: 1rem;
}

.contact-form--premium .form-note,
.contact-form--premium .form-status {
  text-align: center;
}

@media (max-width: 980px) {
  .contact-showcase__grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .contact-showcase {
    padding: 1rem;
  }

  .contact-identity,
  .contact-form--premium {
    padding: 1.15rem;
    border-radius: 24px;
  }

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

  .contact-point {
    grid-template-columns: 52px 1fr;
    gap: 0.85rem;
  }

  .contact-point__icon {
    width: 52px;
    height: 52px;
  }
}

@media (max-width: 560px) {
  .contact-socials,
  .contact-form--premium .form-grid {
    grid-template-columns: 1fr;
  }

  .contact-identity__top h3,
  .contact-form__header h3 {
    font-size: 1.55rem;
  }
}



/* Theme toggle + light mode */
:root {
  --theme-bg: #07070d;
  --theme-bg-soft: #0d101a;
  --theme-surface: rgba(255,255,255,0.05);
  --theme-surface-strong: rgba(255,255,255,0.08);
  --theme-text: #ffffff;
  --theme-muted: #b9b3d9;
  --theme-border: rgba(255,255,255,0.08);
  --theme-accent: #8b5cf6;
}

.theme-toggle {
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--theme-text);
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--theme-border);
  box-shadow: 0 10px 28px rgba(8, 10, 18, 0.18);
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease, color 0.3s ease;
}

.theme-toggle:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(88, 41, 173, 0.18);
}

.theme-toggle i {
  font-size: 1.15rem;
  color: #d8b4fe;
}

body.light-mode {
  --theme-bg: #f6f7fb;
  --theme-bg-soft: #ffffff;
  --theme-surface: rgba(255,255,255,0.88);
  --theme-surface-strong: rgba(255,255,255,0.96);
  --theme-text: #0f172a;
  --theme-muted: #475569;
  --theme-border: rgba(15, 23, 42, 0.09);
  --theme-accent: #7c3aed;
  background:
    radial-gradient(circle at top left, rgba(124, 58, 237, 0.09), transparent 22%),
    radial-gradient(circle at 82% 12%, rgba(168, 85, 247, 0.07), transparent 20%),
    linear-gradient(180deg, #fbfcff 0%, #f4f6fb 48%, #eef2f9 100%);
  color: var(--theme-text);
}

body.light-mode .noise {
  opacity: 0.035;
}

body.light-mode .glass-shell,
body.light-mode .glass-panel,
body.light-mode .nav,
body.light-mode .mini-card,
body.light-mode .about__points article,
body.light-mode .about__stat,
body.light-mode .contact-form input,
body.light-mode .contact-form textarea,
body.light-mode .contact-point,
body.light-mode .contact-social,
body.light-mode .team-modal__skill,
body.light-mode .team-member-card__details span,
body.light-mode .offer-gallery-card__benefits span,
body.light-mode .event-gallery-card__stats span,
body.light-mode .footer__socials a {
  background: var(--theme-surface) !important;
  border-color: var(--theme-border) !important;
  box-shadow: 0 18px 48px rgba(15, 23, 42, 0.07);
  backdrop-filter: blur(18px);
}

body.light-mode .glass-panel::after,
body.light-mode .glass-shell::after {
  background: linear-gradient(120deg, transparent 15%, rgba(124,58,237,0.05) 50%, transparent 85%);
}

body.light-mode .brand,
body.light-mode h1,
body.light-mode h2,
body.light-mode h3,
body.light-mode h4,
body.light-mode strong,
body.light-mode .nav__links a,
body.light-mode .btn,
body.light-mode .contact-point strong,
body.light-mode .team-member-card h3,
body.light-mode .project-modal__content h3,
body.light-mode .showcase-title,
body.light-mode .hero h1,
body.light-mode .cta__box h2 {
  color: #0f172a !important;
  -webkit-text-fill-color: currentColor;
  text-shadow: none !important;
}

body.light-mode .showcase-title,
body.light-mode .hero h1 span {
  background: linear-gradient(180deg, #1e293b 0%, #5b21b6 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent !important;
}

body.light-mode p,
body.light-mode span,
body.light-mode small,
body.light-mode .hero__text,
body.light-mode .showcase-copy,
body.light-mode .footer__copy,
body.light-mode .project-modal__content p,
body.light-mode .project-modal__meta,
body.light-mode .team-member-card__content > span,
body.light-mode .contact-identity__top p,
body.light-mode .contact-form__header p,
body.light-mode .contact-point small,
body.light-mode .form-note,
body.light-mode .form-status {
  color: var(--theme-muted) !important;
}

body.light-mode .nav {
  background: rgba(255,255,255,0.75) !important;
  border-color: rgba(15,23,42,0.08) !important;
  box-shadow: 0 18px 40px rgba(15,23,42,0.08);
}

body.light-mode .brand__mark,
body.light-mode .hero__badge,
body.light-mode .event-gallery-card__pill,
body.light-mode .offer-gallery-card__tag,
body.light-mode .team-member-card__role,
body.light-mode .contact-identity__badge,
body.light-mode .contact-form__eyebrow {
  background: rgba(124, 58, 237, 0.1) !important;
  color: #5b21b6 !important;
  border-color: rgba(124, 58, 237, 0.14) !important;
  box-shadow: 0 12px 30px rgba(124,58,237,0.08);
}

body.light-mode .btn {
  background: linear-gradient(135deg, #7c3aed, #8b5cf6);
  color: #fff !important;
  border-color: transparent !important;
}

body.light-mode .btn.btn--ghost {
  background: rgba(124,58,237,0.06) !important;
  color: #5b21b6 !important;
  border: 1px solid rgba(124,58,237,0.14) !important;
}

body.light-mode .contact-form input,
body.light-mode .contact-form textarea {
  color: #0f172a !important;
}

body.light-mode .contact-form input::placeholder,
body.light-mode .contact-form textarea::placeholder {
  color: #64748b !important;
}

body.light-mode .event-gallery-card__overlay,
body.light-mode .offer-gallery-card__gradient,
body.light-mode .team-member-card::after,
body.light-mode .team-member-card__shade,
body.light-mode .project-modal__content,
body.light-mode .team-modal__content {
  background:
    linear-gradient(180deg, transparent 0%, rgba(255,255,255,0.18) 35%, rgba(255,255,255,0.96) 100%) !important;
}

body.light-mode .project-modal__dialog,
body.light-mode .team-modal__dialog {
  background: rgba(255,255,255,0.96) !important;
  border-color: rgba(15,23,42,0.08) !important;
  box-shadow: 0 30px 80px rgba(15,23,42,0.16);
}

body.light-mode .project-modal__backdrop {
  background: rgba(241,245,249,0.55) !important;
  backdrop-filter: blur(10px);
}

body.light-mode .footer__bar {
  border-top-color: rgba(15,23,42,0.08);
  color: #64748b;
}

body.light-mode .cursor {
  background: #5b21b6;
}

body.light-mode .cursor-follower {
  background: rgba(124,58,237,0.08);
  border-color: rgba(124,58,237,0.25);
  box-shadow: 0 0 24px rgba(124,58,237,0.12);
}

body.light-mode .site-loader {
  background: rgba(248,250,252,0.96);
}

body.light-mode .site-loader p {
  color: #64748b;
}

body.light-mode .loader__core {
  border-color: rgba(15,23,42,0.08);
  border-top-color: #7c3aed;
  box-shadow: 0 0 24px rgba(124,58,237,0.12);
}

body.light-mode .ambient--one,
body.light-mode .ambient--two,
body.light-mode .ambient--three {
  opacity: 0.32;
}

@media (max-width: 768px) {
  .theme-toggle {
    width: 44px;
    height: 44px;
    flex-basis: 44px;
  }
}


/* Navbar width polish */
.nav {
  width: min(1480px, calc(100% - 0.6rem)) !important;
  max-width: min(1480px, calc(100% - 0.6rem)) !important;
  padding-inline: clamp(1rem, 2vw, 1.6rem);
}

@media (max-width: 1100px) {
  .nav {
    width: min(100%, calc(100% - 0.5rem)) !important;
    max-width: min(100%, calc(100% - 0.5rem)) !important;
  }
}

@media (min-width: 1101px) {
  .nav__links {
    gap: clamp(0.9rem, 1.5vw, 1.6rem);
  }
}


/* Light mode fixes */
body.light-mode .events-showcase,
body.light-mode .offers-showcase,
body.light-mode .featured-projects-showcase,
body.light-mode .highlights,
body.light-mode .section {
  background: transparent !important;
}

body.light-mode .event-gallery-card,
body.light-mode .offer-gallery-card,
body.light-mode .portfolio-card,
body.light-mode .team-member-card,
body.light-mode .service-card,
body.light-mode .process-card,
body.light-mode .insight-card,
body.light-mode .stat,
body.light-mode .contact-identity,
body.light-mode .contact-form--premium,
body.light-mode .footer__quick {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.92), rgba(250,247,255,0.88)) !important;
  border-color: rgba(124, 58, 237, 0.10) !important;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08) !important;
}

body.light-mode .event-gallery-card__body,
body.light-mode .offer-gallery-card__content,
body.light-mode .portfolio-card__content,
body.light-mode .team-member-card__content {
  background: linear-gradient(180deg, rgba(255,255,255,0.10) 0%, rgba(255,255,255,0.74) 34%, rgba(255,255,255,0.97) 100%) !important;
  backdrop-filter: blur(14px);
}

body.light-mode .event-gallery-card__body h3,
body.light-mode .offer-gallery-card__content h3,
body.light-mode .portfolio-card__content h3,
body.light-mode .team-member-card h3,
body.light-mode .event-gallery-card__footer strong,
body.light-mode .offer-gallery-card__footer strong {
  color: #111827 !important;
  -webkit-text-fill-color: currentColor !important;
}

body.light-mode .event-gallery-card__body p,
body.light-mode .offer-gallery-card__content p,
body.light-mode .portfolio-card__content p,
body.light-mode .team-member-card__content > span,
body.light-mode .event-gallery-card__footer span,
body.light-mode .offer-gallery-card__footer span {
  color: #475569 !important;
}

body.light-mode .event-gallery-card__meta span,
body.light-mode .offer-gallery-card__topline span,
body.light-mode .event-gallery-card__stats span,
body.light-mode .offer-gallery-card__benefits span,
body.light-mode .team-member-card__details span,
body.light-mode .project-modal__meta,
body.light-mode .team-modal__skill {
  background: rgba(124, 58, 237, 0.06) !important;
  border-color: rgba(124, 58, 237, 0.12) !important;
  color: #5b21b6 !important;
  box-shadow: none !important;
}

body.light-mode .event-gallery-card__meta i,
body.light-mode .offer-gallery-card__benefits i,
body.light-mode .team-member-card__details i,
body.light-mode .team-modal__skill i {
  color: #7c3aed !important;
}

body.light-mode .event-gallery-card__overlay,
body.light-mode .offer-gallery-card__headline,
body.light-mode .team-member-card__role {
  background: rgba(255,255,255,0.82) !important;
  border: 1px solid rgba(124,58,237,0.10) !important;
  color: #4c1d95 !important;
  box-shadow: 0 10px 22px rgba(15,23,42,0.06);
}

body.light-mode .event-gallery-card__overlay strong,
body.light-mode .offer-gallery-card__headline strong,
body.light-mode .offer-gallery-card__headline span,
body.light-mode .event-gallery-card__overlay p {
  color: #334155 !important;
}

body.light-mode .offer-gallery-card__gradient {
  background: linear-gradient(180deg, rgba(255,255,255,0.04) 0%, rgba(255,255,255,0.16) 24%, rgba(255,255,255,0.90) 100%) !important;
}

body.light-mode .team-member-card::after,
body.light-mode .team-member-card__shade {
  background: linear-gradient(180deg, rgba(255,255,255,0.02) 0%, rgba(255,255,255,0.18) 30%, rgba(255,255,255,0.96) 100%) !important;
}

body.light-mode .event-gallery-card::before,
body.light-mode .offer-gallery-card::before,
body.light-mode .team-member-card::before {
  opacity: 0.35;
}

body.light-mode .showcase-title::before,
body.light-mode .showcase-title::after {
  background: linear-gradient(90deg, transparent, rgba(124,58,237,0.25), transparent) !important;
}

body.light-mode .nav__links a,
body.light-mode .brand span {
  color: #111827 !important;
}

body.light-mode .nav__links a.active,
body.light-mode .nav__links a:hover {
  color: #5b21b6 !important;
}

body.light-mode .nav__cta {
  color: #fff !important;
}

body.light-mode .theme-toggle {
  background: rgba(124,58,237,0.08) !important;
  border-color: rgba(124,58,237,0.12) !important;
}

body.light-mode .theme-toggle i {
  color: #7c3aed !important;
}

body.light-mode .project-modal__content,
body.light-mode .team-modal__content {
  background:
    radial-gradient(circle at top right, rgba(124, 58, 237, 0.08), transparent 30%),
    linear-gradient(180deg, rgba(255,255,255,0.96), rgba(249,247,255,0.98)) !important;
}

body.light-mode .project-modal__content #modal-description,
body.light-mode .team-modal__content #modal-description {
  color: #475569 !important;
}

body.light-mode .contact-showcase {
  background:
    radial-gradient(circle at top left, rgba(124, 58, 237, 0.08), transparent 22%),
    radial-gradient(circle at 85% 14%, rgba(168, 85, 247, 0.07), transparent 24%),
    linear-gradient(180deg, rgba(255,255,255,0.92), rgba(246,247,251,0.96)) !important;
}

body.light-mode .contact-showcase__glow {
  opacity: 0.25 !important;
}

body.light-mode .contact-point,
body.light-mode .contact-social {
  color: #111827 !important;
}

body.light-mode .event-gallery-card__footer,
body.light-mode .offer-gallery-card__footer {
  border-top-color: rgba(124,58,237,0.10) !important;
}

@media (max-width: 768px) {
  body.light-mode .event-gallery-card__body,
  body.light-mode .offer-gallery-card__content,
  body.light-mode .portfolio-card__content,
  body.light-mode .team-member-card__content {
    background: linear-gradient(180deg, rgba(255,255,255,0.18) 0%, rgba(255,255,255,0.84) 36%, rgba(255,255,255,0.98) 100%) !important;
  }
}



/* Refined light mode and responsive theme toggle */
body.light-mode {
  background:
    radial-gradient(circle at top left, rgba(124, 58, 237, 0.04), transparent 18%),
    radial-gradient(circle at 82% 12%, rgba(168, 85, 247, 0.035), transparent 16%),
    linear-gradient(180deg, #ffffff 0%, #fbfcff 38%, #f7f8fc 100%) !important;
}

body.light-mode .noise,
body.light-mode #particles-canvas,
body.light-mode .ambient {
  opacity: 0.18 !important;
}

body.light-mode .noise {
  opacity: 0.018 !important;
}

body.light-mode .glass-shell,
body.light-mode .glass-panel,
body.light-mode .nav,
body.light-mode .mini-card,
body.light-mode .about__points article,
body.light-mode .about__stat,
body.light-mode .contact-form input,
body.light-mode .contact-form textarea,
body.light-mode .contact-point,
body.light-mode .contact-social,
body.light-mode .team-modal__skill,
body.light-mode .team-member-card__details span,
body.light-mode .offer-gallery-card__benefits span,
body.light-mode .event-gallery-card__stats span,
body.light-mode .footer__socials a {
  background: rgba(255,255,255,0.94) !important;
  border-color: rgba(15, 23, 42, 0.07) !important;
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.055) !important;
}

body.light-mode .event-gallery-card,
body.light-mode .offer-gallery-card,
body.light-mode .portfolio-card,
body.light-mode .team-member-card,
body.light-mode .service-card,
body.light-mode .process-card,
body.light-mode .insight-card,
body.light-mode .stat,
body.light-mode .contact-identity,
body.light-mode .contact-form--premium,
body.light-mode .footer__quick {
  background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(252,252,255,0.96)) !important;
  border-color: rgba(15, 23, 42, 0.065) !important;
  box-shadow: 0 16px 38px rgba(15, 23, 42, 0.06) !important;
}

body.light-mode .offer-gallery-card__content,
body.light-mode .event-gallery-card__body,
body.light-mode .portfolio-card__content,
body.light-mode .team-member-card__content {
  background: linear-gradient(180deg, rgba(255,255,255,0.2) 0%, rgba(255,255,255,0.88) 36%, rgba(255,255,255,0.985) 100%) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.75);
}

body.light-mode .offer-gallery-card__gradient {
  background: linear-gradient(180deg, rgba(255,255,255,0.02) 0%, rgba(255,255,255,0.12) 24%, rgba(255,255,255,0.96) 100%) !important;
}

body.light-mode .team-member-card::after,
body.light-mode .team-member-card__shade,
body.light-mode .project-modal__content,
body.light-mode .team-modal__content {
  background:
    radial-gradient(circle at top right, rgba(124, 58, 237, 0.045), transparent 28%),
    linear-gradient(180deg, rgba(255,255,255,0.08) 0%, rgba(255,255,255,0.74) 42%, rgba(255,255,255,0.985) 100%) !important;
}

body.light-mode .event-gallery-card__overlay,
body.light-mode .offer-gallery-card__headline,
body.light-mode .team-member-card__role,
body.light-mode .event-gallery-card__pill,
body.light-mode .offer-gallery-card__tag,
body.light-mode .contact-identity__badge,
body.light-mode .contact-form__eyebrow {
  background: rgba(255,255,255,0.82) !important;
  color: #5b21b6 !important;
  border-color: rgba(124,58,237,0.12) !important;
  box-shadow: 0 8px 18px rgba(15,23,42,0.04) !important;
}

body.light-mode .event-gallery-card__meta span,
body.light-mode .offer-gallery-card__topline span,
body.light-mode .event-gallery-card__stats span,
body.light-mode .offer-gallery-card__benefits span,
body.light-mode .team-member-card__details span,
body.light-mode .team-modal__skill,
body.light-mode .project-modal__meta {
  background: rgba(124, 58, 237, 0.045) !important;
  border-color: rgba(124, 58, 237, 0.1) !important;
  color: #5b21b6 !important;
}

body.light-mode .nav {
  background: rgba(255,255,255,0.88) !important;
  border-color: rgba(15,23,42,0.06) !important;
  box-shadow: 0 16px 38px rgba(15,23,42,0.06) !important;
}

body.light-mode .brand__mark {
  background: rgba(124,58,237,0.08) !important;
  color: #5b21b6 !important;
  border-color: rgba(124,58,237,0.08) !important;
}

.theme-toggle--menu {
  display: none;
}

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

  .theme-toggle {
    display: none;
  }

  .theme-toggle--menu {
    display: inline-grid;
    margin-top: 0.75rem;
    width: 100%;
    min-height: 3rem;
    border-radius: 18px;
    grid-auto-flow: column;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.08);
    color: var(--text);
    cursor: pointer;
  }

  body.light-mode .theme-toggle--menu {
    background: rgba(124,58,237,0.06) !important;
    border-color: rgba(124,58,237,0.12) !important;
    color: #5b21b6 !important;
  }

  .nav__links .theme-toggle--menu i {
    font-size: 1rem;
  }
}



/* Mobile menu + light mode icon fixes */
body.light-mode .nav__menu__btn,
body.light-mode .nav__menu__btn i {
  color: #5b21b6 !important;
  border-color: rgba(124,58,237,0.14) !important;
}

@media (max-width: 768px) {
  body.light-mode .nav__menu__btn {
    background: rgba(124,58,237,0.08) !important;
    box-shadow: 0 10px 24px rgba(124,58,237,0.08);
  }

  body.light-mode .nav__links {
    background: rgba(255,255,255,0.98) !important;
    border: 1px solid rgba(15,23,42,0.06) !important;
    box-shadow: 0 20px 40px rgba(15,23,42,0.08) !important;
  }

  body.light-mode .nav__links a,
  body.light-mode .nav__links .theme-toggle--menu,
  body.light-mode .nav__links .theme-toggle--menu span,
  body.light-mode .nav__links .theme-toggle--menu i {
    color: #0f172a !important;
  }

  body.light-mode .nav__links .theme-toggle--menu {
    background: rgba(124,58,237,0.08) !important;
    border-color: rgba(124,58,237,0.14) !important;
  }

  body.light-mode .nav__links .theme-toggle--menu i {
    color: #7c3aed !important;
  }

  body.light-mode.menu-open::before {
    content: "";
    position: fixed;
    inset: 0;
    background: rgba(255,255,255,0.72);
    backdrop-filter: blur(6px);
    z-index: 1600;
  }

  body.light-mode .nav {
    z-index: 2200 !important;
  }
}



/* Team sync polish */
.team-section-home .team__grid--premium {
  margin-top: 0.35rem;
}

.team-section-home .team-member-card,
.team__grid--page .team-member-card {
  min-height: 38rem;
}

.team-section-home .team-member-card__media,
.team-section-home .team-member-card__media img,
.team__grid--page .team-member-card__media,
.team__grid--page .team-member-card__media img {
  min-height: 38rem;
}

.team-section-home .team-member-card__content,
.team__grid--page .team-member-card__content {
  padding: 1.7rem 1.6rem 1.7rem !important;
  gap: 0.9rem;
}

.team-section-home .team-member-card__name,
.team__grid--page .team-member-card__name {
  font-size: 0.9rem;
  letter-spacing: 0.18em;
}

.team-section-home .team-member-card h3,
.team__grid--page .team-member-card h3 {
  font-size: clamp(1.95rem, 2.4vw, 2.65rem);
}

.team-section-home .team-member-card__content > span,
.team__grid--page .team-member-card__content > span {
  max-width: 38ch;
  font-size: 1rem;
}

.team-section-home .team-member-card__details span,
.team__grid--page .team-member-card__details span {
  padding: 0.75rem 1rem;
  font-size: 0.85rem;
}

body.light-mode .team-section-home .team-member-card,
body.light-mode .team__grid--page .team-member-card {
  background: linear-gradient(180deg, rgba(255,255,255,0.99), rgba(251,250,255,0.98)) !important;
  box-shadow: 0 24px 48px rgba(15, 23, 42, 0.07) !important;
}

body.light-mode .team-section-home .team-member-card__content,
body.light-mode .team__grid--page .team-member-card__content {
  background:
    radial-gradient(circle at top right, rgba(124,58,237,0.04), transparent 28%),
    linear-gradient(180deg, rgba(255,255,255,0.08) 0%, rgba(255,255,255,0.84) 40%, rgba(255,255,255,0.985) 100%) !important;
}

body.light-mode .team-section-home .team-member-card h3,
body.light-mode .team__grid--page .team-member-card h3 {
  background: linear-gradient(180deg, #111827 0%, #5b21b6 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent !important;
}

body.light-mode .team-section-home .team-member-card__name,
body.light-mode .team__grid--page .team-member-card__name {
  color: #6d28d9 !important;
}

body.light-mode .team-section-home .team-member-card__content > span,
body.light-mode .team__grid--page .team-member-card__content > span {
  color: #475569 !important;
}

@media (max-width: 1100px) {
  .team-section-home .team-member-card,
  .team-section-home .team-member-card__media,
  .team-section-home .team-member-card__media img,
  .team__grid--page .team-member-card,
  .team__grid--page .team-member-card__media,
  .team__grid--page .team-member-card__media img {
    min-height: 33rem;
  }
}

@media (max-width: 768px) {
  .team-section-home .team-member-card,
  .team-section-home .team-member-card__media,
  .team-section-home .team-member-card__media img,
  .team__grid--page .team-member-card,
  .team__grid--page .team-member-card__media,
  .team__grid--page .team-member-card__media img {
    min-height: 28rem;
  }

  .team-section-home .team-member-card__content,
  .team__grid--page .team-member-card__content {
    padding: 1.25rem 1.1rem 1.3rem !important;
  }

  .team-section-home .team-member-card h3,
  .team__grid--page .team-member-card h3 {
    font-size: 1.7rem;
  }
}



/* Team card image visibility + content balance */
.team-member-card,
.team-section-home .team-member-card,
.team__grid--page .team-member-card {
  min-height: 42rem !important;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
}

.team-member-card::after,
.team-member-card__shade {
  background: linear-gradient(180deg, transparent 0%, rgba(6, 8, 15, 0.08) 48%, rgba(6, 8, 15, 0.38) 66%, rgba(6, 8, 15, 0.86) 100%) !important;
}

.team-member-card__media,
.team-section-home .team-member-card__media,
.team__grid--page .team-member-card__media {
  position: relative !important;
  inset: auto !important;
  min-height: 31rem !important;
  height: 31rem !important;
}

.team-member-card__media img,
.team-section-home .team-member-card__media img,
.team__grid--page .team-member-card__media img {
  min-height: 31rem !important;
  height: 31rem !important;
  object-fit: cover;
  object-position: center top;
}

.team-member-card__content,
.team-section-home .team-member-card__content,
.team__grid--page .team-member-card__content {
  position: relative !important;
  inset: auto !important;
  background:
    linear-gradient(180deg, rgba(10, 12, 22, 0.06) 0%, rgba(10, 12, 22, 0.72) 12%, rgba(10, 12, 22, 0.94) 100%) !important;
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 1.5rem 1.5rem 1.6rem !important;
  margin-top: -2.8rem;
  z-index: 3;
  border-bottom-left-radius: inherit;
  border-bottom-right-radius: inherit;
  backdrop-filter: blur(18px);
}

.team-member-card__name,
.team-section-home .team-member-card__name,
.team__grid--page .team-member-card__name {
  font-size: 0.95rem !important;
  letter-spacing: 0.18em !important;
  margin-bottom: 0.15rem;
}

.team-member-card h3,
.team-section-home .team-member-card h3,
.team__grid--page .team-member-card h3 {
  margin: 0 0 0.35rem 0 !important;
  font-size: clamp(2rem, 2.6vw, 2.8rem) !important;
  line-height: 0.98;
}

.team-member-card__content > span,
.team-section-home .team-member-card__content > span,
.team__grid--page .team-member-card__content > span {
  max-width: 44ch !important;
  font-size: 1rem !important;
  line-height: 1.85 !important;
}

.team-member-card__details,
.team-section-home .team-member-card__details,
.team__grid--page .team-member-card__details {
  margin-top: 0.45rem;
}

.team-member-card__details span,
.team-section-home .team-member-card__details span,
.team__grid--page .team-member-card__details span {
  padding: 0.78rem 1.02rem !important;
  font-size: 0.86rem !important;
}

body.light-mode .team-member-card__content,
body.light-mode .team-section-home .team-member-card__content,
body.light-mode .team__grid--page .team-member-card__content {
  background:
    radial-gradient(circle at top right, rgba(124,58,237,0.04), transparent 26%),
    linear-gradient(180deg, rgba(255,255,255,0.16) 0%, rgba(255,255,255,0.92) 14%, rgba(255,255,255,0.995) 100%) !important;
  border-top-color: rgba(124,58,237,0.10) !important;
}

body.light-mode .team-member-card::after,
body.light-mode .team-member-card__shade {
  background: linear-gradient(180deg, transparent 0%, rgba(255,255,255,0.03) 54%, rgba(255,255,255,0.16) 68%, rgba(255,255,255,0.92) 100%) !important;
}

@media (max-width: 1100px) {
  .team-member-card,
  .team-section-home .team-member-card,
  .team__grid--page .team-member-card {
    min-height: 38rem !important;
  }

  .team-member-card__media,
  .team-section-home .team-member-card__media,
  .team__grid--page .team-member-card__media,
  .team-member-card__media img,
  .team-section-home .team-member-card__media img,
  .team__grid--page .team-member-card__media img {
    min-height: 27.5rem !important;
    height: 27.5rem !important;
  }
}

@media (max-width: 768px) {
  .team-member-card,
  .team-section-home .team-member-card,
  .team__grid--page .team-member-card {
    min-height: 33rem !important;
  }

  .team-member-card__media,
  .team-section-home .team-member-card__media,
  .team__grid--page .team-member-card__media,
  .team-member-card__media img,
  .team-section-home .team-member-card__media img,
  .team__grid--page .team-member-card__media img {
    min-height: 23.5rem !important;
    height: 23.5rem !important;
  }

  .team-member-card__content,
  .team-section-home .team-member-card__content,
  .team__grid--page .team-member-card__content {
    margin-top: -2.1rem;
    padding: 1.2rem 1.05rem 1.25rem !important;
  }

  .team-member-card h3,
  .team-section-home .team-member-card h3,
  .team__grid--page .team-member-card h3 {
    font-size: 1.7rem !important;
  }

  .team-member-card__content > span,
  .team-section-home .team-member-card__content > span,
  .team__grid--page .team-member-card__content > span {
    font-size: 0.94rem !important;
  }
}



/* Language switcher + multilingual typography */
.lang-switcher {
  display: inline-flex;
  align-items: center;
  gap: 0.32rem;
  padding: 0.34rem;
  border-radius: 999px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 12px 30px rgba(8, 10, 18, 0.12);
}

.lang-btn {
  min-width: 44px;
  height: 40px;
  padding: 0 0.9rem;
  border-radius: 999px;
  display: inline-grid;
  place-items: center;
  color: var(--text);
  font-family: var(--heading-font);
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
}

.lang-btn.active {
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.9), rgba(168, 85, 247, 0.95));
  color: #fff;
  box-shadow: 0 12px 28px rgba(124, 58, 237, 0.24);
}

.lang-btn:not(.active):hover {
  transform: translateY(-1px);
  background: rgba(255,255,255,0.08);
}

.lang-switcher--menu {
  display: none;
}

body.rtl-lang,
body.lang-ar,
body.lang-ku {
  --body-font: "Noto Sans Arabic", "Inter", sans-serif;
  --heading-font: "Noto Sans Arabic", "Outfit", sans-serif;
}

body.rtl-lang {
  direction: rtl;
}

body.rtl-lang .hero__content,
body.rtl-lang .about__details,
body.rtl-lang .section__intro:not(.section__intro--showcase),
body.rtl-lang .project-modal__content,
body.rtl-lang .team-modal__content,
body.rtl-lang .contact-identity,
body.rtl-lang .contact-form,
body.rtl-lang .cta__box,
body.rtl-lang .footer__quick {
  text-align: right;
}

body.rtl-lang .hero__actions,
body.rtl-lang .modal__actions,
body.rtl-lang .contact-socials,
body.rtl-lang .footer__socials {
  justify-content: flex-start;
}

body.rtl-lang .contact-point {
  grid-template-columns: 1fr 58px;
}

body.rtl-lang .contact-point__icon {
  order: 2;
}

body.rtl-lang .contact-point div {
  order: 1;
}

body.rtl-lang .team-modal__skill,
body.rtl-lang .team-member-card__details span,
body.rtl-lang .event-gallery-card__stats span,
body.rtl-lang .offer-gallery-card__benefits span,
body.rtl-lang .event-gallery-card__meta span {
  flex-direction: row-reverse;
}

body.rtl-lang .nav__links {
  direction: rtl;
}

body.light-mode .lang-switcher {
  background: rgba(255,255,255,0.82) !important;
  border-color: rgba(124,58,237,0.12) !important;
  box-shadow: 0 12px 28px rgba(15,23,42,0.06);
}

body.light-mode .lang-btn {
  color: #4c1d95 !important;
}

body.light-mode .lang-btn.active {
  color: #fff !important;
}

@media (max-width: 768px) {
  .lang-switcher--desktop {
    display: none;
  }

  .lang-switcher--menu {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    width: 100%;
    border-radius: 20px;
    margin-top: 0.75rem;
  }

  .lang-switcher--menu .lang-btn {
    min-width: 0;
    height: 46px;
    width: 100%;
  }

  body.rtl-lang .lang-switcher--menu {
    direction: ltr;
  }
}



/* Final multilingual polish for hosting */
html[lang="ar"],
html[lang="ckb"] {
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body.lang-ar,
body.lang-ku {
  font-family: "Noto Sans Arabic", "Inter", sans-serif !important;
}

body.lang-ar h1,
body.lang-ar h2,
body.lang-ar h3,
body.lang-ar h4,
body.lang-ar .brand,
body.lang-ar .btn,
body.lang-ar .eyebrow,
body.lang-ku h1,
body.lang-ku h2,
body.lang-ku h3,
body.lang-ku h4,
body.lang-ku .brand,
body.lang-ku .btn,
body.lang-ku .eyebrow {
  font-family: "Noto Sans Arabic", "Outfit", sans-serif !important;
}

body.lang-ar,
body.lang-ku {
  letter-spacing: 0 !important;
}

body.lang-ar .showcase-title,
body.lang-ku .showcase-title,
body.lang-ar .hero h1,
body.lang-ku .hero h1,
body.lang-ar .team-member-card h3,
body.lang-ku .team-member-card h3,
body.lang-ar .project-modal__content h3,
body.lang-ku .project-modal__content h3 {
  line-height: 1.15 !important;
}

body.rtl-lang .nav {
  direction: rtl;
}

body.rtl-lang .nav__links a,
body.rtl-lang .hero__text,
body.rtl-lang .showcase-copy,
body.rtl-lang .about__lead,
body.rtl-lang .project-modal__content p,
body.rtl-lang .team-modal__content p,
body.rtl-lang .contact-form label span,
body.rtl-lang .form-note,
body.rtl-lang .form-status {
  text-align: right;
}

body.rtl-lang .hero__stats,
body.rtl-lang .about__stats,
body.rtl-lang .contact-socials,
body.rtl-lang .team-modal__skills {
  direction: rtl;
}

body.rtl-lang .about__points article,
body.rtl-lang .contact-point,
body.rtl-lang .team-modal__skill {
  direction: rtl;
}

body.rtl-lang .hero__actions,
body.rtl-lang .modal__actions,
body.rtl-lang .contact-points {
  justify-content: flex-start;
}

body.rtl-lang .nav__links .lang-switcher--menu,
body.rtl-lang .lang-switcher--desktop {
  direction: ltr;
}

.lang-switcher {
  position: relative;
  isolation: isolate;
  backdrop-filter: blur(18px);
}

.lang-switcher::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(255,255,255,0.18), rgba(139,92,246,0.45), transparent 72%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.lang-btn {
  position: relative;
  z-index: 1;
}

.lang-btn.active {
  transform: translateY(-1px);
}

body.light-mode .lang-switcher::before {
  background: linear-gradient(135deg, rgba(124,58,237,0.14), rgba(124,58,237,0.28), transparent 72%);
}

@media (max-width: 768px) {
  body.rtl-lang .nav__links {
    text-align: right;
  }

  body.rtl-lang .nav__links a {
    text-align: right !important;
  }

  body.rtl-lang .theme-toggle--menu,
  body.rtl-lang .lang-switcher--menu {
    direction: ltr;
  }
}



/* K24Bold-preferred Arabic/Kurdish typography */
body.lang-ar,
body.lang-ku {
  font-family: "K24Bold", "K24 Bold", "Noto Sans Arabic", "Inter", sans-serif !important;
}

body.lang-ar h1,
body.lang-ar h2,
body.lang-ar h3,
body.lang-ar h4,
body.lang-ar .brand,
body.lang-ar .btn,
body.lang-ar .eyebrow,
body.lang-ku h1,
body.lang-ku h2,
body.lang-ku h3,
body.lang-ku h4,
body.lang-ku .brand,
body.lang-ku .btn,
body.lang-ku .eyebrow {
  font-family: "K24Bold", "K24 Bold", "Noto Sans Arabic", "Outfit", sans-serif !important;
  font-size: inherit !important;
  line-height: inherit !important;
  letter-spacing: inherit !important;
}

body.lang-ar .showcase-title,
body.lang-ku .showcase-title,
body.lang-ar .hero h1,
body.lang-ku .hero h1,
body.lang-ar .team-member-card h3,
body.lang-ku .team-member-card h3,
body.lang-ar .project-modal__content h3,
body.lang-ku .project-modal__content h3 {
  font-size: inherit !important;
  line-height: inherit !important;
}

body.lang-ar p,
body.lang-ar span,
body.lang-ar a,
body.lang-ar button,
body.lang-ar input,
body.lang-ar textarea,
body.lang-ku p,
body.lang-ku span,
body.lang-ku a,
body.lang-ku button,
body.lang-ku input,
body.lang-ku textarea {
  font-size: inherit;
  line-height: inherit;
}



/* Premium project logo loader */
.site-loader {
  gap: 1rem;
}

.loader__orb {
  position: absolute;
  width: 12rem;
  height: 12rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.22), rgba(139, 92, 246, 0.08) 42%, transparent 72%);
  filter: blur(18px);
  animation: loaderPulse 2.2s ease-in-out infinite;
}

.loader__logo-wrap {
  width: 9.2rem;
  height: 9.2rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  position: relative;
  background: rgba(10, 12, 22, 0.76);
  border: 1px solid rgba(216, 180, 254, 0.2);
  box-shadow:
    0 0 0 10px rgba(139, 92, 246, 0.04),
    0 18px 40px rgba(10, 12, 22, 0.34),
    0 0 40px rgba(139, 92, 246, 0.16);
  overflow: hidden;
}

.loader__logo-wrap::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(255,255,255,0.28), rgba(139,92,246,0.78), transparent 74%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
}

.loader__logo-wrap::after {
  content: "";
  position: absolute;
  inset: -18%;
  border-radius: 50%;
  border: 2px solid rgba(216, 180, 254, 0.14);
  border-top-color: rgba(216, 180, 254, 0.82);
  animation: spin 2.1s linear infinite;
}

.loader__logo {
  width: 66%;
  height: 66%;
  object-fit: contain;
  position: relative;
  z-index: 1;
  animation: loaderFloat 2.8s ease-in-out infinite;
  filter: drop-shadow(0 10px 24px rgba(139, 92, 246, 0.18));
}

.site-loader p {
  position: relative;
  z-index: 1;
  letter-spacing: 0.22em;
  font-size: 0.82rem;
  color: rgba(235, 228, 255, 0.88);
}

body.light-mode .loader__logo-wrap {
  background: rgba(255,255,255,0.92);
  border-color: rgba(124,58,237,0.14);
  box-shadow:
    0 0 0 10px rgba(124,58,237,0.03),
    0 18px 40px rgba(15,23,42,0.08),
    0 0 32px rgba(124,58,237,0.1);
}

body.light-mode .loader__orb {
  background: radial-gradient(circle, rgba(124, 58, 237, 0.18), rgba(124, 58, 237, 0.06) 42%, transparent 72%);
}

body.light-mode .site-loader p {
  color: #4b5563;
}

@keyframes loaderPulse {
  0%, 100% { transform: scale(0.95); opacity: 0.78; }
  50% { transform: scale(1.08); opacity: 1; }
}

@keyframes loaderFloat {
  0%, 100% { transform: translateY(0px) scale(1); }
  50% { transform: translateY(-6px) scale(1.02); }
}



/* Better Arabic/Kurdish layout parity with English */
body.rtl-lang .hero__content,
body.rtl-lang .section__intro--showcase,
body.rtl-lang .section__intro--with-action,
body.rtl-lang .showcase-title,
body.rtl-lang .showcase-copy,
body.rtl-lang .highlight-hero,
body.rtl-lang .highlight-premium-card,
body.rtl-lang .project-modal__content,
body.rtl-lang .team-modal__content,
body.rtl-lang .contact-showcase__intro {
  text-align: center !important;
  justify-items: center !important;
}

body.rtl-lang .hero__actions,
body.rtl-lang .modal__actions,
body.rtl-lang .contact-socials,
body.rtl-lang .footer__socials,
body.rtl-lang .highlight-hero__stats,
body.rtl-lang .team-modal__skills {
  justify-content: center !important;
}

body.rtl-lang .event-gallery-card__body,
body.rtl-lang .offer-gallery-card__content,
body.rtl-lang .portfolio-card__content,
body.rtl-lang .team-member-card__content,
body.rtl-lang .contact-identity,
body.rtl-lang .contact-form,
body.rtl-lang .cta__box,
body.rtl-lang .footer__quick,
body.rtl-lang .about__details {
  text-align: center !important;
  justify-items: center !important;
}

body.rtl-lang .event-gallery-card__meta,
body.rtl-lang .event-gallery-card__stats,
body.rtl-lang .offer-gallery-card__benefits,
body.rtl-lang .team-member-card__details,
body.rtl-lang .tag-row {
  justify-content: center !important;
}

body.rtl-lang .contact-point {
  grid-template-columns: 58px 1fr !important;
  text-align: right !important;
}

body.rtl-lang .contact-point__icon {
  order: 0 !important;
}

body.rtl-lang .contact-point div {
  order: 0 !important;
}

body.rtl-lang .team-member-card__content > span,
body.rtl-lang .event-gallery-card__body p,
body.rtl-lang .offer-gallery-card__content p,
body.rtl-lang .project-modal__content p,
body.rtl-lang .team-modal__content p,
body.rtl-lang .highlight-hero p,
body.rtl-lang .highlight-premium-card p {
  max-width: 42ch;
  margin-inline: auto;
}

body.rtl-lang .hero__text,
body.rtl-lang .about__lead,
body.rtl-lang .footer__copy,
body.rtl-lang .contact-identity__top p,
body.rtl-lang .contact-form__header p {
  max-width: 58ch;
  margin-inline: auto;
  text-align: center !important;
}

body.rtl-lang .showcase-title::before {
  right: auto;
  left: calc(100% + 1rem);
}

body.rtl-lang .showcase-title::after {
  left: auto;
  right: calc(100% + 1rem);
}

body.rtl-lang .nav__links a,
body.rtl-lang .nav__links .theme-toggle--menu,
body.rtl-lang .nav__links .lang-switcher--menu {
  text-align: center !important;
}

@media (max-width: 768px) {
  body.rtl-lang .hero__content,
  body.rtl-lang .section__intro--showcase,
  body.rtl-lang .event-gallery-card__body,
  body.rtl-lang .offer-gallery-card__content,
  body.rtl-lang .team-member-card__content,
  body.rtl-lang .project-modal__content,
  body.rtl-lang .team-modal__content,
  body.rtl-lang .contact-identity,
  body.rtl-lang .contact-form {
    text-align: center !important;
  }

  body.rtl-lang .nav__links,
  body.rtl-lang .nav__links a {
    text-align: center !important;
  }
}



/* Arabic/Kurdish final polish */
body.lang-ar .nav,
body.lang-ku .nav {
  grid-template-columns: auto auto 1fr auto auto auto !important;
}

body.lang-ar .nav__links,
body.lang-ku .nav__links {
  gap: clamp(0.7rem, 1.15vw, 1.15rem) !important;
  flex-wrap: nowrap !important;
}

body.lang-ar .nav__links a,
body.lang-ku .nav__links a {
  font-size: clamp(0.92rem, 0.95vw, 1rem) !important;
  line-height: 1.15 !important;
  white-space: nowrap !important;
  letter-spacing: 0 !important;
}

body.lang-ar .brand,
body.lang-ku .brand {
  gap: 0.7rem;
}

body.lang-ar .brand > span:last-child,
body.lang-ku .brand > span:last-child {
  font-size: 1rem;
  line-height: 1.15;
  white-space: nowrap;
}

body.lang-ar .lang-switcher--desktop,
body.lang-ku .lang-switcher--desktop {
  margin-inline: 0.25rem;
}

body.lang-ar .hero h1,
body.lang-ku .hero h1 {
  font-size: clamp(2.7rem, 6.2vw, 5rem) !important;
  line-height: 1.08 !important;
  letter-spacing: 0 !important;
}

body.lang-ar .hero__text,
body.lang-ku .hero__text {
  font-size: clamp(1.02rem, 1.38vw, 1.12rem) !important;
  line-height: 2 !important;
}

body.lang-ar .showcase-title,
body.lang-ku .showcase-title {
  font-size: clamp(2.6rem, 5.35vw, 4.85rem) !important;
  line-height: 1.04 !important;
  letter-spacing: 0 !important;
}

body.lang-ar .showcase-copy,
body.lang-ku .showcase-copy {
  font-size: clamp(1rem, 1.35vw, 1.12rem) !important;
  line-height: 1.95 !important;
  max-width: 50rem !important;
}

body.lang-ar .section__intro--showcase,
body.lang-ku .section__intro--showcase,
body.lang-ar .section__intro,
body.lang-ku .section__intro {
  text-align: center !important;
  justify-items: center !important;
}

body.lang-ar .section__intro h2,
body.lang-ar .section__intro p,
body.lang-ku .section__intro h2,
body.lang-ku .section__intro p {
  text-align: center !important;
}

body.lang-ar .contact-form__header h3,
body.lang-ku .contact-form__header h3,
body.lang-ar .contact-identity__top h3,
body.lang-ku .contact-identity__top h3 {
  font-size: clamp(1.95rem, 2.8vw, 2.7rem) !important;
  line-height: 1.22 !important;
  letter-spacing: 0 !important;
}

body.lang-ar .contact-form__header p,
body.lang-ku .contact-form__header p,
body.lang-ar .contact-identity__top p,
body.lang-ku .contact-identity__top p,
body.lang-ar .form-note,
body.lang-ku .form-note {
  font-size: 1rem !important;
  line-height: 1.95 !important;
  max-width: 56ch;
  margin-inline: auto;
}

body.lang-ar .contact-form label span,
body.lang-ku .contact-form label span {
  font-size: 1rem !important;
}

body.lang-ar .contact-form input,
body.lang-ku .contact-form input,
body.lang-ar .contact-form textarea,
body.lang-ku .contact-form textarea {
  font-size: 1rem !important;
}

body.lang-ar .loader__logo-wrap,
body.lang-ku .loader__logo-wrap {
  width: 11rem !important;
  height: 11rem !important;
}

body.lang-ar .loader__orb,
body.lang-ku .loader__orb {
  width: 15rem !important;
  height: 15rem !important;
}

body.lang-ar .site-loader p,
body.lang-ku .site-loader p {
  font-size: 0.88rem !important;
  line-height: 1.7 !important;
  letter-spacing: 0.12em !important;
}

@media (max-width: 1200px) {
  body.lang-ar .nav,
  body.lang-ku .nav {
    grid-template-columns: auto 1fr auto auto auto !important;
  }

  body.lang-ar .nav__links,
  body.lang-ku .nav__links {
    gap: 0.8rem !important;
  }

  body.lang-ar .nav__links a,
  body.lang-ku .nav__links a {
    font-size: 0.9rem !important;
  }
}

@media (max-width: 768px) {
  body.lang-ar .hero h1,
  body.lang-ku .hero h1 {
    font-size: clamp(2.1rem, 9.4vw, 3rem) !important;
    line-height: 1.14 !important;
  }

  body.lang-ar .showcase-title,
  body.lang-ku .showcase-title {
    font-size: clamp(2rem, 9.6vw, 3rem) !important;
    line-height: 1.08 !important;
  }

  body.lang-ar .showcase-copy,
  body.lang-ku .showcase-copy,
  body.lang-ar .hero__text,
  body.lang-ku .hero__text {
    font-size: 0.98rem !important;
    line-height: 1.85 !important;
  }

  body.lang-ar .nav__links a,
  body.lang-ku .nav__links a {
    white-space: normal !important;
    font-size: 1rem !important;
  }

  body.lang-ar .contact-form__header h3,
  body.lang-ku .contact-form__header h3,
  body.lang-ar .contact-identity__top h3,
  body.lang-ku .contact-identity__top h3 {
    font-size: 1.65rem !important;
  }

  body.lang-ar .loader__logo-wrap,
  body.lang-ku .loader__logo-wrap {
    width: 9.8rem !important;
    height: 9.8rem !important;
  }
}



/* Kurdish section heading parity + larger contact inputs + bigger loader */
body.lang-ku .process .section__intro--showcase,
body.lang-ku .highlights .section__intro--showcase,
body.lang-ar .process .section__intro--showcase,
body.lang-ar .highlights .section__intro--showcase {
  text-align: center !important;
  justify-items: center !important;
}

body.lang-ku .process .showcase-title,
body.lang-ku .highlights .showcase-title,
body.lang-ar .process .showcase-title,
body.lang-ar .highlights .showcase-title {
  font-size: clamp(2.55rem, 5.3vw, 4.7rem) !important;
  line-height: 1.08 !important;
  letter-spacing: 0 !important;
}

body.lang-ku .process .showcase-copy,
body.lang-ku .highlights .showcase-copy,
body.lang-ar .process .showcase-copy,
body.lang-ar .highlights .showcase-copy {
  font-size: clamp(1rem, 1.3vw, 1.1rem) !important;
  line-height: 1.95 !important;
  max-width: 52rem !important;
  text-align: center !important;
}

body.lang-ku .contact-form--premium input,
body.lang-ku .contact-form--premium textarea,
body.lang-ar .contact-form--premium input,
body.lang-ar .contact-form--premium textarea,
.contact-form--premium input,
.contact-form--premium textarea {
  font-size: 1.04rem !important;
  min-height: 3.8rem !important;
  padding: 1.12rem 1.15rem !important;
}

.contact-form--premium textarea,
body.lang-ku .contact-form--premium textarea,
body.lang-ar .contact-form--premium textarea {
  min-height: 11.5rem !important;
  padding-top: 1rem !important;
}

.contact-form--premium label span {
  font-size: 1rem !important;
  margin-bottom: 0.1rem;
}

.loader__logo-wrap {
  width: 11.8rem !important;
  height: 11.8rem !important;
}

.loader__orb {
  width: 16rem !important;
  height: 16rem !important;
}

.loader__logo {
  width: 72% !important;
  height: 72% !important;
}

.site-loader p {
  margin-top: 0.35rem;
}

@media (max-width: 768px) {
  .contact-form--premium input,
  .contact-form--premium textarea {
    font-size: 1rem !important;
    min-height: 3.45rem !important;
  }

  .contact-form--premium textarea {
    min-height: 10rem !important;
  }

  .loader__logo-wrap {
    width: 10.2rem !important;
    height: 10.2rem !important;
  }

  .loader__orb {
    width: 13.5rem !important;
    height: 13.5rem !important;
  }
}



/* Bigger premium contact inputs */
.contact-form--premium .form-grid {
  gap: 1.15rem !important;
}

.contact-form--premium label {
  width: 100%;
  margin-bottom: 1.15rem !important;
}

.contact-form--premium input,
.contact-form--premium textarea {
  width: 100%;
  font-size: 1.08rem !important;
  min-height: 4.15rem !important;
  padding: 1.2rem 1.25rem !important;
  border-radius: 24px !important;
}

.contact-form--premium textarea {
  min-height: 13rem !important;
  padding-top: 1.15rem !important;
}

.contact-form--premium label span {
  display: block;
  margin-bottom: 0.45rem !important;
  font-size: 1.02rem !important;
}

body.lang-ku .contact-form--premium input,
body.lang-ku .contact-form--premium textarea,
body.lang-ar .contact-form--premium input,
body.lang-ar .contact-form--premium textarea {
  font-size: 1.08rem !important;
  line-height: 1.9 !important;
}

@media (max-width: 768px) {
  .contact-form--premium {
    padding: 1.3rem 1.1rem 1.35rem !important;
  }

  .contact-form--premium input,
  .contact-form--premium textarea {
    font-size: 1.04rem !important;
    min-height: 4rem !important;
    padding: 1.15rem 1.1rem !important;
    border-radius: 22px !important;
  }

  .contact-form--premium textarea {
    min-height: 12.2rem !important;
  }

  .contact-form--premium .btn {
    min-height: 4rem !important;
    font-size: 1.02rem !important;
  }
}

@media (max-width: 560px) {
  .contact-form--premium {
    padding: 1.2rem 1rem 1.25rem !important;
  }

  .contact-form--premium input,
  .contact-form--premium textarea {
    font-size: 1rem !important;
    min-height: 3.9rem !important;
    padding: 1.05rem 1rem !important;
  }

  .contact-form--premium textarea {
    min-height: 11.6rem !important;
  }

  .contact-form--premium label span {
    font-size: 0.98rem !important;
  }
}



/* Extra large full-width contact fields */
.contact-form--premium {
  max-width: 820px !important;
  margin-inline: auto !important;
}

.contact-form--premium label {
  width: 100%;
}

.contact-form--premium input,
.contact-form--premium textarea {
  width: 100% !important;
  font-size: 1.12rem !important;
  min-height: 4.6rem !important;
  padding: 1.35rem 1.4rem !important;
  border-radius: 26px !important;
}

.contact-form--premium textarea {
  min-height: 14.5rem !important;
}

.contact-form--premium label span {
  font-size: 1.08rem !important;
}

body.lang-ku .contact-form--premium input,
body.lang-ar .contact-form--premium input,
body.lang-ku .contact-form--premium textarea,
body.lang-ar .contact-form--premium textarea {
  font-size: 1.12rem !important;
}

@media (max-width: 768px) {
  .contact-form--premium {
    max-width: 100% !important;
  }

  .contact-form--premium input,
  .contact-form--premium textarea {
    font-size: 1.05rem !important;
    min-height: 4.2rem !important;
    padding: 1.2rem !important;
  }

  .contact-form--premium textarea {
    min-height: 12.5rem !important;
  }
}



/* Custom multilingual hero intro */
.hero__signature {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.8rem;
  padding: 0.75rem 1.15rem;
  border-radius: 999px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(216, 180, 254, 0.16);
  box-shadow: 0 18px 42px rgba(85, 39, 168, 0.16);
  color: #e8d7ff;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  backdrop-filter: blur(16px);
  animation: heroSignatureFloat 3.8s ease-in-out infinite;
}

.hero__title--custom {
  position: relative;
  display: inline-block;
  margin: 0;
  font-size: clamp(3.2rem, 7vw, 6.2rem);
  line-height: 0.95;
  letter-spacing: -0.05em;
  font-weight: 800;
  background: linear-gradient(180deg, #ffffff 0%, #f2e9ff 22%, #d8bcfe 56%, #a855f7 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 18px 46px rgba(115, 72, 220, 0.24);
  filter: drop-shadow(0 16px 42px rgba(124, 58, 237, 0.16));
  animation: heroTitleGlow 4.4s ease-in-out infinite;
}

.hero__title--custom::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -0.75rem;
  width: 42%;
  height: 10px;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(168, 85, 247, 0.45), transparent 72%);
  filter: blur(8px);
  opacity: 0.9;
}

.hero__text--custom {
  max-width: 30ch;
  margin-inline: auto;
  font-size: clamp(1.08rem, 1.55vw, 1.24rem);
  line-height: 1.95;
  color: rgba(235, 228, 255, 0.9);
  text-wrap: balance;
  animation: heroSubtitleReveal 1.25s ease both;
}

body.light-mode .hero__signature {
  background: rgba(255,255,255,0.86);
  color: #6d28d9;
  border-color: rgba(124,58,237,0.12);
  box-shadow: 0 14px 32px rgba(15,23,42,0.06);
}

body.light-mode .hero__title--custom {
  background: linear-gradient(180deg, #1f2937 0%, #4c1d95 56%, #7c3aed 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: none;
  filter: drop-shadow(0 14px 30px rgba(124, 58, 237, 0.08));
}

body.light-mode .hero__text--custom {
  color: #475569;
}

body.lang-ar .hero__signature,
body.lang-ku .hero__signature,
body.lang-ar .hero__title--custom,
body.lang-ku .hero__title--custom,
body.lang-ar .hero__text--custom,
body.lang-ku .hero__text--custom {
  letter-spacing: 0 !important;
}

body.lang-ar .hero__title--custom,
body.lang-ku .hero__title--custom {
  line-height: 1.08;
}

@keyframes heroSignatureFloat {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-4px); }
}

@keyframes heroTitleGlow {
  0%, 100% { transform: translateY(0); filter: drop-shadow(0 16px 42px rgba(124, 58, 237, 0.14)); }
  50% { transform: translateY(-3px); filter: drop-shadow(0 20px 50px rgba(168, 85, 247, 0.22)); }
}

@keyframes heroSubtitleReveal {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 768px) {
  .hero__title--custom {
    font-size: clamp(2.5rem, 11vw, 3.6rem);
    line-height: 1.02;
  }

  .hero__signature {
    min-height: 2.5rem;
    padding: 0.62rem 1rem;
  }

  .hero__text--custom {
    font-size: 1rem;
    line-height: 1.85;
  }
}


/* Hide removed hero signature */
.hero__signature,
[data-hero-signature] {
  display: none !important;
}


/* Center English hero like other languages */
.hero__title--custom,
.hero__text--custom {
  text-align: center !important;
  margin-inline: auto !important;
}

.hero__title--custom {
  display: block !important;
}

.hero__text--custom {
  max-width: 32ch !important;
}

/* --- 2026 refresh: animated brand logo + image text moved below cards --- */
.brand {
  gap: 0.95rem;
}

.brand__mark--logo {
  position: relative;
  width: 58px;
  height: 58px;
  border-radius: 0;
  overflow: visible;
  isolation: isolate;
  background: transparent;
  border: none;
  box-shadow: none;
  transform-style: preserve-3d;
  animation: brandFloat 5.5s ease-in-out infinite;
}

.brand__logo {
  position: relative;
  z-index: 3;
  width: 52px;
  height: 52px;
  object-fit: contain;
  filter: drop-shadow(0 10px 18px rgba(12, 8, 30, 0.38));
  animation: brandPulse 4.5s ease-in-out infinite;
}

.brand__orb,
.brand__ring,
.brand__shine {
  position: absolute;
  pointer-events: none;
}

.brand__orb {
  border-radius: 50%;
  filter: blur(3px);
}

.brand__orb--one {
  inset: -8px auto auto -10px;
  width: 26px;
  height: 26px;
  background: rgba(216, 180, 254, 0.4);
  animation: brandOrbitOne 6s linear infinite;
}

.brand__orb--two {
  inset: auto -7px -8px auto;
  width: 22px;
  height: 22px;
  background: rgba(103, 232, 249, 0.18);
  animation: brandOrbitTwo 7s linear infinite;
}

.brand__ring {
  inset: 4px;
  border-radius: 50%;
  border: 1px solid rgba(216, 180, 254, 0.18);
}

.brand__ring--outer {
  animation: brandSpin 10s linear infinite;
}

.brand__ring--inner {
  inset: 10px;
  border-radius: 50%;
  border-color: rgba(216, 180, 254, 0.14);
  animation: brandSpinReverse 8s linear infinite;
}

.brand__shine {
  inset: -30% auto -30% -110%;
  width: 34%;
  background: linear-gradient(180deg, transparent, rgba(255,255,255,0.22), transparent);
  transform: rotate(24deg);
  animation: brandShine 4.8s ease-in-out infinite;
  z-index: 4;
}

.brand:hover .brand__mark--logo {
  transform: translateY(-2px) rotate(-3deg) scale(1.05);
}

.brand:hover .brand__logo {
  filter: drop-shadow(0 12px 24px rgba(107, 58, 201, 0.34));
}

.event-gallery-card,
.offer-gallery-card {
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.event-gallery-card__media,
.offer-gallery-card__slider {
  position: relative;
  inset: auto;
  aspect-ratio: 16 / 11;
  min-height: 340px;
}

.event-gallery-card__media::after,
.offer-gallery-card__slider::after {
  background: linear-gradient(180deg, rgba(5,7,13,0.08) 0%, rgba(5,7,13,0.18) 55%, rgba(5,7,13,0.38) 100%);
}

.event-gallery-card__body,
.offer-gallery-card__content {
  position: relative;
  inset: auto;
  margin: -2rem 1.1rem 1.1rem;
  padding: 1.15rem 1.05rem 1.1rem;
  align-items: flex-start;
  justify-items: start;
  text-align: left;
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(18, 18, 28, 0.96), rgba(8, 8, 14, 0.98));
  box-shadow: 0 20px 48px rgba(3, 5, 12, 0.46);
}

.event-gallery-card__intro,
.offer-gallery-card__headline {
  width: 100%;
  display: grid;
  gap: 0.8rem;
  text-align: left;
  position: relative;
  inset: auto;
  opacity: 1;
  transform: none;
  padding: 0;
  background: none;
  border: 0;
  backdrop-filter: none;
}

.event-gallery-card__overlay,
.offer-gallery-card__headline {
  position: relative;
  inset: auto;
  opacity: 1;
  transform: none;
  background: none;
  border: 0;
  backdrop-filter: none;
  padding: 0;
  text-align: left;
}

.event-gallery-card__pill {
  position: relative;
  left: auto;
  top: auto;
  transform: none;
  align-self: flex-start;
  z-index: 1;
  padding: 0.58rem 0.85rem;
  background: rgba(164, 96, 255, 0.15);
  border: 1px solid rgba(216, 180, 254, 0.22);
  box-shadow: 0 10px 24px rgba(104, 56, 196, 0.12);
}

.event-gallery-card__overlay strong,
.offer-gallery-card__headline strong {
  font-size: 1.08rem;
}

.event-gallery-card__overlay p,
.offer-gallery-card__headline span {
  font-size: 0.95rem;
  color: rgba(240, 234, 255, 0.78);
}

.event-gallery-card__meta,
.offer-gallery-card__topline,
.event-gallery-card__footer,
.offer-gallery-card__footer {
  justify-content: flex-start;
}

.event-gallery-card__body h3,
.offer-gallery-card__content h3 {
  max-width: none;
  font-size: 1.7rem;
}

.event-gallery-card__body p,
.offer-gallery-card__content p {
  display: block;
}

.event-gallery-card__stats,
.offer-gallery-card__benefits {
  display: flex;
}

.event-gallery-card__footer strong,
.offer-gallery-card__footer strong {
  display: inline;
}

.offer-gallery-card__dots {
  bottom: 1rem;
}

.offer-gallery-card__content {
  gap: 0.95rem;
}

@keyframes brandFloat {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-3px) rotate(-1deg); }
}

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

@keyframes brandOrbitOne {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(8px, 10px) scale(1.16); }
}

@keyframes brandOrbitTwo {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-10px, -8px) scale(1.14); }
}

@keyframes brandSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes brandSpinReverse {
  from { transform: rotate(360deg); }
  to { transform: rotate(0deg); }
}

@keyframes brandShine {
  0%, 100% { transform: translateX(0) rotate(24deg); opacity: 0; }
  20% { opacity: 0.1; }
  50% { transform: translateX(240%) rotate(24deg); opacity: 0.45; }
  70%, 100% { transform: translateX(240%) rotate(24deg); opacity: 0; }
}

@media (max-width: 768px) {
  .brand__mark--logo {
    width: 48px;
    height: 48px;
    border-radius: 0;
  }

  .brand__logo {
    width: 42px;
    height: 42px;
  }

  .event-gallery-card__media,
  .offer-gallery-card__slider {
    min-height: 280px;
  }

  .event-gallery-card__body,
  .offer-gallery-card__content {
    margin: -1.4rem 0.85rem 0.85rem;
    padding: 1rem;
  }

  .event-gallery-card__body h3,
  .offer-gallery-card__content h3 {
    font-size: 1.38rem;
  }
}


@media (max-width: 900px) {
  .project-modal__dialog,
  .team-modal__dialog {
    max-height: min(92dvh, 920px);
    margin: 4vh auto;
  }

  .project-modal__content,
  .team-modal__content {
    max-height: none;
    overflow-y: visible;
  }
}

@media (max-width: 700px) {
  .project-modal {
    padding: 0.75rem 0;
  }

  .project-modal__dialog,
  .team-modal__dialog {
    width: min(100% - 1rem, 680px);
    max-height: 92dvh;
    margin: 2vh auto;
    grid-template-columns: 1fr;
    gap: 0.75rem;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: rgba(168, 139, 250, 0.8) rgba(255,255,255,0.06);
  }

  .project-modal__dialog::-webkit-scrollbar,
  .team-modal__dialog::-webkit-scrollbar {
    width: 8px;
  }

  .project-modal__dialog::-webkit-scrollbar-thumb,
  .team-modal__dialog::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, rgba(192, 132, 252, 0.95), rgba(124, 58, 237, 0.9));
    border-radius: 999px;
  }

  .project-modal__media img,
  .team-modal__media img {
    min-height: 240px;
    max-height: 38vh;
  }

  .project-modal__content,
  .team-modal__content {
    overflow: visible;
  }

  .project-modal__close {
    position: sticky;
    top: 0.35rem;
    margin-inline-start: auto;
    z-index: 5;
  }
}


/* FIX: full width inputs for KU & AR */
html[lang="ku"] .contact-form input,
html[lang="ku"] .contact-form textarea,
html[lang="ar"] .contact-form input,
html[lang="ar"] .contact-form textarea {
    width: 100% !important;
    max-width: 100% !important;
}

html[lang="ku"] .contact-form,
html[lang="ar"] .contact-form {
    width: 100% !important;
}

/* Final fix: make Contact form fields full-width in Kurdish and Arabic */
body.lang-ku .contact-form--premium,
body.lang-ar .contact-form--premium,
body.rtl-lang .contact-form--premium {
  width: 100% !important;
  max-width: none !important;
  margin-inline: 0 !important;
  text-align: right !important;
  justify-items: stretch !important;
}

body.lang-ku .contact-form--premium .form-grid,
body.lang-ar .contact-form--premium .form-grid,
body.rtl-lang .contact-form--premium .form-grid {
  display: grid !important;
  grid-template-columns: 1fr !important;
  width: 100% !important;
  justify-items: stretch !important;
}

body.lang-ku .contact-form--premium label,
body.lang-ar .contact-form--premium label,
body.rtl-lang .contact-form--premium label {
  display: block !important;
  width: 100% !important;
  max-width: none !important;
  justify-self: stretch !important;
  text-align: right !important;
}

body.lang-ku .contact-form--premium label span,
body.lang-ar .contact-form--premium label span,
body.rtl-lang .contact-form--premium label span {
  display: block !important;
  width: 100% !important;
  text-align: right !important;
}

body.lang-ku .contact-form--premium input,
body.lang-ku .contact-form--premium textarea,
body.lang-ar .contact-form--premium input,
body.lang-ar .contact-form--premium textarea,
body.rtl-lang .contact-form--premium input,
body.rtl-lang .contact-form--premium textarea {
  display: block !important;
  width: 100% !important;
  max-width: none !important;
  box-sizing: border-box !important;
}
