/* BRUTALIST CSS FRAMEWORK */
:root {
  /* Brutalist Color Palette - Stark and Minimal */
  --black: #000000;
  --white: #ffffff;
  --gray-dark: #333333;
  --gray-medium: #666666;
  --gray-light: #cccccc;
  --red-brutal: #ff0000;
  --yellow-brutal: #ffff00;
  
  /* Typography */
  --font-mono: 'Courier New', monospace;
  --font-sans: 'Arial Black', Arial, sans-serif;
  
  /* Spacing */
  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 16px;
  --space-lg: 32px;
  --space-xl: 64px;
  
  /* Borders */
  --border-thick: 4px solid var(--black);
  --border-medium: 2px solid var(--black);
  --border-thin: 1px solid var(--black);
}

/* RESET AND BASE */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-mono);
  line-height: 1.2;
  color: var(--black);
  background-color: var(--white);
  overflow-x: hidden;
  font-weight: bold;
}

/* BRUTALIST NAVIGATION */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--white);
  border-bottom: var(--border-thick);
  padding: var(--space-md) 0;
}

.nav-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 var(--space-lg);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-logo {
  font-size: 24px;
  font-weight: 900;
  color: var(--black);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 2px;
  border: var(--border-medium);
  padding: var(--space-sm) var(--space-md);
  background: var(--white);
  transition: all 0.1s ease;
}

.nav-logo:hover {
  background: var(--black);
  color: var(--white);
  transform: translate(-2px, -2px);
  box-shadow: 4px 4px 0 var(--red-brutal);
}

.nav-links {
  display: flex;
  gap: var(--space-md);
}

.nav-link {
  color: var(--black);
  text-decoration: none;
  font-size: 16px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: var(--space-sm) var(--space-md);
  border: var(--border-thin);
  background: var(--white);
  transition: all 0.1s ease;
}

.nav-link:hover {
  background: var(--black);
  color: var(--white);
  transform: translate(-1px, -1px);
  box-shadow: 2px 2px 0 var(--yellow-brutal);
}

/* BRUTALIST HERO SECTION */
.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--white);
  position: relative;
  padding: 100px var(--space-lg) 0;
  border-bottom: var(--border-thick);
}

.hero-content {
  text-align: center;
  max-width: 800px;
}

.hero-text {
  font-size: clamp(32px, 8vw, 80px);
  font-weight: 900;
  color: var(--black);
  margin-bottom: var(--space-lg);
  line-height: 0.9;
  text-transform: uppercase;
  letter-spacing: -2px;
  text-shadow: 4px 4px 0 var(--gray-light);
}

.hero-subtitle {
  font-size: 18px;
  color: var(--gray-dark);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  border: var(--border-thin);
  padding: var(--space-md);
  background: var(--gray-light);
  display: inline-block;
}

/* BRUTALIST BRAND SECTION */
.brand-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--black);
  position: relative;
  overflow: hidden;
  border-bottom: var(--border-thick);
}

.brand-background {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.brand-text-bg {
  position: absolute;
  font-size: clamp(120px, 25vw, 500px);
  font-weight: 900;
  color: var(--gray-dark);
  z-index: 1;
  line-height: 0.8;
  letter-spacing: -0.1em;
  text-transform: uppercase;
}

.brand-text-main {
  position: relative;
  font-size: clamp(120px, 25vw, 500px);
  font-weight: 900;
  color: var(--white);
  z-index: 2;
  line-height: 0.8;
  letter-spacing: -0.1em;
  text-transform: uppercase;
  text-shadow: 8px 8px 0 var(--red-brutal);
}

/* BRUTALIST SERVICES SECTION */
.services-section {
  min-height: 100vh;
  background: var(--white);
  padding: var(--space-xl);
  border-bottom: var(--border-thick);
}

.services-content {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: start;
}

.services-left,
.services-right {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.service-text {
  font-size: clamp(24px, 4vw, 48px);
  font-weight: 900;
  color: var(--black);
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-left: 8px solid var(--black);
  padding-left: var(--space-md);
}

.service-text-large {
  font-size: clamp(48px, 8vw, 96px);
  font-weight: 900;
  color: var(--white);
  background: var(--black);
  line-height: 0.9;
  margin: var(--space-md) 0;
  padding: var(--space-md);
  text-transform: uppercase;
  letter-spacing: -2px;
  border: var(--border-thick);
  box-shadow: 8px 8px 0 var(--red-brutal);
}

/* BRUTALIST PHILOSOPHY SECTION */
.philosophy-section {
  min-height: 100vh;
  background: var(--gray-light);
  padding: var(--space-xl);
  display: flex;
  align-items: center;
  border-bottom: var(--border-thick);
}

.philosophy-content {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: center;
}

.philosophy-text-large {
  font-size: clamp(48px, 8vw, 120px);
  font-weight: 900;
  color: var(--black);
  line-height: 0.8;
  margin-bottom: var(--space-lg);
  text-transform: uppercase;
  letter-spacing: -2px;
  border-bottom: 8px solid var(--black);
  padding-bottom: var(--space-md);
}

.philosophy-description {
  font-size: 20px;
  color: var(--black);
  margin-bottom: var(--space-lg);
  line-height: 1.3;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  background: var(--white);
  padding: var(--space-lg);
  border: var(--border-medium);
  box-shadow: 4px 4px 0 var(--yellow-brutal);
}

/* BRUTALIST VISION SECTION */
.vision-section {
  background: var(--white);
  padding: var(--space-xl);
  border-bottom: var(--border-thick);
}

.vision-content {
  max-width: 1400px;
  margin: 0 auto;
}

.vision-dates {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
  margin-bottom: var(--space-xl);
  justify-content: center;
}

.date-text {
  font-size: clamp(48px, 8vw, 120px);
  font-weight: 900;
  color: var(--black);
  line-height: 1;
  text-transform: uppercase;
  border: var(--border-thick);
  padding: var(--space-lg);
  background: var(--yellow-brutal);
  box-shadow: 8px 8px 0 var(--black);
}

.date-separator {
  font-size: clamp(48px, 8vw, 120px);
  font-weight: 900;
  color: var(--black);
  line-height: 1;
}

.vision-text-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
}

.vision-title {
  font-size: 32px;
  font-weight: 900;
  color: var(--black);
  margin-bottom: var(--space-lg);
  text-transform: uppercase;
  letter-spacing: 2px;
  border-bottom: 4px solid var(--black);
  padding-bottom: var(--space-md);
}

.vision-ampersand {
  font-size: 96px;
  font-weight: 900;
  color: var(--red-brutal);
  display: block;
  text-align: center;
  margin-top: var(--space-lg);
}

/* BACKGROUND ART SECTION WITH GLITCH IMAGE */
.background-art-section {
  min-height: 100vh;
  background: var(--black);
  position: relative;
  display: flex;
  align-items: center;
  padding: var(--space-xl);
  border-bottom: var(--border-thick);
  overflow: hidden;
}

.background-art-content {
  max-width: 1400px;
  margin: 0 auto;
  width: 100%;
  position: relative;
}

.background-image {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  opacity: 0.8;
  z-index: 1;
}

.background-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: contrast(1.5) brightness(0.8);
  mix-blend-mode: screen;
}

.vision-philosophy {
  position: relative;
  z-index: 2;
  max-width: 600px;
  margin-left: auto;
  margin-right: var(--space-xl);
}

.vision-description {
  font-size: 24px;
  color: var(--white);
  margin-bottom: var(--space-xl);
  line-height: 1.2;
  background: var(--black);
  padding: var(--space-xl);
  border: var(--border-thick);
  border-color: var(--white);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 8px 8px 0 var(--red-brutal);
}

/* BRUTALIST CTA SECTION */
.cta-section {
  min-height: 100vh;
  background: var(--red-brutal);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-xl);
  position: relative;
  border-bottom: var(--border-thick);
}

.cta-content {
  text-align: center;
  position: relative;
}

.cta-background-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: clamp(24px, 4vw, 48px);
  font-weight: 900;
  color: rgba(0, 0, 0, 0.2);
  z-index: 1;
  white-space: nowrap;
  text-transform: uppercase;
  letter-spacing: 4px;
}

.cta-main-text {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: var(--space-xl);
}

.cta-line {
  font-size: clamp(48px, 8vw, 120px);
  font-weight: 900;
  color: var(--white);
  line-height: 0.8;
  display: block;
  text-transform: uppercase;
  letter-spacing: -2px;
  text-shadow: 4px 4px 0 var(--black);
}

.cta-subtitle {
  font-size: 20px;
  color: var(--white);
  margin-bottom: var(--space-xl);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  background: var(--black);
  padding: var(--space-md);
  border: var(--border-medium);
  border-color: var(--white);
}

.cta-links {
  display: flex;
  gap: var(--space-lg);
  justify-content: center;
  flex-wrap: wrap;
}

.cta-link {
  color: var(--black);
  text-decoration: none;
  font-size: 20px;
  font-weight: 900;
  padding: var(--space-md) var(--space-lg);
  border: var(--border-thick);
  background: var(--white);
  text-transform: uppercase;
  letter-spacing: 2px;
  transition: all 0.1s ease;
}

.cta-link:hover {
  background: var(--black);
  color: var(--white);
  transform: translate(-2px, -2px);
  box-shadow: 4px 4px 0 var(--yellow-brutal);
}

/* BRUTALIST FOOTER */
.footer-section {
  background: var(--black);
  padding: var(--space-xl);
  color: var(--white);
}

.footer-content {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: var(--space-xl);
  align-items: start;
}

.footer-signature {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.footer-made {
  font-size: 24px;
  color: var(--white);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.footer-hate {
  font-size: 48px;
  color: var(--red-brutal);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -1px;
  border: var(--border-medium);
  border-color: var(--white);
  padding: var(--space-md);
  background: var(--white);
  color: var(--black);
}

.footer-philosophy p {
  font-size: 16px;
  color: var(--white);
  line-height: 1.4;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  background: var(--gray-dark);
  padding: var(--space-lg);
  border: var(--border-thin);
  border-color: var(--white);
}

.footer-copyright {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  text-align: right;
}

.footer-year {
  font-size: 48px;
  color: var(--yellow-brutal);
  font-weight: 900;
  text-transform: uppercase;
}

.footer-attribution {
  font-size: 16px;
  color: var(--white);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* RESPONSIVE DESIGN - BRUTALIST STYLE */
@media (max-width: 1024px) {
  .services-content,
  .philosophy-content,
  .vision-text-section {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
    text-align: center;
  }
  
  .footer-copyright {
    text-align: center;
  }
  
  .vision-dates {
    flex-direction: column;
    gap: var(--space-lg);
  }
}

@media (max-width: 768px) {
  .nav-container {
    padding: 0 var(--space-md);
  }
  
  .nav-links {
    gap: var(--space-sm);
  }
  
  .nav-link {
    font-size: 14px;
    padding: var(--space-xs) var(--space-sm);
  }
  
  .hero-section,
  .services-section,
  .philosophy-section,
  .vision-section,
  .background-art-section,
  .cta-section,
  .footer-section {
    padding: var(--space-lg) var(--space-md);
  }
  
  .vision-philosophy {
    margin-right: 0;
    margin-left: 0;
  }
  
  .cta-links {
    flex-direction: column;
    gap: var(--space-md);
  }
  
  .service-text-large {
    margin: var(--space-sm) 0;
    padding: var(--space-sm);
  }
}

@media (max-width: 480px) {
  .nav-logo {
    font-size: 18px;
    padding: var(--space-xs) var(--space-sm);
  }
  
  .nav-link {
    font-size: 12px;
  }
  
  .date-text {
    padding: var(--space-md);
  }
  
  .vision-description,
  .philosophy-description {
    padding: var(--space-md);
    font-size: 16px;
  }
}

/* SCROLL PROGRESS INDICATOR - BRUTALIST */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 8px;
  background: var(--red-brutal);
  z-index: 9999;
  transition: width 0.1s ease;
  border-bottom: 2px solid var(--black);
}

/* GLITCH EFFECTS PREPARATION */
.glitch-container {
  position: relative;
  display: inline-block;
}

.glitch-text {
  position: relative;
  color: var(--black);
  font-weight: 900;
}

/* Base styles for elements that will have glitch effects */
.nav-link,
.cta-link,
.service-text,
.philosophy-text-large {
  position: relative;
  overflow: hidden;
}

/* Pixelated effect base */
.pixelated {
  image-rendering: -moz-crisp-edges;
  image-rendering: -webkit-crisp-edges;
  image-rendering: pixelated;
  image-rendering: crisp-edges;
}



/* ========================================
   GLITCH AND HOVER EFFECTS
   ======================================== */

/* Glitch Animation Keyframes */
@keyframes glitch-1 {
  0%, 100% { transform: translate(0); }
  20% { transform: translate(-2px, 2px); }
  40% { transform: translate(-2px, -2px); }
  60% { transform: translate(2px, 2px); }
  80% { transform: translate(2px, -2px); }
}

@keyframes glitch-2 {
  0%, 100% { transform: translate(0); }
  20% { transform: translate(2px, -2px); }
  40% { transform: translate(2px, 2px); }
  60% { transform: translate(-2px, -2px); }
  80% { transform: translate(-2px, 2px); }
}

@keyframes glitch-3 {
  0%, 100% { transform: translate(0); }
  10% { transform: translate(1px, 1px); }
  30% { transform: translate(-1px, -1px); }
  50% { transform: translate(1px, -1px); }
  70% { transform: translate(-1px, 1px); }
  90% { transform: translate(1px, 1px); }
}

@keyframes color-shift {
  0% { filter: hue-rotate(0deg) saturate(1); }
  25% { filter: hue-rotate(90deg) saturate(1.5); }
  50% { filter: hue-rotate(180deg) saturate(2); }
  75% { filter: hue-rotate(270deg) saturate(1.5); }
  100% { filter: hue-rotate(360deg) saturate(1); }
}

@keyframes pixelate {
  0% { 
    filter: blur(0px);
    image-rendering: auto;
  }
  50% { 
    filter: blur(1px);
    image-rendering: pixelated;
  }
  100% { 
    filter: blur(0px);
    image-rendering: pixelated;
  }
}

@keyframes text-glitch {
  0% { 
    text-shadow: 2px 2px 0 var(--red-brutal), -2px -2px 0 var(--yellow-brutal);
    transform: translate(0);
  }
  20% { 
    text-shadow: -2px 2px 0 var(--red-brutal), 2px -2px 0 var(--yellow-brutal);
    transform: translate(-1px, 1px);
  }
  40% { 
    text-shadow: 2px -2px 0 var(--red-brutal), -2px 2px 0 var(--yellow-brutal);
    transform: translate(1px, -1px);
  }
  60% { 
    text-shadow: -2px -2px 0 var(--red-brutal), 2px 2px 0 var(--yellow-brutal);
    transform: translate(-1px, -1px);
  }
  80% { 
    text-shadow: 2px 2px 0 var(--red-brutal), -2px -2px 0 var(--yellow-brutal);
    transform: translate(1px, 1px);
  }
  100% { 
    text-shadow: 2px 2px 0 var(--red-brutal), -2px -2px 0 var(--yellow-brutal);
    transform: translate(0);
  }
}

@keyframes background-glitch {
  0% { 
    filter: contrast(1.5) brightness(0.8) hue-rotate(0deg);
    transform: translate(-50%, -50%) scale(1);
  }
  10% { 
    filter: contrast(2) brightness(0.6) hue-rotate(30deg);
    transform: translate(-50%, -50%) scale(1.02) translate(2px, -2px);
  }
  20% { 
    filter: contrast(1.8) brightness(1.2) hue-rotate(60deg);
    transform: translate(-50%, -50%) scale(0.98) translate(-2px, 2px);
  }
  30% { 
    filter: contrast(2.2) brightness(0.4) hue-rotate(90deg);
    transform: translate(-50%, -50%) scale(1.01) translate(1px, 1px);
  }
  40% { 
    filter: contrast(1.6) brightness(1.4) hue-rotate(120deg);
    transform: translate(-50%, -50%) scale(0.99) translate(-1px, -1px);
  }
  50% { 
    filter: contrast(2.5) brightness(0.2) hue-rotate(180deg);
    transform: translate(-50%, -50%) scale(1.03) translate(3px, -1px);
  }
  60% { 
    filter: contrast(1.4) brightness(1.6) hue-rotate(210deg);
    transform: translate(-50%, -50%) scale(0.97) translate(-3px, 1px);
  }
  70% { 
    filter: contrast(2.1) brightness(0.7) hue-rotate(240deg);
    transform: translate(-50%, -50%) scale(1.01) translate(1px, -2px);
  }
  80% { 
    filter: contrast(1.7) brightness(1.1) hue-rotate(270deg);
    transform: translate(-50%, -50%) scale(0.99) translate(-1px, 2px);
  }
  90% { 
    filter: contrast(2.3) brightness(0.5) hue-rotate(300deg);
    transform: translate(-50%, -50%) scale(1.02) translate(2px, 1px);
  }
  100% { 
    filter: contrast(1.5) brightness(0.8) hue-rotate(360deg);
    transform: translate(-50%, -50%) scale(1);
  }
}

/* Navigation Link Glitch Effects */
.nav-link::before,
.nav-link::after {
  content: attr(data-text);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--white);
  color: var(--black);
  padding: var(--space-sm) var(--space-md);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.1s ease;
}

.nav-link::before {
  color: var(--red-brutal);
  z-index: -1;
}

.nav-link::after {
  color: var(--yellow-brutal);
  z-index: -2;
}

.nav-link:hover::before {
  opacity: 0.8;
  animation: glitch-1 0.3s infinite;
}

.nav-link:hover::after {
  opacity: 0.6;
  animation: glitch-2 0.3s infinite reverse;
}

.nav-link:hover {
  animation: text-glitch 0.3s infinite;
}

/* CTA Link Glitch Effects */
.cta-link::before,
.cta-link::after {
  content: attr(data-text);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--white);
  color: var(--black);
  padding: var(--space-md) var(--space-lg);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.1s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cta-link::before {
  color: var(--red-brutal);
  z-index: -1;
}

.cta-link::after {
  color: var(--yellow-brutal);
  z-index: -2;
}

.cta-link:hover::before {
  opacity: 0.7;
  animation: glitch-2 0.4s infinite;
}

.cta-link:hover::after {
  opacity: 0.5;
  animation: glitch-1 0.4s infinite reverse;
}

.cta-link:hover {
  animation: text-glitch 0.4s infinite;
}

/* Service Text Glitch Effects */
.service-text:hover {
  animation: text-glitch 0.5s infinite;
  cursor: pointer;
}

.service-text-large:hover {
  animation: glitch-3 0.3s infinite, color-shift 2s infinite;
  cursor: pointer;
}

/* Philosophy Text Glitch Effects */
.philosophy-text-large:hover {
  animation: text-glitch 0.6s infinite;
  cursor: pointer;
}

/* Brand Text Glitch Effect */
.brand-text-main:hover {
  animation: text-glitch 0.8s infinite, color-shift 3s infinite;
  cursor: pointer;
}

/* Hero Text Glitch Effect */
.hero-text:hover {
  animation: text-glitch 0.7s infinite;
  cursor: pointer;
}

/* Date Text Glitch Effects */
.date-text:hover {
  animation: glitch-1 0.4s infinite, color-shift 2s infinite;
  cursor: pointer;
}

/* Footer Elements Glitch Effects */
.footer-hate:hover {
  animation: text-glitch 0.5s infinite;
  cursor: pointer;
}

.footer-year:hover {
  animation: glitch-2 0.4s infinite, color-shift 1.5s infinite;
  cursor: pointer;
}

/* Background Image Scroll-Triggered Glitch */
.background-image.glitch-active img {
  animation: background-glitch 2s infinite;
}

/* Pixelated Effects */
.nav-link:hover,
.cta-link:hover,
.service-text:hover,
.philosophy-text-large:hover {
  image-rendering: -moz-crisp-edges;
  image-rendering: -webkit-crisp-edges;
  image-rendering: pixelated;
  image-rendering: crisp-edges;
}

/* Color Changing Box Shadows */
.nav-logo:hover {
  animation: color-shift 1s infinite;
}

.service-text-large:hover {
  box-shadow: 8px 8px 0 var(--yellow-brutal);
}

.philosophy-description:hover {
  box-shadow: 4px 4px 0 var(--red-brutal);
  animation: glitch-3 0.5s infinite;
  cursor: pointer;
}

.vision-description:hover {
  box-shadow: 8px 8px 0 var(--yellow-brutal);
  animation: glitch-1 0.4s infinite;
  cursor: pointer;
}

/* Scroll Progress Bar Glitch */
.scroll-progress.glitch-active {
  animation: color-shift 0.5s infinite;
  height: 12px;
}

/* Additional Hover Effects for Interactive Elements */
.hero-subtitle:hover {
  animation: glitch-3 0.6s infinite;
  cursor: pointer;
  background: var(--black);
  color: var(--white);
}

.vision-title:hover {
  animation: text-glitch 0.5s infinite;
  cursor: pointer;
}

.vision-ampersand:hover {
  animation: glitch-1 0.3s infinite, color-shift 1s infinite;
  cursor: pointer;
}

.cta-subtitle:hover {
  animation: glitch-2 0.4s infinite;
  cursor: pointer;
}

/* Responsive Glitch Effects */
@media (max-width: 768px) {
  .nav-link::before,
  .nav-link::after {
    padding: var(--space-xs) var(--space-sm);
  }
  
  .cta-link::before,
  .cta-link::after {
    padding: var(--space-sm) var(--space-md);
  }
}

/* Performance Optimization - Reduce animations on mobile */
@media (prefers-reduced-motion: reduce) {
  .nav-link:hover,
  .cta-link:hover,
  .service-text:hover,
  .philosophy-text-large:hover,
  .brand-text-main:hover,
  .hero-text:hover,
  .date-text:hover,
  .footer-hate:hover,
  .footer-year:hover {
    animation: none;
  }
  
  .background-image.glitch-active img {
    animation: none;
  }
}

/* Cross-browser Compatibility */
@-webkit-keyframes glitch-1 {
  0%, 100% { -webkit-transform: translate(0); }
  20% { -webkit-transform: translate(-2px, 2px); }
  40% { -webkit-transform: translate(-2px, -2px); }
  60% { -webkit-transform: translate(2px, 2px); }
  80% { -webkit-transform: translate(2px, -2px); }
}

@-moz-keyframes glitch-1 {
  0%, 100% { -moz-transform: translate(0); }
  20% { -moz-transform: translate(-2px, 2px); }
  40% { -moz-transform: translate(-2px, -2px); }
  60% { -moz-transform: translate(2px, 2px); }
  80% { -moz-transform: translate(2px, -2px); }
}

/* Vendor Prefixes for Image Rendering */
.pixelated,
.nav-link:hover,
.cta-link:hover,
.service-text:hover,
.philosophy-text-large:hover {
  -ms-interpolation-mode: nearest-neighbor;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: -webkit-crisp-edges;
  image-rendering: -moz-crisp-edges;
  image-rendering: -o-crisp-edges;
  image-rendering: pixelated;
}


/* ========================================
   ENHANCED CROSS-BROWSER COMPATIBILITY
   ======================================== */

/* Additional vendor prefixes for animations */
@-webkit-keyframes text-glitch {
  0% { 
    text-shadow: 2px 2px 0 var(--red-brutal), -2px -2px 0 var(--yellow-brutal);
    -webkit-transform: translate(0);
  }
  20% { 
    text-shadow: -2px 2px 0 var(--red-brutal), 2px -2px 0 var(--yellow-brutal);
    -webkit-transform: translate(-1px, 1px);
  }
  40% { 
    text-shadow: 2px -2px 0 var(--red-brutal), -2px 2px 0 var(--yellow-brutal);
    -webkit-transform: translate(1px, -1px);
  }
  60% { 
    text-shadow: -2px -2px 0 var(--red-brutal), 2px 2px 0 var(--yellow-brutal);
    -webkit-transform: translate(-1px, -1px);
  }
  80% { 
    text-shadow: 2px 2px 0 var(--red-brutal), -2px -2px 0 var(--yellow-brutal);
    -webkit-transform: translate(1px, 1px);
  }
  100% { 
    text-shadow: 2px 2px 0 var(--red-brutal), -2px -2px 0 var(--yellow-brutal);
    -webkit-transform: translate(0);
  }
}

@-moz-keyframes text-glitch {
  0% { 
    text-shadow: 2px 2px 0 var(--red-brutal), -2px -2px 0 var(--yellow-brutal);
    -moz-transform: translate(0);
  }
  20% { 
    text-shadow: -2px 2px 0 var(--red-brutal), 2px -2px 0 var(--yellow-brutal);
    -moz-transform: translate(-1px, 1px);
  }
  40% { 
    text-shadow: 2px -2px 0 var(--red-brutal), -2px 2px 0 var(--yellow-brutal);
    -moz-transform: translate(1px, -1px);
  }
  60% { 
    text-shadow: -2px -2px 0 var(--red-brutal), 2px 2px 0 var(--yellow-brutal);
    -moz-transform: translate(-1px, -1px);
  }
  80% { 
    text-shadow: 2px 2px 0 var(--red-brutal), -2px -2px 0 var(--yellow-brutal);
    -moz-transform: translate(1px, 1px);
  }
  100% { 
    text-shadow: 2px 2px 0 var(--red-brutal), -2px -2px 0 var(--yellow-brutal);
    -moz-transform: translate(0);
  }
}

/* Enhanced vendor prefixes for transforms */
.nav-logo:hover,
.nav-link:hover,
.cta-link:hover {
  -webkit-transform: translate(-2px, -2px);
  -moz-transform: translate(-2px, -2px);
  -ms-transform: translate(-2px, -2px);
  -o-transform: translate(-2px, -2px);
  transform: translate(-2px, -2px);
}

/* Enhanced vendor prefixes for transitions */
.nav-logo,
.nav-link,
.cta-link,
.service-text,
.philosophy-text-large {
  -webkit-transition: all 0.1s ease;
  -moz-transition: all 0.1s ease;
  -ms-transition: all 0.1s ease;
  -o-transition: all 0.1s ease;
  transition: all 0.1s ease;
}

/* Enhanced vendor prefixes for box-shadow */
.nav-logo:hover {
  -webkit-box-shadow: 4px 4px 0 var(--red-brutal);
  -moz-box-shadow: 4px 4px 0 var(--red-brutal);
  box-shadow: 4px 4px 0 var(--red-brutal);
}

.nav-link:hover {
  -webkit-box-shadow: 2px 2px 0 var(--yellow-brutal);
  -moz-box-shadow: 2px 2px 0 var(--yellow-brutal);
  box-shadow: 2px 2px 0 var(--yellow-brutal);
}

.cta-link:hover {
  -webkit-box-shadow: 4px 4px 0 var(--yellow-brutal);
  -moz-box-shadow: 4px 4px 0 var(--yellow-brutal);
  box-shadow: 4px 4px 0 var(--yellow-brutal);
}

/* Enhanced vendor prefixes for filters */
.background-image img {
  -webkit-filter: contrast(1.5) brightness(0.8);
  -moz-filter: contrast(1.5) brightness(0.8);
  -ms-filter: contrast(1.5) brightness(0.8);
  -o-filter: contrast(1.5) brightness(0.8);
  filter: contrast(1.5) brightness(0.8);
}

/* ========================================
   ENHANCED RESPONSIVE DESIGN
   ======================================== */

/* Extra small devices (phones, 320px and up) */
@media (max-width: 320px) {
  .nav-container {
    padding: 0 var(--space-sm);
  }
  
  .nav-logo {
    font-size: 16px;
    padding: var(--space-xs);
  }
  
  .nav-links {
    gap: var(--space-xs);
  }
  
  .nav-link {
    font-size: 10px;
    padding: var(--space-xs);
  }
  
  .hero-text {
    font-size: clamp(24px, 6vw, 48px);
  }
  
  .hero-subtitle {
    font-size: 14px;
    padding: var(--space-sm);
  }
  
  .service-text {
    font-size: clamp(18px, 3vw, 32px);
  }
  
  .service-text-large {
    font-size: clamp(32px, 6vw, 64px);
    padding: var(--space-sm);
  }
  
  .philosophy-text-large {
    font-size: clamp(32px, 6vw, 80px);
  }
  
  .date-text {
    font-size: clamp(32px, 6vw, 80px);
    padding: var(--space-sm);
  }
  
  .cta-line {
    font-size: clamp(32px, 6vw, 80px);
  }
  
  .cta-link {
    font-size: 16px;
    padding: var(--space-sm);
  }
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) and (max-width: 767px) {
  .services-content {
    gap: var(--space-lg);
  }
  
  .philosophy-content {
    gap: var(--space-lg);
  }
  
  .vision-text-section {
    gap: var(--space-lg);
  }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 991px) {
  .nav-container {
    padding: 0 var(--space-lg);
  }
  
  .hero-section,
  .services-section,
  .philosophy-section,
  .vision-section,
  .background-art-section,
  .cta-section,
  .footer-section {
    padding: var(--space-xl) var(--space-lg);
  }
  
  .services-content,
  .philosophy-content {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }
  
  .vision-text-section {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
  }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) and (max-width: 1199px) {
  .services-content,
  .philosophy-content,
  .vision-text-section {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
  }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
  .nav-container,
  .services-content,
  .philosophy-content,
  .vision-content,
  .background-art-content,
  .footer-content {
    max-width: 1600px;
  }
}

/* Touch device optimizations */
@media (hover: none) and (pointer: coarse) {
  .nav-link,
  .cta-link,
  .service-text,
  .philosophy-text-large {
    padding: var(--space-md);
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .nav-link:hover,
  .cta-link:hover,
  .service-text:hover,
  .philosophy-text-large:hover {
    animation: none;
    background: var(--black);
    color: var(--white);
  }
  
  /* Reduce glitch effects on touch devices */
  .background-image.glitch-active img {
    animation: none;
  }
}

/* High DPI displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .background-image img {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
  }
}

/* Landscape orientation optimizations */
@media (orientation: landscape) and (max-height: 600px) {
  .hero-section {
    min-height: 80vh;
    padding: var(--space-lg) var(--space-lg) 0;
  }
  
  .brand-section,
  .services-section,
  .philosophy-section,
  .background-art-section,
  .cta-section {
    min-height: 80vh;
  }
  
  .hero-text {
    font-size: clamp(24px, 6vw, 56px);
  }
  
  .brand-text-main {
    font-size: clamp(80px, 15vw, 300px);
  }
}

/* Print styles */
@media print {
  .nav,
  .scroll-progress {
    display: none;
  }
  
  .hero-section,
  .brand-section,
  .services-section,
  .philosophy-section,
  .vision-section,
  .background-art-section,
  .cta-section,
  .footer-section {
    min-height: auto;
    page-break-inside: avoid;
    padding: var(--space-lg);
  }
  
  .background-image {
    opacity: 0.3;
    filter: grayscale(100%);
  }
  
  .nav-link,
  .cta-link {
    color: var(--black) !important;
    background: var(--white) !important;
    text-decoration: underline;
  }
  
  /* Remove animations for print */
  * {
    animation: none !important;
    transition: none !important;
  }
}

/* Accessibility improvements */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  
  .scroll-progress {
    transition: none;
  }
  
  .background-image img {
    transform: translate(-50%, -50%) !important;
  }
}

/* High contrast mode */
@media (prefers-contrast: high) {
  :root {
    --black: #000000;
    --white: #ffffff;
    --gray-dark: #000000;
    --gray-medium: #666666;
    --gray-light: #cccccc;
    --red-brutal: #ff0000;
    --yellow-brutal: #ffff00;
  }
  
  .nav-link,
  .cta-link {
    border-width: 3px;
  }
  
  .service-text-large,
  .philosophy-description,
  .vision-description {
    border-width: 3px;
  }
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
  :root {
    --white: #000000;
    --black: #ffffff;
    --gray-light: #333333;
    --gray-medium: #666666;
    --gray-dark: #cccccc;
  }
  
  .background-image img {
    filter: contrast(1.5) brightness(1.2) invert(1);
  }
  
  .scroll-progress {
    background: var(--yellow-brutal);
  }
}

/* Internet Explorer 11 support */
@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {
  .services-content,
  .philosophy-content,
  .vision-text-section,
  .footer-content {
    display: -ms-flexbox;
    -ms-flex-direction: column;
  }
  
  .nav-container {
    display: -ms-flexbox;
    -ms-flex-pack: justify;
    -ms-flex-align: center;
  }
  
  .nav-links {
    display: -ms-flexbox;
  }
  
  .cta-links {
    display: -ms-flexbox;
    -ms-flex-wrap: wrap;
    -ms-flex-pack: center;
  }
}

/* Safari-specific fixes */
@supports (-webkit-appearance: none) {
  .nav-link,
  .cta-link {
    -webkit-appearance: none;
  }
  
  .background-image img {
    -webkit-transform: translate3d(-50%, -50%, 0);
  }
}

/* Firefox-specific fixes */
@-moz-document url-prefix() {
  .nav-link,
  .cta-link {
    -moz-appearance: none;
  }
  
  .pixelated,
  .nav-link:hover,
  .cta-link:hover {
    image-rendering: -moz-crisp-edges;
  }
}

