/* photoshoots.css — Photoshoots & Location Hire page */

/* Reuse ev-hero from events.css — import the hero block */
.ev-hero {
  position: relative;
  z-index: 2;
  /* min-height, not height: a fixed height + overflow:hidden silently
     clips the badge/title/lede whenever their combined content is
     taller than the viewport (long lede copy, narrow/short screens).
     min-height keeps the full-bleed look for normal content while
     letting the section grow instead of clipping when it doesn't fit. */
  min-height: max(640px, 100vh);
  background: var(--cream);
  padding: 28px;
  transition: padding-left 0.12s linear, padding-right 0.12s linear;
}

.ev-hero__frame {
  position: relative;
  width: 100%;
  min-height: calc(max(640px, 100vh) - 56px);
  border-radius: 25px;
  isolation: isolate;
  /* Grid, not flex: stacks __visual and __content in the same cell so
     the frame's height is driven by whichever is taller (usually
     __visual's min-height floor, but __content wins and grows the
     frame if its text ever needs more room). Nothing here clips. */
  display: grid;
}

/* Image/darken/overlay layer — this is the ONLY part that clips to
   the rounded corners. Kept separate from __content so long text can
   never be hidden by the image frame's own overflow:hidden. */
.ev-hero__visual {
  grid-row: 1;
  grid-column: 1;
  position: relative;
  overflow: hidden;
  border-radius: inherit;
  isolation: isolate;
}

.ev-hero__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
  transform: scale(1.04);
  animation: evHeroZoom 14s var(--ease) forwards;
}

@keyframes evHeroZoom {
  to { transform: scale(1); }
}

/* Hero split three ways — same slow zoom per photo, side by side
   instead of one full-bleed background. */
.ev-hero__triptych {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: flex;
}

.ev-hero__triptych .ev-hero__img {
  position: relative;
  inset: auto;
  flex: 1 1 0;
  /* Images default to min-width: auto (their intrinsic size), which
     overrides flex-grow and stops them settling at an equal third —
     this forces the equal split regardless of each photo's own size. */
  min-width: 0;
  width: auto;
  height: 100%;
}

.ev-hero__darken {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: #000;
  opacity: 0;
  pointer-events: none;
  will-change: opacity;
}

.ev-hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.08) 0%,
    rgba(0, 0, 0, 0.28) 45%,
    rgba(0, 0, 0, 0.75) 100%
  );
}

.ev-hero__content {
  grid-row: 1;
  grid-column: 1;
  align-self: end;
  position: relative;
  z-index: 2;
  padding: 0 8vw 10vh;
  max-width: 1100px;
}

.ev-hero__badge {
  display: block;
  font-family: var(--sans);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(243, 237, 225, 0.8);
  margin-bottom: 28px;
}

.ev-hero__title {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(32px, 4.5vw, 72px);
  line-height: 0.95;
  letter-spacing: -0.025em;
  color: var(--cream);
  margin: 0 0 32px;
}

.ev-hero__title em {
  font-style: italic;
}

.ev-hero__lede {
  display: inline-block;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(18px, 1.6vw, 22px);
  line-height: 1.6;
  color: rgba(243, 237, 225, 0.95);
  max-width: 68ch;
  margin: 0;
  background: rgba(20, 21, 15, 0.72);
  padding: 14px 20px;
  border-radius: 14px;
}

/* =========================================================
   INTRO
   ========================================================= */
.ps-intro {
  position: relative;
  z-index: 2;
  background: var(--cream);
  padding: 110px 56px 0;
}

.ps-intro__inner {
  max-width: 880px;
  margin: 0 auto;
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}

.ps-intro.is-revealed .ps-intro__inner {
  opacity: 1;
  transform: translateY(0);
}

.ps-intro__tag {
  display: block;
  font-family: var(--sans);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--accent);
  margin-top: 0;
  margin-bottom: 28px;
}

.ps-intro__lede {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(20px, 2vw, 28px);
  line-height: 1.55;
  color: var(--ink);
  margin: 0;
}

/* =========================================================
   TIERS — pricing menu
   ========================================================= */
.ps-tiers {
  position: relative;
  z-index: 2;
  background: var(--cream);
  padding: 80px 56px 40px;
}

.ps-tiers__inner {
  max-width: 960px;
  margin: 0 auto;
}

.ps-tier {
  border-top: 1px solid var(--line);
  padding: 56px 0;
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: clamp(32px, 4vw, 80px);
  align-items: start;
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.ps-tier.is-revealed {
  opacity: 1;
  transform: translateY(0);
}

.ps-tier:last-child {
  padding-bottom: 0;
}

.ps-tier__cat {
  display: block;
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(22px, 2.4vw, 34px);
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin-top: 0;
  margin-bottom: 8px;
}

.ps-tier__cap {
  display: block;
  font-family: var(--sans);
  font-size: 24px;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.ps-option {
  padding: 24px 0;
  border-top: 1px solid var(--line);
}

.ps-option:first-child {
  border-top: none;
  padding-top: 0;
}

.ps-option__name {
  display: block;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 14px;
}

.ps-option__inc {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.ps-option__inc li {
  font-family: var(--sans);
  font-size: 30px;
  font-weight: 400;
  line-height: 1.5;
  color: var(--muted);
  padding-left: 14px;
  position: relative;
}

.ps-option__inc li::before {
  content: "–";
  position: absolute;
  left: 0;
  color: var(--accent);
}

.ps-tier__multiday {
  margin: 20px 0 0;
  font-family: var(--serif);
  font-weight: 400;
  font-style: italic;
  font-size: 32px;
  line-height: 1.5;
  color: var(--accent);
  border-top: 1px solid var(--line);
  padding-top: 20px;
}

.ps-tier--quote .ps-tier__quote-text {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(18px, 1.7vw, 23px);
  line-height: 1.6;
  color: var(--muted);
  margin: 0;
}

.ps-tier--quote .ps-tier__quote-text a {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* =========================================================
   GALLERY
   ========================================================= */
.ps-gallery {
  position: relative;
  z-index: 2;
  background: var(--cream);
  padding: 80px 56px 60px;
}

.ps-gallery__inner {
  max-width: 1280px;
  margin: 0 auto;
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}

.ps-gallery.is-revealed .ps-gallery__inner {
  opacity: 1;
  transform: translateY(0);
}

.ps-gallery__tag {
  display: block;
  font-family: var(--sans);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--accent);
  margin-top: 0;
  margin-bottom: 36px;
}

.ps-gallery__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.ps-gallery__frame {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  margin: 0;
  background: var(--cream-2);
}

.ps-gallery__frame img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.8s var(--ease);
}

.ps-gallery__frame:hover img {
  transform: scale(1.06);
}

.ps-productions {
  position: relative;
  z-index: 2;
  background: var(--cream);
  padding: 20px 56px 60px;
}

.ps-productions__inner {
  max-width: 1280px;
  margin: 0 auto;
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}

.ps-productions.is-revealed .ps-productions__inner {
  opacity: 1;
  transform: translateY(0);
}

.ps-productions__tag {
  display: block;
  font-family: var(--sans);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--accent);
  margin-top: 0;
  margin-bottom: 14px;
}

.ps-productions__lede {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(21px, 2.3vw, 27px);
  color: var(--ink);
  max-width: 560px;
  line-height: 1.4;
  margin: 0 0 32px;
}

.ps-productions__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.ps-productions__frame {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  aspect-ratio: 2 / 3;
  margin: 0;
  background: var(--cream-2);
}

.ps-productions__frame img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.8s var(--ease);
}

.ps-productions__frame:hover img {
  transform: scale(1.06);
}

/* =========================================================
   CLOSING CTA — reuse ev-cta from events
   ========================================================= */
.ev-cta {
  position: relative;
  z-index: 2;
  background: var(--cream);
  border-radius: 0 0 40px 40px;
  box-shadow: 0 60px 80px -50px rgba(0, 0, 0, 0.55);
  padding: 120px 32px 160px;
  text-align: center;
}

.ev-cta__inner {
  max-width: 760px;
  margin: 0 auto;
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}

.ev-cta.is-visible .ev-cta__inner {
  opacity: 1;
  transform: translateY(0);
}

.ev-cta__mark {
  display: block;
  font-size: 18px;
  color: var(--accent);
  margin-bottom: 24px;
}

.ev-cta__kicker {
  display: inline-block;
  font-family: var(--sans);
  font-size: 22px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 28px;
}

.ev-cta__title {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(48px, 7vw, 96px);
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 0 0 24px;
}

.ev-cta__title em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  color: var(--accent);
}

.ev-cta__lede {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(18px, 1.5vw, 21px);
  line-height: 1.6;
  color: var(--muted);
  max-width: 46ch;
  margin: 0 auto 48px;
}

.ev-cta .cta {
  font-size: 18px;
}

/* =========================================================
   REDUCED MOTION
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  .ev-hero__img { animation: none; transform: scale(1); }
  .ps-intro,
  .ps-tier,
  .ps-productions,
  .ps-gallery,
  .ev-cta__inner { transition: none !important; transform: none !important; opacity: 1 !important; }
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 960px) {
  .ps-tier {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

@media (max-width: 720px) {
  .ev-hero {
    padding: 14px;
    min-height: 0;
    aspect-ratio: 1 / 1;
  }
  .ev-hero__frame {
    border-radius: 20px;
    /* Floor matches the aspect-ratio square; grid lets it grow taller
       than this if __content's text needs more room than that. */
    min-height: calc(100vw - 28px);
  }
  .ev-hero__content { padding: 0 20px 40px; }
  .ev-hero__badge { font-size: 12px; margin-bottom: 14px; }
  .ev-hero__title { font-size: clamp(24px, 8vw, 36px); margin-bottom: 14px; }
  .ev-hero__lede { display: none; }

  .ps-intro { padding: 72px 20px 0; }
  .ps-tiers { padding: 56px 20px 24px; }
  .ps-tier__cat { font-size: clamp(22px, 7vw, 28px); }
  .ps-tier__cap { font-size: 13px; }
  .ps-option__inc li { font-size: 16px; }
  .ps-tier__multiday { font-size: 15px; }
  .ps-productions { padding: 16px 20px 40px; }
  .ps-gallery { padding: 56px 20px 40px; }

  .ps-productions__grid,
  .ps-gallery__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .ev-cta {
    padding: 88px 24px 120px;
    border-radius: 0 0 28px 28px;
  }
  .ev-cta__title { font-size: clamp(38px, 12vw, 56px); }
}

@media (max-width: 480px) {
  .ps-gallery__grid { grid-template-columns: 1fr; }
}
