/*
 * Norbert Barna portfolio — responsive product-design layer
 *
 * This file intentionally loads after Webflow's generated styles. It owns the
 * compact/medium layouts and a small set of cross-viewport stability fixes.
 * Generated Webflow CSS remains untouched so desktop composition can evolve
 * independently.
 */

:root {
  --site-gutter: clamp(24px, 4vw, 60px);
  --site-content: 1200px;
  --site-readable: 720px;
  --site-radius-sm: 14px;
  --site-radius-md: 24px;
  --site-focus: #5b45ff;
  --site-muted: #62676a;
}

html {
  overflow-x: clip;
  scroll-padding-top: 88px;
}

body {
  min-width: 0;
  overflow-x: clip;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

/* The skip destination must receive focus without disappearing under chrome. */
main:focus {
  outline: none;
}

main {
  display: block;
}

.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  margin: -1px !important;
  padding: 0 !important;
  border: 0 !important;
  clip: rect(0 0 0 0) !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
}

.work-title-heading {
  margin: 0;
  font: inherit;
  line-height: inherit;
}

.dark-button {
  border: 1px solid #111;
  border-radius: 8px;
  background: #000;
  color: #fff;
}

.work-content-wrap {
  flex-wrap: wrap;
}

.work-card-summary {
  flex: 0 0 100%;
  max-width: 52ch;
  margin: 8px 0 0;
  color: #565c5f;
  font-size: 15px;
  line-height: 1.55;
}

.about-section-title,
.metric-context {
  color: var(--site-muted);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.about-section-title {
  margin: 0 0 20px;
}

.metric-context {
  display: inline-block;
  margin-bottom: 10px;
}

.case-related-projects {
  display: block;
  padding: 0 0 clamp(80px, 9vw, 128px);
}

.case-related-projects .service-single-divider {
  margin-top: 0;
}

.case-toc ol {
  list-style: none;
  margin: 0;
  padding: 0;
}

.case-toc {
  border-bottom: 1px solid rgb(17 17 17 / 10%);
  background: rgb(255 255 255 / 96%);
  padding: 18px 0;
}

.case-facts-section {
  border-bottom: 1px solid rgb(17 17 17 / 10%);
  background: #fff;
  padding: clamp(24px, 3vw, 36px) 0;
}

.case-facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px clamp(24px, 4vw, 56px);
  margin: 0;
}

.case-facts > div {
  min-width: 0;
}

.case-facts dt {
  margin: 0 0 7px;
  color: var(--site-muted);
  font-size: 12px;
  font-weight: 750;
  line-height: 1.35;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.case-facts dd {
  overflow-wrap: anywhere;
  margin: 0;
  color: #17191a;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.45;
}

.case-toc__inner {
  display: flex;
  align-items: center;
  gap: clamp(20px, 3vw, 40px);
}

.case-toc__label {
  flex: 0 0 auto;
  margin: 0;
  color: var(--site-muted);
  font-size: 13px;
  font-weight: 750;
  line-height: 1.4;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.case-toc ol {
  display: flex;
  flex-wrap: wrap;
  min-width: 0;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 9px;
  scrollbar-color: rgb(17 17 17 / 42%) rgb(17 17 17 / 8%);
  scrollbar-width: thin;
  scroll-snap-type: x proximity;
  overscroll-behavior-inline: contain;
  -webkit-overflow-scrolling: touch;
}

.case-toc ol::-webkit-scrollbar {
  height: 4px;
}

.case-toc ol::-webkit-scrollbar-track {
  border-radius: 999px;
  background: rgb(17 17 17 / 8%);
}

.case-toc ol::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: rgb(17 17 17 / 42%);
}

.case-toc li {
  flex: 0 0 auto;
  scroll-snap-align: start;
}

.case-toc a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  border: 1px solid rgb(17 17 17 / 14%);
  border-radius: 999px;
  color: #262a2c;
  padding: 9px 14px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.25;
  text-decoration: none;
  white-space: nowrap;
}

.case-toc a:hover,
.case-toc a:focus-visible {
  border-color: #111;
  background: #111;
  color: #fff;
}

.summary :is(h2, h3)[id] {
  scroll-margin-top: 28px;
}

.skip-to-content:focus-visible,
.nav-logo-wrap:focus-visible,
.menu-button:focus-visible,
.nav-link:focus-visible,
.work-image-wrap:focus-visible,
.work-title:focus-visible,
.related-work-image-wrap:focus-visible,
.related-work-title:focus-visible,
.dark-button:focus-visible,
.motion-video-toggle:focus-visible,
.summary a:focus-visible,
.hero-work-link:focus-visible,
.footer-contact-link:focus-visible,
.footer-email:focus-visible,
.footer-brand:focus-visible,
.footer-col a:focus-visible {
  outline: 3px solid var(--site-focus) !important;
  outline-offset: 4px;
}

.home-banner-outcomes {
  display: grid;
  max-width: 76ch;
  gap: 10px;
  margin: 22px 0 0;
  padding-left: 1.25em;
}

.home-banner-outcomes li {
  padding-left: 4px;
  font-size: 18px;
  line-height: 1.58;
  text-wrap: pretty;
}

.hero-work-link {
  display: inline-flex;
  width: auto;
  min-width: 44px;
  min-height: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 26px;
  border: 1px solid #111;
  border-radius: 12px;
  background: transparent;
  color: #111;
  padding: 0 14px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color .18s ease;
}

.hero-work-link:hover,
.hero-work-link:focus-visible {
  background: rgb(17 17 17 / 6%);
  color: #111;
}

/*
 * P0 image fix: Webflow sets rich-text images to width:100% while HTML width
 * and height attributes reserve intrinsic space. Without height:auto the
 * original pixel height survives and screenshots are stretched vertically.
 */
.summary figure,
.summary figure > div {
  min-width: 0;
}

.summary figure > div {
  display: block !important;
  width: 100%;
  max-width: 100%;
}

.summary .w-richtext-figure-type-image img,
.summary figure[data-rt-type="image"] img,
.case-motion-figure__media {
  display: block;
  width: 100% !important;
  max-width: 100%;
  height: auto !important;
  object-fit: contain;
}

.summary figure.w-richtext-figure-type-image,
.summary figure[data-rt-type="image"] {
  width: 100%;
  max-width: 1200px !important;
  margin: clamp(36px, 6vw, 88px) auto;
}

.summary figure.w-richtext-align-center {
  width: min(100%, 820px);
}

.summary figcaption {
  max-width: 68ch;
  margin: 12px auto 0;
  color: var(--site-muted);
  font-size: 14px;
  line-height: 1.55;
  text-align: left;
}

/* Long-form case studies get an editorial measure; media can still break out. */
.summary > :is(h2, h3, p, ul, ol, blockquote) {
  width: min(100%, var(--site-readable));
  margin-right: auto;
  margin-left: auto;
}

.summary > h2 {
  margin-top: clamp(56px, 8vw, 104px);
  text-wrap: balance;
}

.summary > h3 {
  margin-top: clamp(44px, 6vw, 76px);
  text-wrap: balance;
}

.summary > :is(p, li) {
  text-wrap: pretty;
}

.summary > .case-evidence-note {
  margin-top: 0;
  margin-bottom: clamp(44px, 6vw, 72px);
  border: 0;
  background: transparent;
  padding: 0;
  color: var(--site-muted);
  font-size: 14px;
  line-height: 1.7;
}

.summary > .case-evidence-note > strong:first-child {
  display: block;
  margin-bottom: 10px;
  color: #343a3d;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: .1em;
  text-transform: uppercase;
}

/* Portfolio covers are intentionally normalized; case-study screenshots are not. */
.work-image-wrap,
.related-work-image-wrap {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  border-radius: var(--site-radius-md);
  overflow: hidden;
  overflow: clip;
  isolation: isolate;
}

.work-image-wrap .work-image,
.related-work-image-wrap .work-image {
  display: block;
  width: 100%;
  max-width: none;
  height: 100%;
  border-radius: inherit;
  object-fit: cover;
  object-position: center;
  transform-origin: 50% 50%;
  transition: none !important;
}

/* GSAP is the sole transform owner for portfolio media. */
.work-image:hover,
.work-image-wrap:hover .work-image,
.related-work-image-wrap:hover .work-image {
  transform: none;
}

.work-image-wrap:hover {
  border-radius: var(--site-radius-md);
}

/* One clear focus target per project card. The title link owns the complete
 * card hit area while the image remains presentational rather than duplicated. */
.work-card,
.related-work-card {
  position: relative;
}

.work-card .work-title::after,
.related-work-card .related-work-title::after,
.work-row .work-title::after {
  content: "";
  z-index: 5;
  position: absolute;
  inset: 0;
}

.work-card:focus-within,
.related-work-card:focus-within {
  border-radius: var(--site-radius-md);
  outline: 3px solid var(--site-focus);
  outline-offset: 5px;
}

.work-card:focus-within .work-title,
.related-work-card:focus-within .related-work-title {
  outline: none !important;
}

.home-work-title-wrap > .about-section-title {
  margin-bottom: clamp(20px, 3vw, 36px);
}

.home-work-footer {
  display: flex;
  justify-content: flex-end;
  margin-top: clamp(28px, 4vw, 52px);
}

.split-reveal-word {
  display: inline-block;
  white-space: nowrap;
}

.motion-video-toggle {
  z-index: 8;
  display: inline-flex;
  min-width: 48px;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgb(255 255 255 / 42%);
  border-radius: 999px;
  background: rgb(11 17 24 / 82%);
  color: #fff;
  padding: 10px 18px;
  font: 600 14px/1 Inter, sans-serif;
  cursor: pointer;
}

.home-about-video-wrap,
.home-about-video,
.kineticare-browser-frame,
.kineticare-hero {
  position: relative;
}

/* Reserve media geometry before metadata arrives and keep Webflow video
 * positioning from collapsing or distorting the 16:9 source. */
.home-about-video {
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  max-height: none;
  overflow: hidden;
}

.home-about-video > video {
  z-index: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  object-fit: cover;
  object-position: center;
  position: absolute;
  inset: 0;
}

.kineticare-browser-frame video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  object-fit: cover;
}

.summary .kineticare-video-caption {
  max-width: none;
  margin: 0;
  background: #0c1b2e;
  color: #d8e2ec;
  padding: 12px 16px 15px;
  font-size: 13px;
  line-height: 1.5;
}

.kineticare-video-description {
  border-top: 1px solid rgb(255 255 255 / 16%);
  background: #0c1b2e;
  color: #fff;
  padding: 0 16px 16px;
}

.kineticare-video-description summary {
  min-height: 44px;
  padding: 13px 0;
  font-size: 14px;
  font-weight: 650;
  line-height: 1.35;
  cursor: pointer;
}

.kineticare-video-description p {
  margin: 0;
  color: rgb(255 255 255 / 78%);
  font-size: 14px;
  line-height: 1.65;
}

.home-about-video > .motion-video-toggle,
.kineticare-browser-frame > .motion-video-toggle,
.kineticare-hero > .motion-video-toggle {
  position: absolute;
  right: 18px;
  top: 18px;
}

.awards-card-text {
  color: #606568;
}

.awards-card {
  isolation: isolate;
  cursor: pointer;
}

/* TightAwardVideo: Webflow parks the file at inset:-100% / height:500px so
 * hover shows a tight strip. Cover the card. Same fill on tap (.is-award-on). */
.awards-bg-video-wrap {
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.awards-bg-video.w-background-video,
.awards-bg-video {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  max-height: none;
  overflow: hidden;
}

.awards-bg-video > video {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  object-fit: cover;
}

.awards-card::after {
  content: "";
  z-index: 2;
  background: linear-gradient(90deg, rgb(7 10 13 / 84%), rgb(7 10 13 / 68%));
  opacity: 0;
  pointer-events: none;
  position: absolute;
  inset: 0;
  transition: opacity .4s ease;
}

.awards-card:hover::after,
.awards-card:focus-within::after,
.awards-card.is-award-on::after {
  opacity: 1;
}

.awards-card:hover,
.awards-card:focus-within,
.awards-card.is-award-on {
  color: var(--bg-color--white, #fff);
}

.awards-card:hover .awards-bg-video-wrap,
.awards-card:focus-within .awards-bg-video-wrap,
.awards-card.is-award-on .awards-bg-video-wrap {
  opacity: 1;
}

.awards-card:hover .awards-card-text,
.awards-card:focus-within .awards-card-text,
.awards-card.is-award-on .awards-card-text {
  color: rgb(255 255 255 / 82%);
}

.awards-card:hover .awards-year,
.awards-card:focus-within .awards-year,
.awards-card.is-award-on .awards-year {
  background: #111;
  color: #fff;
}

.work-card .work-title-line,
.related-work-card .work-title-line {
  width: 100% !important;
  transform-origin: 0 50%;
}

/* Locked footer: one full-bleed mesh. Type sits on greyer-lilac. LinkedIn
 * and Email share outlined 44px / 12px chrome. Navy is a left-weighted
 * horizon; yellow is right-weighted — not a centered balloon. */
.footer-section {
  --footer-lavender: #d6d4ed;
  --footer-navy: #0a1628;
  --footer-teal: #1b3a32;
  --footer-yellow: #bdb414;
  --footer-ink: #111111;
  position: relative;
  isolation: isolate;
  z-index: 8;
  overflow: hidden;
  width: 100%;
  min-height: min(66.667vw, 960px);
  background:
    radial-gradient(220% 88% at 50% -10%, #d6d4ed 0%, #d6d4ed 36%, transparent 78%),
    radial-gradient(210% 78% at 26% 62%, #0a1628 0 18%, transparent 86%),
    radial-gradient(160% 62% at 44% 70%, #0a1628 0 14%, transparent 82%),
    radial-gradient(90% 52% at 12% 86%, #1b3a32 0 22%, transparent 82%),
    radial-gradient(120% 70% at 94% 108%, #bdb414 0 28%, transparent 80%),
    radial-gradient(96% 48% at 82% 116%, #bdb414 0 32%, transparent 78%),
    radial-gradient(180% 32% at 80% 120%, #bdb414 0 40%, transparent 82%),
    #d6d4ed;
  color: var(--footer-ink);
  padding: 0;
}

.footer-mesh {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.footer-mesh-art {
  display: block;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  filter: none;
}

html.no-motion .footer-mesh-navy,
html.no-motion .footer-mesh-olive,
html.no-motion .footer-mesh-yellow {
  transform: none !important;
}

.footer-mesh::before,
.footer-mesh::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.footer-mesh::before {
  opacity: .4;
  mix-blend-mode: multiply;
  filter: contrast(1.55);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='140' height='140'><filter id='g'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' seed='11' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.28 0 0 0 0 0.28 0 0 0 0 0.28 0 0 0 0.92 0'/></filter><rect width='100%' height='100%' filter='url(%23g)'/></svg>");
  background-size: 140px 140px;
}

.footer-mesh::after {
  opacity: .32;
  mix-blend-mode: screen;
  filter: contrast(1.45);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='110' height='110'><filter id='g'><feTurbulence type='fractalNoise' baseFrequency='1.05' numOctaves='3' seed='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.82 0 0 0 0 0.82 0 0 0 0 0.82 0 0 0 0.88 0'/></filter><rect width='100%' height='100%' filter='url(%23g)'/></svg>");
  background-size: 110px 110px;
}

.footer-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  min-height: inherit;
  padding: clamp(64px, 7vw, 96px) 0 max(24px, env(safe-area-inset-bottom));
}

.footer-chrome {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: clamp(32px, 6vw, 80px);
  background: transparent;
  padding: 0;
}

.footer-ident {
  display: grid;
  gap: 18px;
  max-width: 38ch;
}

.footer-brand {
  display: inline-flex;
  color: inherit;
  text-decoration: none;
}

.footer-wordmark {
  display: block;
  width: 128px;
  height: auto;
}

.footer-lede {
  margin: 0;
  max-width: 22.5rem;
  color: var(--footer-ink);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.45;
}

.footer-cta {
  position: relative;
  z-index: 3;
  display: flex;
  flex-shrink: 0;
  align-items: center;
  gap: 9px;
}

.footer-section a.footer-contact-link,
.navbar a.footer-contact-link {
  display: inline-flex;
  width: 44px;
  min-width: 44px;
  min-height: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--footer-ink, #111111);
  border-radius: 12px;
  background-color: transparent;
  color: var(--footer-ink, #111111);
  padding: 0;
  text-decoration: none;
  transition: background-color .18s ease;
}

.footer-section a.footer-contact-link:hover,
.footer-section a.footer-contact-link:focus-visible,
.navbar a.footer-contact-link:hover,
.navbar a.footer-contact-link:focus-visible {
  background-color: rgb(17 17 17 / 6%);
  color: var(--footer-ink, #111111);
}

.footer-icon {
  display: block;
  width: 17px;
  height: 17px;
}

.footer-section button.footer-email,
.navbar button.footer-email {
  appearance: none;
  -webkit-appearance: none;
  display: inline-flex;
  min-width: 44px;
  min-height: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  margin: 0;
  border: 1px solid var(--footer-ink, #111111);
  border-radius: 12px;
  background-color: transparent;
  color: var(--footer-ink, #111111);
  padding: 0 14px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.2;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color .18s ease;
}

.footer-section button.footer-email:hover,
.footer-section button.footer-email:focus-visible,
.navbar button.footer-email:hover,
.navbar button.footer-email:focus-visible {
  background-color: rgb(17 17 17 / 6%);
  color: var(--footer-ink, #111111);
}

.footer-nav {
  display: flex;
  align-items: flex-start;
  max-width: 28rem;
  color: var(--footer-ink);
}

.footer-col {
  min-width: 0;
  padding: 0 28px 0 0;
}

.footer-col + .footer-col {
  padding: 0 0 0 28px;
  border-left: 1px solid rgb(17 17 17 / 18%);
}

.footer-col-title {
  margin: 0 0 14px;
  color: var(--footer-ink);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.3;
}

.footer-col-list {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-col a,
.footer-contact-label {
  color: var(--footer-ink);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.4;
  text-decoration: none;
}

.footer-col a:hover,
.footer-col a:focus-visible {
  text-decoration: underline;
  text-underline-offset: 3px;
  opacity: .8;
}

.footer-bar {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 16px;
  margin-top: auto;
  padding-top: clamp(56px, 12vw, 140px);
  border-top: 1px solid rgb(17 17 17 / 62%);
}

.footer-copyright {
  margin: 0;
  color: var(--footer-ink);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.4;
  text-align: left;
}

/* Desktop stability: never let decorative interaction enlarge page geometry. */
@media (min-width: 992px) {
  :root {
    --site-gutter: clamp(32px, 3vw, 60px);
  }

  body {
    font-size: clamp(17px, 1.5vw, 20px);
  }

  /* Start desktop on the same 32px edge as the 991px layout, then cap and
   * center the shell instead of leaving it anchored at 1366px. */
  .container {
    width: calc(100% - var(--site-gutter) - var(--site-gutter));
    max-width: var(--site-content);
    margin-right: auto !important;
    margin-left: auto !important;
    padding-right: 0 !important;
    padding-left: 0 !important;
  }

  .container-large {
    width: calc(100% - var(--site-gutter) - var(--site-gutter));
    max-width: 1720px;
    margin-right: auto;
    margin-left: auto;
    padding-right: 0;
    padding-left: 0;
  }

  .container-large.inner-container-1200px,
  .inner-container-1200px {
    max-width: var(--site-content);
    margin-right: auto;
    margin-left: auto;
  }

  .home-banner-title {
    font-size: clamp(48px, 5.4vw, 64px);
    line-height: 1.05;
  }

  .home-banner-subtitle {
    font-size: clamp(20px, 1.7vw, 22px);
    font-weight: 400;
    line-height: 1.45;
  }

  .banner-text,
  .banner-text strong {
    font-size: clamp(20px, 1.6vw, 22px);
    font-weight: 400;
    line-height: 1.45;
  }

  /* Keep the portfolio grid continuous across the Webflow 991/992 switch. */
  .work-section .w-dyn-items.w-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px clamp(28px, 3vw, 48px);
    margin: 0;
  }

  .work-section .work-collection-item {
    width: auto;
    min-width: 0;
    padding: 0;
  }

  .work-section .work-card {
    margin-bottom: clamp(64px, 6vw, 96px);
  }

  .work-image-wrap,
  .related-work-image-wrap,
  .case-motion-figure__mask {
    contain: paint;
  }

  .related-work-image-wrap {
    width: 100%;
    max-width: none;
    max-height: none;
  }

  .related-work-card {
    display: block;
    margin: 0;
  }

  .summary {
    font-size: 19px;
    line-height: 1.68;
  }

  .summary p {
    margin-bottom: 28px;
  }
}

/* Panda case-study heroes use a nested 1200px shell. Give them the same
 * viewport gutter through the desktop entry instead of snapping to x=0. */
@media (min-width: 992px) and (max-width: 1199px) {
  .banner-content-area.product-header.instructure.panda.inner-container-1200px {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
    overflow: visible;
  }

  .container.product-details-header.black.panda {
    width: 100%;
    max-width: 100%;
    margin-right: auto !important;
    margin-left: auto !important;
    padding-right: var(--site-gutter) !important;
    padding-left: var(--site-gutter) !important;
  }
}

@media (min-width: 1200px) {
  .banner-content-area.product-header.instructure.panda.inner-container-1200px {
    width: 100%;
    max-width: var(--site-content);
    margin-right: auto;
    margin-left: auto;
    padding: 0;
  }

  .container.product-details-header.black.panda {
    width: 100%;
    max-width: var(--site-content);
    margin-right: auto !important;
    margin-left: auto !important;
    padding-right: max(0px, calc(var(--site-gutter) - (50vw - 600px))) !important;
    padding-left: max(0px, calc(var(--site-gutter) - (50vw - 600px))) !important;
  }
}

/* Award video fill and tap overlay live above. Do not hide the wrap on
 * compact or coarse pointers — tap uses .is-award-on. */

/* Compact and medium are deliberately designed as their own product surface. */
@media (max-width: 991px) {
  :root {
    --site-gutter: clamp(24px, 4vw, 32px);
    --site-radius-md: 20px;
  }

  html {
    scroll-padding-top: 76px;
  }

  body {
    font-size: 17px;
    line-height: 1.6;
    -webkit-text-size-adjust: 100%;
  }

  p,
  .summary li {
    font-size: 17px;
    line-height: 1.65;
  }

  h1,
  h2,
  h3,
  .section-title,
  .home-banner-title,
  .banner-title {
    overflow-wrap: normal;
    word-break: normal;
    text-wrap: balance;
  }

  .container,
  .container-large,
  .container-large.inner-container-1200px,
  .container.product-details-header,
  .container.product-details-header.black.panda,
  .container.product-details-header.black.raiffeisen-header-black,
  .container.product-details-header.text-white.depot {
    width: 100%;
    max-width: 100%;
    height: auto;
    min-height: 0;
    margin-right: auto !important;
    margin-left: auto !important;
    padding-right: max(var(--site-gutter), env(safe-area-inset-right)) !important;
    padding-left: max(var(--site-gutter), env(safe-area-inset-left)) !important;
  }

  .inner-container-1200px {
    width: 100%;
    max-width: 100%;
  }

  .nav-wrap,
  .nav-wrap.dark {
    min-height: 56px;
    margin: 0;
    padding: 0;
  }

  .nav-logo-wrap,
  .nav-logo-wrap.logo {
    display: inline-flex;
    width: auto;
    min-width: 48px;
    min-height: 48px;
    align-items: center;
    padding: 7px 0;
  }

  .nav-logo-wrap img {
    display: block;
    width: 62px;
    height: auto;
  }

  .menu-button,
  .menu-button.w-nav-button {
    display: grid;
    width: 48px;
    min-width: 48px;
    height: 48px;
    min-height: 48px;
    place-items: center;
    border: 1px solid rgb(255 255 255 / 16%);
    border-radius: 999px;
    background: #111;
    padding: 0;
    color: #fff;
  }

  .menu-button .w-icon-nav-menu {
    margin: 0;
    color: #fff;
    font-size: 23px;
  }

  .menu-button.w--open {
    border-color: #111;
    background: #fff;
  }

  .menu-button.w--open .w-icon-nav-menu {
    color: #111;
  }

  .nav-menu.w-nav-menu {
    width: calc(100% - (2 * var(--site-gutter)));
    max-width: none;
    margin: 10px var(--site-gutter) 0;
    border: 1px solid rgb(17 17 17 / 10%);
    border-radius: 20px;
    background: #fff;
    padding: 14px;
    box-shadow: 0 18px 55px rgb(17 17 17 / 16%);
  }

  .nav-menu-area {
    width: 100%;
    gap: 4px;
  }

  .nav-link,
  .nav-link.white {
    display: flex;
    width: 100%;
    min-height: 48px;
    align-items: center;
    margin: 0;
    border-radius: 12px;
    padding: 11px 14px;
    color: #111;
    font-size: 17px;
  }

  .home-banner-section,
  .home-banner-section.raiffeisen-header-black {
    padding: clamp(48px, 8vw, 76px) 0 clamp(64px, 10vw, 96px);
  }

  .home-banner-area {
    gap: 28px;
  }

  .banner-left-wrap,
  .banner-left-wrap.black {
    width: 100%;
    max-width: 100%;
    padding: 0;
  }

  .banner-left-wrap > p:first-child {
    margin-bottom: 16px;
    font-size: 17px;
  }

  .home-mast .banner-left-wrap > p.hero-kicker {
    margin-bottom: 10px;
    font-size: 13px;
  }

  .home-banner-title {
    max-width: 18ch;
    font-size: clamp(48px, 7vw, 64px);
    line-height: 1.05;
    letter-spacing: -.03em;
  }

  .home-banner-subtitle {
    max-width: 36ch;
    margin-top: 22px;
    font-size: clamp(20px, 2vw, 22px);
    font-weight: 400;
    line-height: 1.45;
    letter-spacing: 0;
  }

  .home-banner-details-wrap {
    margin-top: 30px;
  }

  .home-banner-text {
    max-width: 72ch;
    margin-top: 24px;
    border-top: 1px solid rgb(17 17 17 / 16%);
    padding-top: 22px;
    font-size: 16px;
    line-height: 1.75;
  }

  .home-banner-outcomes {
    max-width: 72ch;
    margin-top: 18px;
    border-top: 1px solid rgb(17 17 17 / 16%);
    padding-top: 20px;
    font-size: 16px;
  }

  .home-banner-outcomes li {
    font-size: 16px;
    line-height: 1.68;
  }

  .home-about-section,
  .home-service-section,
  .bottom-space-section {
    padding-top: clamp(72px, 10vw, 104px);
    padding-bottom: clamp(72px, 10vw, 104px);
  }

  .home-about-area {
    gap: 38px;
  }

  .large-text,
  .large-text.black {
    max-width: 34ch;
    font-size: clamp(24px, 3.3vw, 31px);
    line-height: 1.42;
  }

  .home-about-video-wrap {
    width: 100%;
    min-width: 0;
    max-width: none;
    border-radius: 28px;
    padding: clamp(24px, 5vw, 42px);
  }

  .home-about-video-text {
    max-width: 18ch;
    font-size: clamp(24px, 4vw, 31px);
    line-height: 1.2;
  }

  .home-about-video {
    display: block;
    width: min(100%, 420px);
    max-width: 100%;
    aspect-ratio: 16 / 9;
    height: auto;
    max-height: none;
    margin: -18px auto 0;
  }

  .home-about-marquee-area {
    gap: 12px;
    margin-top: 34px;
    overflow-x: auto;
    overflow-y: hidden;
    overscroll-behavior-inline: contain;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .home-about-marquee-area::-webkit-scrollbar {
    display: none;
  }

  .home-about-marquee-holder,
  .home-about-marquee-wrap {
    width: max-content;
    min-width: max-content;
    transform: none !important;
    animation: none !important;
  }

  .home-about-left-linear,
  .home-about-right-linear {
    display: none;
  }

  .home-service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 32px;
  }

  .home-service-title-area {
    grid-column: 1 / -1;
    max-width: 16ch;
    margin-bottom: 30px;
  }

  .service-item {
    min-width: 0;
    border-top: 1px solid rgb(17 17 17 / 16%);
    padding: 28px 0 34px;
  }

  .home-service-icon-area {
    width: 72px;
    min-width: 72px;
    height: 72px;
    min-height: 72px;
  }

  .home-service-card-title {
    margin: 0;
    font-size: clamp(23px, 3vw, 28px);
    line-height: 1.15;
  }

  .section-title {
    font-size: clamp(38px, 6vw, 54px);
    line-height: 1.02;
    letter-spacing: -.035em;
  }

  .home-work-image-text {
    font-size: clamp(112px, 24vw, 210px);
    line-height: .86;
    letter-spacing: -.06em;
  }

  .home-work-title-image-wrap {
    max-width: 100%;
  }

  .home-work-wrap {
    margin-top: 56px;
  }

  .home-work-area {
    flex-flow: row nowrap;
    align-items: flex-start;
    gap: 28px;
  }

  .home-work-card-wrap,
  .home-work-card-wrap.top-space {
    flex: 1 1 0;
    width: 100%;
    min-width: 0;
    max-width: none;
    margin-top: 0;
  }

  .work-card {
    max-width: none;
    margin-bottom: 64px;
  }

  .work-content-wrap {
    align-items: flex-start;
    gap: 6px 20px;
    margin-top: 16px;
  }

  .work-title {
    font-size: clamp(27px, 3.5vw, 34px);
  }

  .work-category-text {
    color: var(--site-muted);
    font-size: 15px;
    line-height: 1.45;
  }

  .awards-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .awards-title-area {
    position: static;
  }

  .awards-card-wrap {
    gap: 14px;
  }

  .awards-card {
    min-height: 150px;
    border-radius: 20px;
    padding: 30px;
  }

  .awards-card-title {
    font-size: 24px;
  }

  .footer-chrome {
    flex-direction: column;
    align-items: flex-start;
    gap: 40px;
  }

  .footer-section {
    display: flex;
    flex-direction: column;
    min-height: min(210vw, 880px);
  }

  .footer-section .container.footer-inner,
  .footer-inner {
    flex: 1 1 auto;
    min-height: min(210vw, 880px);
  }

  .footer-mesh-art {
    inset: 0;
    height: 100%;
    aspect-ratio: auto;
  }

  /* CompactMeshClip still fills the field. Compact NavyFlood: navy fades in
   * below Work so the title sits on lilac; yellow/olive stay unmasked. */
  .footer-mesh-navy {
    -webkit-mask-image: linear-gradient(to bottom, transparent 40%, #000 62%);
    mask-image: linear-gradient(to bottom, transparent 40%, #000 62%);
    -webkit-mask-size: 100% 100%;
    mask-size: 100% 100%;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
  }

  .footer-nav {
    flex-direction: column;
    width: 100%;
    max-width: none;
  }

  .footer-col + .footer-col {
    margin-top: 24px;
    padding: 0;
    border-left: 0;
  }

  /* Works listing */
  .work-section {
    padding-top: 72px;
    padding-bottom: 72px;
  }

  .work-section .w-dyn-items.w-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px 28px;
    margin: 0;
  }

  .work-section .work-collection-item {
    width: auto;
    min-width: 0;
    padding: 0;
  }

  /* Case-study hero */
  .banner-section,
  .banner-section.raiffesen,
  .banner-section.instructure,
  .banner-section.bitpanda,
  .banner-section.gambit,
  .kineticare-hero {
    min-height: auto;
    margin: 0;
    padding: clamp(72px, 11vw, 112px) 0;
  }

  .banner-content-area,
  .banner-content-area.product-header,
  .banner-content-area.product-header.instructure,
  .banner-content-area.product-header.instructure.panda,
  .banner-content-area.product-header.instructure.panda.inner-container-1200px {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
    overflow: visible;
  }

  .banner-wrap,
  .banner-content-wrap,
  .banner-content-wrap.instructure.text-white {
    width: 100%;
    max-width: 780px;
    margin: 0;
  }

  .banner-wrap {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: clamp(20px, 4vw, 32px);
  }

  .case-toc__inner {
    display: block;
  }

  .case-facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .case-toc__label {
    margin-bottom: 10px;
  }

  .case-toc a {
    max-width: min(82vw, 28rem);
    white-space: normal;
  }

  .work-category {
    margin-bottom: 15px;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.35;
    letter-spacing: .08em;
    text-transform: uppercase;
  }

  .banner-title {
    margin: 0;
    font-size: clamp(48px, 6vw, 64px);
    line-height: 1.05;
    letter-spacing: -.03em;
  }

  .banner-text {
    max-width: 64ch;
    margin-top: 24px;
  }

  .banner-text,
  .banner-text strong {
    font-size: clamp(18px, 2.5vw, 21px);
    line-height: 1.55;
  }

  .work-single-section,
  .work-single-section.instructure-bg-video {
    padding-top: clamp(64px, 9vw, 96px);
    padding-bottom: clamp(72px, 10vw, 112px);
  }

  .summary {
    font-size: 17px;
    line-height: 1.65;
  }

  .summary h2 {
    font-size: clamp(28px, 3.2vw, 32px);
    line-height: 1.15;
    letter-spacing: -.02em;
  }

  .summary h3 {
    font-size: clamp(27px, 4vw, 34px) !important;
    line-height: 1.16;
  }

  .summary :is(ul, ol) {
    padding-left: 1.3em;
  }

  .summary li {
    padding-top: 6px;
    padding-bottom: 6px;
  }

  .service-single-divider {
    margin-top: 72px;
    margin-bottom: 64px;
  }

  .related-service-title-area {
    gap: 20px;
    align-items: flex-end;
    padding-top: 0;
  }

  .dark-button.projects {
    display: inline-flex;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    padding: 13px 20px;
  }

  .related-projects-area {
    margin-top: 36px;
  }

  .related-projects-area .w-dyn-items.w-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
    margin: 0;
  }

  .related-work-collection-item {
    width: auto;
    min-width: 0;
    padding: 0;
  }

  .related-work-card {
    display: block;
    margin: 0;
  }

  .related-work-image-wrap {
    max-width: none;
    max-height: none;
  }

  .related-work-title {
    min-height: 44px;
    margin-top: 12px;
    padding: 0;
    font-size: clamp(25px, 3.5vw, 31px);
  }

  .inst-bg-video.mobile,
  .kineticare-browser-frame {
    overflow: hidden;
    border-radius: 18px;
  }

  .kineticare-browser-frame video {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    height: auto;
    object-fit: cover;
  }

  .case-motion-heading::before,
  .case-motion-rail {
    display: none;
  }
}

@media (max-width: 599px) {
  :root {
    --site-gutter: 16px;
    --site-radius-md: 16px;
  }

  html {
    scroll-padding-top: 68px;
  }

  body,
  p,
  .summary li {
    font-size: 16px;
  }

  .home-banner-section,
  .home-banner-section.raiffeisen-header-black {
    padding-top: 42px;
    padding-bottom: 64px;
  }

  .home-banner-title {
    max-width: 16ch;
    font-size: clamp(40px, 11vw, 56px);
    line-height: 1.05;
  }

  .home-banner-subtitle {
    margin-top: 18px;
    font-size: clamp(20px, 4.4vw, 22px);
    font-weight: 400;
    line-height: 1.45;
  }

  .home-banner-text {
    font-size: 15px;
    line-height: 1.72;
  }

  .home-banner-outcomes li {
    font-size: 16px;
    line-height: 1.68;
  }

  .hero-work-link {
    width: auto;
  }

  .home-about-section,
  .home-service-section,
  .bottom-space-section {
    padding-top: 68px;
    padding-bottom: 68px;
  }

  .home-about-video-wrap {
    border-radius: 20px;
    padding: 24px 20px 18px;
  }

  .home-service-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
  }

  .home-service-title-area {
    grid-column: auto;
    margin-bottom: 20px;
  }

  .service-item {
    padding: 24px 0 28px;
  }

  .home-service-icon-wrap {
    align-items: center;
    gap: 16px;
  }

  .home-service-icon-area {
    width: 60px;
    min-width: 60px;
    height: 60px;
    min-height: 60px;
  }

  .home-work-image-text {
    font-size: clamp(88px, 27vw, 132px);
  }

  .home-work-area {
    flex-direction: column;
    gap: 0;
  }

  .work-card {
    width: 100%;
    max-width: none;
    margin: 0 0 52px;
  }

  .work-content-wrap {
    flex-direction: column;
    align-items: flex-start;
    margin-top: 14px;
  }

  .work-title {
    font-size: 28px;
  }

  .awards-card {
    min-height: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
    border-radius: 16px;
    padding: 26px 22px;
  }

  .awards-card-title {
    font-size: 22px;
  }

  .work-section {
    padding-top: 56px;
    padding-bottom: 64px;
  }

  .work-section .w-dyn-items.w-row,
  .related-projects-area .w-dyn-items.w-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }

  .work-section .work-card {
    margin-bottom: 48px;
  }

  .banner-section,
  .banner-section.raiffesen,
  .banner-section.instructure,
  .banner-section.bitpanda,
  .banner-section.gambit,
  .kineticare-hero {
    padding-top: 64px;
    padding-bottom: 68px;
  }

  .banner-title {
    font-size: clamp(44px, 13vw, 58px);
  }

  .banner-text,
  .banner-text strong {
    font-size: 17px;
    line-height: 1.58;
  }

  .work-single-section,
  .work-single-section.instructure-bg-video {
    padding-top: 56px;
    padding-bottom: 72px;
  }

  .summary h2 {
    margin-top: 54px;
    font-size: clamp(26px, 7vw, 30px);
  }

  .summary h3 {
    margin-top: 42px;
    font-size: clamp(25px, 7vw, 31px) !important;
  }

  .summary figure.w-richtext-figure-type-image,
  .summary figure[data-rt-type="image"],
  .summary figure.w-richtext-align-center {
    display: block;
    width: 100%;
    max-width: 100% !important;
    margin-top: 38px;
    margin-bottom: 42px;
  }

  .summary figcaption {
    font-size: 13px;
  }

  .service-single-divider {
    margin-top: 60px;
    margin-bottom: 52px;
  }

  .related-service-title-area {
    flex-direction: column;
    align-items: flex-start;
  }

  .dark-button.projects {
    width: 100%;
  }

  .related-projects-area {
    margin-top: 30px;
  }

  .related-work-card {
    margin-bottom: 40px;
  }

  .related-work-image-wrap {
    width: 100%;
    max-width: none;
  }

  .related-work-title {
    margin-top: 12px;
    font-size: 27px;
  }

  .motion-video-toggle {
    right: 12px !important;
    top: 12px !important;
    bottom: auto !important;
    min-height: 44px;
    padding: 9px 14px;
    font-size: 13px;
  }

  .footer-section .container.footer-inner,
  .footer-inner {
    display: flex;
    flex-direction: column;
    min-height: min(210vw, 880px);
  }

  .footer-contact-link {
    width: 44px;
  }

  .home-work-footer .dark-button {
    width: 100%;
  }

  .case-facts {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
  }
}

@media (hover: none), (pointer: coarse) {
  .work-image-wrap:hover,
  .related-work-image-wrap:hover,
  .home-service-icon-area:hover {
    transform: none !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto !important;
  }

  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }

  .home-about-marquee-wrap,
  .home-about-marquee-holder,
  .case-motion-figure__mask,
  .case-motion-figure__media,
  .work-card,
  .related-work-card,
  .service-item,
  .awards-card,
  .section-title,
  .summary h2,
  .summary h3,
  .footer-mesh-navy,
  .footer-mesh-olive,
  .footer-mesh-yellow {
    opacity: 1 !important;
    transform: none !important;
    clip-path: none !important;
  }
}

/* One quiet page-level motion preference; never a play button on the media. */
.site-motion-toggle {
  display: inline-flex;
  min-width: 106px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 0;
  border-radius: 0;
  background: transparent;
  padding: 10px 8px;
  color: #17191a;
  font: 600 12px/1.4 Inter, sans-serif;
  letter-spacing: .035em;
  cursor: pointer;
}

/* Reserve the exact geometry before JS initializes. No dead no-JS control. */
.site-motion-toggle[hidden] {
  display: inline-flex;
  visibility: hidden;
}

.site-motion-toggle [data-motion-state] {
  min-width: 3ch;
  text-align: left;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.site-motion-toggle:focus-visible {
  outline: 3px solid var(--site-focus);
  outline-offset: 4px;
}

.banner-section.raiffesen .banner-text,
.banner-section.gambit:not(.kineticare-hero) .banner-text,
.banner-section.bitpanda.benker .banner-text {
  color: #111 !important;
}

.banner-section.instructure .banner-text,
.banner-section.bitpanda:not(.benker) .banner-text {
  color: #fff !important;
}

.kineticare-hero .banner-text,
.kineticare-hero .banner-text strong {
  color: #fff !important;
}


/* The Instructure demo is content, not a cropped 500px Webflow background.
 * Keep the same 16:9 composition visible on phones as on desktop.
 * Webflow `.w-background-video > video` uses inset:-100% and z-index:-100,
 * which parks a playing file outside the overflow clip (navy empty box). */
.inst-bg-video.mobile {
  display: block;
  width: calc(100% - (2 * var(--site-gutter)));
  max-width: 1200px;
  margin: 0 auto clamp(40px, 6vw, 80px);
}
.inst-bg-video.mobile .container-2 {
  width: 100%;
  max-width: none;
  padding: 0;
}
.inst-bg-video.mobile .background-video {
  position: relative;
  isolation: isolate;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: var(--site-radius-md);
  background: #0c1b2e;
}
.inst-bg-video.mobile .background-video > video {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  object-fit: contain;
}
.instructure-montage-caption {
  margin: 14px 0 0;
  color: #17191a;
  font: 600 13px/1.5 Inter, sans-serif;
  letter-spacing: .02em;
  text-align: left;
}
.case-video-description {
  max-width: 76ch;
  margin: 6px 0 0;
  color: #606568;
  font: 400 14px/1.65 Inter, sans-serif;
}
.site-motion-toggle:disabled { cursor: default; }
/* A manual pause receives the same static, readable hover fallback as the OS
 * setting; the legacy html.no-motion * rule must not reveal award backgrounds. */
html.no-motion .awards-bg-video-wrap,
html.no-motion .awards-card::after { opacity: 0 !important; }
html.no-motion .awards-card,
html.no-motion .awards-card:hover { color: #111 !important; }
html.no-motion .awards-card .awards-card-text { color: #606568 !important; }
html.no-motion .awards-card .awards-year { background: #fff !important; color: #111 !important; }

/* design.md primitives — type, fold, case header, no AI decor */
:root {
  --ink: #111111;
  --paper: #f7f8f8;
  --paper-full: #ffffff;
  --muted: rgb(17 17 17 / 62%);
  /* Solid charcoal: 13px kicker stays ≥ 4.5:1 on lilac grain. Not 62% --muted. */
  --mast-muted: #2a2a2e;
  /* Near-white: body/strong/label ≥ 4.5:1 on the darkest mast navy #0A1628. */
  --mast-on-navy: #f4f5f7;
}

.hero-kicker {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
}

.hero-proof {
  display: block;
  margin-top: 28px;
  max-width: 520px;
  overflow: visible;
  color: inherit;
  text-decoration: none;
}

.hero-proof .case-hero-shot {
  background: #ececec;
}

.hero-proof-caption {
  display: block;
  margin-top: 10px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.35;
}

.home-banner-content-wrap,
.home-banner-outcomes,
.home-banner-outcomes li,
.home-banner-outcomes strong {
  color: var(--ink);
}

.home-banner-area .metric-context {
  color: var(--muted);
}

@media (min-width: 992px) {
  .home-banner-area {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
    grid-template-rows: auto auto auto;
    align-items: start;
    gap: 16px 48px;
  }

  .home-banner-area > .banner-left-wrap {
    grid-column: 1;
    grid-row: 1;
  }

  .hero-proof {
    grid-column: 2;
    grid-row: 1 / span 3;
    margin-top: 0;
    max-width: none;
    align-self: center;
  }

  .home-banner-area > .home-banner-content-wrap,
  .home-banner-area > .home-work-divider-line {
    grid-column: 1;
  }

  .banner-wrap {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(240px, 0.95fr);
    align-items: center;
    gap: 40px;
  }

  .case-hero-media {
    min-width: 0;
  }

  .work-section {
    padding-top: 8px;
  }
}

.case-hero-media {
  min-width: 0;
}

.case-hero-shot {
  display: block;
  width: 100%;
  height: auto;
  max-height: min(640px, 70vh);
  object-fit: contain;
  object-position: center;
  background: rgb(255 255 255 / 18%);
  border-radius: 16px;
}

@media (max-width: 991px) {
  .case-hero-shot {
    max-height: min(420px, 46vh);
  }

  .kineticare-hero-overlay {
    background: linear-gradient(
      180deg,
      rgba(8, 18, 32, .92) 0%,
      rgba(8, 18, 32, .74) 46%,
      rgba(8, 18, 32, .42) 100%
    );
  }
}

.case-facts-section {
  padding-top: 20px;
}

.case-motion-rail {
  display: none !important;
}

.work-title-heading,
h2.work-title-heading {
  font-size: 22px;
  line-height: 1.2;
}

.section-title {
  font-size: clamp(28px, 3vw, 32px);
  line-height: 1.15;
}

.home-banner-text {
  max-width: 46ch;
}

@media (max-width: 991px) {
  .nav-menu.w-nav-menu {
    background: #fff;
  }

  .hero-proof {
    max-width: none;
    margin-top: 20px;
    margin-bottom: 8px;
  }
}

/* Locked header (design.md): one sticky white bar owns brand, breadcrumb,
 * LinkedIn and the Motion control. 64px desktop, 56px compact, 1px #e6e8e9.
 * The old 57px breadcrumb strip under the nav is gone. */
.navbar {
  position: sticky;
  top: 0;
  z-index: 90;
  border-bottom: 1px solid #e6e8e9;
  background: #fff;
  padding: env(safe-area-inset-top) 0 0;
}

.navbar .nav-wrap,
.navbar .nav-wrap.dark {
  min-height: 64px;
  align-items: center;
  gap: 8px clamp(12px, 2vw, 24px);
  justify-content: flex-start;
  margin: 0;
  padding: 0;
}

.navbar .nav-link,
.navbar .nav-link.white {
  margin: 0;
  border-radius: 8px;
  padding: 10px 12px;
  color: #111;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.35;
}

.navbar .nav-link.white:hover,
.navbar .nav-link.white.w--current,
.navbar .nav-link.w--current {
  background: rgb(17 17 17 / 6%);
  color: #111;
}

.navbar .nav-cta {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  gap: 9px;
}

body.home .navbar {
  position: relative;
  z-index: 6;
  border-bottom: 0;
  background: transparent;
}

.nav-breadcrumb {
  min-width: 0;
  flex: 0 1 auto;
}

.nav-breadcrumb ol {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
  color: #555b5e;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.35;
}

.nav-breadcrumb li {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  gap: 8px;
}

.nav-breadcrumb li + li::before {
  content: "/";
  color: #92979a;
}

.nav-breadcrumb a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  border-radius: 6px;
  color: #292d2f;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.nav-breadcrumb [aria-current="page"] {
  overflow: hidden;
  max-width: 32ch;
  color: #111;
  font-weight: 650;
  text-overflow: ellipsis;
  white-space: nowrap;
}

@media (min-width: 992px) {
  .navbar .nav-menu,
  .navbar .nav-menu.grey {
    display: flex;
    align-items: center;
    margin-left: auto;
  }

  .navbar .nav-menu-area {
    display: flex;
    align-items: center;
    gap: 18px;
  }
}

@media (max-width: 991px) {
  .navbar {
    padding: env(safe-area-inset-top) 0 0;
  }

  .navbar .nav-wrap,
  .navbar .nav-wrap.dark {
    min-height: 56px;
  }

  .navbar .menu-button {
    margin-left: auto;
  }

  .nav-breadcrumb [aria-current="page"] {
    max-width: min(38vw, 24ch);
  }
}

/* Kineticare case header: the existing hand-rehabilitation video is the only
 * header media; text sits on the dark field at full measure. */
.kineticare-hero {
  min-height: min(72vh, 720px);
}

@media (min-width: 992px) {
  .kineticare-hero .banner-wrap {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Selected work: 12-column 7/5 rhythm (Vercel-style mixed spans, Funnel + Inter).
 * Tops align on a real grid; 4:5 covers make the wider card taller — no empty
 * stagger column and no margin-top hole. Hover scale stays on media; title
 * color never jumps. */
@media (min-width: 992px) {
  .work-grid,
  .home-work-wrap.work-grid,
  .work-section .w-dyn-items.work-grid {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    align-items: start;
    gap: 48px 28px;
  }

  .home-work-wrap.work-grid > .home-work-card-wrap,
  .work-section .w-dyn-items.work-grid > .work-collection-item {
    width: auto;
    min-width: 0;
    max-width: none;
    margin-top: 0;
    padding: 0;
  }

  .home-work-wrap.work-grid > .home-work-card-wrap:nth-child(odd),
  .work-section .w-dyn-items.work-grid > .work-collection-item:nth-child(odd) {
    grid-column: span 7;
  }

  .home-work-wrap.work-grid > .home-work-card-wrap:nth-child(even),
  .work-section .w-dyn-items.work-grid > .work-collection-item:nth-child(even) {
    grid-column: span 5;
  }

  .home-work-card-wrap,
  .home-work-card-wrap.top-space {
    display: block;
    width: 100%;
    max-width: none;
    margin-top: 0;
  }

  .home-work-card-wrap .work-card,
  .work-section .work-card {
    margin-bottom: 0;
  }
}

.work-title,
.work-card:hover .work-title,
.work-title:hover,
.work-title:focus-visible {
  color: var(--ink);
}

@media (max-width: 991px) {
  .work-grid,
  .home-work-wrap.work-grid,
  .work-section .w-dyn-items.work-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
    gap: 28px;
  }

  .home-work-wrap.work-grid > .home-work-card-wrap,
  .work-section .w-dyn-items.work-grid > .work-collection-item {
    grid-column: auto;
    width: auto;
    min-width: 0;
    margin: 0;
  }

  .home-work-wrap.work-grid .work-card,
  .work-section .work-card {
    margin-bottom: 0;
  }
}

@media (max-width: 599px) {
  .work-grid,
  .home-work-wrap.work-grid,
  .work-section .w-dyn-items.work-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 36px;
  }
}

/* Home mast (C): analog lilac grain + large navy félkör. Not a footer clone.
 * Type sits on the pale band. Empty right is mesh, never a product screenshot.
 * Selected work (E): compact rows, 84px thumbs, hairlines. */
.home-mast,
.home-banner-wrap.home-mast {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  width: 100%;
  min-height: min(100svh, 920px);
  margin-top: -64px;
  padding-top: 64px;
  background:
    radial-gradient(78% 92% at 76% 108%, #0a1628 0 36%, transparent 70%),
    radial-gradient(62% 74% at 86% 118%, #0a1628 0 30%, transparent 76%),
    #d6d4ed;
}

.home-mast-mesh {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.home-mast-art {
  display: block;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  filter: none;
}

.home-mast-mesh::before,
.home-mast-mesh::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.home-mast-mesh::before {
  opacity: .4;
  mix-blend-mode: multiply;
  filter: contrast(1.55);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='140' height='140'><filter id='g'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' seed='11' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.28 0 0 0 0 0.28 0 0 0 0 0.28 0 0 0 0.92 0'/></filter><rect width='100%' height='100%' filter='url(%23g)'/></svg>");
  background-size: 140px 140px;
}

.home-mast-mesh::after {
  opacity: .32;
  mix-blend-mode: screen;
  filter: contrast(1.45);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='110' height='110'><filter id='g'><feTurbulence type='fractalNoise' baseFrequency='1.05' numOctaves='3' seed='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.82 0 0 0 0 0.82 0 0 0 0 0.82 0 0 0 0.88 0'/></filter><rect width='100%' height='100%' filter='url(%23g)'/></svg>");
  background-size: 110px 110px;
}

.home-mast .home-banner-section,
.home-mast .home-banner-section.raiffeisen-header-black {
  position: relative;
  z-index: 1;
  background: transparent;
  padding: clamp(28px, 5vw, 56px) 0 clamp(72px, 9vw, 120px);
}

.home-mast .home-banner-area,
.home-mast .banner-left-wrap,
.home-mast .banner-left-wrap.black {
  display: block;
  width: 100%;
  max-width: 40rem;
}

.home-mast .hero-kicker {
  color: var(--mast-muted);
}

.home-mast .home-banner-content-wrap {
  margin-top: 28px;
}

.work-list {
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: 0;
  border-top: 1px solid rgb(17 17 17 / 12%);
}

.work-row {
  display: grid;
  grid-template-columns: 84px minmax(0, 1fr) auto;
  gap: 12px 20px;
  align-items: center;
  position: relative;
  min-height: 72px;
  padding: 14px 0;
  border-bottom: 1px solid rgb(17 17 17 / 12%);
}

.work-row-thumb {
  display: block;
  width: 84px;
  height: 84px;
  object-fit: cover;
  object-position: center;
  border-radius: 8px;
  background: #ececec;
}

.work-row-copy {
  min-width: 0;
}

.work-row .work-title-heading {
  margin: 0;
}

.work-row .work-card-summary {
  max-width: 62ch;
  margin: 4px 0 0;
}

.work-row-arrow {
  color: var(--ink);
  font-size: 20px;
  line-height: 1;
  opacity: .72;
}

.work-row:focus-within {
  border-radius: 8px;
  outline: 3px solid var(--site-focus);
  outline-offset: 4px;
}

.work-row:focus-within .work-title {
  outline: none !important;
}

@media (min-width: 992px) {
  /* C mast: role on lilac, highlights on the navy félkör. Do not stack the
   * list down onto About to dodge contrast, and do not shrink the dome. */
  .home-mast .home-banner-area {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
    grid-template-rows: auto;
    align-items: start;
    gap: 16px 48px;
    max-width: none;
  }

  .home-mast .home-banner-area > .banner-left-wrap,
  .home-mast .banner-left-wrap.black {
    grid-column: 1;
    grid-row: 1;
    max-width: none;
  }

  .home-mast .home-banner-area > .home-banner-content-wrap {
    grid-column: 2;
    grid-row: 1;
    /* Sit on the félkör, not the lilac crown. Do not drop this onto About. */
    margin-top: clamp(88px, 10vw, 148px);
    color: var(--mast-on-navy);
  }

  .home-mast .home-banner-content-wrap,
  .home-mast .home-banner-content-wrap .metric-context,
  .home-mast .home-banner-outcomes,
  .home-mast .home-banner-outcomes li,
  .home-mast .home-banner-outcomes strong {
    color: var(--mast-on-navy);
  }

  .home-mast .home-banner-outcomes {
    border-top-color: rgb(244 245 247 / 48%);
  }
}

@media (max-width: 991px) {
  /* NavyFlood: drop the desktop CSS navy radials and keep type on lilac.
   * Extra bottom pad gives the félkör a place to sit under the highlights. */
  .home-mast,
  .home-banner-wrap.home-mast {
    margin-top: -56px;
    padding-top: 56px;
    min-height: min(100svh, 820px);
    background: #d6d4ed;
  }

  .home-mast::after {
    content: "";
    position: absolute;
    inset: auto 0 0 0;
    height: 16%;
    z-index: 0;
    pointer-events: none;
    background: radial-gradient(120% 90% at 70% 110%, #0a1628 0 50%, transparent 76%);
    -webkit-mask-image: linear-gradient(to bottom, transparent, #000 55%);
    mask-image: linear-gradient(to bottom, transparent, #000 55%);
  }

  .home-mast .home-banner-section,
  .home-mast .home-banner-section.raiffeisen-header-black {
    padding-bottom: min(62vw, 360px);
  }

  /* GrainWash: compact highlights label is 13px on lilac grain — 62% --muted
   * fails AA. Solid charcoal, same token as the kicker. */
  .home-mast .metric-context,
  .home-mast .home-banner-content-wrap .metric-context {
    color: var(--mast-muted);
  }

  .home-mast-navy {
    -webkit-mask-image: linear-gradient(to bottom, transparent 88%, #000 97%);
    mask-image: linear-gradient(to bottom, transparent 88%, #000 97%);
    -webkit-mask-size: 100% 100%;
    mask-size: 100% 100%;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
  }

  body.home .navbar .nav-menu-area {
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
  }

  body.home .navbar .nav-cta {
    padding: 8px 4px 4px;
  }

  .work-row {
    grid-template-columns: 72px minmax(0, 1fr) auto;
    gap: 10px 14px;
  }

  .work-row-thumb {
    width: 72px;
    height: 72px;
  }
}

/* Footer CTAs: matching outlined rounded squares. Mail opens via assign on click. */
