/* Blog — video broadcast studio */

.blog-page {
  padding: clamp(28px, 4vw, 48px) clamp(16px, 4vw, 48px) clamp(56px, 8vw, 96px);
  scroll-margin-top: 78px;
  background:
    radial-gradient(ellipse 55% 40% at 0% 0%, rgba(2, 132, 199, 0.08), transparent),
    radial-gradient(ellipse 45% 35% at 100% 10%, rgba(196, 163, 90, 0.1), transparent),
    var(--sand);
}

/* Filters */
.blog-toolbar {
  max-width: 1180px;
  margin: 0 auto clamp(24px, 3vw, 32px);
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  align-items: center;
  justify-content: space-between;
}
.blog-toolbar[hidden] {
  display: none;
}

.blog-format-filters,
.blog-cat-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.blog-filter {
  padding: 9px 16px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--white);
  color: var(--muted);
  font-family: inherit;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s var(--ease);
}
.blog-filter:hover {
  border-color: var(--green-mid);
  color: var(--green);
}
.blog-filter.is-active {
  background: var(--green);
  border-color: var(--green);
  color: #fff;
}
.blog-chip {
  padding: 7px 14px;
  border-radius: 8px;
  border: 1px solid transparent;
  background: rgba(255, 255, 255, 0.7);
  color: var(--muted);
  font-family: inherit;
  font-size: 0.74rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s var(--ease);
}
.blog-chip:hover {
  color: var(--green);
  background: var(--white);
  border-color: var(--border);
}
.blog-chip.is-active {
  background: rgba(196, 163, 90, 0.15);
  border-color: rgba(196, 163, 90, 0.45);
  color: #7a6020;
}

/* Theater */
.blog-theater {
  max-width: 1180px;
  margin: 0 auto clamp(36px, 5vw, 48px);
  display: grid;
  grid-template-columns: minmax(0, 280px) minmax(0, 1fr);
  gap: clamp(16px, 2.5vw, 22px);
  align-items: stretch;
}
.blog-theater__stage {
  min-width: 0;
  border-radius: 22px;
  overflow: hidden;
  background: #071525;
  border: 1px solid rgba(196, 163, 90, 0.25);
  box-shadow: 0 24px 60px rgba(7, 21, 37, 0.2);
}
.blog-screen {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #000;
  min-height: 200px;
}
.blog-screen--landscape {
  aspect-ratio: 16 / 9;
}
.blog-screen--portrait {
  aspect-ratio: 9 / 16;
  max-width: min(340px, 100%);
  margin: 0 auto;
  max-height: min(62vh, 520px);
}
.blog-screen video {
  width: 100%;
  height: auto;
  max-height: 100%;
  object-fit: contain;
  display: block;
  background: #000;
}
.blog-screen video.is-error {
  display: none;
}
.blog-player-error {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 24px;
  text-align: center;
  color: rgba(255, 255, 255, 0.9);
  background: rgba(7, 21, 37, 0.95);
}
.blog-player-error[hidden] {
  display: none;
}
.blog-player-error i {
  font-size: 2rem;
  color: #fbbf24;
}
.blog-player-error p {
  font-size: 0.88rem;
  line-height: 1.55;
  max-width: 36ch;
}
.blog-player-error code {
  display: block;
  padding: 8px 12px;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.35);
  font-size: 0.72rem;
  color: #7dd3fc;
  word-break: break-all;
}

.blog-screen__hit {
  position: absolute;
  inset: 0;
  z-index: 1;
  border: none;
  background: transparent;
  cursor: pointer;
}
.blog-screen__bar {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 28px 12px 10px;
  background: linear-gradient(0deg, rgba(7, 21, 37, 0.92) 0%, rgba(7, 21, 37, 0.55) 55%, transparent 100%);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s var(--ease), visibility 0.25s var(--ease);
  pointer-events: none;
}
.blog-screen:hover .blog-screen__bar,
.blog-screen.is-controls-visible .blog-screen__bar,
.blog-screen:focus-within .blog-screen__bar {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.blog-screen__ctrl {
  flex: 0 0 auto;
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  cursor: pointer;
  display: grid;
  place-items: center;
  font-size: 0.85rem;
  transition: background 0.2s var(--ease), color 0.2s var(--ease), transform 0.2s var(--ease);
}
.blog-screen__ctrl:hover {
  background: var(--gold);
  color: #fff;
  transform: scale(1.05);
}
.blog-screen__ctrl--expand {
  margin-left: auto;
}
.blog-screen__seek {
  flex: 1 1 auto;
  min-width: 60px;
  height: 4px;
  margin: 0 4px;
  accent-color: var(--gold);
  cursor: pointer;
}
.blog-screen__time {
  flex: 0 0 auto;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.88);
  white-space: nowrap;
}
.blog-theater__meta {
  padding: 18px 20px 16px;
  color: #fff;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.blog-theater__cat {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(196, 163, 90, 0.2);
  color: var(--gold-light);
  margin-bottom: 8px;
}
.blog-theater__cat[data-format="portrait"] {
  background: rgba(56, 189, 248, 0.15);
  color: #7dd3fc;
}
.blog-theater__meta h2 {
  font-family: 'Fraunces', serif;
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  line-height: 1.25;
  margin-bottom: 6px;
}
.blog-theater__meta p {
  font-size: 0.86rem;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.55;
  margin-bottom: 14px;
}
.blog-theater__nav {
  display: flex;
  align-items: center;
  gap: 8px;
}
.blog-theater__nav button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  background: transparent;
  color: #fff;
  font-family: inherit;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.25s var(--ease);
}
.blog-theater__nav button:hover {
  background: rgba(255, 255, 255, 0.1);
}

/* Playlist */
.blog-playlist {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 10px;
  border-radius: 18px;
  background: var(--white);
  border: 1px solid var(--border);
  box-shadow: 0 8px 28px rgba(12, 74, 110, 0.06);
  overflow: visible;
  align-self: stretch;
  height: 100%;
}
.blog-playlist__item {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  width: 100%;
  flex: 1 1 0;
  min-height: 58px;
  padding: 6px 8px;
  border: none;
  border-radius: 12px;
  background: transparent;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
  color: inherit;
  transition: background 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.blog-playlist__item:hover {
  background: var(--sage);
}
.blog-playlist__item.is-active {
  background: linear-gradient(135deg, rgba(12, 74, 110, 0.06), rgba(196, 163, 90, 0.1));
  box-shadow: inset 3px 0 0 var(--gold);
}
.blog-playlist__thumb {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  background: #0c2a45;
}
.blog-playlist__thumb--landscape {
  aspect-ratio: 16 / 10;
}
.blog-playlist__thumb--portrait {
  aspect-ratio: 9 / 14;
  max-height: 88px;
}
.blog-playlist__thumb video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.blog-playlist__play {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(7, 21, 37, 0.35);
  color: #fff;
  font-size: 0.75rem;
}
.blog-playlist__meta {
  min-width: 0;
}
.blog-playlist__num {
  display: block;
  font-family: 'Fraunces', serif;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 2px;
}
.blog-playlist__meta strong {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.35;
  margin-bottom: 2px;
}
.blog-playlist__meta em {
  font-style: normal;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

/* Reels rail */
.blog-section {
  max-width: 1180px;
  margin: 0 auto clamp(32px, 4vw, 44px);
}
.blog-section__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}
.blog-section__head h2 {
  font-family: 'Fraunces', serif;
  font-size: clamp(1.2rem, 2.2vw, 1.5rem);
  color: var(--ink);
}
.blog-section__head p {
  font-size: 0.82rem;
  color: var(--muted);
}
.blog-reels {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding: 6px 4px 16px;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
}
.blog-reel {
  flex: 0 0 auto;
  scroll-snap-align: start;
  cursor: pointer;
}
.blog-reel__phone {
  position: relative;
  width: clamp(160px, 18vw, 200px);
  aspect-ratio: 9 / 16;
  border-radius: 22px;
  overflow: hidden;
  background: #071525;
  border: 3px solid #1e293b;
  box-shadow:
    0 0 0 1px rgba(196, 163, 90, 0.35),
    0 16px 40px rgba(7, 21, 37, 0.18);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s var(--ease);
}
.blog-reel:hover .blog-reel__phone {
  transform: translateY(-6px);
  box-shadow:
    0 0 0 2px var(--gold),
    0 22px 48px rgba(7, 21, 37, 0.22);
}
.blog-reel__phone.is-playing {
  border-color: var(--gold);
  box-shadow: 0 0 0 2px var(--gold), 0 22px 48px rgba(7, 21, 37, 0.22);
  transform: translateY(-6px);
}
.blog-reel__phone video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  background: #000;
}
.blog-reel__phone--yt .blog-reel__thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  background: #000;
}
.blog-reel__embed {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: #000;
}
.blog-reel__embed iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}
.blog-reel__phone.is-playing .blog-reel__play {
  opacity: 0;
  pointer-events: none;
}
.blog-reel__yt {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 0, 0, 0.92);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 0.72rem;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
  transition: transform 0.25s var(--ease), background 0.25s var(--ease);
}
.blog-reel__yt:hover {
  transform: scale(1.08);
  color: #fff;
}
.blog-reel__phone.is-playing .blog-reel__yt {
  opacity: 0;
  pointer-events: none;
}
.blog-reel__play {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: grid;
  place-items: center;
  border: none;
  background: linear-gradient(0deg, rgba(7, 21, 37, 0.75) 0%, transparent 45%);
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
  transition: opacity 0.3s var(--ease);
}

.blog-reel__info {
  padding: 10px 4px 0;
  max-width: 200px;
}
.blog-reel__tag {
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--green-mid);
}
.blog-reel__info h3 {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.35;
  margin-top: 4px;
}

/* Our Projects — cinema showcase */
.blog-projects {
  position: relative;
  margin-top: 0;
}
.proj-showcase {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  background:
    radial-gradient(ellipse 80% 60% at 100% 0%, rgba(196, 163, 90, 0.14) 0%, transparent 55%),
    linear-gradient(155deg, #071525 0%, #0c2238 48%, #071525 100%);
  border: 1px solid rgba(196, 163, 90, 0.22);
  box-shadow: 0 28px 70px rgba(7, 21, 37, 0.22);
}
.proj-showcase::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.025) 0,
    rgba(255, 255, 255, 0.025) 1px,
    transparent 1px,
    transparent 48px
  );
  pointer-events: none;
}
.proj-showcase__hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 320px);
  gap: 0;
  padding: clamp(18px, 3vw, 28px);
  padding-bottom: clamp(22px, 3.5vw, 32px);
}
.proj-showcase__cinema {
  position: relative;
  min-width: 0;
  padding-right: clamp(8px, 2vw, 18px);
}
.proj-showcase__frame {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 18px;
  overflow: hidden;
  background: #000;
  box-shadow:
    0 0 0 1px rgba(196, 163, 90, 0.35),
    0 24px 60px rgba(0, 0, 0, 0.45);
  transform: rotate(-0.6deg);
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease);
}
.proj-showcase__frame.is-switching {
  transform: rotate(0deg) scale(0.985);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
}
.proj-showcase__frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}
.proj-showcase__index {
  position: absolute;
  top: -10px;
  left: 18px;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--gold);
  color: #071525;
  font-family: 'Fraunces', serif;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  box-shadow: 0 8px 24px rgba(196, 163, 90, 0.35);
  z-index: 2;
}
.proj-showcase__spotlight {
  align-self: end;
  margin-bottom: 8px;
  margin-left: -48px;
  padding: 20px 22px 18px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(196, 163, 90, 0.35);
  box-shadow: 0 20px 50px rgba(7, 21, 37, 0.28);
  backdrop-filter: blur(8px);
  z-index: 3;
}
.proj-showcase__tag {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(196, 163, 90, 0.18);
  color: #8a6d2b;
  margin-bottom: 10px;
}
.proj-showcase__tag[data-project="newtown"] {
  background: rgba(14, 116, 144, 0.12);
  color: #0e7490;
}
.proj-showcase__tag[data-project="media"] {
  background: rgba(109, 40, 217, 0.1);
  color: #6d28d9;
}
.proj-showcase__spotlight h3 {
  font-family: 'Fraunces', serif;
  font-size: clamp(0.95rem, 1.6vw, 1.12rem);
  font-weight: 600;
  line-height: 1.4;
  color: var(--ink);
  margin-bottom: 8px;
}
.proj-showcase__count {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 16px;
}
.proj-showcase__actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.proj-showcase__arrow {
  width: 38px;
  height: 38px;
  border: 1px solid rgba(7, 21, 37, 0.12);
  border-radius: 50%;
  background: #fff;
  color: var(--green);
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background 0.25s var(--ease), border-color 0.25s var(--ease), color 0.25s var(--ease), transform 0.25s var(--ease);
}
.proj-showcase__arrow:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: #fff;
  transform: scale(1.06);
}
.proj-showcase__yt {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  border-radius: 999px;
  background: #ff0000;
  color: #fff;
  font-size: 0.74rem;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.proj-showcase__yt:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(255, 0, 0, 0.35);
  color: #fff;
}
.proj-showcase__rail {
  position: relative;
  padding: 0 clamp(18px, 3vw, 28px) clamp(20px, 3vw, 28px);
}
.proj-showcase__rail::before {
  content: '';
  position: absolute;
  top: 0;
  left: clamp(18px, 3vw, 28px);
  right: clamp(18px, 3vw, 28px);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(196, 163, 90, 0.45), transparent);
}
.proj-showcase__rail-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding: 18px 0 14px;
}
.proj-showcase__rail-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
}
.proj-showcase__rail-label i {
  color: var(--gold-light);
}
.proj-showcase__filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.proj-showcase__filter {
  padding: 6px 12px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: transparent;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.25s var(--ease), border-color 0.25s var(--ease), color 0.25s var(--ease);
}
.proj-showcase__filter:hover {
  border-color: rgba(196, 163, 90, 0.5);
  color: #fff;
}
.proj-showcase__filter.is-active {
  background: var(--gold);
  border-color: var(--gold);
  color: #071525;
}
.proj-showcase__strip {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 8px 4px 12px;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  scrollbar-color: rgba(196, 163, 90, 0.5) transparent;
  overscroll-behavior-x: contain;
}
.proj-showcase__card {
  flex: 0 0 clamp(210px, 22vw, 260px);
  scroll-snap-align: start;
  border: none;
  padding: 0;
  background: transparent;
  cursor: pointer;
  text-align: left;
  transform: rotate(var(--tilt, 0deg));
  transition: transform 0.35s var(--ease), opacity 0.35s var(--ease);
}
.proj-showcase__card:nth-child(3n + 1) { --tilt: -1.2deg; }
.proj-showcase__card:nth-child(3n + 2) { --tilt: 0.8deg; }
.proj-showcase__card:nth-child(3n) { --tilt: -0.5deg; }
.proj-showcase__card:hover {
  transform: rotate(0deg) translateY(-8px);
  z-index: 2;
}
.proj-showcase__card.is-active {
  transform: rotate(0deg) translateY(-10px);
}
.proj-showcase__card.is-hidden {
  display: none;
}
.proj-showcase__poster {
  position: relative;
  aspect-ratio: 16 / 10;
  border-radius: 14px;
  overflow: hidden;
  background: #000;
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.35);
  border: 2px solid rgba(255, 255, 255, 0.08);
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.proj-showcase__card.is-active .proj-showcase__poster,
.proj-showcase__card:hover .proj-showcase__poster {
  border-color: var(--gold);
  box-shadow: 0 18px 44px rgba(196, 163, 90, 0.25);
}
.proj-showcase__poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.45s var(--ease);
}
.proj-showcase__card:hover .proj-showcase__poster img {
  transform: scale(1.06);
}
.proj-showcase__poster::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(7, 21, 37, 0.82) 0%, transparent 52%);
}
.proj-showcase__play {
  position: absolute;
  left: 50%;
  top: 46%;
  transform: translate(-50%, -50%);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 0, 0, 0.92);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 0.85rem;
  z-index: 1;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.4);
}
.proj-showcase__card-num {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 3px 8px;
  border-radius: 6px;
  background: rgba(7, 21, 37, 0.72);
  color: var(--gold-light);
  font-family: 'Fraunces', serif;
  font-size: 0.68rem;
  font-weight: 700;
  z-index: 1;
}
.proj-showcase__card-body {
  padding: 10px 4px 0;
}
.proj-showcase__card-body strong {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: #fff;
  line-height: 1.35;
  margin-bottom: 4px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.proj-showcase__card-body em {
  font-style: normal;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.48);
}

/* Cinema modal */
.blog-cinema {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(12px, 3vw, 28px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.35s var(--ease), visibility 0.35s var(--ease);
}
.blog-cinema.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.blog-cinema__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 8, 16, 0.94);
  backdrop-filter: blur(10px);
}
.blog-cinema__box {
  position: relative;
  width: 100%;
  max-height: 94vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.blog-cinema--landscape .blog-cinema__box {
  max-width: min(1000px, 100%);
}
.blog-cinema--portrait .blog-cinema__box {
  max-width: min(400px, 100%);
}
.blog-cinema__close {
  position: absolute;
  top: -44px;
  right: 0;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  background: transparent;
  color: #fff;
  cursor: pointer;
  display: grid;
  place-items: center;
  z-index: 2;
}
.blog-cinema__close:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: #071525;
}
.blog-cinema__screen {
  width: 100%;
  border-radius: 16px;
  overflow: hidden;
  background: #000;
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.5);
}
.blog-cinema--landscape .blog-cinema__screen {
  aspect-ratio: 16 / 9;
}
.blog-cinema--portrait .blog-cinema__screen {
  aspect-ratio: 9 / 16;
  max-height: 82vh;
}
.blog-cinema__screen video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.blog-cinema__title {
  margin-top: 14px;
  font-family: 'Fraunces', serif;
  font-size: 1.05rem;
  color: #fff;
  text-align: center;
}

@media (max-width: 900px) {
  .blog-theater {
    grid-template-columns: 1fr;
  }
  .blog-playlist {
    flex-direction: row;
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    max-height: none;
    height: auto;
    order: 2;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
  }
  .blog-playlist__item {
    flex: 0 0 min(260px, 78vw);
    scroll-snap-align: start;
    min-height: 72px;
  }
  .blog-theater__stage {
    order: 1;
  }
  .proj-showcase__hero {
    grid-template-columns: 1fr;
    gap: 0;
    padding: clamp(14px, 3vw, 22px);
    padding-bottom: 0;
  }
  .proj-showcase__cinema {
    padding-right: 0;
  }
  .proj-showcase__spotlight {
    align-self: stretch;
    margin-left: 0;
    margin-top: 14px;
    margin-bottom: 0;
    margin-inline: 0;
  }
}

@media (max-width: 768px) {
  .blog-toolbar {
    flex-direction: column;
    align-items: stretch;
  }
  .blog-section__head {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    margin-bottom: 14px;
  }
  .blog-section__head p {
    font-size: 0.78rem;
    line-height: 1.5;
    max-width: 36ch;
  }
  .proj-showcase {
    border-radius: 16px;
  }
  .proj-showcase__hero {
    padding: 12px 12px 0;
  }
  .proj-showcase__frame {
    transform: none;
    border-radius: 12px;
    box-shadow: 0 0 0 1px rgba(196, 163, 90, 0.3), 0 12px 32px rgba(0, 0, 0, 0.35);
  }
  .proj-showcase__index {
    top: 8px;
    left: 8px;
    font-size: 0.7rem;
    padding: 4px 10px;
  }
  .proj-showcase__spotlight {
    margin-top: 12px;
    padding: 0 48px 14px 0;
    background: transparent;
    border: none;
    box-shadow: none;
    backdrop-filter: none;
  }
  .proj-showcase__spotlight h3 {
    font-size: 0.88rem;
    line-height: 1.45;
    color: rgba(255, 255, 255, 0.94);
    margin-bottom: 6px;
  }
  .proj-showcase__count {
    margin-bottom: 12px;
    color: rgba(255, 255, 255, 0.52);
  }
  .proj-showcase__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
  }
  .proj-showcase__arrow {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.22);
    color: #fff;
  }
  .proj-showcase__arrow:hover {
    background: var(--gold);
    border-color: var(--gold);
    color: #071525;
  }
  .proj-showcase__yt {
    flex: 1 1 100%;
    margin-left: 0;
    width: 100%;
    max-width: 100%;
    justify-content: center;
    padding: 10px 14px;
    box-sizing: border-box;
  }
  .proj-showcase__rail {
    padding: 0 12px 14px;
  }
  .proj-showcase__rail-head {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    padding-top: 14px;
  }
  .proj-showcase__filters {
    display: flex;
    flex-wrap: nowrap;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 4px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }
  .proj-showcase__filters::-webkit-scrollbar {
    display: none;
  }
  .proj-showcase__filter {
    flex: 0 0 auto;
  }
  .proj-showcase__strip {
    gap: 12px;
    padding-bottom: 8px;
  }
  .proj-showcase__card {
    flex: 0 0 min(74vw, 210px);
    transform: none;
  }
  .proj-showcase__card:nth-child(3n + 1),
  .proj-showcase__card:nth-child(3n + 2),
  .proj-showcase__card:nth-child(3n) {
    --tilt: 0deg;
  }
  .proj-showcase__card:hover,
  .proj-showcase__card.is-active {
    transform: translateY(-4px);
  }
  .blog-cinema {
    padding: 0;
    align-items: flex-end;
  }
  .blog-cinema__box {
    width: 100%;
    max-height: 96dvh;
  }
  .blog-cinema__close {
    top: 12px;
    right: 12px;
    background: rgba(0, 0, 0, 0.5);
  }
  .blog-cinema--landscape .blog-cinema__screen,
  .blog-cinema--portrait .blog-cinema__screen {
    border-radius: 16px 16px 0 0;
  }
  .blog-theater__nav button span {
    display: none;
  }
}

@media (max-width: 480px) {
  .blog-page {
    padding-inline: 12px;
  }
  .proj-showcase__hero {
    padding: 10px 10px 0;
  }
  .proj-showcase__spotlight {
    padding-right: 42px;
  }
  .proj-showcase__spotlight h3 {
    font-size: 0.82rem;
  }
  .proj-showcase__yt {
    font-size: 0.7rem;
    padding: 9px 12px;
  }
  .proj-showcase__card {
    flex: 0 0 78vw;
  }
  .proj-showcase__poster {
    border-radius: 12px;
  }
  .proj-showcase__card-body strong {
    font-size: 0.76rem;
  }
}
