/* ===== 1. FOUNDATION & VARIABLES ===== */
:root {
  --bg: #000000;
  --fg: #efefef;
  --muted: #b0b0b0;
  --line: rgba(255, 255, 255, 0.08);
  
  /* Header gradient circle size - change this one value to resize everything */
  --header-circle-size: 800px; /* Try: 300px, 400px, 500px, 600px, 800px */
  
  /* Header gradient stops - automatically scale with circle size */
  --header-gradient-stop-1: calc(var(--header-circle-size) * 0.06);  /* 30px at 500px */
  --header-gradient-stop-2: calc(var(--header-circle-size) * 0.12);  /* 60px at 500px */
  --header-gradient-stop-3: calc(var(--header-circle-size) * 0.18);  /* 90px at 500px */
  --header-gradient-stop-4: calc(var(--header-circle-size) * 0.24);  /* 120px at 500px */
  --header-gradient-stop-5: calc(var(--header-circle-size) * 0.30);  /* 150px at 500px */
  --header-gradient-stop-6: calc(var(--header-circle-size) * 0.40);  /* 200px at 500px */
  
  /* Iridescent gradient - define once, use everywhere */
  --iridescent-gradient: 
    linear-gradient(
      45deg,
      rgba(250, 212, 42, 0.3) 10%,
      rgba(72, 255, 243, 0.3) 25%,
      rgba(237, 72, 255, 0.3) 60%,
      rgba(45, 145, 245, 0.3) 75%,
      rgba(165, 40, 255, 0.3) 90%
    ),
    linear-gradient(
      45deg,
      rgba(252, 202, 38, 0.2) 10%,
      rgba(72, 255, 243, 0.2) 25%,
      rgba(237, 72, 255, 0.2) 60%,
      rgba(45, 145, 245, 0.2) 75%,
      rgba(165, 40, 255, 0.2) 90%
    );
}

@media (prefers-color-scheme: light) {
  :root {
    --bg: #000000;
    --fg: #0f0f0f;
    --muted: #6b6b6b;
    --line: rgba(0, 0, 0, 0.08);
  }
}

/* ===== 2. LAYOUT & STRUCTURE ===== */
* {
  box-sizing: border-box;
}

html, body {
  padding: 0;
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: Abel, Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== 3. NAVIGATION & HEADER ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px 24px;
  border-bottom: 1px solid rgba(0,0,0,.06);
  backdrop-filter: saturate(150%) blur(6px);
  background: rgba(255,255,255,.92);
  overflow: hidden;
  /* Prevent flash of unstyled content */
  opacity: 0;
  transform: translateY(-20px);
  visibility: hidden;
}

/* Interactive header background */
.header-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: -1;
}

/* White overlay layer that will be masked by the circle */
.header-bg__overlay {
  position: absolute;
  inset: 0;
  background: #ffffff;
  pointer-events: none;
  z-index: -1;
}

/* Pixelated grid pattern - always visible */
.header-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: 
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 3px,
      rgba(0, 0, 0, 0.02) 2px,
      rgba(0, 0, 0, 0.02) 4px
    ),
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 3px,
      rgba(0, 0, 0, 0.02) 2px,
      rgba(0, 0, 0, 0.02) 4px
    );
}

/* Circular gradient container - fixed size square that scales independently */
.header-bg__circle {
  position: absolute;
  /* Fixed size square centered on mouse position */
  width: var(--header-circle-size);
  height: var(--header-circle-size);
  /* Move with transforms for smoothness; no transition on movement */
  transform: translate3d(var(--circle-x, -9999px), var(--circle-y, -9999px), 0);
  will-change: transform;
}

/* Circular gradient that scales and fades */
.header-bg__circle::before {
  content: '';
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(circle at 50% 50%, 
      transparent 0px,
      rgba(242, 249, 51, 0.2) var(--header-gradient-stop-1),
      rgba(72, 255, 243, 0.2) var(--header-gradient-stop-2),
      rgba(237, 72, 255, 0.2) var(--header-gradient-stop-3),
      rgba(45, 145, 245, 0.2) var(--header-gradient-stop-4),
      rgba(165, 40, 255, 0.05) var(--header-gradient-stop-5),
      transparent var(--header-gradient-stop-6)
    );
  transform: scale(var(--header-scale, 0));
  transform-origin: center center;
  opacity: var(--header-opacity, 0);
  transition: opacity 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: transform, opacity;
}

/* Circular mask with feathered edge that reveals the white overlay */
.header-bg__circle::after {
  content: '';
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(circle at 50% 50%, 
      #ffffff 0px,
      #ffffff var(--header-gradient-stop-1),
      transparent calc(var(--header-gradient-stop-4))
    );
  transform: scale(var(--header-scale, 0));
  transform-origin: center center;
  opacity: var(--header-opacity, 0);
  transition: opacity 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: transform, opacity;
  z-index: -2;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--fg);
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.2px;
}

.logo--center { justify-self: center; }
.logo__mark {
  display: block;
  width: 40px;
  height: 40px;
}

/* Touch-first devices: pass taps to a.logo; desktop keeps pointer events for Rive hover/click */
@media (hover: none) and (pointer: coarse) {
  .logo__mark {
    pointer-events: none;
  }
}

.logo__text {
  font-family: Abel, Inter, system-ui, sans-serif;
  font-weight: 800;
  padding: 0;
}

.subnav {
  position: sticky;
  top: 53px;
  z-index: 45;
  background: #f5f5f5;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  /* Prevent flash of unstyled content */
  opacity: 0;
  transform: translateY(-20px);
  visibility: hidden;
}

.subnav__inner {
  display: flex;
  justify-content: center;
  gap: 0;
  padding: 0;
}

.nav__link {
  color: #5a5a5a;
  text-decoration: none;
  opacity: 1;
  transition: color 180ms ease, background-color 180ms ease;
  font-family: Abel, Inter, system-ui, sans-serif;
  font-weight: 400;
  letter-spacing: 0.28em;
  text-transform: none;
  font-size: 13px;
  padding: 8px 24px;
  border-radius: 0;
}
.nav__link.is-active { 
  opacity: 1; 
  color: #ffffff;
  /* background-color: #6b6b6b; */
  background-color: #151515;
}

/* Hover effect only for non-active nav links */
.nav__link:hover:not(.is-active) {
  opacity: 1;
  color: #000000;
  background: var(--iridescent-gradient);
  background-size: 200% 200%;
  transition: all 0.1s ease;
  /* Distinct rainbow glow effect */
  box-shadow: 
    0 0px 8px rgba(85, 198, 255, 0.3),
    0 0px 16px rgba(93, 255, 188, 0.5),
    0 0px 24px rgba(255, 0, 140, 0.6),
    0 0px 32px rgba(153, 184, 255, 0.2);
}



/* ===== 4. PAGE TRANSITIONS ===== */
.page-transition {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: transparent;
  z-index: 9999;
  pointer-events: none;
  overflow: hidden;
  /* Prevent white flash by ensuring overlay is always ready */
  will-change: transform, opacity;
}

.page-transition.is-active {
  pointer-events: all;
  /* Only show black background when circle is fully expanded */
  background: transparent;
}

.page-transition__circle {
  position: absolute;
  width: 20px;
  height: 20px;
  background: #ffffff;
  border-radius: 50%;
  left: var(--click-x, 50%);
  top: var(--click-y, 50%);
  transform: translate(-50%, -50%) scale(0);
  z-index: 10000;
  overflow: hidden;
}

.page-transition.is-active .page-transition__circle {
  transform: translate(-50%, -50%) scale(400);
  background: #000000;
  /* Transition only on the forward (expand) direction; no reverse shrink */
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94), background 0.6s ease;
}

/* Gradient overlay that sits on top of the circle */
.page-transition__circle::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--iridescent-gradient);
  background-size: 200% 200%;
  background-position: 0% 0%;
  border-radius: 50%;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 10001;
}

/* Show gradient overlay when circle is active */
.page-transition.is-active .page-transition__circle::after {
  opacity: 1;
  animation: iridescent-shift 1s ease-in-out infinite, gradient-fade-out 0.3s ease 0.1s forwards;
}

/* Loading state - solid black screen on incoming page */
.page-transition.is-loading {
  background: #000000;
  opacity: 1;
}

/* Revealing state - fade out the black screen to show the new page */
.page-transition.is-loading.is-revealing {
  opacity: 0;
  transition: opacity 0.5s ease;
}

/* ===== 5. HOMEPAGE STYLES ===== */
/* Home splash disables scrolling */
body.home {
  height: 100dvh;
  overflow: hidden;
}

/* Hide nav until splash finishes */
body.home .site-header,
body.home .subnav {
  opacity: 0;
  transform: translateY(-120%);
  pointer-events: none;
  transition: opacity 560ms ease var(--navDelay, 0s), transform 560ms cubic-bezier(.2,.8,.2,1) var(--navDelay, 0s);
  will-change: transform, opacity;
}
body.home.is-nav-visible .site-header,
body.home.is-nav-visible .subnav {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}
/* Remove layout space while hidden */
body.home:not(.is-nav-visible) .site-header,
body.home:not(.is-nav-visible) .subnav {
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
}
/* Stagger the slide-in */
body.home.is-nav-visible .site-header { --navDelay: .24s; }
body.home.is-nav-visible .subnav { --navDelay: .24s; }

/* Home page logo with text below */
.home .logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0px;
}

.home .logo__text {
  font-family: Abel, Inter, system-ui, sans-serif;
  font-weight: 400;
  font-size: 16px;
  letter-spacing: 0.4em;
  text-indent: 0.4em;
  color: #1a1a1a;
  opacity: 0.7;
}

.site-main {
  display: block;
}

/* Keep About footer pinned to page bottom */
body.about-page {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}

body.about-page .site-main {
  flex: 1 0 auto;
  display: flex;
}

body.about-page .site-footer {
  margin-top: auto;
}

/* Keep Contact footer pinned to page bottom */
body.contact-page {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}

body.contact-page .site-main {
  flex: 1 0 auto;
  display: flex;
}

body.contact-page .site-footer {
  margin-top: auto;
}

.hero--splash {
  min-height: calc(100dvh - var(--chrome, 0px));
  border-bottom: none;
  background: #000;
}

/* Splash stack */
.splash {
  position: relative;
  width: 100%;
  max-width: 1920px;
  height: calc(100dvh - var(--chrome, 0px));
  margin: 0 auto;
  overflow: hidden;
}

.splash__video,
.home__loop-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.splash__video { 
  z-index: 1; 
  /* Prevent flash of unstyled content */
  opacity: 0;
  transition: opacity 0.5s ease;
}

.splash__video.is-loaded {
  opacity: 1;
}
.home__loop-video { z-index: 2; opacity: 0; transition: opacity 800ms ease; }
.splash.is-faded .home__loop-video { opacity: 1; }

.splash__logo {
  position: absolute;
  left: 50%;
  top: 40%;
  transform: translate(-50%, -50%);
  width: clamp(400px, 26vw, 800px);
  height: auto;
  filter: brightness(0) invert(1) drop-shadow(0 8px 24px rgba(0,0,0,.35));
  opacity: 0;
  z-index: 3;
}
.splash.is-faded .splash__logo { 
  opacity: .96; 
  transition: opacity 520ms ease 100ms; 
}

/* Preloader */
.preloader {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  background: var(--bg);
  z-index: 1000;
  /* Prevent flash of unstyled content */
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease;
}

.preloader__wheel {
  width: 40px;
  height: 40px;
  border: 3px solid rgba(255, 255, 255, 0.3);
  border-top: 3px solid #ffffff;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}



/* ===== 6. STAGE PAGE STYLES ===== */
.work-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
  width: 100%;
  max-width: 1920px;
  margin: 0 auto;
  padding: 15px 15px;
}

.work-card:hover {
  transform: translateY(-2px);
}

.work-card__media {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  background: #d0d0d0;
  /* min-height: 300px; */
  overflow: hidden; /* Prevent image overflow during load */
}

.work-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 200ms ease, filter 200ms ease;
}

/* Stage tile hover: invert colors, hue rotate, and scale image */
.work-card:hover .work-card__media img {
  transform: scale(1.01);
  filter: invert(1) hue-rotate(90deg);
}

.work-card__label {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  background: rgba(0,0,0,0.9);
  border-radius: 0;
  padding: 0px 20px;
  letter-spacing: 0.3em;
  text-indent: 0.3em;
  color: #ffffff;
  font-family: Abel, Inter, system-ui, sans-serif;
  font-weight: 400;
  font-size: var(--font-size);
  text-align: center;
  width: 60%;
  min-width: auto;
  transition: background-color 300ms ease, color 300ms ease;
}

/* Iridescent effect for work card labels on hover */
.work-card:hover .work-card__label {
  background: 
    var(--iridescent-gradient),
    rgba(255, 255, 255, 0.8);
  background-size: 200% 200%;
  color: #000000;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(165, 40, 255, 0.3);
}

/* Work card base styles and animations */
.work-card {
  border: none;
  border-radius: 0;
  overflow: hidden;
  background: transparent;
  aspect-ratio: 16 / 10;
  width: 100%;
  --card-width: 100%;
  --font-size: calc(var(--card-width) * 0.045);
  text-decoration: none;
  color: inherit;
  display: block;
  cursor: pointer;
  
  /* Animation properties */
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
  transition-delay: 0s;
  will-change: opacity, transform;
  visibility: hidden;
}

.work-card.is-visible {
  opacity: 1;
  transform: translateY(0);
  visibility: visible;
}


/* ===== 7. PROJECT PAGE STYLES ===== */
.project-title {
  position: sticky;
  top: 85px;
  /* background: #C3C3C3; */
  background: #151515;
  padding: 5px 0;
  text-align: center;
  z-index: 998;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.project-title__text {
  color: #000000;
  font-family: Abel, Inter, system-ui, sans-serif;
  font-size: 20px;
  font-weight: 400;
  margin: 0;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  background: #ffffff;
  padding: 0px 40px;
  display: inline-block;
}

.project-hero {
  width: 100%;
  background: #000000;
  /* aspect-ratio: 2 / 1; */
  overflow: hidden;
}

.project-hero__image {
  width: 100%;
  max-width: 1920px;
  height: 100%;
  margin: 0 auto;
  position: relative;
  background: #1a1a1a; /* Placeholder background while loading */
}

.project-hero__image img,
.project-hero__image video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0;
  transition: opacity 0.4s ease-in-out;
}

.project-hero__image img.loaded,
.project-hero__image video.loaded {
  opacity: 1;
}

.video-mute-prompt {
  position: absolute;
  top: 15px;
  right: 15px;
  color: #ffffff;
  font-family: Abel, Inter, system-ui, sans-serif;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  background: rgba(0, 0, 0, 0.5);
  padding: 3px 12px;
  display: inline-block;
  z-index: 10;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.video-mute-prompt.hidden {
  opacity: 0;
  pointer-events: none;
}

.project-description {
  background: #000000;
  padding: 10px 0;
  align-content: center;
}

.project-description__title {
  font-family: Abel, Inter, system-ui, sans-serif;
  font-size: 22px;
  font-weight: 600;
  margin: 0;
  color: #ffffff;
  text-align: center;
  letter-spacing: 0.3em;
  text-transform: uppercase;
}

.project-description__content {
  max-width: 800px;
  text-align: justify;
  margin: 10px auto;
}

.project-description__content p {
  font-family: Inter, Abel, system-ui, sans-serif;
  line-height: 1.4;
  color: #ffffff;
  font-size: 14px;
  font-weight: 300;
  letter-spacing: 0.1em;
}

/* Remove top margin from first paragraph to eliminate gap */
.project-description__content p:first-child {
  margin-top: 0;
}

.project-gallery {
  padding: 0;
  background: #000000;
  width: 100%;
}

.project-gallery__grid {
  width: 100%;
  max-width: 1920px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  margin: 0 auto;
}

.project-gallery__item {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  background: #1a1a1a; /* Placeholder background while loading */
}

.project-gallery__item img {
  opacity: 0;
  transition: opacity 0.4s ease-in-out;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.project-gallery__item img.loaded {
  opacity: 1;
}

/* About page specific styles */
.section--about {
  background: #000000;
  padding: 0;
  flex: 1 0 auto;
  width: 100%;
  display: flex;
  align-items: center;
}

.about__content {
  max-width: 900px;
  margin: 0 auto;
}

.about__logo-loop {
  width: 100%;
  max-width: 512px;
  margin: 0 auto 0px;
  display: block;
}

.about__brand {
  width: fit-content;
  margin: 0 auto 24px;
  text-align: center;
}

.about__brand-text {
  font-family: Abel, Inter, system-ui, sans-serif;
  font-weight: 400;
  font-size: 36px;
  letter-spacing: 0.4em;
  text-indent: 0.4em;
  color: #ffffff;
  opacity: 1;
  display: inline-block;
}

.about__text {
  max-width: 800px;
  margin: 0 auto 20px;
  text-align: justify;
}

.about__text p {
  margin: 0 0 14px;
  color: #ffffff;
  font-family: Inter, Abel, system-ui, sans-serif;
  font-size: 14px;
  line-height: 1.4;
  font-weight: 300;
  letter-spacing: 0.1em;
}

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

/* Contact page specific styles */
.section--contact {
  background: #000000;
  padding: 0;
  flex: 1 0 auto;
  width: 100%;
  display: flex;
  align-items: center;
}

.contact__content {
  max-width: 900px;
  margin: 0 auto;
  width: 100%;
}

.contact__text {
  max-width: 800px;
  margin: 0 auto 20px;
  text-align: center;
}

.contact__text p {
  margin: 0 0 14px;
  color: #ffffff;
  font-family: Inter, Abel, system-ui, sans-serif;
  font-size: 14px;
  line-height: 1.4;
  font-weight: 300;
  letter-spacing: 0.1em;
}

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

.contact__text a {
  color: #ffffff;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

.contact__map-link {
  display: inline-block;
  margin-top: 22px;
  text-decoration: none;
}

.contact__map-image {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 2px;
}

.contact_SayHello {
  width: 100%;
  max-width: 1024px;
  margin: 0 auto 0px;
  display: block;
}

/* Site footer — tweak layout/typography via custom properties */
.site-footer {
  padding: 8px 0 28px 0;
  background: #000000;
  --footer-brand-gap: 1em;
  --footer-brand-tracking: 0.3em;
}

.footer__inner {
  display: flex;
  justify-content: flex-start;
  align-items: baseline;
  flex-wrap: nowrap;
  gap: 0;
  color: var(--muted);
  font-family: Abel, Inter, system-ui, sans-serif;
}

.footer__copyright,
.footer__brand {
  white-space: nowrap;
}

.footer__copyright {
  letter-spacing: normal;
}

.footer__brand {
  letter-spacing: var(--footer-brand-tracking);
  margin-left: var(--footer-brand-gap);
}

/* ===== 8. SHARED CONTENT & COMPONENTS ===== */
/* Page content fade animations */
.page-content {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
  will-change: opacity, transform;
  /* Prevent flash of unstyled content */
  visibility: hidden;
}

.page-content.is-loaded {
  opacity: 1;
  transform: translateY(0);
}

/* Header and navbar fade-in animations */
.site-header.is-loaded,
.subnav.is-loaded {
  opacity: 1;
  transform: translateY(0);
  visibility: visible;
  transition: opacity 0.6s ease, transform 0.6s ease;
}

/* Non-home pages: header and navbar only fade (no movement) */
body:not(.home) .site-header,
body:not(.home) .subnav {
  transform: translateY(0);
  transition: opacity 0.6s ease;
}

/* Prevent white flash during page transitions */
.page-transition.is-active ~ * {
  visibility: hidden;
}

/* Section styles */
.section {
  padding: 0px 0;
}

.section--work {
  background: #151515;
}

/* Reveal animations */
[data-animate] { opacity: 0; transform: translateY(8px); }
[data-animate].is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: no-preference) {
  [data-animate] {
    transition: opacity 600ms cubic-bezier(.2,.6,.1,1), transform 600ms cubic-bezier(.2,.6,.1,1);
  }
  [data-animate="fade-down"] { transform: translateY(-8px); }
  [data-animate="fade"] { transform: none; }
}





/* ===== 9. RESPONSIVE DESIGN ===== */
@media (max-width: 1000px) {
  .work-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }
}

@media (max-width: 768px) {
 
  .section--about {
    padding: 24px 0;
  }

  .section--contact {
    padding: 24px 0;
  }

  .about__brand {
    margin-bottom: 18px;
  }

  .about__logo-loop {
    margin-bottom: 14px;
  }

  .about__brand-text {
    font-size: 28px;
  }


  .project-description__content {
    padding: 0 20px;
  }
  
  /* Navbar adjustments for tablets - reduce horizontal padding */

}

@media (max-width: 640px) {
  .work-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  
  /* Navbar adjustments for mobile - reduce horizontal padding */
 
}

@media (max-width: 440px) {
  /* Navbar adjustments for small mobile - reduce horizontal padding */
  .nav__link {
    padding: 8px 14px; /* Minimal padding for very small screens */
  }
}

/* ===== 10. ACCESSIBILITY & UTILITIES ===== */
/* Page transition gradient animation */
@keyframes iridescent-shift {
  0% { background-position: 0% 0%; }
  25% { background-position: 100% 0%; }
  50% { background-position: 100% 100%; }
  75% { background-position: 0% 100%; }
  100% { background-position: 0% 0%; }
}

/* Gradient fade out animation */
@keyframes gradient-fade-out {
  0% { opacity: 1; }
  100% { opacity: 0; }
}


/* Accessibility - reduce motion preferences */
@media (prefers-reduced-motion: reduce) {
  * { 
    transition: none !important; 
    animation: none !important; 
  }
}
