:root {
  --navy: #071a24;
  --cyan: #74ddec;
  --mint: #8dedcc;
  --ink: #f1fbfe;
  --cutTop: 58.5%;
  --cutBottom: 43%;
  --ease: cubic-bezier(0.22, 0.66, 0.3, 1);
}
* {
  box-sizing: border-box;
}
html,
body {
  margin: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}
body {
  background: var(--navy);
  color: var(--ink);
  font-family:
    Inter,
    system-ui,
    -apple-system,
    "Segoe UI",
    Arial,
    sans-serif;
  -webkit-font-smoothing: antialiased;
}
button {
  font: inherit;
  color: inherit;
  cursor: pointer;
}
a {
  color: inherit;
  text-decoration: none;
}
button:focus-visible,
a:focus-visible {
  outline: 2px solid #c1f9ff;
  outline-offset: 3px;
}
.hero,
.hero * {
  -webkit-user-select: none;
  user-select: none;
}
.app {
  height: 100vh;
  height: 100dvh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  position: relative;
}
.topbar {
  height: 76px;
  position: relative;
  flex: none;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(18px, 3.2vw, 56px);
  background: linear-gradient(180deg, #1b3040, #101f2b);
  border-bottom: 1px solid #38515d;
  box-shadow:
    inset 0 1px 0 #c5e2ee20,
    0 4px 12px #020d1840;
  pointer-events: none;
}
.topbar > * {
  pointer-events: auto;
}
.brand-group {
  display: flex;
  align-items: center;
  gap: 18px;
}
.brand {
  font-weight: 720;
  font-size: clamp(16px, 1.52vw, 22px);
  letter-spacing: -0.035em;
  white-space: nowrap;
  display: inline-flex;
  gap: 10px;
  align-items: center;
  text-shadow: 0 2px 12px #061622bb;
}
.symbol {
  width: 31px;
  height: 31px;
  border-radius: 50%;
  position: relative;
  display: inline-block;
  flex: none;
  background: conic-gradient(
    #20b44b 0 66deg,
    #ead22a 66deg 120deg,
    #ec702d 120deg 180deg,
    #d3293c 180deg 235deg,
    #1253d0 235deg 295deg,
    #0095ba 295deg 360deg
  );
  transform: rotate(-24deg);
  box-shadow: 0 2px 8px #00162280;
}
.symbol:after {
  content: "";
  position: absolute;
  inset: 9px;
  border-radius: 50%;
  background: #081d29;
}
.menu-trigger,
.close-button {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  flex: none;
  background: linear-gradient(
    145deg,
    rgba(65, 112, 127, 0.4),
    rgba(8, 27, 41, 0.55)
  );
  border: 1px solid rgba(199, 228, 237, 0.48);
  border-radius: 50%;
  backdrop-filter: blur(12px);
  box-shadow:
    inset 0 1px 0 #ffffff18,
    0 4px 18px #020b1650;
  transition:
    border-color 0.25s,
    background 0.25s;
}
.menu-trigger:hover,
.close-button:hover {
  border-color: #acf0f3;
  background: rgba(44, 95, 112, 0.7);
}
.menu-trigger svg,
.close-button svg {
  display: block;
  width: 20px;
  height: 20px;
  stroke: #edf9ff;
  stroke-width: 1.75;
  stroke-linecap: round;
  fill: none;
}
.language {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  font-weight: 650;
}
.language [data-lang] {
  border: 0;
  background: none;
  padding: 6px 0;
  color: #bfdae4;
}
.language [data-lang].active {
  color: #f5ffff;
}
.language span {
  color: #91b4c2;
}
.hero {
  position: relative;
  flex: 1;
  min-height: 0;
  overflow: hidden;
  background: #071a24;
  isolation: isolate;
}
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.half {
  position: absolute;
  inset: 0;
  isolation: isolate;
  display: block;
  cursor: default;
  overflow: hidden;
  will-change: clip-path;
}
.industry {
  clip-path: polygon(0 0, var(--cutTop) 0, var(--cutBottom) 100%, 0 100%);
  z-index: 2;
  --accent: var(--cyan);
}
.medical {
  clip-path: polygon(var(--cutTop) 0, 100% 0, 100% 100%, var(--cutBottom) 100%);
  z-index: 1;
  --accent: var(--mint);
}
.photo {
  position: absolute;
  inset: 0;
  z-index: -2;
  pointer-events: none;
}
.photo picture {
  display: block;
  position: absolute;
  inset: 0;
}
.photo img {
  position: absolute;
  top: 0;
  height: 100%;
  width: 76%;
  object-fit: cover;
  filter: saturate(0.94);
  transition:
    transform 1.02s var(--ease),
    filter 1.02s var(--ease);
  will-change: transform;
}
.industry .photo img {
  left: 0;
  object-position: 52% center;
  transform-origin: 28% 52%;
}
.medical .photo img {
  right: 0;
  object-position: 55% center;
  transform-origin: 73% 48%;
}
.hero.active-industry .industry .photo img {
  transform: scale(1.067) translateX(0.6%);
  filter: saturate(1.02);
}
.hero.active-medical .medical .photo img {
  transform: scale(1.067) translateX(-0.6%);
  filter: saturate(1.02);
}
.shade {
  position: absolute;
  z-index: -1;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    #06182633 0%,
    transparent 33%,
    #0615233a 57%,
    #04121fed 100%
  );
}
.copy {
  position: absolute;
  z-index: 3;
  bottom: clamp(35px, 8.8%, 102px);
  left: clamp(26px, 4.15vw, 72px);
  width: min(490px, 42%);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-shadow: 0 2px 12px #041420b8;
  transition: transform 1s var(--ease);
}
.medical .copy {
  left: 54%;
  width: 42%;
}
.hero.active-industry .industry .copy,
.hero.active-medical .medical .copy {
  transform: translateY(-4px);
}
.hero.active-industry .medical .copy {
  transform: translateX(clamp(55px, 7vw, 115px));
  width: 34%;
}
.hero.active-medical .industry .copy {
  width: 38%;
}
.copy h2 {
  margin: 0 0 13px;
  font-size: clamp(27px, 3.05vw, 51px);
  line-height: 1.13;
  font-weight: 750;
  letter-spacing: -0.04em;
  transform-origin: left center;
  transform: scale(1);
  will-change: transform;
  transition: transform 0.42s var(--ease);
}
@media (min-width: 821px) {
  .hero {
    reading-flow: source-order;
  }
  .hero .medical {
    reading-order: 1;
  }
  .hero.active-industry .industry .copy h2,
  .hero.active-medical .medical .copy h2 {
    transform: scale(1.045);
  }
  .hero.active-industry .medical .copy h2,
  .hero.active-medical .industry .copy h2 {
    transform: scale(0.955);
  }
}
.small-line {
  display: block;
  width: 62px;
  height: 3px;
  background: var(--accent);
  border-radius: 9px;
  margin: 0 0 18px;
  box-shadow: 0 0 10px color-mix(in srgb, var(--accent), transparent 82%);
  will-change: width;
  transition: width 0.42s var(--ease);
}
@media (min-width: 821px) {
  .hero.active-industry .industry .small-line,
  .hero.active-medical .medical .small-line {
    width: var(--title-line-width, 62px);
  }
}
.copy p {
  margin: 0 0 23px;
  color: #e3edf3;
  font-size: clamp(13px, 1.15vw, 17px);
  line-height: 1.46;
  max-width: 390px;
  min-height: 2.8em;
}
.cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  border: 0;
  background: none;
  padding: 0;
  cursor: pointer;
}
.cta-circle {
  position: relative;
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  border-radius: 999px;
  border: 1px solid rgba(169, 229, 239, 0.32);
  display: grid;
  place-items: center;
  color: #f4fbff;
  background: rgba(3, 23, 34, 0.28);
  box-shadow:
    0 0 0 1px color-mix(in srgb, var(--accent), transparent 100%),
    0 0 20px color-mix(in srgb, var(--accent), transparent 100%),
    inset 0 0 0 1px #ffffff06;
  will-change: width, box-shadow;
  transition:
    width 0.48s var(--ease),
    background 0.48s var(--ease),
    border-color 0.48s var(--ease),
    box-shadow 0.48s var(--ease);
}
.cta-circle::before {
  content: "";
  position: absolute;
  inset: -5px;
  border-radius: inherit;
  border: 2px solid color-mix(in srgb, var(--accent), transparent 34%);
  opacity: 0;
  filter: blur(8px);
  transform: scale(1);
  transition:
    opacity 0.48s var(--ease),
    transform 0.48s var(--ease);
}
.cta-circle svg {
  width: 21px;
  height: 21px;
  display: block;
  stroke: currentColor;
  stroke-width: 1.9;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  pointer-events: none;
}
.cta > span[data-i18n="enter"] {
  display: inline-block;
  transform: translateX(0);
  will-change: transform;
  transition: transform 0.48s var(--ease);
}
@media (hover: hover) and (pointer: fine) {
  .cta:hover .cta-circle,
  .cta:focus-visible .cta-circle {
    width: 76px;
    background: #7ee9f01f;
    border-color: color-mix(in srgb, var(--accent), white 20%);
    box-shadow:
      0 0 0 1px color-mix(in srgb, var(--accent), transparent 76%),
      0 0 20px color-mix(in srgb, var(--accent), transparent 75%),
      inset 0 0 0 1px #ffffff08;
  }
  .cta:hover .cta-circle::before,
  .cta:focus-visible .cta-circle::before {
    opacity: 0.8;
    transform: scale(1.03);
  }
}
/* decorative overlay kept disabled to preserve geometry without section-border neon */
.neon-overlay {
  display: none;
}
.footer {
  height: 29px;
  flex: none;
  border-top: 1px solid #87aabf25;
  background: linear-gradient(90deg, #061721, #082331);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(18px, 3.1vw, 55px);
  gap: 15px;
  color: #90aab8;
  font-size: 11px;
  white-space: nowrap;
}
.footer-copyright {
  min-width: 0;
  font: inherit;
  line-height: 1.14;
}
.footer-links {
  display: flex;
  align-items: center;
  gap: clamp(7px, 1.2vw, 20px);
}
.footer-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  height: 26px;
  color: #c3d6df;
}
.footer-links a:focus-visible {
  outline-offset: 0;
}
.contact-icon {
  width: 16px;
  height: 16px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.footer-links a:not(.footer-instagram):is(:hover, :focus-visible) {
  color: var(--mint);
}
.footer-instagram .contact-icon {
  width: 19px;
  height: 19px;
}
.footer-instagram:is(:hover, :focus-visible) g {
  stroke: url(#ig-outline);
}
@media (max-width: 1100px) {
  .footer-links a:first-child .footer-value {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
  }
}
@media (max-width: 310px) {
  .app .footer {
    padding-inline: 4px;
    gap: 2px;
  }
  .app .footer-links {
    gap: 1px;
  }
  .app .footer-links a {
    width: 20px;
  }
  .app .footer-copyright {
    font-size: 9px;
  }
}
/* drawer must fit viewport, no internal scroll */
.scrim {
  position: fixed;
  inset: 0;
  z-index: 40;
  background: #03101a98;
  backdrop-filter: blur(3px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity 0.36s,
    visibility 0.36s;
}
.scrim.show {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.drawer {
  position: fixed;
  z-index: 41;
  inset: 0 auto 0 0;
  width: min(360px, 100vw);
  height: 100vh;
  height: 100dvh;
  padding: clamp(10px, 2.6vh, 26px) clamp(14px, 2vw, 28px);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transform: translateX(-103%);
  visibility: hidden;
  transition:
    transform 0.55s var(--ease),
    visibility 0.55s;
  background:
    radial-gradient(350px 450px at 15% 80%, #146c8650, transparent 74%),
    radial-gradient(230px 340px at 90% 7%, #3298aa25, transparent 79%),
    linear-gradient(145deg, #0b2a39ee, #061a27ed);
  backdrop-filter: blur(25px);
  box-shadow: 16px 0 50px #0005;
  border-right: 1px solid #8cbdca33;
  isolation: isolate;
}
.drawer::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: url("../assets/images/navigation/drawer.webp");
  background-position: center center;
  background-repeat: no-repeat;
  background-size: 100% 100%;
  opacity: 0.96;
  pointer-events: none;
}
.drawer > * {
  position: relative;
  z-index: 1;
}
/* The wallpaper remains static as in the initial concept; transient interior waves carry the motion. */
.drawer::before {
  transform: none;
  filter: none;
}

/* A single luminous travelling contour. Its peaks invert gradually, like a standing wave. */
.drawer .drawer-current {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  opacity: 1;
}
.drawer-current .arc-shell {
  opacity: 1;
  transform: none;
}
.drawer-current .arc-haze {
  fill: none;
  stroke: #25c9bc;
  stroke-width: 74;
  stroke-linecap: round;
  filter: url(#armind-wave-haze);
  opacity: 0.21;
}
.drawer-current .arc-soft {
  fill: none;
  stroke: url(#armind-wave-shimmer);
  stroke-width: 38;
  stroke-linecap: round;
  filter: url(#armind-wave-soft);
  opacity: 0.29;
}
@media (prefers-reduced-motion: reduce) {
  .drawer-current .arc-shell {
    opacity: 0.8;
  }
}
.drawer.open {
  transform: none;
  visibility: visible;
  transition-delay: 0s;
  transition-property: transform;
}
.drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: clamp(10px, 2vh, 20px);
  border-bottom: 1px solid #adcfdb2a;
}
.drawer .brand {
  font-size: clamp(14px, 1.28vw, 19px);
}
.drawer .symbol {
  width: 27px;
  height: 27px;
}
.drawer .symbol:after {
  inset: 8px;
}
.close-button {
  width: 39px;
  height: 39px;
}
.drawer nav {
  padding-top: clamp(12px, 2.5vh, 25px);
  display: flex;
  flex-direction: column;
  gap: clamp(4px, 1.2vh, 14px);
  min-height: 0;
  flex-shrink: 1;
}
.nav-item {
  border: 0;
  background: transparent;
  width: 100%;
  padding: clamp(6px, 1.25vh, 12px) 0;
  display: flex;
  align-items: center;
  gap: 14px;
  text-align: left;
  border-radius: 8px;
  font-size: clamp(13px, 1.2vw, 17px);
}
.nav-item:hover {
  color: #dffeff;
}
.nav-item svg {
  height: 22px;
  width: 22px;
  flex: none;
  stroke: #e8faff;
  stroke-width: 1.6;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.chevron {
  margin-left: -7px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1em;
  height: 1em;
  flex: 0 0 auto;
  opacity: 0.78;
  transition: transform 0.25s var(--ease);
}
.chevron svg {
  width: 1em;
  height: 1em;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}
.nav-item[aria-expanded="false"] .chevron {
  transform: rotate(-90deg);
} /* Sequential accordion: finish the first label and marker before the second label starts. */
.subnav {
  display: grid;
  grid-template-rows: 1fr;
  gap: 0;
  padding: 0;
  min-height: 0;
  overflow: visible;
  visibility: visible;
  transition:
    grid-template-rows 0.68s var(--ease),
    visibility 0s linear 0s;
}
.subnav.is-collapsed {
  grid-template-rows: 0fr;
  visibility: hidden;
  pointer-events: none;
  transition:
    grid-template-rows 0.68s var(--ease) 1.3s,
    visibility 0s linear 1.98s;
}
.subnav-inner {
  min-height: 0;
  overflow: visible;
}
.subnav-list {
  display: flex;
  flex-direction: column;
  gap: clamp(5px, 1.4vh, 13px);
  padding: 0 0 clamp(7px, 1.5vh, 17px) 33px;
}
.subnav a {
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: clamp(12px, 1.1vw, 15px);
  color: #d9ebf1;
  white-space: nowrap;
}
/* Opening: item 1 text (.18–.70), marker (.72–.96); then item 2 text (1.02–1.54), marker (1.56–1.80). */
.subnav a span {
  display: inline-block;
  opacity: 1;
  transform: translate3d(0, 0, 0);
  will-change: transform, opacity;
  transition:
    transform 0.52s var(--ease) 0.18s,
    opacity 0.45s ease 0.18s;
}
.subnav a:nth-child(2) span {
  transition-delay: 1.02s, 1.02s;
}
.subnav a i {
  height: 5px;
  width: 5px;
  flex: none;
  border-radius: 50%;
  background: #74ddec;
  box-shadow: 0 0 8px #74ddec70;
  opacity: 1;
  transition:
    opacity 0.24s ease 0.72s,
    background 0.34s var(--ease),
    box-shadow 0.34s var(--ease),
    transform 0.34s var(--ease);
  transform: scale(1);
  will-change: opacity, transform, box-shadow;
}
.subnav a:nth-child(2) i {
  transition-delay: 1.56s, 0s, 0s, 0s;
}
/* Closing in reverse order: item 2 marker, item 2 text; then item 1 marker, item 1 text. The track collapses last. */
.subnav.is-collapsed a span {
  opacity: 0;
  transform: translate3d(18px, 0, 0);
  transition:
    transform 0.44s var(--ease) 0.86s,
    opacity 0.39s ease 0.86s;
}
.subnav.is-collapsed a:nth-child(2) span {
  transition-delay: 0.2s, 0.2s;
}
.subnav.is-collapsed a i {
  opacity: 0;
  transition:
    opacity 0.18s ease 0.66s,
    background 0.34s var(--ease),
    box-shadow 0.34s var(--ease),
    transform 0.34s var(--ease);
}
.subnav.is-collapsed a:nth-child(2) i {
  transition-delay: 0s, 0s, 0s, 0s;
}
.subnav a:hover i,
.subnav a:focus-visible i,
.subnav a.is-selected i {
  background: #b2fff2;
  transform: scale(1.4);
  box-shadow:
    0 0 0 2px #73e8d236,
    0 0 9px 2px #72fae6b8,
    0 0 18px 5px #5cf0cd55;
}
.subnav a.is-selected span,
.subnav a:hover span,
.subnav a:focus-visible span {
  color: #f6ffff;
}
.drawer-foot {
  margin-top: auto;
  display: flex;
  gap: 9px;
  border-top: 1px solid #a0c9d125;
  padding-top: clamp(9px, 1.8vh, 19px);
}
.drawer-foot button {
  padding: 7px 14px;
  background: rgba(10, 28, 39, 0.24);
  border: 1px solid #c1e5ed36;
  border-radius: 999px;
  font-size: 12px;
}
.drawer-foot button.active {
  color: #a7f8dc;
  border-color: #7deecb91;
}
.toast {
  position: fixed;
  z-index: 60;
  bottom: 15px;
  left: 50%;
  transform: translate(-50%, 12px);
  max-width: min(500px, calc(100vw - 22px));
  padding: 11px 15px;
  border-radius: 12px;
  background: #071c29eb;
  border: 1px solid #88d4e533;
  font-size: 12px;
  text-align: center;
  opacity: 0;
  pointer-events: none;
  transition:
    transform 0.25s,
    opacity 0.25s;
}
.toast.visible {
  opacity: 1;
  transform: translate(-50%, 0);
}
@media (max-width: 820px) {
  .app {
    height: 100dvh;
  }
  .topbar {
    height: clamp(54px, 9dvh, 69px);
    padding: 0 14px;
  }
  .brand-group {
    gap: 12px;
  }
  .brand {
    font-size: clamp(13px, 3.65vw, 17px);
    gap: 7px;
  }
  .symbol {
    width: 24px;
    height: 24px;
  }
  .symbol:after {
    inset: 7px;
  }
  .menu-trigger {
    width: 40px;
    height: 40px;
  }
  .menu-trigger svg {
    width: 17px;
    height: 17px;
  }
  .language {
    font-size: 10px;
    gap: 5px;
  }
  .hero {
    display: grid;
    grid-template-rows: repeat(2, minmax(215px, 1fr));
    overflow-y: auto;
    gap: 10px;
    padding: 10px 12px;
    min-height: 0;
  }
  .half {
    position: relative;
    inset: auto;
    z-index: 1;
    clip-path: none !important;
    border: 1px solid #8bc8d53b;
    border-radius: 15px;
    background: #081e2a;
    overflow: hidden;
    min-height: 0;
  }
  .photo img,
  .industry .photo img,
  .medical .photo img {
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    right: auto;
    transform: none !important;
    filter: saturate(0.98);
    object-fit: cover;
    object-position: center center;
  }
  .medical .photo img {
    object-position: center 42%;
  }
  .shade {
    background: linear-gradient(
      180deg,
      #04142100 9%,
      #06172308 35%,
      #04142170 65%,
      #031321f5 100%
    );
  }
  .copy,
  .medical .copy {
    left: clamp(13px, 3.8vw, 24px);
    bottom: clamp(12px, 2.4dvh, 20px);
    width: calc(100% - 28px);
    max-width: none;
    transform: none !important;
  }
  .copy h2 {
    font-size: clamp(20px, 5.5vw, 29px);
    line-height: 1.04;
    letter-spacing: -0.036em;
    margin-bottom: clamp(6px, 1vh, 10px);
  }
  .small-line {
    width: 47px;
    height: 2px;
    margin-bottom: clamp(6px, 1.4dvh, 13px);
  }
  .copy p {
    font-size: clamp(11.2px, 2.95vw, 13.5px);
    line-height: 1.32;
    margin-bottom: clamp(7px, 1.25dvh, 14px);
    max-width: 36ch;
    min-height: 0;
  }
  .cta {
    gap: 10px;
    font-size: clamp(11.5px, 2.95vw, 13px);
  }
  .cta-circle {
    width: 34px;
    height: 34px;
  }
  .cta-circle svg {
    width: 18px;
    height: 18px;
  }
  .neon-overlay {
    display: none;
  }
  .footer {
    padding-inline: clamp(6px, 2.4vw, 18px);
    gap: 6px;
  }
  .footer-links {
    gap: 2px;
  }
  .footer-links a {
    width: 26px;
  }
  .footer-links .footer-value {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
  }
  .footer-copyright {
    font-size: 10px;
    white-space: normal;
  }
  .footer-copyright span {
    white-space: normal;
  }
  .drawer {
    inset: 0 0 auto 0;
    width: 100%;
    height: 100dvh;
    border-right: 0;
    border-bottom: 1px solid #a6d2dd33;
    transform: translateY(-103%);
    padding: clamp(12px, 2.5dvh, 21px) clamp(18px, 5vw, 27px);
  }
  .drawer.open {
    transform: translateY(0);
  }
  .drawer .brand {
    font-size: 17px;
  }
  .drawer nav {
    gap: clamp(5px, 1.3dvh, 14px);
  }
}
@media (max-height: 650px) {
  .copy {
    bottom: clamp(18px, 5%, 50px);
  }
  .copy h2 {
    font-size: clamp(23px, 2.6vw, 39px);
    margin-bottom: 8px;
  }
  .copy p {
    font-size: clamp(12px, 1.1vw, 15px);
    margin-bottom: 10px;
  }
  .small-line {
    margin-bottom: 9px;
  }
  .drawer nav {
    gap: 4px;
  }
  .nav-item {
    padding: 6px 0;
  }
  .subnav-list {
    gap: 6px;
    padding-bottom: 6px;
  }
  .drawer-head {
    padding-bottom: 10px;
  }
  .drawer-foot {
    padding-top: 8px;
  }
}
@media (max-width: 820px) and (max-height: 650px) {
  .hero {
    padding: 7px 9px;
    gap: 7px;
  }
  .copy,
  .medical .copy {
    bottom: 9px;
    left: 12px;
    width: calc(100% - 24px);
  }
  .copy h2 {
    font-size: clamp(19px, 5.4vw, 25px);
    line-height: 1.03;
    margin-bottom: 5px;
  }
  .copy p {
    font-size: clamp(10.3px, 2.75vw, 12px);
    line-height: 1.22;
    margin-bottom: 7px;
  }
  .small-line {
    margin-bottom: 6px;
  }
  .cta-circle {
    height: 30px;
    width: 30px;
  }
  .cta {
    gap: 8px;
    font-size: 11px;
  }
  .hero .half {
    border-radius: 12px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Language switchers — round dimensional flags, selection by contrast only. */
.language {
  gap: 7px;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(4, 22, 32, 0.66);
  border: 1px solid rgba(182, 226, 233, 0.22);
  backdrop-filter: blur(11px);
  box-shadow: 0 3px 16px rgba(0, 0, 0, 0.16);
}
.language [data-lang],
.drawer-foot [data-lang] {
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  min-width: 0;
  margin: 0;
  padding: 2px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: inherit;
  box-shadow: none;
  transform: none;
  transition: none;
  cursor: pointer;
}
.drawer-foot {
  gap: 9px;
}
.drawer-foot [data-lang] {
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
}
.language .flag {
  width: 29px;
  height: 29px;
}
.drawer-foot .flag {
  width: 37px;
  height: 37px;
}
.flag {
  position: relative;
  display: block;
  flex: none;
  width: 29px;
  height: 29px;
  line-height: 0;
  overflow: hidden;
  border-radius: 50%;
  border: 1px solid rgba(195, 222, 236, 0.38);
  background: #091d2c;
  box-shadow:
    0 2px 5px rgba(0, 0, 0, 0.56),
    0 0 0 1px rgba(255, 255, 255, 0.07);
  filter: brightness(0.66) saturate(0.72);
  transform: none;
  will-change: filter, box-shadow;
  transition:
    filter 0.3s var(--ease),
    box-shadow 0.3s var(--ease),
    border-color 0.3s var(--ease);
}
.flag svg {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 50%;
}
.flag::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: 50%;
  background: radial-gradient(
    ellipse at 31% 21%,
    rgba(255, 255, 255, 0.31) 0%,
    rgba(255, 255, 255, 0.09) 30%,
    transparent 56%
  );
  box-shadow:
    inset 1px 2px 2px rgba(255, 255, 255, 0.27),
    inset -3px -4px 6px rgba(0, 0, 0, 0.47);
}
/* Selected flag is always bright, with identical appearance on hover. */
[data-lang].active .flag {
  filter: none;
  border-color: transparent;
  box-shadow: none;
}
[data-lang].active .flag::after { box-shadow: none; }
[data-lang].active:focus-visible { outline-color: #c2ccd0; }
/* Inactive languages: restrained brushed-champagne outline instead of neon. */
[data-lang]:not(.active) {
  transition:
    background-color 0.34s ease,
    box-shadow 0.34s ease;
}
@media (hover: hover) and (pointer: fine) {
  [data-lang]:not(.active):hover {
    background: rgba(186, 160, 127, 0.1);
    box-shadow: inset 0 0 0 1px rgba(215, 190, 154, 0.22);
  }
  [data-lang]:not(.active):hover .flag {
    filter: brightness(1.05) saturate(1.02);
    border-color: rgba(229, 210, 179, 0.94);
    box-shadow:
      0 2px 6px rgba(0, 0, 0, 0.48),
      0 0 0 1px rgba(187, 155, 114, 0.72),
      0 0 0 3px rgba(211, 181, 145, 0.1);
    transform: none;
  }
}
[data-lang]:not(.active):focus-visible {
  background: rgba(186, 160, 127, 0.1);
  box-shadow: inset 0 0 0 1px rgba(215, 190, 154, 0.22);
}
[data-lang]:not(.active):focus-visible .flag {
  filter: brightness(1.05) saturate(1.02);
  border-color: rgba(229, 210, 179, 0.94);
  box-shadow:
    0 2px 6px rgba(0, 0, 0, 0.48),
    0 0 0 1px rgba(187, 155, 114, 0.72),
    0 0 0 3px rgba(211, 181, 145, 0.1);
  transform: none;
}
@media (max-width: 560px) {
  .language {
    gap: 4px;
    padding: 4px 6px;
  }
  .language [data-lang] {
    width: 30px;
    height: 30px;
    padding: 1px;
  }
  .language .flag {
    width: 27px;
    height: 27px;
  }
  .topbar .brand-group {
    gap: 9px;
  }
}
@media (max-width: 350px) {
  .language {
    gap: 2px;
    padding: 3px 3px;
  }
  .language [data-lang] {
    width: 25px;
    height: 27px;
    padding: 1px;
  }
  .language .flag {
    width: 23px;
    height: 23px;
  }
  .drawer-foot [data-lang] {
    width: 40px;
    height: 40px;
  }
  .drawer-foot .flag {
    width: 34px;
    height: 34px;
  }
}

/* Armenian titles wrap at word boundaries and align at the same height on desktop. */
html[lang="hy"] .copy h2 {
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}

@media (min-width: 821px) and (max-width: 1180px) {
  html[lang="hy"] .copy h2 {
    font-size: clamp(26px, 2.8vw, 37px);
  }
  html[lang="hy"] .copy p {
    font-size: clamp(12px, 1vw, 15px);
  }
}
@media (min-width: 1181px) {
  html[lang="hy"] .industry .copy h2 {
    font-size: clamp(30px, 3.05vw, 47px);
  }
}
@media (max-width: 820px) {
  html[lang="hy"] .copy h2 {
    font-size: clamp(18px, 4.7vw, 27px);
  }
  html[lang="hy"] .copy p {
    font-size: clamp(10.4px, 2.8vw, 13px);
  }
}

/* Exact SVG branding supplied by the user. */
.brand-logo {
  display: block;
  flex: none;
  width: 44px;
  height: 36px;
  object-fit: contain;
  pointer-events: none;
  user-select: none;
  -webkit-user-select: none;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.22));
}
.drawer .brand-logo {
  width: 38px;
  height: 31px;
}
@media (max-width: 820px) {
  .topbar .brand-logo {
    width: 35px;
    height: 28px;
  }
}

.topbar .brand-group {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  padding: 5px 7px 5px 0;
  min-width: 0;
}
.topbar .brand-group .menu-trigger {
  background: linear-gradient(180deg, #344f61, #203645);
  border-color: #546e7d;
  box-shadow:
    inset 0 1px 0 #d5eaf228,
    0 2px 5px #030d174d;
}
.topbar .brand-group .menu-trigger:hover {
  background: linear-gradient(180deg, #415f71, #294251);
  border-color: #86a6b5;
}
.topbar .brand-group .menu-trigger:active {
  background: linear-gradient(180deg, #203645, #304a5a);
  box-shadow: inset 0 2px 4px #030d174d;
}
@media (max-width: 820px) {
  .topbar .brand-group {
    gap: 8px;
    padding: 3px 5px 3px 0;
  }
}
@media (max-width: 560px) {
  .topbar .brand-group {
    gap: 6px;
    padding: 3px 4px 3px 0;
  }
  .topbar .brand {
    gap: 5px;
  }
}
@media (max-width: 350px) {
  .topbar {
    padding-left: 8px;
    padding-right: 8px;
  }
  .topbar .brand-group {
    gap: 5px;
    padding: 3px 4px 3px 0;
  }
  .topbar .brand {
    font-size: 12px;
    gap: 4px;
    letter-spacing: -0.04em;
  }
  .topbar .brand-logo {
    width: 28px;
    height: 23px;
  }
  .topbar .menu-trigger {
    width: 32px;
    height: 32px;
  }
  .topbar .menu-trigger svg {
    width: 15px;
    height: 15px;
  }
}

/* v25: retain the slightly roomier v24 header capsule. */
.topbar .brand-group {
  padding: 9px 12px 9px 0;
  gap: 13px;
}
@media (max-width: 820px) {
  .topbar .brand-group {
    padding: 5px 9px 5px 0;
    gap: 9px;
  }
}
@media (max-width: 560px) {
  .topbar .brand-group {
    padding: 5px 8px 5px 0;
    gap: 7px;
  }
}
@media (max-width: 350px) {
  .topbar .brand-group {
    padding: 5px 7px 5px 0;
    gap: 5px;
  }
}

/* v25: typography-only refinement. Buttons, outlines, backgrounds and hit areas
   are exactly the original v23 style. No text blur or heavy embossed shadows. */
.drawer .nav-item > span[data-i18n] {
  font-family:
    Inter,
    system-ui,
    -apple-system,
    "Segoe UI",
    Arial,
    sans-serif;
  font-weight: 550;
  letter-spacing: 0.005em;
  line-height: 1.28;
  color: #ecf7fc;
  text-shadow:
    0 1px 0 rgba(0, 9, 18, 0.55),
    0 -1px 0 rgba(255, 255, 255, 0.055);
}
.drawer .subnav a > span[data-i18n] {
  font-family:
    Inter,
    system-ui,
    -apple-system,
    "Segoe UI",
    Arial,
    sans-serif;
  font-weight: 480;
  letter-spacing: 0.009em;
  line-height: 1.32;
  text-shadow: 0 1px 0 rgba(0, 9, 18, 0.48);
}
.hero .cta > span[data-i18n="enter"] {
  font-family:
    Inter,
    system-ui,
    -apple-system,
    "Segoe UI",
    Arial,
    sans-serif;
  font-weight: 540;
  letter-spacing: 0.01em;
  line-height: 1.25;
  color: #f0f9fc;
  text-shadow:
    0 1px 0 rgba(0, 9, 18, 0.55),
    0 -1px 0 rgba(255, 255, 255, 0.045);
}
@media (hover: hover) and (pointer: fine) {
  .drawer .nav-item:hover > span[data-i18n],
  .drawer .nav-item:focus-visible > span[data-i18n] {
    color: #ffffff;
  }
  .drawer .subnav a:hover > span[data-i18n],
  .drawer .subnav a:focus-visible > span[data-i18n] {
    color: #ffffff;
  }
  .hero .cta:hover > span[data-i18n="enter"],
  .hero .cta:focus-visible > span[data-i18n="enter"] {
    color: #ffffff;
  }
}

/* v29 — four genuine petals of the supplied mark, introduced one at a time.
   Original SVG gradient fills, size, and placement are retained. */
.brand-logo .logo-petal {
  opacity: 1;
  transform-box: fill-box;
  transform-origin: center;
  will-change: opacity, transform;
}
html.logo-boot .topbar .brand-logo .logo-petal {
  opacity: 0;
  transform: translate3d(0, 5px, 0) scale(0.88);
}
html.logo-play .topbar .brand-logo .logo-petal {
  animation: armind-petal-enter 0.76s cubic-bezier(0.16, 0.8, 0.22, 1) both;
  animation-delay: calc(var(--petal-step) * 0.38s);
}
.drawer .brand-name {
  display: inline-block;
  white-space: nowrap;
  will-change: opacity, transform;
}
.drawer.brand-reveal .brand-logo .logo-petal {
  animation: armind-petal-enter 0.84s cubic-bezier(0.16, 0.8, 0.22, 1) both;
  animation-delay: calc(var(--petal-step) * 0.4s);
}
.drawer.brand-reveal .brand-name {
  animation: armind-brand-name-enter 1.12s cubic-bezier(0.19, 0.8, 0.2, 1) both;
  animation-delay: 1.34s;
}
/* Continuous velocity through the midpoint: unlike one ease-out used twice,
   these complementary curves do not pause or jerk at the 50% keyframe. */
@keyframes armind-petal-enter {
  0% {
    opacity: 0;
    transform: translate3d(0, 5px, 0) scale(0.88);
    animation-timing-function: cubic-bezier(0.42, 0, 0.72, 0.72);
  }
  50% {
    opacity: 0.5;
    transform: translate3d(0, 2.5px, 0) scale(0.94);
    animation-timing-function: cubic-bezier(0.28, 0.28, 0.58, 1);
  }
  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
  }
}
@keyframes armind-brand-name-enter {
  0% {
    opacity: 0;
    transform: translate3d(24px, 0, 0);
    animation-timing-function: cubic-bezier(0.42, 0, 0.72, 0.72);
  }
  50% {
    opacity: 0.5;
    transform: translate3d(12px, 0, 0);
    animation-timing-function: cubic-bezier(0.28, 0.28, 0.58, 1);
  }
  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}
@media (max-width: 820px) {
  .scrim,
  .drawer {
    backdrop-filter: none;
  }
  .drawer {
    background-color: #092432;
    transition: transform 320ms var(--ease), visibility 0s linear 320ms;
  }
  .drawer.open {
    transition-delay: 0s;
  }
  .drawer .drawer-current {
    background: url("../assets/images/navigation/drawer-wave.webp") center / 100% 100% no-repeat;
  }
  .drawer-current .arc-shell {
    display: none;
  }
  .drawer .brand-logo {
    filter: none;
  }
  .drawer.brand-reveal .brand-logo .logo-petal {
    animation: none;
  }
  .drawer .subnav {
    transition: grid-template-rows 240ms var(--ease), opacity 200ms ease-out;
    opacity: 1;
  }
  .drawer .subnav.is-collapsed {
    opacity: 0;
    visibility: visible;
  }
  .drawer .subnav-inner {
    overflow: hidden;
  }
  .drawer .subnav a span,
  .drawer .subnav a i {
    opacity: 1;
    transition: none;
    will-change: auto;
  }
  .drawer .subnav a span {
    transform: none;
  }
}
@media (max-width: 820px) and (prefers-reduced-motion: no-preference) {
  .drawer.open .drawer-current {
    animation: armind-mobile-wave 9s ease-in-out infinite alternate;
  }
  .drawer.brand-reveal .brand-logo {
    animation: armind-petal-enter 300ms ease-out both;
  }
  .drawer.brand-reveal .brand-name {
    animation: armind-brand-name-enter 300ms ease-out both;
  }
}
@keyframes armind-mobile-wave {
  from { transform: scale(1.04) translateY(1%); }
  to { transform: scale(1.08) translateY(-2%); }
}
@media (prefers-reduced-motion: reduce) {
  .drawer,
  .drawer * {
    transition: none !important;
  }
  html.logo-boot .topbar .brand-logo .logo-petal,
  html.logo-play .topbar .brand-logo .logo-petal,
  .drawer.brand-reveal .brand-logo .logo-petal,
  .drawer.brand-reveal .brand-name {
    opacity: 1;
    transform: none;
    animation: none;
  }
}

/* v36: retain image hover in narrow browser previews with a mouse.
   Touch layouts and the full-width diagonal animation are unchanged. */
@media (max-width: 820px) and (any-hover: hover) and (any-pointer: fine) {
  .hero .industry:hover .photo img,
  .hero .industry:focus-within .photo img {
    transform: scale(1.067) translateX(0.6%) !important;
    filter: saturate(1.02);
  }
  .hero .medical:hover .photo img,
  .hero .medical:focus-within .photo img {
    transform: scale(1.067) translateX(-0.6%) !important;
    filter: saturate(1.02);
  }
}

/* V44: frame the newly supplied Permedica image to keep all three intact in view. */
@media (min-width: 821px) {
  .medical .photo {
    background:
      radial-gradient(
        ellipse 90% 50% at 75% 25%,
        rgba(208, 225, 250, 0.72) 0%,
        rgba(199, 218, 246, 0.28) 48%,
        transparent 82%
      ),
      linear-gradient(
        180deg,
        #a6c3e7 0%,
        #abc7eb 32%,
        #aec9eb 60%,
        #b5cdeb 84%,
        #b2cbea 100%
      );
  }
  .medical .photo img {
    width: 38%;
    height: 50%;
    top: 6%;
    object-fit: contain;
    object-position: center center;
    -webkit-mask-image:
      linear-gradient(to right, transparent 0%, #000 10%, #000 100%),
      linear-gradient(
        to bottom,
        transparent 0%,
        #000 13%,
        #000 77%,
        transparent 100%
      );
    -webkit-mask-composite: source-in;
    mask-image:
      linear-gradient(to right, transparent 0%, #000 10%, #000 100%),
      linear-gradient(
        to bottom,
        transparent 0%,
        #000 13%,
        #000 77%,
        transparent 100%
      );
    mask-composite: intersect;
  }
}
@media (max-width: 820px) {
  .medical .photo {
    background:
      radial-gradient(
        ellipse 85% 49% at 52% 27%,
        rgba(207, 226, 250, 0.72) 0%,
        transparent 82%
      ),
      linear-gradient(
        180deg,
        #a6c3e7 0%,
        #abc7eb 32%,
        #aec9eb 60%,
        #b5cdeb 84%,
        #b2cbea 100%
      );
  }
  .medical .photo img {
    width: 100%;
    height: auto;
    aspect-ratio: 4/3;
    object-fit: contain;
    object-position: center top;
    -webkit-mask-image: linear-gradient(
      to bottom,
      #000 0%,
      #000 84%,
      transparent 100%
    );
    mask-image: linear-gradient(to bottom, #000 0%, #000 84%, transparent 100%);
  }
}

/* v46: feather the image to its surrounding medical-section background without changing the source image or layout. */
@media (min-width: 821px) {
  .medical .photo img {
    -webkit-mask-image:
      linear-gradient(
        to right,
        transparent 0%,
        rgba(0, 0, 0, 0.23) 4%,
        #000 17%,
        #000 83%,
        rgba(0, 0, 0, 0.35) 95%,
        transparent 100%
      ),
      linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.46) 0%,
        #000 16%,
        #000 72%,
        rgba(0, 0, 0, 0.72) 87%,
        transparent 100%
      );
    -webkit-mask-composite: source-in;
    mask-image:
      linear-gradient(
        to right,
        transparent 0%,
        rgba(0, 0, 0, 0.23) 4%,
        #000 17%,
        #000 83%,
        rgba(0, 0, 0, 0.35) 95%,
        transparent 100%
      ),
      linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.46) 0%,
        #000 16%,
        #000 72%,
        rgba(0, 0, 0, 0.72) 87%,
        transparent 100%
      );
    mask-composite: intersect;
  }
}
@media (max-width: 820px) {
  .medical .photo img {
    -webkit-mask-image:
      linear-gradient(
        to right,
        transparent 0%,
        #000 10%,
        #000 90%,
        transparent 100%
      ),
      linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.7) 0%,
        #000 12%,
        #000 79%,
        transparent 100%
      );
    -webkit-mask-composite: source-in;
    mask-image:
      linear-gradient(
        to right,
        transparent 0%,
        #000 10%,
        #000 90%,
        transparent 100%
      ),
      linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.7) 0%,
        #000 12%,
        #000 79%,
        transparent 100%
      );
    mask-composite: intersect;
  }
}

/* v48: independent, seamless matte ambience sampled from the *existing* product photos.
   Foreground image pixels/geometry and all other site animations are unchanged. */
@media (min-width: 821px) {
  .industry .photo {
    background-position: center;
    background-size: 100% 100%;
    background-repeat: no-repeat;
  }
  .industry .photo img {
    width: 60%;
    height: 70%;
    left: 0;
    right: auto;
    top: 7%;
    object-fit: contain;
    object-position: center center;
    -webkit-mask-image:
      linear-gradient(
        to right,
        transparent 0%,
        #000 7%,
        #000 84%,
        rgba(0, 0, 0, 0.74) 91%,
        transparent 100%
      ),
      linear-gradient(
        to bottom,
        transparent 0%,
        #000 12%,
        #000 79%,
        rgba(0, 0, 0, 0.8) 89%,
        transparent 100%
      );
    -webkit-mask-composite: source-in;
    mask-image:
      linear-gradient(
        to right,
        transparent 0%,
        #000 7%,
        #000 84%,
        rgba(0, 0, 0, 0.74) 91%,
        transparent 100%
      ),
      linear-gradient(
        to bottom,
        transparent 0%,
        #000 12%,
        #000 79%,
        rgba(0, 0, 0, 0.8) 89%,
        transparent 100%
      );
    mask-composite: intersect;
  }
  .medical .photo {
    background-position: center;
    background-size: 100% 100%;
    background-repeat: no-repeat;
  }
  /* Stronger feather at the real photo edge, while preserving the three exhibits. */
  .medical .photo img {
    -webkit-mask-image:
      linear-gradient(
        to right,
        transparent 0%,
        rgba(0, 0, 0, 0.12) 4%,
        #000 20%,
        #000 84%,
        rgba(0, 0, 0, 0.7) 93%,
        transparent 100%
      ),
      linear-gradient(
        to bottom,
        transparent 0%,
        rgba(0, 0, 0, 0.75) 8%,
        #000 20%,
        #000 72%,
        rgba(0, 0, 0, 0.56) 85%,
        transparent 100%
      );
    -webkit-mask-composite: source-in;
    mask-image:
      linear-gradient(
        to right,
        transparent 0%,
        rgba(0, 0, 0, 0.12) 4%,
        #000 20%,
        #000 84%,
        rgba(0, 0, 0, 0.7) 93%,
        transparent 100%
      ),
      linear-gradient(
        to bottom,
        transparent 0%,
        rgba(0, 0, 0, 0.75) 8%,
        #000 20%,
        #000 72%,
        rgba(0, 0, 0, 0.56) 85%,
        transparent 100%
      );
    mask-composite: intersect;
  }
}
@media (max-width: 820px) {
  .industry .photo {
    background-position: center;
    background-size: 100% 100%;
    background-repeat: no-repeat;
  }
  .industry .photo img {
    object-fit: contain;
    object-position: center top;
    -webkit-mask-image: linear-gradient(
      to bottom,
      #000 0%,
      #000 68%,
      rgba(0, 0, 0, 0.76) 79%,
      transparent 100%
    );
    mask-image: linear-gradient(
      to bottom,
      #000 0%,
      #000 68%,
      rgba(0, 0, 0, 0.76) 79%,
      transparent 100%
    );
  }
  .medical .photo {
    background-position: center;
    background-size: 100% 100%;
    background-repeat: no-repeat;
  }
  .medical .photo img {
    -webkit-mask-image:
      linear-gradient(
        to right,
        rgba(0, 0, 0, 0.92) 0%,
        #000 9%,
        #000 91%,
        rgba(0, 0, 0, 0.92) 100%
      ),
      linear-gradient(
        to bottom,
        #000 0%,
        #000 72%,
        rgba(0, 0, 0, 0.7) 85%,
        transparent 100%
      );
    -webkit-mask-composite: source-in;
    mask-image:
      linear-gradient(
        to right,
        rgba(0, 0, 0, 0.92) 0%,
        #000 9%,
        #000 91%,
        rgba(0, 0, 0, 0.92) 100%
      ),
      linear-gradient(
        to bottom,
        #000 0%,
        #000 72%,
        rgba(0, 0, 0, 0.7) 85%,
        transparent 100%
      );
    mask-composite: intersect;
  }
}

/* v49: no machine-colour sampling. Only matte studio-backdrop values appear here. */
@media (min-width: 821px) {
  .industry .photo {
    background-image: linear-gradient(
      180deg,
      #07171f 0%,
      #0b2733 30%,
      #0e2a36 49%,
      #091e2a 74%,
      #091824 100%
    );
    background-repeat: no-repeat;
    background-size: 100% 100%;
  }
  .industry .photo img {
    -webkit-mask-image:
      linear-gradient(
        to right,
        transparent 0%,
        #000 8%,
        #000 78%,
        rgba(0, 0, 0, 0.86) 84%,
        transparent 100%
      ),
      linear-gradient(
        to bottom,
        transparent 0%,
        #000 12%,
        #000 68%,
        rgba(0, 0, 0, 0.78) 83%,
        transparent 100%
      );
    mask-image:
      linear-gradient(
        to right,
        transparent 0%,
        #000 8%,
        #000 78%,
        rgba(0, 0, 0, 0.86) 84%,
        transparent 100%
      ),
      linear-gradient(
        to bottom,
        transparent 0%,
        #000 12%,
        #000 68%,
        rgba(0, 0, 0, 0.78) 83%,
        transparent 100%
      );
    -webkit-mask-composite: source-in;
    mask-composite: intersect;
  }
  .medical .photo {
    background-image:
      linear-gradient(
        90deg,
        transparent 69%,
        rgba(170, 196, 233, 0.17) 79%,
        rgba(168, 195, 232, 0.9) 100%
      ),
      url("../assets/images/home/medical-backdrop-desktop.webp");
  }
  .medical .photo img {
    -webkit-mask-image:
      linear-gradient(
        to right,
        transparent 0%,
        rgba(0, 0, 0, 0.12) 4%,
        #000 20%,
        #000 82%,
        rgba(0, 0, 0, 0.66) 90%,
        transparent 100%
      ),
      linear-gradient(
        to bottom,
        transparent 0%,
        rgba(0, 0, 0, 0.75) 8%,
        #000 20%,
        #000 72%,
        rgba(0, 0, 0, 0.56) 85%,
        transparent 100%
      );
    mask-image:
      linear-gradient(
        to right,
        transparent 0%,
        rgba(0, 0, 0, 0.12) 4%,
        #000 20%,
        #000 82%,
        rgba(0, 0, 0, 0.66) 90%,
        transparent 100%
      ),
      linear-gradient(
        to bottom,
        transparent 0%,
        rgba(0, 0, 0, 0.75) 8%,
        #000 20%,
        #000 72%,
        rgba(0, 0, 0, 0.56) 85%,
        transparent 100%
      );
    -webkit-mask-composite: source-in;
    mask-composite: intersect;
  }
}
@media (max-width: 820px) {
  .industry .photo {
    background-image: linear-gradient(
      180deg,
      #081b25 0%,
      #0c2b38 43%,
      #0a202c 74%,
      #081823 100%
    );
    background-repeat: no-repeat;
    background-size: 100% 100%;
  }
  .medical .photo {
    background-image:
      linear-gradient(
        90deg,
        transparent 70%,
        rgba(168, 195, 232, 0.12) 84%,
        rgba(168, 195, 232, 0.8) 100%
      ),
      url("../assets/images/home/medical-backdrop-desktop.webp");
  }
}

/* v51 — original v49 interface + customer-provided transparent PNG cutouts.
   Remove old edge-feather masks: transparent assets are composited directly
   over the ORIGINAL v49 section backgrounds without blurring their contours. */
.industry .photo img,
.medical .photo img {
  -webkit-mask-image: none !important;
  mask-image: none !important;
  -webkit-mask-composite: initial !important;
  mask-composite: initial !important;
}

/* v54: only the existing medical picture is framed ~15% larger on desktop.
   Its bitmap, proportions, sources, hover timing, background and all other design remain unchanged. */
@media (min-width: 821px) {
  .medical .photo img {
    width: 43.7%;
    height: 57.5%;
    top: 3.5%;
    right: -2.5%;
  }
}

/* v59: identical vertical rows for both section text blocks on every language.
   JS measures natural line wraps; these rules do not touch colors, typography or animation. */
.copy h2 {
  min-height: var(--balanced-title-height, 0px);
}
.copy p {
  min-height: var(--balanced-description-height, 0px);
}


/* v60: keep title baselines aligned, without a large visual gap above
   the underline when the opposite title wraps over more lines. */
.copy h2 {
  align-content: end;
}

.jc-viewer {
  box-sizing: border-box; width: min(94vw, 1440px); height: min(90dvh, 1100px);
  max-width: none; max-height: none; margin: auto; padding: 0; overflow: hidden;
  border: 1px solid #62818f; border-radius: 14px; background: #102b38;
}
.jc-viewer[open] { display: grid; grid-template-rows: auto minmax(0, 1fr); }
.jc-viewer::backdrop { background: rgb(3 16 25 / .86); }
.jc-viewer-bar { display: flex; justify-content: flex-end; gap: 8px; padding: 6px 9px; }
.jc-viewer-bar button {
  display: grid; place-items: center; width: 44px; height: 44px; padding: 0;
  border: 1px solid #75929a; border-radius: 8px; background: #193c48;
  color: #edf8f7; font: 26px/1 sans-serif; cursor: pointer;
}
.jc-viewer-bar button:focus-visible { outline: 2px solid #a0ffed; outline-offset: 2px; }
.jc-viewer-viewport { overflow: auto; overscroll-behavior: contain; background: #fff; }
.jc-viewer-sheet { display: grid; place-items: center; container-type: size; width: 100%; height: 100%; transition-property: none; }
.jc-viewer-art {
  position: relative;
  width: min(100cqw, calc(100cqh * var(--image-ratio)), var(--image-width));
  aspect-ratio: var(--image-ratio);
}
.jc-viewer.is-zoomed .jc-viewer-art { width: min(100cqw, calc(100cqh * var(--image-ratio)), calc(2 * var(--image-width))); }
.jc-viewer-sheet img { display: block; width: 100%; height: 100%; object-fit: contain; }
.jc-viewer.is-zoomed .jc-viewer-sheet { width: 200%; height: 200%; }
@media (max-width: 640px) {
  .jc-viewer { width: 100%; height: 100dvh; border: 0; border-radius: 0; }
  .jc-viewer-bar { padding-top: max(6px, env(safe-area-inset-top)); }
}

.country-flag {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  flex: none;
  border-radius: 50%;
  overflow: hidden;
  background: #193440;
  box-shadow: 0 2px 5px #03101980;
}
.country-flag img {
  display: block;
  width: 100%;
  height: 100%;
}
.country-flag::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(155deg, #ffffff40, transparent 47%, #06172242);
  box-shadow: inset 0 0 0 1px #d6eff23d, inset 0 -2px 3px #04162345;
}
