/* Real artist photography and video.
   Loaded after style.css and booking.css; adds only new classes.

   Rule followed throughout: every element's RESTING state is fully visible. Entrance
   motion is layered on top as enhancement, never as a precondition for being seen. */

:root {
  --media-radius: 2px;
  --media-shadow: 0 40px 90px rgba(0, 0, 0, .55);
}

/* ------------------------------------------------------------------ hero portrait */

/* Fills the space the vinyl motif used to occupy, sitting inside the halo and frame. */
.hero__portrait {
  position: absolute;
  inset: 5% 5% 7% 13%;
  z-index: 2;
  margin: 0;
  overflow: hidden;
  border-radius: var(--media-radius);
}
.hero__portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 22%;
  filter: saturate(.92) contrast(1.04);
  transform: scale(1.001);
  transition: transform 1.2s var(--ease-luxury), filter 1.2s var(--ease-luxury);
}
/* Photograph dissolves into the page rather than sitting in a hard box. */
.hero__portrait::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(to bottom, rgba(10, 9, 7, .55) 0%, transparent 26%, transparent 62%, var(--ink) 99%),
    linear-gradient(to right, var(--ink) 0%, transparent 22%, transparent 82%, rgba(10, 9, 7, .8) 100%),
    radial-gradient(120% 80% at 70% 18%, rgba(236, 178, 89, .18), transparent 60%);
}
.hero__visual:hover .hero__portrait img { transform: scale(1.03); filter: saturate(1) contrast(1.06); }

/* ------------------------------------------------------------------ about portrait */

/* Third child of the two-column about grid: lands under the heading, left column. */
.about__portrait {
  position: relative;
  margin: 2.5rem 0 0;
  align-self: start;
}
.about__portrait img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: 50% 28%;
  border-radius: var(--media-radius);
  filter: saturate(.9) contrast(1.05);
  transition: transform .9s var(--ease-luxury), filter .9s var(--ease-luxury);
}
.about__portrait::before {
  content: "";
  position: absolute;
  inset: -14px -14px 34px 14px;
  border: 1px solid rgba(214, 168, 79, .32);
  border-radius: var(--media-radius);
  pointer-events: none;
  transition: inset .8s var(--ease-luxury), border-color .8s var(--ease-luxury);
}
.about__portrait:hover img { transform: scale(1.02); filter: saturate(1) contrast(1.06); }
.about__portrait:hover::before { inset: -20px -20px 28px 20px; border-color: var(--gold); }
.about__portrait figcaption {
  margin-top: 1.1rem;
  color: #8f887c;
  font-size: .64rem;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.about__portrait figcaption span { color: var(--gold); margin-right: .4rem; }

/* ------------------------------------------------------------------- showreel */

.showreel { background: linear-gradient(180deg, #0a0907, #0d0c0a 40%, #0a0907); }

.showreel__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  grid-template-rows: auto auto;
  gap: clamp(.8rem, 1.6vw, 1.4rem);
}
.reel--feature { grid-row: span 2; }

.reel {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--media-radius);
  background: #0d0c0a;
  cursor: pointer;
  aspect-ratio: 9 / 16;
  transition: border-color .4s var(--ease-luxury), transform .4s var(--ease-luxury);
}
.reel:not(.reel--feature) { aspect-ratio: 4 / 5; }
.reel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(.85) brightness(.82);
  transition: transform .7s var(--ease-luxury), filter .7s var(--ease-luxury);
}
.reel::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 9, 7, .92) 0%, rgba(10, 9, 7, .1) 45%, transparent 70%);
  pointer-events: none;
}

.reel__play {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
  display: grid;
  place-items: center;
  width: clamp(48px, 5vw, 64px);
  aspect-ratio: 1;
  border: 1px solid rgba(242, 234, 217, .5);
  border-radius: 50%;
  background: rgba(10, 9, 7, .38);
  backdrop-filter: blur(4px);
  transform: translate(-50%, -50%);
  transition: background .4s var(--ease-luxury), border-color .4s var(--ease-luxury), transform .4s var(--ease-luxury);
}
.reel__play::before {
  content: "";
  width: 0;
  height: 0;
  margin-left: 3px;
  border-top: 7px solid transparent;
  border-bottom: 7px solid transparent;
  border-left: 11px solid var(--cream);
  transition: border-left-color .4s var(--ease-luxury);
}

.reel__meta {
  position: absolute;
  right: 1rem;
  bottom: .95rem;
  left: 1rem;
  z-index: 2;
  display: grid;
  gap: .15rem;
  text-align: left;
}
.reel__meta b {
  color: var(--cream);
  font-family: var(--serif);
  font-size: clamp(.95rem, 1.5vw, 1.25rem);
  font-weight: 500;
}
.reel__meta i {
  color: #9a9285;
  font-size: .56rem;
  font-style: normal;
  letter-spacing: .18em;
  text-transform: uppercase;
}

/* --------------------------------------------------------------------- gallery */

.gallery__mosaic {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(.8rem, 1.6vw, 1.3rem);
}
.shot {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--media-radius);
  background: #0d0c0a;
  cursor: pointer;
  aspect-ratio: 4 / 3;
  transition: border-color .4s var(--ease-luxury), transform .4s var(--ease-luxury);
}
.shot[data-shot="0"] { grid-column: span 5; grid-row: span 2; aspect-ratio: 3 / 4; }
.shot[data-shot="1"] { grid-column: span 7; aspect-ratio: 16 / 9; }
.shot[data-shot="2"] { grid-column: span 3; aspect-ratio: 4 / 3; }
.shot[data-shot="3"] { grid-column: span 4; aspect-ratio: 4 / 3; }
.shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(.88) brightness(.88);
  transition: transform .8s var(--ease-luxury), filter .8s var(--ease-luxury);
}
.shot::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(70% 60% at 50% 100%, rgba(236, 178, 89, .16), transparent 70%);
  opacity: 0;
  transition: opacity .5s var(--ease-luxury);
  pointer-events: none;
}

/* --------------------------------------------------------- shared hover language */

@media (hover: hover) and (pointer: fine) {
  .reel:hover, .shot:hover { transform: translateY(-5px); border-color: rgba(214, 168, 79, .5); }
  .reel:hover img { transform: scale(1.05); filter: saturate(1) brightness(.95); }
  .shot:hover img { transform: scale(1.04); filter: saturate(1) brightness(1); }
  .shot:hover::after { opacity: 1; }
  .reel:hover .reel__play { background: var(--gold); border-color: var(--gold-light); transform: translate(-50%, -50%) scale(1.08); }
  .reel:hover .reel__play::before { border-left-color: var(--ink); }
}
.reel:focus-visible, .shot:focus-visible { outline: 2px solid var(--gold-light); outline-offset: 4px; }

/* ----------------------------------------------------------------- media modal */

.media-modal {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: grid;
  place-items: center;
  padding: clamp(1rem, 4vw, 3rem);
  background: rgba(5, 4, 3, .9);
  backdrop-filter: blur(10px);
}
.media-modal[hidden] { display: none; }
.media-modal__inner {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 1rem;
  max-width: min(1100px, 100%);
  max-height: 100%;
}
.media-modal__video,
.media-modal__image {
  max-width: 100%;
  max-height: 78vh;
  width: auto;
  border: 1px solid rgba(214, 168, 79, .25);
  border-radius: var(--media-radius);
  background: #000;
  box-shadow: var(--media-shadow);
}
.media-modal__caption {
  margin: 0;
  color: var(--cream-muted);
  font-size: .74rem;
  letter-spacing: .06em;
  text-align: center;
}
.media-modal__close {
  position: absolute;
  top: -2.9rem;
  right: 0;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--cream);
  background: rgba(10, 9, 7, .6);
  font-size: 1.3rem;
  line-height: 1;
  cursor: pointer;
  transition: border-color .3s, color .3s, background .3s;
}
.media-modal__close:hover { border-color: var(--gold); color: var(--gold-light); background: rgba(214, 168, 79, .12); }
.media-modal__nav {
  position: absolute;
  top: 50%;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--cream);
  background: rgba(10, 9, 7, .62);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  transform: translateY(-50%);
  transition: border-color .3s, color .3s, background .3s;
}
.media-modal__nav:hover { border-color: var(--gold); color: var(--gold-light); }
.media-modal__nav--prev { left: -1rem; }
.media-modal__nav--next { right: -1rem; }

/* ------------------------------------------------------------------ responsive */

@media (max-width: 1024px) {
  .showreel__grid { grid-template-columns: 1fr 1fr; }
  .reel--feature { grid-row: auto; grid-column: span 2; aspect-ratio: 16 / 10; }
  .media-modal__nav--prev { left: .25rem; }
  .media-modal__nav--next { right: .25rem; }
}

@media (max-width: 768px) {
  .about__portrait { max-width: 26rem; margin-top: 0; }
  .about__portrait::before { inset: -10px -10px 26px 10px; }
  .gallery__mosaic { grid-template-columns: repeat(2, 1fr); }
  .shot[data-shot="0"] { grid-column: span 1; grid-row: span 2; aspect-ratio: 3 / 4; }
  .shot[data-shot="1"] { grid-column: span 1; aspect-ratio: 4 / 3; }
  .shot[data-shot="2"] { grid-column: span 1; aspect-ratio: 4 / 3; }
  .shot[data-shot="3"] { grid-column: span 2; aspect-ratio: 16 / 9; }
  .hero__portrait { inset: 3% 4% 5% 4%; }
  .hero__portrait img { object-position: 50% 18%; }
}

@media (max-width: 560px) {
  .showreel__grid { grid-template-columns: 1fr; }
  .reel--feature { grid-column: auto; aspect-ratio: 4 / 5; }
  .reel:not(.reel--feature) { aspect-ratio: 4 / 5; }
  .gallery__mosaic { grid-template-columns: 1fr; }
  .shot[data-shot="0"], .shot[data-shot="1"], .shot[data-shot="2"], .shot[data-shot="3"] { grid-column: auto; grid-row: auto; aspect-ratio: 4 / 3; }
  .media-modal__close { top: -2.4rem; }
  .media-modal__video, .media-modal__image { max-height: 68vh; }
}

@media (prefers-reduced-motion: reduce) {
  .hero__portrait img, .about__portrait img, .about__portrait::before,
  .reel, .reel img, .reel__play, .shot, .shot img, .shot::after { transition: none; }
}
