/* Single property page. Built on the same type scale, gutters and ink palette
   as the rest of the template - only the page-specific blocks live here. */

.pdp_main__Pmn0 {
  background: #fff;
  color: #151717;
}

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

.pdp_hero__Phr1 {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 68vh;
  padding: 16rem 0 6rem;
  overflow: hidden;
  color: #fff;
  background: #151717;
}

.pdp_hero-bg__Phb2 {
  position: absolute;
  inset: 0;
}

.pdp_hero-bg__Phb2 img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Two scrims rather than one: the vertical wash keeps the top and bottom of the
   frame readable, and the horizontal one sits under the copy, which is always
   set from the left. Renders with a bright sky were washing out the eyebrow. */
.pdp_hero-bg__Phb2::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(21, 23, 23, 0.78) 0%, rgba(21, 23, 23, 0.45) 42%, rgba(21, 23, 23, 0) 72%),
    linear-gradient(180deg, rgba(21, 23, 23, 0.55) 0%, rgba(21, 23, 23, 0.3) 45%, rgba(21, 23, 23, 0.88) 100%);
}

.pdp_hero-inner__Phi3 {
  position: relative;
  z-index: 1;
  width: 100%;
}

.pdp_back__Pbk4 {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  margin: 0 0 3rem;
  font-size: 1.4rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color 0.3s;
}

.pdp_back__Pbk4 svg {
  width: 1.8rem;
  height: 1.8rem;
  transform: rotate(180deg);
}

.pdp_eyebrow__Pey5 {
  margin: 0 0 1.6rem;
  font-size: 1.4rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
  text-shadow: 0 1px 12px rgba(21, 23, 23, 0.5);
}

.pdp_hero-title__Pht6 {
  margin: 0 0 1.6rem;
  font-family: var(--font-secondary);
  font-weight: 400;
  font-size: 4.4rem;
  line-height: 105%;
  letter-spacing: -0.02em;
}

.pdp_hero-address__Pha7 {
  max-width: 60rem;
  font-size: 1.8rem;
  line-height: 150%;
  color: rgba(255, 255, 255, 0.88);
  text-shadow: 0 1px 12px rgba(21, 23, 23, 0.45);
}

/* ------------------------------------------------------------------ facts */

.pdp_facts__Pfc8 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3rem 2rem;
  margin: 4rem 0 0;
  padding: 3rem 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.25);
}

.pdp_fact-label__Pfl9 {
  margin: 0 0 0.6rem;
  font-size: 1.3rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
}

.pdp_fact-value__Pfv10 {
  font-size: 2rem;
  font-weight: 500;
}

/* --------------------------------------------------------------- sections */

.pdp_section__Psc11 {
  padding: 8rem 0;
}

.pdp_section__Psc11.pdp_tint__Ptn12 {
  background: #f1f1f1;
}

.pdp_hgrid__Phg13 {
  display: grid;
  gap: 3rem;
}

.pdp_caption__Pcp14 {
  font-weight: 600;
  font-size: 2rem;
  line-height: 140%;
}

.pdp_lead__Pld15 {
  margin: 1.2rem 0 0;
  max-width: 48rem;
  font-size: 1.6rem;
  line-height: 160%;
  color: rgba(21, 23, 23, 0.55);
}

/* ------------------------------------------------------------ at a glance */

.pdp_specs__Psp16 {
  display: grid;
  gap: 0;
}

.pdp_spec__Psp17 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.4rem;
  padding: 2rem 0;
  border-bottom: 1px solid rgba(21, 23, 23, 0.12);
}

.pdp_spec__Psp17:first-child {
  border-top: 1px solid rgba(21, 23, 23, 0.12);
}

.pdp_spec-label__Psl18 {
  font-size: 1.4rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(21, 23, 23, 0.5);
}

.pdp_spec-value__Psv19 {
  font-size: 1.8rem;
  font-weight: 500;
  line-height: 150%;
}

/* --------------------------------------------------------------- progress */

.pdp_progress__Ppg20 {
  margin: 4rem 0 0;
}

.pdp_progress-head__Pph21 {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 2rem;
  margin: 0 0 1.2rem;
  font-size: 1.4rem;
  color: rgba(21, 23, 23, 0.5);
}

.pdp_progress-value__Ppv22 {
  font-size: 2.4rem;
  font-weight: 500;
  color: #151717;
}

.pdp_progress-track__Ppt23 {
  position: relative;
  height: 2px;
  background: rgba(21, 23, 23, 0.14);
}

.pdp_progress-bar__Ppb24 {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  background: #151717;
}

/* --------------------------------------------------------------- features */

.pdp_features__Pft25 {
  display: grid;
  gap: 1px;
  background: rgba(21, 23, 23, 0.12);
  border: 1px solid rgba(21, 23, 23, 0.12);
}

.pdp_feature__Pfe26 {
  padding: 3.2rem;
  background: #fff;
}

.pdp_feature-num__Pfn27 {
  margin: 0 0 2rem;
  font-size: 1.3rem;
  letter-spacing: 0.08em;
  color: rgba(21, 23, 23, 0.4);
}

.pdp_feature-title__Pfti28 {
  margin: 0 0 1.2rem;
  font-size: 2.2rem;
  font-weight: 500;
  line-height: 130%;
}

.pdp_feature-text__Pftx29 {
  margin: 0;
  font-size: 1.6rem;
  line-height: 165%;
  color: rgba(21, 23, 23, 0.65);
}

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

/* The developer's gallery assets are square; the project renders are portrait
   posters. Each keeps its own aspect so nothing is cropped. */
/* One bento, renders and shots together.

   Every row is exactly one column wide in height - grid-auto-rows is worked
   out from the wrapper's own width - so a tile that spans two columns and
   three rows is exactly that shape, and the grid begins and ends on a straight
   edge with nothing left over. tools/build_gallery.py chooses the spans, and
   only accepts a set that packs solid at four columns and at two. */

.pdp_gallery-wrap__Pgw32 {
  container-type: inline-size;
  margin: 4rem 0 0;
}

.pdp_gallery__Pgl30 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-auto-rows: calc((100cqw - 1.6rem) / 2);
  gap: 1.6rem;
}

.pdp_shot__Psh31 {
  position: relative;
  overflow: hidden;
  background: #e9e9e9;
  grid-column: span var(--cols, 1);
  grid-row: span var(--rows, 1);
}

.pdp_shot__Psh31 img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* Where container queries are not understood the tiles fall back to their own
   shape, which loses the shared row height but keeps the pictures whole. */
@supports not (width: 1cqw) {
  .pdp_gallery__Pgl30 {
    grid-auto-rows: auto;
  }

  .pdp_shot__Psh31 {
    aspect-ratio: calc(var(--cols, 1) / var(--rows, 1));
  }
}

/* ------------------------------------------------------------------ video */

.pdp_videos__Pvd33 {
  display: grid;
  gap: 1.6rem;
  margin: 4rem 0 0;
}

.pdp_video__Pvi34 {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: #e9e9e9;
}

.pdp_video__Pvi34 img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.pdp_play__Ppl35 {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(21, 23, 23, 0.2);
  transition: background 0.3s;
}

.pdp_play__Ppl35 span {
  display: grid;
  place-items: center;
  width: 6.4rem;
  height: 6.4rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: #151717;
}

.pdp_play__Ppl35 svg {
  width: 2.2rem;
  height: 2.2rem;
  margin-left: 0.3rem;
}

/* -------------------------------------------------------------------- cta */

.pdp_cta__Pct36 {
  padding: 8rem 0;
  background: #151717;
  color: #fff;
}

.pdp_cta-inner__Pci37 {
  display: grid;
  gap: 3rem;
  align-items: end;
}

.pdp_cta-title__Pctt38 {
  margin: 0;
  font-family: var(--font-secondary);
  font-weight: 400;
  font-size: 3.6rem;
  line-height: 110%;
  letter-spacing: -0.02em;
}

.pdp_cta-text__Pcx39 {
  margin: 1.6rem 0 0;
  max-width: 46rem;
  font-size: 1.6rem;
  line-height: 165%;
  color: rgba(255, 255, 255, 0.6);
}

.pdp_cta-actions__Pca40 {
  display: flex;
  flex-wrap: wrap;
  gap: 1.6rem;
}

.pdp_btn__Pbt41 {
  display: inline-flex;
  align-items: center;
  gap: 1.2rem;
  padding: 1.6rem 3rem;
  border: 1px solid #fff;
  border-radius: 100px;
  font-size: 1.5rem;
  font-weight: 500;
  color: #fff;
  text-decoration: none;
  transition: background 0.3s, color 0.3s;
}

.pdp_btn__Pbt41 svg {
  width: 1.8rem;
  height: 1.8rem;
}

.pdp_btn__Pbt41.pdp_btn-solid__Pbs42 {
  background: #fff;
  color: #151717;
}

@media (min-width: 768px) {
  .pdp_hero__Phr1 {
    min-height: 82vh;
    padding: 22rem 0 8rem;
  }

  .pdp_hero-title__Pht6 {
    font-size: 8rem;
    line-height: 100%;
    letter-spacing: -0.03em;
  }

  .pdp_facts__Pfc8 {
    grid-template-columns: repeat(4, 1fr);
    margin: 6rem 0 0;
  }

  .pdp_section__Psc11 {
    padding: 12rem 0;
  }

  .pdp_hgrid__Phg13 {
    grid-template-columns: 38rem 1fr;
    gap: 8rem;
  }

  .pdp_spec__Psp17 {
    grid-template-columns: 24rem 1fr;
    gap: 2rem;
    align-items: baseline;
  }

  .pdp_features__Pft25 {
    grid-template-columns: repeat(2, 1fr);
  }

  .pdp_gallery__Pgl30 {
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: calc((100cqw - 3 * 1.6rem) / 4);
  }

  /* An odd last card would otherwise leave the grid's rule-colour showing. */
  .pdp_features__Pft25 .pdp_feature__Pfe26:last-child:nth-child(odd) {
    grid-column: 1 / -1;
  }

  .pdp_videos__Pvd33 {
    grid-template-columns: repeat(3, 1fr);
  }

  .pdp_cta__Pct36 {
    padding: 12rem 0;
  }

  .pdp_cta-inner__Pci37 {
    grid-template-columns: 1fr auto;
    gap: 6rem;
  }

  .pdp_cta-title__Pctt38 {
    font-size: 5.6rem;
  }
}

@media (hover: hover) {
  .pdp_back__Pbk4:hover {
    color: #fff;
  }

  .pdp_shot__Psh31:hover img,
  .pdp_video__Pvi34:hover img {
    transform: scale(1.04);
  }

  .pdp_video__Pvi34:hover .pdp_play__Ppl35 {
    background: rgba(21, 23, 23, 0.05);
  }

  .pdp_btn__Pbt41:hover {
    background: #fff;
    color: #151717;
  }

  .pdp_btn__Pbt41.pdp_btn-solid__Pbs42:hover {
    background: transparent;
    color: #fff;
  }
}

/* A slim closing band: one line, one button, no second choice competing
   with it. */

.pdp_cta__Pct36.pdp_cta-slim__Pcs43 {
  padding: 5rem 0;
}

.pdp_cta-slim__Pcs43 .pdp_cta-inner__Pci37 {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 2.4rem;
}

.pdp_cta-slim__Pcs43 .pdp_cta-title__Pctt38 {
  max-width: 46rem;
  font-size: 2.8rem;
  line-height: 122%;
}

@media (min-width: 768px) {
  .pdp_cta__Pct36.pdp_cta-slim__Pcs43 {
    padding: 6.4rem 0;
  }

  .pdp_cta-slim__Pcs43 .pdp_cta-title__Pctt38 {
    max-width: none;
    font-size: 3.6rem;
  }
}

/* ------------------------------------------------------ desktop type scale
   The homepage steps its type up at 768 and these pages never did: every
   text role in this sheet was authored at one size and kept it all the way
   to 1920. Set beside the homepage the subpages read about a third too
   small - captions matched, everything under them did not.

   The step-ups below are the homepage's own ratios (1.6 -> 2, 2.2 -> 3,
   1.3 -> 1.5). Display type is already on scale and is left alone. */

@media (min-width: 768px) {
  .pdp_lead__Pld15,
  .pdp_feature-text__Pftx29,
  .pdp_cta-text__Pcx39 {
    font-size: 2rem;
  }

  .pdp_spec-value__Psv19 {
    font-size: 2.2rem;
  }

  .pdp_spec-label__Psl18,
  .pdp_progress-head__Pph21,
  .pdp_back__Pbk4,
  .pdp_eyebrow__Pey5,
  .pdp_btn__Pbt41 {
    font-size: 1.6rem;
  }

  .pdp_fact-label__Pfl9,
  .pdp_feature-num__Pfn27 {
    font-size: 1.5rem;
  }

  .pdp_fact-value__Pfv10 {
    font-size: 2.6rem;
  }

  .pdp_feature-title__Pfti28 {
    font-size: 3rem;
  }

  .pdp_progress-value__Ppv22 {
    font-size: 3rem;
  }
}

/* ------------------------------------------------------------- lightbox
   The films play here rather than on YouTube. Square corners, the site's own
   ink behind them, and the picture given the whole frame - the chrome is a
   backdrop and one close button, nothing else. */

.lb_root__Lb1 {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: 2rem;
}

.lb_root__Lb1[hidden] {
  display: none;
}

.lb_backdrop__Lb2 {
  position: absolute;
  inset: 0;
  background: rgba(21, 23, 23, 0.92);
  opacity: 0;
  transition: opacity 0.35s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.lb_root__Lb1[data-open] .lb_backdrop__Lb2 {
  opacity: 1;
}

.lb_stage__Lb3 {
  position: relative;
  width: min(100%, 160rem);
  opacity: 0;
  transform: scale(0.98);
  transition: opacity 0.35s cubic-bezier(0.22, 0.61, 0.36, 1),
              transform 0.45s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.lb_root__Lb1[data-open] .lb_stage__Lb3 {
  opacity: 1;
  transform: scale(1);
}

/* 16/9, but never taller than the window - a film on a short screen should
   lose width, not run off the top and bottom. */
.lb_frame__Lb5 {
  position: relative;
  aspect-ratio: 16 / 9;
  max-height: calc(100vh - 12rem);
  margin: 0 auto;
  background: #000;
  overflow: hidden;
}

.lb_frame__Lb5 iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.lb_close__Lb4 {
  position: absolute;
  right: 0;
  bottom: 100%;
  display: grid;
  place-items: center;
  width: 4.4rem;
  height: 4.4rem;
  margin: 0 0 1.2rem;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  background: transparent;
  color: #fff;
  cursor: pointer;
  transition: background 0.3s, color 0.3s, border-color 0.3s;
}

.lb_close__Lb4 svg {
  width: 1.8rem;
  height: 1.8rem;
}

.lb_close__Lb4:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

@media (hover: hover) {
  .lb_close__Lb4:hover {
    background: #fff;
    border-color: #fff;
    color: #151717;
  }
}

@media (prefers-reduced-motion: reduce) {
  .lb_backdrop__Lb2,
  .lb_stage__Lb3 {
    transition: none;
  }

  .lb_stage__Lb3 {
    transform: none;
  }
}

/* --------------------------------------------------- closing band, on art
   The slim band is otherwise flat ink. Where a page has a picture worth
   ending on it goes behind the band - but only there: the modifier is what
   turns this on, so the nine other closing bands on the site stay as they
   are. */

.pdp_cta__Pct36.pdp_cta-media__Pcm46 {
  position: relative;
  overflow: hidden;
}

.pdp_cta-bg__Pcb45 {
  position: absolute;
  inset: 0;
}

.pdp_cta-bg__Pcb45 img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Weighted to the left, where the line sits, and never fully clear on the
   right - the button is a white pill and needs ground under it too. */
.pdp_cta-bg__Pcb45::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(21, 23, 23, 0.94) 0%, rgba(21, 23, 23, 0.74) 46%, rgba(21, 23, 23, 0.5) 100%),
    linear-gradient(180deg, rgba(21, 23, 23, 0.4) 0%, rgba(21, 23, 23, 0.2) 50%, rgba(21, 23, 23, 0.5) 100%);
}

.pdp_cta-media__Pcm46 .pdp_cta-inner__Pci37 {
  position: relative;
  z-index: 1;
}
