/* Photo hero: the approved photographic frame, isolated from theme typography. */
.k-photo-hero {
  --photo-hero-height: clamp(640px, calc(100svh - 112px), 850px);
  --photo-hero-radius: 28px;
  --photo-hero-base: #0B0B0C;
  --photo-hero-focus: #A9A2F7;
  position: relative;
  isolation: isolate;
  width: auto;
  max-width: none;
  height: var(--photo-hero-height);
  margin: 12px 16px 0;
  padding: 0;
  overflow: hidden;
  border-radius: var(--photo-hero-radius);
  background: var(--photo-hero-base);
  color: #fff;
  font-family: var(--wp--preset--font-family--grotesk);
  font-size: 16px;
  font-weight: 400;
  line-height: normal;
  letter-spacing: normal;
  text-align: left;
  -webkit-font-smoothing: antialiased;
}

/* Keep the frame's own gap when the entry-content first-child rule resets spacing. */
.wp-block-post-content > section.k-photo-hero { margin-block: 12px 0; }

.k-photo-hero,
.k-photo-hero *,
.k-photo-hero *::before,
.k-photo-hero *::after { box-sizing: border-box; }

.k-photo-hero .k-photo-hero__stage { position: relative; height: 100%; }
.k-photo-hero .k-photo-hero__slide {
  position: absolute;
  inset: 0;
  isolation: isolate;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  color: #fff;
}
.k-photo-hero .k-photo-hero__slide[hidden],
.k-photo-hero .k-photo-hero__controls[hidden] { display: none; }

.k-photo-hero .k-photo-hero__image {
  position: absolute;
  inset: 0;
  z-index: -3;
  display: block;
  width: 100%;
  max-width: none;
  height: 100%;
  margin: 0;
  object-fit: cover;
  object-position: var(--photo-x, 50%) var(--photo-y, 50%);
  pointer-events: none;
}
.k-photo-hero .k-photo-hero__shade {
  position: absolute;
  inset: 0;
  z-index: -2;
  background: linear-gradient(90deg, rgba(6, 12, 10, .66) 0%, rgba(6, 12, 10, .48) 35%, rgba(6, 12, 10, .2) 53%, transparent 73%);
  pointer-events: none;
}
.k-photo-hero .k-photo-hero__bottom-shade {
  position: absolute;
  inset: 75% 0 0;
  z-index: -1;
  background: linear-gradient(transparent, rgba(0, 0, 0, .55));
  pointer-events: none;
}
.k-photo-hero .k-photo-hero__copy {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  width: 100%;
  height: 100%;
  padding: 88px clamp(40px, 5.5vw, 100px);
}
.k-photo-hero .k-photo-hero__copy-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: relative;
  width: min(49%, 620px);
  min-width: 0;
}
/* A soft violet ink behind the words. It is sized by the copy, not the frame,
   so they stay readable whatever part of the photograph a width puts there.
   Narrow screens have their own, stronger shade. */
@media (min-width: 901px) {
  .k-photo-hero .k-photo-hero__copy-content::before {
    content: "";
    position: absolute;
    inset: -120px -160px;
    z-index: -1;
    border-radius: 50% / 45%;
    background: rgba(19, 15, 48, .46);
    filter: blur(76px);
    pointer-events: none;
  }
}
.k-photo-hero .k-photo-hero__eyebrow {
  margin: 0 0 24px;
  color: #fff;
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  line-height: normal;
  letter-spacing: .01em;
  text-transform: none;
}
.k-photo-hero .k-photo-hero__heading {
  width: auto;
  max-width: none;
  margin: 0;
  padding: 0;
  color: #fff;
  font-family: inherit;
  font-size: clamp(36px, 4.2vw, 60px);
  font-weight: var(--display-weight-title);
  line-height: 1.1;
  letter-spacing: var(--display-tracking);
  text-transform: none;
  text-wrap: balance;
}
.k-photo-hero .k-photo-hero__lede {
  max-width: 500px;
  margin: 28px 0 32px;
  color: #fff;
  font-family: inherit;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.625;
  letter-spacing: normal;
  text-wrap: pretty;
}
.k-photo-hero .k-photo-hero__lede-mobile { display: none; }
.k-photo-hero .k-photo-hero__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  min-height: 48px;
  margin: 0;
  padding: 14px 24px;
  border: 0;
  border-radius: 28px;
  background: #fff;
  color: #0B0B0C;
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  line-height: normal;
  letter-spacing: normal;
  text-align: center;
  text-decoration: none;
  text-transform: none;
  box-shadow: none;
  transition: background .2s, transform .1s;
}
.k-photo-hero .k-photo-hero__cta:hover { background: #FFFFFF; color: #0B0B0C; text-decoration: none; }
/* The same light under the pointer the theme's buttons carry (site.js). */
.k-photo-hero .k-photo-hero__cta { position: relative; isolation: isolate; overflow: hidden; }
.k-photo-hero .k-photo-hero__cta::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
  background: radial-gradient(140px circle at var(--mx, 50%) var(--my, 50%), rgba(97, 81, 229, .16), transparent 70%);
  opacity: 0; transition: opacity .32s cubic-bezier(.4, 0, .2, 1); pointer-events: none;
}
.k-photo-hero .k-photo-hero__cta:is(:hover, :focus-visible)::before { opacity: 1; }

/* A slide arrives rather than appears: its photograph settles from a slight
   zoom and its words rise in order. Each runs once, when the slide shows. */
@keyframes k-photo-settle { from { transform: scale(1.06); } to { transform: none; } }
@keyframes k-photo-rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes k-photo-fade { from { opacity: 0; } to { opacity: 1; } }
.k-photo-hero .k-photo-hero__slide.is-active .k-photo-hero__image { animation: k-photo-settle 1.8s cubic-bezier(.16, 1, .3, 1) both; }
.k-photo-hero .k-photo-hero__slide.is-active :is(.k-photo-hero__shade, .k-photo-hero__bottom-shade),
.k-photo-hero .k-photo-hero__slide.is-active .k-photo-hero__copy-content::before { animation: k-photo-fade .6s ease-out both; }
.k-photo-hero .k-photo-hero__slide.is-active .k-photo-hero__copy-content > * { animation: k-photo-rise .9s cubic-bezier(.16, 1, .3, 1) both; }
.k-photo-hero .k-photo-hero__slide.is-active .k-photo-hero__copy-content > :nth-child(1) { animation-delay: .08s; }
.k-photo-hero .k-photo-hero__slide.is-active .k-photo-hero__copy-content > :nth-child(2) { animation-delay: .16s; }
.k-photo-hero .k-photo-hero__slide.is-active .k-photo-hero__copy-content > :nth-child(3) { animation-delay: .24s; }
.k-photo-hero .k-photo-hero__slide.is-active .k-photo-hero__copy-content > :nth-child(n+4) { animation-delay: .32s; }
.k-photo-hero .k-photo-hero__slide.is-active .k-photo-hero__caption { animation: k-photo-fade .8s ease-out .4s both; }

.k-photo-hero .k-photo-hero__slide[data-layout="right"] .k-photo-hero__copy { align-items: flex-end; }
.k-photo-hero .k-photo-hero__slide[data-layout="right"] .k-photo-hero__shade {
  background: linear-gradient(270deg, rgba(6, 12, 10, .66) 0%, rgba(6, 12, 10, .48) 35%, rgba(6, 12, 10, .2) 53%, transparent 73%);
}
.k-photo-hero .k-photo-hero__slide[data-layout="center"] .k-photo-hero__copy { align-items: center; text-align: center; }
.k-photo-hero .k-photo-hero__slide[data-layout="center"] .k-photo-hero__copy-content { width: min(64%, 800px); align-items: center; }
.k-photo-hero .k-photo-hero__slide[data-layout="center"] .k-photo-hero__lede { max-width: 610px; }
.k-photo-hero .k-photo-hero__slide[data-layout="center"] .k-photo-hero__shade {
  background: radial-gradient(ellipse at center, rgba(6, 12, 10, .58) 0%, rgba(6, 12, 10, .32) 35%, transparent 73%);
}

.k-photo-hero .k-photo-hero__caption {
  position: absolute;
  bottom: 32px;
  left: clamp(40px, 6.3vw, 120px);
  display: -webkit-box;
  max-width: calc(100% - clamp(40px, 6.3vw, 120px) - 440px);
  margin: 0;
  overflow: hidden;
  color: #fff;
  font-family: inherit;
  font-size: 13px;
  font-weight: 500;
  line-height: normal;
  letter-spacing: .01em;
  text-align: left;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}
.k-photo-hero .k-photo-hero__controls {
  position: absolute;
  right: 40px;
  bottom: 32px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 24px;
  max-width: calc(100% - 80px);
}
.k-photo-hero .k-photo-hero__dots,
.k-photo-hero .k-photo-hero__nav { display: flex; align-items: center; }
.k-photo-hero .k-photo-hero__dots { gap: 0; max-width: 192px; overflow-x: auto; }
.k-photo-hero .k-photo-hero__nav { flex-shrink: 0; gap: 8px; }
.k-photo-hero .k-photo-hero__dot,
.k-photo-hero .k-photo-hero__arrow,
.k-photo-hero .k-photo-hero__rotation {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  margin: 0;
  padding: 0;
  color: #fff;
  font: inherit;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  appearance: none;
  -webkit-tap-highlight-color: transparent;
}
.k-photo-hero .k-photo-hero__dot {
  width: 24px;
  height: 32px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  box-shadow: none;
}
.k-photo-hero .k-photo-hero__dot::before {
  content: "";
  display: block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  opacity: .45;
}
.k-photo-hero .k-photo-hero__dot[aria-current="true"]::before { width: 8px; height: 8px; opacity: 1; }
/* While the slides turn by themselves, the current dot is a short track
   that fills until the next slide: the wait is shown, not guessed. It is a
   plain dot again as soon as the slideshow is paused. */
.k-photo-hero .k-photo-hero__dot::before { transition: width .3s cubic-bezier(.4, 0, .2, 1), opacity .2s; }
.k-photo-hero:not(.is-paused) .k-photo-hero__dot[aria-current="true"] { width: 40px; }
.k-photo-hero:not(.is-paused) .k-photo-hero__dot[aria-current="true"]::before {
  width: 28px; height: 4px; border-radius: 2px; opacity: 1;
  background: linear-gradient(#fff, #fff) left / 0 100% no-repeat, rgba(255, 255, 255, .38);
}
/* site.js marks the dot .is-timing only while a countdown actually runs, so
   hovering the hero or scrolling it away empties the track with the timer. */
.k-photo-hero .k-photo-hero__dot.is-timing::before { animation: k-photo-dot-fill var(--photo-hero-interval, 8s) linear both; }
@keyframes k-photo-dot-fill { to { background-size: 100% 100%, auto; } }
.k-photo-hero .k-photo-hero__dot:hover::before { opacity: 1; }
.k-photo-hero .k-photo-hero__arrow,
.k-photo-hero .k-photo-hero__rotation {
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255, 255, 255, .26);
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(255, 255, 255, .18), rgba(255, 255, 255, .08));
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  box-shadow: inset 0 1px rgba(255, 255, 255, .12);
}
.k-photo-hero .k-photo-hero__arrow:hover,
.k-photo-hero .k-photo-hero__rotation:hover { background: rgba(255, 255, 255, .25); border-color: rgba(255, 255, 255, .5); }
.k-photo-hero .k-photo-hero__arrow,
.k-photo-hero .k-photo-hero__rotation { transition: background-color .2s, border-color .2s, transform .1s; }
.k-photo-hero .k-photo-hero__arrow svg { transition: translate .35s cubic-bezier(.2, .9, .3, 1.15); }
.k-photo-hero .k-photo-hero__arrow[data-kempu-prev]:hover svg { translate: -2px 0; }
.k-photo-hero .k-photo-hero__arrow[data-kempu-next]:hover svg { translate: 2px 0; }
.k-photo-hero .k-photo-hero__arrow svg,
.k-photo-hero .k-photo-hero__rotation svg { display: block; width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.k-photo-hero .k-photo-hero__rotation .k-photo-hero__play-icon,
.k-photo-hero.is-paused .k-photo-hero__rotation .k-photo-hero__pause-icon { display: none; }
.k-photo-hero.is-paused .k-photo-hero__rotation .k-photo-hero__play-icon { display: block; }
.k-photo-hero .k-photo-hero__cta:active,
.k-photo-hero button:not(:disabled):active { transform: scale(.97); }
.k-photo-hero a:focus-visible,
.k-photo-hero button:focus-visible { outline: 3px solid var(--photo-hero-focus); outline-offset: 4px; }
.k-photo-hero .k-photo-hero__dot:focus-visible { outline-offset: -3px; }
.k-photo-hero button:disabled { opacity: .45; cursor: default; }
.k-photo-hero .screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

/* Deck (wide screens, site.js adds .has-strips): every slide stays in the
   frame. The current one lies on top; the rest are tucked behind it like a
   stack of photographs, in slide order, each a little shorter the further it
   lies from the top and showing a strip named on its side, so the next story
   is already in view. Picking one brings it to the top while the others
   settle back into the stack. The copy and the photograph are sized to the
   full slide from the start, so nothing reflows while the widths move; the
   strip only uncovers more. */
@media (min-width: 1101px) {
  .k-photo-hero.has-strips {
    --strip: 72px;
    --strip-tuck: 26px;
    --strip-peek: calc(var(--strip) - var(--strip-tuck));
    --strip-ease: cubic-bezier(.16, 1, .3, 1);
    --slide-full: calc(100cqw - var(--strips, 0) * var(--strip-peek));
    overflow: visible;
    border-radius: 0;
    background: transparent;
  }
  .k-photo-hero.has-strips .k-photo-hero__stage { display: flex; align-items: center; gap: 0; container-type: inline-size; }
  .k-photo-hero.has-strips .k-photo-hero__slide {
    position: relative;
    inset: auto;
    flex: 0 0 var(--strip);
    width: auto;
    min-width: 0;
    overflow: hidden;
    z-index: 5;
    height: 65%;
    border-radius: 20px;
    background: var(--photo-hero-base);
    box-shadow: 0 12px 28px -14px rgba(8, 8, 20, .5);
    transition: flex-grow .95s var(--strip-ease), flex-basis .95s var(--strip-ease), height .95s var(--strip-ease), margin .95s var(--strip-ease), border-radius .95s var(--strip-ease), box-shadow .95s var(--strip-ease);
  }
  .k-photo-hero.has-strips .k-photo-hero__slide.is-active {
    z-index: 10;
    flex: 1 1 0%;
    height: 100%;
    border-radius: var(--photo-hero-radius);
    box-shadow: 0 0 0 1px rgba(255, 255, 255, .06), 0 20px 40px -16px rgba(8, 8, 20, .55);
  }
  /* Behind the top card: tucked under its edge, on whichever side the slide
     falls in the order, and smaller and lower in the stack with distance. */
  .k-photo-hero.has-strips .k-photo-hero__slide.is-active ~ .k-photo-hero__slide { margin-left: calc(-1 * var(--strip-tuck)); }
  .k-photo-hero.has-strips .k-photo-hero__slide:has(~ .is-active) { margin-right: calc(-1 * var(--strip-tuck)); }
  .k-photo-hero.has-strips .k-photo-hero__slide.is-active + .k-photo-hero__slide,
  .k-photo-hero.has-strips .k-photo-hero__slide:has(+ .is-active) { z-index: 9; height: 93%; }
  .k-photo-hero.has-strips .k-photo-hero__slide.is-active + * + .k-photo-hero__slide,
  .k-photo-hero.has-strips .k-photo-hero__slide:has(+ * + .is-active) { z-index: 8; height: 86%; }
  .k-photo-hero.has-strips .k-photo-hero__slide.is-active + * + * + .k-photo-hero__slide,
  .k-photo-hero.has-strips .k-photo-hero__slide:has(+ * + * + .is-active) { z-index: 7; height: 79%; }
  .k-photo-hero.has-strips .k-photo-hero__slide.is-active + * + * + * + .k-photo-hero__slide,
  .k-photo-hero.has-strips .k-photo-hero__slide:has(+ * + * + * + .is-active) { z-index: 6; height: 72%; }
  .k-photo-hero.is-settling .k-photo-hero__slide,
  .k-photo-hero.is-settling .k-photo-hero__controls { transition: none; }
  .k-photo-hero.has-strips .k-photo-hero__image {
    left: 50%;
    width: var(--slide-full);
    translate: -50% 0;
  }
  .k-photo-hero.has-strips .k-photo-hero__copy { position: absolute; inset: 0 auto 0 0; width: var(--slide-full); }
  .k-photo-hero.has-strips .k-photo-hero__shade,
  .k-photo-hero.has-strips .k-photo-hero__bottom-shade { width: var(--slide-full); }
  .k-photo-hero.has-strips .k-photo-hero__slide:not(.is-active) :is(.k-photo-hero__copy, .k-photo-hero__caption, .k-photo-hero__shade, .k-photo-hero__bottom-shade) {
    opacity: 0;
    visibility: hidden;
    transition: opacity .25s ease-out, visibility 0s linear .25s;
  }
  .k-photo-hero.has-strips .k-photo-hero__caption { max-width: calc(var(--slide-full) - clamp(40px, 6.3vw, 120px) - 440px); }
  .k-photo-hero.has-strips .k-photo-hero__controls {
    z-index: 11;
    right: calc(40px + var(--after, 0) * var(--strip-peek));
    transition: right .95s var(--strip-ease);
  }

  .k-photo-hero .k-photo-hero__strip { display: none; }
  .k-photo-hero.has-strips .k-photo-hero__strip {
    position: absolute;
    inset: 0;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    margin: 0;
    padding: 20px 0 24px;
    border: 0;
    border-radius: inherit;
    /* A strip waits in the brand's ink and violet rather than in its own
       colours; it takes them back when it is pointed at. */
    background: linear-gradient(180deg, rgba(11, 11, 18, .5), rgba(11, 11, 18, 0) 38%, rgba(11, 11, 18, 0) 58%, rgba(11, 11, 18, .66));
    color: #fff;
    font: inherit;
    cursor: pointer;
    appearance: none;
    transition: opacity .5s ease-out;
  }
  /* Its name sits in the part that shows, not under the card on top. */
  .k-photo-hero.has-strips .k-photo-hero__slide.is-active ~ .k-photo-hero__slide .k-photo-hero__strip { padding-left: var(--strip-tuck); }
  .k-photo-hero.has-strips .k-photo-hero__slide:has(~ .is-active) .k-photo-hero__strip { padding-right: var(--strip-tuck); }
  .k-photo-hero.has-strips .k-photo-hero__strip::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    border-radius: inherit;
    background: rgba(58, 44, 170, .34);
    mix-blend-mode: multiply;
    transition: opacity .6s ease-out;
  }
  .k-photo-hero.has-strips .k-photo-hero__slide.is-active .k-photo-hero__strip { opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .2s ease-out, visibility 0s linear .2s; }
  .k-photo-hero.has-strips .k-photo-hero__slide:not(.is-active) .k-photo-hero__image {
    filter: grayscale(1) brightness(.8) contrast(1.08);
    transition: filter .6s ease-out, scale 1.2s var(--strip-ease);
  }
  .k-photo-hero .k-photo-hero__strip-number {
    font-family: var(--wp--preset--font-family--mono);
    font-size: 11px;
    letter-spacing: .04em;
    color: rgba(255, 255, 255, .72);
  }
  .k-photo-hero .k-photo-hero__strip-name {
    display: flex;
    flex-direction: column-reverse;
    align-items: center;
    gap: 12px;
    max-height: calc(100% - 56px);
    min-height: 0;
  }
  .k-photo-hero .k-photo-hero__strip-label {
    writing-mode: vertical-rl;
    rotate: 180deg;
    min-height: 0;
    overflow: hidden;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: .01em;
    white-space: nowrap;
    text-overflow: ellipsis;
  }
  .k-photo-hero .k-photo-hero__strip-light {
    position: relative;
    flex: none;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--photo-hero-focus);
    box-shadow: 0 0 0 3px rgba(169, 162, 247, .18), 0 0 12px rgba(169, 162, 247, .7);
  }
  .k-photo-hero .k-photo-hero__strip-light::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: inherit;
    opacity: 0;
  }
  /* Pointing at a strip opens it a little, gives the photograph back its
     colour, and sends one pulse out of its light. */
  @keyframes k-strip-ping { from { transform: scale(1); opacity: .7; } to { transform: scale(4.2); opacity: 0; } }
  .k-photo-hero.has-strips .k-photo-hero__slide:not(.is-active):hover { flex-basis: calc(var(--strip) + 16px); }
  .k-photo-hero.has-strips .k-photo-hero__slide:not(.is-active):hover .k-photo-hero__image { filter: none; scale: 1.06; }
  .k-photo-hero.has-strips .k-photo-hero__slide:not(.is-active):hover .k-photo-hero__strip::before { opacity: 0; }
  .k-photo-hero.has-strips .k-photo-hero__slide:not(.is-active):hover .k-photo-hero__strip-light::after { animation: k-strip-ping .9s ease-out; }
}

/* Pages (site.js cuts each slide's outline): every slide is a page whose tab
   stands above the frame. The tab is cut from the slide's own photograph; the
   open page's tab runs on into the frame as one shape. Opening a page pours
   its photograph down out of the tab, a thin indigo edge first. */
.k-photo-hero.k-photo-hero--pages {
  --shelf: 60px;
  overflow: visible;
  border-radius: 0;
  background: transparent;
}
.k-photo-hero--pages .k-photo-hero__stage::before {
  content: "";
  position: absolute;
  inset: var(--shelf) 0 0;
  border-radius: var(--photo-hero-radius);
  background: var(--photo-hero-base);
  box-shadow: 0 20px 40px -16px rgba(8, 8, 20, .55);
}
.k-photo-hero--pages .k-photo-hero__slide {
  overflow: hidden;
  background: var(--photo-hero-base);
  clip-path: inset(var(--shelf) 0 0 round var(--photo-hero-radius));
}
.k-photo-hero--pages .k-photo-hero__edge { position: absolute; inset: 0; display: none; background: #6151E5; pointer-events: none; }
.k-photo-hero--pages .k-photo-hero__picture { position: absolute; inset: 0; z-index: -3; transform-origin: 0 0; transition: filter .5s ease-out; }
/* A waiting page is in the brand's ink and violet, like the deck's strips; it
   takes its own colours back when it is pointed at or opened. */
.k-photo-hero--pages .k-photo-hero__slide:not(.is-active, .is-pointed) .k-photo-hero__picture { filter: grayscale(1) brightness(.8) contrast(1.08); }
.k-photo-hero--pages .k-photo-hero__slide::before,
.k-photo-hero--pages .k-photo-hero__slide::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.k-photo-hero--pages .k-photo-hero__slide::before {
  background: linear-gradient(rgba(11, 11, 18, .66), rgba(11, 11, 18, .6) calc(var(--shelf) - 18px), rgba(11, 11, 18, .2) calc(var(--shelf) + 10px), transparent calc(var(--shelf) * 2));
  transition: opacity .5s ease-out;
}
.k-photo-hero--pages .k-photo-hero__slide:not(.is-active, .is-pointed)::before { opacity: .62; }
.k-photo-hero--pages .k-photo-hero__slide::after {
  background: rgba(58, 44, 170, .42);
  mix-blend-mode: multiply;
  transition: opacity .5s ease-out;
}
.k-photo-hero--pages .k-photo-hero__slide:is(.is-active, .is-pointed)::after { opacity: 0; }
.k-photo-hero--pages .k-photo-hero__copy { padding-top: calc(var(--shelf) + 32px); padding-bottom: 32px; }
/* The words arrive with the page, not before it. */
.k-photo-hero--pages.is-ready .k-photo-hero__slide.is-active .k-photo-hero__copy-content > :nth-child(1) { animation-delay: .5s; }
.k-photo-hero--pages.is-ready .k-photo-hero__slide.is-active .k-photo-hero__copy-content > :nth-child(2) { animation-delay: .57s; }
.k-photo-hero--pages.is-ready .k-photo-hero__slide.is-active .k-photo-hero__copy-content > :nth-child(3) { animation-delay: .64s; }
.k-photo-hero--pages.is-ready .k-photo-hero__slide.is-active .k-photo-hero__copy-content > :nth-child(n+4) { animation-delay: .71s; }
.k-photo-hero--pages .k-photo-hero__slide:not(.is-active) :is(.k-photo-hero__copy, .k-photo-hero__caption) {
  opacity: 0;
  visibility: hidden;
  translate: 0 28px;
  transition: opacity .35s ease-out, translate .5s ease-in, visibility 0s linear .35s;
}
.k-photo-hero--pages .k-photo-hero__controls { z-index: 40; }

.k-photo-hero--pages .k-photo-hero__tabs {
  position: absolute;
  inset: 0 0 auto;
  z-index: 40;
  display: none;
  gap: 8px;
  height: var(--shelf);
}
.k-photo-hero--pages.is-ready .k-photo-hero__tabs { display: flex; }
@media (scripting: enabled) {
  .k-photo-hero--pages .k-photo-hero__tabs { display: flex; }
}
.k-photo-hero--pages .k-photo-hero__tab {
  position: relative;
  display: flex;
  flex: 1 1 0;
  align-items: center;
  gap: 12px;
  min-width: max-content;
  max-width: 420px;
  margin: 0;
  padding: 0 20px;
  border: 0;
  border-radius: 14px;
  background: transparent;
  color: #fff;
  font: inherit;
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
  letter-spacing: .005em;
  text-align: left;
  white-space: nowrap;
  cursor: pointer;
  appearance: none;
  -webkit-tap-highlight-color: transparent;
}
.k-photo-hero--pages .k-photo-hero__tab-number {
  margin-left: auto;
  font-family: var(--wp--preset--font-family--mono);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0;
  color: rgba(255, 255, 255, .92);
}
.k-photo-hero--pages .k-photo-hero__tab-light {
  position: relative;
  flex: none;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .55);
  transition: background-color .3s, box-shadow .3s;
}
.k-photo-hero--pages .k-photo-hero__tab-light::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: var(--photo-hero-focus);
  opacity: 0;
}
/* The light is on for the page that is open, and sends one pulse as it opens. */
.k-photo-hero--pages .k-photo-hero__tab[aria-current="true"] .k-photo-hero__tab-light {
  background: var(--photo-hero-focus);
  box-shadow: 0 0 0 3px rgba(169, 162, 247, .22), 0 0 12px rgba(169, 162, 247, .8);
}
@keyframes k-tab-ping { from { transform: scale(1); opacity: .7; } to { transform: scale(4.2); opacity: 0; } }
.k-photo-hero--pages .k-photo-hero__tab[aria-current="true"] .k-photo-hero__tab-light::after { animation: k-tab-ping .9s ease-out; }
.k-photo-hero--pages .k-photo-hero__tab:focus-visible { outline-offset: -5px; }
/* While the slides turn by themselves, a line under the open tab's name fills
   until the next one. */
.k-photo-hero--pages .k-photo-hero__tab::after {
  content: "";
  position: absolute;
  right: 20px;
  bottom: 8px;
  left: 20px;
  height: 2px;
  border-radius: 1px;
  background: #fff;
  transform: scaleX(0);
  transform-origin: 0 50%;
}
.k-photo-hero--pages .k-photo-hero__tab.is-timing::after { animation: k-tab-fill var(--photo-hero-interval, 8s) linear both; }
@keyframes k-tab-fill { to { transform: none; } }

/* Too narrow for every name: the open tab keeps its own, the rest their number. */
.k-photo-hero--pages .is-compact .k-photo-hero__tab { transition: flex-grow .6s cubic-bezier(.16, 1, .3, 1); }
.k-photo-hero--pages .is-compact .k-photo-hero__tab:not([aria-current="true"]),
.k-photo-hero--pages .is-numbers .k-photo-hero__tab { justify-content: center; min-width: 0; padding: 0; }
.k-photo-hero--pages .is-compact:not(.is-numbers) .k-photo-hero__tab[aria-current="true"] { flex-grow: 3; }
.k-photo-hero--pages .is-compact .k-photo-hero__tab:not([aria-current="true"]) :is(.k-photo-hero__tab-light, .k-photo-hero__tab-label),
.k-photo-hero--pages .is-numbers .k-photo-hero__tab :is(.k-photo-hero__tab-light, .k-photo-hero__tab-label) { display: none; }
.k-photo-hero--pages .is-compact .k-photo-hero__tab:not([aria-current="true"]) .k-photo-hero__tab-number,
.k-photo-hero--pages .is-numbers .k-photo-hero__tab .k-photo-hero__tab-number { margin: 0; }
.k-photo-hero--pages .is-measuring .k-photo-hero__tab { flex: none !important; width: max-content !important; min-width: 0 !important; max-width: none; padding: 0 20px !important; transition: none !important; }
.k-photo-hero--pages .is-measuring .k-photo-hero__tab > span { display: block !important; }

@media (max-width: 1100px) {
  .k-photo-hero .k-photo-hero__copy { padding-inline: 40px; }
  .k-photo-hero .k-photo-hero__copy-content { width: 49%; }
  .k-photo-hero .k-photo-hero__heading { font-size: 44px; }
  .k-photo-hero .k-photo-hero__lede { font-size: 17px; margin: 24px 0 28px; }
  .k-photo-hero .k-photo-hero__slide[data-layout="center"] .k-photo-hero__copy-content { width: 66%; }
}
@media (max-width: 900px) {
  .k-photo-hero {
    --photo-hero-height: clamp(520px, calc(100svh - 160px), 580px);
    --photo-hero-radius: 20px;
    margin: 8px 8px 0;
  }
  .wp-block-post-content > section.k-photo-hero { margin-block: 8px 0; }
  .k-photo-hero .k-photo-hero__image { object-position: var(--photo-mobile-x, 50%) var(--photo-mobile-y, 50%); }
  .k-photo-hero .k-photo-hero__copy,
  .k-photo-hero .k-photo-hero__slide[data-layout="right"] .k-photo-hero__copy,
  .k-photo-hero .k-photo-hero__slide[data-layout="center"] .k-photo-hero__copy {
    align-items: flex-start;
    justify-content: flex-end;
    padding: 32px 24px 24px;
    text-align: left;
  }
  .k-photo-hero .k-photo-hero__copy-content,
  .k-photo-hero .k-photo-hero__slide[data-layout="center"] .k-photo-hero__copy-content {
    width: min(100%, 540px);
    align-items: flex-start;
  }
  .k-photo-hero .k-photo-hero__eyebrow { font-size: 12px; margin-bottom: 12px; }
  .k-photo-hero .k-photo-hero__heading { font-size: 32px; letter-spacing: var(--display-tracking); line-height: 1.04; }
  .k-photo-hero .k-photo-hero__lede { max-width: 480px; font-size: 16px; line-height: 1.45; margin: 16px 0 24px; }
  .k-photo-hero .k-photo-hero__lede-desktop { display: none; }
  .k-photo-hero .k-photo-hero__lede-mobile { display: inline; }
  .k-photo-hero .k-photo-hero__slide .k-photo-hero__shade,
  .k-photo-hero .k-photo-hero__slide[data-layout="right"] .k-photo-hero__shade,
  .k-photo-hero .k-photo-hero__slide[data-layout="center"] .k-photo-hero__shade {
    background: linear-gradient(180deg, rgba(6, 12, 10, .04) 0%, rgba(6, 12, 10, .08) 25%, rgba(6, 12, 10, .48) 45%, rgba(6, 12, 10, .85) 70%, rgba(6, 12, 10, .96) 100%);
  }
  .k-photo-hero .k-photo-hero__caption { display: none; }
  .k-photo-hero .k-photo-hero__cta { min-height: 44px; padding: 12px 20px; }
  /* The arrows share the button's row: a long label wraps instead of running under them. */
  .k-photo-hero:not(.has-autoplay):has(.k-photo-hero__controls:not([hidden])) .k-photo-hero__cta { max-width: calc(100% - 108px); }
  .k-photo-hero .k-photo-hero__controls { right: 24px; bottom: 24px; max-width: calc(100% - 48px); gap: 8px; }
  .k-photo-hero .k-photo-hero__dots { display: none; }
  .k-photo-hero .k-photo-hero__arrow,
  .k-photo-hero .k-photo-hero__rotation { width: 44px; height: 44px; }
  /* An optional rotation control needs a separate row on narrow screens. */
  .k-photo-hero.has-autoplay .k-photo-hero__copy { padding-bottom: 80px; }
  /* The tabs stand on top of the usual frame rather than taking from it. */
  .k-photo-hero.k-photo-hero--pages {
    --shelf: 52px;
    --photo-hero-height: calc(clamp(520px, 100svh - 160px, 580px) + 44px);
  }
  .k-photo-hero--pages .k-photo-hero__tabs { gap: 6px; }
  .k-photo-hero--pages .k-photo-hero__tab { gap: 10px; padding: 0 16px; font-size: 13px; }
  .k-photo-hero--pages .is-measuring .k-photo-hero__tab { padding: 0 16px !important; }
}
@media (max-width: 370px) {
  .k-photo-hero .k-photo-hero__copy,
  .k-photo-hero .k-photo-hero__slide[data-layout="right"] .k-photo-hero__copy,
  .k-photo-hero .k-photo-hero__slide[data-layout="center"] .k-photo-hero__copy { padding-inline: 20px; }
  .k-photo-hero .k-photo-hero__heading { font-size: 30px; }
  .k-photo-hero .k-photo-hero__cta { padding: 12px 16px; }
  .k-photo-hero .k-photo-hero__controls { right: 20px; }
}
@media (prefers-reduced-transparency: reduce) {
  .k-photo-hero .k-photo-hero__arrow,
  .k-photo-hero .k-photo-hero__rotation { background: #27272A; backdrop-filter: none; -webkit-backdrop-filter: none; }
}
@media (prefers-reduced-motion: reduce) {
  .k-photo-hero *,
  .k-photo-hero *::before,
  .k-photo-hero *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
