/* ============================================
   GARRISON MAGYAR - CINEMATIC PRODUCTION
   Premium Dark Cinematic Design
   ============================================ */

/* Satoshi Font Import */
@import url('https://api.fontshare.com/v2/css?f[]=satoshi@400,500,700,900&display=swap');

/* CSS Custom Properties */
:root {
  /* Colors - Deep cinematic palette */
  --black: #000000;
  --black-rich: #050505;
  --black-soft: #0a0a0a;
  --black-card: #0d0d0d;
  --black-elevated: #111111;
  --black-border: #1a1a1a;

  --white: #ffffff;
  --white-off: #f5f5f5;
  --white-muted: #a0a0a0;
  --white-dim: #666666;

  --accent: #00f0ff;
  --accent-glow: rgba(0, 240, 255, 0.15);
  --accent-subtle: rgba(0, 240, 255, 0.08);
  --accent-bright: #00ffff;

  /* Typography */
  --font-primary: 'Satoshi', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Fluid type scale */
  --text-xs: clamp(0.7rem, 0.8vw, 0.75rem);
  --text-sm: clamp(0.8rem, 1vw, 0.875rem);
  --text-base: clamp(0.95rem, 1.2vw, 1.1rem);
  --text-lg: clamp(1.1rem, 1.5vw, 1.35rem);
  --text-xl: clamp(1.3rem, 2vw, 1.75rem);
  --text-2xl: clamp(1.8rem, 3vw, 2.5rem);
  --text-3xl: clamp(2.5rem, 5vw, 4rem);
  --text-4xl: clamp(3.5rem, 8vw, 7rem);
  --text-hero: clamp(4rem, 12vw, 12rem);

  /* Spacing */
  --space-2xs: 0.25rem;
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2.5rem;
  --space-xl: 4rem;
  --space-2xl: 6rem;
  --space-3xl: 10rem;

  /* Layout */
  --max-width: 1600px;
  --content-width: 1200px;
  --header-height: 90px;

  /* Effects */
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out-quint: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);

  --duration-fast: 0.15s;
  --duration-normal: 0.4s;
  --duration-slow: 0.8s;
  --duration-slower: 1.2s;

  /* Grain overlay */
  --grain: 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.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body {
  font-family: var(--font-primary);
  font-size: var(--text-base);
  font-weight: 400;
  line-height: 1.6;
  color: var(--white);
  background-color: var(--black);
  overflow-x: hidden;
}

/* Film grain overlay */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: var(--grain);
  opacity: 0.03;
  pointer-events: none;
  z-index: 9999;
}

::selection {
  background: var(--accent);
  color: var(--black);
}

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

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

button {
  font-family: inherit;
  cursor: pointer;
}

/* ============================================
   UTILITY
   ============================================ */

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

.container--narrow {
  max-width: var(--content-width);
}

/* ============================================
   HEADER
   ============================================ */

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-height);
  transition: transform var(--duration-normal) var(--ease-out-expo),
              background var(--duration-normal) var(--ease-out-expo);
}

.header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.8) 0%, transparent 100%);
  pointer-events: none;
}

.header--scrolled {
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.header--hidden {
  transform: translateY(-100%);
}

.header__inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.header__logo {
  font-size: var(--text-xl);
  font-weight: 900;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  transition: opacity var(--duration-fast);
}

.header__logo:hover {
  opacity: 0.7;
}

.header__logo span {
  color: var(--accent);
}

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

.nav__link {
  position: relative;
  font-size: var(--text-sm);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--white-muted);
  transition: color var(--duration-fast);
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--accent);
  transition: width var(--duration-normal) var(--ease-out-expo);
}

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

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

.nav__toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 44px;
  height: 44px;
  background: transparent;
  border: none;
  z-index: 1001;
}

.nav__toggle-line {
  width: 24px;
  height: 1px;
  background: var(--white);
  transition: transform var(--duration-normal) var(--ease-out-expo),
              opacity var(--duration-fast);
}

.nav__toggle--active .nav__toggle-line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav__toggle--active .nav__toggle-line:nth-child(2) {
  opacity: 0;
}

.nav__toggle--active .nav__toggle-line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* CTA Button */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-xs);
  padding: 1rem 2rem;
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all var(--duration-normal) var(--ease-out-expo);
}

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

.btn--primary:hover {
  background: var(--accent);
  color: var(--black);
  transform: translateY(-2px);
  box-shadow: 0 10px 40px var(--accent-glow);
}

.btn--outline {
  background: transparent;
  color: var(--white);
  border: 1px solid var(--white-muted);
}

.btn--outline:hover {
  border-color: var(--white);
  background: var(--white);
  color: var(--black);
}

.btn--large {
  padding: 1.25rem 3rem;
  font-size: var(--text-base);
}

/* ============================================
   HERO - MASSIVE CINEMATIC IMPACT
   ============================================ */

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

.hero__video-wrap {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.hero__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  filter: grayscale(30%);
  transition: opacity 0.8s ease;
  will-change: opacity;
}

.hero__video.loaded {
  opacity: 0.5;
}

.hero__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, var(--black) 0%, transparent 30%, transparent 70%, var(--black) 100%);
}

.hero__content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: var(--space-2xl) var(--space-lg);
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  margin-bottom: var(--space-lg);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 1s var(--ease-out-expo) 0.2s forwards;
}

.hero__eyebrow::before {
  content: '';
  width: 40px;
  height: 1px;
  background: var(--accent);
}

.hero__title {
  max-width: 1400px;
  font-size: var(--text-hero);
  font-weight: 900;
  line-height: 0.9;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(60px);
  animation: fadeUp 1.2s var(--ease-out-expo) 0.4s forwards;
}

.hero__title-line {
  display: block;
  overflow: hidden;
}

.hero__title-accent {
  color: transparent;
  -webkit-text-stroke: 1px var(--white);
  transition: all var(--duration-slow) var(--ease-out-expo);
}

.hero:hover .hero__title-accent {
  color: var(--white);
  -webkit-text-stroke: 1px transparent;
  text-shadow: 0 0 80px var(--accent-glow);
}

.hero__subtitle {
  max-width: 600px;
  margin-top: var(--space-xl);
  font-size: var(--text-lg);
  font-weight: 400;
  line-height: 1.7;
  color: var(--white-muted);
  opacity: 0;
  transform: translateY(40px);
  animation: fadeUp 1s var(--ease-out-expo) 0.7s forwards;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  margin-top: var(--space-xl);
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 1s var(--ease-out-expo) 0.9s forwards;
}

.hero__scroll {
  position: absolute;
  bottom: var(--space-xl);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-sm);
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--white-dim);
  opacity: 0;
  animation: fadeIn 1s var(--ease-out-expo) 1.2s forwards;
}

.hero__scroll-line {
  width: 1px;
  height: 60px;
  background: linear-gradient(180deg, var(--white-muted) 0%, transparent 100%);
  animation: scrollPulse 2s ease-in-out infinite;
}

/* ============================================
   SECTIONS
   ============================================ */

.section {
  position: relative;
  padding: var(--space-3xl) 0;
}

.section--flush {
  padding: 0;
}

.section__header {
  margin-bottom: var(--space-2xl);
}

.section__header--center {
  text-align: center;
}

.section__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-md);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
}

.section__eyebrow::before {
  content: '';
  width: 30px;
  height: 1px;
  background: var(--accent);
}

.section__title {
  font-size: var(--text-3xl);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.section__subtitle {
  max-width: 550px;
  margin-top: var(--space-md);
  font-size: var(--text-lg);
  color: var(--white-muted);
  line-height: 1.7;
}

.section__header--center .section__subtitle {
  margin-left: auto;
  margin-right: auto;
}

.section--dark {
  background: var(--black-rich);
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-2xl);
  align-items: center;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-2xl);
}

@media (max-width: 768px) {
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   WORK GRID - PREMIUM PORTFOLIO
   ============================================ */

.work-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--space-sm);
}

.work-card {
  position: relative;
  grid-column: span 6;
  aspect-ratio: 16/10;
  overflow: hidden;
  cursor: pointer;
  background: var(--black-card);
}

.work-card--large {
  grid-column: span 12;
  aspect-ratio: 21/9;
}

.work-card--tall {
  aspect-ratio: 3/4;
}

.work-card__media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--duration-slower) var(--ease-out-expo),
              filter var(--duration-slow) var(--ease-out-expo);
  filter: grayscale(20%) brightness(0.9);
}

.work-card:hover .work-card__media {
  transform: scale(1.05);
  filter: grayscale(0%) brightness(1);
}

.work-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg,
    rgba(0,0,0,0.9) 0%,
    rgba(0,0,0,0.3) 40%,
    transparent 100%);
  opacity: 0;
  transition: opacity var(--duration-normal) var(--ease-out-expo);
}

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

.work-card__play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.8);
  width: 90px;
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--white);
  border-radius: 50%;
  opacity: 0;
  transition: all var(--duration-normal) var(--ease-out-expo);
}

.work-card__play svg {
  width: 24px;
  height: 24px;
  fill: var(--black);
  margin-left: 4px;
}

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

.work-card__content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: var(--space-lg);
  transform: translateY(20px);
  opacity: 0;
  transition: all var(--duration-normal) var(--ease-out-expo);
}

.work-card:hover .work-card__content {
  transform: translateY(0);
  opacity: 1;
}

.work-card__category {
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: var(--space-xs);
}

.work-card__title {
  font-size: var(--text-xl);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.work-card__desc {
  margin-top: var(--space-xs);
  font-size: var(--text-sm);
  color: var(--white-muted);
}

/* ============================================
   SERVICES - REFINED GRID
   ============================================ */

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--black-border);
}

.service-card {
  padding: var(--space-xl);
  background: var(--black-rich);
  transition: background var(--duration-normal);
}

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

.service-card__number {
  font-size: var(--text-4xl);
  font-weight: 900;
  color: var(--black-border);
  line-height: 1;
  margin-bottom: var(--space-lg);
  transition: color var(--duration-normal);
}

.service-card:hover .service-card__number {
  color: var(--accent);
}

.service-card__title {
  font-size: var(--text-xl);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-sm);
}

.service-card__desc {
  font-size: var(--text-base);
  color: var(--white-muted);
  line-height: 1.7;
}

/* ============================================
   ABOUT - SPLIT LAYOUT
   ============================================ */

.about-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 100vh;
}

.about__image-wrap {
  position: relative;
  overflow: hidden;
}

.about__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(30%);
}

.about__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: var(--space-3xl) var(--space-2xl);
  background: var(--black-rich);
}

.about__text {
  margin-bottom: var(--space-md);
  font-size: var(--text-lg);
  line-height: 1.8;
  color: var(--white-muted);
}

.about__text:last-of-type {
  margin-bottom: var(--space-xl);
}

.about__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
  padding-top: var(--space-xl);
  border-top: 1px solid var(--black-border);
}

.stat__value {
  font-size: var(--text-3xl);
  font-weight: 900;
  line-height: 1;
  margin-bottom: var(--space-xs);
}

.stat__value--accent {
  color: var(--accent);
}

.stat__label {
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white-dim);
}

/* ============================================
   BLOG - EDITORIAL GRID
   ============================================ */

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

.blog-card {
  display: block;
  background: var(--black-card);
  border: 1px solid var(--black-border);
  transition: all var(--duration-normal) var(--ease-out-expo);
}

.blog-card:hover {
  border-color: var(--white-dim);
  transform: translateY(-4px);
}

.blog-card__image {
  aspect-ratio: 16/10;
  overflow: hidden;
}

.blog-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(20%);
  transition: all var(--duration-slow) var(--ease-out-expo);
}

.blog-card:hover .blog-card__image img {
  filter: grayscale(0%);
  transform: scale(1.03);
}

.blog-card__content {
  padding: var(--space-lg);
}

.blog-card__meta {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-sm);
  font-size: var(--text-xs);
  color: var(--white-dim);
}

.blog-card__category {
  color: var(--accent);
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.blog-card__title {
  font-size: var(--text-xl);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.3;
  margin-bottom: var(--space-sm);
  transition: color var(--duration-fast);
}

.blog-card:hover .blog-card__title {
  color: var(--accent);
}

.blog-card__excerpt {
  font-size: var(--text-sm);
  color: var(--white-muted);
  line-height: 1.6;
}

/* ============================================
   CONTACT - PREMIUM FORM
   ============================================ */

.contact-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
}

.contact__info {
  padding: var(--space-lg) 0;
}

.contact__title {
  font-size: var(--text-3xl);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: var(--space-lg);
}

.contact__text {
  font-size: var(--text-lg);
  color: var(--white-muted);
  line-height: 1.8;
  margin-bottom: var(--space-lg);
}

.contact__details {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  margin-top: var(--space-xl);
}

.contact__item {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.contact__item-icon {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--black-card);
  border: 1px solid var(--black-border);
}

.contact__item-icon svg {
  width: 20px;
  height: 20px;
  stroke: var(--accent);
  fill: none;
  stroke-width: 1.5;
}

.contact__item-label {
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white-dim);
  margin-bottom: 2px;
}

.contact__item-value {
  font-size: var(--text-base);
  font-weight: 500;
}

.contact__item-value a:hover {
  color: var(--accent);
}

/* Form */
.contact-form {
  padding: var(--space-xl);
  background: var(--black-card);
  border: 1px solid var(--black-border);
}

.form__group {
  margin-bottom: var(--space-md);
}

.form__label {
  display: block;
  margin-bottom: var(--space-xs);
  font-size: var(--text-sm);
  font-weight: 500;
}

.form__input,
.form__textarea,
.form__select {
  width: 100%;
  padding: 1rem 1.25rem;
  font-family: var(--font-primary);
  font-size: var(--text-base);
  color: var(--white);
  background: var(--black);
  border: 1px solid var(--black-border);
  outline: none;
  transition: border-color var(--duration-fast);
}

.form__input:focus,
.form__textarea:focus,
.form__select:focus {
  border-color: var(--accent);
}

.form__input::placeholder,
.form__textarea::placeholder {
  color: var(--white-dim);
}

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

.form__select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 16px;
}

.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
}

/* ============================================
   FOOTER - MINIMAL
   ============================================ */

.footer {
  padding: var(--space-3xl) 0 var(--space-xl);
  background: var(--black);
  border-top: 1px solid var(--black-border);
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-2xl);
  margin-bottom: var(--space-2xl);
}

.footer__logo {
  font-size: var(--text-xl);
  font-weight: 900;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  margin-bottom: var(--space-md);
}

.footer__logo span {
  color: var(--accent);
}

.footer__desc {
  font-size: var(--text-sm);
  color: var(--white-dim);
  line-height: 1.7;
  max-width: 300px;
}

.footer__heading {
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: var(--space-md);
  color: var(--white);
}

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

.footer__link {
  font-size: var(--text-sm);
  color: var(--white-dim);
  transition: color var(--duration-fast);
}

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

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

.footer__social-link {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--black-border);
  transition: all var(--duration-fast);
}

.footer__social-link:hover {
  background: var(--white);
  border-color: var(--white);
}

.footer__social-link:hover svg {
  fill: var(--black);
}

.footer__social-link svg {
  width: 18px;
  height: 18px;
  fill: var(--white-muted);
  transition: fill var(--duration-fast);
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: var(--space-xl);
  border-top: 1px solid var(--black-border);
  font-size: var(--text-xs);
  color: var(--white-dim);
}

/* ============================================
   PAGE HERO - INNER PAGES
   ============================================ */

.page-hero {
  padding: calc(var(--header-height) + var(--space-3xl)) 0 var(--space-2xl);
  background: var(--black);
  border-bottom: 1px solid var(--black-border);
}

.page-hero__title {
  font-size: var(--text-4xl);
  font-weight: 900;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  margin-bottom: var(--space-md);
}

.page-hero__subtitle {
  font-size: var(--text-xl);
  color: var(--white-muted);
  max-width: 600px;
}

/* ============================================
   BLOG POST - ARTICLE
   ============================================ */

.blog-post {
  padding: calc(var(--header-height) + var(--space-2xl)) 0 var(--space-3xl);
}

.blog-post__header {
  max-width: 900px;
  margin: 0 auto var(--space-2xl);
  text-align: center;
}

.blog-post__meta {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
  font-size: var(--text-sm);
  color: var(--white-dim);
}

.blog-post__category {
  color: var(--accent);
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.blog-post__title {
  font-size: var(--text-3xl);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.blog-post__content {
  max-width: 760px;
  margin: 0 auto;
}

.blog-post__content h2 {
  font-size: var(--text-2xl);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: var(--space-2xl) 0 var(--space-md);
}

.blog-post__content h3 {
  font-size: var(--text-xl);
  font-weight: 600;
  margin: var(--space-xl) 0 var(--space-sm);
}

.blog-post__content p {
  margin-bottom: var(--space-md);
  font-size: var(--text-lg);
  line-height: 1.85;
  color: var(--white-muted);
}

.blog-post__content strong {
  color: var(--white);
  font-weight: 600;
}

.blog-post__content ul,
.blog-post__content ol {
  margin-bottom: var(--space-md);
  padding-left: var(--space-lg);
  color: var(--white-muted);
}

.blog-post__content li {
  margin-bottom: var(--space-xs);
  font-size: var(--text-lg);
  line-height: 1.7;
}

.blog-post__content a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.blog-post__content a:hover {
  color: var(--white);
}

/* ============================================
   VIDEO MODAL
   ============================================ */

.modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-lg);
  background: rgba(0, 0, 0, 0.95);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--duration-normal), visibility var(--duration-normal);
}

.modal--active {
  opacity: 1;
  visibility: visible;
}

.modal__content {
  position: relative;
  width: 100%;
  max-width: 1200px;
  aspect-ratio: 16/9;
  background: var(--black);
}

.modal__close {
  position: absolute;
  top: -50px;
  right: 0;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid var(--white-muted);
  transition: all var(--duration-fast);
}

.modal__close:hover {
  background: var(--white);
  border-color: var(--white);
}

.modal__close:hover svg {
  stroke: var(--black);
}

.modal__close svg {
  width: 18px;
  height: 18px;
  stroke: var(--white);
  fill: none;
  stroke-width: 2;
}

.modal__iframe,
.modal__video {
  width: 100%;
  height: 100%;
  border: none;
  object-fit: contain;
  background: var(--black);
}

/* ============================================
   CTA SECTION
   ============================================ */

.cta-section {
  padding: var(--space-3xl) 0;
  text-align: center;
  background: var(--black-card);
  border-top: 1px solid var(--black-border);
  border-bottom: 1px solid var(--black-border);
}

.cta-section__title {
  font-size: var(--text-3xl);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: var(--space-md);
}

.cta-section__text {
  max-width: 500px;
  margin: 0 auto var(--space-xl);
  font-size: var(--text-lg);
  color: var(--white-muted);
}

/* ============================================
   ANIMATIONS
   ============================================ */

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

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes scrollPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translate3d(0, 50px, 0);
  transition: opacity var(--duration-slower) var(--ease-out-expo),
              transform var(--duration-slower) var(--ease-out-expo);
  will-change: opacity, transform;
  backface-visibility: hidden;
}

.reveal--visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.reveal--delay-1 { transition-delay: 0.1s; }
.reveal--delay-2 { transition-delay: 0.2s; }
.reveal--delay-3 { transition-delay: 0.3s; }

/* ============================================
   LOADER
   ============================================ */

.loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--black);
  transition: opacity var(--duration-slow), visibility var(--duration-slow);
}

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

.loader__spinner {
  width: 40px;
  height: 40px;
  border: 1px solid var(--black-border);
  border-top-color: var(--white);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

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

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 1200px) {
  .about-split {
    grid-template-columns: 1fr;
  }

  .about__image-wrap {
    aspect-ratio: 16/9;
  }

  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
  }
}

@media (max-width: 1024px) {
  .work-card {
    grid-column: span 12;
  }

  .work-card--large {
    aspect-ratio: 16/9;
  }

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

  .contact-split {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
  }

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

@media (max-width: 768px) {
  :root {
    --header-height: 70px;
  }

  .nav {
    position: fixed;
    inset: 0;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: var(--space-lg);
    background: var(--black);
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--duration-normal), visibility var(--duration-normal);
  }

  .nav--active {
    opacity: 1;
    visibility: visible;
  }

  .nav__link {
    font-size: var(--text-xl);
  }

  .nav__toggle {
    display: flex;
  }

  .hero__cta {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero__cta .btn {
    width: 100%;
  }

  .about__content {
    padding: var(--space-2xl) var(--space-lg);
  }

  .about__stats {
    grid-template-columns: 1fr;
    text-align: center;
  }

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

  .footer__grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer__desc {
    max-width: 100%;
  }

  .footer__social {
    justify-content: center;
  }

  .footer__bottom {
    flex-direction: column;
    gap: var(--space-sm);
    text-align: center;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 var(--space-md);
  }

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

  .work-card__content {
    padding: var(--space-md);
  }

  .contact-form {
    padding: var(--space-lg);
  }

  .modal {
    padding: var(--space-sm);
  }

  .modal__content {
    max-width: 100%;
  }

  .modal__close {
    top: -44px;
    right: 0;
    width: 40px;
    height: 40px;
  }
}

/* iOS Safari fixes */
@supports (-webkit-touch-callout: none) {
  /* Fix 100vh on iOS Safari */
  .hero {
    min-height: -webkit-fill-available;
  }

  .nav {
    min-height: -webkit-fill-available;
  }

  /* Prevent iOS bounce scrolling when modal is open */
  body.modal-open {
    position: fixed;
    width: 100%;
  }
}

/* Touch device optimizations */
@media (hover: none) and (pointer: coarse) {
  /* Improve tap targets */
  .btn {
    min-height: 48px;
  }

  .nav__link {
    padding: var(--space-sm) var(--space-md);
  }

  .work-card__play {
    width: 70px;
    height: 70px;
  }

  /* Disable hover effects that don't work well on touch */
  .work-card:hover .work-card__play {
    transform: translate(-50%, -50%);
  }

  .hero:hover .hero__title-accent {
    color: transparent;
    -webkit-text-stroke: 1px var(--white);
    text-shadow: none;
  }
}
