.lgvd-portfolio-original,
.lgvd-portfolio-filtered {
  display: none !important;
}

.lgvd-portfolio-page {
  min-height: calc(100vh - 80px);
  padding: 72px 20px 112px;
}

.lgvd-portfolio-page > #long-video {
  margin-top: 12px;
}

.lgvd-local-showcase {
  margin-top: 42px;
}

.lgvd-local-showcase__head h2 {
  margin: 8px 0 0;
  color: #fffaf0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.65rem, 3.6vw, 2.3rem);
  font-weight: 700;
  line-height: 1.2;
}

.lgvd-local-showcase__head > p {
  max-width: 650px;
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 15px;
  line-height: 1.75;
}

.lgvd-local-case-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin-top: 26px;
}

.lgvd-local-case {
  min-width: 0;
}

.lgvd-local-case__media {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 9 / 16;
  overflow: hidden;
  border: 1px solid rgba(216, 181, 106, 0.28);
  border-radius: 14px;
  background: #090909;
  cursor: pointer;
  padding: 0;
}

.lgvd-local-case__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 350ms ease;
}

.lgvd-local-case__media:hover img {
  transform: scale(1.035);
}

.lgvd-local-case__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.12), rgba(0, 0, 0, 0.08) 42%, rgba(0, 0, 0, 0.7));
}

.lgvd-local-case__badge {
  position: absolute;
  top: 12px;
  left: 12px;
  border: 1px solid rgba(216, 181, 106, 0.55);
  border-radius: 999px;
  background: rgba(5, 5, 5, 0.54);
  color: #f4d99b;
  padding: 5px 8px;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.lgvd-local-case__type {
  position: absolute;
  right: 12px;
  bottom: 12px;
  color: rgba(255, 250, 240, 0.94);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.8);
}

.lgvd-local-case__media--talking .lgvd-local-case__shade {
  background: linear-gradient(180deg, rgba(7, 12, 15, 0.06), rgba(7, 12, 15, 0.12) 42%, rgba(0, 0, 0, 0.78));
}

.lgvd-local-case__media--advertising .lgvd-local-case__shade {
  background: linear-gradient(180deg, rgba(71, 45, 7, 0.18), rgba(0, 0, 0, 0.04) 42%, rgba(0, 0, 0, 0.78));
}

.lgvd-local-case__play {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: rgba(216, 181, 106, 0.93);
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.45);
  transform: translate(-50%, -50%);
}

.lgvd-local-case__play::after {
  position: absolute;
  top: 50%;
  left: 53%;
  width: 0;
  height: 0;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 15px solid #050505;
  content: "";
  transform: translate(-50%, -50%);
}

.lgvd-local-case__content {
  padding: 13px 3px 0;
}

.lgvd-local-case__content h3 {
  margin: 0;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.35;
}

.lgvd-local-case__meta {
  margin: 5px 0 0;
  color: #d8b56a;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.lgvd-local-case__description {
  margin: 9px 0 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 13px;
  line-height: 1.65;
}

.lgvd-portfolio-video-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.84);
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease, visibility 180ms ease;
  visibility: hidden;
}

.lgvd-portfolio-video-modal.is-open {
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
}

.lgvd-portfolio-video-modal__frame {
  position: relative;
  width: min(420px, 92vw);
  aspect-ratio: 9 / 16;
  overflow: hidden;
  border: 1px solid rgba(216, 181, 106, 0.4);
  border-radius: 20px;
  background: #000;
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.72);
  transform: translateY(12px) scale(0.98);
  transition: transform 220ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.lgvd-portfolio-video-modal.is-open .lgvd-portfolio-video-modal__frame {
  transform: none;
}

.lgvd-portfolio-video-modal__frame iframe,
.lgvd-portfolio-video-modal__frame video {
  width: 100%;
  height: 100%;
  border: 0;
}

.lgvd-portfolio-video-modal__slot {
  position: relative;
  width: 100%;
  height: 100%;
}

.lgvd-portfolio-video-modal__slot.is-loading::after {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 30px;
  height: 30px;
  border: 2px solid rgba(255, 255, 255, 0.22);
  border-top-color: #d8b56a;
  border-radius: 50%;
  content: "";
  pointer-events: none;
  transform: translate(-50%, -50%);
  animation: lgvd-portfolio-loader 850ms linear infinite;
}

.lgvd-portfolio-video-modal__close {
  position: absolute;
  top: -50px;
  right: 0;
  z-index: 1;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 23px;
}

.lgvd-portfolio-inner,
.lgvd-portfolio-category-head {
  width: min(1120px, 100%);
  margin: 0 auto;
}

.lgvd-portfolio-label {
  color: rgba(216, 181, 106, 0.88);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.lgvd-portfolio-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 26px;
}

.lgvd-portfolio-title,
.lgvd-portfolio-category-head h1 {
  margin: 16px 0 0;
  color: #fff;
  font-family: "Cormorant Garamond", "Noto Serif SC", serif;
  font-size: clamp(38px, 6vw, 68px);
  font-weight: 700;
  line-height: 1.04;
}

.lgvd-portfolio-title span {
  color: #d8b56a;
}

.lgvd-portfolio-lead,
.lgvd-portfolio-category-head p {
  max-width: 620px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 16px;
  line-height: 1.75;
}

.lgvd-portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 48px;
}

.lgvd-portfolio-category {
  position: relative;
  display: flex;
  min-height: 420px;
  overflow: hidden;
  flex-direction: column;
  justify-content: flex-end;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 18px;
  background: #0d0d0f;
  color: #fff;
  isolation: isolate;
  padding: 24px;
  text-decoration: none;
  transition: border-color 180ms ease, transform 180ms ease;
}

.lgvd-portfolio-category::before,
.lgvd-portfolio-category::after {
  position: absolute;
  inset: 0;
  content: "";
}

.lgvd-portfolio-category::before {
  z-index: -1;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.04) 18%, rgba(0, 0, 0, 0.9) 100%);
}

.lgvd-portfolio-category::after {
  z-index: -2;
  background-image: var(--lgvd-category-cover);
  background-position: center;
  background-size: cover;
  opacity: 0.72;
  transition: transform 300ms ease, opacity 300ms ease;
}

.lgvd-portfolio-category:hover { border-color: rgba(216, 181, 106, 0.72); transform: translateY(-4px); }
.lgvd-portfolio-category:hover::after { opacity: 0.88; transform: scale(1.045); }

.lgvd-portfolio-number { margin-bottom: auto; color: rgba(216, 181, 106, 0.9); font-size: 11px; font-weight: 800; letter-spacing: 0.2em; }
.lgvd-portfolio-category h2 { margin: 0; font-size: 24px; line-height: 1.25; }
.lgvd-portfolio-category p { min-height: 50px; margin: 9px 0 18px; color: rgba(255, 255, 255, 0.72); font-size: 14px; line-height: 1.65; }
.lgvd-portfolio-open { color: #efdbac; font-size: 13px; font-weight: 800; }

.lgvd-portfolio-category-head {
  width: min(1120px, calc(100% - 40px));
  padding: 56px 0 28px;
}

.lgvd-portfolio-category-head p { font-size: 15px; }
.lgvd-portfolio-home,
.lgvd-portfolio-back {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(216, 181, 106, 0.45);
  border-radius: 999px;
  color: #ebd59f;
  padding: 0 16px;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  transition: border-color 180ms ease, background-color 180ms ease, color 180ms ease;
}

.lgvd-portfolio-home:hover,
.lgvd-portfolio-back:hover {
  border-color: #efdbac;
  background: rgba(216, 181, 106, 0.12);
  color: #fff7e5;
}

@media (prefers-reduced-motion: no-preference) {
  .lgvd-portfolio-reveal {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 460ms ease, transform 460ms cubic-bezier(0.2, 0.8, 0.2, 1);
    transition-delay: var(--lgvd-reveal-delay, 0ms);
  }

  .lgvd-portfolio-reveal.is-visible {
    opacity: 1;
    transform: none;
  }
}

@keyframes lgvd-portfolio-loader {
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

@media (prefers-reduced-motion: reduce) {
  .lgvd-portfolio-video-modal,
  .lgvd-portfolio-video-modal__frame,
  .lgvd-local-case__media,
  .lgvd-portfolio-category {
    transition: none;
  }

  .lgvd-portfolio-video-modal__slot.is-loading::after {
    animation: none;
  }
}

@media (max-width: 640px) {
  .lgvd-portfolio-page { padding: 42px 20px 72px; }
  .lgvd-local-showcase { margin-top: 32px; }
  .lgvd-local-showcase__head > p { font-size: 14px; }
  .lgvd-local-case-grid { grid-template-columns: 1fr; gap: 28px; margin-top: 22px; }
  .lgvd-local-case__media { max-height: 580px; }
  .lgvd-local-case__content { padding-top: 12px; }
  .lgvd-local-case__content h3 { font-size: 17px; }
  .lgvd-local-case__description { font-size: 14px; }
  .lgvd-portfolio-title { font-size: 2.35rem; line-height: 1.14; }
  .lgvd-portfolio-lead { font-size: 15px; }
  .lgvd-portfolio-grid { grid-template-columns: 1fr; gap: 14px; margin-top: 30px; }
  .lgvd-portfolio-category { min-height: 280px; border-radius: 16px; padding: 20px; }
  .lgvd-portfolio-category h2 { font-size: 22px; }
  .lgvd-portfolio-category p { min-height: auto; margin-bottom: 14px; }
  .lgvd-portfolio-category-head { padding: 34px 0 22px; }
  .lgvd-portfolio-category-head h1 { font-size: 2.15rem; }
  .lgvd-portfolio-nav { margin-bottom: 20px; }
  .lgvd-portfolio-home,
  .lgvd-portfolio-back { min-height: 40px; padding: 0 14px; font-size: 12px; }
}
