.tilt-card:hover .project-image,
.tilt-card:hover .gallery-image {
  transform: scale(1.04);
}

.project-card:hover,
.gallery-item:hover,
.manifesto-panel:hover,
.contact-panel:hover,
.note-card:hover {
  border-color: rgba(217, 176, 138, 0.28);
}

.project-card:hover {
  box-shadow: 0 36px 92px rgba(0, 0, 0, 0.6);
}

.project-card:focus-visible,
.gallery-launch:focus-visible,
.modal-thumb:focus-visible,
.modal-close:focus-visible,
.contact-link:focus-visible {
  outline: 2px solid var(--accent-strong);
  outline-offset: 3px;
}

.media-modal[hidden] {
  display: none !important;
}

body.is-modal-open {
  overflow: hidden;
}

.media-modal {
  position: fixed;
  inset: 0;
  z-index: 40;
}

.media-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 3, 2, 0.84);
  backdrop-filter: blur(16px);
}

.media-modal-dialog {
  position: relative;
  z-index: 1;
  width: min(1200px, calc(100vw - 28px));
  max-height: calc(100vh - 28px);
  margin: 14px auto;
  padding: 56px 20px 20px;
  border: 1px solid rgba(217, 176, 138, 0.16);
  border-radius: 28px;
  background:
    radial-gradient(circle at top right, rgba(173, 126, 84, 0.1), transparent 0 18%),
    linear-gradient(180deg, rgba(18, 13, 10, 0.98), rgba(6, 4, 3, 0.98));
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.5);
  overflow: auto;
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(173, 126, 84, 0.08);
  color: var(--text);
  cursor: pointer;
}

.media-modal-layout {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 22px;
  align-items: start;
}

.modal-media-stage {
  display: grid;
  gap: 14px;
}

.modal-main-view {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(7, 5, 4, 0.88);
  aspect-ratio: 16 / 9;
}

.modal-main-view img,
.modal-main-view video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #050403;
}

.compare-main-view {
  padding: 0;
}

.compare-frame {
  position: relative;
  width: 100%;
  height: 100%;
  background: #050403;
  --compare-position: 50%;
}

.compare-image {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.compare-after {
  clip-path: inset(0 calc(100% - var(--compare-position)) 0 0);
}

.compare-divider {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--compare-position);
  width: 2px;
  transform: translateX(-1px);
  background: rgba(243, 238, 231, 0.92);
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.16),
    0 0 30px rgba(217, 176, 138, 0.28);
}

.compare-divider::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 28px;
  height: 28px;
  border: 1px solid rgba(217, 176, 138, 0.44);
  border-radius: 999px;
  background: rgba(12, 8, 6, 0.88);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.34);
  transform: translate(-50%, -50%);
}

.compare-chip {
  position: absolute;
  top: 16px;
  z-index: 1;
  padding: 7px 11px;
  border: 1px solid rgba(217, 176, 138, 0.28);
  border-radius: 999px;
  background: rgba(9, 6, 5, 0.74);
  color: rgba(243, 238, 231, 0.92);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.compare-chip-before {
  left: 16px;
}

.compare-chip-after {
  right: 16px;
}

.compare-toolbar {
  padding: 2px 2px 0;
}

.compare-slider-wrap {
  display: grid;
  gap: 10px;
  color: var(--muted);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.compare-slider {
  width: 100%;
  margin: 0;
  accent-color: rgb(217, 176, 138);
  cursor: ew-resize;
}

.modal-thumbnails {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(92px, 1fr));
  gap: 10px;
}

.modal-thumb {
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: none;
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 16 / 10;
}

.modal-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.modal-thumb.is-active {
  border-color: var(--accent-strong);
  box-shadow: 0 0 0 1px rgba(217, 176, 138, 0.28);
}

.modal-copy {
  display: grid;
  gap: 14px;
  align-content: start;
}

.modal-copy h3 {
  margin: 0;
  font-size: clamp(1.75rem, 3vw, 2.4rem);
  line-height: 1;
}

.reveal {
  opacity: 0;
  transform: translateY(38px);
  transition:
    opacity 700ms ease,
    transform 700ms ease;
}

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

.delay-1 {
  transition-delay: 120ms;
}

.delay-2 {
  transition-delay: 220ms;
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@keyframes sheen {
  0% {
    transform: translateX(-120%);
  }
  55%,
  100% {
    transform: translateX(120%);
  }
}

@media (max-width: 1100px) {
  .about-grid,
  .media-modal-layout,
  .featured-reel {
    grid-template-columns: 1fr;
  }

  .hero-shell {
    min-height: 92svh;
    padding-top: 152px;
  }

  .featured-reel-media {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .featured-reel-copy {
    padding: 10px 24px 26px;
  }

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

@media (max-width: 760px) {
  :root {
    --container: min(100vw - 28px, 100vw - 28px);
  }

  .site-header {
    padding: 12px 14px 14px;
  }

  .site-header-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .brand {
    width: 100%;
  }

  .brand-text strong {
    font-size: 0.78rem;
    line-height: 1.2;
  }

  .compare-chip {
    top: 12px;
    padding: 6px 9px;
    font-size: 0.62rem;
  }

  .site-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 16px;
    width: 100%;
    font-size: 0.72rem;
  }

  .hero {
    min-height: 88svh;
  }

  .hero-shell {
    min-height: 88svh;
    align-items: flex-end;
    padding: 172px 0 40px;
  }

  .hero-copy {
    max-width: 100%;
  }

  .hero-name {
    max-width: 100%;
    font-size: clamp(1.78rem, 8.9vw, 2.8rem);
    letter-spacing: 0.02em;
  }

  .hero-meta {
    margin-top: 10px;
    font-size: 0.72rem;
    letter-spacing: 0.1em;
    line-height: 1.5;
  }

  .hero-text {
    max-width: 100%;
    font-size: 0.92rem;
    line-height: 1.42;
  }

  .ticker-track {
    gap: 28px;
    padding: 16px 18px;
    font-size: 0.72rem;
  }

  .section {
    padding: 76px 0;
  }

  .section-heading {
    max-width: 100%;
    margin-bottom: 24px;
  }

  .section-heading h2,
  .about-copy h2,
  .contact-panel h2 {
    font-size: clamp(1.55rem, 8vw, 2.2rem);
    line-height: 1.05;
  }

  .featured-reel-copy {
    gap: 10px;
    padding: 12px 16px 18px;
  }

  .featured-reel-copy h3 {
    font-size: 1.45rem;
    line-height: 1.04;
  }

  .featured-reel-copy .project-summary {
    font-size: 0.9rem;
    line-height: 1.6;
  }

  .project-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .project-media {
    min-height: 0;
    aspect-ratio: 16 / 10;
  }

  .project-copy {
    gap: 10px;
    padding: 14px 14px 16px;
  }

  .project-index {
    margin-bottom: 6px;
    font-size: 0.66rem;
    letter-spacing: 0.1em;
  }

  .project-copy h3 {
    font-size: 1rem;
  }

  .project-summary,
  .modal-summary,
  .modal-details,
  .project-details p {
    font-size: 0.92rem;
    line-height: 1.62;
  }

  .gallery-grid {
    gap: 14px;
    grid-template-columns: 1fr;
  }

  .gallery-item.large,
  .gallery-item.tall,
  .gallery-item.wide {
    grid-column: auto;
    grid-row: auto;
  }

  .gallery-media {
    aspect-ratio: 4 / 3;
  }

  .about-grid {
    gap: 18px;
  }

  .about-notes {
    gap: 12px;
  }

  .manifesto-panel,
  .contact-panel,
  .note-card {
    padding: 18px;
    border-radius: 18px;
  }

  .manifesto-text {
    max-width: 100%;
    font-size: clamp(1.55rem, 10vw, 2.6rem);
  }

  .note-card span {
    font-size: 0.66rem;
  }

  .note-card strong {
    font-size: 0.94rem;
    line-height: 1.45;
  }

  .contact-links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .contact-link {
    width: 100%;
    min-height: 46px;
    padding: 0 14px;
    font-size: 0.88rem;
  }

  .modal-thumbnails {
    grid-template-columns: repeat(auto-fill, minmax(64px, 1fr));
    gap: 8px;
  }

  .media-modal-dialog {
    width: min(100vw - 16px, 100vw - 16px);
    max-height: calc(100vh - 16px);
    margin: 8px auto;
    padding: 54px 12px 14px;
    border-radius: 22px;
  }

  .modal-close {
    top: 12px;
    right: 12px;
    min-height: 38px;
    padding: 0 14px;
  }

  .media-modal-layout {
    gap: 16px;
  }

  .modal-main-view {
    border-radius: 16px;
  }

  .modal-copy {
    gap: 10px;
  }

  .modal-copy h3 {
    font-size: clamp(1.45rem, 8vw, 2rem);
    line-height: 1.02;
    text-wrap: pretty;
  }

  .compare-slider-wrap {
    font-size: 0.64rem;
    letter-spacing: 0.12em;
  }

  .spotlight {
    display: none;
  }
}

@media (max-width: 480px) {
  .site-nav {
    gap: 8px 14px;
    font-size: 0.68rem;
  }

  .hero-shell {
    padding-top: 182px;
  }

  .hero-name {
    font-size: clamp(1.58rem, 8.5vw, 2.18rem);
  }

  .hero-meta {
    font-size: 0.66rem;
  }

  .hero-text {
    font-size: 0.88rem;
  }

  .ticker-track {
    gap: 20px;
    padding: 14px;
    font-size: 0.66rem;
  }

  .contact-links {
    grid-template-columns: 1fr;
  }

  .modal-copy h3 {
    font-size: 1.3rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition-duration: 0ms !important;
  }

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