/* ============================================================
   GRXVITAS.MEDIA — STYLESHEET
   Premium cinematic dark-luxury design system
   ============================================================ */

/* ------------------------------------------------------------
   CUSTOM PROPERTIES
   ------------------------------------------------------------ */
:root {
  /* Colors */
  --black:        #000000;
  --bg-primary:   #000000;
  --bg-secondary: #060606;
  --bg-tertiary:  #0c0c0c;
  --bg-card:      #0f0f0f;
  --bg-card-hover:#141414;
  --bg-nav:       rgba(0, 0, 0, 0.6);
  --bg-nav-solid: rgba(0, 0, 0, 0.92);

  --white:        #ffffff;
  --text-primary: #f0f0f0;
  --text-secondary:#888888;
  --text-muted:   #555555;
  --accent:       #2a2a2a;
  --accent-light: #3a3a3a;
  --border:       rgba(255, 255, 255, 0.06);
  --border-hover: rgba(255, 255, 255, 0.12);
  --glass:        rgba(255, 255, 255, 0.02);
  --glass-border: rgba(255, 255, 255, 0.05);

  /* Violet accent */
  --violet:       #7c3aed;
  --violet-dim:   #6d28d9;
  --violet-glow:  rgba(124, 58, 237, 0.15);
  --violet-subtle:rgba(124, 58, 237, 0.06);
  --violet-border:rgba(124, 58, 237, 0.2);

  /* Typography */
  --font-display: 'Space Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body:    'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Sizing */
  --container:    1320px;
  --nav-height:   80px;

  /* Transitions */
  --ease-out:     cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out:  cubic-bezier(0.65, 0, 0.35, 1);
  --duration:     0.5s;
  --duration-slow:0.8s;
}


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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body {
  font-family: var(--font-body);
  font-weight: 300;
  color: var(--text-primary);
  background-color: var(--bg-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

body.no-scroll {
  overflow: hidden;
}

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

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

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

ul { list-style: none; }

::selection {
  background: rgba(255, 255, 255, 0.15);
  color: var(--white);
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 6px;
}
::-webkit-scrollbar-track {
  background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
  background: var(--accent);
  border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--accent-light);
}


/* ------------------------------------------------------------
   LAYOUT
   ------------------------------------------------------------ */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 40px;
}

.section {
  padding: 140px 0;
  position: relative;
}

.section__header {
  margin-bottom: 80px;
}

.section__label {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  color: var(--violet);
  margin-bottom: 20px;
  text-transform: uppercase;
}

.section__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--white);
  margin-bottom: 20px;
}

.section__subtitle {
  font-size: clamp(0.95rem, 1.5vw, 1.1rem);
  font-weight: 300;
  color: var(--text-secondary);
  max-width: 560px;
  line-height: 1.7;
}


/* ------------------------------------------------------------
   BUTTONS
   ------------------------------------------------------------ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 16px 36px;
  border-radius: 0;
  transition: all 0.4s var(--ease-out);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}

.btn--primary {
  background: var(--violet);
  color: var(--white);
  border: 1px solid var(--violet);
}

.btn--primary:hover {
  background: var(--violet-dim);
  border-color: var(--violet-dim);
  box-shadow: 0 0 30px var(--violet-glow);
}

.btn--outline {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.btn--outline:hover {
  border-color: var(--violet-border);
  background: var(--violet-subtle);
}

.btn--large {
  padding: 20px 48px;
  font-size: 0.85rem;
}

.btn--full {
  width: 100%;
}


/* ------------------------------------------------------------
   LOADER
   ------------------------------------------------------------ */
.loader {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: var(--black);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s var(--ease-out), visibility 0.6s;
}

.loader.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader__bar {
  width: 60px;
  height: 1px;
  background: var(--accent);
  position: relative;
  overflow: hidden;
}

.loader__bar::after {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: var(--violet);
  animation: loaderSlide 1.2s var(--ease-in-out) infinite;
}

@keyframes loaderSlide {
  0%   { transform: translateX(-100%); }
  100% { transform: translateX(200%); }
}


/* ------------------------------------------------------------
   NAVBAR
   ------------------------------------------------------------ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-height);
  background: var(--bg-nav);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid transparent;
  transition: background 0.4s var(--ease-out), border-color 0.4s var(--ease-out);
}

.nav.is-scrolled {
  background: var(--bg-nav-solid);
  border-bottom-color: var(--border);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.nav__logo {
  display: flex;
  align-items: center;
  z-index: 1001;
}

.nav__logo-img {
  height: 28px;
  width: auto;
  object-fit: contain;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 40px;
}

.nav__link {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-secondary);
  transition: color 0.3s var(--ease-out);
  position: relative;
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--violet);
  transition: width 0.3s var(--ease-out);
}

.nav__link:hover {
  color: var(--white);
}

.nav__link:hover::after {
  width: 100%;
}

.nav__cta {
  padding: 10px 28px;
  font-size: 0.72rem;
}

.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 6px;
  width: 28px;
  z-index: 1001;
  padding: 4px 0;
}

.nav__hamburger span {
  display: block;
  width: 100%;
  height: 1px;
  background: var(--white);
  transition: all 0.4s var(--ease-out);
  transform-origin: center;
}

.nav__hamburger.is-active span:nth-child(1) {
  transform: translateY(3.5px) rotate(45deg);
}
.nav__hamburger.is-active span:nth-child(2) {
  opacity: 0;
}
.nav__hamburger.is-active span:nth-child(3) {
  transform: translateY(-3.5px) rotate(-45deg);
}

/* Mobile Nav */
.nav__mobile {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: rgba(0, 0, 0, 0.97);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s var(--ease-out), visibility 0.5s;
}

.nav__mobile.is-open {
  opacity: 1;
  visibility: visible;
}

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

.nav__mobile-link {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 5vw, 2.8rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  padding: 12px 0;
  color: var(--text-secondary);
  transition: color 0.3s var(--ease-out), transform 0.3s var(--ease-out);
  transform: translateY(20px);
  opacity: 0;
}

.nav__mobile.is-open .nav__mobile-link {
  transform: translateY(0);
  opacity: 1;
}

/* Stagger mobile links */
.nav__mobile.is-open .nav__mobile-links li:nth-child(1) .nav__mobile-link { transition-delay: 0.05s; }
.nav__mobile.is-open .nav__mobile-links li:nth-child(2) .nav__mobile-link { transition-delay: 0.10s; }
.nav__mobile.is-open .nav__mobile-links li:nth-child(3) .nav__mobile-link { transition-delay: 0.15s; }
.nav__mobile.is-open .nav__mobile-links li:nth-child(4) .nav__mobile-link { transition-delay: 0.20s; }
.nav__mobile.is-open .nav__mobile-links li:nth-child(5) .nav__mobile-link { transition-delay: 0.25s; }
.nav__mobile.is-open .nav__mobile-links li:nth-child(6) .nav__mobile-link { transition-delay: 0.30s; }

.nav__mobile-link:hover {
  color: var(--white);
}

.nav__mobile-cta {
  margin-top: 20px;
  font-size: clamp(1rem, 2.5vw, 1.2rem) !important;
  color: var(--white) !important;
  letter-spacing: 0.15em;
}


/* ------------------------------------------------------------
   HERO
   ------------------------------------------------------------ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--bg-primary);
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__grain {
  position: absolute;
  inset: -100%;
  width: 300%;
  height: 300%;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E");
  background-repeat: repeat;
  opacity: 0.4;
  animation: grain 8s steps(10) infinite;
  pointer-events: none;
}

@keyframes grain {
  0%, 100% { transform: translate(0, 0); }
  10% { transform: translate(-5%, -10%); }
  20% { transform: translate(-15%, 5%); }
  30% { transform: translate(7%, -25%); }
  40% { transform: translate(-5%, 25%); }
  50% { transform: translate(-15%, 10%); }
  60% { transform: translate(15%, 0%); }
  70% { transform: translate(0%, 15%); }
  80% { transform: translate(3%, 35%); }
  90% { transform: translate(-10%, 10%); }
}

.hero__glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
}

.hero__glow--1 {
  top: -20%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.06) 0%, transparent 70%);
  animation: glowFloat1 20s ease-in-out infinite;
}

.hero__glow--2 {
  bottom: -30%;
  left: -15%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.04) 0%, transparent 70%);
  animation: glowFloat2 25s ease-in-out infinite;
}

@keyframes glowFloat1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33%      { transform: translate(-40px, 30px) scale(1.1); }
  66%      { transform: translate(20px, -20px) scale(0.95); }
}

@keyframes glowFloat2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50%      { transform: translate(30px, -40px) scale(1.15); }
}

.hero__content {
  position: relative;
  z-index: 1;
  text-align: left;
  padding-top: var(--nav-height);
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 7vw, 5.8rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--white);
  margin-bottom: 32px;
}

.hero__title-line {
  display: block;
}

.hero__title-line--accent {
  color: var(--violet);
}

.hero__subtitle {
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  font-weight: 300;
  color: var(--text-secondary);
  max-width: 480px;
  margin-bottom: 48px;
  line-height: 1.7;
}

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

.hero__scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  z-index: 1;
}

.hero__scroll span {
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.25em;
  color: var(--text-muted);
}

.hero__scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, var(--text-muted), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(0.6); transform-origin: top; }
  50%      { opacity: 1;   transform: scaleY(1);   transform-origin: top; }
}


/* ------------------------------------------------------------
   SERVICES
   ------------------------------------------------------------ */
.services {
  background: var(--bg-secondary);
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}

.service-card {
  background: var(--bg-secondary);
  padding: 48px 36px;
  position: relative;
  transition: background 0.5s var(--ease-out);
  cursor: default;
}

.service-card:hover {
  background: var(--bg-card);
}

.service-card__number {
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  color: var(--text-muted);
  display: block;
  margin-bottom: 28px;
}

.service-card__icon {
  color: var(--text-muted);
  margin-bottom: 24px;
  transition: color 0.4s var(--ease-out), transform 0.4s var(--ease-out);
}

.service-card:hover .service-card__icon {
  color: var(--white);
  transform: translateY(-4px);
}

.service-card__title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.service-card__desc {
  font-size: 0.9rem;
  font-weight: 300;
  color: var(--text-secondary);
  line-height: 1.7;
}

.service-card__line {
  position: absolute;
  bottom: 0;
  left: 36px;
  right: 36px;
  height: 1px;
  background: var(--violet);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.6s var(--ease-out);
}

.service-card:hover .service-card__line {
  transform: scaleX(1);
}


/* ------------------------------------------------------------
   PORTFOLIO
   ------------------------------------------------------------ */
.portfolio {
  background: var(--bg-primary);
}

.portfolio__grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 16px;
  margin-bottom: 60px;
}

.portfolio-card {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  background: var(--bg-card);
  border: 1px solid var(--border);
  transition: border-color 0.4s var(--ease-out);
}

.portfolio-card:hover {
  border-color: var(--border-hover);
}

/* Size variants */
.portfolio-card--large {
  grid-column: span 7;
  aspect-ratio: 16 / 9;
}

.portfolio-card--medium {
  grid-column: span 5;
  aspect-ratio: 4 / 3;
}

.portfolio-card--small {
  grid-column: span 6;
  aspect-ratio: 3 / 2;
}

/* Alternating layout */
.portfolio-card--large:nth-of-type(even) {
  grid-column: 6 / span 7;
}
.portfolio-card--medium:nth-of-type(even) {
  grid-column: 1 / span 5;
}

.portfolio-card__media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease-out), opacity 0.4s;
}

.portfolio-card:hover .portfolio-card__media {
  transform: scale(1.03);
}

.portfolio-card__placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  background: var(--bg-card);
}

.portfolio-card__placeholder-icon {
  width: 48px;
  height: 48px;
  border: 1px solid var(--border-hover);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: border-color 0.4s var(--ease-out), color 0.4s var(--ease-out);
}

.portfolio-card:hover .portfolio-card__placeholder-icon {
  border-color: var(--accent-light);
  color: var(--text-secondary);
}

.portfolio-card__placeholder-text {
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--text-muted);
}

.portfolio-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.0) 50%);
  opacity: 0;
  transition: opacity 0.5s var(--ease-out);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 32px;
}

.portfolio-card:hover .portfolio-card__overlay {
  opacity: 1;
}

.portfolio-card__category {
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  color: var(--text-muted);
  margin-bottom: 8px;
  text-transform: uppercase;
}

.portfolio-card__title {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 4px;
}

.portfolio-card__desc {
  font-size: 0.85rem;
  font-weight: 300;
  color: var(--text-secondary);
}

.portfolio-card__play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.8);
  width: 56px;
  height: 56px;
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  opacity: 0;
  transition: opacity 0.4s var(--ease-out), transform 0.4s var(--ease-out);
  pointer-events: none;
}

.portfolio-card:hover .portfolio-card__play {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.portfolio__cta {
  text-align: center;
}


/* ------------------------------------------------------------
   ABOUT
   ------------------------------------------------------------ */
.about {
  background: var(--bg-tertiary);
}

.about__content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.about__title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--white);
  margin-bottom: 28px;
}

.about__desc {
  font-size: 1rem;
  font-weight: 300;
  color: var(--text-secondary);
  line-height: 1.8;
}

.about__stats {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid var(--border);
}

.about__stat {
  display: flex;
  gap: 24px;
  padding: 32px 0;
  border-bottom: 1px solid var(--border);
  transition: border-color 0.3s var(--ease-out);
}

.about__stat:hover {
  border-bottom-color: var(--border-hover);
}

.about__stat-number {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  min-width: 28px;
  padding-top: 4px;
}

.about__stat-title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 6px;
}

.about__stat-desc {
  font-size: 0.88rem;
  font-weight: 300;
  color: var(--text-secondary);
  line-height: 1.6;
}


/* ------------------------------------------------------------
   PROCESS
   ------------------------------------------------------------ */
.process {
  background: var(--bg-secondary);
}

.process__steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
}

.process__step {
  position: relative;
  padding: 0 32px;
  text-align: left;
}

.process__step-number {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 700;
  color: rgba(255, 255, 255, 0.04);
  line-height: 1;
  margin-bottom: 24px;
  transition: color 0.5s var(--ease-out);
}

.process__step:hover .process__step-number {
  color: rgba(255, 255, 255, 0.08);
}

.process__step-connector {
  width: 100%;
  height: 1px;
  background: var(--border);
  margin-bottom: 32px;
  position: relative;
}

.process__step-connector::before {
  content: '';
  position: absolute;
  left: 0;
  top: -3px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--violet-dim);
  transition: background 0.4s var(--ease-out);
}

.process__step:hover .process__step-connector::before {
  background: var(--violet);
  box-shadow: 0 0 10px var(--violet-glow);
}

.process__step-title {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--white);
  margin-bottom: 12px;
}

.process__step-desc {
  font-size: 0.88rem;
  font-weight: 300;
  color: var(--text-secondary);
  line-height: 1.7;
}


/* ------------------------------------------------------------
   CTA SECTION
   ------------------------------------------------------------ */
.cta-section {
  position: relative;
  padding: 180px 0;
  text-align: center;
  overflow: hidden;
  background: var(--bg-primary);
}

.cta-section__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.cta-section__inner {
  position: relative;
  z-index: 1;
}

.cta-section__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--white);
  margin-bottom: 24px;
}

.cta-section__subtitle {
  font-size: clamp(0.95rem, 1.5vw, 1.15rem);
  font-weight: 300;
  color: var(--text-secondary);
  margin-bottom: 48px;
  line-height: 1.7;
}


/* ------------------------------------------------------------
   CONTACT
   ------------------------------------------------------------ */
.contact {
  background: var(--bg-tertiary);
}

.contact__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.contact__title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--white);
  margin-bottom: 32px;
}

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

.contact__social-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--text-secondary);
  transition: color 0.3s var(--ease-out);
}

.contact__social-link:hover {
  color: var(--white);
}

.contact__form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form__group {
  position: relative;
}

.form__input {
  width: 100%;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 300;
  padding: 16px 20px;
  transition: border-color 0.3s var(--ease-out), background 0.3s var(--ease-out);
  outline: none;
  border-radius: 0;
  -webkit-appearance: none;
}

.form__input::placeholder {
  color: var(--text-muted);
}

.form__input:focus {
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.04);
}

.form__select {
  cursor: pointer;
}

.form__select option {
  background: var(--bg-card);
  color: var(--text-primary);
}

.form__textarea {
  resize: vertical;
  min-height: 120px;
}


/* ------------------------------------------------------------
   FOOTER
   ------------------------------------------------------------ */
.footer {
  background: var(--bg-primary);
  border-top: 1px solid var(--border);
  padding: 60px 0 40px;
}

.footer__inner {
  /* Structured in code */
}

.footer__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 32px;
}

.footer__logo-img {
  height: 22px;
  width: auto;
  object-fit: contain;
  opacity: 0.6;
  transition: opacity 0.3s var(--ease-out);
}

.footer__logo:hover .footer__logo-img {
  opacity: 1;
}

.footer__links {
  display: flex;
  gap: 32px;
}

.footer__link {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  transition: color 0.3s var(--ease-out);
}

.footer__link:hover {
  color: var(--text-primary);
}

.footer__bottom {
  text-align: center;
}

.footer__copy {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.15em;
  color: var(--text-muted);
}


/* ------------------------------------------------------------
   LIGHTBOX
   ------------------------------------------------------------ */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.96);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s var(--ease-out), visibility 0.4s;
}

.lightbox.is-open {
  opacity: 1;
  visibility: visible;
}

.lightbox__close {
  position: absolute;
  top: 24px;
  right: 32px;
  color: var(--text-secondary);
  transition: color 0.3s var(--ease-out), transform 0.3s var(--ease-out);
  z-index: 1;
}

.lightbox__close:hover {
  color: var(--white);
  transform: rotate(90deg);
}

.lightbox__content {
  width: 90%;
  max-width: 1100px;
  aspect-ratio: 16 / 9;
}

.lightbox__video {
  width: 100%;
  height: 100%;
  background: var(--black);
  outline: none;
}


/* ------------------------------------------------------------
   ANIMATIONS — Scroll Reveal
   ------------------------------------------------------------ */
.reveal-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

.reveal-up.is-visible {
  opacity: 1;
  transform: translateY(0);
}


/* ------------------------------------------------------------
   RESPONSIVE — Tablet (≤ 1024px)
   ------------------------------------------------------------ */
@media (max-width: 1024px) {
  .container {
    padding: 0 32px;
  }

  .section {
    padding: 100px 0;
  }

  .nav__links,
  .nav__cta {
    display: none;
  }

  .nav__hamburger {
    display: flex;
  }

  .about__content,
  .contact__inner {
    grid-template-columns: 1fr;
    gap: 60px;
  }

  .process__steps {
    grid-template-columns: repeat(2, 1fr);
    gap: 48px 0;
  }

  .process__step {
    padding: 0 24px;
  }

  .portfolio-card--large,
  .portfolio-card--medium {
    grid-column: span 6;
  }

  .portfolio-card--large:nth-of-type(even) {
    grid-column: span 6;
  }
  .portfolio-card--medium:nth-of-type(even) {
    grid-column: span 6;
  }
}


/* ------------------------------------------------------------
   RESPONSIVE — Mobile (≤ 768px)
   ------------------------------------------------------------ */
@media (max-width: 768px) {
  :root {
    --nav-height: 64px;
  }

  .container {
    padding: 0 20px;
  }

  .section {
    padding: 80px 0;
  }

  .section__header {
    margin-bottom: 48px;
  }

  .hero {
    align-items: flex-end;
    padding-bottom: 100px;
  }

  .hero__content {
    padding-top: 0;
  }

  .hero__title {
    font-size: clamp(2.2rem, 10vw, 3.2rem);
  }

  .hero__subtitle {
    margin-bottom: 36px;
  }

  .hero__actions {
    flex-direction: column;
  }

  .hero__actions .btn {
    width: 100%;
    text-align: center;
  }

  .hero__scroll {
    display: none;
  }

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

  .portfolio__grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .portfolio-card--large,
  .portfolio-card--medium,
  .portfolio-card--small {
    grid-column: span 1;
    aspect-ratio: 16 / 10;
  }

  .portfolio-card--large:nth-of-type(even),
  .portfolio-card--medium:nth-of-type(even) {
    grid-column: span 1;
  }

  .portfolio-card__overlay {
    opacity: 1;
    padding: 20px;
  }

  .portfolio-card__play {
    width: 44px;
    height: 44px;
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }

  .process__steps {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .process__step {
    padding: 0;
  }

  .cta-section {
    padding: 120px 0;
  }

  .btn--large {
    padding: 18px 40px;
    width: 100%;
  }

  .footer__top {
    flex-direction: column;
    gap: 28px;
    text-align: center;
  }

  .footer__links {
    flex-direction: column;
    gap: 16px;
    align-items: center;
  }

  .lightbox__content {
    width: 100%;
    max-width: none;
    aspect-ratio: auto;
    height: auto;
  }

  .lightbox__video {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
  }
}


/* ------------------------------------------------------------
   RESPONSIVE — Small Mobile (≤ 480px)
   ------------------------------------------------------------ */
@media (max-width: 480px) {
  .hero__title {
    font-size: 2rem;
  }

  .section__title {
    font-size: 1.6rem;
  }

  .about__title,
  .contact__title {
    font-size: 1.5rem;
  }

  .cta-section__title {
    font-size: 1.8rem;
  }

  .service-card {
    padding: 36px 24px;
  }
}


/* ------------------------------------------------------------
   REDUCED MOTION
   ------------------------------------------------------------ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  html {
    scroll-behavior: auto;
  }

  .reveal-up {
    opacity: 1;
    transform: none;
  }
}
