/* =========================================
   ARTNEST TREASURES — IN THE STUDIO
   Full-screen Forest Green section: a large title over a fine rule,
   Veda's quote, a short line and two calls to action, then a strip
   of her process reels across the full width.
   ========================================= */

.studio-reels {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  min-height: 100vh;
  min-height: 100svh;
  background: var(--color-brand-forest-green);
  color: var(--color-brand-warm-ivory);
  text-align: center;
}

/* desktop: exactly one screen; the reels take whatever height remains */
.studio-reels__head {
  display: grid;
  justify-items: center;
  max-width: var(--container-max-width);
  margin-inline: auto;
  padding: calc(var(--header-h, 96px) + var(--space-5)) var(--container-padding-desktop) var(--space-7);
}

.studio-reels__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 11vw, 10.5rem);
  font-weight: var(--font-weight-display);
  line-height: 0.86;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  color: var(--color-brand-warm-ivory);
}

.studio-reels__rule {
  display: block;
  width: min(100%, 64rem);
  height: 4px;
  margin: var(--space-5) 0 var(--space-6);
  border-radius: 2px;
  background: var(--color-brand-warm-ivory);
}

.studio-reels__quote {
  margin: 0;
}

.studio-reels__quote p {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.6vw, 2.25rem);
  font-style: italic;
  line-height: 1.32;
  color: var(--color-neutral-warm-sand);
}

.studio-reels__text {
  max-width: 36rem;
  margin: var(--space-4) 0 var(--space-6);
  font-size: var(--font-size-lead);
  line-height: 1.72;
  color: rgba(248, 245, 236, 0.88);
}

.studio-reels__ctas {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--button-gap);
}

/* ivory-filled secondary for the green ground */
.button--ivory {
  --ring-color: var(--color-brand-warm-ivory);
  color: var(--color-neutral-charcoal);
  background-color: var(--color-brand-warm-ivory);
  border-color: var(--color-brand-warm-ivory);
}

.button--ivory:hover {
  color: var(--color-neutral-charcoal);
  background-color: var(--color-neutral-warm-sand);
  border-color: var(--color-neutral-warm-sand);
}

.studio-reels .button-primary:focus-visible,
.studio-reels .button--ivory:focus-visible {
  outline-color: var(--color-brand-warm-ivory);
}

/* ---------- Reel strip ---------- */

/* Each reel is shown whole, in its own 9:16 frame, so the hands and the
   dotting tool are never cropped away. The clips are enhanced 2x
   (videos/web, 640x1136), so they stay crisp at this size. */
/* all seven clips in one row, spanning the full viewport width */
.studio-reels__strip {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 2px;
  width: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
}

.reel {
  position: relative;
  overflow: hidden;
  aspect-ratio: 9 / 16;
  background: #1D2A20;
}

.reel video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* a touch of clarity and colour to lift the compressed footage */
  filter: contrast(1.06) saturate(1.1) brightness(1.02);
}

/* this clip is a landscape video inside a tall frame: zoom past the bars */




/* fine dividing lines between reels */


@media (max-width: 1024px) {
  .studio-reels__head {
    padding-inline: var(--container-padding-tablet);
  }


}

@media (max-width: 768px) {
  .studio-reels__head {
    padding: calc(var(--header-h, 96px) + var(--space-4)) var(--container-padding-mobile) var(--space-6);
  }

  .studio-reels__rule {
    height: 3px;
    margin-block: var(--space-4) var(--space-5);
  }

  .studio-reels__text {
    font-size: var(--font-size-body);
  }

  .studio-reels__ctas {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
  }

  /* swipeable row of reels on phones */
  .studio-reels__strip {
    display: flex;
    flex-wrap: nowrap;
    justify-content: flex-start;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .studio-reels__strip::-webkit-scrollbar {
    display: none;
  }

  .reel {
    flex: 0 0 62vw;
    aspect-ratio: 9 / 16;
    scroll-snap-align: start;
  }
}

@media (prefers-reduced-motion: reduce) {
  .reel video {
    transition: none;
  }
}
