/* The bookcase at the edge of Tsisana's portrait supplies the background under the copy. */
.tkt-static .hero.tkt-portrait-hero {
  --gutter: max(5vw, calc((100% - 1392px) / 2));
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  min-height: clamp(560px, 41vw, 720px);
  padding: clamp(42px, 4.6vw, 80px) var(--gutter);
  overflow: hidden;
  text-align: left;
  background: #101b29;
}
.tkt-portrait-hero::before {
  z-index: -2;
  inset: -16px;
  background: url("tsisana-kalandia-at-work.jpg") left 31% / 380% auto no-repeat;
  background-image: image-set(url("/assets/tsisana-at-work-e0b4c19686e7.webp") type("image/webp"), url("/assets/tsisana-kalandia-at-work.jpg") type("image/jpeg"));
  filter: blur(11px);
  opacity: .25;
}
.tkt-portrait-hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(7,17,31,.72), rgba(10,20,32,.54) 46%, rgba(10,20,32,.36) 56%, transparent 71%);
}
.tkt-portrait-hero .tkt-hero-photo {
  position: absolute;
  z-index: -1;
  inset: 0 0 0 auto;
  display: block;
  width: 49%;
  max-width: none;
  height: 100%;
  object-fit: cover;
  object-position: 52% 15%;
  mask-image: linear-gradient(90deg, transparent, rgba(0,0,0,.3) 9%, #000 34%);
}
.tkt-portrait-hero .tkt-hero-copy {
  width: min(60%, 815px);
  min-width: 0;
  position: relative;
}
.tkt-portrait-hero .hero-badge {
  display: inline-block;
  max-width: 100%;
  margin: 0 0 23px;
  padding: 6px 14px;
  font-size: clamp(10px, .85vw, 13px);
  line-height: 1.5;
  letter-spacing: .09em;
  color: #f1ce73;
}
.tkt-portrait-hero h1 {
  margin: 0;
  max-width: 100%;
  font-size: clamp(40px, 4.25vw, 72px);
  line-height: 1.13;
  letter-spacing: -.025em;
  overflow-wrap: break-word;
  text-wrap: balance;
}
.tkt-portrait-hero .hero-sub {
  max-width: 600px;
  margin: 20px 0 27px;
  font-size: clamp(15px, 1.23vw, 20px);
  line-height: 1.65;
  color: #e8e8e9;
}
.tkt-portrait-hero .hero-actions {
  display: flex;
  justify-content: flex-start;
  gap: 9px;
  max-width: 100%;
}
.tkt-portrait-hero .hero-actions a {
  width: auto;
  min-height: 46px;
  padding: 11px clamp(12px, 1.05vw, 19px);
  font-size: clamp(13px, 1vw, 16px);
  line-height: 1.35;
}
.tkt-portrait-hero .hero-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  width: min(100%, 660px);
  max-width: none;
  gap: 0;
  padding-top: 19px;
  margin: 30px 0 0;
  border-top-color: rgba(255,255,255,.22);
}
.tkt-portrait-hero .hero-stats .stat {
  min-width: 0;
  padding: 0 10px;
  text-align: left;
}
.tkt-portrait-hero .hero-stats .stat:first-child { padding-left: 0; }
.tkt-portrait-hero .stat-num { font-size: clamp(26px, 2.7vw, 42px); }
.tkt-portrait-hero .stat-label {
  color: #c4c9cf;
  font-size: clamp(11px, .85vw, 13px);
  line-height: 1.45;
  letter-spacing: 0;
}
@media (min-width: 701px) and (max-width: 1000px) {
  .tkt-static .hero.tkt-portrait-hero { --gutter: 4vw; min-height: 500px; }
  .tkt-portrait-hero .tkt-hero-copy { width: 58%; }
  .tkt-portrait-hero .hero-actions { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); max-width: 375px; }
  .tkt-portrait-hero .hero-actions a { width: 100%; }
}
@media (max-width: 700px) {
  .tkt-static .hero.tkt-portrait-hero {
    --photo-height: clamp(240px, 61vw, 335px);
    min-height: 0;
    padding: calc(var(--photo-height) - 18px) clamp(18px, 5vw, 34px) 32px;
  }
  .tkt-portrait-hero::before { background-size: max(480%, 2600px) auto; opacity: .19; }
  .tkt-portrait-hero::after { background: linear-gradient(90deg, rgba(8,18,30,.36), transparent 65%); }
  .tkt-portrait-hero .tkt-hero-photo {
    width: 100%;
    height: calc(var(--photo-height) + 36px);
    object-position: 50% 9%;
    mask-image: linear-gradient(to bottom, #000 0% 57%, transparent 100%);
  }
  .tkt-portrait-hero .tkt-hero-copy { width: 100%; }
  .tkt-portrait-hero .hero-badge { margin-bottom: 13px; font-size: 10px; }
  .tkt-portrait-hero h1 { font-size: clamp(30px, 7.6vw, 46px); }
  .tkt-portrait-hero .hero-sub { margin: 13px 0 20px; font-size: 15px; line-height: 1.6; }
  .tkt-portrait-hero .hero-actions { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); width: 100%; max-width: 420px; }
  .tkt-portrait-hero .hero-actions a { width: 100%; }
  .tkt-portrait-hero .hero-stats { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px 12px; margin-top: 23px; padding-top: 18px; }
  .tkt-portrait-hero .hero-stats .stat { border: 0; padding: 0; }
}


.tkt-portrait-hero > picture { display: contents; }
