.work-page-body {
  background: #f8fafb;
  color: #16384b;
}
.work-symbols {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}
.work-page svg,
.work-header svg,
.work-footer svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.work-header nav > a.active {
  color: #176d9d;
}
.work-header nav > a.active:after {
  right: 0;
}
.work-page {
  overflow: hidden;
}
.work-hero {
  position: relative;
  min-height: 690px;
  margin: 18px max(1.5vw, 12px) 0;
  padding: clamp(75px, 10vw, 135px) max(6vw, 38px);
  border: 1px solid #d9e6ec;
  border-radius: 36px;
  display: grid;
  grid-template-columns: 1.15fr 0.55fr;
  gap: 8vw;
  align-items: center;
  background: linear-gradient(145deg, #fff, #f0f8fb 58%, #eef7f3);
  overflow: hidden;
}
.work-hero:after {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  border: 1px solid rgba(42, 137, 175, 0.14);
  border-radius: 50%;
  right: -170px;
  bottom: -220px;
  box-shadow:
    0 0 0 52px rgba(66, 169, 188, 0.035),
    0 0 0 104px rgba(66, 169, 188, 0.025);
}
.work-hero-copy {
  position: relative;
  z-index: 2;
}
.work-kicker,
.work-section-title > span,
.story-heading > div > span,
.outcomes-title > span,
.work-note > span,
.work-cta > span {
  text-transform: uppercase;
  letter-spacing: 0.19em;
  color: #247fa6;
  font-size: 0.62rem;
  font-weight: 800;
}
.work-hero h1 {
  margin: 25px 0 24px;
  font-size: clamp(4.2rem, 7.5vw, 8.8rem);
  line-height: 0.86;
  letter-spacing: -0.082em;
  font-weight: 650;
  color: #12384e;
}
.work-hero h1 em,
.work-section-title h2 em,
.outcomes-title h2 em,
.work-cta h2 em {
  font-family: Georgia, serif;
  font-weight: 400;
  color: #3e88a8;
}
.work-hero-copy > p {
  max-width: 680px;
  color: #67818f;
  line-height: 1.8;
  font-size: clamp(0.94rem, 1.2vw, 1.08rem);
}
.work-hero-copy > a {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  margin-top: 28px;
  padding-bottom: 7px;
  border-bottom: 1px solid #82afc2;
  color: #176e97;
  font-size: 0.76rem;
  font-weight: 780;
}
.work-hero-copy > a svg {
  transition: 0.3s;
}
.work-hero-copy > a:hover svg {
  transform: translateX(6px);
}
.work-hero-art {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.work-hero-art.has-uploaded-image {
  align-self: stretch;
  justify-content: center;
}
.work-hero-uploaded-picture {
  display: block;
  width: min(460px, 100%);
}
.work-hero-uploaded-image {
  display: block;
  width: 100%;
  height: auto;
  max-height: 610px;
  padding: 7px;
  border: 1px solid rgba(54, 116, 145, 0.15);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.48);
  object-fit: contain;
  object-position: center center;
  box-shadow: 0 35px 80px rgba(30, 78, 102, 0.16);
  animation: workOrbit 8s ease-in-out infinite;
}
.work-art-frame {
  position: relative;
  width: min(330px, 28vw);
  aspect-ratio: 1;
  border: 1px solid #b9d3df;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.65);
  box-shadow: 0 35px 80px rgba(30, 78, 102, 0.1);
  animation: workOrbit 8s ease-in-out infinite;
}
.work-art-frame:before,
.work-art-frame:after {
  content: "";
  position: absolute;
  border: 1px solid #cfdee5;
  border-radius: 50%;
  inset: 36px;
}
.work-art-frame:after {
  inset: 88px;
  background: linear-gradient(145deg, #e6f5fb, #fff);
}
.work-art-frame > span {
  z-index: 1;
  text-align: center;
  letter-spacing: 0.17em;
  color: #2e7d9d;
  font-size: 0.56rem;
  font-weight: 800;
  line-height: 1.8;
}
.work-art-frame > b {
  position: absolute;
  z-index: 1;
  right: 12%;
  bottom: 18%;
  font-size: 2.3rem;
  color: #174c66;
  letter-spacing: -0.06em;
}
.work-art-frame > i {
  position: absolute;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #2a8ed1;
  box-shadow: 0 0 0 7px rgba(42, 142, 209, 0.1);
}
.work-art-frame > i:nth-of-type(1) {
  top: 17%;
  left: 18%;
}
.work-art-frame > i:nth-of-type(2) {
  top: 48%;
  right: -4px;
  background: #3bb99a;
}
.work-art-frame > i:nth-of-type(3) {
  bottom: 3%;
  left: 31%;
  background: #f28b5c;
}
.work-hero-art > p {
  margin-top: 24px;
  text-align: center;
  color: #73909e;
  font:
    italic 0.78rem/1.6 Georgia,
    serif;
}
.work-line {
  position: absolute;
  height: 1px;
  background: linear-gradient(90deg, transparent, #b6d0dc, transparent);
  transform: rotate(-18deg);
  width: 55%;
  left: -6%;
}
.line-one {
  top: 22%;
}
.line-two {
  bottom: 18%;
  left: 12%;
}
@keyframes workOrbit {
  50% {
    transform: translateY(-10px) rotate(2deg);
  }
}
.work-intro-strip {
  padding: 28px max(5vw, 24px);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-bottom: 1px solid #dce8ed;
  background: #fff;
}
.work-intro-strip > span {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 9px 25px;
  border-right: 1px solid #dce8ed;
  color: #567687;
  font-size: 0.71rem;
}
.work-intro-strip > span:last-child {
  border-right: 0;
}
.work-intro-strip b {
  color: #2b86ab;
  font-size: 0.55rem;
  letter-spacing: 0.14em;
}
.work-featured {
  padding: 120px max(5vw, 24px);
  background: #fff;
}
.work-section-title {
  text-align: center;
  max-width: 900px;
  margin: 0 auto 60px;
}
.work-section-title h2,
.outcomes-title h2,
.work-cta h2 {
  margin: 18px 0 0;
  font-size: clamp(3rem, 5.5vw, 6.2rem);
  line-height: 0.94;
  letter-spacing: -0.068em;
  font-weight: 650;
}
.featured-work-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 20px;
}
.featured-work-card {
  display: block;
  border: 1px solid #d9e7ed;
  border-radius: 29px;
  background: #f8fcfd;
  overflow: hidden;
  transition: 0.4s;
}
.featured-work-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 30px 75px rgba(31, 79, 104, 0.13);
}
.featured-image {
  height: 390px;
  overflow: hidden;
  background: #e8f5fa;
}
.featured-work-card.large .featured-image {
  height: 510px;
}
.featured-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.2, 0.75, 0.2, 1);
}
.featured-work-card:hover img {
  transform: scale(1.055);
}
.featured-work-card > div:last-child {
  padding: 26px;
}
.featured-work-card small {
  color: #2481a9;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.56rem;
}
.featured-work-card h3 {
  margin: 9px 0;
  font-size: 1.55rem;
  letter-spacing: -0.035em;
}
.featured-work-card p {
  color: #6f8793;
  line-height: 1.65;
  font-size: 0.78rem;
}
.featured-work-card > div > span {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 18px;
  color: #176e99;
  font-size: 0.71rem;
  font-weight: 780;
}
.featured-work-card > div > span svg {
  width: 34px;
  height: 34px;
  padding: 8px;
  border-radius: 50%;
  background: #e3f1f6;
}
.project-stories {
  padding: 115px 0;
  background: #0d2c3e;
  color: #fff;
}
.story-heading {
  display: grid;
  grid-template-columns: 1fr 0.6fr;
  gap: 8vw;
  align-items: end;
  padding: 0 max(6vw, 30px) 50px;
}
.story-heading h2 {
  margin: 15px 0 0;
  font-size: clamp(3rem, 5vw, 5.8rem);
  letter-spacing: -0.065em;
  line-height: 0.95;
}
.story-heading p {
  margin: 0;
  color: #9fb8c2;
  line-height: 1.75;
}
.work-slider {
  position: relative;
  outline: none;
  cursor: grab;
  touch-action: pan-y;
}
.work-slider:active {
  cursor: grabbing;
}
.work-slider-track {
  display: flex;
  transition: transform 0.82s cubic-bezier(0.2, 0.75, 0.2, 1);
  will-change: transform;
}
.work-slide {
  min-width: 100%;
  padding: 0 max(6vw, 30px);
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 6vw;
  align-items: center;
  opacity: 0.3;
  transform: scale(0.97);
  transition:
    opacity 0.55s,
    transform 0.75s;
}
.work-slide.active {
  opacity: 1;
  transform: none;
}
.work-slide-image {
  position: relative;
  height: min(590px, 60vw);
  min-height: 420px;
  border-radius: 30px;
  overflow: hidden;
  background: #173f52;
}
.work-slide-image:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 65%, rgba(5, 23, 33, 0.42));
}
.work-slide-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s cubic-bezier(0.2, 0.75, 0.2, 1);
}
.work-slide.active .work-slide-image img {
  transform: scale(1.025);
}
.work-slide-image > span {
  position: absolute;
  z-index: 2;
  right: 24px;
  bottom: 19px;
  font-size: 3.2rem;
  font-weight: 700;
  letter-spacing: -0.06em;
}
.work-slide-copy {
  max-width: 610px;
}
.work-slide-copy > small {
  color: #6ed4d5;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.58rem;
}
.work-slide-copy h3 {
  margin: 18px 0;
  font-size: clamp(2.8rem, 5vw, 5.7rem);
  line-height: 0.91;
  letter-spacing: -0.068em;
}
.work-slide-copy > p {
  color: #aec4cd;
  line-height: 1.78;
}
.work-slide-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 29px 0;
  padding: 22px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}
.work-slide-meta > span {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.work-slide-meta small {
  color: #6f9dac;
  font-size: 0.52rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}
.work-slide-meta b {
  font-size: 0.75rem;
}
.work-slide-copy > a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #7adbd6;
  font-size: 0.72rem;
  font-weight: 780;
}
.work-slider-footer {
  display: grid;
  grid-template-columns: 160px 1fr 160px;
  align-items: center;
  gap: 20px;
  margin: 38px max(6vw, 30px) 0;
}
.work-slider-count {
  display: flex;
  align-items: center;
  gap: 12px;
}
.work-slider-count b {
  font-size: 1.35rem;
}
.work-slider-count i {
  width: 55px;
  height: 1px;
  background: #4b7586;
}
.work-slider-count span {
  color: #769aa9;
  font-size: 0.67rem;
}
.work-slider-dots {
  display: flex;
  justify-content: center;
  gap: 7px;
}
.work-slider-dots button {
  width: 7px;
  height: 7px;
  border: 0;
  border-radius: 50%;
  padding: 0;
  background: #527586;
  cursor: pointer;
  transition: 0.3s;
}
.work-slider-dots button.active {
  width: 28px;
  border-radius: 10px;
  background: #71d9d5;
}
.work-slider-controls {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
}
.work-slider-controls button {
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
  cursor: pointer;
  transition: 0.25s;
}
.work-slider-controls button:hover:not(:disabled) {
  background: #fff;
  color: #12394c;
}
.work-slider-controls button:disabled {
  opacity: 0.28;
  cursor: not-allowed;
}
.work-slider-hint {
  text-align: center;
  margin: 22px 0 0;
  color: #7395a3;
  font-size: 0.6rem;
  letter-spacing: 0.1em;
}
.work-outcomes {
  padding: 120px max(5vw, 24px);
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 8vw;
  background: #f4fafc;
}
.outcomes-title {
  align-self: start;
  position: sticky;
  top: 115px;
}
.outcome-list {
  border-top: 1px solid #d5e5eb;
}
.outcome-list article {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 25px;
  padding: 30px 7px;
  border-bottom: 1px solid #d5e5eb;
}
.outcome-list b {
  font-size: 1.05rem;
}
.outcome-list p {
  margin: 0;
  color: #6d8794;
  font-size: 0.78rem;
  line-height: 1.7;
}
.work-note {
  padding: 95px max(8vw, 35px);
  text-align: center;
  background: #fff;
}
.work-note blockquote {
  max-width: 1000px;
  margin: 26px auto;
  font:
    400 clamp(2.3rem, 4.5vw, 5rem) / 1.06 Georgia,
    serif;
  letter-spacing: -0.045em;
  color: #19435a;
}
.work-note p {
  color: #78909c;
}
.work-cta {
  margin: 20px max(2vw, 13px) clamp(58px, 7vw, 100px);
  padding: 105px max(5vw, 24px);
  border-radius: 35px;
  text-align: center;
  color: #fff;
  background:
    radial-gradient(circle at 15% 0, rgba(43, 142, 212, 0.28), transparent 30%),
    radial-gradient(
      circle at 90% 100%,
      rgba(55, 196, 157, 0.22),
      transparent 32%
    ),
    linear-gradient(135deg, #092334, #123f54);
}
.work-cta h2 {
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}
.work-cta h2 em {
  color: #80dedb;
}
.work-cta p {
  max-width: 630px;
  margin: 24px auto 0;
  color: #adc4cd;
  line-height: 1.75;
}
.work-cta > div {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 31px;
}
.work-button {
  height: 55px;
  padding: 0 21px;
  border: 1px solid transparent;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.75rem;
  font-weight: 780;
  transition: 0.3s;
}
.work-button:hover {
  transform: translateY(-4px);
}
.work-button.primary {
  color: #fff;
  background: linear-gradient(135deg, #2477ff, #25a7b5 58%, #43bd99);
  box-shadow: 0 16px 38px rgba(25, 109, 184, 0.28);
}
.work-button.secondary {
  color: #e2f2f5;
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.06);
}
.work-footer {
  margin-top: 24px;
  padding-top: 60px;
  background: #edf7fb;
}
.work-footer-grid {
  padding: 65px max(5vw, 24px);
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 7vw;
}
.work-footer-grid > div {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 11px;
}
.work-footer-grid p {
  max-width: 390px;
  color: #688391;
  line-height: 1.7;
}
.work-footer-grid h4 {
  margin: 0 0 10px;
  color: #2477a4;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 0.64rem;
}
.work-footer-grid a,
.work-footer-grid > div > span {
  color: #698493;
  font-size: 0.75rem;
}
.work-footer-bottom {
  padding: 22px max(5vw, 24px);
  border-top: 1px solid #d4e6ed;
  display: flex;
  justify-content: space-between;
  color: #78919e;
  font-size: 0.66rem;
}
[data-work-reveal] {
  opacity: 0;
  transform: translateY(25px);
  transition:
    opacity 0.72s ease,
    transform 0.72s ease;
}
[data-work-reveal].work-revealed {
  opacity: 1;
  transform: none;
}
@media (max-width: 1050px) {
  .work-hero {
    grid-template-columns: 1fr 0.45fr;
  }
  .featured-work-grid {
    grid-template-columns: 1fr;
  }
  .featured-work-card.large .featured-image,
  .featured-image {
    height: 460px;
  }
  .work-slide {
    grid-template-columns: 1fr;
    gap: 42px;
  }
  .work-slide-image {
    height: 540px;
  }
  .work-outcomes {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .outcomes-title {
    position: static;
  }
  .story-heading {
    grid-template-columns: 1fr;
    gap: 22px;
  }
}
@media (max-width: 800px) {
  body.services-menu-open {
    overflow: hidden;
  }
  .work-hero {
    min-height: 770px;
    margin: 9px;
    padding: 75px 22px;
    grid-template-columns: 1fr;
  }
  .work-hero h1 {
    font-size: clamp(3.9rem, 16vw, 6.1rem);
  }
  .work-hero-art {
    display: none;
  }
  .work-hero-art.has-uploaded-image {
    display: flex;
    align-self: auto;
    width: 100%;
    margin-top: 26px;
  }
  .work-hero-uploaded-picture {
    width: min(100%, 520px);
    margin-inline: auto;
  }
  .work-hero-uploaded-image {
    width: 100%;
    max-height: 520px;
    padding: 5px;
    border-radius: 23px;
  }
  .work-intro-strip {
    grid-template-columns: 1fr;
    padding: 18px 20px;
  }
  .work-intro-strip > span {
    border-right: 0;
    border-bottom: 1px solid #e0eaee;
    padding: 13px 5px;
  }
  .work-intro-strip > span:last-child {
    border-bottom: 0;
  }
  .work-featured,
  .work-outcomes {
    padding: 85px 20px;
  }
  .featured-work-card.large .featured-image,
  .featured-image {
    height: 330px;
  }
  .project-stories {
    padding: 85px 0;
  }
  .story-heading {
    padding: 0 20px 38px;
  }
  .work-slide {
    padding: 0 20px;
  }
  .work-slide-image {
    height: 380px;
    min-height: 0;
  }
  .work-slide-copy h3 {
    font-size: 3.5rem;
  }
  .work-slider-footer {
    grid-template-columns: 1fr auto;
    margin: 28px 20px 0;
  }
  .work-slider-dots {
    display: none;
  }
  .work-slider-controls {
    grid-column: 2;
  }
  .outcome-list article {
    grid-template-columns: 100px 1fr;
  }
  .work-note {
    padding: 75px 20px;
  }
  .work-cta {
    margin: 13px 9px 58px;
    padding: 80px 20px;
  }
  .work-cta .work-button {
    width: 100%;
    justify-content: center;
  }
  .work-footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 42px;
  }
  .work-footer-grid > div:first-child {
    grid-column: 1/-1;
  }
  .work-footer-bottom {
    flex-direction: column;
    gap: 8px;
  }
  .work-header nav > a.active {
    color: #176d9d;
    background: #eef8fc;
  }
}
@media (max-width: 520px) {
  .featured-work-card.large .featured-image,
  .featured-image {
    height: 260px;
  }
  .work-slide-image {
    height: 300px;
  }
  .work-slide-copy h3 {
    font-size: 3rem;
  }
  .work-slide-meta {
    grid-template-columns: 1fr;
  }
  .outcome-list article {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .work-footer-grid {
    grid-template-columns: 1fr;
  }
  .work-footer-grid > div:first-child {
    grid-column: auto;
  }
}
@media (prefers-reduced-motion: reduce) {
  .work-art-frame {
    animation: none;
  }
  [data-work-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .work-slider-track,
  .featured-image img {
    transition: none;
  }
}


/* =========================================================
   WORK — HEADER + HERO PADDING FIX
   Gives the fixed top bar proper breathing room and prevents
   the hero from sitting underneath it.
   ========================================================= */
.work-page-body .work-page {
  box-sizing: border-box;
  padding-top: 96px;
}

.work-page-body .site-header,
.work-page-body .site-header.scrolled {
  padding-left: clamp(26px, 4.6vw, 76px) !important;
  padding-right: clamp(26px, 4.6vw, 76px) !important;
}

.work-page-body .work-hero {
  margin:
    14px
    clamp(14px, 2vw, 30px)
    0;
  padding:
    clamp(62px, 7vw, 96px)
    clamp(34px, 5.2vw, 82px);
}

@media (max-width: 1120px) {
  .work-page-body .work-page {
    padding-top: 84px;
  }

  .work-page-body .site-header,
  .work-page-body .site-header.scrolled {
    padding-left: clamp(18px, 3vw, 28px) !important;
    padding-right: clamp(18px, 3vw, 28px) !important;
  }

  .work-page-body .work-hero {
    margin: 10px clamp(12px, 2vw, 20px) 0;
    padding:
      clamp(56px, 7vw, 76px)
      clamp(24px, 5vw, 46px);
  }
}

@media (max-width: 680px) {
  .work-page-body .work-page {
    padding-top: 76px;
  }

  .work-page-body .site-header,
  .work-page-body .site-header.scrolled {
    padding-left: 15px !important;
    padding-right: 15px !important;
  }

  .work-page-body .work-hero {
    margin: 8px 10px 0;
    padding: 48px 18px 54px;
    border-radius: 24px;
  }
}


/* =========================================================
   WORK V4 — RESPONSIVE PROJECT MEDIA
   Desktop and mobile images are selected automatically.
   Full screenshots stay visible instead of being aggressively cropped.
   ========================================================= */
.work-page-body .work-project-picture {
  display: block;
  width: 100%;
  height: 100%;
}

.work-page-body .featured-image,
.work-page-body .work-slide-image {
  background: #eef5f8;
}

.work-page-body .featured-image .work-project-picture > img,
.work-page-body .work-slide-image .work-project-picture > img {
  display: block;
  width: 100%;
  height: 100%;
  padding: 8px;
  object-fit: contain !important;
  object-position: center center !important;
}

.work-page-body .work-slide-image::after {
  pointer-events: none;
}

@media (max-width: 800px) {
  .work-page-body .featured-image .work-project-picture > img,
  .work-page-body .work-slide-image .work-project-picture > img {
    padding: 5px;
  }
}


/* =========================================================
   WORK HERO V5 — FULL IMAGE / NO OVERLAY
   ========================================================= */
.work-page-body .work-hero.has-full-hero-image {
  min-height: clamp(650px, calc(100svh - 132px), 790px) !important;
  display: flex !important;
  align-items: center !important;
  background: transparent !important;
  background-image: none !important;
  border: 1px solid rgba(255,255,255,.30) !important;
  box-shadow: none !important;
  isolation: isolate;
}

.work-page-body .work-hero.has-full-hero-image::after {
  display: none !important;
  content: none !important;
}

.work-page-body .work-hero.has-full-hero-image .work-line {
  display: none !important;
}

.work-page-body .work-hero.has-full-hero-image .work-hero-art.has-uploaded-image {
  position: absolute !important;
  z-index: 0 !important;
  inset: 0 !important;
  display: block !important;
  width: 100% !important;
  height: 100% !important;
}

.work-page-body .work-hero.has-full-hero-image .work-hero-uploaded-picture {
  display: block !important;
  width: 100% !important;
  max-width: none !important;
  height: 100% !important;
}

.work-page-body .work-hero.has-full-hero-image .work-hero-uploaded-image {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  max-height: none !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: inherit !important;
  background: transparent !important;
  object-fit: cover !important;
  object-position: center center !important;
  box-shadow: none !important;
  animation: none !important;
  transform: none !important;
}

.work-page-body .work-hero.has-full-hero-image .work-hero-art > p {
  display: none !important;
}

.work-page-body .work-hero.has-full-hero-image .work-hero-copy {
  position: relative !important;
  z-index: 2 !important;
  width: min(800px, 68%) !important;
  max-width: 800px !important;
}

.work-page-body .work-hero.has-full-hero-image .work-kicker,
.work-page-body .work-hero.has-full-hero-image h1,
.work-page-body .work-hero.has-full-hero-image h1 em,
.work-page-body .work-hero.has-full-hero-image .work-hero-copy > p,
.work-page-body .work-hero.has-full-hero-image .work-hero-copy > a {
  color: #ffffff !important;
  text-shadow:
    0 2px 3px rgba(0,0,0,.90),
    0 7px 20px rgba(0,0,0,.68),
    0 15px 36px rgba(0,0,0,.42) !important;
}

.work-page-body .work-hero.has-full-hero-image h1 {
  font-weight: 720 !important;
}

.work-page-body .work-hero.has-full-hero-image .work-hero-copy > p {
  font-weight: 560;
}

.work-page-body .work-hero.has-full-hero-image .work-hero-copy > a {
  border-bottom-color: rgba(255,255,255,.84) !important;
}

@media (max-width: 900px) {
  .work-page-body .work-hero.has-full-hero-image {
    min-height: 690px !important;
  }

  .work-page-body .work-hero.has-full-hero-image .work-hero-copy {
    width: min(100%, 710px) !important;
  }
}

@media (max-width: 680px) {
  .work-page-body .work-page {
    padding-top: 76px !important;
  }

  .work-page-body .work-hero.has-full-hero-image {
    min-height: 640px !important;
    align-items: flex-end !important;
    margin: 8px 10px 0 !important;
    padding: 46px 20px 48px !important;
    border-radius: 24px !important;
  }

  .work-page-body .work-hero.has-full-hero-image h1 {
    font-size: clamp(3rem, 14vw, 4.8rem) !important;
    line-height: .91 !important;
  }

  .work-page-body .work-hero.has-full-hero-image .work-hero-copy > p {
    font-size: .94rem !important;
    line-height: 1.62 !important;
  }
}


/* =========================================================
   WORK HERO V5.1 — ADD PREMIUM OVERLAY
   ========================================================= */
.work-page-body .work-hero.has-full-hero-image::after {
  display: block !important;
  position: absolute !important;
  z-index: 1 !important;
  inset: 0 !important;
  content: "" !important;
  border-radius: inherit !important;
  background:
    linear-gradient(
      90deg,
      rgba(4, 21, 37, .66) 0%,
      rgba(4, 21, 37, .48) 34%,
      rgba(4, 21, 37, .24) 62%,
      rgba(4, 21, 37, .18) 100%
    ),
    linear-gradient(
      180deg,
      rgba(2, 12, 24, .14) 0%,
      rgba(2, 12, 24, .03) 34%,
      rgba(2, 12, 24, .28) 100%
    ) !important;
  pointer-events: none !important;
}

.work-page-body .work-hero.has-full-hero-image .work-hero-copy {
  z-index: 2 !important;
}


/* =========================================================
   WORK HERO V5.2 — HOME PAGE OVERLAY / NO TEXT SHADOW
   ========================================================= */
.work-page-body .work-hero.has-full-hero-image::after {
  display: block !important;
  position: absolute !important;
  z-index: 1 !important;
  inset: 0 !important;
  content: "" !important;
  border-radius: inherit !important;
  background: linear-gradient(
      90deg,
      #fcfefffa 0%,
      #f9fdffed 36%,
      #f8fdff5c 66%,
      #ffffff0d 100%
    ) !important;
  pointer-events: none !important;
}

.work-page-body .work-hero.has-full-hero-image .work-kicker,
.work-page-body .work-hero.has-full-hero-image h1,
.work-page-body .work-hero.has-full-hero-image h1 em,
.work-page-body .work-hero.has-full-hero-image .work-hero-copy > p,
.work-page-body .work-hero.has-full-hero-image .work-hero-copy > a {
  text-shadow: none !important;
}

.work-page-body .work-hero.has-full-hero-image .work-kicker {
  color: #287492 !important;
}

.work-page-body .work-hero.has-full-hero-image h1 {
  color: #12354a !important;
}

.work-page-body .work-hero.has-full-hero-image h1 em {
  color: #318eaf !important;
}

.work-page-body .work-hero.has-full-hero-image .work-hero-copy > p {
  color: #5b7686 !important;
}

.work-page-body .work-hero.has-full-hero-image .work-hero-copy > a {
  color: #176d97 !important;
  border-bottom-color: rgba(23, 109, 151, .34) !important;
}

@media (max-width: 680px) {
  .work-page-body .work-hero.has-full-hero-image::after {
    background: linear-gradient(#ffffff21 16%, #fbfeffed 55%, #fcfefffc 100%) !important;
  }
}


/* =========================================================
   WORK V6 — ADMIN-ONLY CONTENT + MOBILE HERO FULL VIEW FIX
   ========================================================= */

/* Featured card is now an article; keep the previous visual behaviour. */
.work-page-body .featured-work-card > div:last-child > a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  color: #176e97;
  font-size: .72rem;
  font-weight: 780;
}

.work-page-body .featured-work-card > div:last-child > a svg {
  transition: transform .25s ease;
}

.work-page-body .featured-work-card > div:last-child > a:hover svg {
  transform: translate(3px, -3px);
}

/* If the admin does not provide section content, no artificial minimum gap is created. */
.work-page-body .work-featured:has(.featured-work-grid:only-child),
.work-page-body .project-stories:has(.work-slider:only-child) {
  padding-top: clamp(70px, 8vw, 105px);
}

/* Mobile: hero starts immediately after the fixed 68px header.
   The previous 76px page padding + 8px hero margin created the visible top gap. */
@media (max-width: 680px) {
  .work-page-body .work-page {
    padding-top: 68px !important;
  }

  .work-page-body .work-hero.has-full-hero-image {
    width: auto !important;
    min-height: calc(100svh - 68px) !important;
    margin: 0 10px !important;
    border-radius: 0 0 24px 24px !important;
  }

  .work-page-body .work-hero.has-full-hero-image .work-hero-art.has-uploaded-image,
  .work-page-body .work-hero.has-full-hero-image .work-hero-uploaded-picture,
  .work-page-body .work-hero.has-full-hero-image .work-hero-uploaded-image {
    top: 0 !important;
    margin-top: 0 !important;
  }

  .work-page-body .work-hero.has-full-hero-image .work-hero-uploaded-image {
    object-fit: cover !important;
    object-position: center center !important;
  }
}

@media (max-width: 420px) {
  .work-page-body .work-hero.has-full-hero-image {
    margin-right: 0 !important;
    margin-left: 0 !important;
    border-radius: 0 0 22px 22px !important;
  }
}


/* =========================================================
   WORK HERO V7 — RELIABLE HOME-STYLE OVERLAY LAYER
   Uses a real element instead of pseudo-element stacking.
   ========================================================= */

/* Disable all old pseudo overlays so only one overlay system is active. */
.work-page-body .work-hero.has-full-hero-image::before,
.work-page-body .work-hero.has-full-hero-image::after {
  display: none !important;
  content: none !important;
  background: none !important;
}

/* Image is always the bottom visual layer. */
.work-page-body .work-hero.has-full-hero-image .work-hero-art.has-uploaded-image {
  z-index: 0 !important;
}

/* Real overlay layer — same soft white wash style as Home page. */
.work-page-body .work-hero-overlay {
  position: absolute !important;
  z-index: 1 !important;
  inset: 0 !important;
  display: block !important;
  border-radius: inherit !important;
  pointer-events: none !important;
  background:
    linear-gradient(
      90deg,
      rgba(252, 254, 255, .98) 0%,
      rgba(249, 253, 255, .94) 34%,
      rgba(248, 253, 255, .70) 52%,
      rgba(248, 253, 255, .34) 70%,
      rgba(255, 255, 255, .08) 100%
    ) !important;
}

/* Text/content remains above the image and overlay. */
.work-page-body .work-hero.has-full-hero-image .work-hero-copy {
  z-index: 2 !important;
}

/* Keep the Home-style typography with no text shadow. */
.work-page-body .work-hero.has-full-hero-image .work-kicker,
.work-page-body .work-hero.has-full-hero-image h1,
.work-page-body .work-hero.has-full-hero-image h1 em,
.work-page-body .work-hero.has-full-hero-image .work-hero-copy > p,
.work-page-body .work-hero.has-full-hero-image .work-hero-copy > a {
  text-shadow: none !important;
}

.work-page-body .work-hero.has-full-hero-image .work-kicker {
  color: #236d8c !important;
}

.work-page-body .work-hero.has-full-hero-image h1 {
  color: #12354a !important;
}

.work-page-body .work-hero.has-full-hero-image h1 em {
  color: #318eaf !important;
}

.work-page-body .work-hero.has-full-hero-image .work-hero-copy > p {
  color: #587383 !important;
}

.work-page-body .work-hero.has-full-hero-image .work-hero-copy > a {
  color: #176d97 !important;
  border-bottom-color: rgba(23, 109, 151, .35) !important;
}

/* Mobile: Home-style wash shifts downward to keep the image visible. */
@media (max-width: 680px) {
  .work-page-body .work-hero-overlay {
    background:
      linear-gradient(
        180deg,
        rgba(255,255,255,.08) 0%,
        rgba(250,253,255,.30) 28%,
        rgba(250,253,255,.82) 57%,
        rgba(252,254,255,.98) 100%
      ) !important;
  }
}


/* =========================================================
   WORK V8 — HEADER / HERO / NEXT-SECTION SPACING FIX
   Consistent breathing room on desktop, tablet and mobile.
   ========================================================= */

/* Desktop:
   fixed header -> 16px visual gap -> hero -> 20px section gap */
.work-page-body .work-page {
  padding-top: 92px !important;
}

.work-page-body .work-hero,
.work-page-body .work-hero.has-full-hero-image {
  margin:
    16px
    clamp(18px, 1.8vw, 28px)
    20px !important;
}

/* Keep the uploaded image fully inside the hero after adding outer spacing. */
.work-page-body .work-hero.has-full-hero-image .work-hero-art.has-uploaded-image,
.work-page-body .work-hero.has-full-hero-image .work-hero-uploaded-picture,
.work-page-body .work-hero.has-full-hero-image .work-hero-uploaded-image,
.work-page-body .work-hero.has-full-hero-image .work-hero-overlay {
  border-radius: inherit !important;
}

/* The immediate section under hero should not visually collide with it. */
.work-page-body .work-intro-strip {
  margin:
    0
    clamp(18px, 1.8vw, 28px)
    0 !important;
  border: 1px solid #dce8ed !important;
  border-radius: 18px !important;
}

/* If the intro strip is not rendered, the hero bottom margin still
   creates the same clean spacing before Featured Projects. */

@media (max-width: 1120px) {
  .work-page-body .work-page {
    padding-top: 82px !important;
  }

  .work-page-body .work-hero,
  .work-page-body .work-hero.has-full-hero-image {
    margin:
      12px
      16px
      16px !important;
  }

  .work-page-body .work-intro-strip {
    margin:
      0
      16px
      0 !important;
    border-radius: 16px !important;
  }
}

@media (max-width: 680px) {
  /* Mobile header is ~68px. Add a deliberate 9px gap outside the hero.
     The uploaded image itself still starts at the very top INSIDE the hero. */
  .work-page-body .work-page {
    padding-top: 68px !important;
  }

  .work-page-body .work-hero,
  .work-page-body .work-hero.has-full-hero-image {
    width: auto !important;
    min-height: calc(100svh - 89px) !important;
    margin:
      9px
      10px
      12px !important;
    border-radius: 22px !important;
  }

  .work-page-body .work-hero.has-full-hero-image .work-hero-art.has-uploaded-image,
  .work-page-body .work-hero.has-full-hero-image .work-hero-uploaded-picture,
  .work-page-body .work-hero.has-full-hero-image .work-hero-uploaded-image {
    top: 0 !important;
    margin-top: 0 !important;
  }

  .work-page-body .work-intro-strip {
    margin:
      0
      10px
      0 !important;
    padding: 14px 16px !important;
    border-radius: 15px !important;
  }
}

@media (max-width: 420px) {
  .work-page-body .work-hero,
  .work-page-body .work-hero.has-full-hero-image {
    margin:
      8px
      8px
      10px !important;
    border-radius: 20px !important;
  }

  .work-page-body .work-intro-strip {
    margin:
      0
      8px
      0 !important;
  }
}
