/* Orbix Dijital portfolio category and brand detail pages */
.portfolio-categories {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}
.portfolio-category-card {
  position: relative;
  display: flex;
  overflow: hidden;
  min-height: 430px;
  flex-direction: column;
  justify-content: flex-end;
  padding: 38px;
  border-radius: 30px;
  color: #fff;
  background: #07111f;
  box-shadow: 0 24px 70px rgba(7, 17, 31, 0.14);
  isolation: isolate;
  transition:
    transform 260ms cubic-bezier(0.2, 0.7, 0.2, 1),
    box-shadow 260ms cubic-bezier(0.2, 0.7, 0.2, 1);
}
.portfolio-category-card::before {
  position: absolute;
  z-index: -2;
  inset: 0;
  background-image: var(--category-image);
  background-position: center;
  background-size: cover;
  content: "";
  transform: scale(1.01);
  transition: transform 600ms cubic-bezier(0.2, 0.7, 0.2, 1);
}
.portfolio-category-card::after {
  position: absolute;
  z-index: -1;
  inset: 0;
  background:
    linear-gradient(
      180deg,
      rgba(7, 17, 31, 0.05) 8%,
      rgba(7, 17, 31, 0.2) 42%,
      rgba(7, 17, 31, 0.94) 100%
    ),
    linear-gradient(135deg, rgba(52, 120, 246, 0.12), rgba(117, 87, 232, 0.12));
  content: "";
}
.portfolio-category-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 32px 80px rgba(7, 17, 31, 0.22);
}
.portfolio-category-card:hover::before {
  transform: scale(1.055);
}
.portfolio-category-card--abstract::before {
  background:
    radial-gradient(
      circle at 75% 24%,
      rgba(141, 175, 255, 0.34),
      transparent 23%
    ),
    radial-gradient(
      circle at 18% 70%,
      rgba(117, 87, 232, 0.38),
      transparent 31%
    ),
    linear-gradient(145deg, #101e36, #07111f 70%);
}
.portfolio-category-card--web::before {
  background:
    linear-gradient(120deg, rgba(52, 120, 246, 0.28), transparent 55%),
    radial-gradient(
      circle at 78% 25%,
      rgba(117, 87, 232, 0.46),
      transparent 25%
    ),
    linear-gradient(145deg, #07111f, #132642);
}
.portfolio-category-card--abstract .portfolio-category-card__orbit,
.portfolio-category-card--web .portfolio-category-card__orbit {
  position: absolute;
  z-index: -1;
  top: 58px;
  right: 42px;
  width: 210px;
  height: 210px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  transform: rotate(-18deg);
}
.portfolio-category-card--abstract .portfolio-category-card__orbit::before,
.portfolio-category-card--web .portfolio-category-card__orbit::before {
  position: absolute;
  top: 14px;
  right: 18px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #8dafff;
  box-shadow: 0 0 0 10px rgba(141, 175, 255, 0.12);
  content: "";
}
.portfolio-category-card__number {
  position: absolute;
  top: 28px;
  left: 32px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
}
.portfolio-category-card__tag {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 14px;
  padding: 7px 11px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  color: #d5ddec;
  background: rgba(7, 17, 31, 0.32);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  backdrop-filter: blur(10px);
}
.portfolio-category-card h2,
.portfolio-category-card h3 {
  max-width: 620px;
  margin-bottom: 12px;
  color: #fff;
  font-size: clamp(1.65rem, 3vw, 2.7rem);
}
.portfolio-category-card p {
  max-width: 560px;
  margin-bottom: 22px;
  color: #c5cfde;
  font-size: 0.9rem;
}
.portfolio-category-card__link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-size: 0.82rem;
  font-weight: 700;
}
.portfolio-category-card__link span {
  font-size: 1.25em;
  transition: transform 220ms ease;
}
.portfolio-category-card:hover .portfolio-category-card__link span {
  transform: translateX(5px);
}
.portfolio-back {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 30px;
  color: var(--blue);
  font-size: 0.82rem;
  font-weight: 700;
}
.portfolio-back:hover {
  gap: 14px;
}
.brand-banner {
  position: relative;
  display: grid;
  overflow: hidden;
  min-height: 440px;
  align-items: center;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 36px;
  padding: 48px;
  border-radius: 32px;
  color: #fff;
  background:
    radial-gradient(
      circle at 82% 18%,
      rgba(255, 202, 0, 0.15),
      transparent 25%
    ),
    linear-gradient(145deg, #080808, #141414);
  box-shadow: 0 28px 80px rgba(7, 17, 31, 0.16);
}
.brand-banner::after {
  position: absolute;
  right: -110px;
  bottom: -190px;
  width: 440px;
  height: 440px;
  border: 1px solid rgba(255, 202, 0, 0.2);
  border-radius: 50%;
  content: "";
}
.brand-banner__copy {
  position: relative;
  z-index: 2;
}
.brand-banner__logo {
  width: min(360px, 86%);
  margin-bottom: 28px;
}
.brand-banner h2 {
  margin-bottom: 14px;
  color: #fff;
  font-size: clamp(1.8rem, 3.6vw, 3.2rem);
}
.brand-banner p {
  max-width: 520px;
  margin-bottom: 24px;
  color: #c9c9c9;
}
.brand-banner__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-bottom: 28px;
}
.brand-banner__meta span {
  padding: 7px 11px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 999px;
  color: #f3f3f3;
  background: rgba(255, 255, 255, 0.05);
  font-size: 0.68rem;
}
.brand-banner__button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  gap: 10px;
  padding: 0 22px;
  border-radius: 999px;
  color: #111;
  background: #ffca00;
  font-size: 0.82rem;
  font-weight: 800;
  transition:
    transform 220ms ease,
    box-shadow 220ms ease;
}
.brand-banner__button:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(255, 202, 0, 0.2);
}
.brand-banner__preview {
  position: relative;
  z-index: 2;
  display: grid;
  align-items: center;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.brand-banner__preview img {
  width: 100%;
  border-radius: 18px;
  aspect-ratio: 4/5;
  object-fit: cover;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.32);
}
.brand-banner__preview img:nth-child(2) {
  transform: translateY(-22px);
}
.coming-soon-panel {
  position: relative;
  overflow: hidden;
  padding: 70px;
  border: 1px solid var(--line);
  border-radius: 32px;
  background: #fff;
  box-shadow: 0 20px 60px rgba(7, 17, 31, 0.07);
}
.coming-soon-panel::after {
  position: absolute;
  top: -90px;
  right: -70px;
  width: 280px;
  height: 280px;
  border: 1px solid rgba(52, 120, 246, 0.15);
  border-radius: 50%;
  content: "";
}
.coming-soon-panel h2 {
  max-width: 720px;
  margin-bottom: 18px;
}
.project-selection-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}
.project-selection-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: #fff;
  box-shadow: 0 18px 50px rgba(7, 17, 31, 0.06);
}
.project-selection-card__media {
  overflow: hidden;
  aspect-ratio: 1.28/1;
  background: #edf1f6;
}
.project-selection-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms cubic-bezier(0.2, 0.7, 0.2, 1);
}
.project-selection-card:hover img {
  transform: scale(1.025);
}
.project-selection-card__body {
  padding: 26px 28px 28px;
}
.project-selection-card__body span {
  display: block;
  margin-bottom: 9px;
  color: var(--blue);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}
.project-selection-card__body h2 {
  margin-bottom: 0;
  font-size: clamp(1.1rem, 2vw, 1.42rem);
}
.spori-hero {
  position: relative;
  overflow: hidden;
  padding: 178px 0 96px;
  color: #fff;
  background:
    radial-gradient(
      circle at 82% 24%,
      rgba(255, 202, 0, 0.14),
      transparent 22%
    ),
    linear-gradient(145deg, #050505, #111 70%);
}
.spori-hero::before,
.spori-hero::after {
  position: absolute;
  border: 1px solid rgba(255, 202, 0, 0.15);
  border-radius: 50%;
  content: "";
}
.spori-hero::before {
  top: 100px;
  right: -110px;
  width: 430px;
  height: 430px;
}
.spori-hero::after {
  right: 80px;
  bottom: -230px;
  width: 560px;
  height: 560px;
}
.spori-hero__inner {
  position: relative;
  z-index: 2;
  max-width: 980px;
}
.spori-hero .breadcrumb {
  margin-bottom: 34px;
}
.spori-hero__logo {
  width: min(520px, 76vw);
  margin-bottom: 30px;
}
.spori-hero h1 {
  max-width: 850px;
  margin-bottom: 18px;
  color: #fff;
  font-size: clamp(2.4rem, 5.6vw, 5rem);
}
.spori-hero p {
  max-width: 760px;
  margin-bottom: 28px;
  color: #c9c9c9;
  font-size: clamp(1rem, 1.7vw, 1.16rem);
}
.spori-hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.spori-hero__meta span {
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  color: #fff;
  background: rgba(255, 255, 255, 0.05);
  font-size: 0.7rem;
}
.spori-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.spori-gallery__item {
  position: relative;
  overflow: hidden;
  padding: 0;
  border: 0;
  border-radius: 22px;
  cursor: zoom-in;
  background: #e9edf3;
  box-shadow: 0 18px 45px rgba(7, 17, 31, 0.08);
}
.spori-gallery__item::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 70%, rgba(0, 0, 0, 0.18));
  content: "";
  opacity: 0;
  transition: opacity 220ms ease;
}
.spori-gallery__item img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  transition: transform 520ms cubic-bezier(0.2, 0.7, 0.2, 1);
}
.spori-gallery__item:hover img {
  transform: scale(1.025);
}
.spori-gallery__item:hover::after {
  opacity: 1;
}
.portfolio-lightbox[hidden] {
  display: none;
}
.portfolio-lightbox {
  position: fixed;
  z-index: 1000;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 28px;
  background: rgba(2, 5, 10, 0.94);
  backdrop-filter: blur(14px);
}
.portfolio-lightbox__figure {
  display: grid;
  max-width: min(82vw, 760px);
  max-height: 90vh;
  place-items: center;
  margin: 0;
}
.portfolio-lightbox__image {
  max-width: 100%;
  max-height: 84vh;
  border-radius: 18px;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.55);
}
.portfolio-lightbox__close,
.portfolio-lightbox__nav {
  position: fixed;
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  color: #fff;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.08);
  font-size: 1.25rem;
}
.portfolio-lightbox__close {
  top: 24px;
  right: 24px;
}
.portfolio-lightbox__nav--prev {
  top: 50%;
  left: 24px;
}
.portfolio-lightbox__nav--next {
  top: 50%;
  right: 24px;
}
.portfolio-lightbox__counter {
  position: fixed;
  bottom: 24px;
  left: 50%;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.72rem;
  transform: translateX(-50%);
}
@media (max-width: 900px) {
  .portfolio-categories,
  .project-selection-grid {
    grid-template-columns: 1fr;
  }
  .brand-banner {
    grid-template-columns: 1fr;
  }
  .brand-banner__preview {
    max-width: 620px;
  }
  .spori-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 640px) {
  .portfolio-category-card {
    min-height: 360px;
    padding: 28px;
    border-radius: 24px;
  }
  .brand-banner {
    min-height: 0;
    padding: 30px 24px;
    border-radius: 24px;
  }
  .brand-banner__preview {
    gap: 8px;
  }
  .brand-banner__preview img {
    border-radius: 12px;
  }
  .coming-soon-panel {
    padding: 42px 28px;
  }
  .spori-hero {
    padding: 145px 0 72px;
  }
  .spori-gallery {
    grid-template-columns: 1fr;
  }
  .spori-gallery__item {
    border-radius: 18px;
  }
  .portfolio-lightbox {
    padding: 16px;
  }
  .portfolio-lightbox__nav {
    top: auto;
    bottom: 22px;
  }
  .portfolio-lightbox__nav--prev {
    left: 20px;
  }
  .portfolio-lightbox__nav--next {
    right: 20px;
  }
  .portfolio-lightbox__counter {
    bottom: 34px;
  }
}
