.table-wrapper {
  overflow-x: scroll;
}

/* Custom iframe overflow scroll box for PanelAppRex */

.full-width-iframe iframe {
  /* display: block; */
  width: 100%;
  border: none;
}

.full-width-iframe,
.full-width-iframe iframe {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
  display: block;
}

/* Home hero */

.page-home .split-heading {
  max-width: 38rem;
  margin-bottom: 1rem;
}

.page-home .split-heading-main {
  font-size: clamp(2.1rem, 4vw, 3.6rem);
  line-height: 1.05;
  font-weight: 700;
  color: #171720;
}

.page-home .split-heading-meta {
  max-width: 34rem;
  margin-top: 0.75rem;
  font-size: 1rem;
  line-height: 1.5;
  letter-spacing: 0;
  color: #5c5a5a;
}

.home-cta-row {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-top: 1.25rem;
  padding-bottom: 1.2rem;
}

.home-cta-button {
  min-height: 46px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 600;
  box-shadow:
    0 8px 18px rgba(23, 23, 32, 0.12),
    0 2px 5px rgba(23, 23, 32, 0.10);
}

.home-cta-button:hover {
  text-decoration: none;
}

@media (max-width: 767.98px) {
  .page-home .split-heading-main {
    font-size: clamp(2rem, 9vw, 2.8rem);
  }

  .page-home .split-heading-meta {
    font-size: 1rem;
    line-height: 1.45;
  }

  .home-cta-row {
    margin-top: 1rem;
    padding-bottom: 1.4rem;
  }
}

/* Home sentinel */

.home-sentinel {
  padding: 1.5rem 0 2.5rem;
}

.home-sentinel__inner {
  --home-sentinel-baseline-offset: 0px;
  display: inline-flex;
  align-items: flex-end;
  gap: 1rem;
  flex-wrap: nowrap;
}

.home-sentinel__image {
  display: block;
  width: clamp(72px, 8vw, 104px);
  height: auto;
  flex: 0 0 auto;
  margin: 0;
  padding: 0;
  padding-bottom: var(--home-sentinel-baseline-offset);
}

.home-sentinel__text {
  flex: 0 0 auto;
  margin: 0;
  padding: 0;
  line-height: 1;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  color: #5c5a5a;
  white-space: nowrap;
}

@media (max-width: 767.98px) {
  .home-sentinel__inner {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }

  .home-sentinel__image {
    padding-bottom: 0;
  }

  .home-sentinel__text {
    font-size: 0.8rem;
    white-space: normal;
  }
}

/* publications page badges */
.publication-dimensions,
.publication-dimensions .__dimensions_badge_embed__,
.publication-dimensions iframe,
.publication-dimensions img {
    display: inline-block !important;
      vertical-align: middle !important;
        margin-left: 0.35rem;
          margin-top: -0.35rem !important;
            margin-bottom: 0 !important;
}

/* Profile CV page */
.profile-page {
}

.profile-hero {
  padding: 1rem 0 2rem;
  border-bottom: 1px solid #d8d6d6;
}

.profile-kicker {
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  color: #5c5a5a;
  margin-bottom: 0.7rem;
}

.profile-title {
  margin: 0 0 0.6rem;
  font-size: clamp(2.1rem, 4vw, 3rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.profile-subtitle {
  font-size: 1.18rem;
  line-height: 1.45;
  max-width: 760px;
  margin-bottom: 1rem;
  color: #2f2f41;
}

.profile-hero p,
.profile-section p {
  max-width: 760px;
  line-height: 1.55;
}

.profile-actions {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
  margin-top: 1.4rem;
}

.profile-section {
  margin-top: 3rem;
}

.profile-page .profile-section > h2 {
  display: block;
  margin: 0 0 1.1rem;
  padding: 0;
  border: none;
  color: #2f2f41;
}

.profile-page .profile-section > h2::after {
  content: "";
  display: block;
  width: 2.4rem;
  min-height: 0.2rem;
  max-height: 0.1rem;
  margin-top: 0.55rem;
  background: #e5261f;
  border: none;
  padding: 0;
  box-shadow: none;
  line-height: 0;
}

.profile-section h3 {
  margin: 1.6rem 0 0.45rem;
  font-size: 1.05rem;
  line-height: 1.25;
  color: #2f2f41;
}

.profile-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.2rem;
}

.profile-card {
  padding-top: 1rem;
  border-top: 1px solid #d8d6d6;
}

.profile-card h3 {
  margin-top: 0;
}

.profile-card p {
  margin-bottom: 0;
  color: #5c5a5a;
}

.profile-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.1rem;
}

.profile-metric {
  padding-top: 0.8rem;
  border-top: 2px solid #e5261f;
}

.profile-metric strong {
  display: block;
  font-size: 1.55rem;
  line-height: 1.1;
  color: #2f2f41;
}

.profile-metric span {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.9rem;
  line-height: 1.35;
  color: #5c5a5a;
}

.profile-list {
  max-width: 800px;
  padding-left: 1.1rem;
}

.profile-list li {
  margin-bottom: 0.75rem;
  line-height: 1.45;
}

.profile-link-row {
  margin-top: 1rem;
}

.publication-line {
  font-size: 0.95rem;
  line-height: 1.45;
  margin-bottom: 0.9rem;
}


.profile-publications-action {
  margin-top: 28px;
}

.profile-publications-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 5px;
  background: #e5261f;
  color: #ffffff;
  text-decoration: none;
  font-size: 16px;
  line-height: 1;
  font-weight: 500;
}

.profile-publications-button:hover {
  background: #a01b16;
  color: #ffffff;
  text-decoration: none;
}

.profile-name-line {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin: 0 0 0.9rem;
  font-size: clamp(2.1rem, 4vw, 3rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: #2f2f41;
}

.profile-name-line span {
  font-size: 0.78rem;
  line-height: 1;
  letter-spacing: 0.04em;
  color: #5c5a5a;
  font-weight: 400;
}

@media (max-width: 767.98px) {
  .profile-page {
    max-width: 100%;
  }

  .profile-grid,
  .profile-metrics {
    grid-template-columns: 1fr;
  }

  .profile-actions {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* Split heading: large title with small metadata */
/* .split-heading { */
/*   display: flex; */
/*   align-items: baseline; */
/*   flex-wrap: wrap; */
/*   gap: 0.35rem 0.75rem; */
/*   margin: 0 0 0.9rem; */
/*   color: #2f2f41; */
/* } */
/**/
/* .split-heading-main { */
/*   font-size: clamp(2.1rem, 4vw, 3rem); */
/*   line-height: 1.05; */
/*   letter-spacing: -0.03em; */
/*   font-weight: 700; */
/* } */

/* .split-heading-meta { */
/*   display: inline-block; */
/*   font-size: 0.78rem; */
/*   line-height: 1; */
/*   letter-spacing: 0.04em; */
/*   color: #5c5a5a; */
/*   font-weight: 400; */
/*   white-space: nowrap; */
/* } */


/* Split heading: stacked title with small metadata */
.split-heading {
  display: block;
  margin: 0 0 0.9rem;
  /* color: #2f2f41; */
}

.split-heading-main {
  display: block;
  font-size: clamp(2.1rem, 4vw, 3rem);
  line-height: 1.05;
  /* letter-spacing: -0.03em; */
  /* font-weight: 700; */
}

.split-heading-meta {
  display: block;
  margin-top: 0.45rem;
  font-size: 0.78rem;
  line-height: 1.5;
  letter-spacing: 0.04em;
  color: #5c5a5a;
  font-weight: 400;
}


/* Force clean stacking before the layout starts to feel cramped */
@media (max-width: 640px) {
  .split-heading {
    display: block;
  }

  .split-heading-meta {
    display: block;
    margin-top: 0.45rem;
  }
}



/* # collaborator logos scroll banner  */
.collaborator-strip {
  /* padding: 2.5rem 0; */
}

.collaborator-strip-inner {
  /* padding: 1.25rem 0 0; */
}

.collaborator-strip-label {
  /* margin: 0 0 1rem; */
  /* font-size: 0.82rem; */
  /* color: #5c5a5a; */
}

.collaborator-marquee {
  position: relative;
  overflow: hidden;
  width: 100%;
  mask-image: linear-gradient(to right, transparent 0, black 6%, black 94%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0, black 6%, black 94%, transparent 100%);
}

.collaborator-track {
  display: flex;
  align-items: center;
  width: max-content;
  animation: collaborator-scroll var(--collaborator-scroll-speed, 60s) linear infinite;
  will-change: transform;
}

.collaborator-marquee:hover .collaborator-track {
  animation-play-state: paused;
}

.collaborator-logo-group {
  display: flex;
  align-items: center;
  gap: var(--collaborator-logo-gap, 3rem);
  padding-right: var(--collaborator-logo-gap, 3rem);
  flex: 0 0 auto;
}

.collaborator-logo-item {
  flex: 0 0 var(--collaborator-logo-slot-width, 180px);
  width: var(--collaborator-logo-slot-width, 180px);
  display: flex;
  align-items: center;
  justify-content: center;
}

.collaborator-logo-item a,
.collaborator-logo-static {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 56px;
}

.collaborator-logo-item img {
  display: block;
  width: auto;
  max-width: 100%;
  max-height: 42px;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 1;
  transition: filter 0.2s ease, transform 0.2s ease;
}

.collaborator-logo-item a:hover img {
  filter: grayscale(100%);
  transform: translateY(-1px);
}

.collaborator-strip.is-colour .collaborator-logo-item img,
.collaborator-strip.is-colour .collaborator-logo-item a:hover img {
  filter: none;
}

@keyframes collaborator-scroll {
  from {
    transform: translate3d(0, 0, 0);
  }

  to {
    transform: translate3d(
      calc(
        -1 * (
          (var(--collaborator-logo-count) * var(--collaborator-logo-slot-width, 180px)) +
          (var(--collaborator-logo-count) * var(--collaborator-logo-gap, 3rem))
        )
      ),
      0,
      0
    );
  }
}

@media (max-width: 767.98px) {
  .collaborator-strip {
    /* padding: 2rem 0; */
  }

  .collaborator-logo-item {
    flex-basis: 140px;
    width: 140px;
  }

  .collaborator-logo-item a,
  .collaborator-logo-static {
    min-height: 44px;
  }

  .collaborator-logo-item img {
    max-height: 30px;
  }

  .collaborator-track {
    animation-duration: 32s;
  }
}

@media (prefers-reduced-motion: reduce) {
  .collaborator-track {
    animation: none;
  }
}


.profile-experience-list {
  display: grid;
  gap: 1rem;
}

.profile-experience-card {
  padding: 1.15rem 0;
  border-top: 1px solid #d8d6d6;
}

.profile-experience-card:first-child {
  border-top: 0;
  padding-top: 0;
}

.profile-experience-meta {
  margin-bottom: 0.35rem;
  font-size: 0.82rem;
  line-height: 1.25;
  color: #5c5a5a;
  letter-spacing: 0.02em;
}

.profile-experience-card h3 {
  margin: 0 0 0.55rem;
  font-size: 1.08rem;
  line-height: 1.25;
  color: #2f2f41;
}

.profile-experience-card p {
  margin: 0;
  max-width: 820px;
}

.profile-experience-proof {
  margin-top: 0.45rem !important;
  color: #5c5a5a;
  font-size: 0.95rem;
  line-height: 1.45;
}





.route-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.15rem;
}

.route-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 1.45rem;
  border: 1px solid rgba(47, 47, 65, 0.10);
  border-radius: 20px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 248, 248, 0.96)),
    #ffffff;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.92),
    0 1px 2px rgba(47, 47, 65, 0.04),
    0 14px 34px rgba(47, 47, 65, 0.07);
  transition:
    border-color 0.16s ease,
    background-color 0.16s ease,
    box-shadow 0.16s ease;
}

.route-card:hover {
  border-color: rgba(229, 38, 31, 0.28);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 1), rgba(250, 250, 250, 0.98)),
    #ffffff;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    0 1px 2px rgba(47, 47, 65, 0.05),
    0 14px 34px rgba(47, 47, 65, 0.08);
}

.route-card-kicker {
  margin: 0 0 0.55rem;
  font-size: 0.78rem;
  line-height: 1.2;
  letter-spacing: 0.04em;
  color: #5c5a5a;
}

.route-card h3 {
  margin: 0 0 0.75rem;
  font-size: 1.18rem;
  line-height: 1.22;
  letter-spacing: -0.015em;
  color: #2f2f41;
}

.route-card-body {
  margin: 0;
  color: #5c5a5a;
  line-height: 1.48;
}

.route-card-link {
  margin-top: 1.2rem;
  display: inline-flex;
  align-items: center;
  width: fit-content;
  color: #e5261f;
  text-decoration: none;
  font-weight: 500;
}

.route-card-link::after {
}

.route-card-link:hover {
  color: #a01b16;
  text-decoration: none;
}

@media (max-width: 767.98px) {
  .route-grid {
    grid-template-columns: 1fr;
    gap: 0.95rem;
  }

  .route-card {
    padding: 1.2rem;
    border-radius: 18px;
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.9),
      0 1px 2px rgba(47, 47, 65, 0.04),
      0 8px 22px rgba(47, 47, 65, 0.055);
  }
}

.profile-product-lifecycle {
  width: 100%;
  /* max-width: 100%; */
  max-width: 45rem;
  /* margin-top: 4rem; */
  margin-left: 0;
  margin-right: 0;
  padding: 0;
  box-sizing: border-box;
}

.profile-product-lifecycle-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(47, 47, 65, 0.10);
  border-radius: 20px;
  /* background: #f7f2e8; */
  /* background: #f7f2e8; */
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.92),
    0 1px 2px rgba(47, 47, 65, 0.04),
    0 14px 34px rgba(47, 47, 65, 0.07);
  aspect-ratio: 16 / 8.3;
}

.profile-product-lifecycle-image {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 110%;
  max-width: none !important;
  object-fit: cover;
  transform: translateY(-14%);
}


/* videos */
/* videos */
.media-demo {
  width: min(100%, var(--media-demo-width, 100%));
  margin: 2rem auto;
}

.media-demo-caption {
  max-width: 58rem;
  margin: 0.75rem auto 0;
  font-size: 0.9rem;
  line-height: 1.45;
  color: #5c5a5a;
}

.video-demo-grid {
  display: grid;
  grid-template-columns: repeat(var(--video-demo-columns, 2), minmax(0, 1fr));
  gap: var(--video-demo-gap, 1.25rem);
  align-items: start;
  margin: 2rem 0;
}

.video-demo-grid .media-demo {
  width: 100%;
  margin: 0;
}

.lazy-video {
  position: relative;
  width: 100%;
  overflow: visible;
  background: transparent;
  box-shadow: none;
}

.lazy-video-button {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  text-align: inherit;
  font: inherit;
  appearance: none;
  -webkit-appearance: none;
}

.lazy-video-poster {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border: 0;
  background: transparent;
  filter: saturate(0.88) contrast(0.95) brightness(0.76);
  transform: none;
  transition: filter 0.18s ease;
}

.lazy-video-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(0, 0, 0, 0.34), rgba(0, 0, 0, 0.10)),
    linear-gradient(to bottom, rgba(0, 0, 0, 0.18), rgba(0, 0, 0, 0.06));
  pointer-events: none;
}

.lazy-video-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  padding: 0.42rem 0.72rem;
  border-radius: 999px;
  background: rgba(17, 17, 17, 0.68);
  color: #ffffff;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.lazy-video-duration {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  padding: 0.38rem 0.62rem;
  border-radius: 999px;
  background: rgba(17, 17, 17, 0.72);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.lazy-video-control {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  transform: translate(-50%, -50%);
  padding: 0.9rem 1.25rem 0.9rem 0.95rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: #111111;
  box-shadow:
    0 12px 32px rgba(0, 0, 0, 0.18),
    0 3px 10px rgba(0, 0, 0, 0.10);
  transition:
    transform 0.18s ease,
    background 0.18s ease,
    box-shadow 0.18s ease;
}

.lazy-video-icon {
  position: relative;
  width: 3.2rem;
  height: 3.2rem;
  flex: 0 0 3.2rem;
  border-radius: 50%;
  background: #111111;
}

.lazy-video-icon::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 53%;
  transform: translate(-50%, -50%);
  width: 0;
  height: 0;
  border-top: 0.58rem solid transparent;
  border-bottom: 0.58rem solid transparent;
  border-left: 0.92rem solid #ffffff;
}

.lazy-video-label {
  white-space: nowrap;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1;
}

.lazy-video-button:hover .lazy-video-poster,
.lazy-video-button:focus-visible .lazy-video-poster {
  filter: saturate(0.92) contrast(0.98) brightness(0.82);
}

.lazy-video-button:hover .lazy-video-control,
.lazy-video-button:focus-visible .lazy-video-control {
  transform: translate(-50%, -50%) scale(1.02);
  background: #ffffff;
  box-shadow:
    0 16px 38px rgba(0, 0, 0, 0.20),
    0 4px 12px rgba(0, 0, 0, 0.12);
}

.lazy-video-button:focus-visible {
  outline: none;
}

.lazy-video-button:focus-visible .lazy-video-control {
  box-shadow:
    0 0 0 4px rgba(255, 255, 255, 0.75),
    0 0 0 8px rgba(17, 17, 17, 0.20),
    0 16px 38px rgba(0, 0, 0, 0.20);
}

.lazy-video-player {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  border: 0;
  background: transparent;
}

@media (max-width: 767.98px) {
  .video-demo-grid {
    grid-template-columns: 1fr;
  }

  .lazy-video-badge {
    top: 0.8rem;
    left: 0.8rem;
    font-size: 0.7rem;
    padding: 0.34rem 0.58rem;
  }

  .lazy-video-duration {
    right: 0.8rem;
    bottom: 0.8rem;
    font-size: 0.7rem;
    padding: 0.32rem 0.56rem;
  }

  .lazy-video-control {
    gap: 0.7rem;
    padding: 0.72rem 0.95rem 0.72rem 0.78rem;
  }

  .lazy-video-icon {
    width: 2.7rem;
    height: 2.7rem;
    flex-basis: 2.7rem;
  }

  .lazy-video-icon::before {
    border-top-width: 0.48rem;
    border-bottom-width: 0.48rem;
    border-left-width: 0.78rem;
  }

  .lazy-video-label {
    font-size: 0.92rem;
  }
}


/* Editorial page sections */
/* Editorial pages with full width colour sections */

.page-editorial .editorial-section {
  width: 100%;
}

.page-editorial .section-dark,
.page-editorial .section-black {
  width: 100%;
  padding-top: 3rem;
  padding-bottom: 3rem;
}

.page-editorial .section-dark {
  background: #171720;
  color: #ffffff;
}

.page-editorial .section-black {
  background: #0f0f14;
  color: #ffffff;
}


/* Editorial page section rhythm */

.page-editorial .editorial-section {
  padding-top: 3rem;
  padding-bottom: 3rem;
}

.page-editorial .editorial-section:first-child {
  padding-top: 0;
}

.page-editorial .editorial-section > .container > .row > [class*="col-"] > *:first-child {
  margin-top: 0;
}

.page-editorial .editorial-section > .container > .row > [class*="col-"] > *:last-child {
  margin-bottom: 0;
}

.page-editorial .section-dark,
.page-editorial .section-black {
  width: 100%;
}

.page-editorial .section-dark {
  background: #171720;
  color: #ffffff;
}

.page-editorial .section-black {
  background: #0f0f14;
  color: #ffffff;
}

.page-editorial .section-dark h1,
.page-editorial .section-dark h2,
.page-editorial .section-dark h3,
.page-editorial .section-dark h4,
.page-editorial .section-dark h5,
.page-editorial .section-dark h6,
.page-editorial .section-black h1,
.page-editorial .section-black h2,
.page-editorial .section-black h3,
.page-editorial .section-black h4,
.page-editorial .section-black h5,
.page-editorial .section-black h6 {
  color: #ffffff;
}

.page-editorial .section-dark p,
.page-editorial .section-dark li,
.page-editorial .section-black p,
.page-editorial .section-black li {
  color: rgba(255, 255, 255, 0.74);
}

.page-editorial .section-dark a,
.page-editorial .section-black a {
  color: #ffffff;
  text-decoration-color: rgba(255, 255, 255, 0.45);
}

.page-editorial .section-dark a:hover,
.page-editorial .section-black a:hover {
  color: #ffffff;
  text-decoration-color: #ffffff;
}

@media (min-width: 768px) {
  .page-editorial .editorial-section {
    padding-top: 4rem;
    padding-bottom: 4rem;
  }

  .page-editorial .editorial-section:first-child {
    padding-top: 0;
  }
}

.page-editorial .section-dark h1,
.page-editorial .section-dark h2,
.page-editorial .section-dark h3,
.page-editorial .section-dark h4,
.page-editorial .section-dark h5,
.page-editorial .section-dark h6,
.page-editorial .section-black h1,
.page-editorial .section-black h2,
.page-editorial .section-black h3,
.page-editorial .section-black h4,
.page-editorial .section-black h5,
.page-editorial .section-black h6 {
  color: #ffffff;
}

.page-editorial .section-dark p,
.page-editorial .section-dark li,
.page-editorial .section-black p,
.page-editorial .section-black li {
  color: rgba(255, 255, 255, 0.74);
}

.page-editorial .section-dark a,
.page-editorial .section-black a {
  color: #ffffff;
  text-decoration-color: rgba(255, 255, 255, 0.45);
}

.page-editorial .section-dark a:hover,
.page-editorial .section-black a:hover {
  color: #ffffff;
  text-decoration-color: #ffffff;
}

/* Portfolio page */

.portfolio-page .profile-hero {
  max-width: 760px;
}

.portfolio-work-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.6rem, 3vw, 2.4rem);
  align-items: start;
}

.portfolio-work-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.portfolio-shot {
  display: block;
  width: 100%;
  text-decoration: none;
}

.portfolio-shot img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
}

.portfolio-shot:hover img,
.portfolio-shot:focus-visible img {
  filter: saturate(1.02) contrast(1.01);
}

.portfolio-shot:focus-visible {
  outline: 3px solid rgba(229, 38, 31, 0.28);
  outline-offset: 4px;
}

.portfolio-card-body {
  padding-top: 1rem;
}

.portfolio-meta {
  margin: 0 0 0.45rem;
  font-size: 0.78rem;
  line-height: 1.25;
  color: #5c5a5a;
  letter-spacing: 0.03em;
}

.portfolio-card-body h3 {
  margin: 0 0 0.55rem;
  font-size: 1.18rem;
  line-height: 1.22;
  color: #2f2f41;
}

.portfolio-card-body p {
  margin: 0;
  max-width: 760px;
  color: #5c5a5a;
  line-height: 1.5;
}

.portfolio-card-body .portfolio-proof {
  margin-top: 0.6rem;
  font-size: 0.95rem;
  line-height: 1.45;
  color: #5c5a5a;
}

.portfolio-card-body .route-card-link {
  margin-top: 1rem;
}

@media (max-width: 767.98px) {
  .portfolio-work-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .portfolio-card-body {
    padding-top: 0.85rem;
  }
}


