:root {
  --bg: #111111;
  --text: #f4f1ea;
  --muted: rgba(244, 241, 234, 0.78);
  --glass: rgba(255, 255, 255, 0.1);
  --glass-border: rgba(255, 255, 255, 0.22);
  --yellow: #f6bd1f;
  --reveal-logo-base: clamp(104px, 9vw, 150px);
  --intro-duration: 1.08s;
  --intro-ease: cubic-bezier(0.76, 0, 0.24, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html,
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  overflow: hidden;
  font-family: "Helvetica Now Display", "Helvetica Neue", Arial, sans-serif;
}

html.page-ready,
body.page-ready {
  overflow-x: hidden;
  overflow-y: auto;
  scrollbar-width: none;
}

html.modal-open,
body.modal-open {
  overflow: hidden !important;
}

html.page-ready::-webkit-scrollbar,
body.page-ready::-webkit-scrollbar {
  width: 0;
  height: 0;
}

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

button,
a {
  font: inherit;
}

@media (hover: hover) and (pointer: fine) {
  html.has-custom-cursor,
  html.has-custom-cursor body,
  html.has-custom-cursor body * {
    cursor: none !important;
  }
}

.custom-cursor {
  --cursor-x: -999px;
  --cursor-y: -999px;
  --cursor-scale: 0.9;
  position: fixed;
  top: 0;
  left: 0;
  width: 44px;
  height: 44px;
  pointer-events: none;
  opacity: 0;
  transform: translate3d(var(--cursor-x), var(--cursor-y), 0) translate(-50%, -50%) scale(var(--cursor-scale));
  transition:
    opacity 0.12s ease,
    transform 0.12s ease;
  z-index: 30000;
  will-change: transform, opacity;
}

.custom-cursor.is-visible {
  opacity: 1;
}

.custom-cursor.is-moving {
  --cursor-scale: 1.04;
}

.custom-cursor__sprite {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  filter:
    drop-shadow(0 0 10px rgba(246, 189, 31, 0.18))
    drop-shadow(0 4px 14px rgba(0, 0, 0, 0.22));
  transform-origin: center;
}

/* LOADING */
.loading-screen {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  transform: translateY(0);
  overflow: hidden;
}

.loading-screen__stage {
  position: relative;
  width: 100%;
  height: 100%;
  background: transparent;
}

.loading-screen__wipe {
  position: absolute;
  inset: 0;
  will-change: -webkit-mask-size, mask-size;
  transform: translateZ(0);
  -webkit-mask-image:
    linear-gradient(#fff 0 0),
    url("./assets/logos/logo-animacao-inicial.svg");
  -webkit-mask-repeat: no-repeat, no-repeat;
  -webkit-mask-position: center, center;
  -webkit-mask-composite: xor;
  mask-image:
    linear-gradient(#fff 0 0),
    url("./assets/logos/logo-animacao-inicial.svg");
  mask-repeat: no-repeat, no-repeat;
  mask-position: center, center;
  mask-composite: exclude;
}

.loading-screen__wipe--white {
  z-index: 1;
  background: #f4f1ea;
  animation: loadingWipeWhite var(--intro-duration) var(--intro-ease) forwards;
}

.loading-screen__wipe--black {
  z-index: 2;
  background: #111111;
  animation: loadingWipeBlack var(--intro-duration) var(--intro-ease) forwards;
}

.loading-screen__wipe--yellow {
  z-index: 3;
  background: #f6bd1f;
  animation: loadingWipeYellow var(--intro-duration) var(--intro-ease) forwards;
}

@keyframes loadingWipeYellow {
  0%,
  2% {
    -webkit-mask-size: 100% 100%, 0px 0px;
    mask-size: 100% 100%, 0px 0px;
  }
  34%,
  100% {
    -webkit-mask-size: 100% 100%, 320vmax 320vmax;
    mask-size: 100% 100%, 320vmax 320vmax;
  }
}

@keyframes loadingWipeBlack {
  0%,
  30% {
    -webkit-mask-size: 100% 100%, 0px 0px;
    mask-size: 100% 100%, 0px 0px;
  }
  68%,
  100% {
    -webkit-mask-size: 100% 100%, 320vmax 320vmax;
    mask-size: 100% 100%, 320vmax 320vmax;
  }
}

@keyframes loadingWipeWhite {
  0%,
  62% {
    -webkit-mask-size: 100% 100%, 0px 0px;
    mask-size: 100% 100%, 0px 0px;
  }
  100% {
    -webkit-mask-size: 100% 100%, 320vmax 320vmax;
    mask-size: 100% 100%, 320vmax 320vmax;
  }
}

@keyframes garageDoorUp {
  from {
    transform: translateY(0);
  }
  to {
    transform: translateY(-100%);
  }
}

/* HERO */
.hero {
  position: relative;
  height: 100dvh;
  min-height: 100dvh;
  overflow: hidden;
  background: #111111;
}

.hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  transform: translateZ(0);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  will-change: transform, opacity;
  contain: paint;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      90deg,
      rgba(17, 17, 17, 0.08) 0%,
      rgba(17, 17, 17, 0.18) 34%,
      rgba(17, 17, 17, 0.68) 66%,
      rgba(17, 17, 17, 0.84) 100%
    ),
    radial-gradient(
      circle at 18% 14%,
      rgba(246, 189, 31, 0.14),
      transparent 34%
    );
  pointer-events: none;
}

.hero__shell {
  position: relative;
  z-index: 80;
  height: 100%;
  display: grid;
  grid-template-rows: auto 1fr auto;
  padding: 24px clamp(18px, 3vw, 42px);
}

.hero__nav,
.hero__content,
.hero__scroll {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

body.page-ready .hero__nav,
body.page-ready .hero__content,
body.page-ready .hero__scroll {
  opacity: 1;
  transform: translateY(0);
}

.hero__nav {
  position: relative;
  display: flex;
  justify-content: center;
  z-index: 240;
}

.hero__nav-inner {
  display: flex;
  position: relative;
  align-items: center;
  justify-content: center;
  gap: 16px;
  width: fit-content;
  max-width: calc(100vw - 32px);
  padding: 3px 16px;
  border: 1px solid var(--glass-border);
  border-radius: 999px;
  background: var(--glass);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
  overflow: visible;
  isolation: isolate;
}

.hero__nav-brand {
  display: flex;
  position: relative;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  flex-shrink: 0;
  z-index: 44;
  opacity: 0;
  transform: translateY(-14px);
  transition: opacity 0.45s ease, transform 0.45s ease;
}

.hero__nav-logo {
  width: 100px;
  height: auto;
  max-height: 58px;
  display: block;
  position: relative;
}

.hero__nav-menu {
  display: flex;
  align-items: center;
  gap: 16px;
  white-space: nowrap;
}

.hero__nav-menu > a,
.hero__nav-menu > .hero__nav-link-button,
.hero__nav-menu > .hero__nav-item > .hero__nav-trigger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 0;
}

.hero__nav-menu > a,
.hero__nav-menu > .hero__nav-item,
.hero__nav-menu > .hero__nav-link-button {
  opacity: 0;
  transform: translateY(-14px);
  transition: opacity 0.45s ease, transform 0.45s ease;
}

.hero__nav-menu > a,
.hero__nav-menu > .hero__nav-link-button {
  position: relative;
  z-index: 44;
}

.hero__nav-menu a,
.hero__nav-trigger,
.hero__nav-link-button {
  color: rgba(244, 241, 234, 0.96);
  text-decoration: none;
  font-size: 0.98rem;
  font-weight: 400;
  line-height: 1;
  transition: color 0.25s ease;
}

.hero__nav-menu a:hover,
.hero__nav-trigger:hover,
.hero__nav-link-button:hover {
  color: var(--yellow);
}

.hero__nav-trigger {
  appearance: none;
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
}

.hero__nav-link-button {
  appearance: none;
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
}

.hero__nav-item {
  position: relative;
  display: flex;
  align-items: center;
  z-index: 1;
}

.hero__nav-item.is-open .hero__nav-trigger {
  color: var(--yellow);
}

.hero__nav-item:hover,
.hero__nav-item.is-open {
  z-index: 32;
}

.hero__nav-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  min-width: 238px;
  display: grid;
  gap: 8px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 10px;
  background: rgba(12, 12, 12, 0.82);
  box-shadow:
    0 18px 34px rgba(0, 0, 0, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateX(-50%) translateY(-8px);
  z-index: 40;
  transition:
    opacity 0.22s ease,
    transform 0.22s ease,
    visibility 0s linear 0.22s;
}

.hero__nav-item.is-open .hero__nav-dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
  transition:
    opacity 0.22s ease,
    transform 0.22s ease,
    visibility 0s linear 0s;
}

@media (hover: hover) and (pointer: fine) {
  .hero__nav-item:hover .hero__nav-trigger {
    color: var(--yellow);
  }

  .hero__nav-item:hover .hero__nav-dropdown {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
    transition:
      opacity 0.22s ease,
      transform 0.22s ease,
      visibility 0s linear 0s;
  }
}

.hero__nav-dropdown::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -12px;
  height: 16px;
}

.hero__nav-dropdown a,
.hero__nav-dropdown button {
  display: block;
  position: relative;
  overflow: hidden;
  width: 100%;
  padding: 10px 12px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: rgba(244, 241, 234, 0.96);
  font-size: 0.95rem;
  font-family: inherit;
  text-align: left;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: background 0.22s ease, color 0.22s ease, transform 0.22s ease;
}

.hero__nav-dropdown a::before,
.hero__nav-dropdown button::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: rgba(246, 189, 31, 0.18);
  opacity: 0;
  transition: opacity 0.22s ease;
  z-index: 0;
}

.hero__nav-dropdown a > *,
.hero__nav-dropdown button > * {
  position: relative;
  z-index: 1;
}

.hero__nav-dropdown a:hover,
.hero__nav-dropdown a:focus-visible,
.hero__nav-dropdown a:active,
.hero__nav-dropdown button:hover,
.hero__nav-dropdown button:focus-visible,
.hero__nav-dropdown button:active {
  color: rgba(255, 255, 255, 1);
  transform: translateX(2px);
  outline: none;
}

.hero__nav-dropdown a:hover::before,
.hero__nav-dropdown a:focus-visible::before,
.hero__nav-dropdown a:active::before,
.hero__nav-dropdown button:hover::before,
.hero__nav-dropdown button:focus-visible::before,
.hero__nav-dropdown button:active::before {
  opacity: 1;
}

.hero__nav-verification {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

body.page-ready .hero__nav-brand,
body.page-ready .hero__nav-menu > a,
body.page-ready .hero__nav-menu > .hero__nav-item,
body.page-ready .hero__nav-menu > .hero__nav-link-button {
  opacity: 1;
  transform: translateY(0);
}

body.page-ready .hero__nav-brand {
  transition-delay: 0.16s;
}

body.page-ready .hero__nav-menu > .hero__nav-item:nth-child(1) {
  transition-delay: 0.22s;
}

body.page-ready .hero__nav-menu > .hero__nav-link-button:nth-child(2) {
  transition-delay: 0.28s;
}

body.page-ready .hero__nav-menu > a:nth-child(3) {
  transition-delay: 0.34s;
}

body.page-ready .hero__nav-menu > .hero__nav-item:nth-child(4) {
  transition-delay: 0.4s;
}

.lottie-box {
  position: relative;
  overflow: hidden;
}

.lottie-box svg,
.lottie-box canvas,
.lottie-box > div {
  width: 100% !important;
  height: 100% !important;
}

.lottie-fallback {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0.9;
  transition: opacity 0.25s ease;
}

.lottie-box.is-loaded .lottie-fallback {
  opacity: 0;
}

.hero__main {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  min-height: 0;
  margin-right: 70px;
}

.hero__content-wrap {
  margin-left: auto;
  transform: translateY(0);
}

@media (min-width: 769px) {
  .hero__content-wrap {
    transform: translateY(-50px);
  }
}

.hero__content {
  width: min(560px, 100%);
  max-height: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  margin-right: 200px;
}

.hero__brand-lottie {
  display: block;
  align-self: flex-start;
  width: clamp(320px, 22vw, 500px);
  height: clamp(320px, 22vw, 500px);
  margin-bottom: -130px;
  margin-left: -70px;
  margin-right: 0;
  transform: none;
}

.hero__brand-lottie,
.hero__brand-lottie *,
.hero__title,
.hero__description {
  pointer-events: none;
}

.hero__title {
  margin: 0 0 10px 0px;
  font-family: "Onest", sans-serif;
  font-size: clamp(3.4rem, 5.4vw, 4.9rem);
  line-height: 0.92;
  letter-spacing: -0.03em;
  font-weight: 800;
  color: var(--text);
}

.hero__title span {
  color: var(--yellow);
  display: inline-block;
}

.hero__description {
  margin: 0;
  max-width: 420px;
  color: var(--muted);
  font-size: clamp(0.96rem, 1.08vw, 1.05rem);
  line-height: 1.68;
}

.hero__video-cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 20px;
  padding: 12px 18px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  cursor: pointer;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow:
    0 10px 30px rgba(0, 0, 0, 0.12),
    0 0 0 1px rgba(255, 255, 255, 0.03) inset;
  transition: transform 0.24s ease, background 0.24s ease, border-color 0.24s ease;
}

.hero__video-cta--mobile {
  display: none;
}

.hero__video-cta:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.28);
}

.hero__video-cta-icon {
  position: relative;
  width: 34px;
  height: 34px;
  border: 1.4px solid rgba(244, 241, 234, 0.78);
  border-radius: 999px;
  flex-shrink: 0;
}

.hero__video-cta-icon::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-top: 7px solid transparent;
  border-bottom: 7px solid transparent;
  border-left: 10px solid rgba(244, 241, 234, 0.92);
  transform: translate(-35%, -50%);
}

.hero__video-cta-label {
  font-size: 0.96rem;
  line-height: 1;
}

.hero__footer {
  display: flex;
  justify-content: flex-end;
  align-items: end;
}

.hero__scroll {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 12px 18px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  cursor: pointer;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.hero__scroll-mouse {
  position: relative;
  width: 22px;
  height: 34px;
  border: 1.8px solid rgba(244, 241, 234, 0.88);
  border-radius: 999px;
  display: inline-flex;
  justify-content: center;
  align-items: flex-start;
  padding-top: 6px;
}

.hero__scroll-mouse span {
  width: 4px;
  height: 8px;
  border-radius: 999px;
  background: var(--text);
  animation: scrollWheel 1.5s ease-in-out infinite;
}

.hero__scroll-label {
  font-size: 0.96rem;
}

@keyframes scrollWheel {
  0% {
    opacity: 0.2;
    transform: translateY(0);
  }
  45% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translateY(8px);
  }
}

@keyframes dragHintTap {
  0%,
  100% {
    opacity: 0.38;
    transform: scale(0.94);
  }
  50% {
    opacity: 0.62;
    transform: scale(1);
  }
}

@keyframes dragHintArrowNudge {
  0%,
  100% {
    transform: rotate(45deg) translate(-1px, 1px);
  }
  50% {
    transform: rotate(45deg) translate(3px, -3px);
  }
}

/* REVEAL SECTION */
.reveal-section {
  position: relative;
  height: 100dvh;
  min-height: 100dvh;
  overflow: hidden;
  background: #111111;
}

.reveal-stage {
  position: relative;
  height: 100dvh;
  min-height: 100dvh;
  overflow: hidden;
  background: #111111;
}

.reveal__video,
.reveal__shade,
.reveal__text-track,
.reveal__project-image,
.reveal__logo-mask {
  position: absolute;
  inset: 0;
}

.reveal__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  will-change: opacity, transform;
  transform: scale(1.03);
}

.reveal__shade {
  background:
    linear-gradient(
      180deg,
      rgba(17, 17, 17, 0.16) 0%,
      rgba(17, 17, 17, 0.22) 38%,
      rgba(17, 17, 17, 0.46) 100%
    ),
    radial-gradient(
      circle at center,
      rgba(246, 189, 31, 0.08),
      transparent 30%
    );
  pointer-events: none;
}

.reveal__text-track {
  top: 50%;
  bottom: auto;
  left: 0;
  right: auto;
  display: inline-flex;
  align-items: center;
  gap: clamp(24px, 3vw, 44px);
  width: max-content;
  white-space: nowrap;
  transform: translate3d(32vw, -50%, 0);
  opacity: 0;
  will-change: transform, opacity;
  z-index: 3;
}

.reveal__phrase {
  font-family: "Onest", sans-serif;
  font-size: clamp(3rem, 7vw, 6.6rem);
  font-weight: 800;
  line-height: 0.9;
  letter-spacing: -0.04em;
  color: rgba(244, 241, 234, 0.95);
}

.reveal__phrase span {
  color: var(--yellow);
}

.reveal__track-logo {
  width: var(--reveal-logo-base);
  height: var(--reveal-logo-base);
  flex-shrink: 0;
  object-fit: contain;
}

.reveal__logo-mask {
  display: grid;
  place-items: center;
  opacity: 0;
  z-index: 4;
  pointer-events: none;
}

.reveal__logo-mask img {
  width: var(--reveal-logo-base);
  height: auto;
  display: block;
  object-fit: contain;
}

.reveal__project-image {
  z-index: 2;
  opacity: 0;
  pointer-events: none;
  -webkit-mask-image: url("./assets/transicao-logo-review/mascara-logo-review.svg");
  mask-image: url("./assets/transicao-logo-review/mascara-logo-review.svg");
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-size: var(--reveal-mask-size, 140px);
  mask-size: var(--reveal-mask-size, 140px);
  will-change: opacity, -webkit-mask-size, mask-size;
}

.reveal__project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.reveal__gallery {
  position: relative;
  inset: auto;
  z-index: 5;
  height: 100dvh;
  min-height: 100dvh;
  pointer-events: auto;
}

.portfolio-section {
  position: relative;
  height: 100dvh;
  min-height: 100dvh;
  background: #111111;
  overflow: hidden;
}

.portfolio-snap-cover .reveal-section,
.portfolio-snap-cover .reveal-stage,
.portfolio-snap-bridge .reveal-section,
.portfolio-snap-bridge .reveal-stage {
  overflow: visible;
}

.portfolio-snap-cover .reveal__project-image,
.portfolio-snap-bridge .reveal__project-image {
  position: absolute;
  pointer-events: none;
  opacity: 0 !important;
  -webkit-mask-size: 0 !important;
  mask-size: 0 !important;
}

.reveal-snap-overlay {
  position: fixed;
  inset: auto;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  z-index: 60;
  opacity: 0;
  pointer-events: none;
  background: transparent;
  transition: none;
  will-change: opacity;
  overflow: hidden;
}

.reveal-snap-overlay.is-active {
  opacity: 1;
}

.reveal-snap-overlay.is-shrinking {
  transition:
    left 0.78s cubic-bezier(0.22, 1, 0.36, 1),
    top 0.78s cubic-bezier(0.22, 1, 0.36, 1),
    width 0.78s cubic-bezier(0.22, 1, 0.36, 1),
    height 0.78s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal-snap-overlay.is-hex {
  clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%);
  transition: clip-path 0.28s ease;
}

.reveal-snap-overlay__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  filter: none;
  transform: translateZ(0);
  will-change: transform, opacity;
}

.gallery-direct-active .reveal__video,
.gallery-direct-active .reveal__shade,
.gallery-direct-active .reveal__text-track,
.gallery-direct-active .reveal__project-image,
.gallery-direct-active .reveal__logo-mask {
  opacity: 0 !important;
  pointer-events: none !important;
}

.gallery-direct-active .reveal__gallery,
.gallery-direct-active .reveal__gallery-shell,
.gallery-direct-active .reveal__gallery-head,
.gallery-direct-active .reveal__gallery-body,
.gallery-direct-active #revealGalleryTitle,
.gallery-direct-active #revealGalleryFilters,
.gallery-direct-active #revealGalleryGrid {
  opacity: 1 !important;
  pointer-events: auto !important;
  transform: none !important;
}

.gallery-direct-active .reveal-section,
.gallery-direct-active .reveal-stage {
  height: 0 !important;
  min-height: 0 !important;
  overflow: hidden !important;
}

.gallery-direct-active .reveal-section {
  display: none !important;
}

.gallery-direct-active .reveal-stage {
  display: none;
}

.gallery-direct-active .reveal__gallery {
  position: relative;
  inset: auto;
}

.gallery-direct-active .reveal__gallery-shell {
  height: 100dvh;
  min-height: 100dvh;
}


.reveal__gallery-backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.1);
  filter: saturate(0.92) brightness(0.72);
  transition: transform 0.5s ease, filter 0.5s ease;
  pointer-events: none;
  box-shadow: inset 0 0 0 100vmax rgba(17, 17, 17, 0.14);
}

.reveal__gallery-backdrop-mobile {
  position: absolute;
  inset: 0;
  display: none;
  opacity: 0;
  background: linear-gradient(180deg, rgba(17, 17, 17, 0.16), rgba(17, 17, 17, 0.28));
  transform: scale(1.1);
  transition: transform 0.5s ease, opacity 0.5s ease;
  pointer-events: none;
}

.reveal__gallery-card {
  position: absolute;
  overflow: hidden;
  opacity: 0;
  border-radius: 10px;
  background: transparent;
  box-shadow:
    0 18px 30px rgba(0, 0, 0, 0.28),
    0 5px 16px rgba(0, 0, 0, 0.18);
  pointer-events: auto;
  user-select: none;
  -webkit-user-select: none;
  -webkit-user-drag: none;
  will-change: top, left, width, height, opacity, border-radius, transform;
  touch-action: pan-y;
  transition:
    transform 0.28s ease,
    box-shadow 0.28s ease,
    filter 0.28s ease;
}

.reveal__gallery.is-papers .reveal__gallery-card {
  transform: rotate(var(--paper-rotate, 0deg));
  cursor: grab;
}

.reveal__gallery.is-papers .reveal__gallery-card.is-dragging {
  cursor: grabbing;
  transition: none;
  box-shadow:
    0 26px 42px rgba(0, 0, 0, 0.3),
    0 10px 22px rgba(0, 0, 0, 0.24);
}

.reveal__gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
  pointer-events: none;
  user-select: none;
  -webkit-user-select: none;
  -webkit-user-drag: none;
  transition: transform 0.4s ease;
}

.reveal__gallery.is-papers .reveal__gallery-card:hover {
  transform: translateY(-6px) rotate(var(--paper-rotate-hover, 0deg));
  box-shadow:
    0 22px 36px rgba(0, 0, 0, 0.28),
    0 8px 18px rgba(0, 0, 0, 0.2);
  filter: saturate(1.01) brightness(1.01);
}

.reveal__gallery-card:hover img {
  transform: scale(1.012);
}

.reveal__gallery-card--main {
  z-index: 2;
  border-radius: 0;
  box-shadow: none;
}

.reveal__gallery.is-papers .reveal__gallery-card--main {
  border-radius: 10px !important;
  box-shadow:
    0 18px 30px rgba(0, 0, 0, 0.28),
    0 5px 16px rgba(0, 0, 0, 0.18);
}

.reveal__gallery.is-carousel .reveal__gallery-card {
  z-index: 2;
}

.reveal__gallery.is-carousel .reveal__gallery-card--main {
  z-index: 5;
}

.reveal__gallery.is-papers .reveal__gallery-backdrop {
  transform: scale(1.1);
  filter: saturate(0.96) brightness(0.84);
}

.reveal__gallery-title {
  position: absolute;
  z-index: 60;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  opacity: 0;
  font-family: "Onest", sans-serif;
  font-size: clamp(2.6rem, 5vw, 4.2rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: 0.032em;
  color: var(--text);
  text-align: left;
  will-change: transform, opacity;
}

.reveal__gallery-title-copy {
  display: block;
  text-shadow: 0 8px 24px rgba(0, 0, 0, 0.28);
}

.reveal__gallery-title-accent {
  color: var(--yellow);
}

.reveal__drag-hint {
  align-self: flex-start;
  margin-top: 12px;
  opacity: 1;
  transform: none;
  transition: none;
  pointer-events: none;
}

.reveal__drag-glyph {
  position: relative;
  width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.reveal__drag-glyph-arrow {
  width: 11px;
  height: 11px;
  border-top: 2px solid var(--text);
  border-right: 2px solid var(--text);
  transform: rotate(45deg) translate(-1px, 1px);
  animation: dragHintArrowNudge 1.45s ease-in-out infinite;
}

.reveal__drag-glyph-tap {
  position: absolute;
  inset: 2px;
  border: 1.4px solid rgba(244, 241, 234, 0.48);
  border-radius: 999px;
  opacity: 0.56;
}

.reveal__gallery-arrow {
  position: absolute;
  top: 50%;
  z-index: 6;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-50%);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.22);
  transition: opacity 0.28s ease, transform 0.28s ease, background 0.28s ease;
}

.reveal__gallery-arrow:hover {
  background: rgba(255, 255, 255, 0.14);
  transform: translateY(-50%) scale(1.03);
}

.reveal__gallery-arrow.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.reveal__gallery-arrow--prev {
  left: 22px;
}

.reveal__gallery-arrow--next {
  right: 22px;
}

#revealGalleryMain {
  --paper-rotate: 0deg;
  --paper-rotate-hover: 0deg;
}

.reveal__gallery.is-papers #revealGalleryMain {
  --paper-rotate: -1.2deg;
  --paper-rotate-hover: -0.3deg;
}

#reveal__project-image1 {
  --paper-rotate: -3.8deg;
  --paper-rotate-hover: -1.2deg;
}

#reveal__project-image2 {
  --paper-rotate: 2.2deg;
  --paper-rotate-hover: 0.8deg;
}

#reveal__project-image3 {
  --paper-rotate: -2.6deg;
  --paper-rotate-hover: -0.8deg;
}

#reveal__project-image4 {
  --paper-rotate: 3.2deg;
  --paper-rotate-hover: 1deg;
}

#reveal__project-image5 {
  --paper-rotate: -1.6deg;
  --paper-rotate-hover: -0.5deg;
}

#reveal__project-image6 {
  --paper-rotate: 2.8deg;
  --paper-rotate-hover: 0.9deg;
}

.reveal__back-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 90;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transform: translateY(8px);
  opacity: 0;
  pointer-events: none;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  text-decoration: none;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.28);
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.reveal__back-top::before {
  content: "↑";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  font-size: 1rem;
  line-height: 1;
  animation: backTopArrow 1.3s ease-in-out infinite;
}

.reveal__back-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.reveal__back-top.is-emphasized {
  opacity: 1;
  pointer-events: auto;
  border-color: rgba(246, 189, 31, 0.86);
  background:
    linear-gradient(180deg, rgba(246, 189, 31, 0.28), rgba(246, 189, 31, 0.12)),
    rgba(12, 12, 12, 0.92);
  color: #fff2c7;
  box-shadow:
    0 0 0 1px rgba(246, 189, 31, 0.16) inset,
    0 14px 40px rgba(246, 189, 31, 0.26);
}

@keyframes backTopArrow {
  0%,
  100% {
    transform: translateY(2px);
    opacity: 0.65;
  }
  50% {
    transform: translateY(-3px);
    opacity: 1;
  }
}

.reveal__back-top::before {
  content: "";
  display: block;
  width: 12px;
  height: 12px;
  border-top: 2px solid currentColor;
  border-left: 2px solid currentColor;
  transform: translateY(0) rotate(45deg);
  animation: backTopArrowChevron 1.3s ease-in-out infinite;
}

@keyframes backTopArrowChevron {
  0%,
  100% {
    transform: translateY(2px) rotate(45deg);
    opacity: 0.65;
  }
  50% {
    transform: translateY(-3px) rotate(45deg);
    opacity: 1;
  }
}

.reveal__back-top {
  justify-content: center;
  gap: 10px;
  min-width: 172px;
  height: 54px;
  padding: 0 18px 0 14px;
  border-color: rgba(255, 255, 255, 0.18);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03)),
    rgba(12, 12, 12, 0.82);
}

.reveal__back-top::before {
  content: none;
}

.reveal__back-top-icon {
  position: relative;
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
}

.reveal__back-top-icon::before {
  content: "";
  position: absolute;
  inset: 2px 0 0 2px;
  width: 10px;
  height: 10px;
  border-top: 2px solid currentColor;
  border-left: 2px solid currentColor;
  transform: rotate(45deg);
  animation: backTopArrowChevron 1.3s ease-in-out infinite;
}

.reveal__back-top-label {
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.site-footer {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9500;
  display: flex;
  align-items: stretch;
  justify-content: center;
  padding: 0 clamp(14px, 2vw, 24px) clamp(10px, 1.8vw, 18px);
  opacity: 0;
  pointer-events: none;
  transform: translateY(calc(100% + 10px));
  transition: opacity 0.18s ease, transform 0.2s ease;
  background: none;
}

.site-footer.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.site-footer::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 0;
  width: min(1160px, calc(100% - 28px));
  height: 2px;
  background: linear-gradient(
    90deg,
    rgba(246, 189, 31, 0) 0%,
    rgba(246, 189, 31, 0.4) 18%,
    rgba(255, 224, 125, 0.88) 50%,
    rgba(246, 189, 31, 0.4) 82%,
    rgba(246, 189, 31, 0) 100%
  );
  box-shadow: 0 0 18px rgba(246, 189, 31, 0.16);
}

.site-footer__shell {
  position: relative;
  width: 100%;
  min-height: min(12svh, 112px);
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) auto minmax(280px, 0.9fr);
  align-items: center;
  gap: 14px;
  padding: 10px clamp(16px, 2.2vw, 28px) 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 30px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.014)),
    rgba(17, 17, 17, 0.72);
  box-shadow:
    0 20px 42px rgba(0, 0, 0, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 0 0 1px rgba(246, 189, 31, 0.05);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  overflow: hidden;
}

.site-footer__meta {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.site-footer__meta-line {
  margin: 0;
  color: rgba(244, 241, 234, 0.78);
  text-decoration: none;
  font-size: 0.92rem;
  line-height: 1.6;
}

.site-footer__meta-line--with-social {
  display: grid;
  gap: 8px;
}

.site-footer__meta p,
.site-footer__meta-line,
.site-footer__policy {
  margin: 0;
  color: rgba(244, 241, 234, 0.78);
  text-decoration: none;
  font-size: 0.92rem;
  line-height: 1.6;
}

.site-footer__policy:hover {
  color: var(--yellow);
}

.site-footer__socials {
  display: flex;
  align-items: center;
  gap: 10px;
}

.site-footer__social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  text-decoration: none;
  opacity: 0.92;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.site-footer__social:hover {
  opacity: 1;
  transform: translateY(-1px);
}

.site-footer__social img {
  width: 14px;
  height: 14px;
  filter: brightness(0) invert(1);
}

.site-footer__brand {
  display: flex;
  align-items: center;
  justify-content: center;
}

.site-footer__brand img {
  width: 132px;
  height: auto;
}

.site-footer__actions {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-self: end;
  width: min(280px, 100%);
}

.site-footer__instagram {
  display: none;
}

.site-footer__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  position: relative;
  overflow: hidden;
  width: 100%;
  min-width: 0;
  padding: 16px 20px;
  border: 1px solid rgba(246, 189, 31, 0.46);
  border-radius: 999px;
  background:
    linear-gradient(135deg, rgba(246, 189, 31, 0.2), rgba(246, 189, 31, 0.08)),
    rgba(255, 255, 255, 0.02);
  color: #f4f1ea;
  text-decoration: none;
  font-size: 0.98rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.05) inset,
    0 10px 24px rgba(246, 189, 31, 0.12);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  animation: footerCtaGlow 3.8s ease-in-out infinite;
}

.site-footer__cta:hover {
  transform: translateY(-1px);
  border-color: rgba(246, 189, 31, 0.72);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.08) inset,
    0 14px 30px rgba(246, 189, 31, 0.18);
}

.site-footer__cta img {
  width: 20px;
  height: 20px;
  position: relative;
  z-index: 1;
  filter: brightness(0) saturate(100%) invert(90%) sepia(14%) saturate(254%) hue-rotate(352deg) brightness(108%) contrast(94%);
}

.site-footer__cta span {
  line-height: 1;
  position: relative;
  z-index: 1;
}

@media (min-width: 769px) {
  .site-footer__shell {
    min-height: min(11svh, 104px);
    gap: 14px;
    padding: 6px clamp(18px, 2.6vw, 34px) 10px;
  }

  .site-footer__meta {
    justify-self: start;
  }

  .site-footer__meta-line--with-social {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    flex-wrap: nowrap;
  }

  .site-footer__meta-line--with-social .site-footer__socials {
    display: inline-flex;
    flex: 0 0 auto;
  }

  .site-footer__brand {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: max-content;
    justify-self: center;
  }

  .site-footer__actions {
    position: absolute;
    top: 50%;
    right: clamp(18px, 2.6vw, 34px);
    transform: translateY(-50%);
    justify-self: auto;
  }
}

.project-modal {
  position: fixed;
  inset: 0;
  z-index: 12000;
  display: grid;
  place-items: center;
  padding: 28px;
  overflow-y: auto;
  overscroll-behavior: contain;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.project-modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

.project-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 8, 8, 0.58);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.project-modal__panel {
  position: relative;
  z-index: 1;
  width: min(1080px, calc(100vw - 56px));
  max-height: calc(100svh - 40px);
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: 26px;
  padding: 24px;
  border: 1px solid rgba(255, 240, 196, 0.14);
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.05)),
    rgba(17, 17, 17, 0.74);
  box-shadow:
    0 24px 80px rgba(0, 0, 0, 0.42),
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 0 0 1px rgba(246, 189, 31, 0.05);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.project-modal__panel::after {
  content: "";
  position: absolute;
  left: 26px;
  right: 26px;
  bottom: 14px;
  height: 2px;
  border-radius: 999px;
  background:
    linear-gradient(
      90deg,
      transparent 0%,
      rgba(246, 189, 31, 0.28) 10%,
      rgba(246, 189, 31, 0.9) 50%,
      rgba(246, 189, 31, 0.28) 90%,
      transparent 100%
    );
  box-shadow:
    0 0 18px rgba(246, 189, 31, 0.24),
    0 0 38px rgba(246, 189, 31, 0.1);
  pointer-events: none;
}

.project-modal__close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  font-size: 1.7rem;
  line-height: 1;
  cursor: pointer;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.project-modal__media {
  position: relative;
}

.project-modal__media-stage {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  height: clamp(320px, 34vw, 520px);
  max-height: min(58svh, 560px);
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 20px;
  background:
    linear-gradient(180deg, rgba(28, 28, 28, 0.96), rgba(10, 10, 10, 0.98));
  cursor: zoom-in;
  box-shadow:
    inset 0 0 0 1px rgba(255, 240, 196, 0.12),
    0 0 0 1px rgba(246, 189, 31, 0.08),
    0 18px 42px rgba(0, 0, 0, 0.28),
    0 0 28px rgba(246, 189, 31, 0.08);
}

.project-modal__media-stage img,
.project-modal__media-stage video {
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  object-fit: cover;
  object-position: center center;
  border-radius: 20px;
  background: transparent;
}

.project-modal__media-stage video {
  outline: none;
}

.project-modal__nav {
  position: absolute;
  top: 50%;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(17, 17, 17, 0.3);
  color: var(--text);
  font-size: 1.9rem;
  line-height: 1;
  cursor: pointer;
  transform: translateY(-50%);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.24);
}

.project-modal__nav--prev {
  left: 16px;
}

.project-modal__nav--next {
  right: 16px;
}

.project-modal__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 18px;
}

.project-modal__eyebrow {
  margin: 0;
  color: var(--yellow);
  font-size: 0.9rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.project-modal__title {
  margin: 0;
  font-family: "Onest", sans-serif;
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 0.96;
}

.project-modal__meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.project-modal__meta-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 14px;
  border-radius: 16px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.03)),
    rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(246, 189, 31, 0.12);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 0 0 1px rgba(246, 189, 31, 0.04);
}

.project-modal__meta-item span {
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(244, 241, 234, 0.62);
}

.project-modal__meta-item strong {
  font-size: 1rem;
  color: var(--text);
}

.project-modal__description {
  margin: 0;
  color: rgba(244, 241, 234, 0.84);
  line-height: 1.6;
}

.project-modal__thumbs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.project-modal__thumb {
  position: relative;
  padding: 0;
  border: 0;
  border-radius: 14px;
  background: transparent;
  overflow: hidden;
  cursor: pointer;
}

.project-modal__thumb img,
.project-modal__thumb video {
  width: 100%;
  height: 112px;
  object-fit: cover;
  border-radius: 14px;
  display: block;
}

.project-modal__thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
  pointer-events: none;
}

.project-modal__thumb[data-media-type="video"]::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 1;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.42);
  border: 1px solid rgba(255, 255, 255, 0.18);
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.project-modal__thumb[data-media-type="video"] span {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
  width: 0;
  height: 0;
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
  border-left: 12px solid rgba(255, 255, 255, 0.92);
  transform: translate(-32%, -50%);
  pointer-events: none;
}

.project-modal__thumb.is-active::after {
  border-color: rgba(246, 189, 31, 0.9);
  box-shadow:
    inset 0 0 0 1px rgba(246, 189, 31, 0.38),
    0 0 0 1px rgba(246, 189, 31, 0.14);
}

.project-lightbox {
  position: fixed;
  inset: 0;
  z-index: 12200;
  display: grid;
  place-items: center;
  padding: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.project-lightbox.is-open {
  opacity: 1;
  pointer-events: auto;
}

.project-lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.project-lightbox__panel {
  position: fixed;
  inset: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100vw;
  height: 100svh;
  padding: 24px;
  box-sizing: border-box;
}

.project-lightbox__stage {
  width: calc(100vw - 48px);
  height: calc(100svh - 48px);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-sizing: border-box;
}

.project-lightbox__stage img,
.project-lightbox__stage video {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center center;
  display: block;
  margin: auto;
  border-radius: 18px;
}

.project-lightbox__close {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 2;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  font-size: 1.7rem;
  line-height: 1;
  cursor: pointer;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.project-lightbox__nav {
  position: absolute;
  top: 50%;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(17, 17, 17, 0.34);
  color: var(--text);
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  transform: translateY(-50%);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.24);
}

.project-lightbox__nav--prev {
  left: 18px;
}

.project-lightbox__nav--next {
  right: 18px;
}

.project-lightbox__nav[hidden] {
  display: none;
}

.hero-video-modal {
  position: fixed;
  inset: 0;
  z-index: 12100;
  display: grid;
  place-items: center;
  padding: 28px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.hero-video-modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

.hero-video-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.82);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.hero-video-modal__panel {
  position: relative;
  z-index: 1;
  width: min(1080px, calc(100vw - 56px));
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.1));
  box-shadow:
    0 20px 70px rgba(0, 0, 0, 0.26),
    0 0 0 1px rgba(255, 255, 255, 0.08) inset;
  backdrop-filter: blur(24px) saturate(120%);
  -webkit-backdrop-filter: blur(24px) saturate(120%);
}

.hero-video-modal__close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
}

.hero-video-modal__media {
  overflow: hidden;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.08);
  box-shadow:
    0 18px 54px rgba(0, 0, 0, 0.22),
    0 0 0 1px rgba(255, 255, 255, 0.1) inset;
}

.hero-video-modal__player {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #050505;
}

.site-footer__cta::after {
  content: "";
  position: absolute;
  inset: -20%;
  background: linear-gradient(
    115deg,
    transparent 28%,
    rgba(255, 255, 255, 0.04) 42%,
    rgba(255, 255, 255, 0.22) 50%,
    rgba(255, 255, 255, 0.04) 58%,
    transparent 72%
  );
  transform: translateX(-140%);
  animation: footerCtaSweep 5.8s ease-in-out infinite;
  pointer-events: none;
}

@keyframes footerCtaGlow {
  0%,
  100% {
    box-shadow:
      0 0 0 1px rgba(255, 255, 255, 0.05) inset,
      0 0 18px rgba(246, 189, 31, 0.12);
  }
  50% {
    box-shadow:
      0 0 0 1px rgba(255, 255, 255, 0.08) inset,
      0 0 28px rgba(246, 189, 31, 0.22);
  }
}

@keyframes footerCtaSweep {
  0%,
  72%,
  100% {
    transform: translateX(-140%);
    opacity: 0;
  }
  12% {
    opacity: 1;
  }
  30% {
    transform: translateX(140%);
    opacity: 0.92;
  }
}

@keyframes footerStripeGlow {
  0% {
    background-position: 0% 50%;
    filter: brightness(1);
  }
  50% {
    background-position: 100% 50%;
    filter: brightness(1.2);
  }
  100% {
    background-position: 0% 50%;
    filter: brightness(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  .site-footer::after,
  .site-footer__cta,
  .site-footer__cta::after {
    animation: none;
  }
}

/* TABLET */
@media (max-width: 1024px) {
  .hero__content {
    width: min(500px, 100%);
  }

  .hero__brand-lottie {
    width: 260px;
    height: 260px;
    margin-bottom: -58px;
    margin-left: -26px;
  }

  .hero__nav-menu {
    gap: 18px;
  }

  .hero__nav-menu a,
  .hero__nav-trigger,
  .hero__nav-link-button {
    font-size: 0.94rem;
  }

  .reveal__text-track {
    gap: 28px;
  }

  .reveal__phrase {
    font-size: clamp(2.6rem, 7vw, 5rem);
  }

  .reveal__track-logo {
    width: 112px;
    height: 112px;
  }

  .reveal__gallery-title {
    font-size: clamp(2.2rem, 4.5vw, 3.4rem);
    align-items: center;
    text-align: center;
  }

  .reveal__drag-hint {
    align-self: center;
    margin-top: 20px;
    padding: 11px 16px;
  }

  .reveal__gallery-backdrop {
    display: none;
  }

  .reveal__gallery-backdrop-mobile {
    display: block;
  }

  .reveal__gallery-arrow {
    width: 48px;
    height: 48px;
  }

  .project-modal__panel {
    grid-template-columns: 1fr;
    width: min(760px, calc(100vw - 40px));
  }

  .project-modal__media-stage {
    height: 280px;
    max-height: min(52svh, 420px);
  }
}

@media (max-width: 1023px) and (min-width: 769px) {
  .hero__main {
    margin-right: 28px;
  }

  .hero__content {
    margin-right: 72px;
  }

  .hero__brand-lottie {
    align-self: flex-start;
  }
}

@media (min-width: 1024px) and (max-width: 1919px) {
  .hero__nav-inner {
    gap: 12px;
    padding: 3px 13px;
  }

  .hero__nav-logo {
    width: 86px;
    max-height: 50px;
  }

  .hero__nav-menu {
    gap: 12px;
  }

  .hero__nav-menu a,
  .hero__nav-trigger,
  .hero__nav-link-button {
    font-size: 0.9rem;
  }

  .hero__main {
    margin-right: 26px;
  }

  .hero__content-wrap {
    transform: translateY(-34px);
  }

  .hero__content {
    width: min(470px, 100%);
    margin-right: 110px;
  }

  .hero__brand-lottie {
    width: clamp(250px, 18vw, 340px);
    height: clamp(250px, 18vw, 340px);
    margin-bottom: -82px;
    margin-left: -34px;
  }

  .hero__title {
    font-size: clamp(3rem, 4.25vw, 4.25rem);
    line-height: 0.94;
  }

  .hero__description {
    max-width: 360px;
    font-size: 0.92rem;
    line-height: 1.56;
  }

  .hero__video-cta {
    margin-top: 18px;
    padding: 11px 16px;
  }

  .hero__video-cta-label {
    font-size: 0.9rem;
  }
}

@media (min-width: 1024px) and (max-width: 1919px) and (max-height: 980px) {
  .hero__brand-lottie {
    width: clamp(276px, 19vw, 356px);
    height: clamp(276px, 19vw, 356px);
    margin-bottom: -54px;
  }
}

/* MOBILE */
@media (max-width: 768px) {
  .loading-screen__logo {
    width: clamp(100px, 24vw, 130px);
    margin-bottom: 22px;
  }

  .loading-screen__dots {
    gap: 14px;
  }

  .loading-screen__dot {
    width: 12px;
    height: 12px;
  }

  .hero__overlay {
    background:
      linear-gradient(
        180deg,
        rgba(17, 17, 17, 0.08) 0%,
        rgba(17, 17, 17, 0.22) 28%,
        rgba(17, 17, 17, 0.78) 72%,
        rgba(17, 17, 17, 0.88) 100%
      ),
      radial-gradient(
        circle at 18% 12%,
        rgba(246, 189, 31, 0.12),
        transparent 34%
      );
  }

  .hero__shell {
    padding: 16px 14px;
  }

  .hero__nav {
    position: absolute;
    top: 16px;
    left: 50%;
    width: max-content;
    margin: 0;
    justify-content: center;
    justify-self: auto;
    transform: translateX(-50%) translateY(18px);
  }

  body.page-ready .hero__nav {
    transform: translateX(-50%) translateY(0);
  }

  .hero__nav-inner {
    width: fit-content;
    max-width: 100%;
    margin-inline: auto;
    justify-content: center;
    gap: 7px;
    padding: 3px 10px;
  }

  .hero__nav-logo {
    width: 56px;
    height: auto;
    max-height: 34px;
  }

  .hero__nav-menu {
    gap: 8px;
  }

  .hero__nav-menu a,
  .hero__nav-trigger,
  .hero__nav-link-button {
    font-size: 0.74rem;
  }

  .hero__nav-dropdown {
    min-width: 180px;
    padding: 11px;
    gap: 6px;
  }

  .hero__nav-dropdown a,
  .hero__nav-dropdown button {
    padding: 8px 10px;
    font-size: 0.78rem;
  }

  .hero__main {
    align-items: end;
    justify-content: flex-start;
    margin-right: 0;
    padding-bottom: 18px;
  }

  .hero__content-wrap {
    transform: none;
  }

  .hero__content {
    width: min(100%, 332px);
    max-width: calc(100vw - 36px);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    padding-right: 0;
  }

  body.page-ready .hero__content {
    transform: translateY(200px);
  }

  .hero__brand-lottie {
    width: 200px;
    height: 200px;
    margin-bottom: -40px;
    margin-left: -20px;
    margin-right: 0;
    align-self: flex-start;
    transform: none;
  }

  .hero__title {
    font-size: clamp(1.9rem, 7.8vw, 2.35rem);
    line-height: 0.98;
    letter-spacing: -0.01em;
    margin-bottom: 12px;
    text-align: left;
  }

  .hero__description {
    width: 100%;
    max-width: 100%;
    padding-right: 0;
    font-size: 0.84rem;
    line-height: 1.5;
    text-align: left;
  }

  .hero__video-cta {
    display: none;
  }

  .hero__video-cta-icon {
    width: 30px;
    height: 30px;
  }

  .hero__video-cta-label {
    font-size: 0.84rem;
  }

  .hero__footer {
    position: absolute;
    left: calc(50% + 8px);
    bottom: 16px;
    width: min(calc(100vw - 32px), 360px);
    margin: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    justify-self: auto;
    transform: translateX(-50%);
    padding-top: 0;
    z-index: 6;
  }

  .hero__video-cta--mobile {
    display: inline-flex;
    position: static;
    flex: 1 1 0;
    min-width: 0;
    justify-content: center;
    gap: 8px;
    margin-top: 0;
    padding: 10px 12px;
  }

  .hero__scroll {
    flex: 1 1 0;
    min-width: 0;
    justify-content: center;
    gap: 8px;
    padding: 10px 12px;
    margin-inline: 0;
  }

  .hero__scroll-mouse {
    width: 16px;
    height: 24px;
    padding-top: 4px;
  }

  .hero__scroll-mouse span {
    width: 3px;
    height: 5px;
  }

  .hero__video-cta-label,
  .hero__scroll-label {
    font-size: 0.78rem;
    white-space: nowrap;
  }

  .hero__video-cta-icon {
    width: 28px;
    height: 28px;
  }

  .reveal__text-track {
    gap: 18px;
  }

  .reveal__phrase {
    font-size: clamp(1.8rem, 7vw, 2.7rem);
    letter-spacing: -0.02em;
  }

  .reveal__track-logo {
    width: 84px;
    height: 84px;
  }

  .reveal__logo-mask img {
    width: 84px;
  }

  .reveal__gallery-title {
    font-size: clamp(1.8rem, 7vw, 2.5rem);
    line-height: 1.12;
    letter-spacing: 0.026em;
    text-align: center;
  }

  .reveal__drag-hint {
    display: none;
  }

  .reveal__gallery-arrow {
    width: 42px;
    height: 42px;
    font-size: 1.7rem;
  }

  .reveal__gallery-arrow--prev {
    left: 14px;
  }

  .reveal__gallery-arrow--next {
    right: 14px;
  }

  .reveal__back-top {
    right: 16px;
    bottom: 16px;
    width: 44px;
    height: 44px;
    padding: 0;
  }

  .site-footer {
    position: relative;
    left: auto;
    right: auto;
    bottom: auto;
    z-index: 4;
    opacity: 1;
    pointer-events: auto;
    transform: none;
    margin-top: 0;
    padding: 8px 12px 28px;
    background:
      radial-gradient(circle at 1px 1px, rgba(255, 247, 214, 0.055) 0 1px, transparent 1.8px) 0 0 / 28px 28px,
      radial-gradient(circle at 1px 1px, rgba(246, 189, 31, 0.038) 0 1px, transparent 1.9px) 14px 14px / 28px 28px,
      radial-gradient(circle at 16% 22%, rgba(246, 189, 31, 0.048), transparent 22%),
      radial-gradient(circle at 80% 18%, rgba(255, 255, 255, 0.02), transparent 16%),
      radial-gradient(circle at 52% 78%, rgba(255, 255, 255, 0.015), transparent 22%),
      linear-gradient(180deg, #000000 0%, #010101 46%, #000000 100%);
    background-attachment: fixed;
    overflow: hidden;
  }

  .site-footer.is-visible {
    opacity: 1;
    transform: none;
  }

  .site-footer::before,
  .site-footer::after {
    content: "";
    position: absolute;
    pointer-events: none;
  }

  .site-footer::before {
    inset: -12% 0 0;
    background:
      url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240' viewBox='0 0 240 240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.92' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='240' height='240' filter='url(%23n)' opacity='0.9'/%3E%3C/svg%3E"),
      linear-gradient(118deg, rgba(246, 189, 31, 0.065), transparent 30%, rgba(255, 255, 255, 0.022) 52%, transparent 72%),
      repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.03) 0 1px, transparent 1px 62px),
      repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.028) 0 1px, transparent 1px 62px);
    background-size: 180px 180px, 100% 100%, 62px 62px, 62px 62px;
    background-position: 0 0, 0 0, 0 0, 0 0;
    background-attachment: fixed;
    opacity: 0.18;
    mix-blend-mode: screen;
    filter: blur(0.1px);
    mask-image: radial-gradient(circle at 50% 50%, rgba(0, 0, 0, 0.96), transparent 92%);
    -webkit-mask-image: radial-gradient(circle at 50% 50%, rgba(0, 0, 0, 0.96), transparent 92%);
    animation:
      galleryNoiseDrift 6s linear infinite,
      galleryTextureFloat 10s ease-in-out infinite alternate;
  }

  .site-footer::after {
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 58px;
    border-radius: 0;
    background:
      linear-gradient(
        180deg,
        rgba(0, 0, 0, 0.68) 0%,
        rgba(0, 0, 0, 0.26) 52%,
        rgba(0, 0, 0, 0) 100%
      );
    opacity: 0.9;
    filter: blur(8px);
    mix-blend-mode: normal;
    animation: none;
  }

  .site-footer__shell {
    position: relative;
    min-height: 0;
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 10px;
    padding: 14px 12px 14px;
    text-align: center;
    border-radius: 24px;
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.018)),
      rgba(6, 6, 6, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.16);
    box-shadow:
      0 22px 40px rgba(0, 0, 0, 0.34),
      inset 0 1px 0 rgba(255, 255, 255, 0.07),
      0 0 0 1px rgba(246, 189, 31, 0.07);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
  }

  .site-footer__shell::after {
    content: "";
    position: absolute;
    left: 18px;
    right: 18px;
    bottom: 10px;
    height: 2px;
    border-radius: 999px;
    background:
      linear-gradient(
        90deg,
        transparent 0%,
        rgba(246, 189, 31, 0.28) 10%,
        rgba(246, 189, 31, 0.9) 50%,
        rgba(246, 189, 31, 0.28) 90%,
        transparent 100%
      );
    box-shadow:
      0 0 18px rgba(246, 189, 31, 0.24),
      0 0 38px rgba(246, 189, 31, 0.1);
    pointer-events: none;
  }

  .site-footer__shell > * {
    position: relative;
    z-index: 1;
  }

  .site-footer__meta {
    order: 2;
    align-items: center;
  }

  .site-footer__meta p,
  .site-footer__policy {
    font-size: 0.92rem;
  }

  .site-footer__brand {
    order: 1;
  }

  .site-footer__brand img {
    width: 104px;
  }

  .site-footer__actions {
    order: 3;
    width: fit-content;
    max-width: 100%;
    align-items: center;
    justify-self: center;
    margin-bottom: 8px;
  }

  .site-footer__socials {
    justify-content: center;
  }

  .site-footer__cta {
    width: min(260px, calc(100vw - 48px));
    min-width: 0;
    padding: 12px 14px;
    font-size: 0.84rem;
    align-items: center;
    justify-content: center;
    margin-inline: auto;
    text-align: center;
  }

  .site-footer__cta span {
    text-align: center;
  }

  .project-modal {
    place-items: start center;
    padding: 12px;
    overflow-x: hidden;
  }

  .project-modal__panel {
    width: calc(100vw - 24px);
    max-width: calc(100vw - 24px);
    max-height: calc(100svh - 24px);
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 18px;
    border-radius: 22px;
    box-sizing: border-box;
    overflow-x: hidden;
  }

  .project-modal__close {
    top: 10px;
    right: 10px;
    width: 38px;
    height: 38px;
    font-size: 1.5rem;
  }

  .project-modal__media-stage {
    width: 100%;
    height: 240px;
    max-height: min(42svh, 340px);
  }

  .project-modal__media,
  .project-modal__content,
  .project-modal__meta,
  .project-modal__thumbs,
  .project-modal__thumb,
  .project-modal__meta-item {
    min-width: 0;
    max-width: 100%;
  }

  .project-modal__nav {
    width: 40px;
    height: 40px;
    font-size: 1.6rem;
  }

  .project-modal__nav--prev {
    left: 10px;
  }

  .project-modal__nav--next {
    right: 10px;
  }

  .project-modal__meta {
    grid-template-columns: 1fr;
  }

  .project-modal__thumb img,
  .project-modal__thumb video {
    height: 78px;
  }

  .project-lightbox {
    padding: 0;
  }

  .project-lightbox__panel {
    padding: 12px;
  }

  .project-lightbox__stage {
    width: calc(100vw - 24px);
    height: calc(100svh - 24px);
  }

  .project-lightbox__nav {
    width: 42px;
    height: 42px;
    font-size: 1.7rem;
  }

  .project-lightbox__nav--prev {
    left: 10px;
  }

  .project-lightbox__nav--next {
    right: 10px;
  }

  .project-lightbox__close {
    top: 10px;
    right: 10px;
    width: 40px;
    height: 40px;
    font-size: 1.5rem;
  }

  .hero-video-modal {
    padding: 14px;
  }

  .hero-video-modal__panel {
    width: min(100%, calc(100vw - 20px));
    padding: 12px;
    border-radius: 22px;
  }

  .hero-video-modal__close {
    top: 10px;
    right: 10px;
    width: 38px;
    height: 38px;
    font-size: 1.5rem;
  }

  .hero-video-modal__media {
    border-radius: 18px;
  }
}

/* HONEYCOMB GALLERY OVERRIDES */
.reveal__gallery-backdrop {
  position: absolute;
  inset: 0;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(circle at 1px 1px, rgba(255, 247, 214, 0.05) 0 1px, transparent 1.8px) 0 0 / 34px 34px,
    radial-gradient(circle at 1px 1px, rgba(246, 189, 31, 0.035) 0 1px, transparent 1.9px) 17px 17px / 34px 34px,
    radial-gradient(circle at 18% 24%, rgba(246, 189, 31, 0.04), transparent 22%),
    radial-gradient(circle at 78% 18%, rgba(255, 255, 255, 0.018), transparent 16%),
    radial-gradient(circle at 52% 78%, rgba(255, 255, 255, 0.014), transparent 22%),
    linear-gradient(180deg, #000000 0%, #010101 46%, #000000 100%);
  transform: none;
  filter: none;
  box-shadow: none;
  animation: galleryBackdropFloat 10s ease-in-out infinite alternate;
}

.reveal__gallery-backdrop::before,
.reveal__gallery-backdrop::after {
  content: "";
  position: absolute;
  inset: auto;
  pointer-events: none;
}

.reveal__gallery-backdrop::before {
  inset: -12%;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240' viewBox='0 0 240 240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.92' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='240' height='240' filter='url(%23n)' opacity='0.9'/%3E%3C/svg%3E"),
    linear-gradient(118deg, rgba(246, 189, 31, 0.06), transparent 30%, rgba(255, 255, 255, 0.022) 52%, transparent 72%),
    repeating-linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.032) 0 1px,
      transparent 1px 76px
    ),
    repeating-linear-gradient(
      0deg,
      rgba(255, 255, 255, 0.028) 0 1px,
      transparent 1px 76px
    );
  background-size: 220px 220px, 100% 100%, 76px 76px, 76px 76px;
  background-position: 0 0, 0 0, 0 0, 0 0;
  opacity: 0.18;
  mix-blend-mode: screen;
  filter: blur(0.1px);
  mask-image: radial-gradient(circle at 50% 50%, rgba(0, 0, 0, 0.96), transparent 92%);
  -webkit-mask-image: radial-gradient(circle at 50% 50%, rgba(0, 0, 0, 0.96), transparent 92%);
  will-change: transform, opacity, background-position;
  animation:
    galleryNoiseDrift 6s linear infinite,
    galleryTextureFloat 10s ease-in-out infinite alternate;
}

.reveal__gallery-backdrop::after {
  top: -18%;
  right: 8%;
  width: min(42vw, 520px);
  height: 138%;
  border-radius: 999px;
  background:
    radial-gradient(circle at 50% 16%, rgba(255, 243, 197, 0.16), transparent 30%),
    linear-gradient(
      180deg,
      rgba(246, 189, 31, 0.12) 0%,
      rgba(246, 189, 31, 0.035) 34%,
      rgba(246, 189, 31, 0.01) 68%,
      transparent 100%
    );
  filter: blur(62px);
  opacity: 0.2;
  mix-blend-mode: screen;
  transform: rotate(-10deg);
  transform-origin: 50% 12%;
  animation: galleryLightPillar 8s ease-in-out infinite alternate;
}

@keyframes galleryNoiseDrift {
  0% {
    background-position: 0 0, 0 0, 0 0, 0 0;
  }

  50% {
    background-position: 20px 14px, 0 0, 3px 0, 0 4px;
  }

  100% {
    background-position: 42px 28px, 0 0, 8px 0, 0 8px;
  }
}

@keyframes galleryBackdropFloat {
  0% {
    background-position:
      0 0,
      17px 17px,
      18% 24%,
      78% 18%,
      52% 78%,
      0 0;
  }

  100% {
    background-position:
      26px 18px,
      47px 39px,
      12% 20%,
      84% 22%,
      48% 74%,
      0 0;
  }
}

@keyframes galleryTextureFloat {
  0% {
    transform: translate3d(-18px, -12px, 0) scale(1);
  }

  50% {
    transform: translate3d(14px, 16px, 0) scale(1.03);
  }

  100% {
    transform: translate3d(26px, -14px, 0) scale(1.05);
  }
}

@keyframes galleryLightPillar {
  0% {
    transform: translate3d(-4%, -2%, 0) rotate(-13deg) scaleY(0.96);
    opacity: 0.3;
  }

  50% {
    transform: translate3d(3.2%, 2.8%, 0) rotate(-6deg) scaleY(1.06);
    opacity: 0.46;
  }

  100% {
    transform: translate3d(6%, -3%, 0) rotate(-4deg) scaleY(1.08);
    opacity: 0.36;
  }
}

.reveal__gallery-shell {
  position: relative;
  z-index: 6;
  display: grid;
  grid-template-rows: auto 1fr;
  width: 100%;
  height: 100dvh;
  min-height: 100dvh;
  margin-inline: auto;
  padding: clamp(52px, 5.6vh, 70px) clamp(12px, 2.2vw, 28px) clamp(40px, 5vh, 64px);
  overflow: hidden;
}

.reveal__gallery-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  opacity: 0;
  will-change: opacity, transform;
}

.reveal__gallery-body {
  display: grid;
  grid-template-columns: 1fr;
  justify-items: center;
  align-items: stretch;
  gap: 18px;
  height: 100%;
  min-height: 0;
  overflow: hidden;
  opacity: 0;
  will-change: opacity, transform;
}

.reveal__gallery-title {
  position: relative;
  display: block;
  max-width: 100%;
  margin: 0;
  text-align: center;
  padding-bottom: 0;
  opacity: 0;
  will-change: opacity, transform;
  z-index: 5;
}

.reveal__gallery-title-copy {
  margin: 0;
  color: rgba(244, 241, 234, 0.72);
  font-size: clamp(0.98rem, 1.2vw, 1.08rem);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.reveal__gallery-filterbar {
  display: flex;
  align-items: center;
  gap: 10px;
  width: min(100%, 560px);
  margin-inline: auto;
  padding: 4px 10px 4px 8px;
  border: 1px solid var(--glass-border);
  border-radius: 999px;
  background: var(--glass);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
}

.reveal__gallery-filter-icon {
  position: relative;
  display: inline-flex;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  color: rgba(244, 241, 234, 0.96);
}

.reveal__gallery-filter-icon::before {
  content: "";
  width: 20px;
  height: 22px;
  background: currentColor;
  clip-path: polygon(0 0, 100% 0, 64% 40%, 64% 100%, 36% 100%, 36% 40%);
}

.reveal__gallery-filters {
  display: flex;
  flex: 1 1 auto;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 4px;
  width: 100%;
  opacity: 0;
  will-change: opacity, transform;
}

.reveal__gallery-filter {
  appearance: none;
  border: 0;
  border-radius: 999px;
  padding: 10px 11px;
  background: transparent;
  color: rgba(244, 241, 234, 0.96);
  font-size: 0.82rem;
  font-weight: 500;
  line-height: 1;
  cursor: pointer;
  white-space: nowrap;
  transition:
    transform 0.22s ease,
    background 0.22s ease,
    color 0.22s ease,
    opacity 0.22s ease;
}

.reveal__gallery-filter-select {
  appearance: none;
  width: 100%;
  border: 0;
  border-radius: 999px;
  padding: 12px 40px 12px 16px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03)),
    rgba(14, 14, 14, 0.7);
  color: rgba(244, 241, 234, 0.96);
  font-size: 0.88rem;
  font-weight: 500;
  line-height: 1.1;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 10px 24px rgba(0, 0, 0, 0.16);
  outline: none;
  cursor: pointer;
}

.reveal__gallery-filter-select:focus-visible {
  border-color: rgba(246, 189, 31, 0.48);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 0 0 1px rgba(246, 189, 31, 0.24),
    0 12px 26px rgba(0, 0, 0, 0.18);
}

.reveal__gallery-filter:hover,
.reveal__gallery-filter:focus-visible {
  transform: translateY(-1px);
  color: var(--yellow);
  outline: none;
}

.reveal__gallery-filter.is-active {
  color: var(--yellow);
}

.reveal__gallery-grid-wrap {
  --gallery-overflow: clamp(56px, 10vw, 220px);
  position: relative;
  display: grid;
  place-items: start center;
  width: 100%;
  max-width: 100%;
  height: 100%;
  min-height: 0;
  max-height: 100%;
  padding: clamp(12px, 1.8vh, 20px) clamp(4px, 0.9vw, 10px) clamp(20px, 2.6vh, 30px);
  margin-inline: auto;
  isolation: isolate;
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
  scroll-behavior: smooth;
}

.reveal__gallery-grid-wrap::-webkit-scrollbar {
  display: none;
}

.reveal__gallery-grid-wrap::before,
.reveal__gallery-grid-wrap::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.reveal__gallery-grid-wrap::before {
  content: none;
}

.reveal__gallery-grid-wrap::after {
  inset: 14% 6%;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.06), transparent 72%);
  filter: blur(84px);
  opacity: 0.1;
}

.reveal__gallery-grid {
  --hex-width: 188px;
  --hex-height: calc(var(--hex-width) * 0.8660254);
  position: relative;
  z-index: 3;
  width: fit-content;
  max-width: none;
  opacity: 0;
  will-change: opacity, transform;
  filter: drop-shadow(0 28px 48px rgba(0, 0, 0, 0.24));
  transition: width 0.42s cubic-bezier(0.22, 1, 0.36, 1), height 0.42s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal__gallery-row {
  display: contents;
}

.reveal__gallery-row--offset {
  padding-inline-start: 0;
}

.reveal__gallery-ghost {
  --hex-glow: 0;
  --glow-x: 50%;
  --glow-y: 50%;
  position: absolute;
  display: block;
  clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%);
  border: 1px solid rgba(255, 255, 255, 0.16);
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01)),
    rgba(0, 0, 0, 0.76);
  opacity: calc(0.92 + (0.08 * var(--hex-glow)));
  pointer-events: none;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 0 0 1px rgba(0, 0, 0, 0.2),
    0 0 18px rgba(246, 189, 31, 0.06);
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    opacity 0.2s ease;
}

.reveal__gallery-item,
.reveal__gallery-lead {
  --hex-shape: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%);
  --hex-glow: 0;
  --glow-x: 50%;
  --glow-y: 50%;
  --glow-angle: 0deg;
  position: relative;
  width: var(--hex-width);
  height: var(--hex-height);
  clip-path: var(--hex-shape);
  overflow: hidden;
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.04) 38%, rgba(255, 255, 255, 0.02) 100%),
    rgba(12, 12, 12, 0.34);
  backdrop-filter: blur(26px) saturate(1.08);
  -webkit-backdrop-filter: blur(26px) saturate(1.08);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.14),
    0 18px 40px rgba(0, 0, 0, 0.18),
    0 0 0 1px rgba(246, 189, 31, 0.12);
}

.reveal__gallery-item {
  position: absolute;
  --gallery-item-scale: 1;
  --gallery-item-lift: 0px;
  --gallery-item-opacity: 1;
  padding: 0;
  border: 0;
  cursor: pointer;
  opacity: calc(var(--gallery-item-opacity) * var(--gallery-card-visibility, 1));
  transform: translate3d(0, var(--gallery-item-lift), 0) scale(var(--gallery-item-scale));
  transition:
    left 0.42s cubic-bezier(0.22, 1, 0.36, 1),
    top 0.42s cubic-bezier(0.22, 1, 0.36, 1),
    width 0.42s cubic-bezier(0.22, 1, 0.36, 1),
    height 0.42s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.28s ease,
    filter 0.28s ease,
    box-shadow 0.28s ease,
    background 0.28s ease,
    opacity 0.32s ease;
}

.reveal__gallery-item::before,
.reveal__gallery-lead::before {
  content: "";
  position: absolute;
  inset: 0;
  padding: 2.5px;
  clip-path: inherit;
  pointer-events: none;
  z-index: 4;
  background:
    linear-gradient(rgba(255, 240, 196, 0.08), rgba(255, 240, 196, 0.05)) padding-box,
    conic-gradient(
      from var(--glow-angle) at 50% 50%,
      transparent 0deg 274deg,
      rgba(246, 189, 31, calc(0.3 + 0.98 * var(--hex-glow))) 294deg,
      rgba(255, 234, 156, calc(0.5 + 1.36 * var(--hex-glow))) 320deg,
      rgba(246, 189, 31, calc(0.3 + 1 * var(--hex-glow))) 348deg,
      transparent 360deg
    ) border-box;
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  mask-composite: exclude;
  box-shadow:
    0 0 calc(34px + 54px * var(--hex-glow)) rgba(246, 189, 31, calc(0.28 + 0.52 * var(--hex-glow)));
}

.reveal__gallery-item::after,
.reveal__gallery-lead::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.16) 0%, rgba(255, 255, 255, 0.02) 32%, rgba(0, 0, 0, 0.2) 100%),
    radial-gradient(circle at 30% 18%, rgba(255, 255, 255, 0.2), transparent 34%);
  pointer-events: none;
}

.reveal__gallery-ghost::before {
  content: "";
  position: absolute;
  inset: 0;
  padding: 2px;
  clip-path: inherit;
  pointer-events: none;
  background:
    linear-gradient(rgba(255, 240, 196, 0.06), rgba(255, 240, 196, 0.04)) padding-box,
    conic-gradient(
      from var(--glow-angle) at 50% 50%,
      transparent 0deg 276deg,
      rgba(246, 189, 31, calc(0.22 + 0.76 * var(--hex-glow))) 298deg,
      rgba(255, 234, 156, calc(0.32 + 1.02 * var(--hex-glow))) 322deg,
      rgba(246, 189, 31, calc(0.22 + 0.78 * var(--hex-glow))) 348deg,
      transparent 360deg
    ) border-box;
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  mask-composite: exclude;
  box-shadow:
    0 0 calc(24px + 34px * var(--hex-glow)) rgba(246, 189, 31, calc(0.16 + 0.36 * var(--hex-glow)));
}

.reveal__gallery-item[data-gallery-anchor="true"]::before {
  border-color: rgba(246, 189, 31, 0.42);
  box-shadow:
    inset 0 0 0 1px rgba(246, 189, 31, 0.16),
    0 0 28px rgba(246, 189, 31, 0.1);
}

.reveal__gallery-item.is-entering {
  --gallery-item-scale: 0.78;
  --gallery-item-lift: 18px;
  --gallery-item-opacity: 0;
  pointer-events: none;
}

.reveal__gallery-item.is-exiting {
  --gallery-item-scale: 0.72;
  --gallery-item-lift: 12px;
  --gallery-item-opacity: 0;
  pointer-events: none;
}

.reveal__gallery-item:hover,
.reveal__gallery-item:focus-visible {
  --gallery-item-scale: 1.018;
  --gallery-item-lift: -8px;
  --hex-glow: 1;
  filter: saturate(1.04) brightness(1.05);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    0 24px 48px rgba(0, 0, 0, 0.26),
    0 0 48px rgba(246, 189, 31, 0.34);
  outline: none;
}

.reveal__gallery-item-media,
.reveal__gallery-lead-image {
  position: absolute;
  inset: 3px;
  width: calc(100% - 6px);
  height: calc(100% - 6px);
  z-index: 0;
  clip-path: var(--hex-shape);
  overflow: hidden;
}

.reveal__gallery-item-media img,
.reveal__gallery-lead-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  filter: saturate(0.92) contrast(1.04) brightness(0.9);
  transition: transform 0.45s ease, filter 0.45s ease;
}

.reveal__gallery-item:hover .reveal__gallery-item-media img,
.reveal__gallery-item:focus-visible .reveal__gallery-item-media img {
  transform: scale(1.04);
  filter: saturate(1) contrast(1.06) brightness(0.94);
}

.reveal__gallery-item-content,
.reveal__gallery-item-title,
.reveal__gallery-item-meta {
  display: none;
}

.reveal__gallery-item-content {
  position: absolute;
  inset: auto 14px 16px;
  z-index: 3;
  display: flex;
  flex-direction: column;
  gap: 4px;
  max-width: calc(100% - 28px);
  padding: 12px 14px;
  border-radius: 24px;
  background:
    linear-gradient(135deg, rgba(8, 8, 8, 0.56), rgba(255, 255, 255, 0.08)),
    rgba(12, 12, 12, 0.44);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  color: var(--text);
  text-align: left;
}

.reveal__gallery-item-title {
  font-family: "Onest", sans-serif;
  font-size: 0.94rem;
  font-weight: 700;
  line-height: 1.1;
}

.reveal__gallery-item-meta {
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(244, 241, 234, 0.68);
}

.reveal__gallery-lead {
  position: absolute;
  z-index: 4;
  width: auto;
  aspect-ratio: auto;
  opacity: 0;
  pointer-events: none;
  will-change: left, top, width, height, opacity, transform;
}

.reveal__gallery-lead-logo {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  z-index: 2;
}

.reveal__gallery-lead-logo img {
  width: 36%;
  max-width: 108px;
  object-fit: contain;
  filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.34));
}

.reveal__gallery-empty {
  position: absolute;
  inset: 50% auto auto 50%;
  z-index: 2;
  width: min(420px, calc(100vw - 48px));
  margin: 0;
  transform: translate(-50%, -50%);
  color: rgba(244, 241, 234, 0.78);
  font-size: 1rem;
  line-height: 1.6;
  text-align: center;
}

.project-modal__meta {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 14px;
}

@media (max-width: 1100px) {
  .reveal__gallery-shell {
    height: 100dvh;
    min-height: 100dvh;
    padding-top: 68px;
    padding-bottom: 68px;
    align-content: center;
  }

  .reveal__gallery-head {
    justify-content: center;
  }

  .reveal__gallery-body {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .reveal__gallery-grid-wrap {
    height: 100%;
    min-height: 0;
    padding-inline: 8px;
  }

  .reveal__gallery-title {
    justify-self: center;
    align-items: center;
    max-width: 520px;
    text-align: center;
    padding-bottom: 0;
  }
}

@media (max-width: 768px) {
  html {
    scroll-snap-type: y mandatory;
    scroll-padding-top: 0;
    overflow-x: hidden;
  }

  body {
    overscroll-behavior-y: contain;
    overflow-x: hidden;
  }

  .project-modal,
  .project-lightbox {
    width: 100vw;
    max-width: 100vw;
  }

  #hero,
  .reveal-section,
  .portfolio-section,
  .site-footer {
    scroll-snap-align: start;
    scroll-snap-stop: always;
  }

  .reveal__gallery-backdrop-mobile {
    background:
      radial-gradient(circle at 1px 1px, rgba(255, 247, 214, 0.055) 0 1px, transparent 1.8px) 0 0 / 28px 28px,
      radial-gradient(circle at 1px 1px, rgba(246, 189, 31, 0.038) 0 1px, transparent 1.9px) 14px 14px / 28px 28px,
      radial-gradient(circle at 16% 22%, rgba(246, 189, 31, 0.048), transparent 22%),
      radial-gradient(circle at 80% 18%, rgba(255, 255, 255, 0.02), transparent 16%),
      radial-gradient(circle at 52% 78%, rgba(255, 255, 255, 0.015), transparent 22%),
      linear-gradient(180deg, #000000 0%, #010101 46%, #000000 100%);
    background-size:
      28px 28px,
      28px 28px,
      100% 100%,
      100% 100%,
      100% 100%,
      100% 100%;
    background-position:
      0 0,
      0 0,
      0 0,
      0 0,
      0 0,
      0 0;
    background-attachment: fixed;
    transform: none;
    filter: none;
    box-shadow: none;
    animation:
      galleryBackdropFloat 10s ease-in-out infinite alternate;
  }

  .reveal__gallery-backdrop-mobile::before {
    content: "";
    position: absolute;
    inset: -12%;
    opacity: 0.2;
    background:
      url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240' viewBox='0 0 240 240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.92' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='240' height='240' filter='url(%23n)' opacity='0.9'/%3E%3C/svg%3E"),
      linear-gradient(118deg, rgba(246, 189, 31, 0.065), transparent 30%, rgba(255, 255, 255, 0.022) 52%, transparent 72%),
      repeating-linear-gradient(
        90deg,
        rgba(255, 255, 255, 0.03) 0 1px,
        transparent 1px 62px
      ),
      repeating-linear-gradient(
        0deg,
        rgba(255, 255, 255, 0.028) 0 1px,
        transparent 1px 62px
      );
    background-size: 180px 180px, 100% 100%, 62px 62px, 62px 62px;
    background-position: 0 0, 0 0, 0 0, 0 0;
    background-attachment: fixed;
    mask-image: radial-gradient(circle at 50% 50%, rgba(0, 0, 0, 0.96), transparent 92%);
    -webkit-mask-image: radial-gradient(circle at 50% 50%, rgba(0, 0, 0, 0.96), transparent 92%);
    mix-blend-mode: screen;
    filter: blur(0.1px);
    pointer-events: none;
    will-change: transform, opacity, background-position;
    animation:
      galleryNoiseDrift 6s linear infinite,
      galleryTextureFloat 10s ease-in-out infinite alternate;
  }

  .reveal__gallery-backdrop-mobile::after {
    content: "";
    position: absolute;
    top: -18%;
    right: 8%;
    width: min(58vw, 340px);
    height: 138%;
    border-radius: 999px;
    background:
      radial-gradient(circle at 50% 16%, rgba(255, 243, 197, 0.16), transparent 30%),
      linear-gradient(
        180deg,
        rgba(246, 189, 31, 0.12) 0%,
        rgba(246, 189, 31, 0.035) 34%,
        rgba(246, 189, 31, 0.01) 68%,
        transparent 100%
      );
    opacity: 0.22;
    filter: blur(52px);
    mix-blend-mode: screen;
    transform: rotate(-10deg);
    transform-origin: 50% 12%;
    pointer-events: none;
    animation: galleryLightPillar 8s ease-in-out infinite alternate;
  }

  .reveal__gallery-shell {
    height: 100dvh;
    min-height: 100dvh;
    padding: 30px 0 28px;
    grid-template-rows: auto 1fr;
    align-content: stretch;
    justify-items: stretch;
  }

  .reveal__gallery-head {
    width: 100%;
    gap: 14px;
    justify-content: start;
    align-items: center;
    padding: 8px 0;
  }

  .reveal__gallery-filterbar {
    width: min(100%, 342px);
    gap: 10px;
    padding: 10px 12px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(12, 12, 12, 0.82);
    box-shadow:
      0 18px 34px rgba(0, 0, 0, 0.22),
      inset 0 1px 0 rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
  }

  .reveal__gallery-filter-icon {
    display: none;
  }

  .reveal__gallery-grid-wrap {
    --gallery-overflow: 0px;
    width: 100%;
    height: auto;
    max-height: min(60vh, 480px);
    min-height: 0;
    padding-inline: 0;
    padding-top: 6px;
    padding-bottom: 76px;
    margin-inline: 0;
    overflow-x: hidden;
    overflow-y: hidden;
    display: grid;
    place-items: center;
    touch-action: pan-y;
    scroll-padding-inline: 0;
    scrollbar-width: none;
    overscroll-behavior-x: none;
    overscroll-behavior-y: contain;
  }

  .reveal__gallery-grid {
    margin-inline: auto;
    padding-block: 2px 8px;
    max-width: 100%;
  }

  .reveal__gallery-grid-wrap::-webkit-scrollbar {
    display: none;
  }

  .reveal__gallery-grid-wrap::before {
    inset: 8% 0 4%;
    border-radius: 30px;
  }

  .reveal__gallery-title {
    max-width: 320px;
    margin-inline: auto;
    font-size: 0.92em;
  }

  .reveal__gallery-title-copy {
    font-size: 0.86rem;
    letter-spacing: 0.1em;
    line-height: 1.35;
  }

  .reveal__gallery-body {
    height: 100%;
    width: 100%;
    align-content: center;
    justify-items: center;
    gap: 8px;
    padding-inline: 0;
  }

  .reveal__gallery-filters {
    gap: 0;
    justify-content: center;
    width: 100%;
  }

  .reveal__gallery-filter {
    width: 100%;
    justify-content: center;
    padding: 10px 12px;
    font-size: 0.82rem;
    text-align: center;
  }

  .reveal__gallery-filters[data-mode="select"] {
    display: block;
  }

  .reveal__gallery-filter-select {
    padding: 11px 44px 11px 16px;
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03)),
      rgba(12, 12, 12, 0.82);
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 999px;
    box-shadow:
      0 18px 34px rgba(0, 0, 0, 0.22),
      inset 0 1px 0 rgba(255, 255, 255, 0.06);
    font-size: 0.84rem;
    font-weight: 500;
    color: rgba(244, 241, 234, 0.96);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    background-image:
      linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03)),
      linear-gradient(45deg, transparent 50%, rgba(244, 241, 234, 0.86) 50%),
      linear-gradient(135deg, rgba(244, 241, 234, 0.86) 50%, transparent 50%);
    background-size:
      100% 100%,
      8px 8px,
      8px 8px;
    background-position:
      0 0,
      calc(100% - 22px) calc(50% - 2px),
      calc(100% - 17px) calc(50% - 2px);
    background-repeat: no-repeat;
  }

  .reveal__back-top {
    position: absolute;
    left: 50%;
    right: auto;
    bottom: 18px;
    min-width: 172px;
    height: 48px;
    padding: 0 16px 0 14px;
    transform: translate(-50%, 8px);
  }

  .reveal__back-top-label {
    font-size: 0.8rem;
  }

  .reveal__back-top.is-visible {
    transform: translate(-50%, 0);
  }

  .project-modal__panel::after {
    content: none;
  }

  .project-modal__panel {
    padding-bottom: 40px;
  }

  .project-modal__content {
    padding-bottom: 10px;
  }

  .project-modal__content::after {
    content: "";
    display: block;
    width: 100%;
    height: 2px;
    margin-top: 16px;
    border-radius: 999px;
    background:
      linear-gradient(
        90deg,
        transparent 0%,
        rgba(246, 189, 31, 0.28) 10%,
        rgba(246, 189, 31, 0.9) 50%,
        rgba(246, 189, 31, 0.28) 90%,
        transparent 100%
      );
    box-shadow:
      0 0 18px rgba(246, 189, 31, 0.24),
      0 0 38px rgba(246, 189, 31, 0.1);
  }

  .reveal__gallery-item-content {
    inset: auto 10px 12px;
    max-width: calc(100% - 20px);
    padding: 10px 12px;
  }

  .reveal__gallery-item-title {
    font-size: 0.84rem;
  }

  .reveal__gallery-item-meta {
    font-size: 0.66rem;
  }

  .project-modal__meta {
    grid-template-columns: 1fr;
  }
}

/* CONTACTS PAGE */
.contacts-page {
  min-height: 100svh;
  overflow-x: hidden;
  overflow-y: auto;
  background:
    radial-gradient(circle at 14% 16%, rgba(246, 189, 31, 0.12), transparent 24%),
    radial-gradient(circle at 84% 14%, rgba(255, 255, 255, 0.08), transparent 20%),
    linear-gradient(180deg, #080808 0%, #101010 52%, #0a0a0a 100%);
}

.contacts-page::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.04), transparent 24%),
    linear-gradient(300deg, rgba(255, 255, 255, 0.03), transparent 20%);
  opacity: 0.55;
}

.contacts-page__shell {
  position: relative;
  z-index: 1;
  min-height: 100svh;
  padding: 26px clamp(18px, 3vw, 40px) 40px;
}

.contacts-page__nav-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: clamp(42px, 8vh, 88px);
}

.contacts-page__nav {
  opacity: 1;
  transform: none;
}

.contacts-page__hero {
  display: flex;
  justify-content: center;
  margin-bottom: clamp(28px, 6vh, 52px);
}

.contacts-page__hero-copy {
  width: min(760px, 100%);
  text-align: center;
}

.contacts-page__eyebrow {
  margin: 0 0 12px;
  color: var(--yellow);
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.contacts-page__title {
  margin: 0;
  font-family: "Onest", sans-serif;
  font-size: clamp(2.3rem, 5vw, 4.6rem);
  line-height: 0.94;
  letter-spacing: -0.04em;
}

.contacts-page__description {
  width: min(560px, 100%);
  margin: 16px auto 0;
  color: rgba(244, 241, 234, 0.72);
  font-size: 1rem;
  line-height: 1.65;
}

.contacts-page__cards {
  width: min(760px, 100%);
  margin: 0 auto;
  display: grid;
  gap: 18px;
}

.contacts-card {
  position: relative;
  display: grid;
  gap: 14px;
  padding: 18px 18px 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03)),
    rgba(17, 17, 17, 0.58);
  box-shadow:
    0 18px 44px rgba(0, 0, 0, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
}

.contacts-card__brand {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding-bottom: 4px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.contacts-card__logo {
  display: block;
  width: min(204px, 88%);
  max-height: 62px;
  object-fit: contain;
}

.contacts-card__actions {
  display: grid;
  gap: 8px;
}

.contacts-card__button {
  display: inline-grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  width: 100%;
  min-height: 54px;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  background: rgba(12, 12, 12, 0.92);
  color: var(--text);
  text-decoration: none;
  text-align: left;
  min-width: 0;
  transition:
    transform 0.22s ease,
    border-color 0.22s ease,
    background 0.22s ease,
    box-shadow 0.22s ease;
}

.contacts-card__button:hover,
.contacts-card__button:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(246, 189, 31, 0.3);
  background: rgba(18, 18, 18, 0.96);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.22);
  outline: none;
}

.contacts-card__button img {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  filter: brightness(0) invert(1);
}

.contacts-card__button-copy {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.contacts-card__button-label {
  display: block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(244, 241, 234, 0.6);
}

.contacts-card__button-value {
  display: block;
  min-width: 0;
  white-space: nowrap;
  font-size: 0.82rem;
  line-height: 1.22;
}

.contacts-card__button > span:last-child {
  min-width: 0;
}

.contacts-card__button--stacked {
  align-items: start;
}

.contacts-card__button--whatsapp {
  background:
    linear-gradient(135deg, rgba(246, 189, 31, 0.98), rgba(230, 169, 0, 0.92));
  border-color: rgba(246, 189, 31, 0.62);
  color: #101010;
  box-shadow: 0 12px 24px rgba(246, 189, 31, 0.18);
}

.contacts-card__button--whatsapp img {
  filter: brightness(0) saturate(100%);
}

.contacts-card__button--whatsapp .contacts-card__button-label,
.contacts-card__button--whatsapp .contacts-card__button-value {
  color: rgba(16, 16, 16, 0.92);
}

.contacts-card__button--whatsapp:hover,
.contacts-card__button--whatsapp:focus-visible {
  background:
    linear-gradient(135deg, rgba(255, 224, 125, 0.98), rgba(246, 189, 31, 0.96));
  border-color: rgba(255, 224, 125, 0.82);
  box-shadow: 0 14px 26px rgba(246, 189, 31, 0.24);
}

.contacts-card__button--email {
  justify-content: flex-start;
  background:
    linear-gradient(180deg, rgba(26, 26, 26, 0.98), rgba(16, 16, 16, 0.98));
  border-color: rgba(255, 255, 255, 0.12);
}

.contacts-card__button--secondary {
  appearance: none;
  justify-content: center;
  cursor: pointer;
  background:
    linear-gradient(135deg, rgba(246, 189, 31, 0.14), rgba(255, 255, 255, 0.04)),
    rgba(255, 255, 255, 0.04);
}

.contacts-card__mail-icon {
  position: relative;
  display: inline-flex;
  width: 22px;
  height: 18px;
  border: 1.4px solid currentColor;
  border-radius: 4px;
  flex-shrink: 0;
  overflow: hidden;
}

.contacts-card__mail-icon::before {
  content: "";
  position: absolute;
  inset: 2px auto auto 2px;
  width: 11px;
  height: 11px;
  border-top: 1.4px solid currentColor;
  border-right: 1.4px solid currentColor;
  transform: rotate(38deg);
  transform-origin: top left;
}

.contacts-card__mail-icon::after {
  content: "";
  position: absolute;
  inset: 2px 2px auto auto;
  width: 11px;
  height: 11px;
  border-top: 1.4px solid currentColor;
  border-left: 1.4px solid currentColor;
  transform: rotate(-38deg);
  transform-origin: top right;
}

.contact-company-modal {
  position: fixed;
  inset: 0;
  z-index: 12250;
  display: grid;
  place-items: center;
  padding: 28px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.contact-company-modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

.contact-company-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(6, 6, 6, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.contact-company-modal__panel {
  position: relative;
  z-index: 1;
  width: min(760px, calc(100vw - 40px));
  max-height: min(92svh, 720px);
  display: block;
  padding: 28px 24px 22px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 30px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.04)),
    rgba(17, 17, 17, 0.78);
  box-shadow:
    0 28px 80px rgba(0, 0, 0, 0.38),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  overflow: hidden;
}

.contact-company-modal__panel::after,
.contacts-modal__panel::after {
  content: "";
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 14px;
  height: 2px;
  border-radius: 999px;
  background:
    linear-gradient(
      90deg,
      transparent 0%,
      rgba(246, 189, 31, 0.28) 10%,
      rgba(246, 189, 31, 0.9) 50%,
      rgba(246, 189, 31, 0.28) 90%,
      transparent 100%
    );
  box-shadow:
    0 0 18px rgba(246, 189, 31, 0.24),
    0 0 38px rgba(246, 189, 31, 0.1);
  pointer-events: none;
}

.contact-company-modal__close {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 2;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  font-size: 1.7rem;
  line-height: 1;
  cursor: pointer;
}

.contact-company-modal__content {
  display: grid;
  gap: 14px;
  min-width: 0;
  text-align: center;
  max-height: calc(min(92svh, 720px) - 54px);
  padding-bottom: 24px;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}

.contact-company-modal__brand {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 92px;
  margin: 10px 0 6px;
}

.contact-company-modal__logo {
  display: block;
  width: min(290px, 74%);
  max-height: 92px;
  object-fit: contain;
}

.contact-company-modal__body {
  display: grid;
  gap: 16px;
  color: rgba(244, 241, 234, 0.84);
  font-size: 0.88rem;
  line-height: 1.62;
  text-align: left;
}

.contact-company-modal__body p,
.contact-company-modal__body h3,
.contact-company-modal__body ul {
  margin: 0;
}

.contact-company-modal__body h3 {
  color: var(--text);
  font-size: 0.88rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.contact-company-modal__body ul {
  padding-left: 18px;
  columns: 2;
  column-gap: 20px;
  padding-right: 4px;
}

.contact-company-modal__body li {
  break-inside: avoid;
}

.contact-company-modal__body li + li {
  margin-top: 6px;
}

.contact-company-modal__actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 4px;
}

.contacts-modal {
  position: fixed;
  inset: 0;
  z-index: 12240;
  display: grid;
  place-items: center;
  padding: 28px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.contacts-modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

.contacts-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(6, 6, 6, 0.68);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.contacts-modal__panel {
  position: relative;
  z-index: 1;
  width: min(980px, calc(100vw - 36px));
  max-height: min(82svh, 460px);
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  gap: 16px;
  padding: 18px 22px 22px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 30px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.11), rgba(255, 255, 255, 0.04)),
    rgba(15, 15, 15, 0.82);
  box-shadow:
    0 28px 80px rgba(0, 0, 0, 0.38),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  overflow: hidden;
}

.contacts-modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 42px;
  width: 100%;
}

.contacts-modal__header-spacer {
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
}

.contacts-modal__close {
  position: relative;
  top: auto;
  right: auto;
  z-index: 2;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  font-size: 1.7rem;
  line-height: 1;
  cursor: pointer;
}

.contacts-modal__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  gap: 16px;
  width: 100%;
  margin: 0 auto;
  min-height: 0;
  padding-bottom: 24px;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}

@media (max-width: 1100px) {
  .contacts-modal__panel {
    max-height: min(88svh, 760px);
    overflow-y: auto;
  }

  .contacts-modal__grid {
    grid-template-columns: 1fr;
  }

  .contacts-card__button-value {
    white-space: normal;
    overflow-wrap: anywhere;
  }
}

@media (max-width: 768px) {
  .contacts-page__shell {
    padding: 16px 14px 28px;
  }

  .contacts-page__nav-wrap {
    margin-bottom: 34px;
  }

  .contacts-page__title {
    font-size: clamp(2rem, 10vw, 2.8rem);
  }

  .contacts-page__description {
    font-size: 0.92rem;
  }

  .contacts-card {
    padding: 18px;
    border-radius: 24px;
  }

  .contacts-card__button {
    min-height: 58px;
    padding: 14px 16px;
  }

  .contacts-card__button-value {
    font-size: 0.9rem;
  }

  .contact-company-modal {
    padding: 14px;
  }

  .contacts-modal {
    padding: 14px;
  }

  .contacts-modal__panel {
    width: min(100vw - 20px, 100%);
    max-height: min(90svh, 720px);
    padding: 16px 14px 24px;
    border-radius: 24px;
  }

  .contact-company-modal__panel::after,
  .contacts-modal__panel::after {
    left: 16px;
    right: 16px;
    bottom: 12px;
  }

  .contacts-modal__grid {
    gap: 14px;
    padding-bottom: 20px;
  }

  .contact-company-modal__panel {
    width: min(100vw - 20px, 100%);
    max-height: min(90svh, 720px);
    padding: 18px 14px 24px;
    border-radius: 24px;
  }

  .contact-company-modal__content {
    max-height: calc(min(90svh, 720px) - 52px);
    padding-bottom: 20px;
  }

  .contact-company-modal__brand {
    min-height: 60px;
  }

  .contact-company-modal__logo {
    width: min(188px, 72%);
    max-height: 58px;
  }

  .contact-company-modal__body {
    font-size: 0.84rem;
    line-height: 1.38;
  }

  .contacts-card__button-value {
    font-size: 0.88rem;
  }

  .contact-company-modal__body ul {
    padding-left: 16px;
  }

  .contact-company-modal__actions {
    grid-template-columns: 1fr;
    padding-bottom: 8px;
  }
}

@media (max-width: 520px) {
  .contact-company-modal__body ul {
    columns: 1;
  }
}
