/* ============================================================
   AZIST — SLIDE CENTER
   ============================================================ */

/* PAGE HERO ------------------------------------------------- */
.page-hero {
  padding-top: calc(var(--nav-height) + clamp(64px, 8vw, 100px));
  padding-bottom: clamp(64px, 8vw, 100px);
  background-color: var(--color-off-white);
  position: relative;
  overflow: hidden;
}
.page-hero--sc {
  display: flex;
  align-items: center;
  min-height: 62vh;                         /* taller banner so the gradient has room */
  padding-bottom: clamp(52px, 6vw, 88px); /* tighter bottom cut — reduces the hero→cards gap */
  /* Same animated-gradient technique as Creative Hub — white / grey / blue palette */
  background-image:
    radial-gradient(45% 55% at 20% 30%, rgba(65,100,254,0.22), transparent 60%),
    radial-gradient(42% 50% at 80% 66%, rgba(70,80,100,0.12), transparent 60%),
    radial-gradient(40% 48% at 60% 24%, rgba(125,196,255,0.28), transparent 60%),
    /* white base — keeps the hero predominantly white, blobs read as tints */
    linear-gradient(0deg, #ffffff, #ffffff);
  background-size: 320% 320%;
  animation: sc-hero-drift 8s ease-in-out infinite alternate;
}
@keyframes sc-hero-drift {
  0%   { background-position: 0% 0%,   100% 100%, 50% 50%; }
  50%  { background-position: 100% 30%, 0% 70%,   40% 60%; }
  100% { background-position: 60% 100%, 30% 0%,   70% 40%; }
}
@media (prefers-reduced-motion: reduce) {
  .page-hero--sc { animation: none; }
}
.page-hero__illu {
  position: absolute;
  right: 3%;
  top: 50%;
  transform: translateY(-50%);
  width: clamp(200px, 28vw, 380px);
  pointer-events: none;
  z-index: 0;
}
.sc-illu {
  width: 100%;
  height: auto;
  overflow: visible;
}
/* Animaciones de entrada para capas, líneas y punto */
.sc-illu__l1 { animation: sc-layer-in 0.9s cubic-bezier(0.22,1,0.36,1) 0.1s both; }
.sc-illu__l2 { animation: sc-layer-in 0.9s cubic-bezier(0.22,1,0.36,1) 0.25s both; }
.sc-illu__l3 { animation: sc-layer-in 0.9s cubic-bezier(0.22,1,0.36,1) 0.4s both; }
.sc-illu__ln1 {
  stroke-dasharray: 130; stroke-dashoffset: 130;
  animation: sc-line-in 0.7s cubic-bezier(0.22,1,0.36,1) 0.5s forwards;
}
.sc-illu__ln2 {
  stroke-dasharray: 100; stroke-dashoffset: 100;
  animation: sc-line-in 0.7s cubic-bezier(0.22,1,0.36,1) 0.65s forwards;
}
.sc-illu__ln3 {
  stroke-dasharray: 115; stroke-dashoffset: 115;
  animation: sc-line-in 0.7s cubic-bezier(0.22,1,0.36,1) 0.8s forwards;
}
.sc-illu__dot { opacity: 0; animation: sc-dot-in 0.4s ease 0.95s forwards; }
@keyframes sc-layer-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes sc-line-in  { to { stroke-dashoffset: 0; } }
@keyframes sc-dot-in   { to { opacity: 1; } }
@media (max-width: 768px) { .page-hero__illu { display: none; } }
@media (prefers-reduced-motion: reduce) {
  .sc-illu__l1, .sc-illu__l2, .sc-illu__l3, .sc-illu__dot { animation: none; opacity: 1; }
  .sc-illu__ln1, .sc-illu__ln2, .sc-illu__ln3 { animation: none; stroke-dashoffset: 0; }
}
/* Ícono brand en card */
.sc-card__icon {
  width: 56px;
  height: 56px;
  object-fit: contain;
  margin-bottom: var(--space-4);
  display: block;
}
.page-hero__label { margin-bottom: var(--space-5); }
.page-hero__title {
  font-family: var(--font-frama);
  font-weight: 400;
  font-size: clamp(56px, 8vw, 112px);
  line-height: 1.0;
  letter-spacing: -0.025em;
  color: var(--color-near-black);
  margin-bottom: var(--space-6);
  position: relative;
  z-index: 1;
  width: fit-content;                            /* hover target hugs the text */
  transition: color 0.4s var(--ease-out);        /* smooth, organic fade */
}
.page-hero__title:hover { color: var(--color-blue); }
/* Hero subtitle — sits between the title and body: PP Eiko italic, brand blue */
.page-hero__subtitle {
  font-family: var(--font-eiko);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(20px, 2.4vw, 28px);
  line-height: 1.2;
  color: var(--color-blue);
  margin-bottom: var(--space-4);
}
.page-hero__body {
  font-family: var(--font-manrope);
  font-weight: 300;
  font-size: clamp(17px, 1.9vw, 21px);
  line-height: 1.75;
  color: var(--color-grey);
  max-width: 880px;            /* wider measure → reflows to 2 lines, less right-side gap */
  text-wrap: balance;
  position: relative;
  z-index: 1;
}

/* SERVICIOS GRID -------------------------------------------- */
.sc-services {
  padding-block: clamp(80px, 10vw, 130px);
  background-color: var(--color-white);
}
.sc-services__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-5);
}
/* Positioning-statement heading above the cards (reuses .sc-how__title type;
   dark colour since this section is light, plus bottom spacing) */
.sc-how__title.sc-services__intro {
  color: var(--color-blue);
  margin-bottom: clamp(40px, 5vw, 64px);
  font-size: clamp(18px, 2.2vw, 28px);   /* smaller than the section-heading default */
  text-align: center;
  white-space: nowrap;                   /* keep the statement on a single line */
}
.sc-card {
  background-color: var(--color-off-white);
  border: 1px solid var(--color-light-grey);
  border-radius: var(--radius-xl);
  padding: clamp(36px, 4vw, 52px);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;   /* so the tagline can be pinned to the bottom */
  background-size: cover;
  background-position: center;
  transition: transform var(--duration-base) var(--ease-out),
              box-shadow var(--duration-base) var(--ease-out),
              border-color var(--duration-base) var(--ease-out);
}
/* light overlay so the existing dark card text stays readable over the image */
.sc-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.70);
  z-index: 0;
  pointer-events: none;
  border-radius: inherit;
}
/* lift all content above the overlay (deco keeps its own absolute layer) */
.sc-card > :not(.sc-card__deco) { position: relative; z-index: 1; }
/* Templates & Formatting: let the bg image reach the card's edges so the warm
   base colour / border ring no longer shows above the image (top artifact). */
#templates,
#formatting {
  background-color: transparent;   /* no #F5F5F3 beige peeking through */
  border-color: transparent;       /* drop the 1px ring above the image */
  background-origin: border-box;   /* image covers the full border-box, to the very edge */
}
.sc-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 64px rgba(65,100,254,0.15);
  border-color: rgba(65,100,254,0.30);
}
.sc-card:hover .sc-card__num { color: var(--color-blue); }   /* colour shift */
.sc-card__num {
  font-family: var(--font-frama);
  font-weight: 200;
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--color-mid-grey);
  display: block;
  margin-bottom: var(--space-5);
  transition: color var(--duration-base) var(--ease-out);
}
.sc-card__title {
  font-family: var(--font-frama);
  font-weight: 400;
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.1;
  color: var(--color-near-black);
  margin-bottom: var(--space-5);
}
.sc-card__body {
  font-family: var(--font-manrope);
  font-weight: 300;
  font-size: var(--text-base);
  line-height: 1.75;
  color: var(--color-grey);
  margin-bottom: var(--space-6);
}
.sc-card__list {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  margin-bottom: var(--space-8);
}
.sc-card__list li {
  font-family: var(--font-manrope);
  font-weight: 700;
  font-size: var(--text-sm);
  color: var(--color-near-black);
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  line-height: 1.5;
}
.sc-card__tagline {
  font-family: var(--font-eiko);
  font-weight: 300;
  font-style: italic;
  font-size: var(--text-base);
  line-height: 1.5;
  color: var(--color-blue);
  padding-top: var(--space-5);
  border-top: 0.5px solid rgba(0, 0, 0, 0.3);
  margin-top: auto;   /* pin the tagline block to the bottom (mirrors Creative Hub) */
  min-height: calc(var(--space-5) + 3.4em);   /* fixed height → divider sits at the same Y in every card */
  display: flex;
  align-items: flex-end;   /* bottom-align so 1- & 2-line phrases share the baseline */
}
/* All four bajadas now break manually at their punctuation via <br>, so no width-based
   wrapping is needed (a fixed max-width would re-wrap the longer first lines into 3 lines). */
.sc-card__bajada { display: block; }
.sc-card__deco {
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(65,100,254,0.08) 0%, transparent 70%);
  pointer-events: none;
}

/* HOW IT WORKS ---------------------------------------------- */
.sc-how {
  padding-block: clamp(80px, 10vw, 130px);
  background-color: var(--color-near-black);
  position: relative;
  overflow: hidden;
}
.sc-how__ghost {
  bottom: -15%;
  right: -4%;
  color: rgba(255,255,255,0.03);
  -webkit-text-stroke: none;
}
.sc-how__header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
  margin-bottom: clamp(56px, 7vw, 96px);
  position: relative;
  z-index: 1;
}
.sc-how__title {
  font-family: var(--font-frama);
  font-weight: 200;
  font-size: clamp(40px, 5vw, 64px);
  line-height: 1.1;
  color: var(--color-white);
  letter-spacing: -0.02em;
}
.sc-how__intro {
  font-family: var(--font-manrope);
  font-weight: 300;
  font-size: var(--text-md);
  line-height: 1.75;
  color: rgba(255,255,255,0.55);
  padding-top: var(--space-3);
}
.sc-how__steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-8);
  position: relative;
  z-index: 1;
}
.sc-how__step {
  position: relative;
}
.sc-how__step-connector {
  position: absolute;
  top: 20px;
  left: calc(100% + var(--space-4));
  width: calc(var(--space-8) - var(--space-4) * 2);
  height: 1px;
  background: linear-gradient(to right, rgba(255,255,255,0.15), transparent);
  pointer-events: none;
}
.sc-how__step:last-child .sc-how__step-connector { display: none; }
.sc-how__step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.15);
  font-family: var(--font-frama);
  font-weight: 200;
  font-size: 13px;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,0.40);
  margin-bottom: var(--space-5);
  transition: color var(--duration-base) var(--ease-out),
              background-color var(--duration-base) var(--ease-out),
              border-color var(--duration-base) var(--ease-out),
              transform var(--duration-base) var(--ease-out);
}
.sc-how__step:hover .sc-how__step-num {
  color: #fff;
  background-color: var(--color-blue);
  border-color: var(--color-blue);
  transform: scale(1.12);
}
.sc-how__step-title {
  font-family: var(--font-manrope);
  font-weight: 700;
  font-size: var(--text-base);
  color: var(--color-white);
  margin-bottom: var(--space-3);
}
.sc-how__step-body {
  font-family: var(--font-manrope);
  font-weight: 300;
  font-size: var(--text-sm);
  line-height: 1.65;
  color: rgba(255,255,255,0.45);
}
.sc-how__note {
  margin-top: clamp(48px, 6vw, 72px);
  padding: var(--space-6) var(--space-8);
  background-color: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: flex-start;
  gap: var(--space-4);
  position: relative;
  z-index: 1;
}
.sc-how__note-icon {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background-color: var(--color-blue);
  flex-shrink: 0;
  margin-top: 3px;
}
.sc-how__note-text {
  font-family: var(--font-manrope);
  font-weight: 300;
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.45);
  line-height: 1.65;
}
.sc-how__note-text strong {
  color: rgba(255,255,255,0.75);
  font-weight: 500;
}

/* LATEST PROJECTS ------------------------------------------- */
.sc-projects {
  padding-block: clamp(80px, 10vw, 130px);
  background-color: var(--color-white);
}
.sc-projects__header {
  margin-bottom: clamp(48px, 6vw, 72px);
}
.sc-projects__title {
  font-family: var(--font-frama);
  font-weight: 200;
  font-size: clamp(40px, 5vw, 64px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--color-near-black);
}
.sc-projects__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-5);
}
.sc-project-item {}
.sc-project-item__thumb {
  aspect-ratio: 4/3;
  background-color: var(--color-light-grey);
  border-radius: var(--radius-lg);
  margin-bottom: var(--space-4);
  overflow: hidden;
  position: relative;
}
.sc-project-item__thumb::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(65,100,254,0.05) 0%, transparent 60%);
  transition: opacity var(--duration-base) var(--ease-out);
}
.sc-project-item:hover .sc-project-item__thumb::after { opacity: 0; }
.sc-project-item__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  font-family: var(--font-manrope);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-mid-grey);
}
.sc-project-item__title {
  font-family: var(--font-manrope);
  font-weight: 600;
  font-size: var(--text-base);
  color: var(--color-near-black);
  margin-bottom: var(--space-1);
}
.sc-project-item__year {
  font-family: var(--font-manrope);
  font-weight: 400;
  font-size: var(--text-sm);
  color: var(--color-mid-grey);
}

/* RESPONSIVE ------------------------------------------------ */
@media (max-width: 900px) {
  .sc-services__grid { grid-template-columns: 1fr; }
  .sc-how__header { grid-template-columns: 1fr; }
  .sc-how__steps { grid-template-columns: repeat(2, 1fr); }
  .sc-projects__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .sc-how__steps { grid-template-columns: 1fr; }
  .sc-projects__grid { grid-template-columns: 1fr; }
  .sc-how__step-connector { display: none; }
}

/* ============================================================
   LATEST PROJECTS — popup/carousel (duplicated from Creative Hub)
   ============================================================ */
.ch-projects {
  padding-block: clamp(80px, 10vw, 130px);
  background-color: var(--color-black);
}
.ch-projects__header {
  margin-bottom: clamp(48px, 6vw, 72px);
}
.ch-projects__title {
  font-family: var(--font-frama);
  font-weight: 400;
  font-size: clamp(40px, 5vw, 64px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--color-white);
}

/* Category filter cards */
.ch-filter {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-5);
}

/* Card / popup container */
.ch-pop {
  position: relative;
  border-radius: var(--radius-xl);
  isolation: isolate;
  transition: transform var(--duration-base) var(--ease-out),
              box-shadow var(--duration-base) var(--ease-out);
}
/* Open: the card transforms in place — lift ~20px + scale 1.05, raised */
.ch-pop.is-open {
  transform: translateY(-20px) scale(1.05);
  z-index: 5;
  box-shadow: 0 36px 90px rgba(0, 0, 0, 0.55);
}

/* Default card face (the trigger) */
.ch-pop__trigger {
  display: block;
  width: 100%;
  text-align: left;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: inherit;
  overflow: hidden;
  cursor: pointer;
  background: #0e0e0e;
  transition: transform var(--duration-base) var(--ease-out),
              box-shadow var(--duration-base) var(--ease-out);
}
.ch-pop:not(.is-open) .ch-pop__trigger:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 56px rgba(0, 0, 0, 0.45);
}
.ch-pop.is-open .ch-pop__trigger { visibility: hidden; }   /* carousel takes over */

.ch-pop__media {
  display: block;
  height: clamp(220px, 26vw, 320px);
  background-size: cover;
  background-position: center;
  transition: transform 240ms var(--ease-out);
  will-change: transform;
}
.ch-pop__label {
  display: block;
  padding: clamp(18px, 2.2vw, 28px) clamp(22px, 2.6vw, 34px);
  background: #0e0e0e;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-family: var(--font-frama);
  font-weight: 400;
  font-size: clamp(24px, 2.6vw, 36px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--color-white);
}

/* ════════════════════════════════════════════════════════════════
   IN-PLACE CARD POPUP CAROUSEL (no fullscreen / no modal)
   ════════════════════════════════════════════════════════════════ */
/* The carousel sits exactly over the card face, same size as the card */
.ch-pop__car {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  overflow: hidden;
  background: #0c0c0e;
  border: 1px solid rgba(255, 255, 255, 0.12);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 220ms var(--ease-out), visibility 0s linear 220ms;
  z-index: 2;
}
.ch-pop.is-open .ch-pop__car {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition: opacity 260ms var(--ease-out);
}

.ch-pop__viewport {
  position: absolute;
  inset: 0;
  overflow: hidden;
  touch-action: pan-y;
  cursor: grab;
}
.ch-pop__viewport:active { cursor: grabbing; }
.ch-pop__slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: scale(0.94) translateY(10px);
  will-change: transform, opacity;
  pointer-events: none;
}
.ch-pop__slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;          /* show the whole board PNG within the card */
  display: block;
  user-select: none;
  -webkit-user-drag: none;
  pointer-events: none;
}

/* Controls — sized for the small in-card popup */
.ch-pop__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 36px; height: 36px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(20, 20, 24, 0.55);
  color: #fff; cursor: pointer;
  -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
  transition: background-color 0.2s var(--ease-out), transform 0.2s var(--ease-out);
}
.ch-pop__nav:hover { background: rgba(40, 40, 48, 0.85); transform: translateY(-50%) scale(1.08); }
.ch-pop__nav--prev { left: 10px; }
.ch-pop__nav--next { right: 10px; }
.ch-pop__close {
  position: absolute;
  top: 10px; right: 10px;
  z-index: 4;
  width: 34px; height: 34px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(20, 20, 24, 0.6);
  color: #fff; cursor: pointer;
  transition: background-color 0.2s var(--ease-out), transform 0.2s var(--ease-out);
}
.ch-pop__close:hover { background: rgba(40, 40, 48, 0.85); transform: rotate(90deg); }
.ch-pop__dots {
  position: absolute;
  bottom: 10px; left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex; gap: 7px;
}
.ch-pop__dot {
  width: 7px; height: 7px; padding: 0; border: none; border-radius: 50%;
  background: rgba(255, 255, 255, 0.3); cursor: pointer;
  transition: background-color 0.2s var(--ease-out), transform 0.2s var(--ease-out);
}
.ch-pop__dot.is-active { background: #fff; transform: scale(1.3); }

@media (max-width: 860px) {
  .ch-filter { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .ch-pop, .ch-pop__trigger, .ch-pop__media, .ch-pop__car { transition: none; }
}

/* ── FIRST PROJECT (Title 01) — individual-slide grid + hover focus ──────── */
.sc-feat { margin-bottom: clamp(40px, 5vw, 64px); }
.sc-feat__title {
  font-family: var(--font-frama);
  font-weight: 300;
  font-size: clamp(24px, 2.6vw, 36px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--color-white);
  margin-bottom: var(--space-6);
}
.sc-feat__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);   /* 3×2 grid, matches composite proportions */
  gap: var(--space-4);
}
.sc-feat__cell {
  position: relative;
  display: block;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #0e0e0e;
  cursor: pointer;
  aspect-ratio: 16 / 9;
  transition: transform 200ms ease-out, filter 200ms ease-out, opacity 200ms ease-out;
}
.sc-feat__cell img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  user-select: none;
  -webkit-user-drag: none;
}
/* hover focus: hovered slide scales up & stays sharp; the rest blur + fade */
.sc-feat__grid:hover .sc-feat__cell { filter: blur(2px); opacity: 0.5; }
.sc-feat__grid .sc-feat__cell:hover {
  filter: none;
  opacity: 1;
  transform: scale(1.06);
  z-index: 2;
  border-color: rgba(65, 100, 254, 0.30);
}

@media (max-width: 900px) { .sc-feat__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .sc-feat__grid { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) {
  .sc-feat__cell { transition: none; }
  .sc-feat__grid:hover .sc-feat__cell { filter: none; opacity: 1; }
  .sc-feat__grid .sc-feat__cell:hover { transform: none; }
}

/* ── FULLSCREEN VIDEO LIGHTBOX (Live Presentations) — ported from creative-hub ── */
.sc-vl {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(8, 8, 10, 0.92);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 240ms var(--ease-out), visibility 0s linear 240ms;
}
.sc-vl.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition: opacity 240ms var(--ease-out);
}
.sc-vl__stage {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 90vw;
  height: 85vh;
}
.sc-vl__video {
  max-width: 90vw;
  max-height: 85vh;
  width: auto;
  height: auto;
  border-radius: var(--radius-md);
  background: #000;
  outline: none;
}
.sc-vl__close {
  position: absolute;
  top: clamp(12px, 3vw, 28px);
  right: clamp(12px, 3vw, 28px);
  z-index: 4;
  width: 46px; height: 46px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(20, 20, 24, 0.6);
  color: #fff; cursor: pointer;
  transition: background-color 0.2s var(--ease-out), transform 0.2s var(--ease-out);
}
.sc-vl__close:hover { background: rgba(40, 40, 48, 0.85); transform: rotate(90deg); }
@media (prefers-reduced-motion: reduce) { .sc-vl { transition: none; } }
