/* Lerey's two films share the portfolio's cream paper and burgundy ink. */
.lerey-page { --lerey-body: #604e53; }
.lerey-page .case-main { margin-top: 14px; }
.lerey-hero, .lerey-story {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr);
  column-gap: clamp(48px, 8vw, 112px);
}
.lerey-hero { min-height: calc(100svh - 128px); align-items: center; padding: 12px 0 52px; }
.lerey-intro { max-width: 490px; }
.lerey-page .case-mark { width: 90px; height: 70px; margin-bottom: 14px; }
.lerey-kicker { margin: 0 0 12px; font: 700 .8125rem/1.5 'Courier New', Courier, monospace; letter-spacing: .07em; text-transform: uppercase; }
.lerey-page .case-main h1 { margin: 0 0 10px; font: 400 clamp(4.5rem, 7.2vw, 6.5rem)/1.1 Raosand, Georgia, serif; letter-spacing: 0; }
.lerey-disclaimer { max-width: 45ch; margin-bottom: 28px; font-size: .875rem; line-height: 1.55; color: var(--lerey-body); }
.lerey-description, .lerey-vibe > p:last-child, .lerey-city-copy > p:not(.lerey-kicker) { font-size: 1rem; line-height: 1.75; color: var(--lerey-body); }
.lerey-description { max-width: 43ch; margin-bottom: 0; }
.lerey-vibe { margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--case-line); max-width: 43ch; }
.lerey-vibe .lerey-kicker { margin-bottom: 8px; }
.lerey-vibe h2 { margin: 0 0 8px; font: 400 1.55rem/1.25 Raosand, Georgia, serif; }
.lerey-vibe > p:last-child { margin-bottom: 0; }
.lerey-poster { position: relative; width: min(100%, 350px); aspect-ratio: 9 / 16; margin: 0; justify-self: end; overflow: hidden; background: #e8dccd; }
.lerey-poster img, .lerey-poster video { display: block; width: 100%; height: 100%; object-fit: contain; border: 0; border-radius: 0; }
.lerey-poster video { position: absolute; inset: 0; pointer-events: none; user-select: none; }
.lerey-poster video::-webkit-media-controls { display: none !important; }
.lerey-production { display: grid; grid-template-columns: 1fr 1.25fr 1fr; gap: 32px; padding: 26px 0; border-block: 1px solid var(--case-line); }
.lerey-production p { font-size: .875rem; line-height: 1.75; color: var(--lerey-body); margin: 0; }
.lerey-production span { display: block; margin-bottom: 7px; color: var(--case-ink); font: 700 .8125rem/1.4 'Courier New', Courier, monospace; }
.lerey-story { grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr); align-items: center; min-height: 100svh; padding: 76px 0 52px; }
.lerey-story .lerey-poster { justify-self: start; align-self: end; }
.lerey-city-copy { max-width: 430px; }
.lerey-city-copy h2 { font: 400 clamp(2.8rem, 5vw, 4.5rem)/1.04 Raosand, Georgia, serif; letter-spacing: 0; margin: 0 0 28px; }
.lerey-process-entry { border-top: 1px solid var(--case-line); padding: 52px 0 58px; margin-top: 32px; }
.lerey-process-entry h2 { font: 400 clamp(1.75rem, 3vw, 2.4rem)/1.2 Raosand, Georgia, serif; letter-spacing: 0; margin-bottom: 14px; }
.lerey-process-entry > p:not(.lerey-kicker) { font-size: 1rem; line-height: 1.7; color: var(--lerey-body); max-width: 56ch; }
.lerey-process-button { margin-top: 8px; border: 1px solid var(--case-ink); padding: 14px 20px; background: var(--case-ink); color: var(--case-paper); font: 700 .9375rem/1.4 'Courier New', Courier, monospace; }
.lerey-process-button:hover { background: #612b3f; }
.lerey-page .case-footer { margin-top: 0; }
.lerey-process-open { overflow: hidden; }
.lerey-process-dialog { width: min(1240px, calc(100% - 48px)); max-width: none; max-height: calc(100dvh - 48px); padding: 0; border: 1px solid var(--case-line); background: var(--case-paper); color: var(--case-ink); overscroll-behavior: contain; }
.lerey-process-dialog::backdrop { background: #221b1dd1; backdrop-filter: blur(7px); }
.lerey-process-panel { padding: clamp(22px, 3.5vw, 44px); }
.lerey-process-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; }
.lerey-process-header .lerey-kicker { margin-bottom: 8px; }
.lerey-process-header h2 { font: 400 clamp(1.6rem, 3vw, 2.3rem)/1.2 Raosand, Georgia, serif; margin-bottom: 20px; }
.lerey-close, .lerey-canvas-tools button { flex: 0 0 auto; min-height: 44px; border: 1px solid var(--case-line); padding: 10px 14px; font-size: .875rem; }
.lerey-close:hover, .lerey-canvas-tools button:hover { background: #76364d0e; }
#process-description { max-width: 85ch; color: var(--lerey-body); font-size: 1rem; line-height: 1.7; }
.lerey-canvas-tools { display: flex; justify-content: space-between; align-items: center; gap: 18px; margin: 22px 0 12px; }
.lerey-canvas-tools p { margin: 0; font-size: .875rem; line-height: 1.5; color: var(--lerey-body); }
.lerey-canvas-viewport { overflow: auto; max-height: 58svh; background: #191919; overscroll-behavior: contain; }
.lerey-canvas-viewport img { display: block; width: 100%; height: auto; max-width: none; }
.lerey-canvas-viewport.is-zoomed img { width: 2858px; }
.lerey-process-notes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px; margin-top: 26px; }
.lerey-process-notes h3 { font: 700 .9375rem/1.4 'Courier New', Courier, monospace; margin: 0 0 8px; }
.lerey-process-notes p { font-size: .9375rem; line-height: 1.65; color: var(--lerey-body); margin-bottom: 0; }
.lerey-page button:focus-visible, .lerey-canvas-viewport:focus-visible { outline: 2px dashed var(--case-ink); outline-offset: 5px; }
@media (max-width: 900px) and (min-width: 761px) {
  .lerey-hero, .lerey-story { column-gap: 44px; }
  .lerey-production { grid-template-columns: 1fr 1fr; }
  .lerey-production p:last-child { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  .lerey-page .case-main { margin-top: 28px; }
  .lerey-hero, .lerey-story { grid-template-columns: 1fr; min-height: 0; gap: 32px; }
  .lerey-hero { padding: 0 0 40px; }
  .lerey-page .case-main h1 { font-size: clamp(4.25rem, 17vw, 6rem); }
  .lerey-intro { max-width: 540px; }
  .lerey-page .case-mark { width: 72px; height: 56px; }
  .lerey-disclaimer { max-width: 46ch; margin-bottom: 24px; }
  .lerey-vibe { max-width: none; margin-top: 24px; }
  .lerey-poster { justify-self: center; width: min(100%, 350px); }
  .lerey-production { grid-template-columns: 1fr; gap: 22px; }
  .lerey-story { padding: 48px 0 20px; }
  .lerey-city-copy { grid-row: 1; max-width: 520px; }
  .lerey-city-copy h2 { font-size: 3rem; margin-bottom: 20px; }
  .lerey-story .lerey-poster { justify-self: center; }
  .lerey-process-entry { padding: 36px 0; margin-top: 20px; }
  .lerey-process-dialog { width: calc(100% - 24px); max-height: calc(100dvh - 24px); }
  .lerey-process-header { gap: 12px; }
  .lerey-process-panel { padding: 20px; }
  .lerey-close { padding-inline: 10px; }
  .lerey-process-notes { grid-template-columns: 1fr; gap: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  .lerey-poster video { visibility: hidden; }
}
