/* Brand integration, animated maintenance and editorial case studies. */
/* logo-color.png and logo-inverse.png carry real alpha, so the blend-mode and
   invert-filter workarounds that used to flatten the orange are gone. */
.logo-mark-inverse {
  display: none;
}
.header.is-scrolled {
  background: #fff;
}
.footer-logo {
  background: transparent;
  padding: 0;
  border-radius: 0;
}
[hidden] {
  display: none !important;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.rtl h1,
.rtl h2,
.rtl h3 {
  letter-spacing: 0;
}
.rtl p {
  text-wrap: pretty;
}
.maintenance-section {
  background: #f2f5f5;
}
.care-showcase {
  background: #0a2237;
  color: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 25px 65px #102c4512;
}
.care-stage {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  min-height: 440px;
  position: relative;
}
.care-art {
  position: relative;
  min-height: 400px;
  overflow: hidden;
  background: radial-gradient(ellipse at 40% 45%, #254d68 0, transparent 65%);
}
.care-ring {
  position: absolute;
  left: 50%;
  top: 50%;
  border: 1px solid #b6def14a;
  border-radius: 50%;
  transform: translate(-50%, -50%);
}
.ring-one {
  width: 200px;
  height: 200px;
  border-width: 2px;
  border-color: #b5dbea9c;
  box-shadow:
    0 0 55px #d4eff31a,
    inset 0 0 40px #d4eff310;
}
.ring-two {
  width: 290px;
  height: 290px;
  border-style: dashed;
}
.ring-three {
  width: 380px;
  height: 380px;
}
.care-art-word {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  text-align: center;
  font-size: 36px;
  font-weight: 350;
  line-height: 1.05;
  letter-spacing: 7px;
  color: #d9edf6;
  direction: ltr;
}
.care-orbit {
  width: 12px;
  height: 12px;
  background: #f4a93d;
  border-radius: 50%;
  position: absolute;
  top: calc(50% - 6px);
  left: calc(50% - 6px);
  box-shadow: 0 0 25px #f4a93d80;
  transform: rotate(-90deg) translateX(145px);
}
.care-showcase.is-playing .care-orbit {
  animation: care-orbit 12s linear infinite;
}
@keyframes care-orbit {
  from {
    transform: rotate(-90deg) translateX(145px);
  }
  to {
    transform: rotate(270deg) translateX(145px);
  }
}
.care-stage-content {
  padding: 42px 54px 42px 16px;
  display: grid;
  align-items: center;
}
.rtl .care-stage-content {
  padding: 42px 16px 42px 54px;
}
.care-panel {
  animation: panel-arrive 0.6s both;
}
@keyframes panel-arrive {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.care-number {
  font-size: 12px;
  letter-spacing: 0.18em;
  color: #abc9d9;
}
.care-panel h3 {
  color: white;
  font-size: clamp(25px, 2.4vw, 36px);
  line-height: 1.2;
  font-weight: 450;
  letter-spacing: -0.03em;
  margin: 20px 0;
}
.care-panel p {
  color: #c3d4df;
  font-size: 15px;
  line-height: 1.9;
  max-width: 490px;
  min-height: 86px;
  margin-bottom: 22px;
}
.care-features {
  font-size: 11px;
  color: #9bb5c5;
  padding-top: 16px;
  border-top: 1px solid #ffffff1a;
}
/* The panel link is the site's orange primary button. */
.care-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  margin-top: 15px;
  padding: 11px 22px;
  border-radius: 7px;
  background: var(--orange);
  color: var(--deep);
  font-size: 13px;
  font-weight: 650;
  line-height: 1.4;
  transition:
    background 0.3s,
    transform 0.3s,
    box-shadow 0.3s;
}
.care-cta:hover {
  background: #ffb94f;
  color: var(--deep);
  transform: translateY(-2px);
  box-shadow: 0 10px 26px #f4a93d33;
}
.care-controls {
  display: flex;
  align-items: stretch;
  border-top: 1px solid #ffffff25;
}
.care-tabs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  flex: 1;
}
.care-tabs button {
  background: none;
  color: #a3bdce;
  border: 0;
  border-inline-end: 1px solid #ffffff1c;
  position: relative;
  padding: 25px 20px;
  display: flex;
  gap: 12px;
  text-align: start;
  align-items: center;
  font-size: 13px;
}
.care-tabs button[aria-selected="true"] {
  color: white;
  background: #ffffff08;
}
.care-tab-number {
  font-size: 10px;
  color: #88a7bd;
}
.care-progress {
  position: absolute;
  bottom: 0;
  inset-inline-start: 0;
  height: 3px;
  background: #f4a93d;
  width: 0;
  transition: width 0.2s;
}
[aria-selected="true"] .care-progress {
  width: 100%;
}
.rtl .care-panel h3 {
  line-height: 1.55;
  font-size: 30px;
}
.rtl .care-panel p {
  min-height: 86px;
}
.rtl .care-tabs button {
  font-size: 13px;
}
.experience-section {
  background: #0a2237;
  color: #d1e1e9;
  overflow: hidden;
}
.experience-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 100px;
  align-items: center;
}
.experience-mark {
  position: relative;
  min-height: 420px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  border: 1px solid #b4d5e32b;
  border-radius: 240px 240px 12px 12px;
  padding: 42px 24px 28px;
  background: linear-gradient(145deg, #143b50, #0a2237 75%);
}
.experience-line {
  position: absolute;
  inset: 18px;
  border: 1px solid #b4d5e320;
  border-radius: 220px 220px 6px 6px;
  pointer-events: none;
}
.experience-number {
  font-family: SunSans, Arial, sans-serif;
  font-size: clamp(140px, 16vw, 230px);
  font-weight: 350;
  letter-spacing: -0.08em;
  line-height: 1.15;
  color: #cee4ed;
  font-variant-numeric: tabular-nums;
  padding-inline-end: 0.08em;
  direction: ltr;
}
.experience-caption {
  font-size: 11px;
  letter-spacing: 0.22em;
  color: #f5b65d;
}
.experience-foot {
  text-align: center;
  font-size: 12px;
  color: #91acbd;
  border-top: 1px solid #aac5d523;
  margin-top: 35px;
  padding-top: 18px;
}
.experience-copy .eyebrow {
  color: #edb15a;
}
.experience-copy h2 {
  font-size: clamp(28px, 3.2vw, 44px);
  font-weight: 450;
  letter-spacing: -0.04em;
  line-height: 1.2;
  color: white;
  margin: 20px 0 28px;
}
.experience-copy p {
  color: #a9c0cf;
  font-size: 15px;
  line-height: 1.95;
}
.experience-copy .experience-lead {
  font-size: 18px;
  color: #e1edf2;
}
.experience-principles {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin: 30px 0;
}
.experience-principles span {
  font-size: 11px;
  border-inline-start: 2px solid #efb152;
  padding-inline-start: 12px;
  color: #b8cfdd;
}
.experience-copy .text-link {
  display: inline-block;
  color: #f4b256;
  font-size: 14px;
  padding-block: 12px;
  border-bottom: 1px solid #f4b25655;
}
.rtl .experience-copy h2 {
  line-height: 1.6;
  font-size: clamp(27px, 2.7vw, 38px);
}
.rtl .experience-caption {
  letter-spacing: 0;
  font-size: 15px;
}
.rtl .experience-copy .experience-lead {
  font-size: 18px;
  line-height: 2;
}
.about-intro {
  background: #edf3f5;
}
.about-intro h1 {
  color: #102c45;
}
.about-intro p {
  color: #536e81;
}
.case-hero .back-link {
  color: #b8d3e3;
}
.care-number {
  direction: ltr;
  display: block;
}
.about-intro h1,
.portfolio-hero h1 {
  max-width: 1000px;
  font-size: clamp(34px, 4.5vw, 66px);
  font-weight: 450;
  letter-spacing: -0.05em;
  line-height: 1.15;
}
.approach-row {
  display: grid;
  grid-template-columns: 70px 0.85fr 1.15fr;
  gap: 30px;
  align-items: start;
  padding: 35px 0;
  border-top: 1px solid #dbe5e9;
}
.approach-row > span {
  font-size: 13px;
  color: #648296;
  padding-top: 4px;
}
.approach-row h3 {
  font-size: 23px;
  font-weight: 500;
  margin: 0;
}
.approach-row p {
  margin: 0;
  color: #647787;
  max-width: 570px;
  font-size: 16px;
}
.mission-section {
  background: #eef3f5;
}
.mission-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
}
.mission-grid > div + div {
  border-inline-start: 1px solid #cddce3;
  padding-inline-start: 65px;
}
.mission-grid h2 {
  font-size: 32px;
  font-weight: 450;
  line-height: 1.25;
}
.mission-grid p {
  color: #647787;
  font-size: 16px;
}
.case-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}
.case-card {
  background: #fff;
  border: 1px solid #dce5e9;
  border-radius: 6px;
  overflow: hidden;
  transition:
    transform 0.35s,
    box-shadow 0.35s;
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.case-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 35px #0a223711;
}
.case-card-link {
  display: flex;
  flex-direction: column;
  flex: 1;
}
.case-card-image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1.6;
  background: #0a2237;
}
/* Our project photographs are composed plates with the Sun Care mark in a
   corner and a border around the edge, so they are fitted inside the frame
   rather than cropped to fill it. */
.case-card-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.8s;
}
.case-card:hover img {
  transform: scale(1.045);
}
/* The modality chip and the location sit under the photograph rather than on
   top of it: our project plates carry the Sun Care mark in a corner and an
   overlay landed on it. */
.case-card-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 2px;
}
.case-modality {
  background: #0a2237;
  color: white;
  padding: 4px 10px;
  border-radius: 3px;
  font-size: 11px;
  letter-spacing: 0.1em;
  flex: none;
}
.case-card-copy {
  padding: 25px 25px 18px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.case-card-copy small {
  color: #537387;
  font-size: 11px;
  line-height: 1.7;
}
.case-card-copy h3 {
  font-size: 21px;
  line-height: 1.4;
  font-weight: 550;
  margin: 12px 0;
  color: #102c45;
}
.case-card-copy p {
  font-size: 13px;
  color: #607384;
  line-height: 1.85;
  margin: 0 0 22px;
}
.case-link-label {
  font-size: 12px;
  color: #173e58;
  padding-top: 10px;
  margin-top: auto;
}
.case-card-note {
  font-size: 10px;
  color: #6d7e88;
  border-top: 1px solid #edf0f1;
  padding: 10px 25px;
}
.case-hero {
  padding-bottom: 55px;
}
.case-hero h1 {
  max-width: 1050px;
  font-size: clamp(32px, 4.2vw, 58px);
  font-weight: 450;
  letter-spacing: -0.045em;
  line-height: 1.14;
}
.case-hero p {
  max-width: 800px;
  font-size: 17px;
}
.back-link {
  display: inline-block;
  font-size: 12px;
  color: #557488;
  margin-bottom: 35px;
}
.case-system {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 14px;
  margin-top: 30px;
  flex-wrap: wrap;
}
.case-system > span {
  border: 1px solid #adbec9;
  padding: 3px 12px;
  border-radius: 3px;
  font-size: 11px;
}
.case-cover {
  margin-top: 0;
}
.case-cover figure {
  margin: 0;
}
.case-photo {
  width: 100%;
  height: auto;
  max-height: 72vh;
  object-fit: contain;
  background: #0a2237;
  border-radius: 6px;
}
.case-cover figcaption {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 0;
  font-size: 11px;
  color: #607786;
  line-height: 1.8;
}
.photo-credit {
  max-width: 55%;
  font-size: 10px;
}
.photo-credit a {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.case-layout {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 90px;
  align-items: start;
}
.case-facts {
  border-top: 3px solid #e8a342;
  background: #f0f5f6;
  padding: 28px;
  position: sticky;
  top: 110px;
}
.case-facts h2 {
  font-size: 17px;
  margin: 0 0 26px;
  font-weight: 600;
}
.case-facts dt {
  font-size: 11px;
  color: #6c8290;
  margin: 22px 0 5px;
}
.case-facts dd {
  font-size: 14px;
  color: #16374c;
  margin: 0;
  padding-bottom: 18px;
  border-bottom: 1px solid #dce7eb;
}
.case-facts dd:last-child {
  border: 0;
  padding: 0;
}
.story-chapter {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 20px;
  margin-bottom: 45px;
}
.chapter-number {
  font-size: 11px;
  color: #658497;
  padding-top: 7px;
}
.story-chapter h2 {
  font-size: 27px;
  line-height: 1.35;
  font-weight: 500;
  margin: 0 0 18px;
  letter-spacing: -0.025em;
}
.story-chapter p {
  font-size: 16px;
  line-height: 1.95;
  color: #5a7182;
  margin: 0;
}
.case-outcome {
  background: #0a2237;
  color: #d6e6ee;
  padding: 34px 40px;
  border-radius: 5px;
}
.case-outcome .eyebrow {
  color: #efb257;
}
.case-outcome p {
  font-size: 19px;
  line-height: 1.8;
  margin-bottom: 0;
}
.case-process {
  background: #f0f5f6;
}
.case-process h2 {
  font-size: 32px;
  font-weight: 450;
}
.case-process ol {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  padding: 0;
  list-style: none;
  counter-reset: stage;
  margin: 45px 0 0;
  gap: 22px;
}
.case-process li {
  counter-increment: stage;
  border-top: 1px solid #adc4d1;
  padding: 20px 0;
  font-size: 14px;
}
.case-process li:before {
  content: "0" counter(stage);
  display: block;
  color: #5b7e95;
  font-size: 11px;
  margin-bottom: 20px;
}
.case-next {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
}
.case-next h2 {
  font-size: clamp(24px, 2.7vw, 37px);
  line-height: 1.5;
  font-weight: 500;
}
.case-next p {
  color: #678092;
}
.rtl .case-hero h1,
.rtl .about-intro h1,
.rtl .portfolio-hero h1 {
  font-size: clamp(29px, 3.4vw, 46px);
  line-height: 1.6;
  letter-spacing: 0;
}
.rtl .story-chapter h2,
.rtl .mission-grid h2 {
  line-height: 1.65;
}
.rtl .case-card-copy p {
  font-size: 14px;
}
.rtl .case-hero p {
  line-height: 2;
}
@media (min-width: 1000px) {
  .case-grid .case-card:nth-child(3n + 2) {
    transition-delay: 60ms;
  }
  .case-grid .case-card:nth-child(3n + 3) {
    transition-delay: 120ms;
  }
}
@media (max-width: 1000px) {
  .experience-grid {
    gap: 45px;
  }
  .experience-mark {
    min-height: 350px;
  }
  .case-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .care-stage-content,
  .rtl .care-stage-content {
    padding: 35px;
  }
  .care-art {
    min-height: 440px;
  }
  .care-ring.ring-three {
    width: 330px;
    height: 330px;
  }
  .care-panel h3,
  .rtl .care-panel h3 {
    font-size: 27px;
  }
  .care-tabs button {
    padding: 22px 14px;
    font-size: 12px;
    gap: 8px;
  }
  .care-tab-number {
    display: none;
  }
  .case-layout {
    grid-template-columns: 230px minmax(0, 1fr);
    gap: 40px;
  }
  .mission-grid {
    gap: 40px;
  }
  .mission-grid > div + div {
    padding-inline-start: 35px;
  }
}
@media (max-width: 700px) {
  .care-stage {
    grid-template-columns: 1fr;
  }
  .care-art {
    min-height: 240px;
  }
  .ring-one {
    width: 130px;
    height: 130px;
  }
  .ring-two {
    width: 190px;
    height: 190px;
  }
  .care-ring.ring-three {
    width: 245px;
    height: 245px;
  }
  .care-art-word {
    font-size: 26px;
  }
  .care-orbit {
    display: none;
  }
  .care-stage-content,
  .rtl .care-stage-content {
    padding: 10px 28px 30px;
  }
  .care-panel {
    min-height: 340px;
  }
  .care-panel h3,
  .rtl .care-panel h3 {
    font-size: 28px;
  }
  .care-panel p {
    min-height: 110px;
    font-size: 14px;
  }
  .care-tabs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .care-tabs button {
    font-size: 12px;
    padding: 18px 12px;
    border-bottom: 1px solid #ffffff15;
  }
  .care-features {
    font-size: 10px;
  }
  .experience-grid {
    grid-template-columns: 1fr;
    gap: 45px;
  }
  .experience-mark {
    max-width: 350px;
    width: 100%;
    margin: auto;
    min-height: 360px;
  }
  .experience-number {
    font-size: 190px;
  }
  .experience-copy h2 {
    font-size: 33px;
  }
  .experience-copy .experience-lead {
    font-size: 17px;
  }
  .experience-principles {
    gap: 12px;
  }
  .case-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  .approach-row {
    grid-template-columns: 35px 1fr;
    gap: 15px;
  }
  .approach-row p {
    grid-column: 2;
    font-size: 15px;
  }
  .approach-row h3 {
    font-size: 22px;
  }
  .mission-grid {
    grid-template-columns: 1fr;
    gap: 35px;
  }
  .mission-grid > div + div {
    border: 0;
    border-top: 1px solid #cddce3;
    padding: 30px 0 0;
  }
  .case-cover figcaption {
    display: block;
  }
  .photo-credit {
    display: block;
    max-width: none;
    margin-top: 6px;
  }
  .case-layout {
    grid-template-columns: 1fr;
    gap: 45px;
  }
  .case-facts {
    position: static;
  }
  .case-facts dl {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 15px;
    margin: 0;
  }
  .case-facts dt,
  .case-facts dd {
    margin: 0;
    padding: 0;
    border: 0;
  }
  .story-chapter {
    grid-template-columns: 25px minmax(0, 1fr);
    gap: 12px;
  }
  .story-chapter h2 {
    font-size: 24px;
  }
  .story-chapter p {
    font-size: 15px;
  }
  .case-outcome {
    padding: 28px;
  }
  .case-outcome p {
    font-size: 17px;
  }
  .case-next {
    align-items: start;
    flex-direction: column;
  }
  .case-process ol {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .case-system {
    font-size: 13px;
  }
  .case-hero p {
    font-size: 16px;
  }
  .rtl .experience-copy .experience-lead {
    font-size: 17px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .care-showcase .care-orbit,
  .care-panel {
    animation: none !important;
  }
  .case-card,
  .case-card-image img {
    transition: none;
  }
  .case-card:hover,
  .case-card:hover img {
    transform: none;
  }
  .experience-number {
    opacity: 1;
  }
}

/* ==========================================================================
   Home header merged into the hero
   At the top of the home page the bar shares the hero's navy so the two read
   as one block; once the page scrolls it returns as the solid sticky bar.
   ========================================================================== */
body.home .header {
  background: #071a2c;
  border-bottom-color: transparent;
  box-shadow: none;
}
body.home .header:not(.is-scrolled) .nav > a,
body.home .header:not(.is-scrolled) .dropbtn {
  color: #fff;
}
/* The toggle is a white button by default, which would hide a white glyph. */
body.home .header:not(.is-scrolled) .mobile-toggle {
  background: transparent;
  border-color: #ffffff4d;
  color: #fff;
}
body.home .header:not(.is-scrolled) .mobile-toggle[aria-expanded="true"] {
  background: #ffffff1a;
}
body.home .header:not(.is-scrolled) .nav > a:hover,
body.home .header:not(.is-scrolled) .dropbtn:hover {
  color: var(--orange);
}
body.home .header:not(.is-scrolled) .lang-btn {
  border-color: #ffffff4d;
  color: #fff;
}
body.home .header:not(.is-scrolled) .lang-btn:hover {
  background: #ffffff1a;
}
body.home .header:not(.is-scrolled) .request-btn {
  color: var(--deep);
}
body.home .header:not(.is-scrolled) .logo-mark-color {
  display: none;
}
body.home .header:not(.is-scrolled) .logo-mark-inverse {
  display: block;
}
/* Returning bar: solid, and it drops in rather than simply recolouring. */
body.home .header.is-scrolled {
  background: rgba(255, 255, 255, 0.96);
  border-bottom-color: var(--line);
  box-shadow: 0 8px 35px #071a2c12;
  animation: header-return 0.42s cubic-bezier(0.22, 1, 0.36, 1) both;
}
@keyframes header-return {
  from {
    transform: translateY(-102%);
  }
  to {
    transform: translateY(0);
  }
}
/* The open mobile panel always needs its own surface. */
body.home .header:not(.is-scrolled) .nav.open {
  background: #071a2c;
  border-top: 1px solid #ffffff1f;
}

/* ==========================================================================
   Field-service film in the on-site support section
   Reuses the same clip as the maintenance showcase, inside the existing
   field-vehicle-wrap card instead of the old static field-vehicle.png.
   ========================================================================== */
.field-vehicle-wrap .care-video {
  display: block;
  width: 100%;
  aspect-ratio: 1920 / 1000;
  object-fit: contain;
  border-radius: 5px;
  background: #e7f2f7;
}

/* ==========================================================================
   Field-service film in the maintenance showcase
   ========================================================================== */
/* The CT film is rendered on a near-white ground, so the media half of the
   panel is that same near-white and the scanner reads as a product shot
   floating in the card rather than a video pasted onto navy. */
.care-film {
  background: #f9f9fa;
  display: grid;
  place-items: center;
  padding: 0;
  border-inline-end: 1px solid #dfe6ea;
}
.care-video {
  display: block;
  width: 100%;
}
/* The generator watermark runs across the bottom of the source frame. Nothing
   in the scanner ever reaches below row 1335 of 1440, so the frame is clipped
   to 2560x1338 — keep this in step with CT_VISIBLE_HEIGHT in make-assets.mjs. */
.care-ct-frame {
  width: 100%;
  aspect-ratio: 2560 / 1338;
  overflow: hidden;
}
.care-ct-frame .care-video {
  height: auto;
  background: #f9f9fa;
}
.care-film-tag {
  position: absolute;
  inset-inline-start: 22px;
  bottom: 20px;
  z-index: 2;
  background: #ffffffd9;
  color: #2c4356;
  border: 1px solid #dbe3e8;
  border-radius: 3px;
  padding: 7px 13px;
  font-size: 11px;
  letter-spacing: 0.09em;
  backdrop-filter: blur(4px);
}
/* --- Showcase polish -------------------------------------------------------
   A crisp split: near-white product side, deep navy editorial side. */
.care-showcase {
  border: 1px solid #dbe3e8;
  box-shadow:
    0 1px 2px #0b203d0a,
    0 26px 60px #0b203d1a;
}
.care-stage {
  align-items: stretch;
}
.care-stage-content {
  padding-block: 48px;
}
.care-panel h3 {
  margin-block: 18px 16px;
}
/* A hairline above the feature list keeps the copy from floating. */
.care-features {
  letter-spacing: 0.02em;
}
/* Tab bar: clearer active state, with the orange rule on top of the active
   tab rather than only under it. */
.care-tabs button {
  transition:
    background 0.35s,
    color 0.35s;
}
.care-tabs button:hover {
  background: #ffffff0d;
  color: #dcebf5;
}
.care-tabs button[aria-selected="true"] {
  background: #ffffff12;
}
.care-tab-number {
  transition: color 0.35s;
}
.care-tabs button[aria-selected="true"] .care-tab-number {
  color: #f4a93d;
}
.care-progress {
  height: 2px;
  bottom: auto;
  top: 0;
}

/* ==========================================================================
   Services page
   ========================================================================== */
.services-hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 60px;
  margin-top: 38px;
  padding-top: 30px;
  /* The page hero is deep navy, so these sit on a dark ground. */
  border-top: 1px solid #ffffff2e;
}
.services-hero-facts div {
  display: grid;
  gap: 5px;
  max-width: 230px;
}
.services-hero-facts strong {
  font-size: 2rem;
  font-weight: 400;
  letter-spacing: -0.03em;
  color: #fff;
  line-height: 1.1;
}
.services-hero-facts span {
  font-size: 0.78rem;
  line-height: 1.7;
  color: #a6bccb;
}

.svc-grid {
  display: grid;
  /* min() keeps the track from forcing a horizontal scrollbar on narrow phones. */
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: 26px;
}
.svc-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 32px 30px 26px;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  transition:
    transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.45s,
    border-color 0.45s;
}
/* Orange rule that draws itself across the top on hover. */
.svc-card::before {
  content: "";
  position: absolute;
  inset-block-start: 0;
  inset-inline: 0;
  height: 3px;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: inline-start;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}
.svc-card:hover,
.svc-card:focus-within {
  transform: translateY(-6px);
  box-shadow: 0 22px 50px #0b203d14;
  border-color: #cfdde4;
}
.svc-card:hover::before,
.svc-card:focus-within::before {
  transform: scaleX(1);
}
.svc-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 22px;
}
.svc-index {
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  font-weight: 650;
  color: #a5794a;
}
.svc-icon {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #f2f6f8;
  color: var(--navy);
  transition:
    background 0.45s,
    color 0.45s,
    transform 0.45s;
}
.svc-icon svg {
  width: 22px;
  height: 22px;
}
.svc-card:hover .svc-icon,
.svc-card:focus-within .svc-icon {
  background: var(--navy);
  color: #fff;
  transform: rotate(-6deg) scale(1.06);
}
.svc-card h3 {
  font-size: 1.18rem;
  font-weight: 550;
  line-height: 1.4;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}
.svc-card > p {
  font-size: 0.89rem;
  line-height: 1.85;
  color: #566b7b;
  margin-bottom: 20px;
}
.svc-links {
  display: grid;
  margin-top: auto;
  border-top: 1px solid var(--line);
}
.svc-links a {
  font-size: 0.83rem;
  font-weight: 550;
  color: var(--navy);
  padding: 12px 0;
  border-bottom: 1px solid #eef2f4;
  display: flex;
  align-items: center;
  gap: 10px;
  transition:
    padding-inline-start 0.3s,
    color 0.3s;
}
.svc-links a:last-child {
  border-bottom: 0;
}
.svc-links a::after {
  content: "→";
  margin-inline-start: auto;
  color: #a5794a;
  transition: transform 0.3s;
}
.rtl .svc-links a::after {
  content: "←";
}
.svc-links a:hover {
  color: #b4711b;
  padding-inline-start: 8px;
}
.svc-links a:hover::after {
  transform: translateX(3px);
}
.rtl .svc-links a:hover::after {
  transform: translateX(-3px);
}

.lifecycle-section {
  background: var(--deep);
  color: #fff;
}
.lifecycle-section .section-head h2,
.lifecycle-section .eyebrow {
  color: #fff;
}
.lifecycle-section .eyebrow {
  color: #edb767;
}
.lifecycle-section .section-head p {
  color: #adc2d1;
}
.lifecycle {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0;
  margin: 0;
  padding: 0;
  position: relative;
}
.lifecycle-step {
  position: relative;
  padding: 40px 24px 0 0;
  border-top: 1px solid #ffffff2b;
}
.rtl .lifecycle-step {
  padding: 40px 0 0 24px;
}
.lifecycle-dot {
  position: absolute;
  top: -6px;
  inset-inline-start: 0;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 5px #f4a93d24;
  transform: scale(0);
  transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.lifecycle-step.is-visible .lifecycle-dot,
.no-js .lifecycle-dot {
  transform: scale(1);
}
.lifecycle-index {
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  color: #86a3b8;
}
.lifecycle-step h3 {
  font-size: 1.05rem;
  font-weight: 550;
  margin: 10px 0 10px;
  color: #fff;
  line-height: 1.45;
}
.lifecycle-step p {
  font-size: 0.83rem;
  line-height: 1.85;
  color: #a9becd;
}

.coverage-section {
  background: var(--soft);
}
.modality-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 164px), 1fr));
  gap: 16px;
}
.modality-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 24px 22px;
  display: grid;
  gap: 7px;
  transition:
    transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.4s,
    box-shadow 0.4s;
}
.modality-card:hover {
  transform: translateY(-4px);
  border-color: #d1a260;
  box-shadow: 0 16px 36px #0b203d12;
}
.modality-card strong {
  font-size: 1.12rem;
  font-weight: 600;
  color: var(--navy);
  letter-spacing: -0.01em;
}
.modality-card span {
  font-size: 0.76rem;
  line-height: 1.7;
  color: #6b7f8e;
}

.services-cta-section {
  padding-block: 78px;
  background: #fff;
  border-top: 1px solid var(--line);
}
.services-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 34px;
}
.services-cta h2 {
  font-size: clamp(1.6rem, 2.4vw, 2.2rem);
  font-weight: 500;
  line-height: 1.28;
  letter-spacing: -0.035em;
  margin-top: 10px;
}
.rtl .services-cta h2 {
  line-height: 1.6;
  letter-spacing: 0;
}

/* Staggered arrival for the card grids. */
.svc-card.reveal-pending,
.modality-card.reveal-pending,
.lifecycle-step.reveal-pending {
  opacity: 0;
  translate: 0 22px;
}
.svc-card.reveal,
.modality-card.reveal,
.lifecycle-step.reveal {
  transition:
    opacity 0.7s ease,
    translate 0.7s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.45s,
    border-color 0.45s;
}
.svc-card.is-visible,
.modality-card.is-visible,
.lifecycle-step.is-visible {
  opacity: 1;
  translate: 0 0;
}
.svc-grid > :nth-child(2),
.modality-grid > :nth-child(2),
.lifecycle > :nth-child(2) {
  transition-delay: 0.07s;
}
.svc-grid > :nth-child(3),
.modality-grid > :nth-child(3),
.lifecycle > :nth-child(3) {
  transition-delay: 0.14s;
}
.svc-grid > :nth-child(4),
.modality-grid > :nth-child(4),
.lifecycle > :nth-child(4) {
  transition-delay: 0.21s;
}
.svc-grid > :nth-child(5),
.modality-grid > :nth-child(5),
.lifecycle > :nth-child(5) {
  transition-delay: 0.28s;
}
.svc-grid > :nth-child(6),
.modality-grid > :nth-child(6) {
  transition-delay: 0.35s;
}
.modality-grid > :nth-child(7) {
  transition-delay: 0.42s;
}

@media (max-width: 1150px) {
  .lifecycle {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 34px 0;
  }
}
@media (max-width: 760px) {
  .lifecycle {
    grid-template-columns: 1fr;
    gap: 28px 0;
  }
  .services-hero-facts {
    gap: 20px 34px;
  }
  .services-hero-facts strong {
    font-size: 1.6rem;
  }
  .svc-card {
    padding: 26px 22px 20px;
  }
}

/* ==========================================================================
   Scrolling strips (brands, equipment types)
   Content travels right to left in both languages. The track is forced LTR so
   the second group always follows the first; each card restores its own
   reading direction.
   ========================================================================== */
/* LTR on the container, not just the track: inside an RTL page a track wider
   than its box overflows to the left, which would start the loop mid-way and
   leave an empty stretch before it wraps. */
.marquee {
  position: relative;
  overflow: hidden;
  direction: ltr;
  padding-block: 8px;
  -webkit-mask-image: linear-gradient(
    to right,
    transparent 0,
    #000 7%,
    #000 93%,
    transparent 100%
  );
  mask-image: linear-gradient(
    to right,
    transparent 0,
    #000 7%,
    #000 93%,
    transparent 100%
  );
}
.marquee-track {
  display: flex;
  width: max-content;
  direction: ltr;
  animation: marquee-slide 32s linear infinite;
}
.marquee-modality .marquee-track {
  animation-duration: 46s;
}
.marquee:hover .marquee-track {
  animation-play-state: paused;
}
@keyframes marquee-slide {
  from {
    transform: translate3d(0, 0, 0);
  }
  to {
    transform: translate3d(-50%, 0, 0);
  }
}
.marquee-group {
  display: flex;
  flex: none;
  gap: 16px;
  padding-inline-end: 16px;
}
.rtl .marquee-group > *,
.rtl .marquee .sr-only {
  direction: rtl;
}
.marquee .brandbox {
  flex: none;
  width: 240px;
  display: grid;
  place-items: center;
  min-height: 84px;
  padding: 18px 22px;
  font-size: 1.12rem;
  letter-spacing: 0.01em;
}
.marquee .modality-card {
  flex: none;
  width: 230px;
}
@media (max-width: 600px) {
  .marquee .brandbox {
    width: 180px;
    min-height: 72px;
  }
  .marquee .modality-card {
    width: 190px;
  }
}
/* Without motion the strip becomes a static wrapped row of the originals. */
@media (prefers-reduced-motion: reduce) {
  .marquee {
    -webkit-mask-image: none;
    mask-image: none;
  }
  .rtl .marquee {
    direction: rtl;
  }
  .marquee-track {
    animation: none;
    width: auto;
  }
  .marquee-group {
    flex-wrap: wrap;
    padding-inline-end: 0;
  }
  .marquee-group.is-clone,
  .marquee .is-repeat {
    display: none;
  }
}

/* ==========================================================================
   Case-study reference imagery
   ========================================================================== */
.case-gallery {
  background: #f2f5f5;
  border-top: 1px solid #e2eaea;
  padding-block: 70px;
}
.case-gallery h2 {
  font-size: clamp(1.5rem, 2.2vw, 2rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  margin: 10px 0 14px;
}
.case-gallery-intro {
  max-width: 640px;
  font-size: 0.92rem;
  line-height: 1.9;
  color: #4d6273;
  margin-bottom: 34px;
}
.case-gallery-grid {
  display: grid;
  /* Wide columns: these plates carry readable console screens and labels, so
     four to a row made them too small to look at. */
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 430px), 1fr));
  gap: 30px;
  align-items: start;
}
.case-gallery figure {
  margin: 0;
}
.case-gallery img {
  width: 100%;
  height: auto;
  border-radius: 6px;
  display: block;
}
.case-gallery figcaption {
  margin-top: 12px;
  font-size: 0.8rem;
  line-height: 1.7;
  color: #5b6f7e;
  display: grid;
  gap: 4px;
}

/* ==========================================================================
   Foundations
   ========================================================================== */
/* Type scales from the visitor's own browser setting rather than a fixed 16px. */
body {
  font-size: 1rem;
}
/* Nothing on the site is set below 11px, and every link or button that can be
   tapped is at least 44px tall on touch layouts. */
.photo-credit,
.photo-credit a,
.case-card-note,
.image-note,
.selector-index,
.care-tab-number,
.lifecycle-index,
.svc-index {
  font-size: max(0.7rem, 11px);
}
.footer-links a {
  min-height: 44px;
  display: flex;
  align-items: center;
  padding: 0;
}
.footer-text a {
  display: inline-block;
  padding-block: 10px;
}
.footer-text a + br {
  display: none;
}
.back-link,
.text-link,
.case-link-label,
.case-cta,
.qr-action {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}
.hero-tags span {
  animation: hero-copy-in 0.6s ease both;
}
.hero-tags span:nth-child(2) {
  animation-delay: 0.05s;
}
.hero-tags span:nth-child(3) {
  animation-delay: 0.1s;
}
.hero-tags span:nth-child(4) {
  animation-delay: 0.15s;
}
.hero-tags span:nth-child(5) {
  animation-delay: 0.2s;
}
.hero-tags span:nth-child(6) {
  animation-delay: 0.25s;
}
.field-lead {
  font-size: 0.95rem;
}
/* Drawn arrow that replaces the ↗/↖ characters (iOS shows those as emoji).
   Sized in em so it scales with the surrounding text and takes its colour. */
.i-arrow {
  display: inline-block;
  width: 0.82em;
  height: 0.82em;
  vertical-align: -0.08em;
  flex: none;
  overflow: visible;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.selector-arrow,
.case-arrow {
  line-height: 1;
}
.selector-arrow .i-arrow,
.case-arrow .i-arrow {
  vertical-align: middle;
}
/* The service list uses the same arrow in both languages; mirror it in Arabic
   so it points along the reading direction, selected or not. */
.rtl .service-selector .selector-arrow {
  transform: scaleX(-1);
}
.rtl .service-selector button[aria-selected="true"] .selector-arrow {
  transform: scaleX(-1) rotate(45deg);
}
.feature-box-spaced {
  margin-top: 26px;
}

/* ==========================================================================
   Contact launcher (replaces the keyword bot)
   ========================================================================== */
.contact-fab {
  transition:
    transform 0.3s,
    background 0.3s,
    box-shadow 0.3s;
}
.contact-fab.is-open {
  background: var(--deep);
  color: #fff;
  transform: rotate(90deg);
}
.contact-sheet {
  position: fixed;
  inset-inline-end: 24px;
  bottom: 90px;
  z-index: 70;
  width: 340px;
  max-width: calc(100vw - 32px);
  max-height: calc(100dvh - 120px);
  overflow: auto;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: 0 24px 60px #0b203d33;
  padding: 18px;
  animation: sheet-in 0.32s cubic-bezier(0.22, 1, 0.36, 1) both;
}
@keyframes sheet-in {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.contact-sheet-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
}
.contact-sheet-head b {
  display: block;
  color: var(--navy);
  font-size: 1.02rem;
  font-weight: 600;
}
.contact-sheet-head > div > span {
  display: block;
  font-size: 0.8rem;
  color: #5f7382;
  line-height: 1.6;
  margin-top: 2px;
}
.contact-sheet-head button {
  flex: none;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
  color: var(--navy);
  font-size: 22px;
  line-height: 1;
}
.contact-sheet-head button:hover {
  background: var(--soft);
}
.contact-options {
  display: grid;
  gap: 8px;
}
.contact-option {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 14px;
  min-height: 60px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--navy);
  transition:
    border-color 0.25s,
    background 0.25s,
    transform 0.25s;
}
.contact-option:hover {
  border-color: #d1a260;
  background: #fffaf2;
  transform: translateX(2px);
}
.rtl .contact-option:hover {
  transform: translateX(-2px);
}
.contact-option-icon {
  flex: none;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #eef3f6;
  color: var(--navy);
}
.contact-option-icon svg {
  width: 20px;
  height: 20px;
}
.contact-option-text {
  display: grid;
  gap: 1px;
  min-width: 0;
}
.contact-option-text b {
  font-size: 0.92rem;
  font-weight: 600;
}
.contact-option-text span {
  font-size: 0.78rem;
  color: #62768a;
  overflow-wrap: anywhere;
}
.contact-sheet-cta {
  width: 100%;
  margin-top: 12px;
  min-height: 48px;
}

/* ==========================================================================
   Service pages
   ========================================================================== */
.service-hero {
  padding-block: 70px 64px;
}
.service-hero .eyebrow {
  color: #edb767;
}
.svc-hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 56px;
  margin-top: 34px;
  padding-top: 28px;
  border-top: 1px solid #ffffff2e;
}
.svc-hero-facts div {
  display: grid;
  gap: 5px;
  max-width: 250px;
}
.svc-hero-facts strong {
  font-size: 1.7rem;
  font-weight: 400;
  letter-spacing: -0.03em;
  color: #fff;
  line-height: 1.15;
  font-variant-numeric: tabular-nums;
}
.svc-hero-facts span {
  font-size: 0.78rem;
  line-height: 1.7;
  color: #a6bccb;
}
.editorial-section {
  padding-block: 80px;
  background: #fff;
}
.editorial-band {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 64px;
  align-items: center;
}
.editorial-media {
  margin: 0;
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  background: #0a2237;
  box-shadow: 0 24px 60px #0b203d14;
}
/* Fitted, not cropped: see the note on .case-card-image img. */
.editorial-media img {
  width: 100%;
  height: auto;
  display: block;
}
.editorial-media figcaption {
  position: absolute;
  inset-inline-start: 14px;
  bottom: 14px;
  background: #071a2cd9;
  color: #dbe9f2;
  border-radius: 3px;
  padding: 6px 11px;
  font-size: max(0.68rem, 11px);
  letter-spacing: 0.04em;
}
.editorial-copy h2 {
  font-size: clamp(1.7rem, 2.6vw, 2.4rem);
  font-weight: 500;
  line-height: 1.22;
  letter-spacing: -0.035em;
  margin: 12px 0 18px;
}
.rtl .editorial-copy h2 {
  line-height: 1.6;
  letter-spacing: 0;
}
.editorial-copy > p {
  font-size: 0.97rem;
  line-height: 1.9;
  color: #4d6273;
  margin-bottom: 24px;
}
.deliverables {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}
.deliverables li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.9rem;
  line-height: 1.65;
  color: var(--navy);
}
.deliverables li::before {
  content: "";
  flex: none;
  width: 20px;
  height: 20px;
  margin-top: 2px;
  border-radius: 50%;
  background:
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23102c45' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'><path d='m6 12 4 4 8-8'/></svg>")
      center / 12px no-repeat,
    #fbe9cf;
}
.steps-section {
  background: var(--soft);
  border-top: 1px solid #e6edf0;
}
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
  counter-reset: step;
}
.steps-5 {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}
.steps li {
  counter-increment: step;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 26px 24px 22px;
  position: relative;
  overflow: hidden;
  transition:
    transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.4s,
    border-color 0.4s;
}
.steps li::before {
  content: "0" counter(step);
  display: block;
  font-size: max(0.72rem, 11px);
  letter-spacing: 0.16em;
  font-weight: 650;
  color: #a5794a;
  margin-bottom: 16px;
}
.steps li::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  top: 0;
  height: 3px;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: inline-start;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}
.steps li:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 40px #0b203d12;
  border-color: #cfdde4;
}
.steps li:hover::after {
  transform: scaleX(1);
}
.steps h3 {
  font-size: 1.02rem;
  font-weight: 600;
  margin-bottom: 8px;
  line-height: 1.4;
}
.steps p {
  font-size: 0.85rem;
  line-height: 1.8;
  color: #566b7b;
  margin: 0;
}
.related-section {
  background: #f3f6f7;
}
.case-grid-1,
.case-grid-2 {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 400px));
}
.related-section .section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
/* Cards on the service pages: real icons, motion on hover. */
.card .icon {
  background: #f2f6f8;
  border-color: transparent;
  color: var(--navy);
  border-radius: 50%;
  transition:
    background 0.4s,
    color 0.4s,
    transform 0.4s;
}
.card .icon svg {
  width: 22px;
  height: 22px;
}
.card:hover .icon {
  background: var(--navy);
  color: #fff;
  transform: rotate(-6deg) scale(1.06);
}
.card {
  overflow: hidden;
}
.card::before {
  content: "";
  position: absolute;
  inset-inline: 0;
  top: 0;
  height: 3px;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: inline-start;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}
.card:hover::before {
  transform: scaleX(1);
}
.feature-box .eyebrow {
  margin-bottom: 8px;
}
.feature-box h2 {
  font-size: 1.45rem;
  font-weight: 550;
}
.brandbox {
  color: var(--navy);
  background: #fff;
  transition:
    transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.4s,
    box-shadow 0.4s;
}
.brandbox:hover {
  transform: translateY(-4px);
  border-color: #d1a260;
  box-shadow: 0 16px 36px #0b203d12;
}
.tabs .tab {
  min-height: 44px;
  transition:
    background 0.3s,
    color 0.3s,
    border-color 0.3s,
    transform 0.3s;
}
.tabs .tab:hover:not(.active) {
  border-color: #b9c8d4;
  transform: translateY(-1px);
}
.tab-panel {
  background: #fff;
  border-inline-start-width: 3px;
  box-shadow: 0 14px 40px #0b203d0a;
}
.tab-panel h2 {
  font-size: 1.35rem;
  font-weight: 550;
}
/* Stagger */
.cards > :nth-child(2),
.steps > :nth-child(2),
.deliverables > :nth-child(2) {
  transition-delay: 0.07s;
}
.cards > :nth-child(3),
.steps > :nth-child(3),
.deliverables > :nth-child(3) {
  transition-delay: 0.14s;
}
.steps > :nth-child(4),
.deliverables > :nth-child(4) {
  transition-delay: 0.21s;
}
.steps > :nth-child(5) {
  transition-delay: 0.28s;
}
@media (max-width: 1150px) {
  .steps,
  .steps-5 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 980px) {
  .editorial-band {
    grid-template-columns: 1fr;
    gap: 34px;
  }
  .editorial-section {
    padding-block: 60px;
  }
}
@media (max-width: 600px) {
  .steps,
  .steps-5 {
    grid-template-columns: 1fr;
  }
  .svc-hero-facts {
    gap: 18px 30px;
  }
  .svc-hero-facts strong {
    font-size: 1.4rem;
  }
  .contact-sheet {
    inset-inline: 16px;
    width: auto;
    bottom: 86px;
  }
}

/* ==========================================================================
   Actionable contact details
   ========================================================================== */
.qr-hint {
  font-size: 0.78rem;
  color: #66798a;
  margin-top: -6px;
}
.qr-action {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  margin-top: 4px;
  font-size: 0.8rem;
  font-weight: 600;
  color: #14507d;
}
.qr-action:hover {
  color: #b4711b;
}
#qrOpen {
  margin-bottom: 10px;
}

/* ==========================================================================
   Faster hero entrance (1.3x)
   ========================================================================== */
.hero-copy {
  animation-duration: 0.77s;
}

/* Direct language switch: a globe and the destination language. */
.nav > #langBtn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 44px;
  padding: 9px 16px;
  border: 1px solid #d8e3e9;
  border-radius: 999px;
  background: #f4f7f9;
  color: #173d56;
  box-shadow: none;
  line-height: 1.4;
  white-space: nowrap;
  transition:
    background 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease;
}
#langBtn .language-icon {
  width: 19px;
  height: 19px;
  flex: 0 0 19px;
  opacity: 0.85;
}
#langBtn .language-label {
  font-size: 13px;
  font-weight: 600;
}
#langBtn[lang="en"] .language-label {
  font-family: SunSans, sans-serif;
}
#langBtn[lang="ar"] .language-label {
  font-family: SunArabic, sans-serif;
}
.nav > #langBtn:hover {
  background: #fff4e2;
  border-color: #e3bc80;
  color: #825111;
}
body.home .header:not(.is-scrolled) #langBtn {
  background: #ffffff08;
  color: #edf5fa;
  border-color: #ffffff30;
}
body.home .header:not(.is-scrolled) #langBtn:hover {
  background: #ffffff14;
  border-color: #eeb45d;
  color: #ffd18e;
}
@media (max-width: 980px) {
  .nav > #langBtn {
    width: fit-content;
    min-width: 112px;
    margin-block: 8px;
  }
}
.hero-bottom {
  animation-duration: 0.92s;
}

@media (max-width: 980px) {
  .care-film {
    padding: 14px;
  }
  .care-film-tag {
    inset-inline-start: 22px;
    bottom: 30px;
  }
}
@media (prefers-reduced-motion: reduce) {
  body.home .header.is-scrolled {
    animation: none;
  }
}

/* ==========================================================================
   Project photography
   ========================================================================== */
/* Galleries of our own work on the service pages and the previous-work page,
   using the same figure treatment as a case study. */
.work-gallery .eyebrow {
  margin-bottom: 14px;
}
.work-gallery h2 {
  margin: 0 0 14px;
}
.portfolio-aside-note {
  margin: 52px 0 18px;
  color: #5b6f7e;
  max-width: 62ch;
}

/* ==========================================================================
   Customer portal
   ========================================================================== */
/* Contact page: the portal sits above the QR cards as a full-width entry
   point, since it is the one channel a customer keeps coming back to. */
.portal-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin: 26px 0 0;
  padding: 20px 22px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fbfcfd;
  transition:
    border-color 0.2s ease,
    background 0.2s ease;
}
.portal-card:hover {
  border-color: #f0c98a;
  background: #fff9f0;
}
.portal-card > svg {
  width: 26px;
  height: 26px;
  flex: 0 0 26px;
  margin-top: 2px;
  color: var(--orange);
}
.rtl .portal-card > svg {
  transform: scaleX(-1);
}
.portal-card > span {
  display: grid;
  gap: 5px;
}
.portal-card strong {
  font-size: 1rem;
}
.portal-card span span {
  color: #5b6f7e;
  line-height: 1.7;
}
.portal-card .qr-action {
  color: #955710;
  font-weight: 600;
}

/* ==========================================================================
   Modality slider behind the service panel
   ========================================================================== */
/* The four modalities cross-fade behind the service detail card, each one
   drifting slowly while it is shown. These are full-bleed concept renders with
   no logo or border, so unlike the project photographs they can be cropped to
   fill and scaled without losing anything. */
.service-flash {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}
.service-flash-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.6s ease;
}
.service-flash-slide.is-active {
  opacity: 1;
}
.service-flash-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.03);
  transition: transform 7s ease;
}
.service-flash-slide.is-active img {
  transform: scale(1.1);
}
/* The card's copy sits on this, so the image is dimmed enough to read over and
   darkest where the text actually is. */
.service-flash-scrim {
  position: absolute;
  inset: 0;
  /* Heaviest along the inline-start edge and the bottom, where the heading,
     the paragraph and the footer line sit; the far corner stays light so the
     scanner reads clearly. Deliberately thin: the alphas are set as low as the
     4.5:1 contrast floor for the body copy allows, measured on all four slides
     in both writing directions. Lighten further and the paragraph fails. */
  background:
    linear-gradient(
      100deg,
      #061829eb 0%,
      #071a2cdc 34%,
      #071a2cb0 68%,
      #071a2c7d 100%
    ),
    linear-gradient(180deg, #071a2c5c 0%, transparent 34%, #061829cc 100%);
}
.rtl .service-flash-scrim {
  background:
    linear-gradient(
      -100deg,
      #061829eb 0%,
      #071a2cdc 34%,
      #071a2cb0 68%,
      #071a2c7d 100%
    ),
    linear-gradient(180deg, #071a2c5c 0%, transparent 34%, #061829cc 100%);
}
.service-content > .service-detail {
  z-index: 1;
}
@media (prefers-reduced-motion: reduce) {
  .service-flash-slide,
  .service-flash-slide img {
    transition: none;
  }
  .service-flash-slide.is-active img {
    transform: scale(1.03);
  }
}

/* ==========================================================================
   Modality flash card
   ========================================================================== */
/* A slow cross-fade between one photograph per modality, directly under the
   hero. The photographs are composed plates, so they are fitted rather than
   cropped and there is no Ken Burns zoom — a zoom would crop the plate border
   and the Sun Care mark off the edges mid-animation. */
.flash-card {
  border-radius: 8px;
  overflow: hidden;
  background: #0a2237;
  box-shadow: 0 24px 60px #0b203d1f;
}
.flash-stage {
  position: relative;
  aspect-ratio: 16 / 9;
}
.flash-slide {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  transition: opacity 1.4s ease;
}
.flash-slide.is-active {
  opacity: 1;
}
.flash-slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.flash-bar {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  padding: 20px 26px 22px;
  border-top: 1px solid #ffffff12;
}
.flash-caption .eyebrow {
  color: var(--orange);
  margin-bottom: 6px;
}
.flash-names {
  display: block;
  position: relative;
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  font-weight: 500;
  line-height: 1.2;
  color: #fff;
  /* The names are stacked so the bar keeps the height of the longest one and
     nothing shifts as they change. */
  display: grid;
}
.flash-name {
  grid-area: 1 / 1;
  opacity: 0;
  transition: opacity 0.5s ease;
}
.flash-name.is-active {
  opacity: 1;
}
.flash-dots {
  display: flex;
  gap: 8px;
  padding-bottom: 10px;
}
.flash-dot {
  width: 26px;
  height: 3px;
  padding: 0;
  border: 0;
  border-radius: 2px;
  background: #ffffff59;
  cursor: pointer;
  transition:
    background 0.3s ease,
    width 0.3s ease;
}
.flash-dot.is-active {
  background: var(--orange);
  width: 48px;
}
.flash-dot:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 4px;
}
@media (max-width: 640px) {
  .flash-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding: 16px 18px 18px;
  }
  .flash-dots {
    padding-bottom: 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  .flash-slide,
  .flash-name {
    transition: none;
  }
}

/* A pointer from one service page to a neighbouring one. It borrows the call
   to action's layout but is deliberately not a .services-cta-section, so each
   page still ends on a single primary call. */
.cross-link-section {
  padding-block: 62px;
  background: var(--soft);
  border-top: 1px solid var(--line);
}
.cross-link-section .services-cta p {
  color: #5b6f7e;
  margin: 10px 0 0;
  max-width: 56ch;
  line-height: 1.7;
}
