/* ============================================
   Forma Studio - Landing Page Styles
   Studio Namma-Inspired Design System
   ============================================ */

/* ============================================
   1. CSS VARIABLES / DESIGN TOKENS
   ============================================ */
:root {
  /* Light Theme (default) */
  --color-bg: #e4e4e4;
  --color-bg-soft: whitesmoke;
  --color-text: #111111;
  --color-text-muted: rgba(17, 17, 17, 0.58);
  --color-border: rgba(17, 17, 17, 0.12);
  
  /* Typography */
  --font-display: 'Vazirmatn', system-ui, -apple-system, Tahoma, sans-serif;
  --font-body: 'Vazirmatn', system-ui, -apple-system, Tahoma, sans-serif;
  --font-mono: 'Vazirmatn', system-ui, -apple-system, Tahoma, sans-serif;
  
  /* Fluid Type Scale */
  --text-hero: clamp(2.75rem, 10vw, 10rem);
  --text-section: clamp(1.125rem, 2.5vw, 2.5rem);
  --text-cta: clamp(2rem, 7.5vw, 7.5rem);
  --text-body: clamp(0.875rem, 1vw, 1.25rem);
  --text-mono: clamp(0.625rem, 0.8vw, 0.875rem);
  
  /* Spacing */
  --space-xs: clamp(0.5rem, 1vw, 1rem);
  --space-sm: clamp(1rem, 2vw, 2rem);
  --space-md: clamp(2rem, 4vw, 4rem);
  --space-lg: clamp(4rem, 8vw, 8rem);
  --space-xl: clamp(6rem, 12vw, 12rem);
  
  /* Container */
  --container-max: min(100vw, 2240px);
  --container-padding: clamp(1.25rem, 3.125vw, 4rem);
  
  /* Nav bars */
  --nav-height: clamp(40px, 5vw, 60px);
  
  /* Transitions */
  --ease-premium: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out-expo: cubic-bezier(0.19, 1, 0.22, 1);
  
  /* Z-index Scale */
  --z-preloader: 1000;
  --z-cursor: 999;
  --z-overlay: 900;
  --z-nav: 100;
  --z-content: 10;
  --z-base: 1;
}

/* Dark Theme */
[data-theme="dark"],
[data-theme="dark"] body {
  --color-bg: #111111;
  --color-bg-soft: #1a1a1a;
  --color-text: #e4e4e4;
  --color-text-muted: rgba(228, 228, 228, 0.72);
  --color-border: rgba(228, 228, 228, 0.16);
}

/* Theme transition (disabled on init) */
.theme-transition * {
  transition: background-color 0.4s var(--ease-smooth), color 0.4s var(--ease-smooth), border-color 0.4s var(--ease-smooth) !important;
}

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

html {
  font-size: 16px;
  scroll-behavior: auto;
}

html.lenis, html.lenis body {
  height: auto;
}

.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}

.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}

.lenis.lenis-stopped {
  overflow: hidden;
}

.lenis.lenis-scrolling iframe {
  pointer-events: none;
}

body {
  font-family: var(--font-body);
  font-size: var(--text-body);
  line-height: 1.5;
  color: var(--color-text);
  background-color: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  --studio-admin-offset: 0px;
}

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

button {
  font-family: inherit;
  font-size: inherit;
  background: none;
  border: none;
  cursor: pointer;
}

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

ul, ol {
  list-style: none;
}

/* ============================================
   3. UTILITY CLASSES
   ============================================ */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

.mono-label {
  font-family: var(--font-mono);
  font-size: var(--text-mono);
  font-weight: 400;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  line-height: 1.2;
}

/* ============================================
   4. CUSTOM CURSOR (Desktop only)
   ============================================ */
.cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 20px;
  height: 20px;
  pointer-events: none;
  z-index: var(--z-cursor);
  mix-blend-mode: difference;
  display: none;
}

.cursor__dot {
  width: 8px;
  height: 8px;
  background-color: #e4e4e4;
  border-radius: 50%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.cursor__label {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  white-space: nowrap;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #e4e4e4;
  opacity: 0;
  transition: opacity 0.3s var(--ease-premium);
}

.cursor.is-active .cursor__label {
  opacity: 1;
}

.cursor.is-active .cursor__dot {
  transform: translate(-50%, -50%) scale(0.5);
}

@media (hover: hover) and (pointer: fine) {
  .cursor {
    display: block;
  }
  
  body {
    cursor: none;
  }
  
  a, button, [data-cursor-hover] {
    cursor: none;
  }
}

/* ============================================
   5. PRELOADER
   ============================================ */
.preloader {
  position: fixed;
  inset: 0;
  z-index: var(--z-preloader);
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--color-bg);
}

.preloader__inner {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
}

.preloader__visual {
  width: clamp(200px, 40vw, 500px);
  height: clamp(200px, 40vw, 500px);
  position: relative;
  overflow: hidden;
}

.preloader__gradient {
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    var(--color-text) 0%,
    var(--color-text-muted) 50%,
    var(--color-border) 100%
  );
  animation: preloaderPulse 2s ease-in-out infinite;
}

@keyframes preloaderPulse {
  0%, 100% {
    opacity: 0.3;
    transform: scale(1);
  }
  50% {
    opacity: 0.8;
    transform: scale(1.05);
  }
}

.preloader__label {
  position: absolute;
  bottom: var(--space-sm);
  left: 50%;
  transform: translateX(-50%);
}

.preloader.is-hidden {
  pointer-events: none;
}

body.volten-elementor-editor-preview .preloader,
body.volten-elementor-editor-preview .cursor {
  display: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

@media (hover: hover) and (pointer: fine) {
  body.volten-elementor-editor-preview,
  body.volten-elementor-editor-preview a,
  body.volten-elementor-editor-preview button,
  body.volten-elementor-editor-preview [data-cursor-hover] {
    cursor: auto !important;
  }
}

/* ============================================
   6. TOP NAVIGATION BAR
   ============================================ */
.nav-top {
  position: fixed;
  top: var(--studio-admin-offset);
  left: 0;
  right: 0;
  z-index: var(--z-nav);
  height: var(--nav-height);
  background-color: var(--color-bg);
  border-bottom: 1px solid var(--color-border);
}

.nav-top__container {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--container-padding);
  max-width: var(--container-max);
  margin: 0 auto;
}

.nav-top__left {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.nav-top__brand {
  font-family: var(--font-mono);
  font-size: var(--text-mono);
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--color-text);
}

.nav-top__menu-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  width: 28px;
  height: 28px;
  padding: 4px;
}

.menu-line {
  display: block;
  width: 100%;
  height: 1px;
  background-color: var(--color-text);
  transition: transform 0.3s var(--ease-premium), opacity 0.3s var(--ease-premium);
}

.nav-top__menu-toggle[aria-expanded="true"] .menu-line--1 {
  transform: translateY(2.5px) rotate(45deg);
}

.nav-top__menu-toggle[aria-expanded="true"] .menu-line--2 {
  transform: translateY(-2.5px) rotate(-45deg);
}

.nav-top__right {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.nav-top__theme-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  color: var(--color-text);
}

.theme-icon {
  display: flex;
  align-items: center;
  justify-content: center;
}

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

[data-theme="dark"] .theme-icon--sun {
  display: none;
}

[data-theme="dark"] .theme-icon--moon {
  display: flex;
}

.nav-top__contact-prompt {
  font-family: var(--font-mono);
  font-size: var(--text-mono);
  font-weight: 400;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--color-text);
  position: relative;
}

.nav-top__contact-prompt::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 1px;
  background-color: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease-out-expo);
}

.nav-top__contact-prompt:hover::after {
  transform: scaleX(1);
}

/* ============================================
   7. BOTTOM NAVIGATION BAR
   ============================================ */
.nav-bottom {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: var(--z-nav);
  height: var(--nav-height);
  background-color: var(--color-bg);
  border-top: 1px solid var(--color-border);
}

.nav-bottom__container {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--container-padding);
  max-width: var(--container-max);
  margin: 0 auto;
}

.nav-bottom__cities {
  display: flex;
  gap: var(--space-sm);
}

.city-block {
  display: flex;
  gap: 0.5em;
  align-items: center;
}

.city-time {
  font-variant-numeric: tabular-nums;
}

/* ============================================
   8. MENU OVERLAY
   ============================================ */
.menu-overlay {
  position: fixed;
  inset: 0;
  z-index: var(--z-overlay);
  background-color: var(--color-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  clip-path: circle(0% at calc(100% - var(--container-padding)) calc(var(--studio-admin-offset) + (var(--nav-height) / 2)));
  pointer-events: none;
}

.menu-overlay.is-open {
  clip-path: circle(150% at calc(100% - var(--container-padding)) calc(var(--studio-admin-offset) + (var(--nav-height) / 2)));
  pointer-events: auto;
}

.menu-overlay__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
  max-width: 900px;
  width: 100%;
  padding: 0 var(--container-padding);
}

.menu-overlay__column {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.menu-overlay__link {
  display: block;
  padding: var(--space-xs) 0;
  position: relative;
  overflow: hidden;
}

.menu-overlay__link-text {
  display: inline-block;
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 600;
  line-height: 1.1;
  color: var(--color-text);
  transform: translateY(100%);
  transition: transform 0.5s var(--ease-out-expo);
}

.menu-overlay.is-open .menu-overlay__link-text {
  transform: translateY(0);
}

.menu-overlay__link:nth-child(1) .menu-overlay__link-text { transition-delay: 0.1s; }
.menu-overlay__link:nth-child(2) .menu-overlay__link-text { transition-delay: 0.15s; }
.menu-overlay__link:nth-child(3) .menu-overlay__link-text { transition-delay: 0.2s; }
.menu-overlay__link:nth-child(4) .menu-overlay__link-text { transition-delay: 0.25s; }

.menu-overlay__link:hover .menu-overlay__link-text {
  color: var(--color-text-muted);
}

.menu-overlay__link--cta .menu-overlay__link-text {
  color: var(--color-text-muted);
}

/* ============================================
   9. CONTACT OVERLAY
   ============================================ */
.contact-overlay {
  position: fixed;
  inset: 0;
  z-index: var(--z-overlay);
  background-color: var(--color-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s var(--ease-premium);
}

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

.contact-overlay__inner {
  position: relative;
  width: 100%;
  max-width: 700px;
  padding: var(--space-lg) var(--container-padding);
}

.contact-overlay__close {
  position: absolute;
  top: var(--space-sm);
  right: var(--container-padding);
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.close-line {
  position: absolute;
  width: 100%;
  height: 1px;
  background-color: var(--color-text);
  transition: transform 0.3s var(--ease-premium);
}

.close-line--1 {
  transform: rotate(45deg);
}

.close-line--2 {
  transform: rotate(-45deg);
}

.contact-overlay__heading {
  font-family: var(--font-display);
  font-size: var(--text-section);
  font-weight: 600;
  line-height: 1.1;
  color: var(--color-text);
  margin-bottom: var(--space-md);
}

.contact-overlay__form {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5em;
}

.form-label {
  color: var(--color-text-muted);
}

.form-input {
  width: 100%;
  padding: 0.75em 0;
  font-family: var(--font-body);
  font-size: var(--text-body);
  color: var(--color-text);
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--color-border);
  outline: none;
  transition: border-color 0.3s var(--ease-premium);
}

.form-input:focus {
  border-color: var(--color-text);
}

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

.btn-submit {
  align-self: flex-start;
  padding: 1em 2em;
  border: 1px solid var(--color-text);
  background: transparent;
  color: var(--color-text);
  transition: background-color 0.3s var(--ease-premium), color 0.3s var(--ease-premium);
}

.btn-submit:hover {
  background-color: var(--color-text);
  color: var(--color-bg);
}

.form-legal {
  margin-top: var(--space-xs);
  font-size: 0.75em;
}

.contact-overlay__success {
  padding: var(--space-md) 0;
}

.contact-overlay__success p {
  font-size: var(--text-section);
  color: var(--color-text);
}

/* ============================================
   10. COOKIE BANNER
   ============================================ */
.cookie-banner {
  position: fixed;
  bottom: calc(var(--nav-height) + var(--space-sm));
  left: var(--container-padding);
  z-index: calc(var(--z-nav) + 1);
  max-width: 400px;
}

.cookie-banner__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-sm);
  padding: var(--space-xs) var(--space-sm);
  background-color: var(--color-bg-soft);
  border: 1px solid var(--color-border);
}

.cookie-banner__accept {
  padding: 0.5em 1em;
  border: 1px solid var(--color-text);
  color: var(--color-text);
  transition: background-color 0.3s var(--ease-premium), color 0.3s var(--ease-premium);
}

.cookie-banner__accept:hover {
  background-color: var(--color-text);
  color: var(--color-bg);
}

/* ============================================
   11. HERO SECTION
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: calc(var(--studio-admin-offset) + var(--nav-height) + var(--space-md)) var(--container-padding) calc(var(--nav-height) + var(--space-md));
  overflow: hidden;
}

body.admin-bar {
  --studio-admin-offset: 32px;
}

.hero__container {
  position: relative;
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 70vh;
}

.hero__headline {
  font-family: var(--font-display);
  font-size: var(--text-hero);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: var(--color-text);
  margin-bottom: var(--space-sm);
}

.hero__line {
  display: block;
  overflow: hidden;
  padding-block: 0.08em 0.12em;
  margin-block: -0.08em -0.12em;
}

.hero__word {
  display: inline-block;
}

.hero__word--accent {
  font-style: italic;
  font-weight: 400;
}

.hero__sub {
  max-width: 50ch;
  margin: 0 auto;
}

.hero__floating-visual {
  position: absolute;
  top: 20%;
  right: 15%;
  width: clamp(150px, 25vw, 350px);
  height: clamp(150px, 25vw, 350px);
  z-index: -1;
  pointer-events: none;
}

.hero__floating-inner {
  width: 100%;
  height: 100%;
  animation: floatVisual 6s ease-in-out infinite;
}

@keyframes floatVisual {
  0%, 100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-20px) rotate(2deg);
  }
}

.hero__floating-gradient {
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    var(--color-text) 0%,
    var(--color-text-muted) 50%,
    transparent 100%
  );
  opacity: 0.15;
  filter: blur(40px);
}

.hero__scroll-cue {
  position: absolute;
  bottom: var(--space-md);
  left: 50%;
  transform: translateX(-50%);
  opacity: 0.5;
}

/* ============================================
   12. SHOWREEL SECTION
   ============================================ */
.showreel {
  padding: 0 var(--container-padding);
  margin-bottom: var(--space-lg);
}

.showreel__container {
  max-width: var(--container-max);
  margin: 0 auto;
}

.showreel__frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  background-color: var(--color-bg-soft);
  border: 1px solid var(--color-border);
  overflow: hidden;
}

.showreel__video-wrapper {
  width: 100%;
  height: 100%;
}

.showreel__placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  position: relative;
}

.showreel__gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    var(--color-text) 0%,
    var(--color-text-muted) 50%,
    var(--color-border) 100%
  );
  opacity: 0.2;
}

.showreel__play {
  position: relative;
  z-index: 1;
  color: var(--color-text);
}

/* ============================================
   13. INTRO SECTION
   ============================================ */
.intro {
  padding: var(--space-lg) var(--container-padding);
  position: relative;
}

.intro__container {
  max-width: 1000px;
  margin: 0 auto;
}

.intro__section-tag {
  display: block;
  margin-bottom: var(--space-sm);
}

.intro__text {
  font-size: clamp(1.25rem, 2.5vw, 2rem);
  line-height: 1.5;
  color: var(--color-text);
}

.intro__hover-word {
  position: relative;
  color: var(--color-text);
  border-bottom: 1px solid var(--color-border);
  cursor: pointer;
  transition: color 0.3s var(--ease-premium);
}

.intro__hover-word:hover {
  color: var(--color-text-muted);
}

.intro__hover-preview {
  position: fixed;
  width: 200px;
  height: 150px;
  pointer-events: none;
  z-index: var(--z-content);
  opacity: 0;
  transition: opacity 0.3s var(--ease-premium);
}

.intro__hover-preview.is-visible {
  opacity: 1;
}

.intro__hover-image {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--color-text), var(--color-text-muted));
  opacity: 0.3;
}

/* ============================================
   14. PROJECTS SECTION
   ============================================ */
.projects {
  padding: var(--space-lg) var(--container-padding);
}

.projects__container {
  max-width: var(--container-max);
  margin: 0 auto;
}

.projects__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--space-md);
}

.projects__view-all {
  position: relative;
  color: var(--color-text);
  transition: color 0.3s var(--ease-premium);
}

.projects__view-all:hover {
  color: var(--color-text-muted);
}

.projects__list {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

/* Project Card */
.project-card {
  position: relative;
  overflow: hidden;
}

.project-card__link {
  display: block;
  position: relative;
}

.project-card__media {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
  transition: transform 0.6s var(--ease-premium);
}

.project-card:hover .project-card__media {
  transform: scale(0.98);
}

.project-card__image {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  transition: filter 0.5s var(--ease-premium), opacity 0.5s var(--ease-premium);
}

.project-card:hover .project-card__image {
  filter: blur(4px);
  opacity: 0.5;
}

.project-card__video-layer {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.5s var(--ease-premium);
  pointer-events: none;
}

.project-card:hover .project-card__video-layer {
  opacity: 1;
}

.project-card__video-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--color-text) 0%, var(--color-text-muted) 100%);
  opacity: 0.6;
}

.project-card__overlay {
  position: absolute;
  inset: 0;
  background-color: var(--color-text);
  opacity: 0;
  transition: opacity 0.5s var(--ease-premium);
  pointer-events: none;
}

.project-card:hover .project-card__overlay {
  opacity: 0.1;
}

.project-card__info {
  position: absolute;
  bottom: var(--space-sm);
  left: var(--space-sm);
  z-index: 2;
}

.project-card__title {
  font-family: var(--font-display);
  font-size: var(--text-section);
  font-weight: 600;
  line-height: 1.1;
  color: var(--color-bg);
  text-transform: uppercase;
}

.project-card__cat {
  color: var(--color-bg);
  opacity: 0.7;
}

/* ============================================
   15. SERVICES SECTION
   ============================================ */
.services {
  padding: var(--space-lg) var(--container-padding);
}

.services__container {
  max-width: 1000px;
  margin: 0 auto;
}

.services__section-tag {
  display: block;
  margin-bottom: var(--space-md);
}

.services__list {
  display: flex;
  flex-direction: column;
}

.service-row {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 200px;
  gap: var(--space-sm);
  align-items: center;
  padding: var(--space-sm) 0;
  border-bottom: 1px solid var(--color-border);
  transition: opacity 0.4s var(--ease-premium);
}

.service-row:hover {
  opacity: 1;
}

.service-row:not(:hover) {
  opacity: 0.5;
}

.services__list:hover .service-row:not(:hover) {
  opacity: 0.5;
}

.service-row__content {
  display: flex;
  flex-direction: column;
  gap: 0.25em;
}

.service-row__title {
  font-family: var(--font-display);
  font-size: var(--text-section);
  font-weight: 600;
  line-height: 1.1;
  color: var(--color-text);
  text-transform: uppercase;
}

.service-row__subtitle {
  color: var(--color-text-muted);
}

.service-row__preview {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
  opacity: 0;
  transform: scale(0.8);
  transition: opacity 0.4s var(--ease-premium), transform 0.4s var(--ease-out-expo);
}

.service-row:hover .service-row__preview {
  opacity: 1;
  transform: scale(1);
}

.service-row__preview-visual {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--color-text) 0%, var(--color-text-muted) 100%);
  opacity: 0.3;
}

/* ============================================
   16. CLIENTS SECTION
   ============================================ */
.clients {
  padding: var(--space-lg) var(--container-padding);
}

.clients__container {
  max-width: var(--container-max);
  margin: 0 auto;
}

.clients__strip {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: var(--space-md);
  flex-wrap: wrap;
}

.client-logo {
  font-family: var(--font-display);
  font-size: var(--text-mono);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  padding: var(--space-xs) var(--space-sm);
  opacity: 0.5;
  transition: opacity 0.3s var(--ease-premium);
}

.client-logo:hover {
  opacity: 1;
}

/* ============================================
   17. CTA SECTION
   ============================================ */
.cta {
  padding: var(--space-lg) var(--container-padding);
}

.cta__container {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-sm);
}

.cta__heading {
  font-family: var(--font-display);
  font-size: var(--text-cta);
  font-weight: 700;
  line-height: 1.04;
  color: var(--color-text);
  text-transform: uppercase;
}

.cta__text {
  max-width: 40ch;
}

.cta__link {
  position: relative;
  color: var(--color-text);
  padding-bottom: 0.25em;
}

.cta__link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background-color: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease-out-expo);
}

.cta__link:hover::after {
  transform: scaleX(1);
}

/* ============================================
   18. FOOTER
   ============================================ */
.footer {
  background-color: var(--color-bg);
  color: var(--color-text);
  border-top: 1px solid var(--color-border);
}

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

.footer__video-tile {
  aspect-ratio: 16/9;
  overflow: hidden;
}

.footer__video-placeholder {
  width: 100%;
  height: 100%;
}

.footer__container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: var(--space-lg) var(--container-padding);
}

.footer__links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
}

.footer__column {
  display: flex;
  flex-direction: column;
  gap: 0.5em;
}

.footer__column-label {
  margin-bottom: 0.5em;
  color: var(--color-text);
  opacity: 0.5;
}

.footer__link {
  transition: opacity 0.3s var(--ease-premium);
}

.footer__link:hover {
  opacity: 0.7;
}

.footer__descriptor {
  margin-top: var(--space-xs);
  opacity: 0.5;
}

.footer__wordmark {
  margin-bottom: var(--space-lg);
  overflow: hidden;
}

.footer__wordmark-text {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(4rem, 20vw, 20rem);
  font-weight: 700;
  line-height: 0.96;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  color: var(--color-text);
  opacity: 0.08;
}

.footer__bottom {
  padding-top: var(--space-sm);
  border-top: 1px solid var(--color-border);
}

/* ============================================
   19. RESPONSIVE STYLES
   ============================================ */
@media (max-width: 991px) {
  .nav-bottom__cities {
    gap: var(--space-xs);
  }
  
  .menu-overlay__inner {
    grid-template-columns: 1fr;
    gap: var(--space-sm);
  }
  
  .service-row {
    grid-template-columns: 1fr;
  }
  
  .service-row__preview {
    display: none;
  }
  
  .footer__links {
    grid-template-columns: 1fr 1fr;
  }
  
  .footer__video-strip {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 767px) {
  .nav-bottom__left {
    display: none;
  }
  
  .nav-bottom__cities {
    gap: var(--space-xs);
  }
  
  .city-block:nth-child(2),
  .city-block:nth-child(3) {
    display: none;
  }
  
  .hero__floating-visual {
    width: clamp(100px, 40vw, 200px);
    height: clamp(100px, 40vw, 200px);
    right: 5%;
  }
  
  .hero__scroll-cue {
    display: none;
  }
  
  .projects__header {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-xs);
  }
  
  .project-card__info {
    position: relative;
    bottom: auto;
    left: auto;
    padding: var(--space-xs) 0;
  }
  
  .project-card__title {
    font-size: var(--text-section);
    color: var(--color-text);
  }
  
  .project-card__cat {
    color: var(--color-text-muted);
  }
  
  .footer__links {
    grid-template-columns: 1fr;
  }
  
  .footer__video-strip {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 479px) {
  .hero__headline {
    font-size: clamp(2rem, 12vw, 4rem);
  }
  
  .cta__heading {
    font-size: clamp(1.5rem, 10vw, 3rem);
  }
  
  .footer__wordmark-text {
    font-size: clamp(2.5rem, 15vw, 5rem);
  }
}

@media (max-width: 782px) {
  body.admin-bar {
    --studio-admin-offset: 46px;
  }
}

/* ============================================
   20. REDUCED MOTION
   ============================================ */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  
  .hero__floating-inner {
    animation: none;
  }
  
  .preloader__gradient {
    animation: none;
  }
  
  .cursor {
    display: none !important;
  }
  
  .preloader {
    display: none;
  }
}

/* ============================================
   21. FOCUS STATES
   ============================================ */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--color-text);
  outline-offset: 2px;
}

.footer a:focus-visible,
.footer button:focus-visible {
  outline-color: var(--color-text);
}
