:root {
  --bg: #000;
  --ink: #f7f4ef;
  --muted: rgba(247, 244, 239, .66);
  --line: rgba(247, 244, 239, .14);
  --pink: #ff168d;
  --yellow: #ffed39;
  --blue: #12b7ff;
  --header-h: 112px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --section-kicker-size: clamp(17px, 1.35vw, 24px);
  --section-kicker-gap: 16px;
  --section-kicker-line: 48px;
}

* { box-sizing: border-box; }

html {
  margin: 0;
  min-width: 320px;
  min-height: 100%;
  background: #000;
  color: var(--ink);
  font-family: Poppins, sans-serif;
  overflow-x: clip;
  overscroll-behavior: none;
  color-scheme: dark;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  -webkit-focus-ring-color: rgba(0, 0, 0, 0);
  outline-color: transparent;
}

body {
  margin: 0;
  min-width: 320px;
  min-height: 100%;
  background: #000;
  color: var(--ink);
  font-family: Poppins, sans-serif;
  overflow-x: clip;
  overscroll-behavior: none;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  -webkit-focus-ring-color: rgba(0, 0, 0, 0);
  outline-color: transparent;
}

/* Mobile menu: lock page scroll while overlay is open (JS also pins body for iOS). */
html:has(body.menu-open),
body.menu-open {
  overflow: hidden;
  overscroll-behavior: none;
  touch-action: none;
}

body.menu-open.is-menu-scroll-locked {
  position: fixed;
  left: 0;
  right: 0;
  width: 100%;
}

/* Boot cover: destination page loads under black, then menu exit reveals it */
html.fi-menu-exit-pending {
  background: #000;
}

html.fi-menu-exit-pending::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 100000;
  background: #000;
  pointer-events: none;
}

a {
  color: inherit;
  text-decoration: none;
}

/*
  Kill the temporary blue click/tap rectangle site-wide forever:
  - WebKit/Blink touch flash (-webkit-tap-highlight-color)
  - WebKit focus ring color
  - mouse/touch :focus rings (not keyboard)
  Keyboard Tab still uses :focus-visible (yellow/custom component styles).
*/
html,
body,
*,
*::before,
*::after {
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  -webkit-focus-ring-color: rgba(0, 0, 0, 0);
}

:focus:not(:focus-visible) {
  outline: none;
  outline-color: transparent;
  box-shadow: none;
}

a:focus:not(:focus-visible),
button:focus:not(:focus-visible),
input:focus:not(:focus-visible),
textarea:focus:not(:focus-visible),
select:focus:not(:focus-visible),
summary:focus:not(:focus-visible),
[role="button"]:focus:not(:focus-visible),
[tabindex]:focus:not(:focus-visible) {
  outline: none;
  outline-color: transparent;
  box-shadow: none;
}

img,
video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page {
  min-height: 100svh;
  padding-top: var(--header-h);
  background: #000;
}

.topbar {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 42px;
  background: #000;
  border-bottom: 1px solid rgba(247, 244, 239, .1);
  direction: ltr;
}

.topbar .nav {
  direction: ltr;
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 260px;
}

.brand img,
.topbar .brand img {
  width: 212px;
  height: 64px;
  max-width: none;
  max-height: none;
  object-fit: contain;
  background: transparent;
  transform: none;
}

.nav {
  display: inline-flex;
  align-items: center;
  gap: 46px;
  color: rgba(247, 244, 239, .84);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: .03em;
  text-transform: uppercase;
}

.nav a {
  position: relative;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  flex: 0 0 auto;
  padding: 12px 0;
  text-align: center;
  contain: layout style;
}

.nav-label {
  position: relative;
  display: block;
  white-space: nowrap;
  line-height: 1;
}

.nav a.is-nav-hover {
  transition: none;
}

.nav a[aria-current="page"] .nav-label {
  font-family: Poppins, sans-serif;
  font-style: normal;
  font-weight: 700;
  font-size: 1.14em;
  letter-spacing: .03em;
  text-transform: uppercase;
  color: #f7f4ef;
  -webkit-text-fill-color: #f7f4ef;
  -webkit-text-stroke: 1.1px #12b7ff;
  paint-order: stroke fill;
}

.menu-toggle {
  display: none;
  width: 58px;
  height: 58px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 999px;
  background: rgba(255, 255, 255, .06);
  cursor: pointer;
  position: relative;
}

.menu-toggle::before,
.menu-toggle::after {
  content: none;
  display: none;
}

.menu-icon {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.menu-icon > * {
  position: absolute;
  display: block;
  box-sizing: border-box;
}

/* Hamburger bars */
.mi-bar {
  left: 17px;
  right: 17px;
  height: 2.5px;
  border-radius: 999px;
  background: #fff;
  opacity: 1;
  transform: translate3d(0, 0, 0) scaleX(1);
  transform-origin: center;
  transition:
    opacity .48s cubic-bezier(0.4, 0, 0.2, 1),
    transform .55s cubic-bezier(0.22, 1, 0.36, 1);
}

.mi-bar--top { top: 19px; }
.mi-bar--mid { top: 28px; }
.mi-bar--bot { top: 37px; }

/* Face: open eye (right), X-eye (left), smile — no circle */
.mi-eye--open {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #fff;
  top: 20px;
  left: 35px;
  opacity: 0;
  transform: scale(0.2);
  transform-origin: center;
  transition:
    opacity .4s cubic-bezier(0.22, 1, 0.36, 1),
    transform .5s cubic-bezier(0.22, 1, 0.36, 1);
}

.mi-eye--x {
  width: 12px;
  height: 12px;
  top: 16px;
  left: 15px;
  opacity: 0;
  transform: scale(0.25);
  transform-origin: center;
  transition:
    opacity .4s cubic-bezier(0.22, 1, 0.36, 1),
    transform .5s cubic-bezier(0.22, 1, 0.36, 1),
    width .5s cubic-bezier(0.22, 1, 0.36, 1),
    height .5s cubic-bezier(0.22, 1, 0.36, 1),
    top .5s cubic-bezier(0.22, 1, 0.36, 1),
    left .5s cubic-bezier(0.22, 1, 0.36, 1);
}

.mi-xstroke {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 11px;
  height: 2.5px;
  border-radius: 999px;
  background: #fff;
  transform: translate(-50%, -50%) rotate(45deg);
  transition:
    width .5s cubic-bezier(0.22, 1, 0.36, 1),
    height .3s ease,
    transform .5s cubic-bezier(0.22, 1, 0.36, 1);
}

.mi-xstroke--b {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.mi-mouth {
  width: 16px;
  height: 9px;
  left: 50%;
  top: 33px;
  margin-left: -8px;
  border: 2.5px solid #fff;
  border-top: 0;
  border-radius: 0 0 12px 12px;
  background: transparent;
  opacity: 0;
  transform: scaleX(0.35) scaleY(0.2) translateY(4px);
  transform-origin: 50% 0%;
  transition:
    opacity .42s cubic-bezier(0.22, 1, 0.36, 1) .06s,
    transform .55s cubic-bezier(0.22, 1, 0.36, 1) .04s;
}

@keyframes mi-wink {
  0%   { transform: scale(1, 1); }
  35%  { transform: scale(1.08, 0.12); }
  70%  { transform: scale(1.12, 1.08); }
  100% { transform: scale(1, 1); }
}

@keyframes mi-x-pop {
  0%   { transform: scale(0.72); }
  58%  { transform: scale(1.2); }
  100% { transform: scale(1); }
}

@keyframes mi-x-close-pop {
  0%   { transform: scale(1); opacity: 1; }
  28%  { transform: scale(1.18); opacity: 1; }
  100% { transform: scale(0.35); opacity: 0; }
}

@keyframes mi-bar-return {
  0%   { opacity: 0; transform: scaleX(0.2); }
  60%  { opacity: 1; transform: scaleX(1.08); }
  100% { opacity: 1; transform: scaleX(1); }
}

/* Stage: bars flow into face */
body.menu-open.menu-icon-face:not(.menu-closing) .mi-bar--top {
  opacity: 0;
  transform: translate3d(-10px, -1px, 0) scaleX(0.18);
  transition-delay: 0s;
}

body.menu-open.menu-icon-face:not(.menu-closing) .mi-bar--mid {
  opacity: 0;
  transform: translate3d(9px, -7px, 0) scaleX(0.2);
  transition-delay: .04s;
}

body.menu-open.menu-icon-face:not(.menu-closing) .mi-bar--bot {
  opacity: 0;
  transform: translate3d(0, -3px, 0) scaleX(0.42);
  transition-delay: .08s;
}

body.menu-open.menu-icon-face:not(.menu-closing) .mi-eye--x {
  opacity: 1;
  transform: scale(1);
  transition-delay: .12s;
}

body.menu-open.menu-icon-face:not(.menu-closing) .mi-eye--open {
  opacity: 1;
  transform: scale(1);
  transition-delay: .18s;
}

body.menu-open.menu-icon-face:not(.menu-closing) .mi-mouth {
  opacity: 1;
  transform: scaleX(1) scaleY(1) translateY(0);
  transition-delay: .22s;
}

/* Stage: X-eye wink / blink */
body.menu-open.menu-icon-wink:not(.menu-closing) .mi-bar {
  opacity: 0;
  transform: scaleX(0);
}

body.menu-open.menu-icon-wink:not(.menu-closing) .mi-eye--open,
body.menu-open.menu-icon-wink:not(.menu-closing) .mi-mouth {
  opacity: 1;
  transform: scale(1) translateY(0);
}

body.menu-open.menu-icon-wink:not(.menu-closing) .mi-eye--x {
  opacity: 1;
  animation: mi-wink .38s cubic-bezier(0.4, 0, 0.2, 1) both;
}

/* Stage: X expands with overshoot (120% → 100%) */
body.menu-open.menu-icon-x:not(.menu-closing) .mi-bar {
  opacity: 0;
  transform: scaleX(0);
}

body.menu-open.menu-icon-x:not(.menu-closing) .mi-eye--open,
body.menu-open.menu-icon-x:not(.menu-closing) .mi-mouth {
  opacity: 0;
  transform: scale(0.3);
  transition-duration: .28s, .28s;
  transition-delay: 0s;
}

body.menu-open.menu-icon-x:not(.menu-closing) .mi-eye--x {
  opacity: 1;
  width: 24px;
  height: 24px;
  top: 17px;
  left: 17px;
  transform: scale(1);
  transition:
    width .48s cubic-bezier(0.22, 1, 0.36, 1),
    height .48s cubic-bezier(0.22, 1, 0.36, 1),
    top .48s cubic-bezier(0.22, 1, 0.36, 1),
    left .48s cubic-bezier(0.22, 1, 0.36, 1),
    opacity .2s ease;
  animation: mi-x-pop .52s cubic-bezier(0.22, 1, 0.36, 1) both;
}

body.menu-open.menu-icon-x:not(.menu-closing) .mi-xstroke {
  width: 24px;
  height: 2.5px;
}

/* Close: X pops, then bars ease back in */
body.menu-closing .mi-eye--open,
body.menu-closing .mi-mouth {
  opacity: 0;
  transform: scale(0.3);
  transition-duration: .2s, .2s;
}

body.menu-closing .mi-eye--x {
  width: 24px;
  height: 24px;
  top: 17px;
  left: 17px;
  animation: mi-x-close-pop .46s cubic-bezier(0.4, 0, 0.2, 1) both;
}

body.menu-closing .mi-xstroke {
  width: 24px;
  height: 2.5px;
}

body.menu-closing .mi-bar {
  animation: mi-bar-return .52s cubic-bezier(0.22, 1, 0.36, 1) .28s both;
}

body.menu-closing .mi-bar--mid {
  animation-delay: .34s;
}

body.menu-closing .mi-bar--bot {
  animation-delay: .4s;
}

.page-hero {
  min-height: min(300px, calc(40svh - var(--header-h)));
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: end;
  column-gap: clamp(24px, 3vw, 48px);
  row-gap: 20px;
  padding: clamp(32px, 3.6vw, 48px) clamp(22px, 5vw, 70px) clamp(36px, 4vw, 56px);
  border-bottom: 1px solid var(--line);
  background: #000;
}

.page-hero-text {
  display: grid;
  gap: 16px;
  align-content: end;
  min-width: 0;
}

.page-hero .page-title {
  max-width: none;
  font-size: clamp(44px, 6.4vw, 96px);
  font-weight: 300;
  line-height: .92;
  letter-spacing: -0.015em;
  color: var(--ink);
}

.page-hero-lead {
  position: relative;
  max-width: 28ch;
  margin: 0;
  padding: 0 0 0.18em clamp(16px, 1.6vw, 22px);
  border-left: 1px solid color-mix(in srgb, var(--pink) 72%, transparent);
  color: color-mix(in srgb, var(--ink) 58%, transparent);
  font-size: clamp(14px, 1.15vw, 17px);
  font-weight: 300;
  line-height: 1.55;
  letter-spacing: 0.02em;
}

@media (max-width: 900px) {
  .page-hero {
    min-height: 0;
    grid-template-columns: 1fr;
    align-items: start;
    gap: 18px;
    padding: clamp(28px, 4.5vw, 44px) clamp(22px, 5vw, 70px) clamp(32px, 5vw, 48px);
  }

  .page-hero .page-title {
    font-size: clamp(40px, 9.5vw, 68px);
  }

  .page-hero-lead {
    max-width: 36ch;
    padding: 0 0 0 clamp(14px, 3vw, 20px);
    font-size: clamp(15px, 2.2vw, 18px);
  }
}

.kicker,
.contact-kicker {
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: var(--section-kicker-gap);
  color: var(--yellow);
  font-family: Poppins, sans-serif;
  font-size: var(--section-kicker-size);
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.kicker::before {
  content: "";
  width: var(--section-kicker-line);
  height: 3px;
  background: var(--pink);
  flex: 0 0 auto;
}

.contact-kicker span {
  width: var(--section-kicker-line);
  height: 3px;
  background: var(--pink);
  flex: 0 0 auto;
  transform-origin: left;
  animation: contact-strike 2.7s var(--ease) infinite;
  box-shadow: 0 0 18px rgba(255, 22, 141, .28);
}

.page-title {
  margin: 0;
  max-width: 1180px;
  font-size: clamp(52px, 8.2vw, 132px);
  font-weight: 300;
  line-height: .9;
  letter-spacing: 0;
}

.lead {
  margin: 0;
  max-width: 820px;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 29px);
  font-weight: 300;
  line-height: 1.42;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 4px;
  padding: 4px;
  background: #000;
}

.work {
  position: relative;
  display: block;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #000;
  isolation: isolate;
  outline: 0;
  transition: transform .42s var(--ease), box-shadow .42s var(--ease);
}

.work-media {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: #000;
}

.work img,
.work video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  object-fit: cover;
  object-position: center;
  display: block;
  filter: saturate(.94) contrast(1.04) brightness(.92);
  transform: scale(1.06);
  transition: transform .8s var(--ease), filter .45s ease;
}

.work-media video {
  transform: scale(1.1);
}

/* Safari: never show native play chrome on muted grid loops */
.work video,
.work-media video,
.similar-grid-media video {
  pointer-events: none;
}

.work video::-webkit-media-controls,
.work-media video::-webkit-media-controls,
.similar-grid-media video::-webkit-media-controls,
.work video::-webkit-media-controls-enclosure,
.work-media video::-webkit-media-controls-enclosure,
.similar-grid-media video::-webkit-media-controls-enclosure,
.work video::-webkit-media-controls-start-playback-button,
.work-media video::-webkit-media-controls-start-playback-button,
.similar-grid-media video::-webkit-media-controls-start-playback-button {
  display: none !important;
  -webkit-appearance: none;
  opacity: 0;
  width: 0;
  height: 0;
}

/* Autoplay blocked (Low Power Mode / preference): poster on wrap, hide stalled video chrome */
.work-media.is-poster-fallback,
.similar-grid-media.is-poster-fallback {
  background-color: transparent;
}

.work video.is-autoplay-blocked,
.work-media video.is-autoplay-blocked,
.similar-grid-media video.is-autoplay-blocked {
  opacity: 0;
}

.work:hover,
.work:focus-visible {
  z-index: 5;
  transform: none;
  box-shadow: 0 22px 64px rgba(0, 0, 0, .72);
}

.work:hover .work-media img,
.work:hover .work-media video,
.work:focus-visible .work-media img,
.work:focus-visible .work-media video,
.work:hover img,
.work:focus-visible img,
.work:hover video,
.work:focus-visible video {
  transform: scale(1.12);
  filter: saturate(1.08) contrast(1.06) brightness(1);
}

.work:hover .work-media video,
.work:focus-visible .work-media video {
  transform: scale(1.16);
}

.work::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  top: 44%;
  z-index: 1;
  height: auto;
  background: linear-gradient(
    180deg,
    transparent 0%,
    rgba(0, 0, 0, .12) 22%,
    rgba(0, 0, 0, .48) 54%,
    rgba(0, 0, 0, .82) 100%
  );
  opacity: 0;
  transform: translateY(10%);
  transition: opacity .4s ease, transform .48s var(--ease);
}

.work:hover::after,
.work:focus-visible::after {
  opacity: 1;
  transform: translateY(0);
}

.work-frame {
  display: none;
}

.work-title {
  position: absolute;
  z-index: 2;
  inset: auto 20px 20px;
  display: grid;
  justify-items: start;
  gap: 10px;
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .34s ease, transform .38s var(--ease);
}

.work-title::before {
  content: "";
  width: 42px;
  height: 2px;
  background: var(--pink);
}

.work:hover .work-title,
.work:focus-visible .work-title {
  opacity: 1;
  transform: translateY(0);
}

.work-title strong {
  font-size: clamp(25px, 2.2vw, 38px);
  line-height: 1;
  font-weight: 600;
}

.work-title span {
  color: rgba(247, 244, 239, .72);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.about-split {
  min-height: calc(100svh - var(--header-h));
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  background: #000;
}

.about-video {
  width: min(50vw, calc(100svh - var(--header-h)));
  height: min(50vw, calc(100svh - var(--header-h)));
  align-self: center;
  justify-self: start;
  background: #000;
}

.about-video video {
  object-fit: contain;
  filter: grayscale(.08) contrast(1.04) brightness(.86);
}

.about-copy {
  display: grid;
  align-content: center;
  gap: clamp(16px, 2vw, 28px);
  padding: clamp(36px, 5vw, 78px) clamp(26px, 6vw, 96px);
}

.about-copy h1,
.contact-panel h1 {
  margin: 0;
  max-width: 820px;
  font-size: clamp(42px, 5.4vw, 92px);
  font-weight: 300;
  line-height: .98;
}

.about-copy p,
.contact-panel p {
  margin: 0;
  max-width: 760px;
  color: rgba(247, 244, 239, .78);
  font-size: clamp(17px, 1.45vw, 23px);
  font-weight: 300;
  line-height: 1.48;
}

.about-list {
  display: flex;
  flex-wrap: wrap;
  width: min(100%, 620px);
  gap: 12px;
}

.about-item {
  flex: 1 1 150px;
  display: grid;
  gap: 8px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(247, 244, 239, .18);
  position: relative;
}

.about-item::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 34%;
  height: 1px;
  background: var(--pink);
  transform-origin: left;
  animation: about-line 2.8s var(--ease) infinite;
}

.about-item span {
  color: var(--pink);
  font-family: Poppins, sans-serif;
  font-size: clamp(20px, 1.5vw, 28px);
  font-weight: 600;
  letter-spacing: .06em;
  line-height: 1.1;
  text-transform: uppercase;
}

.about-item strong {
  font-size: clamp(14px, .95vw, 16px);
  font-weight: 300;
  line-height: 1.18;
}

@keyframes about-line {
  0%, 100% { transform: scaleX(.35); opacity: .45; }
  50% { transform: scaleX(1); opacity: 1; }
}

.contact-wrap {
  min-height: calc(100svh - var(--header-h));
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, .72fr);
  background: #000;
}

.contact-lab {
  position: relative;
  overflow: hidden;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, .72fr);
  border-bottom: 1px solid var(--line);
}

.contact-lab::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(255, 22, 141, .11), transparent 34%),
    radial-gradient(circle at 80% 18%, rgba(255, 237, 57, .08), transparent 28%),
    repeating-linear-gradient(90deg, rgba(247, 244, 239, .045) 0 1px, transparent 1px 84px);
  opacity: .72;
}

.contact-panel {
  position: relative;
  z-index: 1;
  display: grid;
  align-content: center;
  gap: 28px;
  padding: clamp(52px, 7vw, 110px) clamp(22px, 6vw, 96px);
}

.section-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--yellow);
  font-family: Poppins, sans-serif;
  font-size: clamp(15px, 1.1vw, 18px);
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  border-bottom: 2px solid var(--pink);
  padding-bottom: 5px;
  transition: color .22s ease, border-color .22s ease, gap .22s var(--ease);
}

.section-link::after {
  content: "→";
  font-size: 1.15em;
  line-height: 1;
  transition: transform .22s var(--ease);
}

.section-link:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, .72);
}

.section-link:hover::after {
  transform: translateX(4px);
}

.about-more {
  margin: clamp(8px, 1.2vw, 16px) 0 0;
}

.contact-panel h1 {
  letter-spacing: 0;
  text-wrap: balance;
}

.contact-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  max-width: 720px;
}

.contact-points span {
  border: 1px solid rgba(247, 244, 239, .18);
  padding: 10px 13px;
  color: rgba(247, 244, 239, .72);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, .025);
}

.contact-links {
  display: grid;
  gap: 1px;
  border: 1px solid var(--line);
  max-width: 720px;
}

.contact-links a {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 22px;
  color: rgba(247, 244, 239, .86);
  background: rgba(255, 255, 255, .02);
  transition: color .2s ease, background .2s ease;
}

.contact-links a:hover {
  color: #fff;
  background: rgba(255, 255, 255, .05);
}

.contact-aside {
  position: relative;
  z-index: 1;
  display: grid;
  align-content: end;
  padding: clamp(32px, 5vw, 78px);
  border-left: 1px solid var(--line);
  background:
    linear-gradient(180deg, transparent, rgba(255, 22, 141, .08)),
    #000;
}

.contact-aside img {
  width: 260px;
  height: auto;
  object-fit: contain;
}

.contact-card {
  align-content: center;
  gap: 26px;
  background:
    linear-gradient(180deg, rgba(255, 22, 141, .08), transparent 44%),
    linear-gradient(135deg, rgba(255, 255, 255, .055), transparent 36%),
    #000;
}

.contact-card::before {
  content: "";
  position: absolute;
  inset: clamp(18px, 3vw, 42px);
  border: 1px solid rgba(247, 244, 239, .16);
  pointer-events: none;
}

.contact-card-head {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: end;
  color: rgba(247, 244, 239, .72);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.contact-card-head strong {
  color: var(--pink);
  font-size: 13px;
}

.contact-form {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 14px;
}

.contact-form label {
  display: grid;
  gap: 8px;
}

.contact-form label span {
  color: rgba(247, 244, 239, .62);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(247, 244, 239, .16);
  border-radius: 0;
  background: rgba(255, 255, 255, .035);
  color: #fff;
  font: inherit;
  font-size: 16px;
  outline: 0;
  padding: 15px 16px;
  transition: border-color .2s ease, background .2s ease, box-shadow .2s ease;
}

.contact-form textarea {
  resize: vertical;
  min-height: 128px;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: rgba(255, 22, 141, .78);
  background: rgba(255, 255, 255, .055);
  box-shadow: 0 0 0 1px rgba(255, 22, 141, .2), 0 0 34px rgba(255, 22, 141, .1);
}

.contact-form button {
  min-height: 56px;
  border: 0;
  background: var(--yellow);
  color: #050505;
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
  transition: transform .24s var(--ease), background .22s ease;
}

.contact-form button:hover {
  transform: translateY(-2px);
  background: #fff35b;
}

.contact-orbit {
  position: absolute;
  right: clamp(18px, 4vw, 64px);
  bottom: clamp(18px, 4vw, 62px);
  z-index: 0;
  display: grid;
  justify-items: end;
  color: rgba(247, 244, 239, .035);
  font-size: clamp(70px, 11vw, 168px);
  font-weight: 900;
  line-height: .78;
  letter-spacing: -.04em;
  text-transform: uppercase;
  animation: contact-type 4.8s steps(1, end) infinite;
}

@keyframes contact-strike {
  0%, 100% { transform: scaleX(.42); opacity: .72; }
  32% { transform: translateX(8px) scaleX(1.35); opacity: 1; }
  40% { transform: translateX(12px) scaleX(.8); }
}

@keyframes contact-type {
  0%, 100% {
    font-family: Poppins, sans-serif;
    font-weight: 900;
  }
  33% {
    font-family: Georgia, "Times New Roman", serif;
    font-style: italic;
    font-weight: 400;
  }
  66% {
    font-family: "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
    font-weight: 300;
    letter-spacing: .02em;
  }
}

.contact-start {
  grid-template-columns: minmax(280px, .42fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(36px, 6vw, 96px);
  padding: clamp(64px, 8vw, 120px) clamp(22px, 7vw, 120px);
  background:
    linear-gradient(90deg, rgba(0, 0, 0, .34), transparent 42%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, .025) 0 1px, transparent 1px 78px),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, .018) 0 1px, transparent 1px 72px),
    #202625;
  color: #fff;
}

.contact-start-title {
  display: grid;
  align-content: center;
  gap: 24px;
}

.contact-start-title h1 {
  margin: 0;
  max-width: 460px;
  font-size: clamp(54px, 5.7vw, 118px);
  font-weight: 900;
  line-height: .92;
  letter-spacing: -.04em;
}

.contact-start-title p {
  margin: 0;
  color: rgba(247, 244, 239, .42);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .24em;
  text-transform: uppercase;
}

.contact-sentence {
  display: grid;
  gap: clamp(34px, 4vw, 58px);
  align-content: center;
}

.contact-sentence p {
  margin: 0;
  color: #fff;
  font-size: clamp(34px, 3.25vw, 68px);
  font-weight: 800;
  line-height: 1.32;
  letter-spacing: -.035em;
}

.contact-sentence label {
  display: inline-grid;
  vertical-align: baseline;
  min-width: min(460px, 100%);
  margin: 0 .18em;
  position: relative;
}

.contact-sentence .select-field {
  min-width: min(520px, 100%);
}

.contact-sentence .email-field {
  min-width: min(560px, 100%);
}

.field-label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.contact-sentence input,
.contact-sentence select {
  width: 100%;
  border: 0;
  border-bottom: 2px solid rgba(247, 244, 239, .38);
  border-radius: 0;
  background: transparent;
  color: #fff;
  font: inherit;
  font-size: .42em;
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: .08em;
  text-transform: uppercase;
  outline: 0;
  padding: 0 0 .28em;
  transform: translateY(-.08em);
  transition: border-color .22s ease, background .22s ease, color .22s ease;
}

.contact-sentence select {
  appearance: none;
  background:
    linear-gradient(90deg, rgba(255, 22, 141, .16), rgba(255, 255, 255, .08)),
    transparent;
  padding-inline: .45em;
}

.contact-sentence input::placeholder {
  color: rgba(247, 244, 239, .34);
}

.contact-sentence input:focus,
.contact-sentence select:focus {
  border-color: var(--pink);
  color: var(--yellow);
  background: rgba(255, 255, 255, .04);
}

.contact-sentence button {
  justify-self: start;
  border: 0;
  background: transparent;
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-size: 15px;
  font-weight: 900;
  letter-spacing: .16em;
  text-transform: uppercase;
  padding: 0;
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.contact-sentence button::before {
  content: "";
  width: 34px;
  height: 2px;
  background: #fff;
  transition: width .22s var(--ease), background .22s ease;
}

.contact-sentence button:hover::before {
  width: 54px;
  background: var(--pink);
}

.project-page {
  background: #efefef;
  color: #191919;
}

html[lang="en"] .project-page,
html[lang="en"] .project-page p,
html[lang="en"] .project-page li,
html[lang="en"] .project-page h1,
html[lang="en"] .project-page h2,
html[lang="en"] .project-page .project-eyebrow,
html[lang="en"] .site-footer p,
html[lang="en"] .site-footer li,
html[lang="en"] .lead,
html[lang="en"] .about-copy,
html[lang="en"] .about-copy p,
html[lang="en"] .contact-panel p {
  hyphens: none;
  -webkit-hyphens: none;
  -ms-hyphens: none;
  font-family: Poppins, sans-serif;
}

html[lang="en"] .project-page p,
html[lang="en"] .site-footer p,
html[lang="en"] .lead,
html[lang="en"] .about-copy p,
html[lang="en"] .contact-panel p {
  word-break: normal;
  overflow-wrap: normal;
}

/* English description body — light backgrounds (Torr reference) */
html[lang="en"] .project-page .project-intro p,
html[lang="en"] .project-page .torr-intro-copy p,
html[lang="en"] .project-page .palram-intro-copy p,
html[lang="en"] .project-page .arava-intro p:not(.project-eyebrow) {
  color: rgba(30, 30, 30, .68);
  font-size: clamp(14px, 1.05vw, 17px);
  font-weight: 400;
  line-height: 1.62;
  letter-spacing: 0;
}

/* English description body — dark backgrounds */
html[lang="en"] .project-page .cs-intro-copy > p:not(.project-eyebrow),
html[lang="en"] .project-page .pcb-intro-copy p,
html[lang="en"] .project-page .pcb-intro--mobile p,
html[lang="en"] .project-page .scantcom-intro-lead,
html[lang="en"] .project-page .scantcom-intro-detail,
html[lang="en"] .project-page .cup-intro-lead,
html[lang="en"] .project-page .cup-intro-detail,
html[lang="en"] .project-page .polyram-intro-lead,
html[lang="en"] .project-page .polyram-intro-detail,
html[lang="en"] .project-page .polyram-intro-subtitle,
html[lang="en"] .project-page .nextcom-intro-lead,
html[lang="en"] .project-page .gomixapp-intro-lead,
html[lang="en"] .project-page .gomixapp-intro-detail,
html[lang="en"] .project-page .mer-intro-lead,
html[lang="en"] .project-page .misgav-intro-lead,
html[lang="en"] .project-page .misgav-intro-detail,
html[lang="en"] .project-page .merba-intro-lead,
html[lang="en"] .project-page .merba-intro-detail,
html[lang="en"] .project-page .ipc-intro-lead,
html[lang="en"] .project-page .ipc-intro-detail,
html[lang="en"] .project-page .eleinikto-intro-lead,
html[lang="en"] .project-page .eleinikto-intro-detail,
html[lang="en"] .project-page .optimai-intro-lead,
html[lang="en"] .project-page .optimai-intro-detail,
html[lang="en"] .project-page .sivan-intro-lead,
html[lang="en"] .project-page .sivan-intro-detail,
html[lang="en"] .project-page .canada-intro-lead,
html[lang="en"] .project-page .canada-intro-detail,
html[lang="en"] .project-page .canada-intro-note,
html[lang="en"] .project-page .metroboard-copy-body p {
  font-size: clamp(14px, 1.05vw, 17px);
  font-weight: 400;
  line-height: 1.62;
  letter-spacing: 0;
}

html[lang="en"] .project-page .cs-intro-copy > p:not(.project-eyebrow),
html[lang="en"] .project-page .pcb-intro-copy p,
html[lang="en"] .project-page .pcb-intro--mobile p {
  color: rgba(255, 255, 255, .88);
}

html[lang="en"] .project-page .scantcom-intro-lead,
html[lang="en"] .project-page .cup-intro-lead,
html[lang="en"] .project-page .polyram-intro-lead,
html[lang="en"] .project-page .polyram-intro-subtitle,
html[lang="en"] .project-page .nextcom-intro-lead,
html[lang="en"] .project-page .gomixapp-intro-lead,
html[lang="en"] .project-page .mer-intro-lead,
html[lang="en"] .project-page .misgav-intro-lead,
html[lang="en"] .project-page .merba-intro-lead,
html[lang="en"] .project-page .ipc-intro-lead,
html[lang="en"] .project-page .eleinikto-intro-lead,
html[lang="en"] .project-page .optimai-intro-lead,
html[lang="en"] .project-page .sivan-intro-lead,
html[lang="en"] .project-page .canada-intro-lead {
  color: rgba(255, 255, 255, .88);
}

html[lang="en"] .project-page .scantcom-intro-detail,
html[lang="en"] .project-page .cup-intro-detail,
html[lang="en"] .project-page .polyram-intro-detail,
html[lang="en"] .project-page .gomixapp-intro-detail,
html[lang="en"] .project-page .misgav-intro-detail,
html[lang="en"] .project-page .merba-intro-detail,
html[lang="en"] .project-page .ipc-intro-detail,
html[lang="en"] .project-page .eleinikto-intro-detail,
html[lang="en"] .project-page .optimai-intro-detail,
html[lang="en"] .project-page .sivan-intro-detail,
html[lang="en"] .project-page .canada-intro-detail {
  color: rgba(255, 255, 255, .72);
}

html[lang="en"] .project-page .metroboard-copy-body p {
  color: rgba(244, 244, 244, .68);
}

html[lang="en"] .about-copy p,
html[lang="en"] .contact-panel p {
  font-size: clamp(14px, 1.05vw, 17px);
  font-weight: 400;
  line-height: 1.62;
  letter-spacing: 0;
}

.project-hero {
  position: relative;
  aspect-ratio: 1920 / 760;
  min-height: 0;
  overflow: hidden;
  background: #d8f4f6;
}

.arava-hero {
  aspect-ratio: 1920 / 760;
  background: #e9f6f5;
}

.project-hero img,
.project-hero video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.arava-hero-desktop-media {
  display: block;
  object-position: center 50%;
}

.arava-logo-mobile-media,
.project-mosaic .mobile-ad {
  display: none;
}

.arava-hero-mobile-media {
  display: none !important;
}

.project-hero-title {
  position: absolute;
  left: clamp(32px, 9vw, 190px);
  top: clamp(92px, 12vw, 170px);
  color: #fff;
  text-shadow: 0 12px 44px rgba(22, 123, 145, .28);
}

.project-hero-title span {
  display: block;
  color: rgba(255, 255, 255, .66);
  font-size: clamp(17px, 2.5vw, 38px);
  font-weight: 300;
  line-height: .9;
}

.project-hero-title h1 {
  margin: 0;
  font-size: clamp(34px, 4.4vw, 82px);
  font-weight: 800;
  line-height: .88;
  letter-spacing: -.04em;
}

.project-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, .9fr);
  background: #f4f4f4;
  border-bottom: 1px solid #ddd;
}

.project-intro > div {
  min-height: clamp(260px, 22vw, 410px);
  display: grid;
  align-content: center;
  padding: clamp(34px, 5vw, 82px) clamp(26px, 7vw, 116px);
}

.project-intro > div + div {
  border-left: 1px solid #ddd;
}

.project-eyebrow {
  margin: 0 0 12px;
  color: #cfcfcf;
  font-size: clamp(30px, 4vw, 72px);
  font-weight: 300;
  line-height: 1;
}

.project-intro h2 {
  margin: 0 0 18px;
  max-width: 640px;
  color: #242424;
  font-size: clamp(22px, 2.2vw, 42px);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -.02em;
}

.project-intro p {
  margin: 0;
  max-width: 740px;
  color: rgba(25, 25, 25, .62);
  font-size: clamp(14px, 1vw, 18px);
  line-height: 1.65;
}

.project-logo-motion {
  place-items: center;
  background: #ececec;
}

.project-logo-motion:not(.arava-logo-before) video {
  width: min(420px, 80%);
  height: auto;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.arava-intro {
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, .85fr);
  background: #f5f5f5;
  border-top: 6px solid #fff;
  border-bottom: 6px solid #fff;
}

.arava-intro > div {
  min-height: clamp(330px, 30vw, 520px);
}

.arava-intro-copy {
  background: #fff;
  align-content: center;
  grid-template-columns: minmax(0, 720px) minmax(180px, 1fr);
  column-gap: clamp(42px, 6vw, 118px);
}

.arava-intro .project-eyebrow {
  grid-column: 1;
  margin-bottom: clamp(14px, 1.45vw, 24px);
  color: #edc4c9;
  font-size: clamp(54px, 5vw, 90px);
  font-weight: 300;
  letter-spacing: -.02em;
}

.arava-intro p:not(.project-eyebrow) {
  grid-column: 1;
  max-width: 720px;
  color: rgba(30, 30, 30, .68);
  font-size: clamp(14px, 1.05vw, 17px);
  font-weight: 400;
  line-height: 1.62;
}

.arava-intro p + p {
  margin-top: clamp(22px, 2vw, 32px);
}

.project-scope {
  grid-column: 2;
  grid-row: 2 / span 3;
  align-self: center;
  justify-self: stretch;
  display: grid;
  gap: 0;
  max-width: 390px;
  margin: 0 0 .35em;
  padding: 0;
  list-style: none;
  counter-reset: project-scope;
}

.project-scope::before {
  content: "Scope";
  display: block;
  margin-bottom: 20px;
  color: rgba(237, 142, 160, .72);
  font-size: clamp(14px, .95vw, 18px);
  font-weight: 800;
  letter-spacing: .2em;
  text-transform: uppercase;
}

.project-scope li {
  counter-increment: project-scope;
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  align-items: center;
  gap: 18px;
  min-height: 50px;
  padding: 11px 0;
  border-top: 1px solid rgba(120, 120, 120, .16);
  color: rgba(40, 40, 40, .58);
  background: transparent;
  font-size: clamp(14px, 1vw, 18px);
  font-weight: 700;
  letter-spacing: .07em;
  line-height: 1.15;
  text-transform: uppercase;
}

.project-scope li::before {
  content: counter(project-scope, decimal-leading-zero);
  width: auto;
  height: auto;
  margin: 0;
  border-radius: 0;
  background: transparent;
  color: rgba(237, 142, 160, .72);
  font-size: clamp(20px, 1.55vw, 30px);
  font-weight: 300;
  letter-spacing: .02em;
}

.arava-logo-before {
  display: grid;
  place-items: center;
  align-content: center;
  position: relative;
  min-height: clamp(320px, 27.5vw, 530px);
  padding: 0;
  gap: 0;
  background: #eeeeee;
  overflow: hidden;
}

.arava-logo-desktop-media {
  position: absolute;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center;
  display: block !important;
  mix-blend-mode: normal !important;
  transform: none;
  transform-origin: center;
}

.project-mosaic {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 6px;
  background: #fff;
  border-top: 0;
}

.project-mosaic-mobile {
  display: none;
}

.project-mosaic .tile {
  margin: 0;
  min-height: 0;
  aspect-ratio: 960 / 640;
  background: #f3f3f3;
  overflow: hidden;
}

.project-mosaic .half,
.project-mosaic .wide {
  grid-column: span 3;
}

.project-mosaic .full {
  grid-column: 1 / -1;
  aspect-ratio: 1920 / 760;
}

.project-mosaic .third {
  grid-column: span 2;
  aspect-ratio: 458 / 642;
}

.project-mosaic img,
.project-mosaic video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.project-mosaic .full img,
.project-mosaic .full video {
  object-fit: cover;
}

.project-mosaic .boxes {
  aspect-ratio: 960 / 642;
}

.project-mosaic .product-pack {
  aspect-ratio: 960 / 642;
}

.project-mosaic .product-pack img,
.project-mosaic .pink-pack img {
  object-position: center;
}

.project-mosaic .product-line,
.project-mosaic .package-system,
.project-mosaic .brochure,
.project-mosaic .pink-pack {
  aspect-ratio: 960 / 640;
}

.project-mosaic .arava-row {
  aspect-ratio: 1920 / 758;
}

.project-mosaic .arava-row.short {
  aspect-ratio: 1920 / 690;
}

.project-mosaic .social,
.project-mosaic .posters {
  aspect-ratio: 1920 / 1280;
}

.project-mosaic .arava-row img,
.project-mosaic .social img,
.project-mosaic .posters img,
.project-mosaic .display img,
.project-mosaic .bath img {
  object-fit: cover;
}

.project-mosaic .bottle-motion,
.project-mosaic .kit {
  aspect-ratio: 960 / 640;
  background: #f3f3f3;
}

.project-mosaic .bottle-motion video,
.project-mosaic .kit img {
  object-fit: cover;
}

.project-mosaic .display {
  aspect-ratio: 1920 / 813;
}

.project-mosaic .exhibition {
  aspect-ratio: 1920 / 340;
  background: #303030;
}

.project-mosaic .exhibition video {
  object-fit: cover;
  object-position: center 48%;
}

.project-mosaic .bath {
  aspect-ratio: 1925 / 909;
}

.metroboard-page {
  --metro-red: #e10600;
  --metro-ink: #f4f4f4;
  background-color: #000;
  background-image: url("assets/projects/metroboard/metro-bg.jpg");
  background-position: 50% 50%;
  background-size: cover;
  background-attachment: fixed;
  background-repeat: no-repeat;
}

.metroboard-page .metroboard-copy,
.metroboard-page .metro-section,
.metroboard-page .similar-projects,
.metroboard-page .site-footer {
  background-color: #000;
}

.metroboard-page .metroboard-copy {
  background: #111;
  border-bottom: 0;
}

.metroboard-page .metro-brand-block,
.metroboard-page .metro-website-2017,
.metroboard-page .metro-2016 {
  background: transparent;
  background-color: transparent;
}

.metroboard-page .similar-projects {
  border-top: 6px solid #000;
}

.metroboard-hero {
  position: relative;
  aspect-ratio: auto;
  height: 60svh;
  min-height: 320px;
  max-height: 720px;
  background: #050505;
}

.metroboard-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, .28) 0%, rgba(0, 0, 0, .18) 42%, rgba(0, 0, 0, .55) 100%),
    rgba(0, 0, 0, .22);
}

.metroboard-hero-video,
.metroboard-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.metroboard-copy {
  display: flex;
  align-items: center;
  justify-content: stretch;
  width: 100%;
  max-width: none;
  margin: 0;
  height: auto;
  min-height: clamp(420px, 58svh, 720px);
  max-height: none;
  padding: clamp(28px, 4vw, 52px) clamp(18px, 3vw, 40px) clamp(28px, 4vw, 52px) clamp(22px, 7vw, 110px);
  background: #111;
  border-bottom: 0;
  box-sizing: border-box;
  overflow: visible;
  position: relative;
  z-index: 0;
}

.metroboard-copy-shell {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(360px, 1.1fr);
  gap: clamp(16px, 2.5vw, 40px);
  align-items: center;
  width: 100%;
  max-width: none;
}

.metroboard-copy-main {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(24px, 2.8vw, 40px);
  align-items: start;
  min-width: 0;
  width: fit-content;
  max-width: 100%;
}

.metroboard-copy-brand {
  min-width: 0;
  display: grid;
  align-content: start;
  gap: 0;
  max-width: 54ch;
}

.metroboard-copy .project-eyebrow {
  display: block;
  margin: 0 0 10px;
  color: var(--metro-red);
  font-size: clamp(44px, 5.2vw, 76px);
  font-weight: 700;
  letter-spacing: -.045em;
  line-height: .9;
}

.metroboard-copy .metroboard-subtitle {
  display: block;
  margin: 0 0 clamp(18px, 2vw, 28px);
  color: rgba(244, 244, 244, .55);
  font-size: clamp(11px, .9vw, 13px);
  font-weight: 500;
  letter-spacing: .22em;
  line-height: 1.2;
  text-transform: uppercase;
}

.metroboard-copy-body {
  display: grid;
  gap: 14px;
  max-width: 52ch;
}

.metroboard-copy-body p {
  margin: 0;
  color: rgba(244, 244, 244, .68);
  font-size: clamp(14px, 1.05vw, 17px);
  font-weight: 400;
  line-height: 1.62;
}

.metroboard-copy-gap {
  display: none;
}

.metroboard-copy-product {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  height: 100%;
  overflow: visible;
}

.metroboard-copy-product img {
  display: block;
  width: min(100%, 920px);
  height: auto;
  max-height: none;
  object-fit: contain;
  object-position: center bottom;
  transform: scale(1.18);
  transform-origin: center center;
}

.metroboard-scope-panel {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(22px, 2.6vw, 36px);
  min-width: 200px;
  width: max-content;
  max-width: 260px;
  justify-self: start;
  margin: clamp(48px, 5.5vw, 78px) 0 0;
}

.metroboard-scope-group {
  min-width: 0;
}

.metroboard-scope-kicker {
  margin: 0 0 10px;
  color: rgba(225, 6, 0, .9);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .24em;
  text-transform: uppercase;
}

.metroboard-copy .project-scope {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: none;
  max-width: none;
  width: 100%;
  grid-column: auto;
  grid-row: auto;
}

.metroboard-copy .project-scope::before {
  display: none;
  content: none;
}

.metroboard-copy .project-scope li {
  position: relative;
  margin: 0;
  padding: 10px 0 10px 16px;
  border: 0;
  border-top: 1px solid rgba(255, 255, 255, .1);
  color: rgba(244, 244, 244, .78);
  font-size: clamp(11px, .85vw, 12px);
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  line-height: 1.25;
}

.metroboard-copy .project-scope li:last-child {
  border-bottom: 1px solid rgba(255, 255, 255, .1);
}

.metroboard-copy .project-scope li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 6px;
  height: 6px;
  border-radius: 1px;
  background: var(--metro-red);
  color: transparent;
  transform: translateY(-50%);
}

.metro-section {
  position: relative;
  overflow: hidden;
  background: #000;
  color: #fff;
}

.metro-section.metro-brand-block,
.metro-section.metro-website-2021,
.metro-section.metro-stock-showcase {
  overflow: visible;
}

.metro-section-label {
  margin: 0 0 clamp(18px, 2vw, 28px);
  color: rgba(255, 255, 255, .92);
  font-size: clamp(20px, 1.6vw, 24px);
  font-weight: 200;
  letter-spacing: .01em;
}

.metro-section-label.center {
  text-align: center;
}

.metro-section-label.end {
  text-align: right;
  margin: clamp(14px, 1.6vw, 22px) clamp(22px, 6vw, 90px) 0 0;
}

.metro-brand-block {
  position: relative;
  z-index: 2;
  padding: clamp(32px, 4vw, 56px) 0 clamp(48px, 5vw, 88px);
  overflow: visible;
}

.metro-logo-row {
  display: grid;
  grid-template-columns: minmax(280px, 41%) minmax(0, 59%);
  gap: 0;
  align-items: start;
  position: relative;
  z-index: 3;
  margin-top: 0;
}

.metro-logo-copy {
  position: relative;
  z-index: 2;
  padding: 0 clamp(12px, 2vw, 28px) 0 clamp(18px, 5vw, 140px);
}

.metro-brand-block .metro-section-label {
  margin: 0 0 6px;
  font-size: clamp(16px, 1.25vw, 20px);
  font-weight: 200;
  letter-spacing: .02em;
  line-height: 1.2;
  color: rgba(255, 255, 255, .88);
}

.metro-logo-copy > .metro-section-label {
  margin-left: 10%;
}

.metro-logo-main {
  display: block;
  width: min(388px, 92%);
  height: auto;
  margin: 0 0 12px;
}

.metro-logo-variants {
  display: block;
  width: min(706px, 100%);
  max-width: 100%;
  height: auto;
  object-fit: contain;
  margin-bottom: clamp(18px, 2vw, 34px);
}

.metro-logo-device {
  position: absolute;
  right: 0;
  bottom: 0;
  z-index: 4;
  width: min(1180px, 62%);
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  overflow: visible;
  pointer-events: none;
}

.metro-logo-device img {
  display: block;
  width: 100%;
  max-width: none;
  /* Transparent pad under silver chassis */
  margin-bottom: calc(100% * -207 / 2320);
  height: auto;
  object-fit: contain;
  pointer-events: auto;
}

.metro-sketches-row {
  display: grid;
  grid-template-columns: minmax(0, 52%) minmax(0, 48%);
  gap: 0;
  align-items: stretch;
  position: relative;
  z-index: 1;
  margin-top: 0;
  padding-bottom: 0;
}

.metro-sketches-grid {
  position: relative;
  z-index: 1;
  padding: 0 0 0 clamp(18px, 5vw, 140px);
}

.metro-sketches-grid img {
  display: block;
  width: min(653px, 100%);
  height: auto;
  object-fit: contain;
}

.metro-grip-stage {
  position: relative;
  z-index: 5;
  min-height: 100%;
  height: 100%;
  display: block;
  overflow: visible;
  padding: 0 clamp(12px, 3vw, 40px) 0 0;
}

.metro-grip-board {
  position: relative;
  z-index: 1;
  display: block;
  width: min(781px, 100%);
  margin: 0 auto;
  height: auto;
  object-fit: contain;
}

.metro-grip-phone {
  position: absolute;
  left: 0;
  bottom: 2%;
  top: auto;
  z-index: 6;
  width: min(480px, 58%);
  height: auto;
  object-fit: contain;
  transform: none;
}

.metro-website-2021 {
  padding: 0;
  background: #000;
  overflow: visible;
  z-index: 3;
}

.metro-website-2021-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr);
  align-items: stretch;
  min-height: min(769px, 80vw);
  overflow: visible;
}

.metro-website-2021-template {
  background: #000;
}

.metro-website-2021-template img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.metro-website-2021-device {
  position: relative;
  display: grid;
  place-items: center;
  padding: clamp(20px, 2.5vw, 32px) clamp(16px, 2.5vw, 28px) clamp(28px, 4vw, 48px);
  background: radial-gradient(at 50% 0%, rgb(96, 0, 0) 24%, rgb(0, 0, 0) 100%);
  overflow: visible;
}

.metro-website-2021-title {
  grid-area: 1 / 1;
  align-self: center;
  justify-self: center;
  position: relative;
  z-index: 3;
  margin: 0;
  color: #fff;
  font-size: clamp(14px, 1.2vw, 18px);
  font-weight: 200;
  letter-spacing: .02em;
  text-align: center;
  transform: translateY(calc(-1 * (clamp(188px, 24vw, 268px) + clamp(10px, 1.2vw, 18px))));
}

.metro-website-2021-title b {
  font-weight: 700;
}

.metro-website-2021-device img {
  grid-area: 1 / 1;
  align-self: center;
  justify-self: center;
  display: block;
  width: min(920px, 100%);
  height: auto;
  object-fit: contain;
  margin: 0;
  margin-bottom: clamp(-120px, -8vw, -72px);
  transform: translateY(clamp(-42px, -4.2vw, -30px));
  position: relative;
  z-index: 2;
}

.metro-video-prod {
  padding: 0 0 clamp(48px, 5vw, 80px);
  background: #171717;
  text-align: center;
}

.metro-video-banner {
  position: relative;
  width: 100%;
  margin: 0 0 clamp(36px, 4.5vw, 64px);
  background: #000;
  overflow: hidden;
}

.metro-video-hero {
  display: block;
  width: 100%;
  height: auto;
  max-height: min(78svh, 900px);
  object-fit: cover;
  object-position: center;
  background: #000;
}

.metro-video-banner h2 {
  position: absolute;
  left: 50%;
  top: 38%;
  z-index: 2;
  margin: 0;
  color: rgba(255, 255, 255, .92);
  font-size: clamp(36px, 6.4vw, 84px);
  font-weight: 900;
  letter-spacing: -.04em;
  line-height: .95;
  white-space: nowrap;
  transform: translate(-50%, -50%);
  text-shadow: 0 8px 40px rgba(0, 0, 0, .55);
  pointer-events: none;
}

.metro-video-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 3.2vw, 48px) clamp(22px, 2.4vw, 36px);
  width: min(1640px, calc(100% - 32px));
  margin: 0 auto;
  padding: 0 clamp(12px, 2vw, 24px);
  text-align: right;
  box-sizing: border-box;
}

.metro-video-grid figure {
  margin: 0;
  min-width: 0;
}

.metro-video-grid figcaption {
  margin: 0 0 12px;
  color: rgba(255, 255, 255, .94);
  font-size: clamp(15px, 1.15vw, 20px);
  font-weight: 200;
  line-height: 1.35;
  letter-spacing: .01em;
  text-align: right;
}

.metro-video-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #0a0a0a;
}

.metro-video-frame iframe,
.metro-video-frame video,
.metro-video-frame .metro-video-poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  object-fit: cover;
  background: #000;
}

.metro-stock-showcase {
  position: relative;
  padding: clamp(42px, 5vw, 78px) 0 clamp(36px, 4vw, 56px);
  background: #000;
  overflow: hidden;
}

.metro-stock-showcase > .metro-section-label {
  position: relative;
  z-index: 2;
  padding: 0 clamp(18px, 4vw, 48px);
  margin-bottom: clamp(18px, 2vw, 28px);
}

.metro-stock-stage {
  position: relative;
  min-height: 0;
  padding-bottom: 0;
}

.metro-stock-carousel {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: start;
  gap: 8px;
  padding: 0 clamp(8px, 1.5vw, 18px);
  margin-bottom: 0;
}

.metro-stock-track {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.metro-stock-track::-webkit-scrollbar {
  display: none;
}

.metro-stock-slide {
  flex: 0 0 calc((100% - 24px) / 4);
  min-width: 180px;
  margin: 0;
  padding: 0;
  border: 0;
  background: #000;
  cursor: zoom-in;
  scroll-snap-align: start;
  overflow: hidden;
}

.metro-stock-slide img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: #000;
  transition: transform .45s var(--ease);
}

.metro-stock-slide:hover img,
.metro-stock-slide:focus-visible img {
  transform: scale(1.04);
}

.metro-stock-arrow {
  position: relative;
  z-index: 5;
  align-self: center;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, .08);
  color: #fff;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  transition: background .25s ease, color .25s ease;
}

.metro-stock-arrow:hover,
.metro-stock-arrow:focus-visible {
  background: rgba(225, 6, 0, .85);
  color: #fff;
}

.metro-stock-label-en {
  display: none;
}

.metro-stock-heading {
  display: none;
  text-align: center;
  padding: 0 22px;
  margin: 0 0 clamp(18px, 4vw, 24px);
}

.metro-stock-heading-main {
  margin: 0;
  color: #fff;
  font-size: clamp(13px, 3.4vw, 15px);
  font-weight: 400;
  letter-spacing: 0.01em;
  line-height: 1.45;
}

.metro-stock-heading-sub {
  margin: 8px 0 0;
  color: var(--metro-red, #e10600);
  font-size: clamp(10px, 2.6vw, 11px);
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1.5;
}

.metro-stock-mobile-gallery {
  display: none;
}

.metro-stock-mobile-pages {
  position: relative;
  width: calc(100% - 24px);
  margin: 0 auto;
  aspect-ratio: 1;
  touch-action: pan-y;
  cursor: grab;
}

.metro-stock-mobile-pages.is-swiping {
  cursor: grabbing;
}

.metro-stock-grid-page {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: 8px;
  opacity: 0;
  visibility: hidden;
  transition: opacity .45s ease, visibility .45s ease, transform .2s ease;
  pointer-events: none;
  will-change: transform;
}

.metro-stock-grid-page.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  z-index: 1;
}

.metro-stock-grid-page[data-page="2"] {
  grid-template-rows: repeat(2, minmax(0, 1fr));
}

.metro-stock-grid-cell {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 0;
  margin: 0;
  padding: 0;
  border: 0;
  background: #111;
  cursor: zoom-in;
  overflow: hidden;
}

.metro-stock-grid-cell.is-empty {
  pointer-events: none;
  visibility: hidden;
}

.metro-stock-grid-cell img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #111;
}

.metro-stock-grid-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  margin-top: 22px;
  padding-bottom: 6px;
}

.metro-stock-grid-dot {
  position: relative;
  width: 14px;
  height: 14px;
  margin: 0;
  padding: 0;
  border: 2px solid rgba(255, 255, 255, .42);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  transition: border-color .25s ease, background-color .25s ease;
}

.metro-stock-grid-dot.is-active {
  background: var(--metro-red, #e10600);
  border-color: #fff;
  animation: metro-stock-dot-pulse 1.8s ease-in-out infinite;
}

.metro-stock-grid-dot.is-active::before {
  content: "";
  position: absolute;
  inset: -7px;
  border: 2px solid rgba(225, 6, 0, .55);
  border-radius: 50%;
  animation: metro-stock-dot-ring 1.8s ease-in-out infinite;
}

@keyframes metro-stock-dot-pulse {
  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.14);
  }
}

@keyframes metro-stock-dot-ring {
  0%,
  100% {
    opacity: .9;
    transform: scale(1);
  }

  50% {
    opacity: .35;
    transform: scale(1.35);
  }
}

@media (prefers-reduced-motion: reduce) {
  .metro-stock-grid-page {
    transition: none;
  }

  .metro-stock-grid-dot.is-active {
    animation: none;
    transform: scale(1.1);
  }

  .metro-stock-grid-dot.is-active::before {
    animation: none;
    opacity: .75;
  }
}

.metro-website-2017 {
  position: relative;
  overflow: visible;
  padding: clamp(28px, 3.5vw, 48px) 0 clamp(20px, 3vw, 40px);
  background: transparent;
}

.metro-website-2017-stage {
  position: relative;
  width: min(1574px, 100%);
  margin: 0 auto;
}

.metro-website-2017-stage img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  opacity: 1;
  mix-blend-mode: normal;
  filter: none;
}

.metro-website-2017-caption {
  position: absolute;
  right: clamp(18px, 4vw, 56px);
  bottom: clamp(8px, 1.4vw, 24px);
  margin: 0;
  color: rgba(255, 255, 255, .94);
  font-size: clamp(18px, 1.5vw, 24px);
  font-weight: 200;
  letter-spacing: .01em;
  white-space: nowrap;
  pointer-events: none;
  text-shadow: 0 2px 16px rgba(0, 0, 0, .45);
}

.metro-stock-devices {
  display: none;
}

.metro-stock-caption {
  display: none;
}

.metro-lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 72px 24px 40px;
  background: rgba(0, 0, 0, .92);
}

.metro-lightbox[hidden] {
  display: none;
}

.metro-lightbox-viewport {
  position: relative;
  width: 100%;
  min-width: 0;
  overflow: hidden;
  touch-action: pan-y pinch-zoom;
}

.metro-lightbox-image {
  display: block;
  width: min(1200px, 100%);
  max-height: calc(100svh - 140px);
  margin: 0 auto;
  height: auto;
  object-fit: contain;
  background: transparent;
  transform-origin: center center;
  will-change: transform;
}

.metro-lightbox-zoom {
  display: none;
}

.metro-lightbox-close,
.metro-lightbox-nav {
  border: 0;
  background: transparent;
  color: #fff;
  cursor: pointer;
}

.metro-lightbox-close {
  position: absolute;
  top: 18px;
  right: 22px;
  z-index: 220;
  width: 48px;
  height: 48px;
  font-size: 42px;
  line-height: 1;
}

.metro-lightbox-nav {
  position: relative;
  z-index: 210;
  width: 56px;
  height: 56px;
  font-size: 48px;
  line-height: 1;
  opacity: .8;
}

.metro-lightbox-close:hover,
.metro-lightbox-nav:hover,
.metro-lightbox-close:focus-visible,
.metro-lightbox-nav:focus-visible {
  opacity: 1;
  color: var(--metro-red, #e10600);
}

.metro-2016 {
  position: relative;
  overflow: hidden;
  padding: clamp(48px, 5vw, 80px) 0 clamp(48px, 6vw, 90px);
  background: transparent;
}

.metro-2016-bg {
  display: none;
}

.metro-2016-stage {
  position: relative;
  z-index: 1;
  width: min(1200px, 100%);
  margin: 0 auto;
}

.metro-2016-caption {
  position: relative;
  z-index: 4;
  width: fit-content;
  margin: 0 auto clamp(18px, 2vw, 28px);
  color: rgba(255, 255, 255, .94);
  font-size: clamp(18px, 1.35vw, 20px);
  font-weight: 200;
  letter-spacing: .01em;
  pointer-events: none;
  text-shadow: 0 2px 16px rgba(0, 0, 0, .45);
}

.metro-2016-screens {
  position: relative;
  min-height: clamp(640px, 70vw, 980px);
}

.metro-2016-screen {
  display: block;
  height: auto;
  max-width: none;
  border: 0;
  outline: none;
  box-shadow:
    0 0 0 1px #000,
    0 24px 60px rgba(0, 0, 0, .65);
}

.metro-2016-screen.back {
  position: absolute;
  left: 14%;
  top: 11%;
  z-index: 1;
  width: min(38%, 460px);
}

.metro-2016-screen.front {
  position: relative;
  z-index: 2;
  width: min(44%, 540px);
  margin-left: auto;
  margin-right: 6%;
}

@media (max-width: 980px) {
  .metroboard-page {
    background-attachment: scroll;
    background-position: 70% center;
  }

  /* Mobile brand block: laptop first, then logo, grip, sketches — no phone */
  .metro-brand-block {
    display: flex;
    flex-direction: column;
    padding-inline: clamp(16px, 4vw, 28px);
  }

  .metro-sketches-row {
    display: contents;
  }

  .metro-logo-device {
    order: 1;
    position: relative;
    right: auto;
    bottom: auto;
    width: min(100%, 520px);
    margin: 0 auto -6%;
    justify-content: center;
    z-index: 4;
  }

  .metro-logo-device img {
    width: 100%;
    margin-bottom: calc(100% * -207 / 2320);
  }

  .metro-logo-row {
    order: 2;
    grid-template-columns: 1fr;
    padding-inline: 0;
    margin-top: 0;
  }

  .metro-logo-copy {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 8px 0 0;
  }

  .metro-logo-copy > .metro-section-label {
    margin-left: 0;
  }

  .metro-brand-block .metro-section-label {
    font-size: clamp(14px, 3.4vw, 17px);
  }

  .metro-logo-main {
    width: min(280px, 78%);
    margin-inline: auto;
  }

  .metro-logo-variants {
    width: min(420px, 100%);
    margin-inline: auto;
    margin-bottom: clamp(16px, 4.2vw, 28px);
  }

  .metro-grip-stage {
    order: 3;
    min-height: 0;
    height: auto;
    margin-top: 0;
    padding: 0 0 8px;
  }

  .metro-grip-board {
    width: min(100%, 420px);
    margin-inline: auto;
  }

  .metro-grip-phone {
    display: none;
  }

  .metro-sketches-grid {
    order: 4;
    margin-top: 0;
    padding-inline: 0;
  }

  .metro-sketches-grid img {
    width: min(100%, 420px);
    margin-inline: auto;
  }

  .metro-website-2021-layout {
    grid-template-columns: 1fr;
  }

  .metro-website-2021-template {
    display: none;
  }

  .metro-website-2021-device {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: clamp(420px, 72vw, 560px);
    padding: clamp(36px, 8vw, 52px) 16px clamp(28px, 6vw, 40px);
    gap: 14px;
    background: radial-gradient(at 50% 0%, rgb(96, 0, 0) 24%, rgb(0, 0, 0) 100%);
  }

  .metro-website-2021-title {
    grid-area: auto;
    align-self: auto;
    justify-self: auto;
    position: relative;
    top: auto;
    transform: none;
    font-size: clamp(15px, 3.8vw, 20px);
    margin-bottom: 8px;
  }

  .metro-website-2021-device img {
    grid-area: auto;
    align-self: auto;
    justify-self: auto;
    margin-top: 0;
    margin-bottom: 0;
    width: min(92%, 440px);
    margin-inline: auto;
  }

  .metro-video-grid {
    grid-template-columns: 1fr 1fr;
    width: min(1640px, calc(100% - 24px));
  }

  .metro-video-grid figcaption {
    font-size: clamp(12px, 2.8vw, 15px);
    margin-bottom: 8px;
  }

  .metro-video-banner h2 {
    top: 36%;
    font-size: clamp(22px, 7vw, 36px);
  }

  .metro-section-label {
    font-size: clamp(15px, 3.4vw, 18px);
  }

  .metro-stock-slide {
    flex-basis: calc((100% - 8px) / 2);
  }
}

@media (max-width: 620px) {
  .metro-brand-block {
    padding-inline: 14px;
  }

  .metro-logo-device {
    width: min(100%, 480px);
    margin-bottom: -8%;
  }

  .metro-logo-main {
    width: min(220px, 72%);
    margin-bottom: 10px;
  }

  .metro-video-grid {
    grid-template-columns: 1fr;
    gap: 22px;
    width: calc(100% - 20px);
    padding: 0 10px;
  }

  .metro-video-grid figcaption {
    font-size: 13px;
    line-height: 1.35;
  }

  .metro-video-banner h2 {
    top: 34%;
    font-size: clamp(20px, 7.5vw, 28px);
  }

  .metro-website-2021-title {
    font-size: 15px;
    transform: none;
  }

  .metro-website-2021-device {
    min-height: clamp(440px, 98vw, 600px);
    padding: clamp(28px, 7vw, 40px) 0 clamp(20px, 5vw, 32px);
    overflow: visible;
  }

  .metro-website-2021-device img {
    width: 128vw;
    max-width: none;
    margin-top: 0;
    margin-bottom: 0;
    margin-inline: calc(50% - 64vw);
  }

  .metro-stock-label-he {
    display: none;
  }

  .metro-stock-heading {
    display: block;
  }

  .metro-stock-showcase > .metro-section-label,
  .metro-section-label.center {
    font-size: 15px;
  }

  /* Mobile: static 4-square grid carousel */
  .metro-stock-carousel {
    display: none;
  }

  .metro-stock-mobile-gallery {
    display: block;
  }

  .metro-stock-mobile-gallery[aria-hidden="true"] {
    display: none;
  }

  .metro-stock-stage {
    min-height: 0;
  }

  .metro-lightbox {
    padding: 58px 8px 108px;
    gap: 4px;
    background: rgba(0, 0, 0, .76);
    grid-template-columns: 44px minmax(0, 1fr) 44px;
  }

  .metro-lightbox.is-zoomed {
    background: rgba(0, 0, 0, .9);
  }

  .metro-lightbox-viewport {
    display: flex;
    align-items: center;
    justify-content: center;
    height: calc(100svh - 168px);
    touch-action: none;
  }

  .metro-lightbox-image {
    width: 100%;
    max-width: 100%;
    max-height: calc(100svh - 168px);
    object-fit: contain;
  }

  .metro-lightbox-nav {
    width: 44px;
    height: 44px;
    font-size: 40px;
    opacity: .95;
  }

  .metro-lightbox-nav.next {
    color: var(--metro-red, #e10600);
  }

  .metro-lightbox-zoom {
    position: fixed;
    z-index: 220;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    margin: 0;
    padding: 0;
    border: 2px solid rgba(255, 255, 255, .42);
    border-radius: 50%;
    background: rgba(0, 0, 0, .62);
    color: #fff;
    font-size: 28px;
    font-weight: 300;
    line-height: 1;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    bottom: 34px;
    top: auto;
    transform: none;
  }

  .metro-lightbox-zoom.zoom-out {
    left: calc(50% - 62px);
    right: auto;
  }

  .metro-lightbox-zoom.zoom-in {
    left: calc(50% + 12px);
    right: auto;
  }

  .metro-lightbox-zoom:active,
  .metro-lightbox-zoom:focus-visible {
    border-color: #fff;
    background: rgba(225, 6, 0, .82);
    color: #fff;
  }

  .metro-website-2017 {
    overflow: hidden;
    padding-top: 8px;
    padding-bottom: 4px;
  }

  /* Bleed past the viewport so laptop edges crop on mobile (~live ~1.84×, slightly stronger) */
  .metro-website-2017-stage {
    width: 210vw;
    max-width: none;
    margin-inline: calc(50% - 105vw);
  }

  .metro-website-2017-stage img {
    width: 100%;
    max-width: none;
  }

  .metro-website-2017-caption {
    right: calc(55vw + 8px);
    bottom: 0;
    font-size: 11px;
  }

  .metro-2016 {
    padding: 40px 12px 48px;
  }

  .metro-2016-caption {
    margin-bottom: 14px;
    font-size: 14px;
  }

  .metro-2016-screens {
    min-height: clamp(520px, 160vw, 720px);
  }

  .metro-2016-screen.back {
    width: 48%;
    left: 2%;
    top: 14%;
  }

  .metro-2016-screen.front {
    width: 58%;
    margin-right: 0;
  }

  .metro-section-label.end {
    text-align: center;
    margin-right: 0;
  }

  .similar-head h2 {
    font-size: clamp(36px, 11vw, 52px);
  }
}

.arava-reveal {
  opacity: 0;
  transform: translate3d(0, 14px, 0);
  transition:
    opacity .28s ease,
    transform .32s var(--ease);
  transition-delay: var(--reveal-delay, 0ms);
  backface-visibility: hidden;
}

.arava-reveal.is-visible {
  opacity: 1;
  transform: none;
}

.metroboard-page .arava-reveal {
  transform: none;
  transition: opacity .28s ease;
  transition-delay: var(--reveal-delay, 0ms);
}

.metroboard-page .arava-reveal.is-visible {
  transform: none;
}

.project-mosaic .arava-reveal,
.project-mosaic-mobile .arava-reveal {
  transform: translate3d(0, 16px, 0);
}

.project-mosaic .arava-reveal.is-visible,
.project-mosaic-mobile .arava-reveal.is-visible {
  transform: translate3d(0, 0, 0);
}

.lazy-video {
  background: transparent;
}

/* Transparent PNGs must never get a forced fill — keep alpha as-is. */
.metroboard-page img,
.arava-page img {
  background: transparent;
}

.metroboard-page video,
.arava-page video {
  background: #000;
}

.media-fade {
  opacity: 0;
  transition: opacity .55s ease;
}

.media-fade.is-ready {
  opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
  .media-fade,
  .media-fade.is-ready {
    opacity: 1;
    transition: none;
  }
}

.similar-projects {
  background: #111;
  color: #fff;
  padding: clamp(58px, 6vw, 92px) clamp(16px, 4vw, 70px);
  overflow: hidden;
  border-top: 6px solid #fff;
}

.similar-head {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px;
  margin-bottom: clamp(34px, 4vw, 58px);
}

.similar-head h2 {
  margin: 0;
  font-size: clamp(52px, 7vw, 103px);
  font-weight: 100;
  line-height: .92;
  letter-spacing: -.03em;
}

.similar-head a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
  min-height: 50px;
  padding: 0 22px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 999px;
  color: rgba(255, 255, 255, .86);
  font-size: clamp(13px, 1vw, 16px);
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, .035);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .04) inset;
  transition: color .22s ease, transform .22s var(--ease), border-color .22s ease, background .22s ease;
}

.similar-head a:hover {
  color: #fff;
  border-color: rgba(255, 22, 141, .62);
  background: rgba(255, 22, 141, .12);
  transform: translateY(-3px);
}

.all-works-link span {
  width: 18px;
  height: 18px;
  display: grid;
  grid-template-columns: repeat(3, 4px);
  grid-template-rows: repeat(3, 4px);
  gap: 3px;
}

.all-works-link span::before {
  content: "";
  width: 4px;
  height: 4px;
  background: currentColor;
  box-shadow:
    7px 0 currentColor,
    14px 0 currentColor,
    0 7px currentColor,
    7px 7px currentColor,
    14px 7px currentColor,
    0 14px currentColor,
    7px 14px currentColor,
    14px 14px currentColor;
  animation: works-pulse 1.55s steps(1, end) infinite;
}

@keyframes works-pulse {
  0%, 100% {
    opacity: .7;
    transform: scale(1);
    box-shadow:
      7px 0 currentColor,
      14px 0 currentColor,
      0 7px currentColor,
      7px 7px currentColor,
      14px 7px currentColor,
      0 14px currentColor,
      7px 14px currentColor,
      14px 14px currentColor;
  }
  22% {
    opacity: 1;
    transform: scale(1.18);
    box-shadow:
      7px 0 currentColor,
      14px 0 currentColor,
      0 7px currentColor,
      7px 7px var(--pink),
      14px 7px currentColor,
      0 14px currentColor,
      7px 14px currentColor,
      14px 14px currentColor;
  }
  48% {
    opacity: .9;
    transform: scale(1.04);
    box-shadow:
      7px 0 var(--pink),
      14px 0 currentColor,
      0 7px currentColor,
      7px 7px currentColor,
      14px 7px currentColor,
      0 14px currentColor,
      7px 14px currentColor,
      14px 14px var(--pink);
  }
  72% {
    opacity: 1;
    transform: scale(1.12);
    box-shadow:
      7px 0 currentColor,
      14px 0 var(--pink),
      0 7px currentColor,
      7px 7px currentColor,
      14px 7px currentColor,
      0 14px var(--pink),
      7px 14px currentColor,
      14px 14px currentColor;
  }
}

.similar-carousel-wrap {
  position: relative;
  display: grid;
  align-items: center;
}

.similar-grid {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  padding: 2px clamp(0px, 3vw, 54px);
  margin-inline: calc(clamp(0px, 3vw, 54px) * -1);
}

.similar-grid::-webkit-scrollbar {
  display: none;
}

.similar-grid a {
  flex: 0 0 clamp(210px, 20vw, 340px);
  position: relative;
  display: block;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #111;
  scroll-snap-align: start;
  outline: 1px solid rgba(255, 255, 255, .1);
  transition: transform .28s var(--ease), outline-color .24s ease;
}

.similar-grid-media {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: #111;
}

.similar-grid img,
.similar-grid video,
.similar-projects .similar-grid img,
.similar-projects .similar-grid video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  object-fit: cover;
  object-position: center;
  display: block;
  transform: scale(1.1);
  transition: transform .42s var(--ease), filter .32s ease;
}

.similar-grid-media video {
  transform: scale(1.16);
}

.similar-grid-label {
  position: absolute;
  left: 14px;
  bottom: 12px;
  z-index: 2;
  color: #fff;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .1em;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .24s ease, transform .28s var(--ease);
}

.similar-grid a:hover .similar-grid-media img,
.similar-grid a:hover .similar-grid-media video,
.similar-grid a:hover img,
.similar-grid a:hover video {
  transform: scale(1.18);
  filter: brightness(.78);
}

.similar-grid a:hover .similar-grid-media video {
  transform: scale(1.22);
}

.similar-grid a:hover {
  transform: translateY(-4px);
  outline-color: rgba(255, 255, 255, .32);
}

.similar-grid a:hover .similar-grid-label {
  opacity: 1;
  transform: translateY(0);
}

.similar-arrow {
  position: absolute;
  top: 50%;
  z-index: 4;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 999px;
  background: rgba(0, 0, 0, .72);
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-size: 30px;
  line-height: 1;
  display: grid;
  place-items: center;
  transform: translateY(-50%);
  transition: background .22s ease, transform .22s var(--ease), border-color .22s ease;
}

.similar-arrow:hover {
  background: var(--pink);
  border-color: var(--pink);
  transform: translateY(-50%) scale(1.06);
}

.similar-prev {
  left: 0;
}

.similar-next {
  right: 0;
}

.back-to-top {
  position: fixed;
  right: clamp(16px, 2.4vw, 28px);
  bottom: clamp(18px, 3vw, 32px);
  z-index: 80;
  width: 52px;
  height: 52px;
  margin: 0;
  padding: 0;
  border: 1px solid rgba(255, 22, 141, .55);
  border-radius: 0;
  background: rgba(0, 0, 0, .78);
  color: var(--ink);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translate3d(0, 18px, 0) scale(.92);
  transition:
    opacity .35s ease,
    visibility .35s ease,
    transform .45s var(--ease),
    background .25s ease,
    border-color .25s ease,
    box-shadow .25s ease,
    color .25s ease;
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, .4),
    0 12px 28px rgba(0, 0, 0, .45);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translate3d(0, 0, 0) scale(1);
}

.back-to-top:hover {
  background: var(--pink);
  border-color: var(--pink);
  color: #fff;
  box-shadow:
    0 0 0 1px rgba(255, 22, 141, .35),
    0 0 28px rgba(255, 22, 141, .42),
    0 14px 32px rgba(0, 0, 0, .5);
}

.back-to-top:focus-visible {
  outline: 2px solid var(--yellow);
  outline-offset: 3px;
}

.back-to-top-glow {
  position: absolute;
  inset: -30%;
  background: radial-gradient(circle at 50% 70%, rgba(255, 22, 141, .5), transparent 62%);
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s ease;
}

.back-to-top:hover .back-to-top-glow,
.back-to-top.is-launching .back-to-top-glow {
  opacity: 1;
}

.back-to-top-chevron {
  position: absolute;
  left: 50%;
  top: 54%;
  width: 12px;
  height: 12px;
  border-left: 2px solid currentColor;
  border-top: 2px solid currentColor;
  transform: translate(-50%, -40%) rotate(45deg);
  transition: transform .35s var(--ease);
}

.back-to-top:hover .back-to-top-chevron {
  transform: translate(-50%, -55%) rotate(45deg);
}

.back-to-top.is-launching {
  background: var(--pink);
  border-color: var(--pink);
  color: #fff;
  animation: back-to-top-boost .7s var(--ease);
}

.back-to-top.is-launching .back-to-top-chevron {
  animation: back-to-top-arrow .7s var(--ease);
}

@keyframes back-to-top-boost {
  0% { transform: translate3d(0, 0, 0) scale(1); }
  35% { transform: translate3d(0, 6px, 0) scale(.94); }
  70% { transform: translate3d(0, -10px, 0) scale(1.08); }
  100% { transform: translate3d(0, 0, 0) scale(1); }
}

@keyframes back-to-top-arrow {
  0% { transform: translate(-50%, -40%) rotate(45deg); }
  40% { transform: translate(-50%, -20%) rotate(45deg); }
  100% { transform: translate(-50%, -70%) rotate(45deg); }
}

@media (prefers-reduced-motion: reduce) {
  .back-to-top,
  .back-to-top-chevron,
  .back-to-top-glow {
    transition: none;
  }

  .back-to-top.is-launching,
  .back-to-top.is-launching .back-to-top-chevron {
    animation: none;
  }
}

.site-footer {
  background: #000;
  border-top: 1px solid rgba(247, 244, 239, .12);
  padding: clamp(48px, 6vw, 82px) clamp(22px, 5vw, 70px) 28px;
}

.footer-inner {
  max-width: 1320px;
  margin: 0 auto;
  display: grid;
  gap: 56px;
}

.footer-main {
  display: grid;
  grid-template-columns: minmax(220px, .8fr) minmax(0, 1.2fr) auto;
  gap: 36px;
  align-items: start;
}

.footer-logo {
  width: 220px;
  height: auto;
  object-fit: contain;
}

.footer-line {
  margin: 0;
  max-width: 660px;
  color: rgba(247, 244, 239, .74);
  font-size: clamp(22px, 3vw, 42px);
  line-height: 1.05;
  font-weight: 500;
}

.footer-actions {
  display: grid;
  gap: 14px;
  justify-items: end;
  text-align: right;
}

.footer-actions a {
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding-top: 22px;
  border-top: 1px solid rgba(247, 244, 239, .12);
  color: rgba(247, 244, 239, .48);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

/* TEMP: remove block + footer HTML comment to hide Case Study Library link */
.footer-dev-link-wrap {
  margin: 0;
  flex: 1 1 auto;
}

.footer-dev-link {
  display: inline-flex;
  align-items: center;
  padding: 7px 12px;
  border: 1px dashed rgba(247, 244, 239, .28);
  border-radius: 999px;
  color: rgba(247, 244, 239, .55);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  transition: color .22s ease, border-color .22s ease, background .22s ease;
}

.footer-dev-link:hover,
.footer-dev-link:focus-visible {
  border-color: rgba(255, 237, 57, .55);
  background: rgba(255, 237, 57, .08);
  color: var(--yellow);
}

@media (prefers-reduced-motion: reduce) {
  .arava-reveal,
  .arava-reveal.is-visible {
    opacity: 1;
    transform: none;
    filter: none;
    transition: none;
  }

  body.menu-open .nav::before {
    animation: none;
    opacity: .9;
    background-position: 50% 0%;
    transform: none;
  }

  .menu-toggle,
  .menu-toggle .menu-icon,
  .menu-toggle .mi-bar,
  .menu-toggle .mi-eye--open,
  .menu-toggle .mi-eye--x,
  .menu-toggle .mi-xstroke,
  .menu-toggle .mi-mouth,
  body.menu-open:not(.menu-closing) .menu-toggle,
  body.menu-closing .menu-toggle {
    transition: none !important;
    animation: none !important;
  }
}

@media (max-width: 980px) {
  :root { --header-h: 82px; }

  .topbar {
    padding: 0 16px;
  }

  .brand {
    min-width: auto;
  }

  .brand img,
  .topbar .brand img {
    width: 152px;
    height: 46px;
  }

  .nav {
    position: fixed;
    /* Pin to viewport bottom so mobile chrome / dvh vs svh cannot leave a page gap */
    inset: var(--header-h) 0 0;
    height: calc(100svh - var(--header-h));
    height: calc(100dvh - var(--header-h));
    min-height: calc(100svh - var(--header-h));
    min-height: calc(100dvh - var(--header-h));
    display: grid;
    align-content: center;
    justify-items: center;
    gap: 24px;
    background: #000;
    border-top: 1px solid rgba(255, 255, 255, .12);
    /* No backdrop-filter: blur + clip-path fights on mobile GPUs (open flicker) */
    opacity: 1;
    visibility: hidden;
    pointer-events: none;
    transform: translateZ(0);
    clip-path: circle(0% at calc(100% - 40px) 0%);
    overflow: hidden;
    isolation: isolate;
    z-index: 19;
    transition:
      clip-path .42s cubic-bezier(0.4, 0, 0.2, 1),
      visibility 0s linear .42s;
  }

  .nav::before {
    content: "";
    position: absolute;
    left: -8%;
    right: -8%;
    top: -6%;
    height: 52%;
    z-index: 0;
    pointer-events: none;
    background: radial-gradient(circle at 50% 0%, rgba(255, 22, 141, .16), transparent 32%);
    background-size: 108% 140%;
    background-position: 50% 0%;
    opacity: 0;
  }

  body.menu-open:not(.menu-closing) .nav::before {
    opacity: 1;
    transition: opacity .65s ease;
    animation: menu-glow-zigzag 7s ease-in-out infinite;
  }

  @keyframes menu-glow-zigzag {
    0%, 100% {
      background-position: 50% 0%;
      transform: translateX(0);
    }

    25% {
      background-position: 56% 2%;
      transform: translateX(1.2%);
    }

    50% {
      background-position: 44% 4%;
      transform: translateX(-1.2%);
    }

    75% {
      background-position: 53% 2%;
      transform: translateX(.8%);
    }
  }

  /* Opening: Black background expands cinematically from hamburger (clip-path only — no opacity fade) */
  body.menu-open:not(.menu-closing) .nav {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateZ(0);
    clip-path: circle(140% at calc(100% - 40px) 0%);
    transition:
      clip-path .62s cubic-bezier(0.16, 1, 0.3, 1),
      visibility 0s linear 0s;
  }

  .nav a {
    position: relative;
    z-index: 1;
    font-size: clamp(38px, 8vw, 72px);
    font-weight: 500;
    letter-spacing: 0;
    padding: 8px 0;
    opacity: 0;
    transform: translateY(22px);
    transition:
      opacity .24s ease,
      transform .28s ease;
  }

  .nav a[aria-current="page"] {
    font-weight: 600;
    letter-spacing: 0;
  }

  /* Keep items parked at rest while the menu is open — including during close —
     so dropping :not(.menu-closing) never snaps them back up by ~22px. */
  body.menu-open .nav a {
    opacity: 1;
    transform: translateY(0);
  }

  /* Opening: WORKS, STUDIO, CONTACT enter one by one with progressive subtle stagger */
  body.menu-open:not(.menu-closing) .nav a {
    transition:
      opacity .42s cubic-bezier(0.16, 1, 0.3, 1),
      transform .52s cubic-bezier(0.16, 1, 0.3, 1);
  }

  body.menu-open:not(.menu-closing) .nav a.is-nav-burst {
    transition: none;
    transform: translateY(0) scale(1.035);
  }

  body.menu-open:not(.menu-closing) .nav a.is-nav-burst .nav-label {
    text-shadow: 0 0 18px rgba(255, 22, 141, .35), 0 0 28px rgba(18, 183, 255, .2);
  }

  body.menu-open:not(.menu-closing) .nav a:nth-child(1) { transition-delay: .18s; }
  body.menu-open:not(.menu-closing) .nav a:nth-child(2) { transition-delay: .26s; }
  body.menu-open:not(.menu-closing) .nav a:nth-child(3) { transition-delay: .34s; }

  /* Closing Choreography:
     Phase 1 (0ms - 500ms): Staggered progressive horizontal slide-off + fade out:
       - WORKS (nth-child 1): slides left (-34px) with fade out, delay 0ms, duration 300ms
       - STUDIO (nth-child 2): slides right (+34px) with fade out, delay 100ms, duration 300ms
       - CONTACT (nth-child 3): slides left (-34px) with fade out, delay 200ms, duration 300ms
     Phase 2 (400ms - 880ms): Luxury circular suction exit of the menu overlay:
       - Black overlay contracts in a fluid, cinematic circular sweep back into the hamburger button:
         clip-path: circle(0% at calc(100% - 40px) 0%), duration 480ms, delay 400ms,
         easing: cubic-bezier(0.76, 0, 0.24, 1)
       - Overlay stays fully opaque during the sweep (no opacity fade — avoids open/close flicker)
       - Ambient pink glow (.nav::before) collapses and fades softly in tandem (400ms - 800ms)
     Micro-transition:
       - Close button responds immediately with subtle opacity softening (opacity: .68)
       - Hamburger bars morph back synchronously as the circular overlay collapses into the button (480ms - 780ms)
  */
  /* Instant full cover when arriving to play exit over the NEW page */
  html.fi-menu-exit-pending body.menu-open .nav,
  html.fi-menu-exit-pending body.menu-open:not(.menu-closing) .nav {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    clip-path: circle(140% at calc(100% - 40px) 0%);
    transition: none !important;
  }

  html.fi-menu-exit-pending body.menu-open .nav a,
  html.fi-menu-exit-pending body.menu-open:not(.menu-closing) .nav a {
    opacity: 1;
    transform: translateY(0);
    transition: none !important;
    transition-delay: 0s !important;
  }

  html.fi-menu-exit-pending body.menu-open .nav::before,
  html.fi-menu-exit-pending body.menu-open:not(.menu-closing) .nav::before {
    opacity: 1;
    animation: none;
    transition: none !important;
  }

  body.menu-closing .nav {
    pointer-events: none;
    opacity: 1;
    visibility: visible;
    transform: translateZ(0);
    clip-path: circle(0% at calc(100% - 40px) 0%);
    transition:
      clip-path 480ms cubic-bezier(0.76, 0, 0.24, 1) 400ms,
      visibility 0s linear 880ms;
  }

  body.menu-closing .nav::before {
    opacity: 0;
    transition: opacity 400ms cubic-bezier(0.4, 0, 0.2, 1) 400ms;
  }

  body.menu-closing .nav a {
    opacity: 0;
    transition:
      opacity 300ms cubic-bezier(0.4, 0, 0.2, 1),
      transform 300ms cubic-bezier(0.4, 0, 0.2, 1);
  }

  body.menu-closing .nav a:nth-child(1) {
    transform: translate(-34px, 0);
    transition-delay: 0ms;
  }

  body.menu-closing .nav a:nth-child(2) {
    transform: translate(34px, 0);
    transition-delay: 100ms;
  }

  body.menu-closing .nav a:nth-child(3) {
    transform: translate(-34px, 0);
    transition-delay: 200ms;
  }

  .nav a.is-nav-tapped .nav-label {
    color: #ff168d !important;
    text-shadow: 0 0 16px rgba(255, 22, 141, .45);
  }

  .menu-toggle {
    display: block;
    border: none;
    background: transparent;
    border-radius: 0;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    position: relative;
    z-index: 21;
    transition: transform .42s cubic-bezier(0.22, 1, 0.36, 1);
  }

  .menu-toggle:active {
    transform: scale(.94);
  }

  /* Keep face/X upright — no 90° spin on open */
  body.menu-open:not(.menu-closing) .menu-toggle {
    transform: none;
  }

  body.menu-open:not(.menu-closing) .menu-toggle:active {
    transform: scale(.94);
  }

  body.menu-closing .menu-toggle {
    transform: none;
    transition: transform .36s cubic-bezier(0.22, 1, 0.36, 1) .38s;
  }

  .portfolio-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .about-split,
  .contact-wrap {
    grid-template-columns: 1fr;
  }

  .project-intro {
    grid-template-columns: 1fr;
  }

  .project-intro > div + div {
    border-left: 0;
    border-top: 1px solid #ddd;
  }

  .project-mosaic {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }

  .project-mosaic .half,
  .project-mosaic .wide {
    grid-column: span 3;
  }

  .project-mosaic .third {
    grid-column: span 2;
  }

  .project-mosaic .full {
    grid-column: 1 / -1;
  }

  .contact-lab {
    grid-template-columns: 1fr;
  }

  .contact-start {
    grid-template-columns: 1fr;
    gap: 46px;
  }

  .about-video {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
  }

  .contact-aside {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .contact-card {
    min-height: auto;
    padding-top: 54px;
    padding-bottom: 54px;
  }

  .contact-orbit {
    font-size: clamp(58px, 18vw, 116px);
  }

  .contact-sentence p {
    font-size: clamp(31px, 5.8vw, 56px);
  }

  .footer-main {
    grid-template-columns: 1fr;
  }

  .footer-actions {
    justify-items: start;
    text-align: left;
  }
}

@media (max-width: 620px) {
  :root { --header-h: 74px; }

  .brand img,
  .topbar .brand img {
    width: 125px;
    height: 38px;
  }

  .page-hero {
    min-height: 0;
    grid-template-columns: 1fr;
    align-items: start;
    gap: 16px;
    padding: clamp(28px, 5.5vw, 44px) clamp(22px, 5vw, 70px) clamp(32px, 6vw, 48px);
  }

  .page-hero .page-title {
    font-size: clamp(36px, 11.5vw, 56px);
  }

  .page-hero-lead {
    max-width: 34ch;
    padding: 0 0 0 14px;
    font-size: clamp(14px, 3.8vw, 17px);
  }

  .page-title {
    font-size: clamp(40px, 13vw, 68px);
  }

  .project-hero {
    min-height: 0;
    aspect-ratio: 1 / 1;
  }

  .metroboard-hero {
    aspect-ratio: auto;
    height: 56svh;
    min-height: 260px;
    max-height: 460px;
  }

  .torr-hero {
    aspect-ratio: auto;
    height: 35vh;
    min-height: 35vh;
  }

  .arava-hero {
    aspect-ratio: 1 / 1;
    background: #f1eeee;
  }

  .arava-hero-desktop-media {
    display: none;
  }

  .arava-hero-mobile-media {
    display: block !important;
    object-fit: cover;
    object-position: center;
  }

  .project-intro > div {
    min-height: auto;
    padding: 34px 18px;
  }

  .arava-intro {
    grid-template-columns: 1fr;
  }

  .metroboard-copy {
    height: auto;
    max-height: none;
    min-height: 0;
    padding: 36px 18px 40px;
    align-items: start;
  }

  .metroboard-copy-shell {
    width: 100%;
    max-width: none;
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .metroboard-copy-main {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
    gap: 28px;
  }

  .metroboard-copy .project-eyebrow {
    font-size: clamp(30px, 8.2vw, 42px);
  }

  .metroboard-copy .metroboard-subtitle {
    font-size: 10px;
    letter-spacing: .16em;
    margin-bottom: 14px;
  }

  .metroboard-copy-body p {
    font-size: 14px;
    font-weight: 400;
    line-height: 1.62;
  }

  .metroboard-scope-panel {
    justify-self: stretch;
    max-width: none;
    width: 100%;
    margin: 0;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }

  .metroboard-copy-body {
    max-width: none;
  }

  .metroboard-copy-product {
    order: -1;
    max-width: 100%;
    margin: 0 auto;
  }

  .metroboard-copy-product img {
    width: min(100%, 520px);
    max-height: none;
    transform: scale(1.08);
  }

  .metroboard-mosaic .website,
  .metroboard-mosaic .product,
  .metroboard-mosaic .motion,
  .metroboard-mosaic .phone,
  .metroboard-mosaic .template,
  .metroboard-mosaic .parts,
  .metroboard-mosaic .third {
    grid-column: span 3;
  }

  .arava-intro-copy {
    min-height: auto;
    grid-template-columns: 1fr;
  }

  .arava-intro .project-eyebrow {
    margin-bottom: 14px;
    font-size: clamp(52px, 15vw, 68px);
  }

  .arava-intro p:not(.project-eyebrow) {
    font-size: 14px;
    line-height: 1.56;
  }

  .project-scope {
    grid-column: 1;
    grid-row: auto;
    max-width: none;
    gap: 0;
    margin-top: 26px;
  }

  .project-scope::before {
    margin-bottom: 8px;
    font-size: 13px;
  }

  .project-scope li {
    grid-template-columns: 44px minmax(0, 1fr);
    min-height: 42px;
    padding: 10px 0;
    font-size: 13px;
    letter-spacing: .07em;
  }

  .project-scope li::before {
    font-size: 20px;
  }

  .arava-logo-before {
    aspect-ratio: 458 / 390;
    min-height: 300px;
    padding: 0;
    background: #ececec;
    border-top: 5px solid #fff;
    border-bottom: 5px solid #fff;
  }

  .arava-logo-desktop-media {
    display: none !important;
  }

  .arava-logo-mobile-media {
    display: block !important;
    position: absolute;
    inset: 0;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center;
    mix-blend-mode: normal !important;
    transform: none;
    transform-origin: center;
    background: #ececec;
  }

  .project-mosaic {
    display: block;
    background: #fff;
  }

  .project-mosaic-desktop {
    display: none;
  }

  .project-mosaic-mobile {
    display: grid;
    gap: 5px;
    background: #fff;
  }

  .project-mosaic-mobile figure {
    margin: 0;
    background: #f3f3f3;
    overflow: hidden;
  }

  .project-mosaic-mobile img,
  .project-mosaic-mobile video {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
  }

  .project-mosaic-mobile video {
    aspect-ratio: 1 / 1;
    height: auto;
    object-fit: cover;
  }

  .project-mosaic-mobile .mobile-poster-focus {
    aspect-ratio: 458 / 642;
    background: linear-gradient(180deg, #eeeeee, #d8d8d8);
  }

  .project-mosaic-mobile .mobile-poster-focus img {
    height: 100%;
    object-fit: cover;
    object-position: 86% 50%;
  }

  .project-mosaic-mobile .mobile-ear-products,
  .project-mosaic-mobile .mobile-products-posters {
    overflow: hidden;
    background: #f3f3f3;
  }

  .project-mosaic-mobile .mobile-ear-products {
    aspect-ratio: 458 / 300;
  }

  .project-mosaic-mobile .mobile-ear-products img {
    width: 112%;
    max-width: none;
    margin-left: -6%;
  }

  .project-mosaic-mobile .mobile-products-posters {
    aspect-ratio: 458 / 350;
  }

  .project-mosaic-mobile .mobile-products-posters img {
    width: 126%;
    max-width: none;
    margin-left: -13%;
    margin-top: -76%;
  }

  .project-mosaic-mobile .mobile-rollup video {
    aspect-ratio: auto;
    height: auto;
    object-fit: contain;
    object-position: center;
    background: #f2f2f2;
  }

  .project-mosaic-mobile .mobile-exhibition video {
    aspect-ratio: 16 / 9;
    object-fit: cover;
  }

  .project-mosaic-mobile .mobile-kit img {
    background: #eef6f8;
  }

  .project-mosaic-mobile .mobile-bottle video {
    aspect-ratio: 1 / 1.25;
    object-fit: cover;
    object-position: center;
  }

  .project-mosaic .tile {
    display: block;
    width: 100%;
    min-height: auto;
    aspect-ratio: auto;
    border-bottom: 1px solid #fff;
  }

  .project-mosaic .tile img,
  .project-mosaic .tile video {
    width: 100%;
    height: auto;
    object-fit: contain;
  }

  .project-mosaic .mobile-ad {
    display: block;
  }

  .project-mosaic .social {
    display: none;
  }

  .similar-projects {
    padding: 34px 14px 28px;
  }

  .similar-head {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
    gap: 24px;
    margin-bottom: 30px;
  }

  .similar-head h2 {
    font-size: clamp(42px, 12vw, 64px);
  }

  .similar-head a {
    min-height: 48px;
    padding-inline: 20px;
  }

  .similar-grid a {
    flex-basis: min(72vw, 280px);
  }

  .similar-arrow {
    width: 38px;
    height: 38px;
    font-size: 27px;
  }

  .portfolio-grid {
    grid-template-columns: 1fr;
  }

  .work:hover,
  .work:focus-visible {
    transform: none;
    box-shadow: none;
  }

  .work-title {
    opacity: 1;
    transform: none;
  }

  .work::after {
    opacity: 1;
    transform: none;
  }

  .work-frame {
    display: none;
  }

  .about-copy,
  .contact-panel {
    padding: 34px 18px 46px;
  }

  .contact-card {
    padding: 42px 18px 48px;
  }

  .about-copy h1,
  .contact-panel h1 {
    font-size: clamp(36px, 11vw, 56px);
  }

  .kicker,
  .contact-kicker {
    font-size: clamp(16px, 4vw, 18px);
    gap: 14px;
  }

  .kicker::before,
  .contact-kicker span {
    width: 40px;
  }

  .contact-links a {
    display: grid;
    padding: 18px;
  }

  .contact-card::before {
    inset: 12px;
  }

  .contact-form input,
  .contact-form select,
  .contact-form textarea {
    font-size: 15px;
    padding: 14px;
  }

  .contact-start {
    padding: 46px 18px 58px;
  }

  .contact-start-title {
    gap: 16px;
  }

  .contact-start-title h1 {
    font-size: clamp(54px, 15vw, 74px);
    max-width: 320px;
  }

  .contact-sentence {
    gap: 32px;
  }

  .contact-sentence p {
    font-size: clamp(28px, 8.5vw, 42px);
    line-height: 1.38;
  }

  .contact-sentence label,
  .contact-sentence .select-field,
  .contact-sentence .email-field {
    min-width: 100%;
    margin: .16em 0 .22em;
  }

  .contact-sentence input,
  .contact-sentence select {
    font-size: .46em;
  }

  .about-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .about-item span {
    font-size: 22px;
  }

  .about-item strong {
    font-size: 16px;
  }

  .footer-logo {
    width: 174px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* Torr project page */
.torr-page {
  background: #fff;
}

.torr-hero {
  aspect-ratio: 1905 / 778;
  min-height: clamp(320px, 56vw, 778px);
  background: #0a0a0a;
}

.torr-hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.torr-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  border-bottom: 1px solid #e4e4e4;
}

.torr-intro > div {
  min-height: clamp(300px, 32vw, 621px);
  display: grid;
  align-content: center;
  padding: clamp(34px, 5vw, 72px) clamp(28px, 6vw, 96px);
}

.torr-intro > .torr-intro-logo {
  padding: 0 !important;
  min-height: clamp(248px, 32vw, 621px);
}

.torr-intro-copy {
  background: #fff;
}

.torr-intro-copy .project-eyebrow {
  margin: 0 0 clamp(18px, 2vw, 28px);
  color: #1a1a1a;
  font-size: clamp(34px, 3.6vw, 56px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -.02em;
}

.torr-intro-copy p {
  margin: 0;
  max-width: 52ch;
  color: rgba(30, 30, 30, .68);
  font-size: clamp(14px, 1.05vw, 17px);
  font-weight: 400;
  line-height: 1.62;
}

.torr-intro-logo {
  display: block;
  background: #fff;
  border-left: 1px solid #e4e4e4;
  padding: 0 !important;
  overflow: hidden;
  min-height: clamp(248px, 32vw, 621px);
}

.torr-intro-logo img {
  width: 100%;
  height: 100%;
  min-height: clamp(248px, 32vw, 621px);
  object-fit: cover;
  object-position: center;
  background: transparent;
}

.torr-panel {
  margin: 0;
  overflow: hidden;
  background: #0a0a0a;
}

.torr-panel img,
.torr-panel video {
  display: block;
  width: 100%;
  height: auto;
}

.torr-panel--iweld {
  background: #0a0a0a;
  min-height: 100vh;
}

.torr-panel--iweld img {
  width: 100%;
  min-height: 100vh;
  object-fit: cover;
  object-position: center;
  background: #0a0a0a;
}

.torr-panel--website {
  background: #f5f5f5;
}

.torr-panel--website video {
  aspect-ratio: 1920 / 1034;
  min-height: clamp(280px, 54vw, 1034px);
  object-fit: cover;
  object-position: center;
  background: #f5f5f5;
}

.torr-product-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  margin: 0;
  background: #0a0a0a;
}

.torr-product-cell {
  margin: 0;
  min-height: 0;
  aspect-ratio: 953 / 660;
  overflow: hidden;
  background: #0a0a0a;
}

.torr-product-cell video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  background: #0a0a0a;
}

.torr-panel--mobile {
  background: #0a0a0a;
}

.torr-mobile-video {
  width: 100%;
  aspect-ratio: 1905 / 1072;
  min-height: clamp(320px, 56vw, 1072px);
  object-fit: cover;
  object-position: center;
  display: block;
  background: #0a0a0a;
}

.torr-mobile-static {
  display: none;
  width: 100%;
  height: auto;
  object-fit: contain;
  background: transparent;
}

.torr-page img {
  background: transparent;
}

.torr-page video {
  background: #0a0a0a;
}

.torr-page .torr-product-cell video,
.torr-page .torr-hero-video,
.torr-page .torr-panel--website video,
.torr-page .torr-mobile-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 980px) {
  .torr-hero {
    aspect-ratio: auto;
    height: 35vh;
    min-height: 35vh;
    max-height: none;
  }

  .torr-hero-video {
    object-fit: cover;
    object-position: center center;
  }

  .torr-intro {
    grid-template-columns: 1fr;
  }

  .torr-intro > div {
    min-height: auto;
    padding: 58px 58px 34px;
  }

  .torr-intro > .torr-intro-logo {
    padding: 0 !important;
    min-height: 248px;
  }

  .torr-intro-logo {
    border-left: 0;
    border-top: 1px solid #e4e4e4;
  }

  .torr-intro-logo img {
    min-height: 248px;
  }

  .torr-panel--iweld {
    display: none;
  }

  .torr-product-grid {
    grid-template-columns: 1fr;
    width: 100%;
    overflow: hidden;
  }

  .torr-product-cell {
    width: 100%;
    max-width: 100%;
    aspect-ratio: auto;
    min-height: 365px;
    height: 365px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .torr-product-cell video {
    width: 100%;
    height: 100%;
    min-width: 0;
    min-height: 0;
    object-fit: cover;
    object-position: center center;
  }

  .torr-mobile-static {
    display: none;
  }
}

@media (max-width: 620px) {
  .torr-intro-copy .project-eyebrow {
    font-size: clamp(28px, 8vw, 38px);
  }

  .torr-intro-copy p {
    font-size: 13px;
    line-height: 1.55;
  }

  .torr-panel--website video {
    min-height: 0;
    aspect-ratio: 16 / 10;
  }
}

/* PCB project page */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.pcb-page {
  background: #111;
  color: #fff;
}

.pcb-hero {
  position: relative;
  aspect-ratio: auto;
  height: 70vh;
  min-height: 70vh;
  max-height: none;
  overflow: hidden;
  background: #0a0a0a;
}

.pcb-hero-desktop,
.pcb-hero-mobile {
  position: absolute;
  min-height: 0;
  object-fit: cover;
  background: #0a0a0a;
  opacity: 1;
}

/* Elementor background-video cover: scale past edges, center in frame */
.pcb-hero-desktop {
  top: 50%;
  left: 50%;
  width: auto;
  height: auto;
  min-width: 100%;
  min-height: 100%;
  transform: translate(-50%, -50%);
  object-position: center center;
}

.pcb-hero-mobile {
  inset: 0;
  width: 100%;
  height: 100%;
  object-position: center;
}

.pcb-hero .pcb-hero-desktop {
  display: block;
  z-index: 2;
}

.pcb-hero .pcb-hero-mobile {
  display: none;
  z-index: 1;
  object-position: center;
}

/* Desktop intro — two columns */
.pcb-intro--desktop {
  background: rgba(35, 35, 35, .84);
  padding: 43px 0 23px;
}

.pcb-intro-grid {
  display: grid;
  grid-template-columns: 65.617% 34.383%;
  align-items: center;
  gap: 0;
  max-width: 1547px;
  margin: 0 auto;
  padding: 0 clamp(16px, 3vw, 40px);
  min-height: 23vh;
}

.pcb-intro-copy p {
  margin: 0;
  padding: 0 clamp(12px, 2vw, 28px) 0 0;
  color: rgba(255, 255, 255, .88);
  font-size: clamp(14px, 1.05vw, 17px);
  line-height: 1.62;
  font-weight: 400;
}

.pcb-intro-title-col {
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.pcb-intro-title {
  margin: 0;
  font-size: clamp(38px, 4.8vw, 72px);
  font-weight: 700;
  line-height: .92;
  letter-spacing: -.03em;
  color: #fff;
}

/* Mobile intro — stacked */
.pcb-intro--mobile {
  background: rgba(35, 35, 35, .84);
  padding: 22px 22px 32px 20px;
  min-height: 0;
}

.pcb-intro--mobile .pcb-intro-title {
  margin: 0 0 18px;
  font-size: 20px;
  line-height: 1.08;
  letter-spacing: -.02em;
  text-align: left;
}

.pcb-intro--mobile p {
  margin: 0;
  max-width: 36ch;
  font-size: 15px;
  line-height: 1.58;
  letter-spacing: -.15px;
  color: rgba(255, 255, 255, .8);
}

/* Roll-up parallax */
.pcb-rollup {
  display: none;
  min-height: 100vh;
  padding-bottom: 37px;
  background-color: #0a0a0a;
  background-image: url("assets/projects/pcb/03_Roll-Up-Mock-up1.png");
  background-position: top center;
  background-repeat: no-repeat;
  background-size: cover;
}

.pcb-rollup-layer {
  display: none;
}

.pcb-panel {
  margin: 0;
  overflow: hidden;
  background: #0a0a0a;
}

.pcb-panel img,
.pcb-panel video {
  display: block;
  width: 100%;
  height: auto;
}

.pcb-panel--contained.pcb-panel--applications {
  background: #164c87;
}

.pcb-panel--contained {
  background: #545454;
}

.pcb-panel--contained img {
  max-width: 1547px;
  margin: 60px auto;
  width: 100%;
  object-fit: contain;
}

.pcb-panel--video video {
  aspect-ratio: 16 / 9;
  width: 100%;
  object-fit: cover;
  object-position: center;
  background: #0a0a0a;
}

.pcb-panel--banner-overlap {
  position: relative;
  z-index: 2;
  margin-bottom: -297px;
}

.pcb-panel--banner-overlap video {
  aspect-ratio: 16 / 9;
  width: 100%;
  height: auto;
  min-height: 0;
}

.pcb-calendar {
  position: relative;
  z-index: 1;
  margin-top: -7px;
  padding: clamp(28px, 4vw, 52px) clamp(12px, 2vw, 24px) clamp(36px, 5vw, 64px);
  background-color: #164c87;
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

.pcb-calendar img {
  display: block;
  width: 100%;
  max-width: 1920px;
  height: auto;
  object-fit: contain;
  object-position: top center;
  background: transparent;
}

.pcb-panel--tablet-only {
  display: none;
  background: #d7d7d7;
}

.pcb-panel--tablet-only img {
  object-fit: cover;
}

.pcb-panel--mobile-stack {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 0;
  background: #0a0a0a;
  min-height: 56vh;
}

.pcb-panel--calendar-mobile {
  min-height: 0;
  align-items: center;
}

.pcb-panel--calendar-mobile img {
  width: min(100%, 553px);
  height: auto;
  max-height: none;
  min-height: 0;
}

.pcb-panel--mobile-stack img {
  width: min(100%, 457px);
  height: auto;
  object-fit: contain;
  object-position: top center;
  background: transparent;
}

.pcb-panel--banner-mobile {
  min-height: 189px;
  margin-top: -15px;
  margin-bottom: 0;
  overflow: hidden;
}

.pcb-panel--banner-mobile video {
  width: 100%;
  min-height: 189px;
  aspect-ratio: 16 / 9;
  margin: 0;
  object-fit: cover;
}

.pcb-panel--mobile-stack + .pcb-panel--mobile-stack {
  margin-top: 0;
}

.pcb-panel--mobile-stack:has(+ .pcb-panel--banner-mobile) {
  margin-bottom: 0;
}

.pcb-panel--banner-mobile + .pcb-panel--mobile-stack {
  margin-top: -23px;
  margin-bottom: -23px;
}

.pcb-panel--closing-video video {
  aspect-ratio: 4 / 3;
  min-height: 28vh;
  object-fit: cover;
}

.pcb-panel--video-tall {
  min-height: 81vh;
}

.pcb-panel--video-tall video {
  min-height: 81vh;
  aspect-ratio: auto;
  object-fit: cover;
}

.pcb-mobile-only {
  display: none;
}

.pcb-page img {
  background: transparent;
}

.pcb-page video {
  background: #0a0a0a;
}

@media (min-width: 981px) {
  .pcb-rollup {
    display: block;
    background-attachment: fixed;
  }
}

@media (min-width: 768px) and (max-width: 980px) {
  .pcb-panel--tablet-only {
    display: block;
  }
}

@media (max-width: 980px) {
  .pcb-hero {
    height: 66vh;
    min-height: 66vh;
  }

  .pcb-hero-desktop,
  .pcb-hero-mobile {
    min-height: 0;
  }

  .pcb-hero .pcb-hero-desktop {
    display: none !important;
  }

  .pcb-hero .pcb-hero-mobile {
    display: block !important;
  }

  .pcb-desktop-only,
  .pcb-rollup {
    display: none !important;
  }

  .pcb-mobile-only {
    display: block;
  }

  .pcb-panel--mobile-stack.pcb-mobile-only {
    display: flex;
  }

  .pcb-panel--video.pcb-mobile-only {
    display: block;
  }
}

@media (prefers-reduced-motion: reduce) {
  .pcb-rollup {
    background-attachment: scroll;
  }
}

/* Palram project page */
.palram-page.page {
  background: #fff;
}

body:has(.palram-page) {
  background: #fff;
}

.palram-page {
  background: #fff;
  color: #000;
}

.palram-page .topbar {
  background: #000;
}

.palram-hero {
  position: relative;
  width: 100%;
  min-height: 80vh;
  overflow: hidden;
  background: #fff;
  margin: 0;
  padding: 0;
}

.palram-hero-video {
  position: absolute;
  top: 50%;
  left: 50%;
  width: auto;
  height: auto;
  min-width: 100%;
  min-height: 100%;
  transform: translate(-50%, -50%);
  object-fit: cover;
  object-position: center center;
  display: block;
  background: transparent;
}

.palram-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  min-height: 500px;
  margin-bottom: -65px;
  position: relative;
  z-index: 2;
  background: #fff;
}

.palram-intro-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  background: #fff;
  padding: 42px clamp(32px, 4vw, 56px) 86px clamp(32px, 4vw, 42px);
}

.palram-intro-visual {
  min-height: 660px;
  overflow: hidden;
  background: #fff;
}

.palram-intro-visual img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 660px;
  object-fit: cover;
  object-position: center center;
  background: transparent;
}

.palram-intro-title {
  margin: 0 0 clamp(18px, 2vw, 28px);
  color: #1a1a1a;
  font-family: Poppins, sans-serif;
  font-size: clamp(34px, 3.6vw, 56px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -.02em;
  text-align: left;
}

.palram-intro-text {
  max-width: 38ch;
}

.palram-intro-copy p {
  margin: 0 0 18px;
  color: rgba(30, 30, 30, .68);
  font-family: Poppins, sans-serif;
  font-size: clamp(14px, 1.05vw, 17px);
  font-weight: 400;
  line-height: 1.62;
  text-align: left;
}

.palram-intro-copy p:last-child {
  margin-bottom: 0;
}

.palram-panel {
  position: relative;
  overflow: hidden;
  margin: 0;
  padding: 0;
  background: #fff;
}

.palram-panel--natural {
  overflow: visible;
  line-height: 0;
}

.palram-panel--natural img {
  position: static;
  inset: auto;
  width: 100%;
  height: auto;
  max-width: 100%;
  object-fit: contain;
  object-position: center top;
  vertical-align: top;
}

.palram-panel--tight-top {
  margin-top: 5px;
}

.palram-panel--gap-sm {
  margin-top: 8px;
  margin-bottom: 16px;
}

.palram-panel--pull-up {
  margin-top: -21px;
}

.palram-panel--pull-up + .palram-panel--pull-up {
  margin-bottom: 0;
}

.palram-panel img,
.palram-panel video {
  display: block;
  width: 100%;
  background: transparent;
}

.palram-panel--cover {
  position: relative;
}

.palram-panel--cover img,
.palram-panel--cover video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.palram-panel--top img {
  object-position: top center;
}

.palram-panel--video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.palram-page .palram-panel--natural img,
.palram-page .palram-intro-visual img {
  height: auto;
}

.palram-page .palram-intro-visual img {
  height: 100%;
  min-height: 660px;
}

.palram-desktop-only { display: block; }
.palram-mobile-only { display: none; }

.palram-page img {
  background: transparent;
}

.palram-page .similar-projects {
  background: #181818;
}

@media (max-width: 980px) {
  .palram-hero {
    min-height: 48vh;
  }

  /*
    Mobile hero was painting the video at intrinsic 1080×1543px then centering it
    (left ≈ -345), which cropped "Imagine / Build / Dream". Fill the frame instead.
    Desktop .palram-hero-video rules stay unchanged above 980px.
  */
  .palram-hero.palram-mobile-only .palram-hero-video {
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    min-width: 0;
    min-height: 0;
    max-width: none;
    max-height: none;
    transform: none;
    object-fit: cover;
    object-position: center center;
  }

  .palram-intro {
    display: flex;
    flex-direction: column;
    min-height: 0;
    margin-bottom: 0;
  }

  .palram-intro-visual {
    order: -1;
    min-height: 0;
  }

  .palram-intro-visual img {
    min-height: 0;
    height: auto;
  }

  /* Beat desktop `.palram-page .palram-intro-visual img { min-height: 660px }` on mobile only */
  .palram-page .palram-intro-visual {
    min-height: 0;
  }

  .palram-page .palram-intro-visual img {
    min-height: 0;
    height: auto;
    width: 100%;
    object-fit: contain;
    object-position: center center;
  }

  .palram-intro-copy {
    order: 0;
    padding: 42px 42px 86px;
  }

  .palram-intro-text {
    max-width: none;
  }

  .palram-desktop-only {
    display: none !important;
  }

  .palram-mobile-only {
    display: block !important;
  }

  /*
    Mobile brand panels were forced into vh boxes with absolute cover, which cropped
    the designed mobile PNGs and made the vertical scroll feel broken. Show each
    asset at its natural width/height like the working historical layout.
  */
  .palram-panel.palram-mobile-only.palram-panel--cover {
    min-height: 0;
    overflow: hidden;
    line-height: 0;
  }

  .palram-panel.palram-mobile-only.palram-panel--cover img {
    position: static;
    inset: auto;
    width: 100%;
    height: auto;
    max-width: 100%;
    object-fit: contain;
    object-position: center top;
  }

  .palram-panel--mob48,
  .palram-panel--mob63,
  .palram-panel--mob63b,
  .palram-panel--mob76,
  .palram-panel--mob39,
  .palram-panel--mob39b {
    min-height: 0;
  }

  .palram-panel--mob60 {
    min-height: 60vh;
  }

  /* Mobile track panel: fill min-height like cover tiles (desktop video rules unchanged) */
  .palram-panel--video.palram-mobile-only {
    position: relative;
    min-height: 60vh;
  }

  .palram-panel--video.palram-mobile-only video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
  }

  .palram-page {
    overflow-x: clip;
  }
}

/* Scentcom project page — matched to Elementor post-1768 */
body:has(.scantcom-page) {
  background: #30bdff;
}

.scantcom-page {
  background: #30bdff;
  color: #fff;
  overflow-x: hidden;
}

.scantcom-page .topbar {
  background: #000;
}

.scantcom-page img,
.scantcom-page video:not(.scantcom-onepage-bg):not(.scantcom-videobg-media) {
  height: auto;
  background: transparent;
}

/* 01 Hero — scentcom-scaled.jpg */
.scantcom-hero {
  position: relative;
  width: 100%;
  min-height: 450px;
  margin: 0;
  padding: 0;
  overflow: hidden;
  background: #30bdff;
}

.scantcom-hero-bg {
  display: block;
  width: 100%;
  min-height: 450px;
  background-color: #30bdff;
  background-image: url("assets/projects/scantcom/scentcom-scaled.jpg");
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
}

@media (min-width: 1025px) {
  .scantcom-hero-bg {
    background-attachment: fixed;
  }
}

/* 02 Intro */
.scantcom-intro {
  background: rgba(35, 35, 35, .84);
  margin: 0;
  padding: clamp(22px, 2.4vw, 30px) clamp(20px, 4.5vw, 56px) clamp(18px, 2vw, 24px);
}

.scantcom-intro-shell {
  display: grid;
  grid-template-columns: minmax(160px, 28%) minmax(0, 1fr);
  gap: clamp(18px, 2.6vw, 32px);
  align-items: start;
  width: 100%;
  max-width: 980px;
  margin: 0 auto;
}

.scantcom-intro-brand {
  position: relative;
  padding-right: clamp(14px, 2vw, 24px);
  border-right: 1px solid rgba(255, 255, 255, .12);
}

.scantcom-intro-title {
  margin: 0;
  color: #fff;
  font-size: clamp(34px, 3.6vw, 56px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -.02em;
  text-align: left;
}

.scantcom-intro-copy {
  min-width: 0;
}

.scantcom-intro-body {
  display: grid;
  gap: clamp(8px, 1vw, 12px);
  max-width: 44ch;
}

.scantcom-intro-lead {
  margin: 0;
  color: rgba(255, 255, 255, .88);
  font-size: clamp(14px, 1.05vw, 17px);
  font-weight: 400;
  line-height: 1.62;
  letter-spacing: 0;
}

.scantcom-intro-detail {
  margin: 0;
  padding: clamp(10px, 1.1vw, 12px) 0 0;
  border-top: 1px solid rgba(255, 255, 255, .1);
  color: rgba(255, 255, 255, .72);
  font-size: clamp(14px, 1.05vw, 17px);
  font-weight: 400;
  line-height: 1.62;
  letter-spacing: 0;
}

.scantcom-intro-scope {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 0;
  margin: clamp(10px, 1.2vw, 14px) 0 0;
  padding: clamp(10px, 1.1vw, 12px) 0 0;
  border-top: 1px solid rgba(255, 255, 255, .1);
  list-style: none;
}

.scantcom-intro-scope li {
  display: inline-flex;
  align-items: center;
  color: rgba(255, 255, 255, .46);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .14em;
  line-height: 1.1;
  text-transform: uppercase;
}

.scantcom-intro-scope li + li::before {
  content: "|";
  margin: 0 8px;
  color: rgba(255, 255, 255, .22);
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
}

/* 03 App screens */
.scantcom-app-screens {
  position: relative;
  z-index: 2;
  margin: 0;
  padding: 0;
  min-height: 49vh;
  background-color: #30bdff;
}

.scantcom-app-screens-spacer {
  min-height: 78vh;
  background-color: #30bdff;
  background-image: url("assets/projects/scantcom/scentcom-app-screens.png");
  background-position: center center;
  background-repeat: no-repeat;
  background-size: 77% auto;
}

/* 04 Product single page website */
.scantcom-heading {
  margin: 0;
  padding: 0;
  text-align: center;
  background: #30bdff;
}

.scantcom-heading h2 {
  margin: 0;
  padding: 8px 16px 14px;
  color: #fff;
  font-size: 37px;
  font-weight: 200;
  line-height: 1.1;
}

.scantcom-panel {
  margin: 0;
  padding: 0;
  line-height: 0;
  background: #30bdff;
}

.scantcom-panel img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
}

.scantcom-panel--laptop {
  min-height: 65vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.scantcom-panel--laptop img {
  width: 100vw;
  max-width: 100vw;
}

/* 05 Before & After */
.scantcom-heading--ba {
  background: #a1a1a1;
}

.scantcom-heading--ba h2 {
  font-size: 37px;
}

.scantcom-ba-duo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin: 0;
}

.scantcom-ba-col {
  min-height: 50vh;
  padding-bottom: 55px;
  background-repeat: no-repeat;
  background-size: cover;
  box-sizing: border-box;
}

.scantcom-ba-col--after {
  background-color: #a1a1a1;
  background-image: url("assets/projects/scantcom/Gif-scantcom-1.gif");
  background-position: bottom center;
}

.scantcom-ba-col--before {
  background-color: #30bdff;
  background-image: url("assets/projects/scantcom/Gif-scantcom-2.gif");
  background-position: center center;
}

.scantcom-ba-trio {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  justify-content: center;
  min-height: 59vh;
  margin: 0;
  padding: 0;
  background: #30bdff;
  overflow: hidden;
}

.scantcom-ba-trio-col {
  flex: 0 0 auto;
  align-self: stretch;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
}

.scantcom-ba-trio-col--a {
  width: 30.338%;
  min-height: 59vh;
  background-image: url("assets/projects/scantcom/scentcom-scaled.jpg");
}

.scantcom-ba-trio-col--b {
  width: 21.82%;
  min-height: 59vh;
  background-image: url("assets/projects/scantcom/scentcom-welcom-new.jpg");
}

.scantcom-ba-trio-col--c {
  width: 47.174%;
  min-height: 59vh;
  background-image: url("assets/projects/scantcom/scentcom-cut-6.jpg");
}

/* 06 One Page Product Website — desktop */
.scantcom-onepage {
  position: relative;
  overflow: hidden;
  margin: 0;
  min-height: 72vh;
  direction: ltr;
  background: #30bdff;
}

.scantcom-onepage-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  pointer-events: none;
}

.scantcom-onepage-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 59.571% 40.429%;
  align-items: center;
  min-height: 72vh;
  direction: ltr;
}

.scantcom-onepage-card {
  margin-right: 80px;
  margin-left: 0;
  padding: 12px 0 22px;
  background: #544d1e;
  text-align: center;
}

.scantcom-onepage-card h2 {
  margin: 23px 0 12px;
  padding-bottom: 9px;
  color: #fff;
  font-size: 25px;
  font-weight: 200;
  line-height: 1.1;
}

.scantcom-onepage-card h2 strong {
  font-weight: 700;
}

.scantcom-onepage-card img {
  display: block;
  width: 30%;
  margin: 0 auto 22px;
  box-shadow: 3px 4px 7px -1px rgba(0, 0, 0, .5);
}

.scantcom-onepage-spacer {
  min-height: 72vh;
}

/* 06b One Page — mobile */
.scantcom-onepage-mobile {
  background: #544d1e;
  text-align: center;
  padding: 0 0 22px;
  direction: ltr;
}

.scantcom-onepage-mobile-video {
  display: block;
  width: 100%;
  max-width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  background: #544d1e;
}

.scantcom-onepage-mobile h2 {
  margin: 23px 0 12px;
  padding-bottom: 9px;
  color: #fff;
  font-size: 25px;
  font-weight: 200;
  line-height: 1.1;
}

.scantcom-onepage-mobile h2 strong {
  font-weight: 700;
}

.scantcom-onepage-mobile img {
  display: block;
  width: 54%;
  margin: 0 auto 22px;
  box-shadow: 3px 4px 7px -1px rgba(0, 0, 0, .5);
}

/* 07 Closing */
.scantcom-videobg {
  position: relative;
  margin: 0;
  padding: 0;
  min-height: 400px;
  overflow: hidden;
  background: #30bdff;
  line-height: 0;
}

.scantcom-videobg-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  pointer-events: none;
}

.scantcom-closing {
  margin: 0;
  padding: 0;
  line-height: 0;
  background: #30bdff;
}

.scantcom-closing-video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: #30bdff;
}

/* Elementor visibility: desktop ≥1025, tablet 768–1024, phone ≤767 */
.scantcom-view-desktop,
.scantcom-view-not-phone {
  display: block;
}

.scantcom-view-not-desktop {
  display: none;
}

.scantcom-page .similar-projects {
  background: #181818;
  border-top: none;
  margin-top: 0;
}

.scantcom-page .similar-projects.arava-reveal,
.scantcom-page .similar-projects.arava-reveal.is-visible,
.scantcom-page .site-footer.arava-reveal,
.scantcom-page .site-footer.arava-reveal.is-visible {
  transform: none;
}

@media (max-width: 1024px) {
  .scantcom-app-screens {
    min-height: 369px;
  }

  .scantcom-app-screens-spacer {
    background-size: 1000px auto;
  }

  .scantcom-panel--laptop {
    min-height: 369px;
  }

  .scantcom-view-desktop {
    display: none !important;
  }

  .scantcom-view-not-desktop {
    display: block !important;
  }
}

@media (max-width: 767px) {
  .scantcom-hero,
  .scantcom-hero-bg {
    min-height: 30vh;
  }

  .scantcom-intro {
    padding: 20px 22px 26px;
  }

  .scantcom-intro-shell {
    grid-template-columns: 1fr;
    gap: 18px;
    max-width: none;
  }

  .scantcom-intro-brand {
    padding: 0 0 18px;
    margin-bottom: 0;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, .1);
  }

  .scantcom-intro-title {
    font-size: clamp(32px, 8.5vw, 40px);
    line-height: 1;
  }

  .scantcom-intro-body {
    max-width: none;
    gap: 0;
  }

  .scantcom-intro-lead {
    margin: 0 0 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
    font-size: 14px;
    font-weight: 400;
    line-height: 1.62;
    letter-spacing: 0;
  }

  .scantcom-intro-detail {
    margin: 0;
    padding-top: 0;
    border-top: 0;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.62;
    letter-spacing: 0;
    color: rgba(255, 255, 255, .72);
  }

  .scantcom-intro-scope {
    margin-top: 16px;
    padding-top: 16px;
  }

  .scantcom-intro-scope li {
    font-size: 9px;
    letter-spacing: .12em;
  }

  .scantcom-app-screens {
    min-height: 255px;
  }

  .scantcom-app-screens-spacer {
    min-height: 255px;
    background-image: url("assets/projects/scantcom/scentcom-app-screens-2-mobile.png");
    background-position: center center;
    background-size: 398px auto;
  }

  .scantcom-heading--product {
    margin-top: -43px;
  }

  .scantcom-heading--product h2 {
    font-size: 27px;
  }

  .scantcom-heading--ba h2 {
    font-size: 23px;
  }

  .scantcom-panel--laptop {
    min-height: 238px;
  }

  .scantcom-ba-duo {
    grid-template-columns: 1fr;
  }

  .scantcom-ba-col--before {
    order: 1;
  }

  .scantcom-ba-col--after {
    order: 2;
  }

  .scantcom-ba-col {
    width: 100%;
    min-height: 497px;
    padding-bottom: 55px;
    background-size: cover;
    box-sizing: border-box;
  }

  .scantcom-ba-col--before {
    background-position: center center;
  }

  .scantcom-ba-col--after {
    background-position: bottom center;
  }

  .scantcom-ba-trio {
    flex-direction: column;
    align-items: stretch;
  }

  .scantcom-ba-trio-col,
  .scantcom-ba-trio-col--a,
  .scantcom-ba-trio-col--b,
  .scantcom-ba-trio-col--c {
    width: 100%;
  }

  .scantcom-ba-trio-col--a {
    min-height: 243px;
  }

  .scantcom-ba-trio-col--b {
    min-height: 59vh;
  }

  .scantcom-ba-trio-col--c {
    min-height: 254px;
  }

  .scantcom-onepage-card {
    margin-right: 0;
  }

  .scantcom-videobg {
    min-height: 202px;
  }

  .scantcom-closing {
    margin: 0;
  }

  .scantcom-view-not-phone {
    display: none !important;
  }
}

/* The Right Cup project page */
body:has(.cup-page) {
  background: #207ea9;
}

.cup-page {
  background: #207ea9;
  color: #fff;
  overflow-x: hidden;
}

.cup-page .topbar {
  background: #000;
}

.cup-page img:not(.similar-grid img):not(.cup-laptop-image),
.cup-page video:not(.similar-grid video):not(.cup-showcase-video) {
  height: auto;
  background: transparent;
}

.cup-hero {
  width: 100%;
  margin: 0;
  padding: 0;
}

.cup-hero-bg {
  width: 100%;
  min-height: 450px;
  background-image: url("assets/projects/cup/web-right-cup-banner.jpg");
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
}

.cup-intro {
  background: rgba(35, 35, 35, .84);
  padding: clamp(36px, 4vw, 52px) clamp(24px, 8vw, 120px) clamp(28px, 3vw, 40px);
  margin: 0;
}

.cup-intro-shell {
  display: grid;
  grid-template-columns: minmax(220px, 37.98%) minmax(0, 62.02%);
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
  max-width: 1540px;
  margin: 0 auto;
}

.cup-intro-brand {
  position: relative;
  padding-right: clamp(20px, 3vw, 44px);
  border-right: 1px solid rgba(255, 255, 255, .16);
}

.cup-intro-title {
  margin: 0;
  color: #fff;
  font-size: clamp(34px, 3.6vw, 56px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -.02em;
}

.cup-intro-body {
  display: grid;
  gap: clamp(16px, 2vw, 22px);
  max-width: 56ch;
}

.cup-intro-lead {
  margin: 0;
  color: rgba(255, 255, 255, .88);
  font-size: clamp(14px, 1.05vw, 17px);
  font-weight: 400;
  line-height: 1.62;
}

.cup-intro-detail {
  margin: 0;
  padding: clamp(14px, 1.6vw, 18px) 0 0;
  border-top: 1px solid rgba(255, 255, 255, .14);
  color: rgba(255, 255, 255, .72);
  font-size: clamp(14px, 1.05vw, 17px);
  font-weight: 400;
  line-height: 1.62;
}

.cup-float-stage {
  margin: 0;
  padding: 0;
  background: #207ea9;
  overflow: hidden;
}

.cup-float-inner {
  position: relative;
  width: 100%;
  margin: 0 auto;
}

.cup-float-spacer {
  min-height: 78vh;
  background-image: url("assets/projects/cup/2-screen.png");
  background-position: center center;
  background-repeat: no-repeat;
  background-size: 100% auto;
}

.cup-float-fruit {
  position: absolute;
  display: block;
  background: transparent;
  pointer-events: auto;
  cursor: default;
  filter: drop-shadow(0 14px 26px rgba(0, 0, 0, .26));
  will-change: transform;
  transition: filter .25s ease;
}

.cup-float-fruit:hover,
.cup-float-fruit.is-fruit-hover {
  filter: drop-shadow(0 20px 34px rgba(0, 0, 0, .34));
}

.cup-float-fruit--berry {
  left: 56%;
  top: 9%;
  width: clamp(90px, 7.5vw, 150px);
}

.cup-float-fruit--orange {
  left: 49%;
  top: 27%;
  width: clamp(64px, 5.2vw, 105px);
}

@media (prefers-reduced-motion: reduce) {
  .cup-float-fruit {
    filter: drop-shadow(0 10px 18px rgba(0, 0, 0, .2));
  }
}

.cup-laptop-stage {
  display: grid;
  grid-template-columns: 31.389% 68.525%;
  align-items: stretch;
  background-color: #033156;
  margin: 0;
  padding: 0;
  overflow: hidden;
}

.cup-scroll-panel {
  display: flex;
  justify-content: center;
  padding: 35px 5px 2px;
  background-color: #033156;
  line-height: 0;
}

.cup-scroll-panel img {
  display: block;
  width: 77%;
  margin: 0 0 1px;
  height: auto;
  object-fit: contain;
  object-position: top center;
  background: transparent;
}

.cup-showcase-panel {
  display: grid;
  grid-template-rows: 69vh 68vh;
  align-content: stretch;
  width: 100%;
  min-height: 100%;
  background-color: #033156;
}

.cup-showcase-laptop {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  min-height: 0;
  padding: 0;
  background-color: #033156;
  overflow: visible;
}

.cup-laptop-image {
  display: block;
  width: 70vw;
  max-width: none;
  height: auto;
  object-fit: contain;
  object-position: bottom center;
  background: transparent;
  pointer-events: none;
}

.cup-showcase-video-wrap {
  position: relative;
  z-index: 1;
  min-height: 400px;
  margin-top: -2px;
  overflow: hidden;
  background-color: #033156;
}

.cup-showcase-video {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 400px;
  object-fit: cover;
  object-position: center center;
  background-color: #033156;
}

.cup-heading {
  padding: 30px 0 20px;
  text-align: center;
}

.cup-heading h2 {
  margin: 0;
  color: #f7fcfd;
  font-size: clamp(21px, 2vw, 32px);
  font-weight: 200;
}

.cup-trio {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1541px;
  margin: 0 auto 46px;
  padding: 0 24px 48px;
}

.cup-trio-item {
  margin: 0;
}

.cup-trio-item img {
  display: block;
  width: 100%;
  height: auto;
  border: 6px solid #fff;
  box-shadow: 0 0 2px rgba(0, 0, 0, .5);
}

.cup-carousel-section {
  width: 100%;
  min-height: 100vh;
  margin: 0;
  padding: 0;
}

.cup-carousel {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 100vh;
  overflow: hidden;
  background: #207ea9;
}

.cup-carousel-track {
  position: relative;
  width: 100%;
  height: 100%;
}

.cup-carousel-slide {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  transition: opacity .5s ease;
  pointer-events: none;
}

.cup-carousel-slide.is-active {
  opacity: 1;
  pointer-events: auto;
}

.cup-carousel-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.cup-carousel-arrow {
  position: absolute;
  top: 50%;
  z-index: 3;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: rgba(0, 0, 0, .45);
  color: #fff;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.cup-carousel-prev {
  left: 16px;
}

.cup-carousel-next {
  right: 16px;
}

.cup-page .similar-projects {
  background: #181818;
}

@media (max-width: 1024px) {
  .cup-float-spacer {
    min-height: 368px;
    background-size: 1000px auto;
  }

  .cup-float-fruit--berry {
    left: 54%;
    top: 8%;
    width: clamp(72px, 8vw, 110px);
  }

  .cup-float-fruit--orange {
    left: 48%;
    top: 26%;
    width: clamp(52px, 5.8vw, 82px);
  }

  .cup-showcase-panel {
    grid-template-rows: 280px 292px;
  }

  .cup-showcase-video {
    min-height: 292px;
  }
}

@media (max-width: 767px) {
  .cup-hero-bg {
    min-height: 40vh;
    background-size: 738px auto;
  }

  .cup-intro {
    padding: 14px 20px 24px 20px;
  }

  .cup-intro-shell {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .cup-intro-brand {
    padding: 0 0 18px;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, .14);
  }

  .cup-intro-title {
    font-size: 51px;
  }

  .cup-intro-body {
    max-width: none;
    gap: 0;
  }

  .cup-intro-lead {
    margin: 0 0 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, .1);
    font-size: 14px;
    font-weight: 400;
    line-height: 1.62;
    letter-spacing: 0;
  }

  .cup-intro-detail {
    margin: 0;
    padding-top: 0;
    border-top: 0;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.62;
    letter-spacing: 0;
    color: rgba(255, 255, 255, .72);
  }

  .cup-float-spacer {
    min-height: 255px;
    background-size: 711px auto;
  }

  .cup-float-stage {
    margin: 0;
    padding: 0;
  }

  .cup-float-fruit--berry {
    left: 52%;
    top: 6%;
    width: clamp(62px, 22vw, 88px);
  }

  .cup-float-fruit--orange {
    left: 44%;
    top: 30%;
    width: clamp(48px, 17vw, 68px);
  }

  .cup-laptop-stage {
    display: flex;
    flex-direction: column;
  }

  .cup-showcase-panel {
    order: 1;
    display: grid;
    grid-template-rows: min(52vw, 400px) min(62vw, 360px);
    margin-bottom: 0;
  }

  .cup-showcase-laptop {
    padding: 1.25rem 0 0;
    overflow: visible;
    justify-content: center;
    align-items: flex-end;
  }

  .cup-laptop-image {
    width: min(100vw, 620px);
    max-width: none;
    margin-left: 0;
  }

  .cup-showcase-video-wrap {
    margin-top: 0;
    min-height: 0;
    height: 100%;
    padding: 1.25rem 0;
    box-sizing: border-box;
  }

  .cup-showcase-video {
    min-height: min(62vw, 360px);
    height: 100%;
    object-fit: cover;
    object-position: center top;
  }

  .cup-scroll-panel {
    order: 2;
    margin: 2.5rem 0;
    z-index: 20;
    padding: 2.5rem 4px;
    justify-content: center;
  }

  .cup-scroll-panel img {
    width: 100%;
    max-width: 100%;
    margin: 0;
  }

  .cup-heading {
    padding: 23px 0 1px;
  }

  .cup-trio {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-bottom: 25px;
    padding-bottom: 24px;
  }

  .cup-carousel,
  .cup-carousel-section {
    min-height: 56vw;
    height: auto;
  }

  .cup-carousel {
    aspect-ratio: 16 / 9;
    min-height: 0;
    height: auto;
  }

  .cup-carousel-track {
    aspect-ratio: 16 / 9;
    height: auto;
  }
}

/* Shared case-study pages (canada, casino, cup, eb, getfit, etc.) */
.cs-page {
  background: #111;
  color: #fff;
}

.cs-hero {
  position: relative;
  height: 70vh;
  min-height: 70vh;
  overflow: hidden;
  background: #0a0a0a;
  direction: ltr;
}

.cs-hero .cs-hero-desktop {
  display: block;
  z-index: 2;
}

.cs-hero .cs-hero-mobile {
  display: none;
  z-index: 1;
}

.cs-hero-image,
.cs-hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  transform: none;
  object-fit: cover;
  object-position: center center;
}

.cs-hero-desktop,
.cs-hero-mobile {
  position: absolute;
  min-height: 0;
  object-fit: cover;
  background: #0a0a0a;
}

.cs-hero-desktop {
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  transform: none;
  object-position: center center;
  display: block;
  z-index: 2;
}

.cs-hero-mobile {
  inset: 0;
  width: 100%;
  height: 100%;
  object-position: center;
  display: none;
  z-index: 1;
}

.cs-intro {
  background: rgba(35, 35, 35, .84);
  padding: clamp(28px, 4vw, 48px) clamp(16px, 4vw, 40px);
}

.cs-intro-copy {
  max-width: 920px;
  margin: 0 auto;
}

.cs-intro-copy .project-eyebrow {
  margin: 0 0 clamp(18px, 2vw, 28px);
  color: #fff;
  font-size: clamp(34px, 3.6vw, 56px);
  font-weight: 700;
  letter-spacing: -.02em;
  line-height: 1;
}

.cs-intro-copy p {
  margin: 0;
  color: rgba(255, 255, 255, .88);
  font-size: clamp(14px, 1.05vw, 17px);
  font-weight: 400;
  line-height: 1.62;
}

.cs-panel {
  background: #111;
}

.cs-panel img,
.cs-panel video {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  background: transparent;
}

.cs-panel--video video {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.cs-label {
  margin: 0;
  padding: 12px clamp(16px, 3vw, 40px) 0;
  color: rgba(255, 255, 255, .6);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.cs-grid {
  display: grid;
  gap: 0;
  background: #111;
}

.cs-grid--2 { grid-template-columns: repeat(2, 1fr); }
.cs-grid--3 { grid-template-columns: repeat(3, 1fr); }
.cs-grid--4 { grid-template-columns: repeat(4, 1fr); }

.cs-grid figure {
  margin: 0;
}

.cs-grid img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  background: transparent;
}

.cs-stack {
  display: flex;
  flex-direction: column;
  background: #111;
}

.cs-stack figure {
  margin: 0;
}

.cs-stack img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  background: transparent;
}

.cs-desktop-only { display: block; }
.cs-mobile-only { display: none; }

.cs-page img {
  background: transparent;
}

.cs-page video {
  background: #0a0a0a;
}

@media (max-width: 980px) {
  .cs-hero {
    height: 66vh;
    min-height: 66vh;
  }

  .cs-hero .cs-hero-desktop {
    display: none !important;
  }

  .cs-hero .cs-hero-mobile {
    display: block !important;
  }

  .cs-desktop-only {
    display: none !important;
  }

  .cs-mobile-only {
    display: block !important;
  }

  .cs-grid--2,
  .cs-grid--3,
  .cs-grid--4 {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .cs-intro-copy .project-eyebrow {
    font-size: 20px;
  }
}

/* Misgav project page */
html:has(.misgav-page),
body:has(.misgav-page) {
  background-color: #207ea9;
  background-image: url("assets/projects/misgav/bg.jpg");
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  /* scroll (not fixed) — fixed bg was making Misgav feel heavy to scroll */
  background-attachment: scroll;
  min-height: 100%;
}

.misgav-page {
  overflow-x: hidden;
  color: #fff;
  background: transparent;
}

.misgav-page .topbar {
  background: #000;
}

.misgav-page img:not(.similar-grid img):not(.misgav-slideshow img),
.misgav-page video:not(.misgav-hero-video) {
  height: auto;
  object-fit: contain;
  background: transparent;
}

.misgav-page .misgav-slideshow img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (min-width: 1025px) {
  body:has(.misgav-page) {
    background-attachment: scroll;
  }
}

/* Visibility — Elementor: hidden-tablet = tablet only (768–1024), hidden-phone = ≤767 */
.misgav-view-not-tablet {
  display: block;
}

.misgav-view-not-phone {
  display: block;
}

@media (min-width: 768px) and (max-width: 1024px) {
  .misgav-view-not-tablet {
    display: none !important;
  }
}

@media (max-width: 767px) {
  .misgav-view-not-phone {
    display: none !important;
  }
}

/* 01 Hero */
.misgav-hero {
  position: relative;
  width: 100%;
  height: 450px;
  min-height: 450px;
  max-height: 450px;
  margin: 0;
  padding: 0;
  overflow: hidden;
  line-height: 0;
}

.misgav-hero-video {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
  object-position: center center;
}

@media (min-width: 768px) {
  .misgav-hero {
    height: calc((100svh - var(--header-h)) * 0.7);
    min-height: calc((100svh - var(--header-h)) * 0.7);
    max-height: none;
  }
}

/* 02 Intro */
.misgav-intro {
  position: relative;
  z-index: 2;
  display: block;
  width: 100%;
  box-sizing: border-box;
  background: rgba(35, 35, 35, .84);
  margin: 0;
  padding: clamp(20px, 2.5vw, 32px) clamp(24px, 8vw, 120px);
  overflow: hidden;
}

.misgav-intro-shell {
  display: grid;
  grid-template-columns: minmax(200px, 37.98%) minmax(0, 62.02%);
  gap: clamp(20px, 3vw, 40px);
  align-items: center;
  width: 100%;
  max-width: 1540px;
  margin: 0 auto;
}

.misgav-intro-brand {
  position: relative;
  min-width: 0;
  padding-right: clamp(16px, 2.4vw, 32px);
}

.misgav-intro-title {
  margin: 0;
  color: #fff;
  font-family: Poppins, sans-serif;
  font-size: clamp(40px, 4.2vw, 64px);
  font-weight: 200;
  line-height: 1;
  letter-spacing: -.02em;
  text-align: left;
}

html[lang="en"] .misgav-page .misgav-intro-title {
  font-family: Poppins, sans-serif;
  font-weight: 200;
}

.misgav-intro-copy {
  min-width: 0;
}

.misgav-intro-body {
  display: grid;
  gap: clamp(10px, 1.2vw, 14px);
  max-width: 56ch;
}

.misgav-intro-lead {
  margin: 0;
  color: rgba(255, 255, 255, .88);
  font-size: clamp(13px, 0.95vw, 15px);
  font-weight: 400;
  line-height: 1.55;
  text-align: left;
}

.misgav-intro-detail {
  margin: 0;
  color: rgba(255, 255, 255, .72);
  font-size: clamp(13px, 0.95vw, 15px);
  font-weight: 400;
  line-height: 1.55;
  text-align: left;
}

.misgav-intro-scope {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 0;
  margin: clamp(12px, 1.4vw, 16px) 0 0;
  padding: clamp(10px, 1.1vw, 12px) 0 0;
  border-top: 1px solid rgba(255, 255, 255, .1);
  list-style: none;
}

.misgav-intro-scope li {
  display: inline-flex;
  align-items: center;
  color: rgba(255, 255, 255, .46);
  font-size: clamp(9px, 0.62vw, 10px);
  font-weight: 500;
  letter-spacing: .14em;
  line-height: 1.2;
  text-transform: uppercase;
}

.misgav-intro-scope li + li::before {
  content: "";
  display: inline-block;
  width: 1px;
  height: 10px;
  margin: 0 10px;
  background: rgba(255, 255, 255, .22);
}

@media (min-width: 768px) {
  .misgav-intro {
    display: flex;
    align-items: center;
    min-height: calc((100svh - var(--header-h)) * 0.3);
  }

  .misgav-intro-shell {
    width: 100%;
  }
}

/* 03 Before / after */
.misgav-before-after {
  display: grid;
  grid-template-columns: 65.679% 34.298%;
  direction: rtl;
  align-items: start;
  margin: 0;
  padding: 0;
}

.misgav-ba-new {
  margin: 0;
  padding: 0;
  min-width: 0;
  line-height: 0;
}

.misgav-ba-new-shell {
  margin: 0;
  padding: 0;
  width: 100%;
}

.misgav-ba-new img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  margin: 0 0 -2.5em;
}

.misgav-ba-old {
  /* Grid track stays 34.3% so img width:61% matches live (~289 @1440). */
  margin: 0;
  padding: 0;
  min-width: 0;
  overflow: visible;
}

.misgav-ba-old-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  /* Live Elementor: overlap into laptop column without widening % basis */
  margin: 0 -14em 0 0;
  padding: 0 0 53px;
  width: 100%;
  box-sizing: border-box;
}

/* Beat html[lang=en] .project-page h2 Poppins rule */
html[lang="en"] .misgav-page .misgav-ba-old-title,
.misgav-page .misgav-ba-old-title {
  margin: 0 0 12px;
  width: 100%;
  color: #fff;
  font-family: Poppins, sans-serif;
  font-size: 23px;
  font-weight: 200;
  line-height: 1.2em;
  letter-spacing: -0.4px;
  text-align: center;
}

.misgav-ba-old-frame {
  margin: 0;
  padding: 0;
  text-align: center;
  width: 100%;
}

.misgav-ba-old-frame img {
  display: inline-block;
  width: 61%;
  max-width: 100%;
  height: auto;
  border: 4px solid #fff;
  box-shadow: -1px 3px 10px -3px rgba(0, 0, 0, .5);
}

/* 04 Wide screen */
.misgav-wide-screen {
  position: relative;
  margin: -8em 0 0;
  padding: 0;
  overflow: visible;
  line-height: 0;
  text-align: center;
}

.misgav-wide-screen-img {
  display: block;
  width: 100vw;
  max-width: none;
  margin-right: calc(50% - 50vw);
  margin-left: calc(50% - 50vw);
  height: auto;
}

.misgav-model-fly {
  position: absolute;
  top: -18%;
  left: 30%;
  right: auto;
  z-index: 2;
  width: auto;
  max-width: min(520px, 36vw);
  height: auto;
  transform-origin: center top;
  pointer-events: none;
  background: transparent;
  will-change: transform;
}

@media (min-width: 1025px) {
  .misgav-before-after {
    align-items: center;
  }

  .misgav-ba-old-inner {
    justify-content: center;
    padding-top: 0;
    padding-bottom: 53px;
  }
}

/* 05 Slideshow stage */
.misgav-slideshow-stage {
  display: grid;
  grid-template-columns: 50% 24.52% 25%;
  align-items: center;
  margin: -7em 0 0;
  padding: 0;
}

.misgav-slideshow-col {
  position: relative;
  min-width: 0;
}

.misgav-slideshow {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.misgav-slideshow img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  opacity: 0;
  transition: opacity 250ms ease;
}

.misgav-slideshow img.is-active {
  opacity: 1;
}

.misgav-slideshow-spacer {
  position: relative;
  z-index: 1;
  min-height: 61vh;
  pointer-events: none;
}

.misgav-sos-frame {
  margin: 0;
  padding: 0;
  text-align: center;
  z-index: 1;
}

.misgav-slideshow-stage .misgav-sos-frame:nth-child(2) {
  margin: 0 -6em 0 5em;
}

.misgav-slideshow-stage .misgav-sos-frame:nth-child(3) {
  margin: 0 -10em 0 5em;
}

.misgav-sos-frame img {
  display: inline-block;
  width: 61%;
  height: auto;
  border: 2px solid #fff;
}

/* 06 SOS trio */
.misgav-sos-trio {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: center;
  margin: 0;
  padding: 50px 8px 50px 50px;
}

.misgav-sos-card {
  margin: 0;
  padding: 0;
  text-align: center;
  line-height: 0;
}

.misgav-sos-card img {
  display: inline-block;
  width: 82%;
  height: auto;
  border: 2px solid #fff;
  box-shadow: 0 0 10px rgba(0, 0, 0, .5);
}

.misgav-sos-card--web {
  margin: 0 7em 0 -7em;
}

.misgav-sos-card--mid {
  margin: 0 7em 0 -7em;
}

.misgav-sos-card--end {
  margin: 0 4em 0 -4em;
}

.misgav-sos-card--end img {
  box-shadow: none;
}

/* 07 SOS duo */
.misgav-sos-duo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  margin: 0 0 4em;
  padding: 50px;
}

.misgav-sos-duo .misgav-sos-card--tall {
  margin: 0 9em 0 -9em;
}

.misgav-sos-duo .misgav-sos-card--duo-right {
  margin: 0 -9em 0 0;
  align-self: flex-start;
}

.misgav-sos-duo .misgav-sos-card img {
  width: 56%;
}

.misgav-page .similar-projects {
  margin-top: 0;
}

@media (max-width: 1024px) {
  .misgav-intro {
    padding: clamp(18px, 4vw, 24px) clamp(20px, 5vw, 28px);
  }

  .misgav-intro-shell {
    grid-template-columns: 1fr;
    gap: clamp(16px, 4vw, 24px);
  }

  .misgav-intro-brand {
    padding-right: 0;
    padding-bottom: clamp(12px, 3vw, 16px);
    border-bottom: 1px solid rgba(255, 255, 255, .12);
  }

  .misgav-intro-title {
    font-size: clamp(30px, 8vw, 40px);
  }

  .misgav-intro-body {
    max-width: none;
  }

  .misgav-ba-old {
    margin: 0;
    padding: 0;
  }

  .misgav-ba-old-inner {
    margin: -42px -67px 0 41px;
    padding: 0;
  }

  html[lang="en"] .misgav-page .misgav-ba-old-title,
  .misgav-ba-old-title {
    font-size: 11px;
    font-weight: 200;
    letter-spacing: -0.4px;
    line-height: 1.2em;
  }

  .misgav-wide-screen {
    margin-top: 0;
    overflow: visible;
  }

  .misgav-wide-screen-img {
    width: 1000px;
    max-width: 1000px;
    margin: 0 -123px 0 -20px;
  }

  .misgav-model-fly {
    top: -136px;
    left: -174.297px;
    max-width: min(340px, 52vw);
  }

  .misgav-slideshow-stage {
    grid-template-columns: 1fr;
    margin-top: 0;
  }

  .misgav-sos-trio {
    padding: 0;
  }

  .misgav-sos-card--web,
  .misgav-sos-card--mid,
  .misgav-sos-card--end {
    margin: 0;
  }

  .misgav-sos-card--mid {
    margin: 0 83px 0 -80px;
  }

  .misgav-sos-card--end img {
    width: 87%;
    margin: 0 6px 0 12px;
  }

  .misgav-sos-duo {
    margin: 49px 0 61px;
    padding: 0 0 0 4px;
  }

  .misgav-sos-duo .misgav-sos-card--tall {
    margin: 0 -75px 0 0;
  }

  .misgav-sos-duo .misgav-sos-card--duo-right {
    margin: 0 -44px 0 0;
  }
}

@media (max-width: 767px) {
  .misgav-hero {
    height: calc((100svh - var(--header-h)) * 0.62);
    min-height: calc((100svh - var(--header-h)) * 0.62);
    max-height: none;
  }

  .misgav-hero-video {
    position: absolute;
    min-height: 100%;
  }

  .misgav-intro {
    display: flex;
    align-items: center;
    min-height: calc((100svh - var(--header-h)) * 0.38);
    padding: clamp(18px, 4vw, 24px) clamp(20px, 5vw, 28px);
  }

  .misgav-intro-shell {
    grid-template-columns: 1fr;
    gap: clamp(16px, 4vw, 24px);
  }

  .misgav-intro-brand {
    margin: 0;
    padding: 0 0 clamp(12px, 3vw, 16px);
    border-bottom: 1px solid rgba(255, 255, 255, .12);
  }

  .misgav-intro-title {
    font-size: clamp(30px, 8vw, 40px);
    margin: 0;
    padding: 0;
  }

  .misgav-intro-lead,
  .misgav-intro-detail {
    font-size: 14px;
    line-height: 1.55;
    margin: 0;
  }

  .misgav-intro-scope li {
    font-size: 9px;
  }

  .misgav-before-after {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    direction: ltr;
    overflow: visible;
  }

  .misgav-ba-new {
    width: 100%;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    overflow: visible;
    order: 1;
  }

  .misgav-ba-new-shell {
    margin: 0 0 -3em;
    padding: 0;
  }

  .misgav-ba-new img {
    width: min(100%, 520px);
    max-width: 100%;
    margin: 0 auto;
  }

  .misgav-ba-old {
    width: 100%;
    margin: 0;
    padding: 0;
    order: 2;
  }

  .misgav-ba-old-inner {
    margin: 0;
    padding: 30px 0;
    align-items: center;
  }

  html[lang="en"] .misgav-page .misgav-ba-old-title,
  .misgav-ba-old-title {
    width: 100%;
    font-size: 23px;
    font-weight: 200;
    letter-spacing: -0.4px;
    line-height: 1.2em;
    text-align: center;
  }

  .misgav-ba-old-frame {
    width: 100%;
    display: flex;
    justify-content: center;
  }

  .misgav-ba-old-frame img {
    width: 277px;
    max-width: 308px;
    margin: 0 auto;
  }

  .misgav-wide-screen {
    margin: -16px 0 0;
    overflow: visible;
    padding: 0 10em 0 0;
    min-height: 291px;
  }

  .misgav-wide-screen-img {
    width: 742px;
    max-width: 1000px;
    margin: 0 -22em 0 -70em;
    padding: 0;
    box-sizing: content-box;
  }

  .misgav-model-fly {
    top: -403px;
    left: -40.297px;
    z-index: 3;
    max-width: min(280px, 54vw);
  }

  .misgav-slideshow-stage {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    margin-top: 0;
  }

  .misgav-slideshow-col {
    width: 100%;
    margin-top: 5em;
  }

  .misgav-slideshow-spacer {
    min-height: 294px;
  }

  .misgav-slideshow-stage .misgav-sos-frame:nth-child(2) {
    margin: 0;
  }

  .misgav-slideshow-stage .misgav-sos-frame:nth-child(3) {
    margin: 36px 0 37px;
  }

  .misgav-sos-trio {
    display: block;
    position: relative;
    margin: 0;
    padding: 0;
    min-height: 306px;
  }

  .misgav-sos-card--web {
    margin: 0 33px 0 2px;
  }

  .misgav-sos-card--web img {
    width: 67%;
  }

  .misgav-sos-card--mid {
    margin: -178px -69px 0 0;
  }

  .misgav-sos-card--mid img {
    width: 51%;
  }

  .misgav-sos-duo {
    display: flow-root;
    margin: 37px 0 0;
    padding: 0 0 63px;
    min-height: 389px;
  }

  .misgav-sos-duo .misgav-sos-card--tall {
    margin: 0 -94px 0 -21px;
  }

  .misgav-sos-duo .misgav-sos-card--tall img {
    width: 209px;
    max-width: 56%;
  }

  .misgav-sos-duo .misgav-sos-card--duo-right {
    margin: -18rem 0 0 -4em;
  }

  .misgav-sos-duo .misgav-sos-card--duo-right img {
    width: 218px;
    max-width: 56%;
  }
}

/* ===== Canada Israel (Elementor post-3164) ===== */
body:has(.canada-page) {
  background-color: #2f2e2e;
}

.canada-page {
  overflow-x: hidden;
  color: #fff;
  background: #2f2e2e;
}

.canada-page .topbar {
  background: #000;
  direction: ltr;
  border-bottom: 0;
  box-shadow: none;
}

.canada-page img:not(.topbar img):not(.footer-logo):not(.similar-grid img) {
  display: block;
  height: auto;
  background: transparent;
}

.canada-view-desktop-only {
  display: block;
}

.canada-view-mobile-only,
.canada-view-mobile-trio {
  display: none;
}

.canada-project-mobile {
  margin: 0;
  padding: 0;
}

.canada-project-mobile__frame {
  margin: 0;
  padding: 0;
  text-align: center;
}

@media (max-width: 1024px) {
  .canada-view-desktop-only {
    display: none !important;
  }
}

/* 01 Hero — full-section black; GIF centered, natural proportions (live ~46%) */
.canada-hero {
  position: relative;
  width: 100%;
  min-height: 450px;
  height: 450px;
  margin: 0;
  padding: 0;
  overflow: hidden;
  line-height: 0;
  background-color: #000;
  background-image: url("assets/projects/canada/canada_works.gif?v=edge1");
  background-repeat: no-repeat;
  background-position: center center;
  background-size: 46% auto;
  border: 0;
  outline: 0;
  box-shadow: none;
}

/* 02 Intro — Elementor post-3164: full-bleed bar + centered 1140 shell, side-by-side */
.canada-intro {
  position: relative;
  z-index: 2;
  display: block;
  width: 100%;
  box-sizing: border-box;
  background: rgba(35, 35, 35, .84);
  margin: 0;
  padding: 43px 0 34px;
  overflow: hidden;
  min-height: 309px;
  border: 0;
  outline: 0;
  box-shadow: none;
}

.canada-intro-shell {
  display: grid;
  grid-template-columns: 30.173% 69.827%;
  gap: 0;
  align-items: start;
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  box-sizing: border-box;
}

.canada-intro-brand {
  min-width: 0;
  padding: 0 0 0 10px;
}

.canada-intro-title {
  margin: 0;
  color: #fff;
  font-family: Poppins, sans-serif;
  font-size: clamp(34px, 3.6vw, 56px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -.02em;
  text-align: left;
}

.canada-intro-copy {
  min-width: 0;
  padding: 12px 61px 7px 70px;
}

.canada-intro-body {
  display: grid;
  gap: clamp(16px, 2vw, 22px);
  max-width: 56ch;
}

.canada-intro-lead,
.canada-intro-detail,
.canada-intro-note {
  margin: 0;
  text-align: left;
  font-family: Poppins, sans-serif;
}

.canada-intro-detail,
.canada-intro-note {
  margin-top: 0;
}

.canada-intro-lead {
  color: rgba(255, 255, 255, .88);
  font-size: clamp(14px, 1.05vw, 17px);
  font-weight: 400;
  line-height: 1.62;
  letter-spacing: 0;
}

.canada-intro-detail {
  color: rgba(255, 255, 255, .72);
  font-size: clamp(14px, 1.05vw, 17px);
  font-weight: 400;
  line-height: 1.62;
}

.canada-intro-note {
  color: rgba(255, 255, 255, .88);
  font-size: clamp(14px, 1.05vw, 17px);
  font-weight: 700;
  line-height: 1.62;
  letter-spacing: 0;
  text-transform: none;
  padding-top: clamp(14px, 1.6vw, 18px);
  border-top: 1px solid rgba(255, 255, 255, .14);
}

html[lang="en"] .canada-page .canada-intro-title {
  font-size: clamp(34px, 3.6vw, 56px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -.02em;
  color: #fff;
}

html[lang="en"] .canada-page .canada-intro-lead {
  font-size: clamp(14px, 1.05vw, 17px);
  font-weight: 400;
  line-height: 1.62;
  letter-spacing: 0;
  color: rgba(255, 255, 255, .88);
}

html[lang="en"] .canada-page .canada-intro-detail,
html[lang="en"] .canada-page .canada-intro-note {
  font-size: clamp(14px, 1.05vw, 17px);
  font-weight: 400;
  line-height: 1.62;
  color: rgba(255, 255, 255, .72);
}

html[lang="en"] .canada-page .canada-intro-note {
  font-weight: 700;
  color: rgba(255, 255, 255, .88);
}

/* 03 Website comparison — live Elementor is RTL (2020 left, 2012 right) */
.canada-websites {
  --sea-p: 0;
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  margin: 0 0 67px;
  padding: 0;
  overflow: hidden;
  min-height: 363px;
  direction: rtl;
  isolation: isolate;
}

.canada-websites__sea-glow {
  pointer-events: none;
  position: absolute;
  left: -10%;
  right: -10%;
  bottom: -18%;
  height: 58%;
  z-index: 0;
  opacity: calc(0.55 * (1 - var(--sea-p)));
  background:
    radial-gradient(120% 80% at 50% 100%, rgba(120, 190, 255, .22), transparent 62%),
    linear-gradient(180deg, transparent 0%, rgba(20, 40, 70, .35) 42%, rgba(8, 14, 24, .7) 100%);
  transform: translate3d(0, calc(var(--sea-p) * 40%), 0);
  filter: blur(0.5px);
  transition: opacity .2s linear;
}

.canada-websites__sea-glow::after {
  content: "";
  position: absolute;
  inset: 18% -5% auto;
  height: 2px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(180, 220, 255, .0) 12%,
    rgba(200, 235, 255, .55) 50%,
    rgba(180, 220, 255, .0) 88%,
    transparent 100%
  );
  opacity: calc(0.85 * (1 - var(--sea-p)));
  transform: translate3d(0, calc(var(--sea-p) * -120%), 0) scaleX(calc(0.7 + var(--sea-p) * 0.4));
  box-shadow: 0 0 24px rgba(160, 210, 255, .35);
}

.canada-websites__col {
  --sea-col: 0;
  position: relative;
  z-index: 1;
  padding-top: 41px;
  overflow: visible;
  direction: ltr;
  opacity: calc(0.12 + 0.88 * var(--sea-col));
  transform:
    translate3d(0, calc((1 - var(--sea-col)) * 26vh), 0)
    scale(calc(0.9 + 0.1 * var(--sea-col)));
  filter: blur(calc((1 - var(--sea-col)) * 8px));
  will-change: transform, opacity, filter;
}

.canada-websites__label {
  margin: 0 0 12px;
  color: #fff;
  font-size: 23px;
  font-weight: 200;
  line-height: 1.2;
  text-align: center;
  text-transform: none;
  letter-spacing: 0;
  opacity: calc(0.2 + 0.8 * var(--sea-col));
  transform: translate3d(0, calc((1 - var(--sea-col)) * 18px), 0);
}

.canada-websites__frame {
  position: relative;
  margin: 0;
  padding: 0;
  overflow: visible;
  text-align: center;
}

.canada-websites__frame::after {
  content: "";
  pointer-events: none;
  position: absolute;
  inset: 8% 18% 22%;
  border-radius: 2px;
  background: linear-gradient(
    115deg,
    transparent 0%,
    transparent 38%,
    rgba(255, 255, 255, .16) 48%,
    transparent 58%,
    transparent 100%
  );
  background-size: 220% 100%;
  background-position: calc(120% - var(--sea-col) * 160%) 0;
  opacity: calc(var(--sea-col) * 0.55);
  mix-blend-mode: screen;
}

.canada-page .canada-websites__frame img {
  display: inline-block;
  width: 98vw;
  max-width: 74vw;
  height: auto;
  margin: -6% -21% -3% -24%;
  vertical-align: top;
  filter: drop-shadow(0 18px 40px rgba(0, 0, 0, calc(0.55 * var(--sea-col))));
}

.canada-websites--sea.is-sea-done .canada-websites__col,
.canada-websites--sea.is-sea-done .canada-websites__label {
  filter: none;
}

.canada-websites--sea.is-sea-done .canada-websites__sea-glow {
  opacity: 0;
  visibility: hidden;
}

@media (prefers-reduced-motion: reduce) {
  .canada-websites {
    --sea-p: 1;
    overflow: visible;
  }

  .canada-websites__col {
    --sea-col: 1;
    opacity: 1;
    transform: none;
    filter: none;
  }

  .canada-websites__label {
    opacity: 1;
    transform: none;
  }

  .canada-websites__sea-glow,
  .canada-websites__frame::after {
    display: none;
  }
}

/* 04 Phone stage */
.canada-phone-stage {
  position: relative;
  z-index: 0;
  margin: 0;
  padding: 0;
  overflow: visible;
  background-color: #2f2e2e;
  background-image: url("assets/projects/canada/bg-phone-ci.jpg");
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
}

.canada-phone-stage__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
  min-height: 399px;
}

.canada-phone-stage__device {
  display: flex;
  justify-content: center;
  margin: 0;
  padding: 0;
  position: relative;
  z-index: 2;
}

.canada-page .canada-phone-stage__device img {
  width: 48%;
  max-width: 48%;
}

.canada-phone-stage__spacer {
  min-height: 1px;
}

/* 05–06 Project page + mobile trio
   Live Elementor is RTL: mobiles LEFT, project.png RIGHT.
   margin/padding-top expands the overflow clip so upward overlap into
   the phone stage stays visible, while tall mobile bottoms stay clipped
   (prevents the “tiny contact form in empty grey” scroll artifact). */
.canada-project-stage {
  position: relative;
  z-index: 1;
  margin: -28em 0 0;
  padding: 28em 0 0;
  overflow: hidden;
}

.canada-project-stage__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  direction: rtl;
  overflow: visible;
}

.canada-project-stage__right {
  min-width: 0;
  overflow: visible;
  direction: ltr;
}

.canada-project-hero__frame {
  width: 100%;
  max-width: 100%;
  margin: -28em 4.5em 0 -29em;
  padding: 6em 0 4em;
  direction: ltr;
}

.canada-page .canada-project-hero__frame img {
  width: 82%;
  max-width: 82%;
}

/* 07 Mobile trio — match live Elementor col-33 + Poppins labels */
.canada-mobile-trio {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 0;
  max-width: 970px;
  margin: -13em auto 0;
  padding: 0;
  direction: rtl;
}

.canada-mobile-trio--standalone {
  display: none;
}

.canada-project-stage .canada-mobile-trio {
  display: flex;
  width: 100%;
  max-width: 100%;
  margin-top: -13em;
  margin-left: 0;
  margin-right: 0;
}

html[lang="en"] .canada-page .canada-mobile-trio__label,
.canada-page .canada-mobile-trio__label {
  margin: 0 0 20px;
  color: #fff;
  font-family: Poppins, sans-serif;
  font-size: 17px;
  font-weight: 300;
  line-height: 1.2em;
  text-align: center;
  text-transform: none;
  letter-spacing: 0;
  white-space: nowrap;
  direction: ltr;
}

.canada-mobile-trio__item {
  flex: 0 0 33.333%;
  width: 33.333%;
  max-width: 33.333%;
  min-width: 0;
  margin: 0;
  direction: ltr;
}

.canada-page .canada-mobile-trio__item img {
  width: 74%;
  margin: 0 auto;
  border: 1px solid #fdfdfd;
  box-shadow: 0 0 10px rgba(0, 0, 0, .5);
}

.canada-mobile-trio__item:nth-child(2),
.canada-mobile-trio__item--2 {
  margin-right: -3em;
}

.canada-mobile-trio__item:nth-child(3),
.canada-mobile-trio__item--3 {
  /* Pull leftmost About column toward live (~136px @1440) */
  margin-right: -6em;
  margin-left: -5.5em;
}

/* Intro texts: Poppins (local webfont) */
html[lang="en"] .canada-page .canada-intro-title,
.canada-page .canada-intro-title,
html[lang="en"] .canada-page .canada-intro-lead,
html[lang="en"] .canada-page .canada-intro-detail,
html[lang="en"] .canada-page .canada-intro-note,
.canada-page .canada-intro-lead,
.canada-page .canada-intro-detail,
.canada-page .canada-intro-note {
  font-family: Poppins, sans-serif;
}

html[lang="en"] .canada-page .canada-websites__label,
.canada-page .canada-websites__label {
  font-family: Poppins, sans-serif;
  font-weight: 200;
}

/* 06 Dual screens — live RTL: wide img overflows; section overflow visible (not clipped) */
.canada-dual-screens {
  position: relative;
  z-index: 2;
  margin: 0 0 15em;
  padding: 0;
  overflow: visible;
  background-color: #2f2e2e;
}

.canada-dual-screens::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("assets/projects/canada/canada-bg.jpg");
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  opacity: .5;
  pointer-events: none;
}

.canada-dual-screens__inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1140px;
  margin-left: auto;
  margin-right: auto;
  direction: rtl;
}

.canada-dual-screens__frame {
  margin: -2em -33em -12em 39em;
  padding: 0;
  direction: rtl;
}

.canada-page .canada-dual-screens__frame img {
  display: block;
  width: 100vw;
  max-width: 100vw;
}

/* 07–08 Brand assets */
.canada-assets {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  margin: 0;
  padding: 0;
}

.canada-assets--row1 {
  margin-bottom: 0;
}

.canada-assets--row2 {
  margin: 2% 0 7%;
}

.canada-assets__item {
  margin: 0;
  padding: 0;
  overflow: visible;
}

.canada-assets__item img {
  display: block;
  height: auto;
}

.canada-assets--row1 .canada-assets__item--1 {
  margin-right: -15%;
}

.canada-assets--row1 .canada-assets__item--1 img {
  width: 765px;
  max-width: 80.26%;
  margin-left: 12.34vw;
  margin-right: auto;
}

.canada-assets--row1 .canada-assets__item--4 {
  margin-right: 26%;
}

.canada-assets--row1 .canada-assets__item--4 img {
  width: 100%;
  max-width: 705px;
}

.canada-assets--row2 .canada-assets__item--3 {
  margin-right: -15%;
}

.canada-assets--row2 .canada-assets__item--3 img {
  width: 739px;
  max-width: 77.53%;
  margin-left: 13.02vw;
  margin-right: auto;
}

.canada-assets--row2 .canada-assets__item--2 {
  margin-right: 26%;
}

.canada-assets--row2 .canada-assets__item--2 img {
  width: 480px;
  max-width: 68.15%;
  margin-left: 6.25vw;
}

@media (max-width: 767px) {
  .canada-hero {
    min-height: 40vh;
    height: 40vh;
    background-size: contain;
    background-position: center center;
  }

  .canada-intro {
    padding: 27px;
  }

  .canada-intro-shell {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .canada-intro-brand {
    padding: 0;
  }

  .canada-intro-copy {
    padding: 0;
    margin-top: 0;
  }

  .canada-intro-title,
  html[lang="en"] .canada-page .canada-intro-title {
    font-size: clamp(32px, 8vw, 42px);
    font-weight: 700;
  }

  .canada-intro-lead,
  html[lang="en"] .canada-page .canada-intro-lead {
    margin-top: 0;
    font-size: clamp(14px, 3.8vw, 17px);
    line-height: 1.62;
    letter-spacing: 0;
  }

  .canada-intro-detail,
  .canada-intro-note,
  html[lang="en"] .canada-page .canada-intro-detail,
  html[lang="en"] .canada-page .canada-intro-note {
    font-size: clamp(14px, 3.8vw, 17px);
    line-height: 1.62;
    letter-spacing: 0;
  }

  .canada-intro-note,
  html[lang="en"] .canada-page .canada-intro-note {
    font-size: clamp(14px, 3.8vw, 17px);
  }

  .canada-phone-stage__grid {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .canada-websites {
    grid-template-columns: 1fr;
    margin-bottom: 0;
    padding: 0;
    min-height: 0;
  }

  .canada-websites__col {
    padding-top: 0;
  }

  .canada-websites__label {
    text-align: left;
    padding-left: 39px;
  }

  .canada-websites__frame img,
  .canada-page .canada-websites__frame img {
    width: min(573px, 100%);
    max-width: 892px;
    margin: 0;
  }

  .canada-websites__col:last-child .canada-websites__frame img {
    margin: -17px -180px 0 13px;
  }

  .canada-phone-stage__spacer {
    display: none;
  }

  .canada-phone-stage {
    margin: 1em 0 3em;
  }

  .canada-phone-stage__device {
    padding: 0;
    margin: 0;
    justify-content: center;
  }

  .canada-page .canada-phone-stage__device img {
    width: 56%;
    max-width: 56%;
  }

  .canada-view-mobile-only {
    display: block;
  }

  .canada-view-mobile-trio,
  .canada-mobile-trio--standalone {
    display: none !important;
  }

  .canada-project-mobile__frame img {
    display: block;
    width: 68%;
    max-width: 265px;
    margin: 0 auto;
  }

  .canada-assets,
  .canada-assets--row1,
  .canada-assets--row2 {
    display: flex;
    flex-direction: column;
  }

  .canada-assets--row1 .canada-assets__item--4 {
    order: -1;
  }

  .canada-assets--row1 .canada-assets__item--4,
  .canada-assets--row1 .canada-assets__item--1,
  .canada-assets--row2 .canada-assets__item--2,
  .canada-assets--row2 .canada-assets__item--3 {
    margin: 0;
  }

  .canada-assets--row1 .canada-assets__item--4 img,
  .canada-assets--row1 .canada-assets__item--1 img,
  .canada-assets--row2 .canada-assets__item--2 img,
  .canada-assets--row2 .canada-assets__item--3 img {
    margin-left: 0;
    margin-right: 0;
    max-width: none;
  }

  .canada-assets--row1 .canada-assets__item--4 img {
    width: 88%;
  }

  .canada-assets--row1 .canada-assets__item--1 {
    margin-top: -10%;
    margin-bottom: 1%;
  }

  .canada-assets--row1 .canada-assets__item--1 img {
    width: 83%;
    margin-top: 24px;
  }

  .canada-assets--row2 {
    margin: -28% 0;
    padding: 0;
  }

  .canada-assets--row2 .canada-assets__item--3 img {
    width: 93%;
    margin-left: 0;
  }

  .canada-assets--row2 .canada-assets__item--2 {
    padding-bottom: 47px;
    padding-left: 33%;
  }

  .canada-assets--row2 .canada-assets__item--2 img {
    width: 75%;
    padding-left: 0;
    padding-bottom: 28%;
  }

  .canada-dual-screens {
    margin: 3em 0 6em;
    overflow: visible;
  }

  .canada-dual-screens__frame {
    margin: 2em -6em -4em 0;
  }

  .canada-page .canada-dual-screens__frame img {
    width: 542px;
    max-width: none;
  }
}

@media (max-width: 1024px) and (min-width: 768px) {
  .canada-project-hero__frame {
    margin: -12em 4em 0 -14em;
  }

  .canada-dual-screens__frame {
    margin: 0 -10em -6em 10em;
  }

  .canada-project-stage .canada-mobile-trio {
    margin-top: -8em;
  }
}

.canada-page .similar-projects {
  border-top: 0;
  margin-top: 0;
}

/* Desktop scroll entrances (Canada) */
@media (min-width: 1025px) {
  .canada-page .canada-enter {
    opacity: 0;
    will-change: transform, opacity, filter;
    transition:
      opacity .9s cubic-bezier(.22, 1, .36, 1),
      transform 1.05s cubic-bezier(.22, 1, .36, 1),
      filter .9s cubic-bezier(.22, 1, .36, 1);
    transition-delay: var(--enter-delay, 0ms);
  }

  .canada-page .canada-enter--up {
    transform: translate3d(0, 72px, 0) scale(.96);
    filter: blur(6px);
  }

  .canada-page .canada-enter--left {
    transform: translate3d(-56px, 28px, 0);
    filter: blur(4px);
  }

  .canada-page .canada-enter--right {
    transform: translate3d(56px, 28px, 0);
    filter: blur(4px);
  }

  .canada-page .canada-enter--fade {
    transform: translate3d(0, 24px, 0);
    filter: none;
  }

  .canada-page .canada-enter--soft {
    transform: translate3d(0, 48px, 0) scale(.98);
    filter: blur(3px);
  }

  .canada-page .canada-enter.is-in {
    opacity: 1;
    transform: none;
    filter: none;
  }
}

@media (max-width: 1024px) {
  .canada-page .canada-enter {
    opacity: 1;
    transform: none;
    filter: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .canada-page .canada-enter {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
    transition: none !important;
  }
}

/* ===== IPC (Elementor post-3383) ===== */
body:has(.ipc-page) {
  background-color: #000;
  background-image: linear-gradient(180deg, #000 0%, #444 100%);
  min-height: 100%;
}

.ipc-page {
  overflow-x: hidden;
  color: #fff;
  background: transparent;
}

.ipc-page .topbar {
  background: #000;
  direction: ltr;
}

.ipc-page img:not(.topbar img):not(.footer-logo):not(.similar-grid img) {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  background: transparent;
}

.ipc-view-not-desktop {
  display: none;
}

.ipc-view-desktop-only {
  display: block;
}

@media (max-width: 1024px) {
  .ipc-view-not-desktop {
    display: block;
  }

  .ipc-view-desktop-only {
    display: none !important;
  }
}

/* 01 Hero */
.ipc-hero {
  position: relative;
  width: 100%;
  margin: 0;
  padding: 0;
  min-height: 50vh;
  overflow: hidden;
  line-height: 0;
  background: #000;
}

.ipc-hero-video {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

@media (min-width: 768px) {
  .ipc-hero {
    min-height: calc((100svh - var(--header-h)) * 0.7);
    height: calc((100svh - var(--header-h)) * 0.7);
  }
}

/* 02 Intro */
.ipc-intro {
  position: relative;
  z-index: 2;
  display: block;
  width: 100%;
  box-sizing: border-box;
  background: rgba(35, 35, 35, .84);
  margin: 0;
  padding: clamp(20px, 2.5vw, 32px) clamp(24px, 8vw, 120px);
  overflow: hidden;
}

.ipc-intro-shell {
  display: grid;
  grid-template-columns: minmax(200px, 37.98%) minmax(0, 62.02%);
  gap: clamp(20px, 3vw, 40px);
  align-items: center;
  width: 100%;
  max-width: 1540px;
  margin: 0 auto;
}

.ipc-intro-brand {
  min-width: 0;
  padding-right: clamp(16px, 2.4vw, 32px);
}

.ipc-intro-title {
  margin: 0;
  color: #ff0606;
  font-size: clamp(34px, 3.6vw, 56px);
  font-weight: 200;
  line-height: 1;
  letter-spacing: -.02em;
  text-align: left;
}

.ipc-intro-copy {
  min-width: 0;
}

.ipc-intro-body {
  display: grid;
  gap: clamp(10px, 1.2vw, 14px);
  max-width: 56ch;
}

.ipc-intro-lead {
  margin: 0;
  color: rgba(255, 255, 255, .88);
  font-size: clamp(13px, 0.95vw, 15px);
  font-weight: 400;
  line-height: 1.55;
  text-align: left;
}

.ipc-intro-detail {
  margin: 0;
  color: rgba(255, 255, 255, .72);
  font-size: clamp(13px, 0.95vw, 14px);
  font-weight: 600;
  line-height: 1.55;
  text-align: left;
}

.ipc-intro-scope {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 0;
  margin: clamp(12px, 1.4vw, 16px) 0 0;
  padding: clamp(10px, 1.1vw, 12px) 0 0;
  border-top: 1px solid rgba(255, 255, 255, .1);
  list-style: none;
}

.ipc-intro-scope li {
  display: inline-flex;
  align-items: center;
  color: rgba(255, 255, 255, .46);
  font-size: clamp(9px, 0.62vw, 10px);
  font-weight: 500;
  letter-spacing: .14em;
  line-height: 1.2;
  text-transform: uppercase;
}

.ipc-intro-scope li + li::before {
  content: "";
  display: inline-block;
  width: 1px;
  height: 10px;
  margin: 0 10px;
  background: rgba(255, 255, 255, .22);
}

@media (min-width: 768px) {
  .ipc-intro {
    display: flex;
    align-items: center;
    min-height: calc((100svh - var(--header-h)) * 0.3);
    padding-top: 43px;
    padding-bottom: 23px;
  }

  .ipc-intro-shell {
    width: 100%;
  }
}

/* 03 Logo stage */
.ipc-logo-stage {
  max-width: 1531px;
  min-height: 53vh;
  margin: 0 auto;
  padding: 77px 0 55px;
  background-color: #000;
  background-image: url("assets/projects/IPc/ipc-logo.jpg");
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
}

/* 04 Station split */
.ipc-station-split {
  display: grid;
  grid-template-columns: minmax(0, 66.635%) minmax(0, 33.365%);
  min-height: 750px;
  margin: 0;
  padding: 0;
  background: #000;
}

.ipc-station-split__left {
  margin: 0;
  padding: 0;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.ipc-station-split__left img {
  width: 70vw;
  max-width: 70vw;
}

.ipc-station-split__right {
  min-height: 50px;
  background-color: #000;
  background-image: url("assets/projects/IPc/folder-2.jpg");
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
}

/* 05 Website showcase */
.ipc-website-stage {
  min-height: 100vh;
  margin: 0;
  padding: 0;
  background-color: #000;
  background-image: url("assets/projects/IPc/ipc-website.jpg");
  background-position: top center;
  background-repeat: no-repeat;
  background-size: cover;
}

@media (min-width: 1025px) {
  .ipc-website-stage {
    background-attachment: fixed;
  }
}

/* 06 Marketing heading */
.ipc-marketing-heading {
  margin: 0;
  padding: 0;
  text-align: center;
}

.ipc-marketing-title {
  margin: 21px 0;
  color: #e32235;
  font-size: clamp(24px, 2.2vw, 33px);
  font-weight: 300;
  letter-spacing: 3px;
  line-height: 1.2;
}

/* 07 Gallery */
.ipc-gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 5px;
  margin: 0;
  padding: 0;
}

.ipc-gallery__item {
  margin: 0;
  padding: 0;
  aspect-ratio: 3 / 2;
  overflow: hidden;
}

.ipc-gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

@media (max-width: 1024px) {
  .ipc-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
}

@media (max-width: 767px) {
  .ipc-gallery {
    grid-template-columns: 1fr;
    gap: 0;
  }
}

/* 08 Landing split */
.ipc-land-split {
  display: grid;
  grid-template-columns: minmax(0, 63.362%) minmax(0, 36.638%);
  min-height: 650px;
  margin: 0;
  padding: 0;
  background: #000;
}

.ipc-land-split__left {
  min-height: 50px;
  background-color: #fff;
  background-image: url("assets/projects/IPc/land-2-.jpg");
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
}

.ipc-land-split__right {
  position: relative;
  min-height: 650px;
  overflow: hidden;
  background: #000;
}

.ipc-land-video {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

/* 09 Folder mobile */
.ipc-folder-mobile {
  margin: -12px 0 0;
  padding: 0;
  background-color: #000;
  background-image: url("assets/projects/IPc/folder-mobile.jpg");
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
}

/* 10 Folder banner */
.ipc-folder-banner {
  margin: -16px 0 0;
  padding: 0;
}

.ipc-folder-banner img {
  width: 100%;
  max-width: 100%;
}

/* 11 A4 split */
.ipc-a4-split {
  display: grid;
  grid-template-columns: minmax(0, 33.365%) minmax(0, 66.635%);
  min-height: 600px;
  margin: 0;
  padding: 0;
  background: rgba(0, 0, 0, .39);
}

.ipc-a4-split__left {
  min-height: 600px;
  background-color: #000;
  background-image: url("assets/projects/IPc/a4-ipc-2.jpg");
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
}

.ipc-a4-split__right {
  min-height: 600px;
  background-color: #fff;
  background-image: url("assets/projects/IPc/ipc-a4.jpg");
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
}

/* 12 Promo video */
.ipc-promo-video {
  margin: 0;
  padding: 0;
  background: #000;
}

.ipc-promo-video__player {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: center center;
}

@media (max-width: 767px) {
  .ipc-hero {
    min-height: 35vh;
    height: 35vh;
  }

  .ipc-intro {
    padding: 14px 23px 0 15px;
  }

  .ipc-intro-shell {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .ipc-intro-brand {
    padding-right: 0;
  }

  .ipc-logo-stage {
    min-height: 350px;
    padding: 0;
  }

  .ipc-station-split {
    grid-template-columns: 1fr;
    min-height: 153px;
  }

  .ipc-station-split__left img {
    width: 100%;
    max-width: 100%;
  }

  .ipc-station-split__right {
    min-height: 475px;
    margin-top: -3px;
  }

  .ipc-website-stage {
    min-height: 521px;
    background-image: url("assets/projects/IPc/mobile-website.jpg");
    background-attachment: scroll;
  }

  .ipc-land-split {
    grid-template-columns: 1fr;
    min-height: 534px;
    padding-bottom: 14px;
  }

  .ipc-land-split__left {
    min-height: 318px;
  }

  .ipc-land-split__right {
    min-height: 184px;
    margin-bottom: -4px;
  }

  .ipc-a4-split {
    grid-template-columns: 1fr;
    min-height: 153px;
  }

  .ipc-a4-split__left {
    min-height: 343px;
    margin-top: -3px;
  }

  .ipc-a4-split__right {
    min-height: 248px;
  }
}

/* ===== Merba (Elementor post-3072) ===== */
body:has(.merba-page) {
  background-color: #2f2e2e;
}

.merba-page {
  overflow-x: hidden;
  color: #fff;
  background: #2f2e2e;
}

.merba-page .topbar {
  background: #000;
  direction: ltr;
}

.merba-page img:not(.topbar img):not(.footer-logo):not(.similar-grid img):not(.merba-float img) {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  background: transparent;
}

/* 01 Hero */
.merba-hero {
  margin: 0;
  padding: 0;
  min-height: 450px;
  background-color: #2f2e2e;
  background-image: url("assets/projects/merba/banner.jpg");
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
}

@media (min-width: 768px) {
  .merba-hero {
    min-height: calc((100svh - var(--header-h)) * 0.7);
    height: calc((100svh - var(--header-h)) * 0.7);
  }
}

/* 02 Intro */
.merba-intro {
  position: relative;
  z-index: 2;
  display: block;
  width: 100%;
  box-sizing: border-box;
  background: rgba(35, 35, 35, .84);
  margin: 0;
  padding: clamp(20px, 2.5vw, 32px) clamp(24px, 8vw, 120px);
  overflow: hidden;
}

.merba-intro-shell {
  display: grid;
  grid-template-columns: minmax(200px, 37.98%) minmax(0, 62.02%);
  gap: clamp(20px, 3vw, 40px);
  align-items: center;
  width: 100%;
  max-width: 1540px;
  margin: 0 auto;
}

.merba-intro-brand {
  position: relative;
  min-width: 0;
  padding-right: clamp(16px, 2.4vw, 32px);
}

.merba-intro-title {
  margin: 0;
  color: #fff;
  font-size: clamp(34px, 3.6vw, 56px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -.02em;
  text-align: left;
}

.merba-intro-copy {
  min-width: 0;
}

.merba-intro-body {
  display: grid;
  gap: clamp(10px, 1.2vw, 14px);
  max-width: 56ch;
}

.merba-intro-lead {
  margin: 0;
  color: rgba(255, 255, 255, .88);
  font-size: clamp(13px, 0.95vw, 15px);
  font-weight: 400;
  line-height: 1.55;
  text-align: left;
}

.merba-intro-detail {
  margin: 0;
  color: rgba(255, 255, 255, .72);
  font-size: clamp(13px, 0.95vw, 15px);
  font-weight: 600;
  line-height: 1.55;
  text-align: left;
}

.merba-intro-scope {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 0;
  margin: clamp(12px, 1.4vw, 16px) 0 0;
  padding: clamp(10px, 1.1vw, 12px) 0 0;
  border-top: 1px solid rgba(255, 255, 255, .1);
  list-style: none;
}

.merba-intro-scope li {
  display: inline-flex;
  align-items: center;
  color: rgba(255, 255, 255, .46);
  font-size: clamp(9px, 0.62vw, 10px);
  font-weight: 500;
  letter-spacing: .14em;
  line-height: 1.2;
  text-transform: uppercase;
}

.merba-intro-scope li + li::before {
  content: "";
  display: inline-block;
  width: 1px;
  height: 10px;
  margin: 0 10px;
  background: rgba(255, 255, 255, .22);
}

@media (min-width: 768px) {
  .merba-intro {
    display: flex;
    align-items: center;
    min-height: calc((100svh - var(--header-h)) * 0.3);
  }

  .merba-intro-shell {
    width: 100%;
  }
}

/* 03 Cookie stage */
.merba-cookie-stage {
  position: relative;
  z-index: 500;
  margin: 0;
  padding: 0;
  min-height: 49vh;
  overflow: hidden;
}

.merba-main-home-spacer {
  height: 78vh;
  background-color: #2f2e2e;
  background-image: url("assets/projects/merba/coo/main-home.png");
  background-position: center center;
  background-repeat: no-repeat;
  background-size: 85vw auto;
}

.merba-screen-cookies {
  position: absolute;
  inset: 0;
  background-image: url("assets/projects/merba/Screen-2.png");
  background-position: center top;
  background-repeat: no-repeat;
  background-size: 100% auto;
  pointer-events: none;
}

.merba-page .merba-float img {
  display: block;
  width: 100%;
  height: auto;
  background: transparent;
}

.merba-float-layer {
  position: absolute;
  inset: 0;
  overflow: visible;
}

.merba-float {
  position: absolute;
  transform-origin: center center;
  will-change: transform;
}

.merba-float--co2 {
  top: -546px;
  left: -351px;
  width: 532px;
  max-width: 532px;
}

.merba-float--co2 img {
  width: 72%;
}

.merba-float--co5 {
  top: -853px;
  left: 152px;
  width: 226px;
  max-width: 226px;
}

.merba-float--co1 {
  top: -723px;
  right: -176px;
  left: auto;
  width: 540px;
  max-width: 540px;
}

.merba-float--ani {
  top: 110px;
  left: -67px;
  width: 540px;
  max-width: 540px;
}

.merba-float--ani img {
  width: 28%;
}

.merba-float--co7 {
  top: 168px;
  left: 786px;
  width: 540px;
  max-width: 540px;
}

.merba-float--co7 img {
  width: 66%;
}

@media (max-width: 1024px) {
  .merba-cookie-stage {
    min-height: 369px;
  }

  .merba-main-home-spacer {
    height: 368px;
    background-size: 1000px auto;
  }

  .merba-float--co2 {
    top: -381px;
    left: -140px;
  }

  .merba-float--co5 {
    top: -436px;
    left: 104px;
  }
}

@media (max-width: 767px) {
  .merba-hero {
    min-height: 35vh;
    height: 35vh;
    background-size: 738px auto;
  }

  .merba-intro {
    padding: 14px clamp(20px, 6vw, 32px) 0 0;
  }

  .merba-intro-shell {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .merba-intro-brand {
    padding-right: 0;
  }

  .merba-cookie-stage {
    min-height: 238px;
  }

  .merba-main-home-spacer {
    height: 255px;
    background-size: 607px auto;
  }

  .merba-screen-cookies {
    background-size: 711px auto;
  }

  .merba-float--co2 {
    top: -371px;
    left: -85px;
  }

  .merba-float--co2 img {
    width: 28%;
  }

  .merba-float--co5 {
    top: -322px;
    left: -58px;
  }

  .merba-float--co5 img {
    width: 67%;
  }

  .merba-float--co1 {
    top: -537px;
    right: -199px;
  }

  .merba-float--co1 img {
    width: 29%;
  }

  .merba-float--ani {
    top: 15px;
    left: -40px;
  }

  .merba-float--ani img {
    width: 21%;
  }

  .merba-float--co7 {
    top: 250px;
    left: -202px;
  }

  .merba-float--co7 img {
    width: 33%;
  }
}

/* 04 Screen bridge */
.merba-screen-bridge {
  min-height: 728px;
  margin: 0;
  padding: 0;
  background-color: #2f2e2e;
  background-image: url("assets/projects/merba/Screen-2.png");
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
}

/* 05 Screens heading */
.merba-screens-heading {
  margin: 0;
  padding: 30px 0 20px;
  text-align: center;
}

.merba-screens-title {
  margin: 0;
  color: #f7fcfd;
  font-size: clamp(21px, 2vw, 28px);
  font-weight: 200;
  line-height: 1.2;
}

/* 06 Screen pair */
.merba-screens-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  width: 100%;
  max-width: 1541px;
  margin: 0 auto 46px;
  padding: 0 0 48px;
  box-sizing: border-box;
}

.merba-screens-grid__item {
  margin: 0;
  padding: 0;
}

.merba-screens-grid__item img {
  border: 6px solid #fff;
  box-shadow: 0 0 2px rgba(0, 0, 0, .5);
  box-sizing: border-box;
}

/* 07 Closing */
.merba-closing {
  min-height: 728px;
  margin: -113px 0 -14px;
  padding: 0;
  background-color: #2f2e2e;
  background-image: url("assets/projects/merba/merba3.png");
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
}

@media (max-width: 767px) {
  .merba-screen-bridge {
    min-height: 275px;
  }

  .merba-screens-heading {
    margin-top: -27px;
    padding: 2px 0 1px;
  }

  .merba-screens-grid {
    grid-template-columns: 1fr;
    margin-bottom: 25px;
  }

  .merba-closing {
    min-height: 339px;
    background-image: url("assets/projects/merba/merba-cat.png");
  }
}

/* ===== Nextcom (Elementor post-2941) ===== */
body:has(.nextcom-page) {
  background-color: #2f2e2e;
}

.nextcom-page {
  overflow-x: hidden;
  color: #fff;
  background: #2f2e2e;
}

.nextcom-page .topbar {
  background: #000;
  direction: ltr;
}

.nextcom-page img:not(.topbar img):not(.footer-logo):not(.similar-grid img):not(.nextcom-web-slideshow-stage img) {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  background: transparent;
}

.nextcom-view-not-phone,
.nextcom-view-desktop-only {
  display: block;
}

@media (max-width: 767px) {
  .nextcom-view-not-phone {
    display: none !important;
  }
}

@media (max-width: 1024px) {
  .nextcom-view-desktop-only {
    display: none !important;
  }
}

/* 01 Hero */
.nextcom-hero-backdrop {
  margin: 0;
  padding: 0;
  background-color: #2f2e2e;
  background-image: url("assets/projects/nextcom/next-main-2.jpg");
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
}

/* 02 Intro */
.nextcom-intro {
  position: relative;
  z-index: 2;
  display: block;
  width: 100%;
  box-sizing: border-box;
  background: rgba(35, 35, 35, .84);
  margin: 0;
  padding: clamp(20px, 2.5vw, 32px) clamp(24px, 8vw, 120px);
  overflow: hidden;
}

.nextcom-intro-shell {
  display: grid;
  grid-template-columns: minmax(200px, 37.98%) minmax(0, 62.02%);
  gap: clamp(20px, 3vw, 40px);
  align-items: center;
  width: 100%;
  max-width: 1540px;
  margin: 0 auto;
}

.nextcom-intro-brand {
  position: relative;
  min-width: 0;
  padding-right: clamp(16px, 2.4vw, 32px);
}

.nextcom-intro-title {
  margin: 0;
  color: #fff;
  font-size: clamp(34px, 3.6vw, 56px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -.02em;
  text-align: left;
}

.nextcom-intro-copy {
  min-width: 0;
}

.nextcom-intro-body {
  display: grid;
  gap: 0;
  max-width: 56ch;
}

.nextcom-intro-lead {
  margin: 0;
  color: rgba(255, 255, 255, .88);
  font-size: clamp(13px, 0.95vw, 15px);
  font-weight: 400;
  line-height: 1.55;
  text-align: left;
}

.nextcom-page .nextcom-intro-lead {
  font-size: clamp(13px, 0.95vw, 15px);
  line-height: 1.55;
}

.nextcom-intro-scope {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 0;
  margin: clamp(12px, 1.4vw, 16px) 0 0;
  padding: clamp(10px, 1.1vw, 12px) 0 0;
  border-top: 1px solid rgba(255, 255, 255, .1);
  list-style: none;
}

.nextcom-intro-scope li {
  display: inline-flex;
  align-items: center;
  color: rgba(255, 255, 255, .46);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .14em;
  line-height: 1.1;
  text-transform: uppercase;
}

.nextcom-intro-scope li + li::before {
  content: "|";
  margin: 0 8px;
  color: rgba(255, 255, 255, .22);
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
}

@media (min-width: 768px) {
  .nextcom-hero-backdrop {
    height: calc((100svh - var(--header-h)) * 0.7);
  }

  .nextcom-intro {
    display: flex;
    align-items: center;
    min-height: calc((100svh - var(--header-h)) * 0.3);
  }

  .nextcom-intro-shell {
    width: 100%;
  }
}

/* 03 Laptop */
.nextcom-laptop {
  position: relative;
  z-index: 10;
  min-height: 41vw;
  margin: 0;
  padding: 0;
  background-color: #2f2e2e;
  background-image: url("assets/projects/nextcom/next-2-laptop.png");
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
}

/* 04 Video split */
.nextcom-video-split {
  display: grid;
  grid-template-columns: 49.91% 50.09%;
  align-items: stretch;
  min-height: 26vw;
  margin: -13px 0 0;
  padding: 0;
}

.nextcom-video-col {
  position: relative;
  min-height: 700px;
  overflow: hidden;
  line-height: 0;
}

.nextcom-brand-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  background: #2f2e2e;
}

.nextcom-cut-col {
  min-height: 700px;
  background-color: #2f2e2e;
  background-image: url("assets/projects/nextcom/nextcom-cut-3.jpg");
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
}

/* 05 Three screens */
.nextcom-screens {
  margin: -2px 0 0;
  padding: 0;
  line-height: 0;
}

.nextcom-screens img {
  display: block;
  width: 100%;
  height: auto;
}

/* 06 Symbol grid */
.nextcom-symbol-grid {
  display: grid;
  grid-template-columns: 25% 50% 25%;
  align-items: center;
  margin: 0;
  padding: 0;
}

.nextcom-symbol-left {
  position: relative;
  min-height: 1px;
  margin: 0 152px 0 -167px;
  z-index: 12;
}

.nextcom-absolute-card {
  position: absolute;
  top: 395px;
  right: 10%;
  z-index: 2;
  margin: 0;
  padding: 0;
  width: auto;
  line-height: 0;
}

.nextcom-absolute-card img {
  display: block;
  width: 876px;
  max-width: 493px;
  height: auto;
  box-shadow: 0 0 10px rgba(0, 0, 0, .5);
}

.nextcom-symbol-copy-wrap {
  margin: 200px 247px 0 0;
  padding: 0;
  text-align: center;
  line-height: 0;
  z-index: 11;
}

.nextcom-symbol-copy {
  display: inline-block;
  width: 214px;
  max-width: 295px;
  height: auto;
  transform-origin: center center;
  will-change: transform;
}

.nextcom-symbol-center {
  margin: 0;
  padding: 0;
  text-align: center;
  line-height: 0;
}

.nextcom-symbol-center img {
  display: inline-block;
  width: 77%;
  max-width: 100%;
  height: auto;
  box-shadow: 0 0 10px rgba(0, 0, 0, .5);
}

.nextcom-symbol-right {
  margin: 0 -55px 0 0;
  text-align: center;
}

.nextcom-symbol-one-wrap {
  margin: 0 -139px 0 72px;
  padding: 0;
  line-height: 0;
}

.nextcom-symbol-one {
  display: inline-block;
  width: auto;
  max-width: 100%;
  height: auto;
  transform-origin: center center;
  will-change: transform;
}

.nextcom-leprop {
  margin: 0 0 400px;
  padding: 0;
  line-height: 0;
}

.nextcom-leprop img {
  display: inline-block;
  width: 779px;
  max-width: 1000px;
  height: auto;
}

/* 07 Web slideshow */
.nextcom-web-slideshow {
  position: relative;
  min-height: 100vh;
  margin: 0;
  padding: 0;
  overflow: hidden;
}

.nextcom-web-slideshow-stage {
  position: absolute;
  inset: 0;
}

.nextcom-web-slideshow-stage img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  opacity: 0;
  transition: opacity 500ms ease;
}

.nextcom-web-slideshow-stage img.is-active {
  opacity: 1;
}

.nextcom-page .similar-projects {
  margin-top: 0;
  background: #111;
}

@media (max-width: 1024px) {
  .nextcom-intro {
    padding: clamp(16px, 2vw, 24px) clamp(20px, 5vw, 48px);
  }
}

@media (max-width: 767px) {
  .nextcom-hero-backdrop {
    height: auto;
    min-height: 0;
    aspect-ratio: 1920 / 850;
    background-size: cover;
    background-position: center center;
  }

  .nextcom-intro {
    margin: 0 0 80px;
    padding: 14px 20px 18px;
    min-height: auto;
  }

  .nextcom-intro-shell {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .nextcom-intro-brand {
    padding: 0 0 14px;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, .14);
    text-align: left;
  }

  .nextcom-intro-title {
    font-size: clamp(32px, 9vw, 40px);
  }

  .nextcom-intro-body {
    max-width: none;
  }

  .nextcom-intro-lead {
    font-size: 14px;
    line-height: 1.55;
    letter-spacing: 0;
  }

  .nextcom-intro-scope {
    margin-top: 12px;
    padding-top: 12px;
  }

  .nextcom-intro-scope li {
    font-size: 9px;
    letter-spacing: .12em;
  }

  .nextcom-laptop {
    min-height: 191px;
    margin-top: 0;
  }

  .nextcom-video-split {
    grid-template-columns: 1fr;
    min-height: 148px;
    margin-top: 0;
  }

  .nextcom-video-col {
    min-height: 297px;
  }

  .nextcom-symbol-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .nextcom-symbol-center img {
    width: 574px;
    max-width: 100%;
  }

  .nextcom-symbol-one-wrap {
    margin: -231px 0 0;
  }

  .nextcom-web-slideshow {
    min-height: 177px;
    margin-top: -61px;
  }
}

/* ===== Polyram Group (Elementor post-5783) ===== */
.polyram-page {
  overflow-x: hidden;
  width: 100%;
  max-width: 100%;
  color: #191919;
  background: linear-gradient(180deg, #fff 0%, #d8d8d8 100%);
}

.polyram-page .topbar {
  background: #000;
}

.polyram-page img:not(.topbar img):not(.footer-logo):not(.similar-grid img) {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  background: transparent;
}

.polyram-page video {
  display: block;
  max-width: 100%;
  background: transparent;
}

.polyram-view-not-phone {
  display: block;
}

.polyram-view-not-desktop {
  display: none;
}

@media (max-width: 767px) {
  .polyram-view-not-phone {
    display: none !important;
  }
}

@media (max-width: 1024px) {
  .polyram-view-not-desktop {
    display: block;
  }
}

@media (min-width: 1025px) {
  .polyram-view-not-desktop {
    display: none !important;
  }
}

/* 01 Hero */
.polyram-hero {
  display: block;
  position: relative;
  margin: 0;
  padding: 0;
  overflow: hidden;
  background: #fff;
  isolation: isolate;
}

.polyram-hero picture,
.polyram-hero-img {
  display: block;
  width: 100%;
  max-width: 100%;
}

.polyram-hero-img--mobile {
  display: none !important;
}

@media (min-width: 768px) {
  .polyram-hero {
    height: calc((100svh - var(--header-h)) * 0.7);
  }

  .polyram-hero-img--desktop {
    height: 100%;
    object-fit: cover;
    object-position: center center;
  }

  .polyram-intro {
    display: flex;
    align-items: center;
    min-height: calc((100svh - var(--header-h)) * 0.3);
  }

  .polyram-intro-shell {
    width: 100%;
  }

  .polyram-hero-img--mobile {
    display: none !important;
  }
}

/* 02 Intro */
.polyram-intro {
  display: block;
  position: relative;
  z-index: 1;
  clear: both;
  width: 100%;
  box-sizing: border-box;
  background: rgba(35, 35, 35, .84);
  padding: clamp(36px, 4vw, 52px) clamp(24px, 8vw, 120px) clamp(28px, 3vw, 40px);
  margin: 0;
  overflow: hidden;
}

.polyram-intro-shell {
  display: grid;
  grid-template-columns: minmax(220px, 37.98%) minmax(0, 62.02%);
  gap: clamp(28px, 4vw, 56px);
  align-items: start;
  width: 100%;
  max-width: 1540px;
  margin: 0 auto;
}

.polyram-intro-brand {
  position: relative;
  min-width: 0;
  padding-right: clamp(20px, 3vw, 44px);
  border-right: 1px solid rgba(255, 255, 255, .16);
}

.polyram-intro-title {
  margin: 0;
  color: #fff;
  font-size: clamp(34px, 3.6vw, 56px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -.02em;
  text-align: left;
}

.polyram-intro-subtitle {
  margin: clamp(10px, 1.2vw, 14px) 0 0;
  color: rgba(255, 255, 255, .72);
  font-size: clamp(14px, 1.05vw, 17px);
  font-weight: 400;
  line-height: 1.45;
  letter-spacing: 0;
}

.polyram-intro-copy {
  min-width: 0;
}

.polyram-intro-body {
  display: grid;
  gap: clamp(16px, 2vw, 22px);
  max-width: 56ch;
}

.polyram-intro-lead {
  margin: 0;
  color: rgba(255, 255, 255, .88);
  font-size: clamp(14px, 1.05vw, 17px);
  font-weight: 400;
  line-height: 1.62;
}

.polyram-intro-detail {
  margin: 0;
  padding: clamp(14px, 1.6vw, 18px) 0 0;
  border-top: 1px solid rgba(255, 255, 255, .14);
  color: rgba(255, 255, 255, .72);
  font-size: clamp(14px, 1.05vw, 17px);
  font-weight: 400;
  line-height: 1.62;
}

.polyram-intro-scope {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 0;
  margin: clamp(14px, 1.6vw, 18px) 0 0;
  padding: clamp(12px, 1.3vw, 14px) 0 0;
  border-top: 1px solid rgba(255, 255, 255, .1);
  list-style: none;
}

.polyram-intro-scope li {
  display: inline-flex;
  align-items: center;
  color: rgba(255, 255, 255, .46);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .14em;
  line-height: 1.1;
  text-transform: uppercase;
}

.polyram-intro-scope li + li::before {
  content: "|";
  margin: 0 8px;
  color: rgba(255, 255, 255, .22);
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
}

/* 03–05 Desk panels */
.polyram-desk-panel {
  margin: 0;
  padding: 0;
  background: transparent;
}

.polyram-desk-panel img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  margin: 0;
}

/* 06 Split slideshow + video */
.polyram-split {
  display: grid;
  grid-template-columns: 39.163% 60.837%;
  align-items: stretch;
  min-height: 60vh;
  margin: 0;
  padding: 0;
  background: transparent;
}

.polyram-split-slideshow,
.polyram-split-video {
  position: relative;
  min-height: 71vh;
  overflow: hidden;
}

.polyram-slideshow-track,
.polyram-carousel-track {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: inherit;
}

.polyram-slideshow-slide,
.polyram-carousel-slide {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  transition: opacity .5s ease;
}

.polyram-slideshow-slide.is-active,
.polyram-carousel-slide.is-active {
  opacity: 1;
}

.polyram-slideshow-slide img,
.polyram-carousel-slide img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 71vh;
  object-fit: cover;
  object-position: center center;
}

.polyram-split-video video {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 71vh;
  object-fit: cover;
  object-position: center center;
  background: #0a0a0a;
}

.polyram-slideshow-prev,
.polyram-slideshow-next,
.polyram-carousel-prev,
.polyram-carousel-next {
  position: absolute;
  top: 50%;
  z-index: 3;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 42px;
  line-height: 1;
  cursor: pointer;
}

.polyram-slideshow-prev,
.polyram-carousel-prev {
  left: 12px;
  right: auto;
}

.polyram-slideshow-next,
.polyram-carousel-next {
  right: 12px;
  left: auto;
}

.polyram-slideshow-dots,
.polyram-carousel-dots {
  position: absolute;
  left: 50%;
  bottom: 18px;
  z-index: 3;
  display: flex;
  gap: 8px;
  transform: translateX(-50%);
}

.polyram-slideshow-dots span,
.polyram-carousel-dots span {
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .45);
}

.polyram-carousel-dots span {
  width: 10px;
  height: 10px;
}

.polyram-slideshow-dots span.is-active,
.polyram-carousel-dots span.is-active {
  background: #fff;
}

/* 07–08 Mobile brand panels */
.polyram-mobile-panel {
  margin: 0;
  padding: 0;
  background: transparent;
}

.polyram-mobile-panel img {
  display: block;
  width: 100%;
  height: auto;
}

/* 09 Mobile showcase + carousel */
.polyram-mobile-carousel-stage {
  margin: 0;
  padding: 0;
  background: transparent;
}

.polyram-mobile-carousel-inner {
  position: relative;
  width: 100%;
}

.polyram-mobile-showcase {
  display: block;
  width: 100%;
  height: auto;
}

.polyram-carousel {
  position: relative;
  width: 100%;
  min-height: 52vw;
  overflow: hidden;
  background: #d8d8d8;
}

.polyram-carousel-slide img {
  min-height: 52vw;
}

/* 10 Mobile video */
.polyram-mobile-video {
  position: relative;
  min-height: 400px;
  margin: 0;
  padding: 0;
  overflow: hidden;
}

.polyram-brand-video {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 400px;
  object-fit: cover;
  object-position: center center;
  background: #0a0a0a;
}

.polyram-page .similar-projects {
  margin-top: 0;
}

@media (max-width: 767px) {
  .polyram-hero {
    min-height: 38vh;
  }

  .polyram-hero-img--desktop {
    display: none !important;
  }

  .polyram-hero-img--mobile {
    display: block !important;
    height: 38vh;
    min-height: 38vh;
    object-fit: cover;
    object-position: top center;
  }

  .polyram-intro {
    min-height: 350px;
    padding: 14px 20px 24px;
  }

  .polyram-intro-shell {
    grid-template-columns: 1fr;
    gap: 18px;
    max-width: none;
    padding: 0;
  }

  .polyram-intro-brand {
    margin-top: 0;
    padding: 0 0 18px;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, .14);
  }

  .polyram-intro-title {
    font-size: 51px;
  }

  .polyram-intro-subtitle {
    margin-top: 10px;
    max-width: none;
    font-size: 15px;
    line-height: 1.45;
    color: rgba(255, 255, 255, .72);
  }

  .polyram-intro-body {
    max-width: none;
    gap: 0;
  }

  .polyram-intro-lead {
    margin: 0 0 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, .1);
    font-size: 14px;
    font-weight: 400;
    line-height: 1.62;
    letter-spacing: 0;
  }

  .polyram-intro-detail {
    margin: 0;
    padding-top: 0;
    border-top: 0;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.62;
    letter-spacing: 0;
    color: rgba(255, 255, 255, .72);
  }

  .polyram-intro-scope {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, .1);
  }

  .polyram-intro-scope li {
    font-size: 9px;
    letter-spacing: .12em;
  }

  .polyram-mobile-video {
    min-height: 76vh;
  }

  .polyram-brand-video {
    min-height: 76vh;
  }
}

/* ===== MER Group (Elementor post-3202) ===== */
html:has(.mer-page),
body:has(.mer-page) {
  background: linear-gradient(180deg, #000 0%, #444 100%);
  min-height: 100%;
}

.mer-page {
  overflow-x: hidden;
  color: #fff;
  background: transparent;
}

.mer-page .topbar {
  background: #000;
}

.mer-page img:not(.similar-grid img),
.mer-page video {
  background: transparent;
}

/* 01 Hero */
.mer-hero {
  position: relative;
  width: 100%;
  margin: 0;
  padding: 0;
  overflow: hidden;
  line-height: 0;
}

.mer-hero-video {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

/* 02 Intro */
.mer-intro {
  position: relative;
  z-index: 2;
  display: block;
  width: 100%;
  box-sizing: border-box;
  background: rgba(35, 35, 35, .84);
  margin: 0;
  padding: clamp(20px, 2.5vw, 32px) clamp(24px, 8vw, 120px);
  overflow: hidden;
}

.mer-intro-shell {
  display: grid;
  grid-template-columns: minmax(200px, 37.98%) minmax(0, 62.02%);
  gap: clamp(20px, 3vw, 40px);
  align-items: center;
  width: 100%;
  max-width: 1540px;
  margin: 0 auto;
}

.mer-intro-brand {
  position: relative;
  min-width: 0;
  padding-right: clamp(16px, 2.4vw, 32px);
}

.mer-intro-title {
  margin: 0;
  color: #fff;
  font-size: clamp(34px, 3.6vw, 56px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -.02em;
  text-align: left;
}

.mer-intro-copy {
  min-width: 0;
}

.mer-intro-body {
  display: grid;
  gap: 0;
  max-width: 56ch;
}

.mer-intro-lead {
  margin: 0;
  color: rgba(255, 255, 255, .88);
  font-size: clamp(13px, 0.95vw, 15px);
  font-weight: 400;
  line-height: 1.55;
  text-align: left;
}

.mer-intro-scope {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 0;
  margin: clamp(12px, 1.4vw, 16px) 0 0;
  padding: clamp(10px, 1.1vw, 12px) 0 0;
  border-top: 1px solid rgba(255, 255, 255, .1);
  list-style: none;
}

.mer-intro-scope li {
  display: inline-flex;
  align-items: center;
  color: rgba(255, 255, 255, .46);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .14em;
  line-height: 1.1;
  text-transform: uppercase;
}

.mer-intro-scope li + li::before {
  content: "|";
  margin: 0 8px;
  color: rgba(255, 255, 255, .22);
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
}

@media (min-width: 768px) {
  .mer-hero {
    height: calc((100svh - var(--header-h)) * 0.7);
    min-height: calc((100svh - var(--header-h)) * 0.7);
    max-height: none;
  }

  .mer-intro {
    display: flex;
    align-items: center;
    min-height: calc((100svh - var(--header-h)) * 0.3);
  }

  .mer-intro-shell {
    width: 100%;
  }
}

/* 03 Main banner video */
.mer-main-video {
  margin: 0;
  padding: 77px 0 55px;
}

.mer-main-video-panel {
  max-width: 1531px;
  min-height: 100vh;
  margin: 0 auto;
  overflow: hidden;
}

.mer-main-video-el {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 100vh;
  object-fit: cover;
  object-position: center center;
}

/* 04 UI screens split */
.mer-ui-split {
  display: grid;
  grid-template-columns: 66.929% 33.071%;
  align-items: stretch;
  min-height: 750px;
  margin: 0;
  padding: 0;
  background: #000;
}

.mer-ui-split__wide {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  overflow: hidden;
  background: #fff;
}

.mer-ui-split__wide img {
  display: block;
  width: 70vw;
  max-width: 70vw;
  height: auto;
  margin: 0;
}

.mer-ui-split__narrow {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background-color: #000;
  background-image: url("assets/projects/mer/mer-ui-screens-1.jpg");
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
}

.mer-ui-split__narrow img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: auto;
  margin: 0 0 0 10px;
}

/* 05 Parallax banner */
.mer-parallax {
  min-height: 100vh;
  margin: 0;
  padding: 0;
  background-color: #000;
  background-image: url("assets/projects/mer/mer-main-banner-1.jpg");
  background-position: top center;
  background-repeat: no-repeat;
  background-size: cover;
}

@media (min-width: 1025px) {
  .mer-parallax {
    background-attachment: fixed;
  }
}

/* 06 Brochure and rollup */
.mer-split-stage {
  display: grid;
  grid-template-columns: 59.354% 40.646%;
  align-items: stretch;
  min-height: 750px;
  margin: 0;
  padding: 0;
  background: #000;
}

.mer-split-stage__left {
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  overflow: hidden;
  background: #fff;
}

.mer-brochure {
  display: block;
  width: 61vw;
  max-width: 61vw;
  height: auto;
  margin: 0;
}

.mer-split-stage__right {
  min-height: 750px;
  background-color: #000;
  background-image: url("assets/projects/mer/rullup-l.jpg");
  background-position: top center;
  background-repeat: no-repeat;
  background-size: cover;
}

/* 07 Print */
.mer-print {
  margin: 0;
  padding: 0;
  line-height: 0;
}

.mer-print img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
}

.mer-page .similar-projects {
  margin-top: 0;
  background: #111;
}

@media (max-width: 1024px) {
  .mer-intro {
    padding: clamp(16px, 2vw, 24px) clamp(20px, 5vw, 48px);
  }
}

@media (max-width: 767px) {
  .mer-hero {
    height: auto;
    aspect-ratio: 16 / 9;
    min-height: 35vh;
  }

  .mer-hero-video {
    position: relative;
    min-height: 35vh;
    aspect-ratio: 16 / 9;
  }

  .mer-intro {
    padding: clamp(18px, 4vw, 24px) clamp(20px, 5vw, 28px);
  }

  .mer-intro-shell {
    grid-template-columns: 1fr;
    gap: clamp(16px, 4vw, 24px);
  }

  .mer-intro-brand {
    padding-right: 0;
    padding-bottom: clamp(12px, 3vw, 16px);
    border-bottom: 1px solid rgba(255, 255, 255, .12);
  }

  .mer-intro-title {
    font-size: clamp(30px, 8vw, 40px);
  }

  .mer-intro-body {
    max-width: none;
  }

  .mer-intro-lead {
    font-size: 14px;
    line-height: 1.55;
  }

  .mer-intro-scope li {
    font-size: 9px;
  }

  .mer-main-video {
    padding: 0;
  }

  .mer-main-video-panel {
    min-height: 350px;
  }

  .mer-main-video-el {
    min-height: 350px;
  }

  .mer-ui-split {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .mer-ui-split__wide img {
    width: 100vw;
    max-width: 100vw;
  }

  .mer-ui-split__narrow {
    margin-top: -3px;
  }

  .mer-ui-split__narrow img {
    margin-left: 10px;
  }

  .mer-parallax {
    background-image: url("assets/projects/mer/mer-main-banner-mobile-1.png");
    background-attachment: scroll;
  }

  .mer-split-stage {
    grid-template-columns: 1fr;
    min-height: 0;
    padding-bottom: 14px;
  }

  .mer-brochure {
    width: 100%;
    max-width: 100%;
  }

  .mer-split-stage__right {
    min-height: 402px;
    margin-bottom: 8px;
  }

  .mer-print {
    margin-top: -26px;
  }
}

/* ===== ELENITO GROUP (Elementor post-3024) ===== */
body:has(.eleinikto-page) {
  background-color: #476280;
}

.eleinikto-page {
  overflow-x: hidden;
  color: #fff;
  background: #476280;
}

.eleinikto-page .topbar {
  background: #000;
}

.eleinikto-page img:not(.topbar img):not(.footer-logo):not(.similar-grid img):not(.eleinikto-png),
.eleinikto-page video {
  background: transparent;
}

.eleinikto-page .eleinikto-png {
  display: block;
  width: 100vw;
  max-width: 100vw;
  height: auto;
  margin: 0;
  background: transparent;
}

/* 01 Hero */
.eleinikto-hero {
  position: relative;
  width: 100%;
  margin: 0;
  padding: 0;
  overflow: hidden;
  line-height: 0;
  min-height: 500px;
  background: #000;
}

.eleinikto-hero-video {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

/* 02 Intro */
.eleinikto-intro {
  position: relative;
  z-index: 2;
  display: block;
  width: 100%;
  box-sizing: border-box;
  background: rgba(35, 35, 35, .84);
  margin: 0;
  padding: 43px clamp(24px, 8vw, 120px) 23px;
  overflow: hidden;
}

.eleinikto-intro-shell {
  display: grid;
  grid-template-columns: minmax(200px, 37.98%) minmax(0, 62.02%);
  gap: clamp(20px, 3vw, 40px);
  align-items: center;
  width: 100%;
  max-width: 1540px;
  margin: 0 auto;
}

.eleinikto-intro-brand {
  position: relative;
  min-width: 0;
  padding-right: clamp(16px, 2.4vw, 32px);
}

.eleinikto-intro-title {
  margin: 0;
  color: #fff;
  font-size: clamp(34px, 3.6vw, 48px);
  font-weight: 200;
  line-height: 1;
  letter-spacing: -.02em;
  text-align: left;
}

.eleinikto-intro-copy {
  min-width: 0;
}

.eleinikto-intro-body {
  display: grid;
  gap: clamp(10px, 1.2vw, 14px);
  max-width: 56ch;
}

.eleinikto-intro-lead,
.eleinikto-intro-detail {
  margin: 0;
  text-align: left;
}

.eleinikto-intro-lead {
  color: rgba(255, 255, 255, .88);
  font-size: clamp(15px, 1.5vw, 24px);
  font-weight: 200;
  line-height: 1.1;
}

.eleinikto-intro-detail {
  color: rgba(255, 255, 255, .88);
  font-size: clamp(14px, 0.95vw, 17px);
  font-weight: 200;
  line-height: 1.1;
}

.eleinikto-intro-scope {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 0;
  margin: clamp(12px, 1.4vw, 16px) 0 0;
  padding: clamp(10px, 1.1vw, 12px) 0 0;
  border-top: 1px solid rgba(255, 255, 255, .1);
  list-style: none;
}

.eleinikto-intro-scope li {
  display: inline-flex;
  align-items: center;
  color: rgba(255, 255, 255, .46);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .14em;
  line-height: 1.1;
  text-transform: uppercase;
}

.eleinikto-intro-scope li + li::before {
  content: "|";
  margin: 0 8px;
  color: rgba(255, 255, 255, .22);
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
}

@media (min-width: 768px) {
  .eleinikto-hero {
    height: calc((100svh - var(--header-h)) * 0.7);
    min-height: calc((100svh - var(--header-h)) * 0.7);
    max-height: none;
  }

  .eleinikto-intro {
    display: flex;
    align-items: center;
    min-height: calc((100svh - var(--header-h)) * 0.3);
    padding-top: clamp(24px, 2.5vw, 43px);
    padding-bottom: clamp(18px, 2vw, 23px);
  }

  .eleinikto-intro-shell {
    width: 100%;
  }
}

/* 03 PNG overlay */
.eleinikto-png-stage {
  position: relative;
  z-index: 10;
  margin: 0;
  padding: 0;
  overflow: visible;
  line-height: 0;
}

.eleinikto-png-frame {
  margin: 0;
  padding: 0;
  line-height: 0;
}

/* 04 Main banner video */
.eleinikto-main-video {
  position: relative;
  z-index: 5;
  margin: -69px 0 0;
  padding: 0;
  line-height: 0;
}

.eleinikto-main-video-panel {
  width: 100%;
  min-height: 100vh;
  margin: 0;
  overflow: hidden;
}

.eleinikto-main-video-el {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 100vh;
  object-fit: cover;
  object-position: center center;
}

/* 05 Icons banner */
.eleinikto-icons-banner {
  position: relative;
  z-index: 10;
  min-height: 61vh;
  margin: 0;
  padding: 0;
  background-color: #476280;
  background-image: url("assets/projects/eleinikto/elenito_3icon.jpg");
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
}

/* 06 Split */
.eleinikto-split {
  display: grid;
  grid-template-columns: 67.38% 32.36%;
  align-items: stretch;
  margin: 0;
  padding: 0;
  background: #476280;
}

.eleinikto-split__wide,
.eleinikto-split__narrow {
  margin: 0;
  padding: 0;
  line-height: 0;
}

.eleinikto-split__wide img,
.eleinikto-split__narrow img {
  display: block;
  width: 100%;
  height: auto;
}

/* 07 Website showcase */
.eleinikto-website {
  min-height: 970px;
  margin: 0;
  padding: 0 0 110px;
  background-color: #476280;
  background-image: url("assets/projects/eleinikto/website4-page.jpg");
  background-position: top center;
  background-repeat: no-repeat;
  background-size: cover;
}

.eleinikto-page .similar-projects {
  margin-top: 0;
  background: #111;
}

@media (max-width: 1024px) {
  .eleinikto-intro {
    padding: clamp(16px, 2vw, 24px) clamp(20px, 5vw, 48px);
  }

  .eleinikto-png {
    width: 1000px;
    max-width: 1000px;
  }

  .eleinikto-png-frame {
    margin: 0 -123px 0 -20px;
  }
}

@media (max-width: 767px) {
  .eleinikto-hero {
    min-height: 40vh;
    height: 40vh;
  }

  .eleinikto-hero-video {
    position: absolute;
    inset: 0;
    min-height: 40vh;
  }

  .eleinikto-intro {
    padding: 14px clamp(20px, 5vw, 28px) clamp(18px, 4vw, 24px) 0;
  }

  .eleinikto-intro-shell {
    grid-template-columns: 1fr;
    gap: clamp(16px, 4vw, 24px);
  }

  .eleinikto-intro-brand {
    padding-right: 0;
    padding-bottom: clamp(12px, 3vw, 16px);
    border-bottom: 1px solid rgba(255, 255, 255, .12);
  }

  .eleinikto-intro-title {
    font-size: clamp(30px, 8vw, 33px);
  }

  .eleinikto-intro-body {
    max-width: none;
  }

  .eleinikto-intro-lead {
    font-size: 24px;
    line-height: 1;
    letter-spacing: -.4px;
  }

  .eleinikto-intro-detail {
    font-size: 16px;
    line-height: 1.2;
    letter-spacing: -.4px;
  }

  .eleinikto-intro-scope li {
    font-size: 9px;
  }

  .eleinikto-png-stage {
    overflow: hidden;
  }

  .eleinikto-png {
    width: 624px;
    max-width: 736px;
  }

  .eleinikto-png-frame {
    margin: 0 -20em 0 0;
    padding: 0 10em 0 0;
    text-align: center;
  }

  .eleinikto-main-video {
    margin-top: -23px;
  }

  .eleinikto-main-video-panel {
    min-height: 75vh;
  }

  .eleinikto-main-video-el {
    min-height: 75vh;
  }

  .eleinikto-icons-banner {
    min-height: 159px;
  }

  .eleinikto-split {
    grid-template-columns: 1fr;
  }

  .eleinikto-website {
    min-height: 477px;
    padding-bottom: 135px;
    background-image: url("assets/projects/eleinikto/mobile.jpg");
    background-position: center center;
  }
}

/* GoMixApp project page */
html:has(.gomixapp-page),
body:has(.gomixapp-page) {
  background-color: #2f2e2e;
  background-image: url("assets/projects/gomixapp/Bg-test.png");
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  min-height: 100%;
}

@media (min-width: 1025px) {
  body:has(.gomixapp-page) {
    background-attachment: fixed;
  }
}

.gomixapp-page {
  position: relative;
  overflow-x: hidden;
  color: #fff;
  background: transparent;
}

.gomixapp-page .topbar {
  background: #000;
}

.gomixapp-page img:not(.similar-grid img),
.gomixapp-page video {
  background: transparent;
}

/* 01 Hero */
.gomixapp-hero {
  position: relative;
  width: 100%;
  margin: 0;
  padding: 0;
  overflow: hidden;
  line-height: 0;
}

.gomixapp-hero-video {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

/* 02 Intro */
.gomixapp-intro {
  position: relative;
  z-index: 2;
  display: block;
  width: 100%;
  box-sizing: border-box;
  background: rgba(35, 35, 35, .84);
  margin: 0;
  padding: clamp(20px, 2.5vw, 32px) clamp(24px, 8vw, 120px);
  overflow: hidden;
}

.gomixapp-intro-shell {
  display: grid;
  grid-template-columns: minmax(200px, 37.98%) minmax(0, 62.02%);
  gap: clamp(20px, 3vw, 40px);
  align-items: center;
  width: 100%;
  max-width: 1540px;
  margin: 0 auto;
}

.gomixapp-intro-brand {
  position: relative;
  min-width: 0;
  padding-right: clamp(16px, 2.4vw, 32px);
}

.gomixapp-intro-title {
  margin: 0;
  color: #fff;
  font-size: clamp(34px, 3.6vw, 56px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -.02em;
  text-align: left;
}

.gomixapp-intro-copy {
  min-width: 0;
}

.gomixapp-intro-body {
  display: grid;
  gap: clamp(16px, 2vw, 22px);
  max-width: 56ch;
}

.gomixapp-intro-lead {
  margin: 0;
  color: rgba(255, 255, 255, .88);
  font-size: clamp(13px, 0.95vw, 15px);
  font-weight: 400;
  line-height: 1.55;
  text-align: left;
}

.gomixapp-intro-detail {
  margin: 0;
  padding: clamp(14px, 1.6vw, 18px) 0 0;
  border-top: 1px solid rgba(255, 255, 255, .14);
  color: rgba(255, 255, 255, .72);
  font-size: clamp(13px, 0.95vw, 15px);
  font-weight: 400;
  line-height: 1.55;
  text-align: left;
}

.gomixapp-intro-scope {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 0;
  margin: clamp(12px, 1.4vw, 16px) 0 0;
  padding: clamp(10px, 1.1vw, 12px) 0 0;
  border-top: 1px solid rgba(255, 255, 255, .1);
  list-style: none;
}

.gomixapp-intro-scope li {
  display: inline-flex;
  align-items: center;
  color: rgba(255, 255, 255, .46);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .14em;
  line-height: 1.1;
  text-transform: uppercase;
}

.gomixapp-intro-scope li + li::before {
  content: "|";
  margin: 0 10px;
  color: rgba(255, 255, 255, .22);
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
}

@media (min-width: 768px) {
  .gomixapp-hero {
    height: calc((100svh - var(--header-h)) * 0.7);
    min-height: calc((100svh - var(--header-h)) * 0.7);
    max-height: none;
  }

  .gomixapp-intro {
    display: flex;
    align-items: center;
    min-height: calc((100svh - var(--header-h)) * 0.3);
  }

  .gomixapp-intro-shell {
    width: 100%;
  }
}

/* 03 MBP stage */
.gomixapp-mbp-stage {
  position: relative;
  z-index: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 60vh;
  margin: 0;
  padding: 0;
  overflow: visible;
  background-image: url("assets/projects/gomixapp/MBP_2up-outward-1.png");
  background-position: center center;
  background-repeat: no-repeat;
  background-size: 100% auto;
}

.gomixapp-old-man-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin-left: -900px;
  z-index: 2;
}

.gomixapp-old-man {
  position: relative;
  display: block;
  width: 17.65%;
  max-width: 360px;
  height: auto;
  margin: 0;
  transform: translate3d(0, 0, 0);
  transform-origin: center center;
  will-change: transform;
  background: transparent;
}

/* 04 Post 1 */
.gomixapp-post1 {
  max-width: 1255px;
  margin: 0 auto;
  padding: 0;
}

.gomixapp-video-panel {
  position: relative;
  overflow: hidden;
  box-shadow: -9px 0 9px rgba(0, 0, 0, .81);
}

.gomixapp-video-panel--post1 {
  min-height: 400px;
}

.gomixapp-video-panel--post22 {
  max-width: 1255px;
  min-height: 493px;
  margin: -36px auto 0;
}

.gomixapp-video-panel--post3 {
  max-width: 1255px;
  min-height: 507px;
  margin: -36px auto 0;
}

.gomixapp-video-panel--post4 {
  max-width: 862px;
  min-height: 588px;
  margin: -63px auto 0;
}

.gomixapp-bg-video,
.gomixapp-big-movie-video {
  display: block;
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  object-position: center center;
}

.gomixapp-part1-spacer {
  min-height: 50px;
  padding: 53% 0 37%;
  background-image: url("assets/projects/gomixapp/part-1.png");
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
}

/* 05 Website grid */
.gomixapp-website-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  max-width: 1255px;
  margin: -36px auto 0;
  padding: 0;
}

.gomixapp-website-grid__col {
  display: grid;
  grid-template-rows: 1fr 1fr;
  background: #2f2e2e;
}

.gomixapp-website-grid__col--accent {
  background: #e927ca;
}

.gomixapp-website-panel {
  min-height: 270px;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: 90% auto;
  box-shadow: -9px 0 9px rgba(0, 0, 0, .81);
}

.gomixapp-website-panel--desk {
  background-image: url("assets/projects/gomixapp/GoMixApp-d_1.jpg");
}

.gomixapp-website-panel--05 {
  background-image: url("assets/projects/gomixapp/GMA-new-website-05.jpg");
}

.gomixapp-website-panel--01 {
  background-image: url("assets/projects/gomixapp/GMA-new-website-01.jpg");
}

.gomixapp-website-panel--03 {
  background-image: url("assets/projects/gomixapp/GMA-new-website-03.jpg");
}

/* 06 Slideshow */
.gomixapp-slideshow-stage {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  max-width: 1255px;
  min-height: 326px;
  margin: 0 auto;
  padding: 0;
}

.gomixapp-slideshow-accent {
  min-height: 1px;
  margin: -93px 0 0;
  background: #e927ca;
}

.gomixapp-slideshow {
  position: relative;
  max-width: 1190px;
  min-height: 500px;
  margin: 0 auto;
  box-shadow: -9px 0 9px rgba(0, 0, 0, .81);
  overflow: hidden;
}

.gomixapp-slideshow img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  opacity: 0;
  transition: opacity 500ms ease;
  background: transparent;
}

.gomixapp-slideshow img.is-active {
  opacity: 1;
}

/* 07–11 Decor + part6 */
.gomixapp-decor--part22 {
  position: relative;
  z-index: 1;
  max-width: 1255px;
  min-height: 574px;
  margin: -126px auto 0;
  padding: 0 0 578px;
  background-image: url("assets/projects/gomixapp/part-22.png");
  background-position: center center;
  background-repeat: no-repeat;
  background-size: contain;
}

.gomixapp-decor--part4 {
  max-width: 1255px;
  margin: -36px auto 0;
  padding: 0 0 602px;
  background-color: #e927ca;
  background-image: url("assets/projects/gomixapp/part4.png");
  background-position: center bottom;
  background-repeat: no-repeat;
  background-size: contain;
}

.gomixapp-part6-stage {
  position: relative;
  max-width: 1255px;
  min-height: 344px;
  margin: -76px auto 0;
  padding: 0;
}

.gomixapp-decor--part6 {
  padding: 0 0 1078px;
  background-image: url("assets/projects/gomixapp/part6.png");
  background-position: top center;
  background-repeat: no-repeat;
  background-size: auto;
}

.gomixapp-video-frame {
  position: relative;
  max-width: 1255px;
  min-height: 507px;
  margin: 0 auto;
  box-shadow: -9px 0 9px rgba(0, 0, 0, .81);
}

/* 13 Headings */
.gomixapp-campaign-headings {
  max-width: 1255px;
  min-height: 170px;
  margin: -90px auto 0;
  padding: 46px clamp(24px, 24vw, 450px);
  text-align: center;
}

.gomixapp-campaign-title {
  margin: 0;
  font-size: 33px;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: .8px;
}

.gomixapp-campaign-subtitle {
  margin: 0;
  font-size: 33px;
  font-weight: 200;
  line-height: .1;
}

/* 14 Campaign grid */
.gomixapp-campaign-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  max-width: 1255px;
  margin: -36px auto 0;
  padding: 0;
}

.gomixapp-campaign-grid__col {
  display: grid;
  grid-template-rows: 1fr 1fr;
  background: #662d87;
}

.gomixapp-campaign-video {
  max-width: 596px;
  min-height: 597px;
  margin: 0 auto;
  box-shadow: -9px 0 9px rgba(0, 0, 0, .81);
  overflow: hidden;
}

/* 15 Big movie */
.gomixapp-big-movie {
  max-width: 1255px;
  min-height: 344px;
  margin: -71px auto -109px;
  padding: 0;
  overflow: hidden;
}

.gomixapp-big-movie-video {
  aspect-ratio: 16 / 9;
  width: 100%;
  min-height: 0;
}

/* 16 Floating PNG layer */
.gomixapp-float-layer {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  z-index: 45;
  pointer-events: none;
  overflow: visible;
}

.gomixapp-float {
  position: absolute;
  display: block;
  height: auto;
  max-width: none;
  transform-origin: center center;
  will-change: transform;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.gomixapp-float--e {
  z-index: 300;
  width: 245px;
}

.gomixapp-float--e-copy {
  z-index: 100;
  width: 87px;
}

.gomixapp-float--e2 {
  z-index: 700;
  width: 163px;
}

.gomixapp-float--b {
  z-index: 999;
  width: 174px;
}

.gomixapp-page .similar-projects {
  margin-top: 0;
}

@media (max-width: 1024px) {
  .gomixapp-mbp-stage {
    min-height: 369px;
    background-size: 1000px auto;
  }

  .gomixapp-float--e-copy {
    display: none;
  }
}

@media (max-width: 767px) {
  .gomixapp-hero {
    height: auto;
    min-height: clamp(260px, 65svh, 68svh);
    max-height: none;
  }

  .gomixapp-hero-video {
    position: relative;
    min-height: clamp(260px, 65svh, 68svh);
  }

  .gomixapp-intro {
    padding: clamp(18px, 4vw, 24px) clamp(20px, 5vw, 28px);
  }

  .gomixapp-intro-shell {
    grid-template-columns: 1fr;
    gap: clamp(16px, 4vw, 24px);
  }

  .gomixapp-intro-brand {
    padding-right: 0;
    padding-bottom: clamp(12px, 3vw, 16px);
    border-bottom: 1px solid rgba(255, 255, 255, .12);
  }

  .gomixapp-intro-title {
    font-size: clamp(30px, 8vw, 40px);
  }

  .gomixapp-intro-body {
    max-width: none;
  }

  .gomixapp-intro-lead,
  .gomixapp-intro-detail {
    font-size: 14px;
    line-height: 1.55;
  }

  .gomixapp-intro-scope li {
    font-size: 9px;
  }

  .gomixapp-mbp-stage {
    min-height: 264px;
    margin-bottom: -20px;
    background-size: 689px auto;
  }

  .gomixapp-old-man-wrap {
    margin-left: 0;
  }

  .gomixapp-old-man {
    width: 40%;
    max-width: 40%;
    margin: 0 auto 16px;
    padding-bottom: 16px;
    transform: none;
  }

  .gomixapp-video-panel--post1 {
    min-height: 181px;
  }

  .gomixapp-part1-spacer {
    margin-bottom: 35px;
    padding: 456px 0 0;
  }

  .gomixapp-post1,
  .gomixapp-website-grid,
  .gomixapp-slideshow-stage,
  .gomixapp-video-panel--post22,
  .gomixapp-video-panel--post3,
  .gomixapp-part6-stage,
  .gomixapp-video-panel--post4,
  .gomixapp-campaign-headings,
  .gomixapp-campaign-grid,
  .gomixapp-big-movie {
    margin-top: -36px;
  }

  .gomixapp-website-panel {
    min-height: 181px;
  }

  .gomixapp-slideshow-accent {
    margin-top: -93px;
  }

  .gomixapp-slideshow {
    min-height: 158px;
  }

  .gomixapp-decor--part22 {
    min-height: 27vh;
    margin-top: -126px;
    padding: 0;
    background-position: top center;
    background-size: 409px auto;
  }

  .gomixapp-video-panel--post22 {
    min-height: 181px;
  }

  .gomixapp-decor--part4 {
    padding-bottom: 119px;
    background-size: cover;
  }

  .gomixapp-video-panel--post3 {
    min-height: 181px;
    margin-top: -83px;
  }

  .gomixapp-decor--part6 {
    padding: 0;
    background-position: top center;
    background-size: 424px auto;
  }

  .gomixapp-video-frame {
    min-height: 437px;
    margin-bottom: -12px;
    z-index: 50;
  }

  .gomixapp-part6-stage {
    margin-top: -76px;
  }

  .gomixapp-video-panel--post4 {
    min-height: 204px;
    margin-top: -63px;
    z-index: 40;
  }

  .gomixapp-campaign-headings {
    margin-top: -90px;
    padding: 0;
  }

  .gomixapp-campaign-title {
    font-size: 26px;
  }

  .gomixapp-campaign-subtitle {
    font-size: 21px;
  }

  .gomixapp-campaign-grid {
    grid-template-columns: 1fr;
  }

  .gomixapp-campaign-video {
    min-height: 360px;
  }

  .gomixapp-campaign-grid__col:first-child .gomixapp-campaign-video:first-child {
    min-height: 360px;
  }

  .gomixapp-campaign-grid__col:first-child .gomixapp-campaign-video:last-child {
    min-height: 392px;
  }

  .gomixapp-campaign-grid__col:last-child .gomixapp-campaign-video:first-child {
    min-height: 408px;
  }

  .gomixapp-campaign-grid__col:last-child .gomixapp-campaign-video:last-child {
    min-height: 441px;
  }

  .gomixapp-big-movie {
    margin-top: -71px;
    margin-bottom: -109px;
  }

  .gomixapp-float--e {
    width: 84%;
    max-width: 90%;
  }

  .gomixapp-float--e2 {
    width: 100%;
    max-width: 90%;
  }

  .gomixapp-float--b {
    width: 71%;
  }
}

/* Site-wide header — immune to per-page img resets and document RTL */
.project-page .topbar .brand img,
.page .topbar .brand img {
  width: 212px;
  height: 64px;
  max-width: none;
  max-height: none;
  object-fit: contain;
  background: transparent;
  transform: none;
}

.project-page .site-footer .footer-logo,
.page .site-footer .footer-logo {
  width: 220px;
  height: auto;
  max-width: none;
  object-fit: contain;
  background: transparent;
  transform: none;
}

@media (max-width: 980px) {
  .project-page .topbar .brand img,
  .page .topbar .brand img {
    width: 152px;
    height: 46px;
  }
}

@media (max-width: 620px) {
  .project-page .topbar .brand img,
  .page .topbar .brand img {
    width: 125px;
    height: 38px;
  }
}


/* ——— OptimAI project page (restored from 31f0d5c) ——— */
html:has(.optimai-page),
body:has(.optimai-page) {
  background: #111;
}

.optimai-page {
  background-image: linear-gradient(180deg, #000 0%, #444 100%);
  color: #fff;
  overflow-x: clip;
}

.optimai-page .topbar {
  background: #000;
}

.optimai-page img:not(.topbar img):not(.footer-logo):not(.similar-grid img) {
  background: transparent;
}

/* Visibility helpers — Elementor desktop >1024 / tablet 768–1024 / phone ≤767 */
.optimai-hide-phone {
  display: block;
}

.optimai-stage--mobscreens {
  display: none;
}

/* 01 Hero — desktop 56vh, cover top */
.optimai-hero {
  position: relative;
  width: 100%;
  min-height: 56vh;
  margin: 0;
  padding: 0;
  overflow: hidden;
  background-color: #2eb5e8;
  background-image: url("assets/projects/optimai/optimai_main-banner.jpg");
  background-position: top center;
  background-repeat: no-repeat;
  background-size: cover;
}

/* 02 Intro — English LTR, aligned with Merba / IPC typography */
.optimai-intro {
  position: relative;
  z-index: 2;
  display: block;
  width: 100%;
  box-sizing: border-box;
  margin: 0;
  padding: clamp(20px, 2.5vw, 32px) clamp(24px, 8vw, 120px);
  overflow: visible;
  background: rgba(35, 35, 35, 0.84);
}

.optimai-intro-float {
  display: none;
  position: absolute;
  z-index: 4;
  width: auto;
  height: auto;
  max-width: none;
  opacity: 0;
  transform: translate3d(0, -72px, 0) scale(0.9);
  transform-origin: center center;
  pointer-events: none;
  will-change: transform, opacity;
  background: transparent;
}

.optimai-intro-shell {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(200px, 37.98%) minmax(0, 62.02%);
  align-items: center;
  gap: clamp(20px, 3vw, 40px);
  width: 100%;
  max-width: 1540px;
  margin: 0 auto;
}

.optimai-intro-brand {
  position: relative;
  min-width: 0;
  padding-right: clamp(16px, 2.4vw, 32px);
}

.optimai-intro-title {
  margin: 0;
  color: #fff;
  font-size: clamp(34px, 3.6vw, 56px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.02em;
  text-align: left;
}

.optimai-intro-scope {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 0;
  margin: clamp(12px, 1.4vw, 16px) 0 0;
  padding: clamp(10px, 1.1vw, 12px) 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  list-style: none;
}

.optimai-intro-scope li {
  display: inline-flex;
  align-items: center;
  color: rgba(255, 255, 255, 0.46);
  font-size: clamp(9px, 0.62vw, 10px);
  font-weight: 500;
  letter-spacing: 0.14em;
  line-height: 1.2;
  text-transform: uppercase;
}

.optimai-intro-scope li + li::before {
  content: "";
  display: inline-block;
  width: 1px;
  height: 10px;
  margin: 0 10px;
  background: rgba(255, 255, 255, 0.22);
}

.optimai-intro-copy {
  min-width: 0;
}

.optimai-intro-body {
  display: grid;
  gap: clamp(10px, 1.2vw, 14px);
  max-width: 56ch;
}

.optimai-intro-lead {
  margin: 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(13px, 0.95vw, 15px);
  font-weight: 400;
  line-height: 1.55;
  text-align: left;
}

.optimai-intro-detail {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: clamp(13px, 0.95vw, 15px);
  font-weight: 600;
  line-height: 1.55;
  text-align: left;
}

@media (min-width: 768px) {
  .optimai-intro {
    display: flex;
    align-items: center;
    min-height: calc((100svh - var(--header-h)) * 0.3);
  }

  .optimai-intro-shell {
    width: 100%;
  }
}

/* 03 Logo — padded cover ≈421px desktop.
   Also the anchor box for the three upper parachute floats: its height is fixed on
   desktop/tablet, so negative `top` offsets stay put at any viewport height.
   z-index stays auto on purpose — the section must not become a stacking context,
   so .optimai-float-layer (z-index 3) can paint above the intro panel (z-index 2). */
.optimai-logo {
  position: relative;
  margin: 0;
  padding: 77px 0 55px;
  min-height: 421px;
  box-sizing: border-box;
  background-color: #0071bd;
  background-image: url("assets/projects/optimai/logo-op.jpg");
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
}

/* Shared stage panels */
.optimai-stage {
  position: relative;
  margin: 0;
  padding: 0;
  overflow: hidden;
  background-color: #111;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
}

/* 04 Character — hosts only the float that live fades in on scroll */
.optimai-stage--character {
  min-height: 73vh;
  z-index: 10;
  overflow: visible;
  background-image: url("assets/projects/optimai/Character.jpg");
  background-position: center center;
  background-size: cover;
}

.optimai-float-layer {
  position: absolute;
  inset: 0;
  pointer-events: none;
  /* Above .optimai-stage--character (z-index 10) so logo floats stay visible
     while the character section is still at reveal opacity 0. */
  z-index: 11;
  overflow: visible;
}

.optimai-float {
  position: absolute;
  width: auto;
  height: auto;
  opacity: 0;
  transform: translate3d(0, -88px, 0) scale(0.88);
  transform-origin: center center;
  background: transparent;
  will-change: transform, opacity;
  pointer-events: none;
}

/* Float opacity is driven by optimai-page.js (entrance dissolve); never force 1 here. */
.optimai-page .optimai-float.media-fade,
.optimai-page .optimai-intro-float.media-fade {
  transition: none;
}

/* Tops are the live Elementor offsets measured against the logo section top
   (live @1440x900: h3 265, h1 663, h2a 798 in page coordinates). */
.optimai-float--h3 {
  top: -594px;
  left: clamp(12%, 26.8vw, 387px);
  width: 95px;
  max-width: 7vw;
}

.optimai-float--h1 {
  top: -196px;
  right: clamp(4%, 7.4vw, 106px);
  width: 166px;
  max-width: 11.5vw;
}

.optimai-float--h2a {
  top: -61px;
  left: clamp(4%, 6.5vw, 94px);
  width: 133px;
  max-width: 9.2vw;
}

/* Character float — live keeps this beside the mascot’s legs, not on the face/glasses.
   Anchor low-right so rest + scroll parallax stay off the upper-right portrait. */
.optimai-float--h2b {
  top: auto;
  bottom: clamp(52px, 10%, 78px);
  right: clamp(4%, 7vw, 100px);
  left: auto;
  width: 109px;
  max-width: 7.6vw;
}

/* 05 App */
.optimai-stage--app {
  min-height: calc(62vh + 132px);
  padding: 77px 0 55px;
  box-sizing: border-box;
  z-index: 1;
  background-image: url("assets/projects/optimai/op-app.jpg");
  background-position: center center;
}

.optimai-app-copy {
  container-type: inline-size;
  container-name: optimai-app-copy;
  position: relative;
  z-index: 2;
  width: min(52%, 640px);
  margin-inline-start: clamp(24px, 5vw, 72px);
  margin-inline-end: auto;
  padding-block: clamp(4px, 0.6vw, 10px) 0;
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.optimai-app-eyebrow {
  margin: 0 0 clamp(10px, 1.1vw, 14px);
  padding-bottom: clamp(10px, 1.1vw, 14px);
  border-bottom: 1px solid rgba(4, 52, 88, 0.14);
  color: rgba(4, 52, 88, 0.52);
  font-size: clamp(9px, 0.58vw, 10px);
  font-weight: 500;
  letter-spacing: 0.16em;
  line-height: 1;
  text-transform: uppercase;
}

.optimai-app-title {
  margin: 0 0 clamp(26px, 2.8vw, 40px);
  max-width: 11.5ch;
  color: #3d3d3d;
  font-size: clamp(40px, 4.05vw, 58px);
  font-weight: 800;
  line-height: 0.9;
  letter-spacing: -0.042em;
  text-align: left;
  text-wrap: balance;
}

.optimai-app-title::after {
  content: "";
  display: block;
  width: clamp(28px, 3.2vw, 44px);
  height: 2px;
  margin-top: clamp(14px, 1.5vw, 20px);
  background: linear-gradient(90deg, #2eb5e8 0%, rgba(46, 181, 232, 0.15) 100%);
}

.optimai-app-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 0 clamp(28px, 3.4vw, 52px);
  align-items: baseline;
  width: 100%;
  max-width: 58ch;
}

.optimai-app-line {
  margin: 0;
  max-width: 22ch;
  color: #043458;
  font-size: clamp(18px, 1.72vw, 26px);
  font-weight: 600;
  line-height: 1.38;
  letter-spacing: -0.018em;
  text-align: left;
  text-wrap: pretty;
  hanging-punctuation: first last;
}

.optimai-app-line--secondary {
  max-width: 24ch;
  padding-inline-start: clamp(24px, 2.8vw, 40px);
  border-inline-start: 1px solid rgba(4, 52, 88, 0.14);
  color: rgba(5, 90, 130, 0.72);
  font-size: clamp(16px, 1.48vw, 22px);
  font-weight: 400;
  line-height: 1.44;
  letter-spacing: -0.008em;
}

@container optimai-app-copy (max-width: 540px) {
  .optimai-app-body {
    grid-template-columns: 1fr;
    gap: clamp(8px, 1vw, 14px) 0;
    max-width: 34ch;
  }

  .optimai-app-line--secondary {
    padding-inline-start: 0;
    border-inline-start: none;
  }

  .optimai-app-line,
  .optimai-app-line--secondary {
    max-width: none;
  }
}

/* 06 Desktop mock */
.optimai-stage--desktop {
  min-height: 880px;
  background-image: url("assets/projects/optimai/OP-desktop.jpg");
  background-position: top center;
}

/* 07 Phone video */
.optimai-stage--phone {
  min-height: 100vh;
  background: #0a0a0a;
}

.optimai-bg-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  background: #0a0a0a;
}

/* 08 Night — transform parallax layer (never background-attachment:fixed) */
.optimai-stage--night {
  min-height: 100vh;
  background-color: #0b1a33;
  overflow: hidden;
}

.optimai-night-layer {
  position: absolute;
  inset: -14% 0;
  background-color: #0b1a33;
  background-image: url("assets/projects/optimai/84.jpg");
  background-position: top center;
  background-repeat: no-repeat;
  background-size: cover;
  will-change: transform;
  pointer-events: none;
}

/* 09 iMac */
.optimai-stage--imac {
  min-height: 1139px;
  padding-bottom: 59px;
  box-sizing: border-box;
  background-image: url("assets/projects/optimai/opti-imac.jpg");
  background-position: top center;
}

/* 10 Mob screens — tablet + phone only */
.optimai-stage--mobscreens {
  min-height: 100vh;
  box-sizing: border-box;
  background-image: url("assets/projects/optimai/mobile-screens-scaled.jpg");
  background-position: top center;
}

/* 11 Build — 16:9 */
.optimai-build {
  margin: 0;
  padding: 0;
  background: #000;
  line-height: 0;
}

.optimai-build-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #000;
}

.optimai-build-frame video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #000;
}

.optimai-page .similar-projects {
  background: #181818;
}

@media (prefers-reduced-motion: reduce) {
  .optimai-float,
  .optimai-intro-float,
  .optimai-night-layer {
    opacity: 1 !important;
    will-change: auto;
    transform: none !important;
  }
}

/* ——— Tablet ≤1024 (Elementor tablet) ——— */
@media (max-width: 1024px) {
  .optimai-intro {
    padding: clamp(16px, 2.2vw, 24px) clamp(16px, 4vw, 40px);
  }

  .optimai-intro-shell {
    grid-template-columns: 1fr;
    gap: 16px;
    max-width: none;
  }

  .optimai-intro-brand {
    padding-right: 0;
  }

  .optimai-intro-body {
    max-width: none;
  }

  .optimai-float--h3 {
    display: none; /* elementor-hidden-tablet */
  }

  .optimai-stage--character {
    min-height: 306px;
  }

  /* Live tablet lifts both floats into the hero/intro band and drops h2b entirely */
  .optimai-float--h1 {
    top: -372px;
    width: 150px;
    max-width: 16vw;
  }

  .optimai-float--h2a {
    top: -140px;
    width: 120px;
    max-width: 13vw;
  }

  .optimai-float--h2b {
    display: none; /* live hides the character float on tablet */
  }

  .optimai-stage--app {
    min-height: calc(429px + 132px);
    padding: 77px 0 55px;
    background-image: url("assets/projects/optimai/op-app-mobile.jpg");
  }

  .optimai-app-copy {
    display: none; /* hidden-tablet */
  }

  .optimai-stage--desktop {
    min-height: 398px;
    background-position: center center;
  }

  .optimai-stage--phone {
    min-height: 828px;
  }

  .optimai-stage--night {
    min-height: 490px;
  }

  .optimai-night-layer {
    inset: 0;
    background-image: url("assets/projects/optimai/84.jpg");
  }

  .optimai-stage--imac {
    background-image: url("assets/projects/optimai/imac.jpg");
  }

  .optimai-stage--mobscreens {
    display: block;
    min-height: 100vh;
    margin-top: 0;
    padding-bottom: 0;
  }
}

/* ——— Phone ≤767 ——— */
@media (max-width: 767px) {
  .optimai-hide-phone {
    display: none !important;
  }

  /* Phone uses the two intro floats instead (live: hidden-phone on the desktop set) */
  .optimai-desktop-floats {
    display: none;
  }

  .optimai-hero {
    min-height: 31vh;
    background-image: url("assets/projects/optimai/mobile-banner.jpg");
    background-position: center center;
  }

  .optimai-intro {
    padding: 18px 16px;
  }

  .optimai-intro-title {
    font-size: clamp(32px, 9vw, 42px);
  }

  .optimai-intro-float {
    display: block;
  }

  .optimai-intro-float--a {
    top: -156px;
    right: 69px;
    width: 36%;
    max-width: 140px;
  }

  .optimai-intro-float--b {
    top: 600px;
    right: 123px;
    width: 30%;
    max-width: 110px;
    z-index: 5;
  }

  .optimai-logo {
    min-height: 0;
    padding: 0;
    aspect-ratio: 1080 / 774;
    background-image: url("assets/projects/optimai/logo-optimai.jpg");
    background-position: top center;
  }

  .optimai-stage--app {
    min-height: 289px;
    padding: 0;
    background-image: url("assets/projects/optimai/op-app-mobile.jpg");
  }

  .optimai-stage--desktop {
    min-height: 322px;
    background-image: url("assets/projects/optimai/respo.jpg");
    background-position: center center;
  }

  .optimai-stage--phone {
    min-height: 521px;
  }

  .optimai-stage--night {
    min-height: 276px;
  }

  .optimai-night-layer {
    inset: 0;
    background-image: url("assets/projects/optimai/screens.jpg");
    background-position: center center;
  }

  .optimai-stage--imac {
    min-height: 521px;
    padding-bottom: 59px;
    background-image: url("assets/projects/optimai/imac.jpg");
  }

  .optimai-stage--mobscreens {
    display: block;
    min-height: 919px;
    margin-top: -92px;
    padding-bottom: 61px;
  }
}

@media (max-width: 430px) {
  .optimai-intro-float--a {
    right: 48px;
    max-width: 120px;
  }

  .optimai-intro-float--b {
    top: auto;
    bottom: -28px;
    right: 96px;
    max-width: 96px;
  }
}


/* ——— Sivan Group project page (restored from 31f0d5c) ——— */
html:has(.sivan-page),
body:has(.sivan-page) {
  background: #000;
  --header-h: 10vh;
}

@media (max-width: 767px) {
  html:has(.sivan-page),
  body:has(.sivan-page) {
    --header-h: 84px;
  }
}

.sivan-page {
  background: #000;
  color: #fff;
  overflow-x: clip;
}

.sivan-page .topbar {
  background: #000;
}

/* Sivan uses hamburger nav at all breakpoints — overlay panel, not inline links */
.sivan-page .topbar .nav {
  position: fixed;
  inset: var(--header-h) 0 0;
  height: calc(100svh - var(--header-h));
  height: calc(100dvh - var(--header-h));
  min-height: calc(100svh - var(--header-h));
  min-height: calc(100dvh - var(--header-h));
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 24px;
  background: #000;
  border-top: 1px solid rgba(255, 255, 255, .12);
  opacity: 1;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-18px) scale(.98);
  clip-path: circle(0% at calc(100% - 40px) 0%);
  overflow: hidden;
  isolation: isolate;
  z-index: 19;
  transition: transform .42s var(--ease), clip-path .55s var(--ease), visibility 0s linear .55s;
}

body.menu-open .sivan-page .topbar .nav {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0) scale(1);
  clip-path: circle(140% at calc(100% - 40px) 0%);
  transition: transform .42s var(--ease), clip-path .55s var(--ease), visibility 0s linear 0s;
}

.sivan-page .topbar .nav a {
  font-size: clamp(38px, 8vw, 72px);
  font-weight: 500;
  letter-spacing: 0;
  padding: 8px 0;
}

.sivan-page .topbar .menu-toggle {
  display: block;
  position: relative;
  z-index: 21;
}

.sivan-page .topbar .brand img {
  width: 215px;
  height: auto;
}

@media (max-width: 767px) {
  .sivan-page .topbar .brand img {
    width: 138px;
  }
}

.sivan-page img:not(.topbar img):not(.footer-logo):not(.similar-grid img) {
  background: transparent;
}

.sivan-desk-only { display: block; }
.sivan-mobile-only { display: none; }

/* 01 Hero — live 6605d6e: min(70vh, 43.75vw) */
.sivan-hero {
  position: relative;
  width: 100%;
  min-height: min(70svh, 43.75vw);
  overflow: hidden;
  background: #000;
}

.sivan-hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  background: #000;
}

/* 02 Intro — Merba/Canada sister-page pattern, live overlap */
.sivan-intro {
  position: relative;
  z-index: 2;
  display: block;
  width: 100%;
  box-sizing: border-box;
  margin: 0;
  padding: clamp(20px, 2.5vw, 43px) clamp(24px, 8vw, 120px) clamp(14px, 1.6vw, 23px);
  background: rgba(35, 35, 35, 0.84);
  overflow: hidden;
}

@media (min-width: 768px) {
  .sivan-intro {
    margin-top: clamp(-220px, -15.28vw, -160px);
    padding: 43px clamp(24px, 8vw, 120px) 23px;
  }

  .sivan-intro-shell {
    align-items: start;
  }

  .sivan-intro-body {
    gap: 0;
  }

  .sivan-intro-detail {
    margin-top: 0;
  }
}

.sivan-intro-shell {
  display: grid;
  grid-template-columns: minmax(200px, 37.98%) minmax(0, 62.02%);
  gap: clamp(20px, 3vw, 40px);
  align-items: center;
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
}

.sivan-intro-brand {
  position: relative;
  min-width: 0;
  padding-right: clamp(16px, 2.4vw, 32px);
}

.sivan-intro-title {
  margin: 0;
  color: #fff;
  font-size: clamp(34px, 3.6vw, 56px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.02em;
  text-align: left;
}

.sivan-intro-scope {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 0;
  margin: clamp(10px, 1.1vw, 12px) 0 0;
  padding: clamp(8px, 0.83vw, 12px) 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  list-style: none;
}

.sivan-intro-scope li {
  display: inline-flex;
  align-items: center;
  color: rgba(255, 255, 255, 0.46);
  font-size: clamp(9px, 0.69vw, 10px);
  font-weight: 500;
  letter-spacing: 0.14em;
  line-height: 1.2;
  text-transform: uppercase;
}

.sivan-intro-scope li:not(:last-child)::after {
  content: "";
  display: inline-block;
  width: 1px;
  height: 10px;
  margin: 0 10px;
  background: rgba(255, 255, 255, 0.22);
}

.sivan-intro-copy {
  min-width: 0;
}

.sivan-intro-body {
  display: grid;
  gap: clamp(10px, 1.2vw, 14px);
  max-width: 56ch;
}

.sivan-intro-lead {
  margin: 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(13px, 0.95vw, 15px);
  font-weight: 400;
  line-height: 1.55;
  text-align: left;
}

.sivan-intro-detail {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: clamp(13px, 0.95vw, 15px);
  font-weight: 600;
  line-height: 1.55;
  text-align: left;
}

/* 03 Sphere stage — live fc1f4ae (transparent over video) */
.sivan-sphere-stage {
  position: relative;
  margin: 0;
  padding: 77px 0 55px;
  overflow: hidden;
  background: transparent;
}

.sivan-sphere-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  background: #000;
}

.sivan-sphere-overlay {
  position: relative;
  z-index: 1;
  display: block;
  width: min(81vw, 1240px);
  max-width: 100%;
  height: auto;
  margin: 0 auto;
  object-fit: contain;
  object-position: center center;
  pointer-events: none;
  will-change: transform;
  transform-origin: center center;
  background: transparent;
}

/* 05 Works montage — parallax viewport; full-width img scrolls top→bottom on desktop */
.sivan-works-parallax {
  position: relative;
  width: 100%;
  aspect-ratio: 1924 / 842;
  overflow: hidden;
  background: #000;
}

.sivan-works-parallax-layer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: auto;
  line-height: 0;
  will-change: transform;
  pointer-events: none;
  display: block;
}

.sivan-works-parallax-layer img {
  display: block;
  width: 100%;
  height: auto;
  max-width: none;
  object-fit: unset;
  margin: 0;
  background: transparent;
}

/* 04 Banner GIF */
.sivan-banner {
  margin: 0;
  padding: 0;
  line-height: 0;
  background: transparent;
}

.sivan-banner img {
  display: block;
  width: 100%;
  height: auto;
  max-width: none;
  object-fit: fill;
  object-position: center top;
  background: transparent;
}

/* Shared panels */
.sivan-panel {
  margin: 0;
  padding: 0;
  line-height: 0;
  background: #000;
}

.sivan-panel img {
  display: block;
  width: 100%;
  height: auto;
}

.sivan-panel--tall img {
  width: 100%;
  height: auto;
  max-height: none;
}

/* 06 Desktop split — live 3ad1915: 50/50 black column + sivan-r.jpg anchored right */
.sivan-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  height: min(69.4vw, 1000px);
  min-height: 0;
  overflow: hidden;
  background: #000;
  line-height: 0;
}

.sivan-split__black {
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: #000;
  padding: clamp(24px, 4vw, 48px) clamp(24px, 4vw, 48px) clamp(24px, 4vw, 48px) clamp(32px, 5vw, 72px);
  box-sizing: border-box;
}

.sivan-split__copy {
  display: flex;
  flex-direction: column;
  gap: clamp(16px, 2vw, 28px);
  max-width: 34ch;
}

.sivan-split__lead {
  margin: 0;
  color: rgba(255, 255, 255, 0.92);
  font-family: Poppins, sans-serif;
  font-size: clamp(16px, 1.39vw, 20px);
  font-weight: 400;
  line-height: 1.5;
}

.sivan-split__stat {
  margin: 0;
  max-width: 16ch;
  color: #fff;
  font-family: Poppins, sans-serif;
  font-size: clamp(24px, 2.22vw, 32px);
  font-weight: 400;
  line-height: 1.35;
}

.sivan-split__stat strong {
  font-weight: 600;
}

.sivan-split__device {
  position: relative;
  overflow: hidden;
  background: #000;
}

.sivan-split__laptop {
  position: absolute;
  top: 50%;
  right: 0;
  display: block;
  width: auto;
  height: 100%;
  max-width: none;
  object-fit: none;
  object-position: 100% 50%;
  transform: translateY(-50%);
  background: transparent;
}

.sivan-split__surface,
.sivan-split__white,
.sivan-split__aside {
  display: none;
}

.sivan-page .similar-projects {
  background: #181818;
}

.sivan-panel.sivan-desk-only {
  height: min(69.4vw, 1000px);
  overflow: hidden;
  background: #000;
  line-height: 0;
}

.sivan-panel.sivan-desk-only img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  background: transparent;
}

@media (prefers-reduced-motion: reduce) {
  .sivan-sphere-overlay {
    will-change: auto;
  }
}

html[lang="en"] .project-page .sivan-intro-title {
  font-weight: 700;
  letter-spacing: -0.02em;
}

html[lang="en"] .project-page .sivan-intro-lead {
  line-height: 1.55;
}

html[lang="en"] .project-page .sivan-intro-detail {
  font-weight: 600;
  line-height: 1.55;
}

html[lang="en"] .project-page .sivan-split__lead {
  font-weight: 400;
  line-height: 1.55;
}

html[lang="en"] .project-page .sivan-split__stat {
  font-weight: 400;
  line-height: 1.35;
}

html[lang="en"] .project-page .sivan-split__stat strong {
  font-weight: 600;
}

@media (max-width: 1024px) {
  .sivan-intro {
    padding: clamp(14px, 2.2vw, 24px) clamp(16px, 4vw, 40px);
  }

  .sivan-intro-shell {
    grid-template-columns: 1fr;
    gap: 14px;
    max-width: 100%;
  }

  .sivan-intro-brand {
    padding-right: 0;
  }

  .sivan-intro-body {
    max-width: none;
  }

  .sivan-sphere-stage {
    padding: clamp(28px, 8vw, 40px) 12px clamp(20px, 5vw, 32px);
  }

  .sivan-split__aside {
    display: none;
  }
}

@media (max-width: 767px) {
  .sivan-desk-only { display: none !important; }
  .sivan-mobile-only { display: block !important; }

  .sivan-hero {
    min-height: min(75.6vw, 35svh);
  }

  .sivan-intro-shell {
    gap: 12px;
    max-width: 100%;
  }

  .sivan-intro {
    padding: 20px 24px 20px 24px;
    margin-top: 0;
  }

  .sivan-intro-title {
    font-size: 32px;
    font-weight: 700;
  }

  .sivan-intro-scope {
    margin-top: 12px;
    padding-top: 12px;
  }

  .sivan-intro-scope li {
    font-size: 9px;
    letter-spacing: 0.12em;
  }

  .sivan-intro-lead,
  .sivan-intro-detail {
    font-size: 15px;
    line-height: 1.6;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.88);
  }

  html[lang="en"] .project-page .sivan-intro-lead,
  html[lang="en"] .project-page .sivan-intro-detail {
    font-size: 15px;
    line-height: 1.6;
  }

  .sivan-intro-detail {
    font-weight: 600;
    color: rgba(255, 255, 255, 0.72);
  }

  .sivan-intro-body {
    gap: 12px;
  }

  .sivan-sphere-stage {
    padding: 77px 0 55px;
  }

  .sivan-sphere-overlay {
    width: min(82.05vw, 320px);
    max-width: 82.05vw;
  }

  .sivan-banner img {
    min-height: 93px;
  }

  .sivan-works-parallax--mobile {
    aspect-ratio: unset;
    height: min(78vw, 364px);
  }

  .sivan-panel--about-mobile,
  .sivan-panel--devices-mobile {
    height: min(140.26vw, 547px);
    overflow: hidden;
    background: #000;
    line-height: 0;
  }

  .sivan-panel--about-mobile img,
  .sivan-panel--devices-mobile img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    background: transparent;
  }
}


/* ===== Phi-Tech case study ===== */
.phi-tech-page .cs-hero {
  width: 100%;
  max-width: none;
  aspect-ratio: auto;
  height: 55vh;
  min-height: 440px;
  max-height: 650px;
  background: #000;
  border: 0;
  outline: 0;
}

.phi-tech-page .cs-hero .cs-hero-video {
  background: #000;
}

.phi-tech-page .similar-projects {
  border-top: none;
}

.phi-tech-page .phi-ph {
  display: grid;
  place-items: center;
  box-sizing: border-box;
  width: 100%;
  margin: 0;
  padding: clamp(20px, 3vw, 40px);
  background: #5a5a5a;
  color: rgba(255, 255, 255, 0.92);
  text-align: center;
  border: 0;
  outline: 0;
  box-shadow: none;
}

.phi-tech-page .phi-ph-meta {
  display: grid;
  gap: 8px;
  justify-items: center;
}

.phi-tech-page .phi-ph-role {
  font-size: clamp(13px, 1.1vw, 15px);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.78);
}

.phi-tech-page .phi-ph-size {
  font-size: clamp(22px, 2.4vw, 34px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: #fff;
}

.phi-tech-page .cs-hero .phi-ph--hero {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  background: #4a4a4a;
}

.phi-tech-page .cs-hero .phi-ph--hero.cs-hero-desktop {
  display: grid;
  z-index: 2;
}

.phi-tech-page .cs-hero .phi-ph--hero.cs-hero-mobile {
  display: none;
  z-index: 1;
}

.phi-tech-page .phi-ph--wide {
  aspect-ratio: 12 / 5;
}

.phi-tech-page .phi-ph--feature {
  aspect-ratio: 2 / 1;
}

.phi-tech-page .phi-ph--square {
  aspect-ratio: 6 / 5;
}

.phi-tech-page .phi-ph--detail {
  aspect-ratio: 9 / 10;
}

.phi-tech-page .cs-grid {
  gap: 16px;
  padding: 0 16px 16px;
  background: #111;
}

.phi-tech-page .cs-grid .phi-ph,
.phi-tech-page .phi-split .phi-ph {
  height: 100%;
}

.phi-tech-page .cs-grid figure,
.phi-tech-page .phi-split figure {
  margin: 0;
  min-width: 0;
}

.phi-tech-page .cs-grid img,
.phi-tech-page .phi-split img,
.phi-tech-page .cs-panel img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  background: transparent;
}

.phi-tech-page .cs-panel {
  padding: 0 16px 16px;
  background: #111;
}

.phi-tech-page .phi-intro + .cs-panel,
.phi-tech-page .phi-intro + .cs-grid,
.phi-tech-page .phi-intro + .phi-split {
  padding-top: 16px;
}

.phi-tech-page .cs-panel + .cs-panel {
  padding-top: 0;
}

.phi-intro {
  position: relative;
  z-index: 2;
  display: block;
  width: 100%;
  box-sizing: border-box;
  background: rgba(35, 35, 35, 0.84);
  margin: 0;
  padding: clamp(28px, 3.2vw, 48px) clamp(24px, 8vw, 120px);
  overflow: hidden;
  border: 0;
}

.phi-intro-shell {
  display: grid;
  grid-template-columns: minmax(200px, 38%) minmax(0, 62%);
  gap: clamp(20px, 3vw, 40px);
  align-items: center;
  width: 100%;
  max-width: 1540px;
  margin: 0 auto;
}

.phi-intro-brand {
  position: relative;
  min-width: 0;
  padding-right: clamp(16px, 2.4vw, 32px);
}

.phi-intro-title {
  margin: 0 0 clamp(18px, 2vw, 28px);
  color: #fff;
  font-size: clamp(34px, 3.6vw, 56px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1;
}

.phi-intro-scope {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.phi-intro-scope li {
  color: rgba(255, 255, 255, 0.62);
  font-size: clamp(13px, 0.95vw, 15px);
  font-weight: 600;
  letter-spacing: 0.08em;
  line-height: 1.3;
  text-transform: uppercase;
}

.phi-intro-scope li + li::before {
  content: "";
  display: none;
}

.phi-intro-copy {
  min-width: 0;
}

.phi-intro-body {
  display: grid;
  gap: clamp(14px, 1.4vw, 20px);
}

.phi-intro-lead,
.phi-intro-detail {
  margin: 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(14px, 1.05vw, 17px);
  font-weight: 400;
  line-height: 1.62;
}

.phi-split {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
  gap: 16px;
  align-items: stretch;
  padding: 0 16px 16px;
  background: #111;
}

.phi-split__wide,
.phi-split__square {
  margin: 0;
  min-width: 0;
}

.phi-split__square .phi-ph--square {
  aspect-ratio: auto;
  min-height: 100%;
}

@media (max-width: 980px) {
  .phi-tech-page .cs-hero {
    height: 50vh;
    min-height: 380px;
    max-height: 545px;
  }

  .phi-tech-page .cs-hero .cs-hero-desktop {
    display: none !important;
  }

  .phi-tech-page .cs-hero .cs-hero-mobile {
    display: block !important;
  }

  .phi-tech-page .cs-hero .cs-hero-mobile.cs-hero-video {
    object-fit: cover;
    object-position: center center;
  }

  .phi-intro {
    padding: clamp(24px, 5vw, 36px) 20px;
  }

  .phi-intro-shell {
    grid-template-columns: 1fr;
    gap: clamp(22px, 4vw, 32px);
  }

  .phi-intro-brand {
    padding-right: 0;
  }

  /* Equal gaps on all sides — no uneven L/R inset */
  .phi-tech-page .cs-panel,
  .phi-tech-page .cs-grid,
  .phi-tech-page .phi-split {
    gap: 12px;
    padding: 0 12px 12px;
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
  }

  .phi-tech-page .phi-intro + .cs-panel,
  .phi-tech-page .phi-intro + .cs-grid,
  .phi-tech-page .phi-intro + .phi-split {
    padding-top: 12px;
  }

  .phi-tech-page .cs-panel + .cs-panel {
    padding-top: 0;
  }

  .phi-split {
    grid-template-columns: 1fr;
  }

  .phi-split__square .phi-ph--square {
    aspect-ratio: 6 / 5;
    min-height: 0;
  }
}

@media (max-width: 768px) {
  .phi-intro-title {
    font-size: 32px;
  }

  .phi-tech-page .phi-ph-size {
    font-size: clamp(18px, 5.5vw, 26px);
  }
}
