/* Programs index after essesi.com: a full-screen light field, sixteen small square photographs spread evenly
   with tiny names. Open, each photograph shrinks to a dot in its place and the program scrolls in a narrow
   centred column over the field. No rules, no boxes. */
.px {
  --px-bg: #f3f3f1;
  --px-ink: #1a1a1a;
  --px-soft: #8a8a86;
  position: relative;
  height: 100vh;
  min-height: 620px;
  overflow: hidden;
  background: var(--px-bg);
  color: var(--px-ink);
}
.px__field {
  position: absolute;
  inset: clamp(70px, 9vh, 110px) clamp(24px, 6vw, 110px) clamp(40px, 7vh, 90px);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(4, 1fr);
  place-items: center;
}
.px__t {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 9px;
  margin: 0;
  padding: 6px;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  cursor: pointer;
}
.px__ph {
  display: block;
  width: clamp(48px, 5vw, 76px);
  height: clamp(48px, 5vw, 76px);
  overflow: hidden;
  background: #d9d9d5;
  transition: width .7s cubic-bezier(.2, .8, .2, 1), height .7s cubic-bezier(.2, .8, .2, 1), opacity .4s ease;
}
.px__ph img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity .5s ease;
}
.px__name {
  max-width: 13em;
  font-family: var(--display);
  font-size: 11px;
  line-height: 1.3;
  letter-spacing: .02em;
  text-align: center;
  color: var(--px-soft);
  transition: opacity .35s ease, color .3s ease;
}
.px__t:hover .px__name,
.px__t:focus-visible .px__name { color: var(--px-ink); }
.px__t:focus-visible { outline: none; }

/* Open: every photograph becomes a small dot in its place */
.px.is-open .px__ph { width: 7px; height: 7px; }
.px.is-open .px__ph img { opacity: 0; }
.px.is-open .px__t .px__ph { background: #c4c4bf; }
.px.is-open .px__t:hover .px__ph,
.px.is-open .px__t.is-on .px__ph { background: var(--px-ink); }
.px.is-open .px__name { opacity: 0; pointer-events: none; }

/* The program, in a narrow column over the dots */
.px__d {
  position: absolute;
  inset: 0;
  z-index: 2;
  overflow-y: auto;
  padding: clamp(80px, 12vh, 140px) 24px 120px;
  opacity: 0;
  transition: opacity .5s ease;
  scrollbar-width: none;
}
.px__d::-webkit-scrollbar { display: none; }
.px__d.is-in { opacity: 1; transition-delay: .25s; }
.px__d[hidden] { display: none; }
.px__x {
  position: fixed;
  position: sticky;
  top: 0;
  float: right;
  margin: -40px 0 0;
  padding: 6px 10px;
  border: 0;
  background: none;
  color: var(--px-soft);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}
.px__x:hover { color: var(--px-ink); }
.px__col {
  width: min(520px, 100%);
  margin: 0 auto;
  text-align: center;
}
.px__txt {
  margin: 0 auto;
  max-width: 34em;
  font-family: var(--display);
  font-size: 13.5px;
  line-height: 1.6;
  color: #3a3a38;
}
.px__h {
  display: block;
  margin-bottom: 4px;
  font-size: 13.5px;
  color: var(--px-ink);
}
.px__img {
  margin: clamp(40px, 7vh, 80px) auto;
  background: #111;
}
.px__img img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}
.px__steps {
  margin: 28px auto 0;
  padding: 0;
  list-style: none;
  counter-reset: s;
  font-family: var(--display);
  font-size: 13.5px;
  line-height: 1.6;
  color: #3a3a38;
}
.px__steps li { counter-increment: s; }
.px__steps li::before { content: counter(s, decimal-leading-zero) "  "; color: var(--px-soft); font-style: italic; }
.px__out {
  margin: 34px auto 0;
  max-width: 26em;
  font-family: var(--display);
  font-weight: 300;
  font-size: clamp(19px, 1.6vw, 24px);
  line-height: 1.35;
}
.px__cta {
  display: inline-block;
  margin-top: 28px;
  padding: 11px 20px;
  border-radius: 999px;
  background: var(--px-ink);
  color: var(--px-bg);
  font-family: var(--display);
  font-size: 14px;
  text-decoration: none;
}
.px__cta:hover { background: #000; }

@media (max-width: 1024px) {
  .px { height: auto; min-height: 100vh; }
  .px__field { position: relative; inset: auto; padding: 90px 16px 60px; grid-template-columns: repeat(2, 1fr); grid-template-rows: none; gap: 40px 10px; }
  .px.is-open .px__field { position: absolute; inset: 70px 16px 40px; padding: 0; grid-template-columns: repeat(4, 1fr); grid-template-rows: repeat(4, 1fr); gap: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .px__ph, .px__d { transition: none; }
}

/* Previous and next as plain arrows; the dots keep a tiny version of each photograph */
.px__nav {
  display: flex;
  justify-content: center;
  gap: 56px;
  margin-top: 40px;
}
.px__arr {
  padding: 6px 10px;
  border: 0;
  background: none;
  color: var(--px-soft);
  font-family: var(--display);
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
  transition: color .3s ease, transform .3s ease;
}
.px__arr:hover,
.px__arr:focus-visible { color: var(--px-ink); outline: none; }
.px__arr[data-step="-1"]:hover { transform: translateX(-4px); }
.px__arr[data-step="1"]:hover { transform: translateX(4px); }
.px.is-open .px__ph { width: 16px; height: 16px; background: none; }
.px.is-open .px__ph img { opacity: .55; }
.px.is-open .px__t .px__ph { background: none; }
.px.is-open .px__t:hover .px__ph img,
.px.is-open .px__t.is-on .px__ph img { opacity: 1; }
.px.is-open .px__t:hover .px__ph,
.px.is-open .px__t.is-on .px__ph { background: none; }
/* Text in the open column sits on the field colour, so the small photographs behind never cross the words */
.px__col > p, .px__col > ol, .px__col > nav { position: relative; background: var(--px-bg); box-shadow: 0 0 0 14px var(--px-bg); }

/* 27 Oct: the field is black, like the rest of the site; dots are tiny photographs, never grey boxes */
.px { --px-bg: #000; --px-ink: #ededea; --px-soft: #8a8a86; }
.px__txt, .px__steps { color: #b9b9b4; }
.px__ph { background: #111; }
.px.is-open .px__t .px__ph,
.px.is-open .px__t:hover .px__ph,
.px.is-open .px__t.is-on .px__ph { width: 16px !important; height: 16px !important; background: none !important; }
.px.is-open .px__t .px__ph img { opacity: .55 !important; }
.px.is-open .px__t:hover .px__ph img,
.px.is-open .px__t.is-on .px__ph img { opacity: 1 !important; }

/* Program title at 300% of the description size */
.px__h { margin-bottom: 14px !important; font-weight: 300; font-size: 300% !important; line-height: 1.05; letter-spacing: -.015em; color: var(--px-ink); }

/* Clickable without words: a cursor, a lift on hover with the rest stepping back, and an idle cue
   where one photograph at a time rises and brightens */
.px__t { cursor: pointer; }
.px__t .px__ph { transition: transform .6s cubic-bezier(.2, .8, .2, 1), opacity .4s ease, filter .4s ease, width .7s cubic-bezier(.2, .8, .2, 1), height .7s cubic-bezier(.2, .8, .2, 1); }
.px:not(.is-open) .px__ph { filter: brightness(.82); }
.px:not(.is-open) .px__field:hover .px__t .px__ph { opacity: .35; }
.px:not(.is-open) .px__field:hover .px__t:hover .px__ph,
.px:not(.is-open) .px__t:focus-visible .px__ph { opacity: 1; filter: none; transform: translateY(-6px) scale(1.22); box-shadow: 0 18px 40px rgba(0, 0, 0, .6); }
.px:not(.is-open) .px__field:hover .px__t:hover .px__name { color: #fff; }
.px:not(.is-open) .px__t.is-cue .px__ph { filter: none; transform: translateY(-4px) scale(1.1); }
.px:not(.is-open) .px__t.is-cue .px__name { color: var(--px-ink); }

/* Phones only: an open program keeps its close button fixed at the upper right, as on the case studies */
@media (max-width: 1024px) {
  .px__x {
    position: fixed;
    top: 78px;
    right: 16px;
    z-index: 950;
    float: none;
    margin: 0;
    width: 40px;
    height: 40px;
    padding: 0;
    border-radius: 50%;
    background: rgba(20, 20, 20, .88);
    color: #ededea;
  }
}

/* Phones only: "16 Strategy & Creative Programs" stays pinned under the top bar while the list scrolls */
.px__head { display: none; }
@media (max-width: 1024px) {
  .px { overflow: clip; }
  .px__head {
    display: block;
    position: sticky;
    top: 64px;
    z-index: 3;
    margin: 0;
    padding: 14px 16px 12px;
    background: inherit;
    font-family: var(--display, "Newsreader", serif);
    font-size: 24px;
    line-height: 1.15;
    text-align: center;
  }
  .px__field { padding-top: 24px; }
  .px.is-open .px__head { display: none; }
}
@media (max-width: 1024px) {
  /* the program's title starts below the fixed close button instead of behind it */
  .px__d { padding-top: 132px; }
}

/* Phones only: a gently bobbing arrow at the foot of an open program says there is more to read */
.px__more { display: none; }
@media (max-width: 1024px) {
  .px__more {
    display: grid;
    place-items: center;
    position: fixed;
    left: 50%;
    bottom: 22px;
    z-index: 950;
    width: 44px;
    height: 44px;
    margin-left: -22px;
    border-radius: 50%;
    background: rgba(20, 20, 20, .88);
    color: #ededea;
    font-size: 20px;
    pointer-events: none;
    animation: px-more 1.6s ease-in-out infinite;
    transition: opacity .3s ease;
  }
  .px__d.is-read .px__more { opacity: 0; }
}
@keyframes px-more {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(6px); }
}
@media (prefers-reduced-motion: reduce) {
  .px__more { animation: none; }
}

/* Phones only: behind an open program, the field of small photos is softly blurred and dimmed, not blacked out */
@media (max-width: 1024px) {
  .px.is-open .px__field { filter: blur(6px); opacity: .35; transition: filter .4s ease, opacity .4s ease; }
}

/* Phones only: an open program rises into place like a card coming up */
@media (max-width: 1024px) {
  .px__d {
    transform: translateY(24px);
    transition: opacity .7s ease, transform .9s cubic-bezier(.25, .6, .3, 1);
  }
  .px__d.is-in { transform: none; transition-delay: .1s; }
}
@media (max-width: 1024px) and (prefers-reduced-motion: reduce) {
  .px__d { transform: none; transition: opacity .3s ease; }
}
@media (max-width: 1024px) {
  /* leaving a program: it fades out quickly so the list never shows through it */
  .px__d:not(.is-in) { transition: opacity .25s ease, transform .25s ease; }
}

/* Phones only: an open program is a full-screen layer over the page (like a case study). The page and the list of
   sixteen stay exactly where they were underneath, so opening and closing never jump or reshuffle anything. */
@media (max-width: 1024px) {
  .px__d {
    position: fixed;
    inset: 0;
    z-index: 890;
    background: #000;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
  }
  .px__d:not(.is-in) { transition: opacity .5s ease, transform .6s ease; }
  .px.is-open .px__field {
    position: relative;
    inset: auto;
    padding: 24px 16px 60px;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: none;
    gap: 40px 10px;
    filter: none;
    opacity: 1;
  }
  .px.is-open .px__ph { width: auto; height: auto; }
  .px.is-open .px__ph img { opacity: 1; }
  .px.is-open .px__name { opacity: 1; pointer-events: auto; }
  .px.is-open .px__head { display: block; }
}

/* Phones: the program layer's black background is there at once (the page never shows through it);
   only its content drifts up into view. Closing is one short, clean fade. */
@media (max-width: 1024px) {
  .px__d.is-in { opacity: 1; transform: none; transition: none; }
  .px__d:not(.is-in) { opacity: 0; transform: none; transition: opacity .3s ease; }
  .px__d.is-in .px__col { animation: px-up .9s cubic-bezier(.25, .6, .3, 1) both; }
}
@keyframes px-up {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .px__d.is-in .px__col { animation: none; }
}

/* Desktop, for programs opened from the Decision Guide: a full-screen layer over the page (as on phones). The page
   underneath never moves; reading past the end, or the close button, fades it away back to where it was opened.
   Programs opened from the list of sixteen keep the original field, where the other photographs shrink around it. */
@media (min-width: 1025px) {
  .px__d.is-layer {
    position: fixed;
    inset: 0;
    z-index: 890;
    background: #000;
    overscroll-behavior: contain;
    padding-top: 120px;
  }
  .px__d.is-layer.is-in { opacity: 1; transform: none; transition: none; }
  .px__d.is-layer:not(.is-in) { opacity: 0; transform: none; transition: opacity .3s ease; }
  .px__d.is-layer.is-in .px__col { animation: px-up .9s cubic-bezier(.25, .6, .3, 1) both; }
  .px__d.is-layer .px__x {
    position: fixed;
    top: 86px;
    right: var(--gut, 40px);
    z-index: 950;
    float: none;
    margin: 0;
    width: 40px;
    height: 40px;
    padding: 0;
    border-radius: 50%;
    background: rgba(237, 237, 234, .08);
    color: #ededea;
  }
  .px__d.is-layer .px__x:hover { background: rgba(237, 237, 234, .18); }
}

/* Moving between programs: the old one sinks and fades softly before the next rises (js: step) */
.px__col.is-leaving { opacity: 0; transform: translateY(14px); transition: opacity .42s ease, transform .42s ease; animation: none !important; }
.px__d.is-in .px__col { animation-duration: 1.1s !important; animation-timing-function: cubic-bezier(.22, .61, .36, 1) !important; }

/* An open program sits on a deeply blurred, darkened view of the page, not flat black. The blur is strong enough
   that nothing behind can be read through the program */
.px__d {
  background: rgba(0, 0, 0, .62) !important;
  -webkit-backdrop-filter: blur(28px) saturate(.9);
  backdrop-filter: blur(28px) saturate(.9);
}

/* Desktop, program open from the list: the sixteen stay in their own places in the field, only smaller and
   clickable. They sit underneath the program: its column is solid black, so tiles never cover its text or photos,
   and the ones around it stay visible to click */
@media (min-width: 1025px) {
  .px.is-open .px__d:not(.is-layer) { pointer-events: none; background: transparent !important; -webkit-backdrop-filter: none !important; backdrop-filter: none !important; }
  .px.is-open .px__d .px__col,
  .px.is-open .px__d .px__x,
  .px.is-open .px__d .px__more { pointer-events: auto; }
  .px.is-open .px__d .px__col { position: relative; z-index: 1; background: var(--px-bg, #000); }
  .px.is-open .px__t { pointer-events: auto; }
  .px.is-open .px__t .px__ph,
  .px.is-open .px__t:hover .px__ph,
  .px.is-open .px__t.is-on .px__ph { width: 34px !important; height: 34px !important; }
  .px.is-open .px__t .px__ph img { opacity: .75 !important; transition: opacity .4s ease; }
  .px.is-open .px__t:hover .px__ph img,
  .px.is-open .px__t.is-on .px__ph img { opacity: 1 !important; }
}



/* Desktop layer (opened from the Decision Guide): the sixteen sit in the same places as in the field, small and
   clickable */
.px__rail { display: none; }
@media (min-width: 1025px) {
  .px__rail {
    position: fixed;
    inset: clamp(70px, 9vh, 110px) clamp(24px, 6vw, 110px) clamp(40px, 7vh, 90px);
    z-index: 0;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(4, 1fr);
    place-items: center;
    pointer-events: none;
  }
  .px__mini { pointer-events: auto; width: 34px; height: 34px; padding: 0; border: 0; background: #111; cursor: pointer; overflow: hidden; }
  .px__mini img { display: block; width: 100%; height: 100%; object-fit: cover; opacity: .6; transition: opacity .4s ease; }
  .px__mini:hover img, .px__mini.is-on img { opacity: 1; }
}

@media (min-width: 1025px) {
  /* the program's photo and text sit above the small squares on a solid ground */
  .px__d .px__col { position: relative; z-index: 2; }
  .px__d .px__col > figure, .px__d .px__col > .px__img { position: relative; z-index: 2; background: var(--px-bg, #000); }
  .px__mini { pointer-events: none; }
}

@media (min-width: 1025px) {
  /* in the layer too, the program column sits above the small tiles, on solid black */
  .px__d.is-layer .px__col { position: relative; z-index: 1; background: #000; }
}

/* Tablet: the sixteen fill the width as an even four-column grid, each photograph the full width of its column.
   Touch screens have no hover, so nothing dims or lifts. Phones and laptops keep their own layouts. */
@media (min-width: 761px) and (max-width: 1024px) {
  .px__field, .px.is-open .px__field {
    padding: 24px var(--gut) 72px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-template-rows: none;
    gap: 36px 16px;
    place-items: start stretch;
  }
  .px__t { width: 100%; padding: 0; grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .px__ph,
  .px.is-open .px__t .px__ph,
  .px.is-open .px__t:hover .px__ph,
  .px.is-open .px__t.is-on .px__ph { width: 100% !important; height: auto !important; aspect-ratio: 1; }
  .px.is-open .px__t .px__ph img { opacity: 1 !important; }
  .px__name { max-width: none; font-size: 13px; }
  .px:not(.is-open) .px__ph { filter: none; }
  .px:not(.is-open) .px__field:hover .px__t .px__ph { opacity: 1; }
  .px:not(.is-open) .px__field:hover .px__t:hover .px__ph,
  .px:not(.is-open) .px__t:focus-visible .px__ph,
  .px:not(.is-open) .px__t.is-cue .px__ph { filter: none; transform: none; box-shadow: none; }
}

/* Phones: all sixteen on one screen, four across and four down. The grid takes the height left under the top bar (64px)
   and the pinned heading (54px), so the whole set is visible once the heading reaches the bar. */
@media (max-width: 760px) {
  .px { min-height: 0; }
  .px__field, .px.is-open .px__field {
    box-sizing: border-box;
    height: max(540px, calc(100svh - 118px));
    padding: 6px 12px 14px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-template-rows: repeat(4, minmax(0, 1fr));
    gap: 6px 8px;
    place-items: start stretch;
  }
  .px__t { width: 100%; padding: 0; grid-template-columns: minmax(0, 1fr); gap: 6px; }
  .px__ph,
  .px.is-open .px__t .px__ph,
  .px.is-open .px__t:hover .px__ph,
  .px.is-open .px__t.is-on .px__ph { width: 100% !important; height: auto !important; aspect-ratio: 1; }
  .px.is-open .px__t .px__ph img { opacity: 1 !important; }
  .px__name { max-width: none; font-size: 10px; line-height: 1.25; letter-spacing: .01em; }
  .px:not(.is-open) .px__ph { filter: none; }
  .px:not(.is-open) .px__field:hover .px__t .px__ph { opacity: 1; }
  .px:not(.is-open) .px__field:hover .px__t:hover .px__ph,
  .px:not(.is-open) .px__t:focus-visible .px__ph,
  .px:not(.is-open) .px__t.is-cue .px__ph { filter: none; transform: none; box-shadow: none; }
}

/* Tablet: an open approach reads at the same 20px as the site's other supporting text; its title keeps its size */
@media (min-width: 761px) and (max-width: 1024px) {
  .px__txt, .px__steps { font-size: 20px; line-height: 1.5; }
  .px__h { font-size: 40px !important; }
  .px__col { width: min(620px, 100%); }
}
@media (min-width: 761px) and (max-width: 1024px) {
  .px__out { font-size: 24px; }
}

/* An open approach shown as a layer over the blurred page (phones, tablets, and laptops opened from the guide) has no
   tiles behind its text, so the text needs no solid black patches; those patches only belong to the laptop field */
@media (max-width: 1024px) {
  .px__col > p, .px__col > ol, .px__col > nav { background: none; box-shadow: none; }
}
.px__d.is-layer .px__col, .px__d.is-layer .px__col > p, .px__d.is-layer .px__col > ol, .px__d.is-layer .px__col > nav,
.px__d.is-layer .px__col > figure { background: none !important; box-shadow: none !important; }

/* The leader's question sits on its own, with clear space before the answer */
.px__q { display: block; margin-bottom: 1.1em; }

/* The photograph in an open decision is a shorter landscape crop (it was a tall 4:5 portrait) */
.px__img img { aspect-ratio: 960 / 590; }

/* Tablets and phones: an open decision opens on its name, the leader's question and the answer alone, set larger and
   filling the first screen; the photograph and "When..." follow as you scroll */
@media (max-width: 1024px) {
}
@media (min-width: 761px) and (max-width: 1024px) {
  .px__col > .px__txt:first-child { font-size: 24px; line-height: 1.45; }
  .px__col > .px__txt:first-child .px__q { font-size: 30px; line-height: 1.3; }
}
@media (max-width: 760px) {
  .px__col > .px__txt:first-child { font-size: 18px; line-height: 1.45; }
  .px__col > .px__txt:first-child .px__q { font-size: 22px; line-height: 1.3; }
}

/* Laptops, a decision opened from the assessment: no small thumbnails scattered behind the text (they showed through
   the column); previous and next arrows at the foot move between decisions */
.px__d.is-layer .px__rail { display: none !important; }

/* Laptops too, like phones and tablets: an open decision shows the gently bobbing arrow at the foot of the screen so it
   is clear there is more below; it fades once you start scrolling */
@media (min-width: 1025px) {
  .px__d.is-layer .px__more {
    display: grid; place-items: center; position: fixed; left: 50%; bottom: 24px; z-index: 950;
    width: 44px; height: 44px; margin-left: -22px; border-radius: 50%;
    background: rgba(20, 20, 20, .88); color: #ededea; font-size: 20px; pointer-events: none;
    animation: px-more 1.6s ease-in-out infinite; transition: opacity .3s ease;
  }
  .px__d.is-layer.is-read .px__more { opacity: 0; }
}
@media (min-width: 1025px) and (prefers-reduced-motion: reduce) {
  .px__d.is-layer .px__more { animation: none; }
}

/* The closing line of an open decision is introduced, so it reads as what the work leaves you with */
.px__ol { display: block; margin-bottom: 12px; font-family: var(--display); font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--px-soft, #8a8a86); }

/* Laptops and larger, as on tablets: the question and answer are set large, and the rest is easier to read */
@media (min-width: 1025px) {
  .px__col { width: min(680px, 100%); }
  .px__h { font-size: 46px !important; }
  .px__col > .px__txt:first-child { font-size: 21px; line-height: 1.5; }
  .px__col > .px__txt:first-child .px__q { font-size: 31px; line-height: 1.3; }
  .px__txt, .px__steps { font-size: 17px; line-height: 1.6; }
}
/* Laptops: the photograph sizes to the screen height so the whole first screen (name, question, answer, photo) fits */
@media (min-width: 1025px) {
  .px__d.is-layer .px__img { width: min(100%, calc(40vh * 960 / 590)); }
}
/* Section labels inside an open decision: Try this on your own work, How I work through it, You leave with */
.px__sl { margin: 40px auto 0; }
.px__steps { margin-top: 14px; }

/* No black patches behind paragraphs anywhere: their 14px black edge was covering the last line of the paragraph above
   (the whole column already sits on black where small photos are behind it) */
.px__col > p, .px__col > ol, .px__col > nav { background: none !important; box-shadow: none !important; }

/* Even spacing between the sections of an open decision: How I work through it, You leave with, Try this */
.px__sl { margin-top: 56px !important; }
.px__out { margin-top: 56px !important; }
.px__col > .px__out + .px__txt { margin-top: 56px; }
.px__col > .px__out + .px__txt + .px__nav { margin-top: 56px; }

/* Laptops: the sixteen have their heading too, centred above the grid ("16 Decisions"); it steps away when one is open */
@media (min-width: 1025px) {
  .px__head { display: block; position: absolute; top: clamp(30px, 5vh, 52px); left: 0; right: 0; z-index: 3; margin: 0;
    font-family: var(--display, "Newsreader", serif); font-size: clamp(24px, 2vw, 32px); line-height: 1.15; text-align: center; color: var(--px-ink); }
  .px__field { top: clamp(96px, 13vh, 140px); }
  .px.is-open .px__head { display: none; }
}

/* Big desktop screens (1600px and wider): an open decision grows with the screen. The column is wider, the type is
   larger, and the photograph is tall enough to fill the screen height down to just above the arrow at the foot of the screen, so there is no big empty black
   gap. (Its height is the screen height minus the text above it, which grows with the screen width.) It is the same whether the program is opened from the assessment or from a tile in the sixteen. Laptops, tablets and phones are untouched. */
@media (min-width: 1600px) {
  .px__d .px__col { width: min(clamp(680px, 40vw, 1500px), 100%); }
  .px__d .px__h { font-size: clamp(46px, 2.4vw, 96px) !important; }
  .px__d .px__col > .px__txt:first-child { font-size: clamp(19px, .95vw, 28px); }
  .px__d .px__col > .px__txt:first-child .px__q { font-size: clamp(31px, 1.6vw, 64px); }
  .px__d .px__txt, .px__d .px__steps { font-size: clamp(17px, .82vw, 24px); }
  .px__d .px__out { font-size: clamp(24px, 1.3vw, 52px); }
  .px__d .px__ol { font-size: clamp(13px, .6vw, 24px); }
  .px__d .px__col > .px__img { width: 100%; }
  .px__d .px__img img { aspect-ratio: auto; height: max(418px, calc(100vh - 10.5vw - 404px)); }
  /* opened from a tile: same top spacing, and the same "more below" arrow at the foot of the screen; the photo leaves
     the same space under it that the assessment version gets, so the next section starts below the fold */
  .px__d:not(.is-layer) { padding-top: 120px; }
  .px__d:not(.is-layer) .px__img { margin-bottom: 150px; }
  .px__d:not(.is-layer) .px__more {
    display: grid; place-items: center; position: fixed; left: 50%; bottom: 24px; z-index: 950;
    width: 44px; height: 44px; margin-left: -22px; border-radius: 50%;
    background: rgba(20, 20, 20, .88); color: #ededea; font-size: 20px; pointer-events: none;
    animation: px-more 1.6s ease-in-out infinite; transition: opacity .3s ease;
  }
  .px__d:not(.is-layer).is-read .px__more { opacity: 0; }
}
