 
/* =========================================================
   IMAGINE MEDIA — Inner Pages (About, Contact, Portfolio)
   ========================================================= */

:root {
  --blue: #0f6ccc;
  --blue-bright: #145dff;
  --blue-deep: #015efd;
  --blue-sky: #359dd4;
  --dark: #050816;
  --dark-2: #0b1025;
  --black: #0a0a0a;
  --light: #f4f5f7;
  --white: #ffffff;
  --text-dark: #0a0e1a;
  --text-muted: #5a6278;
  --border: rgba(255, 255, 255, 0.1);
  --radius: 25px;
  --font: "Outfit", sans-serif;
  --font-body: "Plus Jakarta Sans", sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: clip; }
body {
  font-family: var(--font-body);
  background: var(--light);
  color: var(--text-dark);
  line-height: 1.7;
  overflow-x: clip;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { font-family: inherit; border: none; background: none; cursor: pointer; }
::selection { background: var(--blue); color: #fff; }

.im-mark {
  width: 45px; height: 28px; border-radius: 8px; flex-shrink: 0;
  display: inline-block;
  background: url("https://imaginemedia.in/wp-content/themes/imagine-media/assets/images/web/logo.png") center / contain no-repeat;
}
.site-footer .footer-top .im-mark { width: 65px; height: 32px; }

/* ========== NAV ========== */
.site-header {
  position: fixed; top: 1.25rem; left: 0; right: 0; z-index: 1000;
  display: flex; justify-content: center; align-items: center; pointer-events: none;
}
.nav-pill {
  pointer-events: auto;
  display: flex; align-items: center; gap: 2rem;
  padding: .65rem 1.75rem;
  background: rgba(255,255,255,.12);
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 999px;
  transition: background .4s, border-color .4s;
}
.site-header.scrolled .nav-pill,
.site-header.on-light .nav-pill {
  background: rgba(5,8,22,.82);
  border-color: rgba(255,255,255,.12);
}
.nav-pill-link {
  color: #fff; font-family: var(--font); font-weight: 500; font-size: .9rem;
  opacity: .9; transition: opacity .3s;
  min-width: 7.5rem; text-align: right;
}
.nav-pill-link:hover { opacity: 1; }
.nav-pill-link--left {
  color: #fff; font-family: var(--font); font-weight: 500; font-size: .9rem;
  opacity: .9; transition: opacity .3s;
  min-width: 7.5rem; text-align: left;
}
.nav-pill-link--left:hover { opacity: 1; }
.nav-current {
  color: #fff; font-family: var(--font); font-weight: 500; font-size: .9rem;
  opacity: .95; min-width: 7.5rem; text-align: left;
}
.nav-pill > .nav-current:last-child { text-align: right; }
.nav-logo {
  display: flex; align-items: center; gap: .5rem;
  color: #fff; font-family: 'Poiret One', cursive; font-size: 1.05rem;
}
.nav-logo strong { font-weight: 700; font-family: 'Righteous', sans-serif; }
.nav-burger {
  display: none; pointer-events: auto;
  position: absolute; right: 1.25rem;
  width: 40px; height: 40px;
  flex-direction: column; align-items: center; justify-content: center; gap: 5px;
  padding: 0; border: none; border-radius: 10px;
  background: #000; color: #fff; cursor: pointer;
}
.nav-burger span { display: block; width: 18px; height: 2px; background: #fff; border-radius: 2px; }
.mobile-menu {
  display: none; position: absolute; top: calc(100% + .75rem); left: 1rem; right: 1rem;
  background: rgba(5,8,22,.95); backdrop-filter: blur(20px);
  border: 1px solid var(--border); border-radius: 18px; padding: 1.25rem;
  flex-direction: column; gap: .75rem; pointer-events: auto;
}
.mobile-menu.open { display: flex; }
.mobile-menu a { color: #fff; font-family: var(--font); padding: .5rem; }

/* ========== PAGE HERO — dark crowd ========== */
.page-hero {
  position: relative; min-height: 72vh; min-height: 72dvh;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden; background: #0a0a0a;
}
.page-hero__media { position: absolute; inset: 0; }
.page-hero__media img {
  width: 100%; height: 100%; object-fit: cover; object-position: center;
}
/* .page-hero__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.45) 0%, rgba(0,0,0,.35) 50%, rgba(0,0,0,.65) 100%);
} */
.page-hero__title {
  position: relative; z-index: 2;
  font-family: var(--font); font-weight: 700;
  font-size: clamp(2.2rem, 5vw, 4rem);
  color: #fff; text-align: center; letter-spacing: -.03em;
  padding: 0 1.5rem;
}
.page-hero__sub {
  position: relative; z-index: 2;
  font-family: var(--font); font-weight: 400;
  font-size: clamp(1rem, 2vw, 1.35rem);
  color: rgba(255,255,255,.88); text-align: center;
  margin-top: .75rem; padding: 0 1.5rem;
}
.page-hero__logo-corner {
  position: absolute; bottom: 2rem; right: 2.5rem; z-index: 2;
  display: flex; align-items: center; gap: .5rem;
  color: #fff; font-family: 'Poiret One', cursive; font-size: 1rem;
  opacity: .85;
}
.page-hero__logo-corner strong { font-family: 'Righteous', sans-serif; }

/* Portfolio hero — glowing blue screen */
.page-hero--portfolio {
  min-height: 92vh; min-height: 92dvh;
  align-items: center; justify-content: center;
  padding: 6rem 1rem 3rem;
}
 
.page-hero__screen {
  position: relative; z-index: 2;
  width: min(960px, 90vw);
  min-height: clamp(320px, 52vh, 520px);
  background: linear-gradient(145deg, #359dd4 0%, #015efd 48%, #0048d4 100%);
  box-shadow:
    0 0 60px rgba(1, 94, 253, .55),
    0 0 140px rgba(53, 157, 212, .35),
    inset 0 0 80px rgba(255, 255, 255, .08);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.page-hero__screen-deco {
  position: absolute; inset: 12% 14%;
  pointer-events: none; opacity: .22;
  background:
    linear-gradient(135deg, transparent 46%, rgba(255,255,255,.9) 46%, rgba(255,255,255,.9) 47%, transparent 47%),
    linear-gradient(225deg, transparent 46%, rgba(255,255,255,.9) 46%, rgba(255,255,255,.9) 47%, transparent 47%);
}
.page-hero__screen-inner {
  position: relative; z-index: 1;
  width: 100%; height: 100%;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center; padding: 2.5rem 2rem 3.5rem;
}
.page-hero--portfolio .page-hero__title {
  font-size: clamp(1.75rem, 4.2vw, 3.2rem);
  max-width: 14ch; line-height: 1.12;
}
.page-hero--portfolio .page-hero__sub {
  font-size: clamp(.88rem, 1.6vw, 1.1rem);
  color: rgba(255,255,255,.82); font-weight: 300;
  margin-top: .65rem;
}
.page-hero--portfolio .page-hero__logo-corner {
  position: absolute; bottom: 1.25rem; right: 1.5rem;
  font-size: .92rem; opacity: .9;
}
.page-hero--portfolio .page-hero__logo-corner .im-mark {
  width: 22px; height: 22px;
}

/* Contact split hero */
.page-hero--contact {
  min-height: 85vh; flex-direction: column; justify-content: flex-end;
  background: var(--blue-bright);
}
.page-hero--contact .page-hero__top {
  position: absolute; top: 0; left: 0; right: 0; height: 52%;
  overflow: hidden;
}
.page-hero--contact .page-hero__top img {
  width: 100%; height: 100%; object-fit: cover; object-position: center top;
}
.page-hero--contact .page-hero__top::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 55%, var(--blue-bright) 100%);
}
.page-hero--contact .page-hero__title {
  padding-bottom: 4rem; max-width: 900px; line-height: 1.15;
}

/* ========== SPLIT SECTIONS ========== */
.page-split {
  padding: clamp(4rem, 8vw, 6.5rem) 0;
  background: var(--light);
}
.page-split--dark { background: #0a0a0a; color: #fff; }
.page-split__img {
  border-radius: 20px; overflow: hidden; aspect-ratio: 1;
  box-shadow: 0 24px 60px rgba(0,0,0,.12);
}
.page-split__img img { width: 100%; height: 100%; object-fit: cover; }
.page-split__content { padding: 1rem 0; }
.page-split__content h2 {
  font-family: var(--font); font-weight: 700;
  font-size: clamp(1.65rem, 3.2vw, 2.35rem);
  letter-spacing: -.03em; line-height: 1.2; margin-bottom: 1.25rem;
}
.page-split__content p {
  color: var(--text-muted); font-size: .98rem; margin-bottom: 1rem;
}
.page-split--dark .page-split__content p { color: rgba(255,255,255,.72); }
.page-split__lead {
  font-family: var(--font); font-weight: 600; font-size: 1.05rem;
  color: var(--text-dark); margin-bottom: 1rem;
}
.page-split__lead em { color: var(--blue-bright); font-style: normal; }
.page-agency-line {
  margin-top: 2.5rem; padding-top: 2rem;
  border-top: 1px solid rgba(0,0,0,.08);
}
.page-agency-line h3 {
  font-family: var(--font); font-weight: 700;
  font-size: clamp(1.5rem, 2.8vw, 2rem); margin-bottom: 1rem;
}
.page-agency-flow {
  display: flex; align-items: center; gap: 1rem; flex-wrap: wrap;
  font-family: var(--font); font-weight: 500; color: var(--text-muted);
}
.page-agency-flow .dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--blue-bright);
}
.page-agency-flow .brand-n9 {
  margin-left: auto; font-weight: 700; color: var(--blue-deep);
  font-size: 1.1rem;
}

/* ========== TEAM ========== */
.page-team { padding: clamp(4rem, 8vw, 6rem) 0; background: #0a0a0a; }
.page-team__title {
  text-align: center; font-family: var(--font); font-weight: 700;
  font-size: clamp(1.8rem, 3.5vw, 2.5rem); color: #fff; margin-bottom: 3rem;
}
.page-team-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem;
}
.page-team-card { text-align: center; }
.page-team-card__img {
  border-radius: 16px; overflow: hidden; aspect-ratio: 1;
  margin-bottom: 1rem;
  box-shadow: 0 0 40px rgba(20, 93, 255, .25);
}
.page-team-card__img img { width: 100%; height: 100%; object-fit: cover; }
.page-team-card h4 {
  font-family: var(--font); font-weight: 600; color: #fff; font-size: 1rem;
}
.page-team-card span { color: rgba(255,255,255,.55); font-size: .85rem; }

/* ========== TEAM BIO ========== */
.page-bio {
  padding: clamp(3rem, 6vw, 5rem) 0;
  background: var(--light);
}
.page-bio-card {
  background: #fff; border-radius: 24px; padding: clamp(1.5rem, 3vw, 2.5rem);
  box-shadow: 0 20px 50px rgba(0,0,0,.06);
  display: grid; grid-template-columns: minmax(180px, 240px) 1fr; gap: 2rem;
  position: relative;
}
.page-bio-card__photo {
  border-radius: 16px; overflow: hidden; aspect-ratio: 1;
}
.page-bio-card__photo img { width: 100%; height: 100%; object-fit: cover; }
.page-bio-card__head { margin-bottom: 1rem; }
.page-bio-card__head h3 {
  font-family: var(--font); font-weight: 700; font-size: 1.35rem;
}
.page-bio-card__head span { color: var(--text-muted); font-size: .9rem; }
.page-bio-card__logo {
  position: absolute; top: 1.5rem; right: 2rem;
  font-family: var(--font); font-weight: 700; font-size: .85rem;
  color: var(--blue-deep); opacity: .7;
}
.page-bio-card p {
  color: var(--text-muted); font-size: .92rem; margin-bottom: .85rem;
}
.page-bio-card__usp {
  margin-top: 1.25rem; font-family: var(--font); font-weight: 700;
  font-size: 1rem; color: var(--blue-bright);
}

/* ========== PORTFOLIO GRID ========== */
.page-portfolio {
  padding: clamp(3.5rem, 7vw, 5.5rem) 0;
  background: #eceef2;
}
.page-portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1rem, 2vw, 1.75rem);
  max-width: 1320px; margin: 0 auto;
}
.page-portfolio-item {
  border-radius: 20px; overflow: hidden; aspect-ratio: 4/3;
  position: relative; padding: 0; border: none; cursor: pointer;
  background: #0a0a0a; width: 100%; text-align: left;
  box-shadow: 0 8px 28px rgba(0,0,0,.08);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.page-portfolio-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(0,0,0,.14);
}
.page-portfolio-preview {
  width: 100%; height: 100%; object-fit: cover;
  display: block; pointer-events: none;
}
.page-portfolio-play {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  background: rgba(0,0,0,.18);
  transition: background .35s;
}
.page-portfolio-play i {
  width: 56px; height: 56px; line-height: 56px; text-align: center;
  border-radius: 50%;
  background: rgba(255,255,255,.22); backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.35);
  color: #fff; font-size: 1rem;
  transition: transform .35s, background .35s;
}
.page-portfolio-item:hover .page-portfolio-play {
  background: rgba(0,0,0,.32);
}
.page-portfolio-item:hover .page-portfolio-play i {
  transform: scale(1.08);
  background: rgba(20,93,255,.45);
  border-color: rgba(255,255,255,.5);
}
.page-portfolio-item img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .6s var(--ease);
}
.page-portfolio-item:hover img { transform: scale(1.06); }
.page-portfolio-item.is-collapsed { display: none; }
.page-portfolio-more {
  text-align: center;
  margin-top: clamp(2rem, 4vw, 3rem);
}
.page-portfolio-more.is-hidden { display: none; }

/* Portfolio video modal */
.portfolio-modal {
  position: fixed; inset: 0; z-index: 10000;
  display: flex; align-items: center; justify-content: center;
  padding: 1.25rem;
  opacity: 0; visibility: hidden;
  transition: opacity .35s, visibility .35s;
}
.portfolio-modal.is-open {
  opacity: 1; visibility: visible;
}
.portfolio-modal__backdrop {
  position: absolute; inset: 0;
  background: rgba(5, 8, 22, .88);
  backdrop-filter: blur(6px);
}
.portfolio-modal__dialog {
  position: relative; z-index: 1;
  width: min(960px, 100%);
  background: #0b1025;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 20px;
  padding: 1rem 1rem 1.25rem;
  box-shadow: 0 30px 80px rgba(0,0,0,.55);
  transform: translateY(16px) scale(.98);
  transition: transform .35s var(--ease);
}
.portfolio-modal.is-open .portfolio-modal__dialog {
  transform: translateY(0) scale(1);
}
.portfolio-modal__close {
  position: absolute; top: .75rem; right: .75rem; z-index: 2;
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(255,255,255,.1);
  color: #fff; display: flex; align-items: center; justify-content: center;
  transition: background .3s;
}
.portfolio-modal__close:hover { background: rgba(20,93,255,.6); }
.portfolio-modal__title {
  font-family: var(--font); font-weight: 600;
  color: #fff; font-size: .95rem;
  margin: 0 2.5rem .75rem .25rem;
}
.portfolio-modal__video-wrap {
  border-radius: 14px; overflow: hidden;
  background: #000;
  aspect-ratio: 16/9;
}
.portfolio-modal__video-wrap video {
  width: 100%; height: 100%; object-fit: contain;
  display: block; background: #000;
}
body.portfolio-modal-open { overflow: hidden; }

/* ========== CONTACT CARDS ========== */
.page-contact-cards {
  padding: clamp(4rem, 8vw, 6rem) 0;
  background: var(--light);
  position: relative; overflow: hidden;
}
.page-contact-cards::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(circle at 50% 50%, rgba(20,93,255,.12) 0%, transparent 55%);
  pointer-events: none;
}
.page-contact-cards__title {
  text-align: center; font-family: var(--font); font-weight: 700;
  font-size: clamp(1.8rem, 3.5vw, 2.5rem); margin-bottom: 3rem;
  position: relative;
}
.page-contact-cards-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem;
  position: relative;
}
.page-info-card {
  border-radius: 20px; padding: 2.5rem 1.5rem; text-align: center;
  min-height: 220px; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 1rem;
  transition: transform .35s var(--ease);
}
.page-info-card:hover { transform: translateY(-4px); }
.page-info-card--light {
  background: #fff;
  box-shadow: 0 16px 40px rgba(0,0,0,.06);
}
.page-info-card--dark {
  background: linear-gradient(160deg, #0b1025 0%, #121830 100%);
  color: #fff; box-shadow: 0 16px 40px rgba(0,0,0,.2);
}
.page-info-card--blue {
  background: linear-gradient(135deg, var(--blue-sky) 0%, var(--blue-deep) 100%);
  color: #fff;
}
.page-info-card__icon {
  width: 52px; height: 52px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.15rem;
}
.page-info-card--light .page-info-card__icon {
  background: rgba(20,93,255,.1); color: var(--blue-bright);
}
.page-info-card--dark .page-info-card__icon,
.page-info-card--blue .page-info-card__icon {
  background: rgba(255,255,255,.15); color: #fff;
}
.page-info-card p {
  font-family: var(--font); font-weight: 500; font-size: .95rem; margin: 0;
}

/* ========== CONTACT FORM BLOCK ========== */
.page-form-section {
  padding: clamp(4rem, 8vw, 5rem) 0;
  position: relative; overflow: hidden;
}
.page-form-section--light { background: #fff; }
.page-form-section--dark {
  background: #0a0a0a; color: #fff;
}
.page-form-section__visual {
  border-radius: 20px; overflow: hidden; aspect-ratio: 1;
  position: relative;
}
.page-form-section__visual img { width: 100%; height: 100%; object-fit: cover; }
.page-form-section__visual .overlay-text {
  position: absolute; inset: 0;
  display: flex; align-items: center; padding: 2rem;
  background: linear-gradient(135deg, rgba(0,0,0,.5) 0%, rgba(0,0,0,.2) 100%);
}
.page-form-section__visual .overlay-text h2 {
  font-family: var(--font); font-weight: 700;
  font-size: clamp(1.6rem, 3vw, 2.2rem); color: #fff; line-height: 1.15;
}
.page-form-section .contact-title {
  font-family: var(--font); font-weight: 700;
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  letter-spacing: -.03em; line-height: 1.15; margin-bottom: 1.5rem;
}
.page-form-section--light .contact-title { color: var(--text-dark); }

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  background: rgba(18, 20, 28, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 12px;
  padding: 1rem 1.15rem;
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.contact-form input::placeholder,
.contact-form textarea::placeholder { color: rgba(255, 255, 255, 0.4); }
.select-wrap { position: relative; }
.select-wrap::after {
  content: ""; position: absolute; right: 1.15rem; top: 50%;
  width: 8px; height: 8px;
  border-right: 2px solid rgba(255, 255, 255, 0.55);
  border-bottom: 2px solid rgba(255, 255, 255, 0.55);
  transform: translateY(-60%) rotate(45deg); pointer-events: none;
}
.contact-form select {
  appearance: none; -webkit-appearance: none;
  padding-right: 2.5rem; color: rgba(255, 255, 255, 0.55);
}
.contact-form select:valid { color: #fff; }
.contact-form select option { background: #0b1025; color: #fff; }
.contact-form textarea { resize: vertical; min-height: 120px; }
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: rgba(20, 93, 255, 0.65);
  box-shadow: 0 0 0 3px rgba(20, 93, 255, 0.15);
}
.contact-form input.error,
.contact-form select.error,
.contact-form textarea.error { border-color: #ff4d6d; }
.form-status { margin-top: 0.75rem; font-size: 0.9rem; min-height: 1.3em; }
.form-status.success { color: #4ade80; }
.form-status.error { color: #ff4d6d; }
.page-form-section--light .form-status.error { color: #dc2626; }

.btn-blue {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .85rem 1.5rem; border-radius: 999px;
  background: var(--blue-bright); color: #fff;
  font-family: var(--font); font-weight: 600; font-size: .82rem;
  letter-spacing: .06em; transition: .35s;
  box-shadow: 0 0 24px rgba(20,93,255,.35);
}
.btn-blue:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 40px rgba(20,93,255,.6); color: #fff;
}
.text-end-form { text-align: center; }

.schedule-marquee {
  margin-top: -1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1rem 0; overflow: hidden;
}
.page-form-section--light .schedule-marquee {
  border-top-color: rgba(0,0,0,.08);
}
.marquee-track {
  display: flex; align-items: center; gap: 1.5rem;
  width: max-content; animation: marquee 22s linear infinite;
  font-family: var(--font); font-weight: 500; font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.75);
}
.page-form-section--light .marquee-track { color: rgba(0,0,0,.55); }
.marquee-track i {
  width: auto;
  height: auto;
  border-radius: 0;
  background: none;
  display: inline-block;
  flex-shrink: 0;
  font-size: 0.7rem;
  color: var(--blue-bright);
  rotate: 45deg;
}
.marquee-track a:hover { color: var(--blue-bright); }
@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Dark contact block (about/portfolio footer form) */
.vision-contact {
  position: relative;
  background: #000;
  color: #fff;
  overflow: hidden;
  z-index: 2;
}
.vc-noise {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.045;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 180px 180px;
}
.vc-beam {
  position: absolute;
  /* left: max(12%, calc(50% - 420px)); */
  left: max(12%, calc(50% - 451px));
  top: 0%;
  bottom: 8%;
  width: 180px;
  border-radius: 2px;
  background: linear-gradient(180deg, #3d8bff 0%, #145dff 35%, #0a4fd6 100%);
  box-shadow:
    0 0 24px 8px rgba(20, 93, 255, 0.7),
    0 0 70px 26px rgba(20, 93, 255, 0.35),
    0 0 140px 55px rgba(20, 93, 255, 0.15);
  z-index: 0;
  pointer-events: none;
  animation: neonPulse 3.5s ease-in-out infinite;
}
.contact-block { 
  position: relative;
    z-index: 1;
    padding: 80px 0 0;
    overflow: hidden;
    min-height: 560px;
}
.contact-block--portfolio {
  background: #050816;
  padding-top: clamp(5rem, 9vw, 6.5rem);
  min-height: 620px;
}
.contact-crowd {
  position: absolute; left: 34px; bottom: 22px;
  width: 40%; height: 58%; pointer-events: none; z-index: 0;
}
.contact-block--portfolio .contact-crowd {
  left: 0; bottom: 0; width: min(58%, 680px); height: 100%;
}
.contact-crowd-beam {
  position: absolute; left: 28%; top: 8%; bottom: 12%;
  width: clamp(48px, 6vw, 90px); z-index: 1;
  background: linear-gradient(180deg, transparent 0%, #359dd4 25%, #015efd 55%, #359dd4 75%, transparent 100%);
  filter: blur(18px); opacity: .85;
  pointer-events: none;
}
.contact-crowd img {
  width: 100%; height: 100%; object-fit: contain; object-position: center bottom;
   
}
.contact-block--portfolio .contact-crowd img {
  opacity: .72;
  filter: brightness(.55) contrast(1.05);
  mask-image: linear-gradient(90deg, #000 55%, transparent 95%);
  -webkit-mask-image: linear-gradient(90deg, #000 55%, transparent 95%);
}
.contact-title {
  font-family: var(--font);
  font-weight: 700;
  font-size: clamp(2.1rem, 4.2vw, 1.35rem);
  letter-spacing: -0.035em;
  line-height: 1.12;
  position: relative;
  z-index: 1;
  text-align: center;
  /* max-width: 11ch; */
}
.contact-block--portfolio .contact-title {
  max-width: 11ch; margin-top: 1rem;
}
.contact-block--portfolio .contact-form {
  background: rgba(8, 10, 18, .45);
  border-radius: 20px;
  padding: .25rem 0;
}
.contact-block--portfolio .btn-blue {
  width: auto; min-width: 160px; padding: .85rem 1.65rem;
  margin: 0 0 0 auto; font-size: .78rem;
}

/* ========== FOOTER ========== */
.site-footer {
  position: relative; background: #03050a; color: #fff;
  padding: 80px 0 0; overflow: hidden;
}
.site-footer::before {
  content: ""; position: absolute; bottom: 0; left: 10%; right: 10%; height: 180px;
  background: radial-gradient(ellipse, rgba(20,93,255,.35), transparent 70%);
  pointer-events: none;
}
.footer-brand {
  display: inline-flex; align-items: center; gap: .55rem;
  font-family: var(--font); font-size: 1.25rem; margin-bottom: 2.5rem;
}
.footer-cols h4 {
  font-family: var(--font); font-weight: 600; font-size: .8rem;
  letter-spacing: .08em; margin-bottom: 1rem;
}
.footer-cols h4.follow { text-transform: none; letter-spacing: 0; font-weight: 600; }
.footer-cols ul { list-style: none; padding-left: 0; }
.footer-cols li {
  display: flex; align-items: center; gap: .75rem;
  color: rgba(255,255,255,.7); font-size: .7rem; margin-bottom: .35rem;
}
.footer-cols i { color: white; width: 16px; }
.footer-cols a { color: inherit; text-decoration: none; }
.footer-cols a:hover { color: #fff; text-decoration: underline; }
.footer-copy {
  margin-top: 1.5rem; font-size: .65rem; letter-spacing: .06em;
  color: rgb(255, 255, 255); text-transform: uppercase;
}
.footer-social { display: flex; gap: .85rem; }
.footer-social a {
  width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid rgb(255, 255, 255);
  display: flex; align-items: center; justify-content: center; color: #fff;
  transition: .35s;
  text-decoration: none;
}
.footer-social a:hover {
  background: var(--blue-bright); border-color: var(--blue-bright);
  box-shadow: 0 0 20px rgba(20,93,255,.4);
}
.footer-mega {
  margin-top: 4rem;
    text-align: center;
    line-height: .9;
    padding-bottom: 10px;
    font-family: var(--font);
    font-size: 12.5rem;
    position: relative;
    z-index: 1;
    background: linear-gradient(180deg, #000000 0%, #050a14 42%, #015EFD 100%);
}
.footer-mega .thin { font-weight: 100; font-family: 'Poiret One', sans-serif; }
.footer-mega .heavy { font-weight: 800; font-family: 'Righteous', sans-serif; }

.back-to-top {
  position: fixed; bottom: 1.75rem; right: 1.75rem; z-index: 999;
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--blue-bright); color: #fff;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden; transform: translateY(16px);
  transition: .4s; box-shadow: 0 0 24px rgba(20,93,255,.4);
}
.back-to-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }

/* ========== RESPONSIVE ========== */
@media (max-width: 991.98px) {
  .vc-beam { display: none; }
  .nav-burger { display: flex; }
  .site-header {
    justify-content: center;
    padding: 0 3.75rem 0 1rem;
  }
  .nav-pill {
    display: flex;
    gap: 0.85rem;
    padding: 0.55rem 1.1rem;
    max-width: calc(100vw - 4.5rem);
  }
  .nav-current,
  .nav-pill-link,
  .nav-pill-link--left {
    min-width: 0;
    font-size: 0.78rem;
  }
  .nav-logo { font-size: 0.92rem; }
  .nav-logo .im-mark { width: 18px; height: 18px; }

  .page-hero--portfolio { min-height: 78vh; padding-top: 5.5rem; }
  .page-hero__screen { min-height: 280px; }
  .page-team-grid { grid-template-columns: repeat(2, 1fr); }
  .page-portfolio-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-block--portfolio .contact-crowd { width: 75%; opacity: .6; }
  .page-bio-card { grid-template-columns: 1fr; }
  .page-bio-card__logo { position: static; margin-bottom: 1rem; }
  .page-contact-cards-grid { grid-template-columns: 1fr; max-width: 360px; margin: 0 auto; }
}
@media (max-width: 767.98px) {
  .contact-crowd{
    display: none;
  }
  .site-header { padding: 0 3.5rem 0 0.75rem; }
  .nav-pill {
    display: flex;
    gap: 0.55rem;
    padding: 0.45rem 0.85rem;
  }
  .nav-pill-link,
  .nav-pill-link--left { display: none; }
  .nav-current {
	  display: none;
    font-size: 0.72rem;
    max-width: 38vw;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .nav-logo { font-size: 0.85rem; gap: 0.35rem; }
  .nav-burger {
    display: flex;
    right: 0.85rem;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    z-index: 1001;
  }
  .mobile-menu { z-index: 1002; }

  .page-team-grid { grid-template-columns: 1fr; max-width: 320px; margin: 0 auto; }
  .page-portfolio-grid { grid-template-columns: 1fr; gap: .85rem; max-width: 480px; }
  .page-hero { min-height: 60vh; }
  .page-hero--portfolio .page-hero__logo-corner { display: flex; font-size: .8rem; }
  .contact-crowd { width: 100%; left: 0; opacity: .35; }
  .contact-block--portfolio .contact-crowd { width: 100%; height: 45%; bottom: auto; top: 0; }
  .contact-block--portfolio .contact-title { max-width: none; margin-top: 0; }
  .footer-mega { font-size: 3.5rem; }
}
 