/* ==========================================================================
   SAVITAR ADVERTISEMENTS PRIVATE LIMITED
   Master Studio Edition — Pixel-Perfect Responsive Across All Screens
   Strict Palette: Jet Black (#000000) • Off Black (#0b0b0b) • Charcoal (#141414/#1e1e1e)
                   Dark Gray (#2a2a2a/#383838) • Light Gray (#d9d9d9) • Pure White (#ffffff)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@500;600;700;800;900&family=Plus+Jakarta+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400;1,600&family=Syne:wght@600;700;800&family=Space+Grotesk:wght@400;500;600;700&display=swap');

:root {
  /* Strict Monochrome Studio Tokens */
  --bg-black: #000000;
  --bg-offblack: #090909;
  --bg-dark: #101010;
  --bg-card: #151515;
  --bg-card-hover: #1f1f1f;

  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-medium: rgba(255, 255, 255, 0.22);
  --border-strong: rgba(255, 255, 255, 0.6);

  --text-white: #ffffff;
  --text-light: #e0e0e0;
  --text-muted: #8e8e8e;
  --text-dark: #555555;

  --accent-glow: rgba(255, 255, 255, 0.2);

  /* Typography Stacks */
  --font-display: 'Cinzel', Georgia, serif;
  --font-heading: 'Syne', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'Space Grotesk', monospace;

  /* Layout Measurements */
  --header-height: 80px;
  --container-max: 1360px;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-full: 9999px;

  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-normal: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ==========================================================================
   BASE RESET & GLOBAL SETUP
   ========================================================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-black);
  color: var(--text-white);
  color-scheme: dark;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
  max-width: 100%;
  scroll-padding-top: calc(var(--header-height) + 36px);
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-black);
  color: var(--text-light);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  width: 100%;
  position: relative;
  padding-top: var(--header-height);
}

body.has-announce-bar {
  padding-top: calc(var(--header-height) + 38px);
}

@media (max-width: 1279.98px) {
  body.has-announce-bar {
    padding-top: var(--header-height);
  }
}

/* Ensure ALL section anchors and IDs are never overlapped by the fixed header on ANY page */
[id],
section[id],
div[id] {
  scroll-margin-top: calc(var(--header-height) + 36px);
}

body.has-announce-bar [id],
body.has-announce-bar section[id] {
  scroll-margin-top: calc(var(--header-height) + 74px);
}

@media (max-width: 1279.98px) {

  body.has-announce-bar [id],
  body.has-announce-bar section[id] {
    scroll-margin-top: calc(var(--header-height) + 32px);
  }
}

/* Cinematic Film Grain Overlay */
.film-grain {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 99999;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 300 300' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

/* Headings & Text Classes */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  color: var(--text-white);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.font-cinzel {
  font-family: var(--font-display);
  letter-spacing: 0.06em;
}

.font-mono {
  font-family: var(--font-mono);
}

.text-gradient {
  background: linear-gradient(135deg, #ffffff 40%, #9e9e9e 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.lead-text {
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
  font-weight: 400;
  color: #e5e5e5;
  line-height: 1.65;
}

p {
  margin-bottom: 1rem;
}

p:last-child {
  margin-bottom: 0;
}

a {
  color: inherit;
  text-decoration: none;
  transition: all var(--transition-fast);
}

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

/* ==========================================================================
   CONTAINER & SECTION LAYOUTS
   ========================================================================== */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: clamp(16px, 4vw, 40px);
  padding-right: clamp(16px, 4vw, 40px);
}

.section {
  padding: clamp(54px, 7vw, 100px) 0;
  position: relative;
  width: 100%;
}

.section-dark {
  background-color: var(--bg-offblack);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.section-black {
  background-color: var(--bg-black);
}

.section-header {
  margin-bottom: clamp(32px, 4.5vw, 56px);
}

.section-header.text-center {
  text-align: center;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--text-white);
  margin-bottom: 14px;
  padding: 5px 14px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
}

.section-tag::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--text-white);
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.9);
}

.section-title {
  font-size: clamp(1.85rem, 3.8vw, 3.4rem);
  font-weight: 800;
  line-height: 1.12;
  color: var(--text-white);
  text-transform: uppercase;
  letter-spacing: -0.02em;
}

.section-subtitle {
  font-size: clamp(0.92rem, 1.5vw, 1.1rem);
  color: var(--text-muted);
  max-width: 720px;
  margin-top: 12px;
  line-height: 1.65;
}

/* ==========================================================================
   HEADER & LUMINOUS CIRCULAR LOGO
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: auto;
  min-height: var(--header-height);
  z-index: 10000;
  background: rgba(0, 0, 0, 0.94);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
  transition: background var(--transition-normal), border-color var(--transition-normal), box-shadow var(--transition-normal);
}

.site-header.scrolled {
  background: rgba(0, 0, 0, 0.98);
  border-bottom: 1px solid var(--border-medium);
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.9);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
  position: relative;
  width: 100%;
}

.brand-logo-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
  z-index: 10003;
  position: relative;
}

/* Luminous circular badge to make logo.png radiant on dark background */
.brand-logo-img {
  height: 44px;
  width: 44px;
  object-fit: contain;
  background-color: #ffffff;
  border-radius: 50%;
  padding: 2px;
  border: 1.5px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 0 16px rgba(255, 255, 255, 0.4);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.brand-logo-wrap:hover .brand-logo-img {
  transform: scale(1.06);
  box-shadow: 0 0 22px rgba(255, 255, 255, 0.65);
}

.brand-logo-text {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  color: var(--text-white);
  text-transform: uppercase;
  line-height: 1.1;
}

.brand-tagline {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  color: var(--text-muted);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-top: 2px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(10px, 1.4vw, 22px);
  flex-wrap: nowrap;
  flex-shrink: 1;
}

.nav-link {
  font-family: var(--font-heading);
  font-size: clamp(0.74rem, 0.85vw, 0.82rem);
  font-weight: 600;
  color: #a4a4a4;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  position: relative;
  padding: 6px 0;
  transition: color var(--transition-fast);
  white-space: nowrap;
  flex-shrink: 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background-color: var(--text-white);
  transition: width var(--transition-normal);
}

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

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

/* Mobile drawer button is strictly hidden on desktop */
.nav-mobile-cta {
  display: none !important;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  z-index: 10003;
  position: relative;
}

.search-toggle-btn {
  background: transparent;
  border: 1px solid var(--border-subtle);
  color: var(--text-white);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.search-toggle-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--text-white);
}

.mobile-menu-btn {
  display: none;
  background: #141414;
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: var(--text-white);
  height: 42px;
  min-width: 44px;
  padding: 0 12px;
  border-radius: var(--radius-sm);
  font-size: 1.05rem;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  gap: 7px;
  transition: all var(--transition-fast);
  flex-shrink: 0;
  z-index: 10003;
  position: relative;
}

.mobile-menu-label {
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #ffffff;
}

.mobile-menu-btn:hover {
  background: var(--text-white);
  color: var(--bg-black);
}

.mobile-menu-btn:hover .mobile-menu-label {
  color: var(--bg-black);
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
  border: 1px solid transparent;
  text-decoration: none;
  white-space: nowrap;
  max-width: 100%;
}

.btn-primary {
  background-color: var(--text-white);
  color: var(--bg-black);
  border-color: var(--text-white);
}

.btn-primary:hover {
  background-color: #f0f0f0;
  box-shadow: 0 0 25px rgba(255, 255, 255, 0.35);
  transform: translateY(-2px);
}

.btn-outline {
  background-color: rgba(255, 255, 255, 0.04);
  color: var(--text-white);
  border-color: var(--border-medium);
}

.btn-outline:hover {
  background-color: rgba(255, 255, 255, 0.12);
  border-color: var(--text-white);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 7px 14px;
  font-size: 0.74rem;
}

.btn-lg {
  padding: 15px 30px;
  font-size: 0.88rem;
}

/* ==========================================================================
   HERO SECTIONS
   ========================================================================== */
.hero-studio {
  position: relative;
  min-height: calc(100vh - var(--header-height));
  min-height: calc(100dvh - var(--header-height));
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: clamp(36px, 5vw, 64px);
  padding-bottom: clamp(36px, 5vw, 64px);
  overflow: hidden;
  background: radial-gradient(circle at 50% 30%, #1c1c1c 0%, #070707 65%, #000000 100%);
}

.hero-video-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.28;
  filter: grayscale(100%) contrast(125%) brightness(0.45);
  pointer-events: none;
}

.hero-overlay-gradient {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at center, transparent 20%, rgba(0, 0, 0, 0.85) 80%),
    linear-gradient(to bottom, transparent 60%, #000000 100%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 10;
  text-align: center;
  max-width: 960px;
  width: 100%;
}

.hero-super-title {
  font-size: clamp(2.1rem, 5.5vw, 4.5rem);
  font-weight: 800;
  line-height: 1.08;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}

.hero-studio-desc {
  font-size: clamp(0.96rem, 1.6vw, 1.2rem);
  color: var(--text-light);
  max-width: 740px;
  margin: 0 auto 32px;
  font-weight: 300;
  line-height: 1.7;
}

.hero-ctas-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 48px;
  text-align: left;
}

.hero-stat-card {
  padding: 18px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  backdrop-filter: blur(12px);
  transition: all var(--transition-normal);
}

.hero-stat-card:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--border-medium);
  transform: translateY(-3px);
}

.hero-stat-val {
  font-family: var(--font-heading);
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--text-white);
  line-height: 1.1;
  margin-bottom: 4px;
}

.hero-stat-lbl {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
}

/* Subpage Hero */
.page-hero {
  padding-top: clamp(48px, 6vw, 76px);
  padding-bottom: clamp(40px, 5vw, 60px);
  background: radial-gradient(circle at 50% 20%, #1a1a1a 0%, #070707 70%, #000000 100%);
  border-bottom: 1px solid var(--border-subtle);
  position: relative;
}

.page-hero-title {
  font-size: clamp(2rem, 4.2vw, 3.6rem);
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.page-hero-subtitle {
  font-size: clamp(0.95rem, 1.5vw, 1.15rem);
  color: var(--text-muted);
  max-width: 760px;
  line-height: 1.65;
}

/* ==========================================================================
   MARQUEE TICKER
   ========================================================================== */
.marquee-wrapper {
  overflow: hidden;
  white-space: nowrap;
  padding: 16px 0;
  background: var(--bg-offblack);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.marquee-content {
  display: inline-block;
  animation: marquee 30s linear infinite;
}

.marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-right: 32px;
}

.marquee-item i {
  color: var(--text-white);
  font-size: 0.65rem;
}

@keyframes marquee {
  0% {
    transform: translateX(0%);
  }

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

/* ==========================================================================
   RESPONSIVE SPLIT GRIDS & MEDIA FRAMES
   ========================================================================== */
.split-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 4.5vw, 56px);
  align-items: center;
}

.media-aspect-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  aspect-ratio: 4/3;
  background: #080808;
}

.media-aspect-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%) contrast(110%);
  transition: transform var(--transition-slow);
}

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

/* ==========================================================================
   SERVICES & CAPABILITIES GRID
   ========================================================================== */
.services-grid,
.studio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: clamp(22px, 2.8vw, 32px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
  transition: all var(--transition-normal);
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, #ffffff, transparent);
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.service-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-medium);
  transform: translateY(-4px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.9);
}

.service-card:hover::before {
  opacity: 1;
}

.service-icon-box {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: var(--text-white);
  margin-bottom: 20px;
  transition: all var(--transition-fast);
}

.service-card:hover .service-icon-box {
  background: var(--text-white);
  color: var(--bg-black);
}

.service-title {
  font-size: 1.22rem;
  color: var(--text-white);
  margin-bottom: 8px;
}

.service-desc {
  font-size: 0.86rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 20px;
}

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 22px;
}

.service-tag-item {
  font-size: 0.68rem;
  padding: 3px 8px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  color: #bfbfbf;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-white);
  cursor: pointer;
  margin-top: auto;
}

.service-link i {
  transition: transform var(--transition-fast);
}

.service-link:hover i {
  transform: translateX(4px);
}

/* ==========================================================================
   PROJECTS SLATE GRID & CARDS
   ========================================================================== */
.projects-grid,
.slate-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.project-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-normal);
  cursor: pointer;
}

.project-card:hover {
  border-color: var(--border-medium);
  transform: translateY(-4px);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.95);
}

.project-thumb-wrap {
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
  background: #080808;
}

.project-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(40%) contrast(115%);
  transition: transform var(--transition-slow), filter var(--transition-normal);
}

.project-card:hover .project-thumb-img {
  transform: scale(1.06);
  filter: grayscale(0%) contrast(105%);
}

.project-association-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(0, 0, 0, 0.85);
  border: 1px solid var(--border-medium);
  color: var(--text-white);
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 9px;
  border-radius: var(--radius-full);
  backdrop-filter: blur(8px);
}

.project-category-badge {
  position: absolute;
  bottom: 10px;
  left: 10px;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: var(--text-white);
  font-size: 0.62rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 3px 8px;
  border-radius: var(--radius-sm);
  backdrop-filter: blur(8px);
}

.project-body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  justify-content: space-between;
}

.project-title {
  font-size: 1.12rem;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 8px;
  line-height: 1.3;
}

.project-meta-row {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 12px;
  font-size: 0.78rem;
  color: var(--text-muted);
}

.project-meta-item strong {
  color: var(--text-light);
  font-weight: 600;
}

.project-short-desc {
  font-size: 0.82rem;
  color: #9e9e9e;
  line-height: 1.55;
  margin-bottom: 16px;
}

.project-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.74rem;
}

.project-status-tag {
  color: #00e676;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
}

.project-status-tag::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: #00e676;
}

.project-view-action {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--text-white);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* ==========================================================================
   FILTER BARS
   ========================================================================== */
.master-filter-bar,
.projects-filter-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.master-filter-btn,
.filter-btn {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  color: #a8a8a8;
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 7px 16px;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.master-filter-btn:hover,
.master-filter-btn.active,
.filter-btn:hover,
.filter-btn.active {
  background: var(--text-white);
  color: var(--bg-black);
  border-color: var(--text-white);
}

/* ==========================================================================
   PROCESS & WHY SAVITAR
   ========================================================================== */
.process-grid,
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.process-card,
.why-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 26px 22px;
  transition: all var(--transition-normal);
}

.process-card:hover,
.why-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-medium);
  transform: translateY(-3px);
}

.process-step-num {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 900;
  color: rgba(255, 255, 255, 0.2);
  line-height: 1;
  margin-bottom: 12px;
  transition: color var(--transition-fast);
}

.process-card:hover .process-step-num {
  color: var(--text-white);
}

.process-card-title,
.why-title {
  font-size: 1.05rem;
  color: var(--text-white);
  margin-bottom: 8px;
}

.process-card-desc,
.why-desc {
  font-size: 0.84rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.why-icon {
  font-size: 1.35rem;
  color: var(--text-white);
  margin-bottom: 14px;
}

/* ==========================================================================
   LEADERSHIP & DIRECTORS
   ========================================================================== */
.leadership-grid,
.directors-showcase-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.leader-card,
.director-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: grid;
  grid-template-columns: 220px 1fr;
  transition: all var(--transition-normal);
}

.leader-card:hover,
.director-card:hover {
  border-color: var(--border-medium);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.9);
}

.leader-image-wrap,
.director-portrait {
  height: 100%;
  min-height: 240px;
  overflow: hidden;
  background: #080808;
}

.leader-img,
.director-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform var(--transition-slow);
}

.leader-card:hover .leader-img,
.director-card:hover .director-portrait img {
  transform: scale(1.05);
}

.leader-body,
.director-info {
  padding: 24px 22px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.leader-name {
  font-size: 1.28rem;
  color: var(--text-white);
  margin-bottom: 4px;
}

.leader-title {
  font-family: var(--font-heading);
  font-size: 0.76rem;
  color: var(--text-muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.mca-tag {
  font-size: 0.62rem;
  padding: 2px 7px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-full);
  color: var(--text-white);
}

.leader-bio {
  font-size: 0.84rem;
  color: #a4a4a4;
  line-height: 1.6;
  margin-bottom: 16px;
}

.leader-social {
  display: flex;
  gap: 8px;
}

.social-icon-btn {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-white);
  font-size: 0.85rem;
  transition: all var(--transition-fast);
}

.social-icon-btn:hover {
  background: var(--text-white);
  color: var(--bg-black);
  transform: translateY(-2px);
}

/* ==========================================================================
   GALLERY MASONRY
   ========================================================================== */
.gallery-grid,
.masonry-gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.gallery-item,
.masonry-item {
  position: relative;
  aspect-ratio: 4/3;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  cursor: pointer;
  background: #090909;
}

.gallery-item.span-2,
.masonry-item.wide {
  grid-column: span 2;
  aspect-ratio: 16/9;
}

.gallery-item-img,
.masonry-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(70%) contrast(110%);
  transition: transform var(--transition-slow), filter var(--transition-normal);
}

.gallery-item:hover .gallery-item-img,
.masonry-item:hover .masonry-img {
  transform: scale(1.08);
  filter: grayscale(0%) contrast(100%);
}

.gallery-overlay,
.masonry-caption-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.92) 0%, transparent 60%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 16px;
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.gallery-item:hover .gallery-overlay,
.masonry-item:hover .masonry-caption-overlay {
  opacity: 1;
}

.gallery-item-title {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 2px;
}

.gallery-item-caption {
  font-size: 0.72rem;
  color: var(--text-light);
}

/* ==========================================================================
   NEWS CARDS
   ========================================================================== */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.news-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-normal);
}

.news-card:hover {
  border-color: var(--border-medium);
  transform: translateY(-4px);
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.9);
}

.news-thumb-wrap {
  aspect-ratio: 16/10;
  overflow: hidden;
  background: #080808;
}

.news-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(70%);
  transition: transform var(--transition-slow);
}

.news-card:hover .news-thumb-img {
  transform: scale(1.06);
  filter: grayscale(0%);
}

.news-body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  justify-content: space-between;
}

.news-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.news-category {
  color: var(--text-white);
  font-weight: 700;
  text-transform: uppercase;
}

.news-title {
  font-size: 1.08rem;
  color: var(--text-white);
  line-height: 1.35;
  margin-bottom: 8px;
}

.news-excerpt {
  font-size: 0.82rem;
  color: #a0a0a0;
  line-height: 1.6;
  margin-bottom: 16px;
}

.news-read-more {
  font-family: var(--font-heading);
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-white);
  display: flex;
  align-items: center;
  gap: 6px;
}

/* ==========================================================================
   CAREERS
   ========================================================================== */
.careers-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.career-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 24px;
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.career-card:hover {
  border-color: var(--border-medium);
  background: var(--bg-card-hover);
  transform: translateY(-3px);
}

.career-dept {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.career-title {
  font-size: 1.12rem;
  color: var(--text-white);
  margin-bottom: 8px;
}

.career-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
  font-size: 0.74rem;
  color: #c0c0c0;
}

.career-tag-item {
  display: flex;
  align-items: center;
  gap: 5px;
}

.career-desc {
  font-size: 0.82rem;
  color: #a0a0a0;
  line-height: 1.55;
  margin-bottom: 16px;
}

/* ==========================================================================
   CONTACT FORM & INFO
   ========================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(24px, 4vw, 44px);
}

.contact-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: clamp(20px, 3vw, 34px);
}

.form-group {
  margin-bottom: 16px;
}

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

.form-label {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 6px;
}

.form-control {
  width: 100%;
  background: #090909;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  font-family: var(--font-body);
  font-size: 0.86rem;
  color: var(--text-white);
  transition: all var(--transition-fast);
}

.form-control:focus {
  outline: none;
  border-color: var(--text-white);
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.2);
  background: #101010;
}

textarea.form-control {
  resize: vertical;
  min-height: 100px;
}

.contact-info-panel {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.contact-info-block {
  padding: 20px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
}

.contact-info-title {
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.contact-info-val {
  font-size: 0.95rem;
  color: var(--text-white);
  font-weight: 600;
}

.contact-info-desc {
  font-size: 0.8rem;
  color: #9e9e9e;
  margin-top: 4px;
}

.map-wrapper {
  height: 200px;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
}

.map-wrapper iframe {
  width: 100%;
  height: 100%;
  border: none;
  filter: grayscale(100%) invert(92%) contrast(85%);
}

/* ==========================================================================
   PLAY BUTTON PULSE
   ========================================================================== */
.play-button-pulse {
  width: clamp(64px, 8vw, 80px);
  height: clamp(64px, 8vw, 80px);
  border-radius: 50%;
  background: var(--text-white);
  color: var(--bg-black);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: clamp(1.2rem, 1.8vw, 1.5rem);
  cursor: pointer;
  margin-bottom: 18px;
  box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7);
  animation: pulseWhite 2.2s infinite;
  transition: transform var(--transition-fast);
  border: none;
}

.play-button-pulse:hover {
  transform: scale(1.08);
}

@keyframes pulseWhite {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7);
  }

  70% {
    box-shadow: 0 0 0 20px rgba(255, 255, 255, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
  }
}

/* ==========================================================================
   MASTER FOOTER
   ========================================================================== */
.site-footer {
  background-color: var(--bg-black);
  border-top: 1px solid var(--border-subtle);
  padding: clamp(50px, 7vw, 80px) 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.3fr;
  gap: clamp(24px, 3.5vw, 44px);
  margin-bottom: 40px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-link-item a {
  font-size: 0.84rem;
  color: #9e9e9e;
  transition: color var(--transition-fast);
}

.footer-link-item a:hover {
  color: var(--text-white);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 24px;
  border-top: 1px solid var(--border-subtle);
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* ==========================================================================
   MODALS SYSTEM
   ========================================================================== */
.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.modal-backdrop.open {
  display: flex;
  opacity: 1;
}

.modal-card {
  background: #141414;
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-lg);
  max-width: 860px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.95);
  transform: translateY(20px);
  transition: transform var(--transition-normal);
}

.modal-backdrop.open .modal-card {
  transform: translateY(0);
}

.modal-close-btn {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid var(--border-subtle);
  color: var(--text-white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all var(--transition-fast);
}

.modal-close-btn:hover {
  background: var(--text-white);
  color: var(--bg-black);
}

.project-modal-hero {
  position: relative;
  aspect-ratio: 16/8;
  max-height: 300px;
  overflow: hidden;
  background: #080808;
}

.project-modal-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-modal-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, #141414 0%, transparent 80%);
}

.project-modal-body {
  padding: clamp(18px, 3.5vw, 32px);
}

.project-modal-disclaimer {
  margin-top: 20px;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.03);
  border-left: 3px solid var(--text-light);
  font-size: 0.74rem;
  color: var(--text-muted);
}

/* Search Modal Results */
.search-result-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 14px;
  background: #111111;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  margin-bottom: 8px;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.search-result-item:hover {
  background: #1d1d1d;
  border-color: var(--text-white);
}

/* Lightbox Modal */
.lightbox-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.95);
  z-index: 2500;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.lightbox-modal.open {
  display: flex;
}

.lightbox-img {
  max-width: 94vw;
  max-height: 84vh;
  object-fit: contain;
  border-radius: var(--radius-sm);
}

/* Corporate Info Table inside Modal */
.corporate-info-box {
  padding: 16px;
  background: #0d0d0d;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
}

.corporate-info-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 7px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 0.82rem;
}

.corporate-info-row:last-child {
  border-bottom: none;
}

.info-label {
  color: var(--text-muted);
  font-weight: 500;
  white-space: nowrap;
}

.info-value {
  color: var(--text-white);
  font-weight: 600;
  text-align: right;
  word-break: break-word;
}

/* Floating Actions (WhatsApp & Back To Top) */
.floating-actions {
  position: fixed;
  bottom: 20px;
  right: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 1500;
}

.floating-btn {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: var(--text-white);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.85);
  cursor: pointer;
  transition: all var(--transition-fast);
  border: 1px solid rgba(255, 255, 255, 0.2);
  text-decoration: none;
}

.floating-btn.whatsapp {
  background: #25d366;
  border-color: #25d366;
}

.floating-btn.whatsapp:hover {
  transform: scale(1.08);
  box-shadow: 0 0 18px rgba(37, 211, 102, 0.5);
}

.floating-btn.back-to-top {
  background: #181818;
  display: none;
}

.floating-btn.back-to-top.show {
  display: flex;
}

.floating-btn.back-to-top:hover {
  background: var(--text-white);
  color: var(--bg-black);
  transform: translateY(-3px);
}

/* Toast Notification */
.toast-container {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3000;
  pointer-events: none;
  width: 90%;
  max-width: 420px;
}

.toast {
  background: #ffffff;
  color: #000000;
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 700;
  padding: 12px 22px;
  border-radius: var(--radius-full);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.7);
  opacity: 0;
  transform: translateY(20px);
  transition: all var(--transition-normal);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-align: center;
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
}

/* Admin CMS Badge */
.admin-badge-indicator {
  position: fixed;
  bottom: 84px;
  right: 20px;
  background: #181818;
  border: 1px solid var(--border-medium);
  color: var(--text-white);
  padding: 6px 12px;
  border-radius: var(--radius-full);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  z-index: 1500;
  display: flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.8);
  transition: all var(--transition-fast);
}

.admin-badge-indicator:hover {
  background: var(--text-white);
  color: var(--bg-black);
}

.admin-panel-container {
  padding: clamp(18px, 3vw, 30px);
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.8rem;
}

.admin-table th,
.admin-table td {
  padding: 10px 12px;
  text-align: left;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.admin-table th {
  background: #0d0d0d;
  color: var(--text-white);
  font-family: var(--font-heading);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* ==========================================================================
   PERFECT RESPONSIVE BREAKPOINTS (Desktop, Laptop, Tablet & Mobile)
   ========================================================================== */

/* Laptops (1025px - 1280px) */
@media (max-width: 1280px) {

  .services-grid,
  .studio-grid,
  .projects-grid,
  .slate-grid,
  .news-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
}

/* Tablets Landscape (992px - 1024px) */
@media (max-width: 1024px) {

  .services-grid,
  .studio-grid,
  .projects-grid,
  .slate-grid,
  .news-grid,
  .process-grid,
  .why-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .gallery-grid,
  .masonry-gallery {
    grid-template-columns: repeat(3, 1fr);
  }

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

  .split-grid-2 {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .leadership-grid,
  .directors-showcase-grid {
    grid-template-columns: 1fr;
  }

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

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

/* ==========================================================================
   DESKTOP HEADER (1280px and up) — inline nav with guaranteed spacing
   ========================================================================== */
@media (min-width: 1280px) {
  .header-inner {
    gap: 24px;
  }

  .brand-logo-wrap,
  .header-actions {
    flex: 0 0 auto;
  }

  .main-nav {
    flex: 1 1 auto;
    justify-content: center;
    gap: 16px;
    min-width: 0;
  }

  .nav-link {
    font-size: 0.75rem;
    letter-spacing: 0.05em;
  }
}

/* Compact desktop (1280px – 1599px): the full logo tagline + full CTA do not fit
   alongside 10 nav links, so trim the non-essential bits instead of colliding. */
@media (min-width: 1280px) and (max-width: 1599.98px) {
  .brand-tagline {
    display: none;
  }

  .header-actions .btn-sm {
    padding: 7px 12px;
    font-size: 0.7rem;
    letter-spacing: 0.08em;
  }

  .header-actions .btn-sm i {
    display: none;
  }
}

/* ==========================================================================
   TABLET & MOBILE RESPONSIVE NAVIGATION (below 1280px → slide-down drawer)
   ========================================================================== */
@media (max-width: 1279.98px) {
  :root {
    --header-height: 72px;
  }

  /* Announcement strip is hidden on tablets and mobile to avoid header overlap */
  .announce-bar {
    display: none !important;
  }

  .brand-logo-img {
    height: 40px;
    width: 40px;
  }

  .brand-title {
    font-size: 1rem;
    letter-spacing: 0.12em;
  }

  .brand-tagline {
    font-size: 0.54rem;
    letter-spacing: 0.12em;
  }

  .header-actions .btn-sm {
    font-size: 0.72rem;
    padding: 6px 12px;
  }

  .mobile-menu-btn {
    display: inline-flex !important;
  }

  /* Full-width slide-down navigation drawer */
  .main-nav {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    width: 100%;
    height: calc(100vh - var(--header-height));
    height: calc(100dvh - var(--header-height));
    background: rgba(8, 8, 8, 0.98);
    backdrop-filter: blur(28px);
    -webkit-backdrop-filter: blur(28px);
    border-bottom: 1px solid var(--border-medium);
    display: flex;
    flex-direction: column;
    align-items: stretch;
    padding: 20px 24px 44px;
    gap: 6px;
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease, visibility 0.35s;
    z-index: 10001;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.98);
  }

  .main-nav.open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .nav-link {
    font-size: 1.05rem;
    padding: 12px 16px;
    width: 100%;
    border-radius: var(--radius-sm);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #d0d0d0;
  }

  .nav-link::after {
    display: none;
  }

  .nav-link:hover,
  .nav-link.active {
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    padding-left: 20px;
  }

  .nav-mobile-cta {
    display: inline-flex !important;
    width: 100%;
    margin-top: 14px;
    padding: 13px 20px;
    font-size: 0.82rem;
    justify-content: center;
    text-align: center;
  }
}

/* ==========================================================================
   TABLET GRID ADJUSTMENTS (Max Width: 1024px)
   ========================================================================== */
@media (max-width: 1024px) {

  .services-grid,
  .studio-grid,
  .projects-grid,
  .slate-grid,
  .news-grid,
  .process-grid,
  .why-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .gallery-grid,
  .masonry-gallery {
    grid-template-columns: repeat(3, 1fr);
  }

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

  .split-grid-2 {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .leadership-grid,
  .directors-showcase-grid {
    grid-template-columns: 1fr;
  }

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

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

/* ==========================================================================
   MOBILE PHONE OPTIMIZATIONS (Max Width: 767px)
   ========================================================================== */
@media (max-width: 767px) {
  :root {
    --header-height: 64px;
  }

  .header-inner {
    padding: 0 4px;
  }

  /* Hide header desktop CTA button to keep mobile header clean and spacious */
  .header-actions .btn-sm {
    display: none !important;
  }

  .btn {
    white-space: normal;
    text-align: center;
  }

  .mobile-menu-btn {
    display: inline-flex !important;
    height: 38px;
    padding: 0 10px;
    gap: 6px;
    font-size: 0.95rem;
  }

  .mobile-menu-label {
    font-size: 0.68rem;
  }

  .search-toggle-btn {
    width: 38px;
    height: 38px;
  }

  /* Hero Section Spacing on Mobile */
  .hero-studio {
    padding-top: 32px;
    padding-bottom: 48px;
    min-height: auto;
  }

  .hero-super-title {
    font-size: 2.1rem;
    line-height: 1.12;
    margin-bottom: 16px;
  }

  .hero-studio-desc {
    font-size: 0.95rem;
    margin-bottom: 24px;
  }

  /* Hero CTAs container wraps cleanly */
  .hero-ctas-wrap {
    flex-direction: column;
    width: 100%;
    gap: 12px;
  }

  .hero-ctas-wrap .btn {
    width: 100%;
  }

  .hero-stats-row {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-top: 32px;
  }

  .hero-stat-card {
    padding: 14px;
  }

  .hero-stat-val {
    font-size: 1.45rem;
  }

  .hero-stat-lbl {
    font-size: 0.62rem;
  }

  /* All Grids Collapse Smoothly to Single Column on Mobile */
  .services-grid,
  .studio-grid,
  .projects-grid,
  .slate-grid,
  .news-grid,
  .process-grid,
  .why-grid,
  .careers-grid,
  .leadership-grid,
  .directors-showcase-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .gallery-grid,
  .masonry-gallery {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .gallery-item.span-2,
  .masonry-item.wide {
    grid-column: span 2;
    aspect-ratio: 16/9;
  }

  /* Card Paddings & Form Layouts on Mobile */
  .service-card,
  .project-body,
  .news-body,
  .career-card,
  .contact-card {
    padding: 18px 16px;
  }

  /* Leadership Card Clean Mobile Stack */
  .leader-card,
  .director-card {
    grid-template-columns: 1fr;
  }

  .leader-image-wrap,
  .director-portrait {
    height: 260px;
    min-height: 260px;
  }

  .leader-body,
  .director-info {
    padding: 20px 16px;
  }

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

  /* Footer on Mobile */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }

  /* Filter bar horizontal scrolling on small mobile */
  .master-filter-bar,
  .projects-filter-bar {
    gap: 6px;
    justify-content: flex-start;
  }

  .master-filter-btn,
  .filter-btn {
    padding: 6px 13px;
    font-size: 0.68rem;
  }

  /* Modals on Mobile */
  .modal-card {
    width: 95vw;
    max-height: 88vh;
    border-radius: var(--radius-md);
  }

  .project-modal-hero {
    aspect-ratio: 16/9;
    max-height: 220px;
  }

  .project-modal-body {
    padding: 16px 14px;
  }

  .floating-actions {
    bottom: 14px;
    right: 14px;
  }

  .floating-btn {
    width: 42px;
    height: 42px;
    font-size: 1.15rem;
  }

  .admin-badge-indicator {
    bottom: 68px;
    right: 14px;
  }
}

/* ==========================================================================
   EXTRA-COMPACT MOBILE SCREENS (Max Width: 520px)
   ========================================================================== */
@media (max-width: 520px) {
  .brand-tagline {
    display: none !important;
  }

  .brand-title {
    font-size: 1.05rem;
    letter-spacing: 0.1em;
  }

  .brand-logo-img {
    height: 36px;
    width: 36px;
  }

  .brand-logo-wrap {
    gap: 9px;
  }
}