/* Global defaults */
*,
*::before,
*::after {
  box-sizing: border-box;
}

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

/* Skip to content link */
.skip-link {
  position: absolute;
  top: -100px;
  left: 0;
  background: #000;
  color: #fff;
  padding: 8px;
  z-index: 9999;
  transition: top 0.3s;
}

.skip-link:focus {
  top: 0;
}

/* Hero Navigation */
.hero__nav {
  position: fixed;
  top: 2rem;
  right: 2rem;
  z-index: 1000;
  display: flex;
  gap: 2rem;
}

.hero__nav a {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.85rem;
  font-weight: 600;
  transition: color 0.2s ease;
}

.hero__nav a:hover {
  color: #fff;
}

html {
  /* scroll-behavior: smooth;  <-- Removed to let Lenis handle smooth scrolling */
  scroll-behavior: auto;
}

body {
  margin: 0;
  padding: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  color: #f5f5f5;
  background: #050608;
  overflow-x: hidden;
}

/* Hero / landing */
.hero {
  position: relative;
  z-index: 1;
  min-height: calc(100vh + 3rem);
  width: 100%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -3;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top, rgba(0, 0, 0, 0.06), rgba(0, 0, 0, 0) 70%),
              linear-gradient(to bottom, rgba(0, 0, 0, 0.05) 0%, rgba(0, 0, 0, 0.389) 75%, #050608 100%);
  mix-blend-mode: multiply;
  z-index: -2;
}

.hero__particles {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
  transition: opacity 1.5s ease;
}

.hero__particle {
  position: absolute;
  width: clamp(2px, 0.6vw, 6px);
  height: clamp(2px, 0.6vw, 6px);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.34);
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.2);
  opacity: 0;
  animation: float-particle var(--particle-duration, 10s) ease-in-out infinite;
  animation-delay: var(--particle-delay, 0s);
}

.hero__particle::after {
  content: "";
  position: absolute;
  inset: -8px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.18), transparent 70%);
}

.hero--video-ready .hero__particles {
  opacity: 0;
}

.hero--video-ready .hero__particle {
  animation-play-state: paused;
}

@keyframes float-particle {
  0% {
    transform: translate3d(0, 12px, 0) scale(var(--particle-scale, 1));
    opacity: 0;
  }
  15% {
    opacity: var(--particle-opacity, 0.4);
  }
  85% {
    opacity: 0;
  }
  100% {
    transform: translate3d(var(--particle-drift, 0px), -60px, 0) scale(var(--particle-scale, 1));
    opacity: 0;
  }
}

.hero__content {
  position: relative;
  padding: 2rem;
  max-width: 960px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.25rem;
}

.hero__name {
  font-family: "Ultra", serif;
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0;
  white-space: nowrap;
}

.hero__tagline {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 400;
  margin: 0;
  line-height: 1.4;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.hero__typewriter-container {
  display: inline-flex;
  align-items: flex-end;
  justify-content: flex-start;
  min-height: 1.2em;
  width: 15ch;
  text-align: left;
}

.hero__typewriter {
  display: inline-block;
  min-height: 1em;
  white-space: nowrap;
}

.hero__cursor {
  margin-left: 0.1rem;
  animation: blink-cursor 1s step-end infinite;
  opacity: 0.75;
}

/* Smooth cursor blink */
@keyframes blink-cursor {
  0%, 50% { opacity: 0.75; }
  50.01%, 100% { opacity: 0; }
}

/* Featured project */
.feature-project {
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.92) 14%, #000 32%);
  color: #f5f5f5;
  position: relative;
  z-index: 5;
  overflow: visible;
  margin-top: 0;
  padding-top: clamp(4rem, 8vw, 6rem);
  contain-intrinsic-size: 900px;
}

.feature-project__ambient {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  transform: translateZ(0);
}

.feature-project__ambient::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0) 20%);
  pointer-events: none;
}

.feature-project__eyes {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: grid;
  grid-auto-rows: 140px;
  align-content: start;
  justify-content: center;
  gap: clamp(0.75rem, 2.8vw, 1.75rem);
  opacity: 0.4;
  pointer-events: none;
}

.feature-eye {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
}

.feature-eye svg {
  width: 100%;
  height: 100%;
}

.feature-eye svg .lid-top,
.feature-eye svg .lid-bottom {
  display: none;
}

.feature-project__grain,
.feature-project__tint {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.feature-project__grain {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160' viewBox='0 0 160 160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='0.4'/%3E%3C/svg%3E");
  opacity: 1;
  mix-blend-mode: overlay;
  inset: -100px;
  animation: grain-move 0.8s steps(1) infinite;
}

.feature-project__tint {
  background: radial-gradient(circle at 50% 30%, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.9));
}

@keyframes grain-move {
  0%, 100% { transform: translate(0, 0); }
  10% { transform: translate(-1%, -2%); }
  20% { transform: translate(2%, 1%); }
  30% { transform: translate(-2%, 2%); }
  40% { transform: translate(1%, -1%); }
  50% { transform: translate(-1%, 2%); }
  60% { transform: translate(-2%, -1%); }
  70% { transform: translate(2%, 1%); }
  80% { transform: translate(1%, -2%); }
  90% { transform: translate(-1%, 1%); }
}

/* Abyssal Voyage: subtle psychedelic motion */
@keyframes psychedelic-drift {
  0% {
    transform: translate3d(0, 0, 0) scale(1.05) rotate(0deg);
  }
  35% {
    transform: translate3d(-1.5%, 1%, 0) scale(1.09) rotate(-0.4deg);
  }
  70% {
    transform: translate3d(1.2%, -1.1%, 0) scale(1.07) rotate(0.35deg);
  }
  100% {
    transform: translate3d(0, 0, 0) scale(1.05) rotate(0deg);
  }
}

.feature-project__marquee {
  overflow: hidden;
  background: #000;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transform: skewY(-3deg);
  padding: 1.25rem 0 1.1rem;
  position: relative;
  z-index: 10;
  margin-top: clamp(-10rem, -14vw, -10rem);
  margin-bottom: -0.25rem;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.65);
}

.feature-project__marquee-track {
  --marquee-translate: -50%;
  --marquee-duration: 18s;
  display: flex;
  width: max-content;
  animation: none;
  will-change: transform;
}

.feature-project__marquee[data-marquee-ready="true"] .feature-project__marquee-track {
  animation: marquee-slide var(--marquee-duration) linear infinite;
}

.feature-project__marquee-segment {
  display: flex;
  gap: 2.5rem;
  flex-shrink: 0;
  padding-right: 2.5rem;
}

.feature-project__marquee-word {
  font-family: "Ultra", serif;
  font-size: clamp(1.25rem, 2.6vw, 1.85rem);
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.8);
  white-space: nowrap;
}

.feature-project__marquee:hover .feature-project__marquee-track {
  animation-play-state: paused;
}

.feature-project__content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2.5rem;
  padding: 4.5rem 1.5rem 3rem;
  position: relative;
  z-index: 1;
}

.feature-project__content--animating {
  overflow: hidden;
}

.feature-project__media {
  position: relative;
  border-radius: 1.25rem;
  overflow: hidden;
  min-height: 320px;
  background: #040508;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
  margin-top: -1rem;
  z-index: 1;
}

.feature-project__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.feature-project__video--three-two {
  aspect-ratio: 3 / 2;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.feature-project__video--square {
  aspect-ratio: 1 / 1;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.feature-project__bg-image {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.3;
}

.feature-project__media-stack {
  display: grid;
  gap: 1rem;
}

.feature-project__media-secondary {
  display: none;
  border-radius: 1.25rem;
  overflow: hidden;
  background: #040508;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
}

.feature-project .feature-project__content {
  align-items: flex-start;
  position: relative;
  padding-bottom: clamp(3rem, 6vw, 4.5rem);
}

.feature-project .feature-project__media {
  min-height: clamp(260px, 38vw, 380px);
  max-height: clamp(320px, 44vw, 420px);
  margin-top: clamp(-2rem, -4vw, -1.5rem);
  isolation: isolate;
  transition: min-height 0.7s ease, max-height 0.7s ease, transform 0.7s ease;
}

.feature-project .feature-project__video {
  height: 140%;
  transform: translateY(-32%);
  transition: transform 0.7s ease, height 0.7s ease;
}

/* Abyssal Voyage intro is 1:1; keep it framed without letterboxing */
#abyssal-voyage .feature-project__video {
  height: 100%;
  transform: none;
}

/* Abyssal Voyage: swap text left, video right */
#abyssal-voyage .feature-project__media {
  order: 2;
}

#abyssal-voyage .feature-project__info {
  order: 1;
}

#abyssal-voyage .feature-project__details {
  order: 3;
}

/* Abyssal Voyage: trippy flair (background drift + tint pulse + subtle shimmer) */
#abyssal-voyage .feature-project__bg-image {
  opacity: 0.38;
  will-change: transform;
  transform: translate3d(0, 0, 0) scale(1.05);
  animation: psychedelic-drift 14s ease-in-out infinite;
}

#abyssal-voyage .feature-project__tint {
  opacity: 0;
}

#abyssal-voyage .feature-project__media::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 20% 35%, rgba(255, 255, 255, 0.06), transparent 55%),
    radial-gradient(circle at 75% 60%, rgba(255, 255, 255, 0.04), transparent 60%);
  mix-blend-mode: overlay;
  opacity: 0.8;
}

#abyssal-voyage .feature-project__title {
  text-shadow: 0 0 18px rgba(255, 255, 255, 0.12);
}

/* Abyssal Voyage: trippy text on hover */
#abyssal-voyage .feature-project__panel {
  --trippy-x: 0;
  --trippy-y: 0;
}

#abyssal-voyage .feature-project__panel .feature-project__title,
#abyssal-voyage .feature-project__panel .feature-project__tagline,
#abyssal-voyage .feature-project__panel .feature-project__description p,
#abyssal-voyage .feature-project__panel .feature-project__details h4,
#abyssal-voyage .feature-project__panel .feature-project__details p {
  transition: transform 240ms cubic-bezier(0.2, 0.8, 0.2, 1), text-shadow 240ms ease;
}

#abyssal-voyage .feature-project__panel.is-trippy .feature-project__title,
#abyssal-voyage .feature-project__panel.is-trippy .feature-project__tagline,
#abyssal-voyage .feature-project__panel.is-trippy .feature-project__description p,
#abyssal-voyage .feature-project__panel.is-trippy .feature-project__details h4,
#abyssal-voyage .feature-project__panel.is-trippy .feature-project__details p {
  will-change: transform;
}

/* Activated via JS when pointer is inside the panel */
#abyssal-voyage .feature-project__panel.is-trippy .feature-project__title {
  transform:
    translate3d(calc(var(--trippy-x) * 4px), calc(var(--trippy-y) * 2px), 0)
    rotate(calc(var(--trippy-x) * -0.35deg));
  text-shadow:
    calc(var(--trippy-x) * -6px) calc(var(--trippy-y) * -2px) 18px rgba(255, 255, 255, 0.06),
    calc(var(--trippy-x) * 4px) calc(var(--trippy-y) * 2px) 10px rgba(255, 255, 255, 0.1);
}

#abyssal-voyage .feature-project__panel.is-trippy .feature-project__tagline {
  transform:
    translate3d(calc(var(--trippy-x) * 3px), calc(var(--trippy-y) * 1.5px), 0)
    rotate(calc(var(--trippy-x) * 0.2deg));
  text-shadow:
    calc(var(--trippy-x) * 3px) calc(var(--trippy-y) * 1px) 16px rgba(255, 255, 255, 0.08);
}

#abyssal-voyage .feature-project__panel.is-trippy .feature-project__description p {
  transform: translate3d(calc(var(--trippy-x) * 1.5px), calc(var(--trippy-y) * 0.8px), 0);
  text-shadow: 0 0 12px rgba(255, 255, 255, 0.06);
}

/* When expanded, also apply the drift to the details content */
#abyssal-voyage .feature-project__panel.is-expanded.is-trippy .feature-project__details h4 {
  transform: translate3d(calc(var(--trippy-x) * 1.2px), calc(var(--trippy-y) * 0.6px), 0);
  text-shadow:
    calc(var(--trippy-x) * 2px) calc(var(--trippy-y) * 1px) 14px rgba(255, 255, 255, 0.06);
}

#abyssal-voyage .feature-project__panel.is-expanded.is-trippy .feature-project__details p {
  transform: translate3d(calc(var(--trippy-x) * 1.4px), calc(var(--trippy-y) * 0.7px), 0);
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.05);
}

/* Lost In The Woods: swap text left, video right */
#lost-in-the-woods .feature-project__media {
  order: 2;
}

#lost-in-the-woods .feature-project__info {
  order: 1;
}

#lost-in-the-woods .feature-project__details {
  order: 3;
}

.feature-project__media-stack .feature-project__video {
  height: auto;
  transform: none;
}


.feature-project .feature-project__fade {
  position: absolute;
  inset: auto 0 0 0;
  height: clamp(220px, 30vw, 360px);
  background: linear-gradient(180deg, rgba(5, 6, 8, 0), rgba(5, 6, 8, 0.85) 55%, #000 100%);
  pointer-events: none;
  z-index: 4;
  transition: opacity 0.35s ease;
}

.feature-project .feature-project__panel {
  padding-bottom: 0;
  margin-bottom: clamp(-1.5rem, -3vw, -0.5rem);
}

.feature-project .feature-project__reveal {
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  bottom: auto;
  margin-top: clamp(0.75rem, 2vw, 1rem);
  margin-bottom: clamp(1rem, 2vw, 1.5rem);
  z-index: 6;
}

.feature-project.feature-project--expanded .feature-project__fade {
  opacity: 0;
}


.feature-project.feature-project--expanded .feature-project__media {
  min-height: clamp(320px, 48vw, 520px);
  max-height: none;
}

.feature-project.feature-project--expanded .feature-project__video {
  height: 100%;
  transform: none;
}

.feature-project.feature-project--expanded .feature-project__media-secondary {
  display: block;
}

.feature-project__panel {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  padding: 0.75rem 0 3rem;
  position: relative;
}

.feature-project__info {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.feature-project__summary {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.feature-project__eyebrow {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.65);
}

.feature-project__title {
  margin: 0;
  font-family: "Ultra", serif;
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: 0.08em;
}

.feature-project__role {
  margin: 0;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.82);
}

.feature-project__role span {
  color: rgba(255, 255, 255, 0.5);
}

.feature-project__tagline {
  margin: 0;
  font-family: "Ultra", serif;
  font-size: clamp(1rem, 2.4vw, 1.35rem);
  letter-spacing: 0.12em;
}

.feature-project__description {
  position: relative;
  line-height: 1.7;
  max-height: 9.5rem;
  overflow: hidden;
  color: rgba(255, 255, 255, 0.9);
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 1) 55%, rgba(0, 0, 0, 0));
  -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, 1) 55%, rgba(0, 0, 0, 0));
}

.feature-project__description p {
  margin: 0 0 0.85rem;
}

/* description fade handled by mask; global fade lives on .feature-project__fade */

.feature-project__reveal {
  align-self: center;
  padding: 0.6rem 1.4rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  background: transparent;
  color: inherit;
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease, transform 0.2s ease, opacity 0.2s ease;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  margin-top: clamp(0.75rem, 2vw, 1rem);
  z-index: 6;
}

.feature-project__reveal:hover {
  border-color: rgba(255, 255, 255, 0.75);
}

.feature-project__details {
  display: none;
  gap: 0.75rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.9);
}

.feature-project__details p {
  margin: 0 0 1rem;
}

.feature-project__details h4 {
  margin: 1rem 0 0.4rem;
  font-size: 0.95rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
}

.feature-project__panel.is-expanded .feature-project__description {
  max-height: none;
  mask-image: none;
  -webkit-mask-image: none;
}

.feature-project__panel.is-expanded .feature-project__details {
  display: block;
}

.feature-project__panel.is-expanded .feature-project__reveal {
  opacity: 0;
  pointer-events: none;
  transform: translateY(4px);
}

.feature-project.feature-project--expanded .feature-project__reveal {
  opacity: 0;
  pointer-events: none;
  transform: translateY(4px);
  margin: 0;
  padding-top: 0;
  padding-bottom: 0;
  border-width: 0;
}

@keyframes marquee-slide {
  0% { transform: translateX(0); }
  100% { transform: translateX(var(--marquee-translate)); }
}

@media (prefers-reduced-motion: reduce) {
  .feature-project__marquee-track {
    animation: none;
  }

  #abyssal-voyage .feature-project__bg-image {
    animation: none;
  }

  #abyssal-voyage .feature-project__panel:hover .feature-project__title,
  #abyssal-voyage .feature-project__panel:hover .feature-project__tagline {
    animation: none;
    transform: none;
  }

  #abyssal-voyage .feature-project__panel.is-trippy .feature-project__title,
  #abyssal-voyage .feature-project__panel.is-trippy .feature-project__tagline {
    animation: none;
    transform: none;
  }
}


/* About Section */
.about__content {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 4rem;
  align-items: center;
}

.about__intro {
  font-family: inherit;
  font-weight: 400;
  font-size: clamp(1.5rem, 2.5vw, 2.2rem);
  line-height: 1.4;
  margin: 0 0 1.5rem;
  color: #f5f5f5;
}

.about__intro strong {
  color: #fff;
  font-weight: 700;
  text-decoration: none;
}

.about__text p:not(.about__intro) {
  font-size: 1.05rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 1.25rem;
}

.about__image-container {
  position: relative;
  border-radius: 1.5rem;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  transform: rotate(2deg);
  transition: transform 0.3s ease;
}

.about__image-container:hover {
  transform: rotate(0deg) scale(1.02);
}

.about__image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}


/* Layout sections */
.section {
  padding: 4rem 1.5rem 5rem;
  content-visibility: auto;
  contain-intrinsic-size: 700px;
}

.section__inner {
  max-width: 1100px;
  margin: 0 auto;
}

.section__title {
  font-family: "Ultra", serif;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  margin: 0 0 0.4rem;
}

.section__subtitle {
  margin: 0 0 2.5rem;
  color: #b0b4bd;
}

/* Footer */
.footer {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background: #050608;
  padding: 1.5rem 1.5rem 2rem;
}

.footer__inner {
  max-width: 1100px;
  margin: 0 auto;
  font-size: 0.85rem;
  color: #888ea0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.footer__social {
  display: flex;
  gap: 1.5rem;
}

.footer__social a {
  color: rgba(255, 255, 255, 0.5);
  transition: color 0.2s ease, transform 0.2s ease;
  display: block;
}

.footer__social a:hover {
  color: #fff;
  transform: translateY(-2px);
}

.footer__social svg {
  width: 1.5rem;
  height: 1.5rem;
  fill: currentColor;
}

.footer__inner p {
  margin: 0;
}

/* Responsiveness tweaks */
@media (max-width: 768px) {
  .hero__content {
    padding: 3.5rem 1.5rem 2.5rem;
  }

  .hero__name {
    font-size: clamp(1.75rem, 9vw, 3rem);
    letter-spacing: 0.04em;
    white-space: normal;
    line-height: 1.1;
  }

  .hero__tagline {
    font-size: clamp(1.2rem, 5vw, 1.8rem);
    max-width: 100%;
  }
}

@media (max-width: 900px) {
  .feature-project__content {
    grid-template-columns: 1fr;
  }

  .feature-project__media {
    order: 2;
    margin-top: 0;
  }

  .feature-project__info {
    order: 1;
  }

  .feature-project__details {
    order: 2;
  }

  .about__content {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .about__image-container {
    max-width: 400px;
    margin: 0 auto;
    transform: rotate(0deg);
  }
}

/* Audio Player */
.feature-project__audio-player {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100%;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 1.25rem;
  padding: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
}

.audio-player {
  width: 100%;
  max-width: 400px;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* Specific override for audio project media container */
#lost-in-the-woods .feature-project__media {
  min-height: auto;
  max-height: none;
  height: auto;
}

.audio-player__header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.audio-player__headphones-hint {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.05);
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
}

.audio-player__headphones-hint svg {
  opacity: 0.8;
}

.audio-player__label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.5);
  font-weight: 600;
}

.audio-player__controls {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.audio-player__play-btn {
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  transition: background 0.2s ease, transform 0.2s ease;
}

.audio-player__play-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: scale(1.05);
}

.audio-player__play-btn svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.audio-player__progress-container {
  flex: 1;
  height: 4px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 2px;
  cursor: pointer;
  position: relative;
}

.audio-player__progress-bar {
  width: 100%;
  height: 100%;
  border-radius: 2px;
  overflow: hidden;
}

.audio-player__progress-fill {
  width: 0%;
  height: 100%;
  background: #fff;
  transition: width 0.1s linear;
}

.audio-player__time {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.5);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

/* Floating Contact Buttons */
.floating-contact {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 100;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.floating-contact__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
  transition: all 0.3s ease;
  text-decoration: none;
}

.floating-contact__btn:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
  border-color: rgba(255, 255, 255, 0.3);
}

.floating-contact__btn svg {
  width: 1.4rem;
  height: 1.4rem;
  fill: currentColor;
}

@media (max-width: 768px) {
  .floating-contact {
    bottom: 1.5rem;
    right: 1.5rem;
    gap: 0.75rem;
  }

  .floating-contact__btn {
    width: 2.75rem;
    height: 2.75rem;
  }
}

