/* GENERATED by build-home.py; edit the named source files, then rebuild. */
/* SOURCE: play-circle.css */
/* Narrix.studio — one brand treatment for our play circles, including TV.
   Change the background-color below to recolor every site-owned play circle. */
.narrix-play-circle {
  border: 1px solid rgba(255, 255, 255, .72);
  border-radius: 50%;
  background-color: #185aa5;
  color: #fff;
  box-shadow: 0 8px 32px rgba(0, 0, 0, .4);
}
.case-video-poster:hover .narrix-play-circle,
.case-video-poster:focus-visible .narrix-play-circle,
.tv-open:hover .narrix-play-circle,
.tv-open:focus .narrix-play-circle,
button.narrix-play-circle:hover,
button.narrix-play-circle:focus-visible {
  border-color: #fff;
  box-shadow: 0 0 0 4px rgba(255, 255, 255, .18), 0 10px 34px rgba(0, 0, 0, .55);
}

/* SOURCE: fonts.css */
/* Same Manrope and Sora faces as the source master; served locally. */
/* cyrillic-ext */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url(/assets/fonts/manrope-de37de877dc1.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url(/assets/fonts/manrope-c268b459a932.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* greek */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url(/assets/fonts/manrope-2fb2e8cbfd52.woff2) format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
/* vietnamese */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url(/assets/fonts/manrope-6bbb044ab420.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url(/assets/fonts/manrope-3911b66d9f2e.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url(/assets/fonts/manrope-a30ddcd34970.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* cyrillic-ext */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/manrope-de37de877dc1.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/manrope-c268b459a932.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* greek */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/manrope-2fb2e8cbfd52.woff2) format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
/* vietnamese */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/manrope-6bbb044ab420.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/manrope-3911b66d9f2e.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/manrope-a30ddcd34970.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* cyrillic-ext */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/assets/fonts/manrope-de37de877dc1.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/assets/fonts/manrope-c268b459a932.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* greek */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/assets/fonts/manrope-2fb2e8cbfd52.woff2) format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
/* vietnamese */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/assets/fonts/manrope-6bbb044ab420.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/assets/fonts/manrope-3911b66d9f2e.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/assets/fonts/manrope-a30ddcd34970.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* cyrillic-ext */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/assets/fonts/manrope-de37de877dc1.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/assets/fonts/manrope-c268b459a932.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* greek */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/assets/fonts/manrope-2fb2e8cbfd52.woff2) format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
/* vietnamese */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/assets/fonts/manrope-6bbb044ab420.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/assets/fonts/manrope-3911b66d9f2e.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/assets/fonts/manrope-a30ddcd34970.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Sora';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/assets/fonts/sora-08e1ba85bcb5.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Sora';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/assets/fonts/sora-811e11966d29.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Sora';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/assets/fonts/sora-08e1ba85bcb5.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Sora';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/assets/fonts/sora-811e11966d29.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* SOURCE: site.css */
/* Narrix.studio — shared design system */
* {
  box-sizing: border-box;
}

:root {
  --font-body: 'Manrope', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-display: 'Sora', var(--font-body);
  --bg: var(--bg-black);
  --bg-black: #000;
  --bg-elevated: #090b0e;
  --text: #fff;
  --text-soft: #d2d8e0;
  --text-muted: #aab4c3;
  --text-faint: #7a8594;
  --brand: #3b8ceb;
  --brand-hover: #8bc3ff;
  --brand-soft: rgba(59, 140, 235, 0.14);
  --brand-line: rgba(59, 140, 235, 0.46);
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.11);
  --panel: rgba(255, 255, 255, 0.028);
  --panel-strong: rgba(255, 255, 255, 0.045);
  /* Reference: the original homepage offer cards. One shared premium fill. */
  --surface-premium-light: radial-gradient(circle at 84% 18%, rgba(59, 140, 235, 0.14), transparent 36%), linear-gradient(150deg, rgba(59, 140, 235, 0.11), rgba(255, 255, 255, 0.032) 44%, rgba(0, 0, 0, 0.2));
  --surface-premium: var(--surface-premium-light), rgba(255, 255, 255, 0.022);
  /* Sticky stacks and dialogs require an opaque base, so content cannot show through. */
  --surface-premium-solid: var(--surface-premium-light), #060606;
  --shadow-lg: 0 30px 110px rgba(0, 0, 0, 0.78);
  --radius-sm: 10px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --container-wide: 1180px;
  --container-text: 980px;
  --section-space: clamp(68px, 7.2vw, 104px);
  --section-space-compact: clamp(48px, 5vw, 76px);
  --type-label: 0.72rem;
  --type-body: clamp(0.98rem, 1.25vw, 1.08rem);
  --type-lead: clamp(1.08rem, 2vw, 1.42rem);
  --type-heading: clamp(1.9rem, 3.45vw, 3.35rem);
  --motion-fast: 180ms;
  --motion-standard: 220ms;
  --motion-modal: 280ms;
  --ease-standard: ease;
  --ease-cinematic: cubic-bezier(0.2, 0.8, 0.2, 1);
  --z-content: 3;
  --z-player-control: 7;
  --z-topbar: 120;
  --z-modal: 1000;
  color-scheme: dark;
}

html {
  min-width: 320px;
  scroll-behavior: smooth;
  background: var(--bg);
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.modal-open {
  overflow: hidden;
}

img,
svg,
video {
  display: block;
  max-width: 100%;
}

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

button {
  appearance: none;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  cursor: pointer;
}

a:focus-visible,
button:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 4px;
}

[hidden] {
  display: none !important;
}

.text-highlight {
  color: var(--brand);
  font-weight: 700;
  text-shadow: 0 0 30px rgba(2, 76, 160, 0.4);
}

/* Narrix UI primitives — canonical interactive styles
   ui-* classes are the visual source of truth. Repeated class specificity
   safely overrides legacy page-level visual rules while their layout and JS
   hooks remain intact during the regression-tested rollout. */

.modal-inline-link,
.patron-workflow-link,
.ui-inline-link.ui-inline-link.ui-inline-link {
  color: var(--brand);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: rgba(59, 140, 235, 0.48);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
  transition: color 180ms ease, text-decoration-color 180ms ease, text-shadow 180ms ease;
}

.ui-inline-link.ui-inline-link.ui-inline-link {
  border-bottom: 0;
  text-shadow: none;
}

.modal-inline-link:hover,
.modal-inline-link:focus-visible,
.patron-workflow-link:hover,
.patron-workflow-link:focus-visible,
.ui-inline-link.ui-inline-link.ui-inline-link:hover,
.ui-inline-link.ui-inline-link.ui-inline-link:focus-visible {
  color: var(--brand-hover);
  text-decoration-color: currentColor;
  text-shadow: 0 0 18px rgba(59, 140, 235, 0.22);
  outline: none;
}

.ui-inline-link.ui-inline-link.ui-inline-link:hover,
.ui-inline-link.ui-inline-link.ui-inline-link:focus-visible {
  border-bottom-color: transparent;
}

.ui-inline-link.ui-inline-link.ui-inline-link:active {
  color: #fff;
  text-shadow: none;
}

.ui-text-cta.ui-text-cta.ui-text-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 5px 0 7px;
  border: 0;
  border-bottom: 1px solid rgba(59, 140, 235, 0.48);
  border-radius: 0;
  background: transparent;
  color: var(--brand);
  font-family: var(--font-display);
  font-size: clamp(0.76rem, 1vw, 0.88rem);
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: 0.075em;
  text-transform: uppercase;
  box-shadow: none;
  transition: color 180ms ease, border-color 180ms ease, text-shadow 180ms ease, transform 180ms ease;
}

.ui-text-cta.ui-text-cta.ui-text-cta svg {
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  color: currentColor;
  transition: transform 180ms ease;
}

.ui-text-cta.ui-text-cta.ui-text-cta:hover,
.ui-text-cta.ui-text-cta.ui-text-cta:focus-visible {
  border-bottom-color: currentColor;
  background: transparent;
  color: #9acbff;
  text-shadow: 0 0 18px rgba(59, 140, 235, 0.24);
  box-shadow: none;
  outline: none;
  transform: translateY(-1px);
}

.ui-text-cta.ui-text-cta.ui-text-cta:hover svg,
.ui-text-cta.ui-text-cta.ui-text-cta:focus-visible svg {
  color: currentColor;
  transform: translateX(4px);
}

.ui-text-cta.ui-text-cta.ui-text-cta:active {
  color: #fff;
  transform: translateY(0);
}

.ui-text-cta.ui-text-cta.ui-text-cta:active svg {
  transform: translateX(2px);
}

.ui-button.ui-button.ui-button {
  position: relative;
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 24px;
  overflow: visible;
  border: 1px solid rgba(116, 182, 255, 0.82);
  border-radius: 999px;
  background: rgba(59, 140, 235, 0.26);
  color: #fff;
  font-family: var(--font-display);
  font-size: clamp(0.78rem, 1.15vw, 0.92rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.07em;
  text-align: center;
  text-transform: uppercase;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.4), 0 0 30px rgba(59, 140, 235, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  transition: transform 220ms ease, background-color 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.ui-button.ui-button.ui-button::before {
  content: none;
}

.ui-button.ui-button.ui-button::after {
  content: '→';
  position: static;
  color: #fff;
  font-size: 1.18em;
  line-height: 1;
  opacity: 1;
  transform: none;
  transition: transform 220ms ease;
  pointer-events: none;
}

.ui-button.ui-button.ui-button[download]::after {
  content: '↓';
}

.ui-button.ui-button.ui-button > svg {
  display: none;
}

.ui-button.ui-button.ui-button:hover,
.ui-button.ui-button.ui-button:focus-visible {
  border-color: rgba(155, 204, 255, 0.98);
  background: rgba(59, 140, 235, 0.4);
  color: #fff;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.46), 0 0 38px rgba(59, 140, 235, 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.14);
  transform: translateY(-2px);
}

.ui-button.ui-button.ui-button:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 4px;
}

.ui-button.ui-button.ui-button:hover::after,
.ui-button.ui-button.ui-button:focus-visible::after {
  transform: translateX(3px);
}

.ui-button.ui-button.ui-button[download]:hover::after,
.ui-button.ui-button.ui-button[download]:focus-visible::after {
  transform: translateY(3px);
}

.ui-button.ui-button.ui-button:active {
  background: rgba(59, 140, 235, 0.32);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.4), 0 0 24px rgba(59, 140, 235, 0.22);
  transform: translateY(0);
}

.ui-button.ui-button.ui-button:disabled,
.ui-button.ui-button.ui-button[aria-disabled='true'],
.ui-text-cta.ui-text-cta.ui-text-cta:disabled,
.ui-text-cta.ui-text-cta.ui-text-cta[aria-disabled='true'],
.ui-inline-link.ui-inline-link.ui-inline-link[aria-disabled='true'] {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
  text-shadow: none;
  transform: none;
}

@media (max-width: 640px) {
  .ui-text-cta.ui-text-cta.ui-text-cta {
    font-size: 0.74rem;
  }
}

/* Stable early-page animation state */
.reveal-element,
.patron-reveal,
[data-reveal] {
  opacity: 1;
  transform: none;
}

.js .reveal-element,
.js .patron-reveal,
.js [data-reveal] {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 760ms cubic-bezier(0.2, 0.8, 0.2, 1), transform 760ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.js .reveal-element.is-visible,
.js .patron-reveal.is-visible,
.js [data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* One cinematic-focus system; page CSS decides which text consumes --cinema-text. */
[data-cinematic-focus] {
  --cinema-focus: 1;
  --cinema-max-blur: 3.6px;
  --cinema-text: rgb(240 244 249);
  opacity: calc(0.76 + (var(--cinema-focus) * 0.24));
  filter: blur(calc((1 - var(--cinema-focus)) * var(--cinema-max-blur)));
  transform: translate3d(0, calc((1 - var(--cinema-focus)) * 8px), 0) scale(calc(0.992 + (var(--cinema-focus) * 0.008)));
  transform-origin: center;
  transition: opacity 150ms linear, filter 170ms linear, transform 170ms linear;
  will-change: opacity, filter, transform;
  backface-visibility: hidden;
}

/* Inline narrative fragments let adjacent utility links remain fully sharp. */
[data-cinematic-focus].cinematic-focus-inline {
  transform: none;
  transform-origin: initial;
  will-change: opacity, filter;
}

/* Stronger focus only on wide, fine-pointer desktops. The existing compact
   and Firefox safeguards remain intact. JS activates only visible text/cards. */
@media (min-width: 1100px) and (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  html.cinema-desktop-enabled [data-cinematic-focus] {
    filter: none;
    transform: none;
    will-change: auto;
  }
  html.cinema-desktop-enabled [data-cinematic-focus].is-cinema-desktop {
    --cinema-max-blur: 5.2px;
    opacity: calc(0.64 + var(--cinema-focus) * 0.36);
    filter: blur(calc((1 - var(--cinema-focus)) * var(--cinema-max-blur)));
  }
  html.cinema-desktop-enabled [data-cinematic-focus].is-cinema-large,
  html.cinema-desktop-enabled [data-cinematic-focus]:is(:focus-visible, :focus-within) {
    filter: none;
  }
  html.cinema-desktop-enabled [data-cinematic-focus]:is(:focus-visible, :focus-within) {
    opacity: 1;
  }
}

/* One first-paint hero-title entrance for every compatible data-hero-content. */
.js [data-hero-content] > h1 {
  animation: narrix-hero-title-entry 980ms var(--ease-cinematic) both;
}

@keyframes narrix-hero-title-entry {
  0% {
    opacity: 0.76;
    filter: blur(4.2px);
    transform: translate3d(0, 9px, 0);
  }
  100% {
    opacity: 1;
    filter: none;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes narrix-hero-title-entry-mobile {
  0% {
    opacity: 0.86;
    filter: blur(2.2px);
    transform: translate3d(0, 5px, 0);
  }
  100% {
    opacity: 1;
    filter: none;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes narrix-hero-title-entry-firefox {
  0% {
    opacity: 0.84;
  }
  100% {
    opacity: 1;
  }
}

/* Shared, static hero-to-content dissolve. The -2px overlap prevents Safari seams. */
body .module-hero::after,
body .hub-hero::after,
body .patron-hero::after,
body .episode-hook::after {
  bottom: -2px;
  height: clamp(112px, 19vh, 228px);
  background: linear-gradient(180deg, rgba(5, 5, 5, 0) 0%, rgba(5, 5, 5, 0.38) 52%, var(--hero-transition-end, var(--bg)) 100%);
}

body .module-hero::after {
  --hero-transition-end: #000;
}

body .patron-hero::after {
  --hero-transition-end: var(--patron-bg, var(--bg));
}

/* Hub thumbnails: selection copy and layout never move; only the image breathes. */
body .hub-episode-row[href]:hover,
body .hub-episode-row[href]:focus-visible {
  transform: none;
}

body .hub-episode-row[href]:hover .hub-episode-arrow,
body .hub-episode-row[href]:focus-visible .hub-episode-arrow {
  transform: none;
}

body .hub-episode-poster img {
  transition: none;
}

body .hub-episode-poster::after {
  opacity: 0.36;
  transition: none;
}

@media (hover: none), (pointer: coarse) {
  body.page-hub .hub-episode-row[href] .hub-episode-poster img {
    opacity: 0.8;
    filter: saturate(0.84) contrast(1.06);
    transform: none;
  }
}

@media (hover: hover) and (pointer: fine) {
  body .hub-episode-poster img {
    transition: opacity 420ms ease, filter 420ms ease, transform 680ms var(--ease-cinematic);
  }

  body .hub-episode-poster::after {
    background: radial-gradient(circle at 72% 20%, rgba(59, 140, 235, 0.25), transparent 42%), linear-gradient(135deg, rgba(59, 140, 235, 0.1), transparent 58%);
    transition: opacity 420ms ease;
  }

  body .hub-episode-row[href]:hover .hub-episode-poster img,
  body .hub-episode-row[href]:focus-visible .hub-episode-poster img {
    opacity: 1;
    filter: saturate(0.9) contrast(1.12) brightness(1.025);
    transform: scale(1.032);
  }

  body .hub-episode-row[href]:hover .hub-episode-poster::after,
  body .hub-episode-row[href]:focus-visible .hub-episode-poster::after {
    opacity: 1;
  }
}

/* Shared utility topbars */
.hub-topbar,
.patron-topbar {
  position: fixed;
  inset: 0 0 auto;
  z-index: var(--z-topbar);
  display: flex;
  min-height: 92px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px max(22px, calc((100vw - var(--container-wide)) / 2));
  pointer-events: none;
}

.hub-topbar::after,
.patron-topbar::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  border-bottom: 1px solid transparent;
  background: linear-gradient(180deg, rgba(5, 5, 5, 0.66), rgba(5, 5, 5, 0));
  transition: background-color 220ms ease, border-color 220ms ease, backdrop-filter 220ms ease;
}

.hub-topbar.is-scrolled::after,
.patron-topbar.is-scrolled::after {
  border-bottom-color: rgba(255, 255, 255, 0.06);
  background: rgba(5, 5, 5, 0.82);
  -webkit-backdrop-filter: blur(18px) saturate(1.05);
  backdrop-filter: blur(18px) saturate(1.05);
}

.hub-brand,
.hub-language,
.patron-brand,
.patron-download {
  pointer-events: auto;
}

.hub-brand,
.patron-brand {
  position: relative;
  display: inline-flex;
  width: 132px;
  min-height: 52px;
  align-items: center;
}

.hub-brand img,
.patron-brand img {
  width: 132px;
  height: auto;
  filter: drop-shadow(0 0 20px rgba(59, 140, 235, 0.2));
}

.patron-brand-fallback {
  font-family: var(--font-display);
  font-size: 0.86rem;
  line-height: 0.86;
  letter-spacing: -0.04em;
}

.patron-brand-fallback strong,
.patron-brand-fallback span {
  display: block;
}

.hub-language {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.035);
  color: rgba(255, 255, 255, 0.58);
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.hub-language a {
  transition: color 180ms ease;
}

.hub-language a:hover,
.hub-language .is-active {
  color: #fff;
}

/* Shared corner frame */
.hero-ui-frame,
.hub-frame,
.patron-frame {
  position: absolute;
  inset: 20px;
  z-index: 3;
  opacity: 0.8;
  pointer-events: none;
}

.corner,
.hub-corner,
.patron-corner {
  position: absolute;
  width: 20px;
  height: 20px;
  border-color: rgba(255, 255, 255, 0.38);
  border-style: solid;
}

.tl,
.hub-corner--tl,
.patron-corner--tl { inset: 0 auto auto 0; border-width: 1px 0 0 1px; }
.tr,
.hub-corner--tr,
.patron-corner--tr { inset: 0 0 auto auto; border-width: 1px 1px 0 0; }
.bl,
.hub-corner--bl,
.patron-corner--bl { inset: auto auto 0 0; border-width: 0 0 1px 1px; }
.br,
.hub-corner--br,
.patron-corner--br { inset: auto 0 0 auto; border-width: 0 1px 1px 0; }

/* Shared scroll cue */
.hero-scroll-cue,
.hub-scroll-cue,
.patron-scroll-cue {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  opacity: 0.72;
  transition: opacity 180ms ease, transform 180ms ease;
}

.hero-scroll-cue:hover,
.hub-scroll-cue:hover,
.patron-scroll-cue:hover {
  opacity: 1;
  transform: translateY(3px);
}

.hero-scroll-cue.is-dismissed,
.hub-scroll-cue.is-dismissed,
.patron-scroll-cue.is-dismissed {
  opacity: 0;
  pointer-events: none;
}

.hero-scroll-cue__mouse,
.hub-scroll-mouse,
.patron-scroll-mouse {
  position: relative;
  width: 23px;
  height: 36px;
  border: 1px solid rgba(255, 255, 255, 0.56);
  border-radius: 999px;
}

.hero-scroll-cue__wheel,
.hub-scroll-mouse span,
.patron-scroll-mouse span {
  position: absolute;
  top: 7px;
  left: 50%;
  width: 3px;
  height: 7px;
  border-radius: 99px;
  background: var(--brand);
  transform: translateX(-50%);
  animation: narrix-wheel 1.9s ease-in-out infinite;
}

@keyframes narrix-wheel {
  0% { opacity: 0; transform: translate(-50%, 0); }
  26%, 75% { opacity: 1; }
  100% { opacity: 0; transform: translate(-50%, 13px); }
}

/* Shared centred section heading */
.main-section-header,
.hub-section-heading {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: min(calc(100% - 40px), var(--container-wide));
  margin: 0 auto clamp(34px, 5vw, 62px);
  text-align: center;
}

.main-section-header::before,
.hub-section-heading::before {
  content: '';
  display: block;
  width: 38px;
  height: 2px;
  margin: 0 auto 18px;
  border-radius: 999px;
  background: var(--brand);
  box-shadow: 0 0 18px rgba(59, 140, 235, 0.62);
}

.main-section-title,
.hub-section-heading h2 {
  margin: 0;
  color: #eff4fa;
  font-family: var(--font-display);
  font-size: var(--type-heading);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.04em;
  text-align: center;
  text-wrap: balance;
}

.hub-heading-line {
  display: none !important;
}

/* One accessible modal shell */
.modal-overlay[hidden],
.modal-content[hidden] {
  display: none;
}

.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: var(--z-modal);
  display: grid;
  place-items: center;
  padding: 24px;
  overflow-y: auto;
  background: rgba(0, 0, 0, 0.84);
  -webkit-backdrop-filter: blur(15px);
  backdrop-filter: blur(15px);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--motion-modal) var(--ease-standard);
}

.modal-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.modal-content {
  position: relative;
  width: min(880px, 100%);
  max-height: calc(100svh - 48px);
  overflow-y: auto;
  padding: clamp(54px, 7vw, 76px) clamp(26px, 6vw, 64px) 38px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  background: var(--surface-premium-solid);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  outline: none;
  text-align: center;
  transform: translateY(12px) scale(0.98);
  transition: opacity var(--motion-modal) var(--ease-standard), transform var(--motion-modal) var(--ease-cinematic);
}

.modal-overlay.open .modal-content.is-active {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.modal-close-x {
  position: absolute;
  top: 18px;
  right: 18px;
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.72);
  transition: color 180ms ease, transform 180ms ease;
}

.modal-close-x:hover,
.modal-close-x:focus-visible {
  color: #fff;
  outline: none;
  transform: rotate(3deg);
}

.modal-close-x svg {
  width: 22px;
  height: 22px;
}

.modal-eyebrow {
  margin: 0 0 14px;
  color: #91a0b3;
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

.modal-title {
  margin: 0 0 34px;
  color: #eff4fa;
  font-family: var(--font-display);
  font-size: var(--type-heading);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.modal-text {
  width: 100%;
  margin-inline: auto;
  color: var(--text-soft);
  font-size: var(--type-body);
  font-weight: 300;
  line-height: 1.72;
  text-align: left;
}

.modal-text p,
.modal-text ul,
.modal-text li {
  text-align: left;
}

.modal-text p {
  margin: 0 0 20px;
}

.modal-text strong {
  color: #fff;
  font-weight: 700;
}

.modal-fkf-nav-label {
  margin: 34px 0 18px;
  color: var(--text-faint);
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-align: center;
  text-transform: uppercase;
}

.modal-fkf-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  width: 100%;
  margin-inline: auto;
}

.modal-service-actions {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  width: min(100%, 760px);
}

.modal-fkf-actions--single,
.modal-tutorial-actions {
  grid-template-columns: minmax(0, 340px);
  justify-content: center;
}

.modal-tutorial-actions {
  margin-top: 24px;
}

.modal-fkf-action {
  position: relative;
  display: flex;
  min-height: 56px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 44px 15px 16px;
  border: 1px solid rgba(59, 140, 235, 0.58);
  border-radius: var(--radius-md);
  background: rgba(59, 140, 235, 0.1);
  color: #fff;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 0.055em;
  text-align: center;
  text-transform: uppercase;
  transition: transform 180ms ease, border-color 180ms ease, background-color 180ms ease;
}

.modal-offer-option {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
}

.modal-offer-option__label {
  display: block;
  font-weight: 700;
}

.modal-offer-option__meta {
  display: block;
  color: rgba(224, 233, 244, 0.78);
  font-size: 0.88em;
  font-weight: 400;
  letter-spacing: 0.075em;
}

.modal-fkf-action svg {
  position: absolute;
  top: 50%;
  right: 16px;
  width: 18px;
  height: 18px;
  color: var(--brand);
  transform: translateY(-50%);
  transition: color 180ms ease, transform 180ms ease;
}

.modal-fkf-action:hover,
.modal-fkf-action:focus-visible {
  border-color: var(--brand);
  background: rgba(59, 140, 235, 0.26);
  outline: none;
  transform: translateY(-2px);
}

.modal-fkf-action:hover svg,
.modal-fkf-action:focus-visible svg {
  color: #fff;
  transform: translate(3px, -50%);
}

/* Advertising modal: PREMIUM paths stay visually behind the main quote CTA.
   They reuse the established ui-text-cta language: no pill, no filled background. */
#modal-service .modal-fkf-nav-label {
  margin: 30px 0 10px;
  color: rgba(156, 169, 187, 0.58);
}

#modal-service .modal-offer-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(30px, 4vw, 52px);
  width: min(100%, 620px);
  margin-inline: auto;
}

#modal-service .modal-offer-link.ui-text-cta.ui-text-cta.ui-text-cta {
  width: 100%;
  min-height: 0;
  justify-content: center;
  gap: 11px;
  padding: 6px 2px 9px;
  border-bottom-color: rgba(59, 140, 235, 0.28);
  color: rgba(234, 241, 249, 0.84);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.065em;
  text-shadow: none;
}

#modal-service .modal-offer-link .modal-offer-option {
  gap: 1px;
}

#modal-service .modal-offer-link .modal-offer-option__label {
  color: rgba(244, 248, 252, 0.9);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.065em;
}

#modal-service .modal-offer-link .modal-offer-option__meta {
  color: rgba(171, 185, 203, 0.64);
  font-size: 0.63rem;
  font-weight: 400;
  letter-spacing: 0.095em;
}

#modal-service .modal-offer-link.ui-text-cta.ui-text-cta.ui-text-cta svg {
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  color: rgba(116, 182, 255, 0.7);
  opacity: 0.86;
}

#modal-service .modal-offer-link.ui-text-cta.ui-text-cta.ui-text-cta:hover,
#modal-service .modal-offer-link.ui-text-cta.ui-text-cta.ui-text-cta:focus-visible {
  border-bottom-color: rgba(116, 182, 255, 0.86);
  color: #9acbff;
  text-shadow: 0 0 18px rgba(59, 140, 235, 0.18);
  transform: translateY(-1px);
}

#modal-service .modal-offer-link:hover .modal-offer-option__label,
#modal-service .modal-offer-link:focus-visible .modal-offer-option__label {
  color: #fff;
}

#modal-service .modal-offer-link:hover .modal-offer-option__meta,
#modal-service .modal-offer-link:focus-visible .modal-offer-option__meta {
  color: rgba(207, 220, 236, 0.82);
}

.modal-video-embed {
  margin-top: 34px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  aspect-ratio: 16 / 9;
  background: #000;
}

.modal-video-embed iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.close-btn {
  display: inline-block;
  width: auto;
  margin: 30px auto 0;
  padding: 0 0 3px;
  border: 0;
  border-bottom: 1px solid rgba(59, 140, 235, 0.3);
  background: transparent;
  color: var(--brand);
  font-size: 0.8rem;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: 0.08em;
  text-transform: lowercase;
  transition: color 180ms ease, border-color 180ms ease;
}

.close-btn:hover,
.close-btn:focus-visible {
  border-color: var(--brand);
  color: #fff;
  outline: none;
}

/* Shared film outro/footer */
.showreel-heading {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  text-wrap: balance;
}

.footer-outro {
  position: relative;
  display: flex;
  min-height: clamp(620px, 82vh, 900px);
  align-items: center;
  justify-content: center;
  margin-top: 0;
  padding: clamp(90px, 10vh, 136px) 20px clamp(68px, 8vh, 104px);
  overflow: hidden;
  background: #000;
  text-align: center;
  isolation: isolate;
}

.outro-video-bg,
.outro-video-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.outro-video-bg {
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.74;
  filter: saturate(0.86) contrast(1.08) brightness(0.7);
}

.outro-video-overlay {
  z-index: 1;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.28), rgba(0, 0, 0, 0.2) 46%, rgba(0, 0, 0, 0.24)), linear-gradient(90deg, rgba(0, 0, 0, 0.46), rgba(0, 0, 0, 0.06) 50%, rgba(0, 0, 0, 0.46));
}

.footer-outro::before {
  content: '';
  position: absolute;
  inset: 0 0 auto;
  z-index: 2;
  height: clamp(54px, 6vh, 96px);
  background: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, 0.58) 44%, transparent 100%);
  pointer-events: none;
}

.footer-outro-content {
  position: relative;
  z-index: 3;
  width: min(920px, 100%);
  margin: 0 auto;
  text-shadow: 0 16px 42px rgba(0, 0, 0, 0.92);
}

.footer-outro-heading {
  margin: 0 0 30px;
  color: #f4f7fb;
  font-size: clamp(2rem, 5vw, 4.35rem);
  line-height: 0.98;
  letter-spacing: -0.055em;
  text-transform: uppercase;
}

.footer-home-link {
  display: inline-block;
  color: inherit;
  transition: color 220ms ease, text-shadow 220ms ease, transform 180ms ease;
}

.footer-home-link:hover,
.footer-home-link:focus-visible {
  color: var(--brand);
  text-shadow: 0 0 24px rgba(59, 140, 235, 0.22), 0 16px 42px rgba(0, 0, 0, 0.92);
  outline: none;
  transform: translateY(-1px);
}

.footer-cta {
  margin-bottom: 16px;
  color: #d4deeb;
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.footer-email {
  display: inline-block;
  margin-bottom: 38px;
  color: #fff;
  font-size: 1.8rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  transition: color 220ms ease;
}

.footer-email:hover,
.footer-email:focus-visible {
  color: var(--brand);
  outline: none;
}

.footer-socials {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin: -8px 0 34px;
}

.footer-social-link {
  display: inline-flex;
  width: 68px;
  height: 68px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.34);
  color: #fff;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.24);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  transition: transform 220ms ease, border-color 220ms ease, background-color 220ms ease, box-shadow 220ms ease;
}

.footer-social-link:hover,
.footer-social-link:focus-visible {
  border-color: rgba(59, 140, 235, 0.52);
  background: rgba(59, 140, 235, 0.12);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(59, 140, 235, 0.28), 0 0 24px rgba(59, 140, 235, 0.22);
  outline: none;
  transform: translateY(-2px);
}

.footer-social-link--wa:hover,
.footer-social-link--wa:focus-visible {
  border-color: rgba(37, 211, 102, 0.5);
  background: rgba(37, 211, 102, 0.12);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.3), 0 0 24px rgba(37, 211, 102, 0.18);
}

.footer-social-link svg {
  width: 34px;
  height: 34px;
  fill: currentColor;
}

.footer-copy {
  color: rgba(222, 230, 240, 0.78);
  font-size: 0.75rem;
  line-height: 1.65;
  letter-spacing: 0.06em;
}

.footer-policy-link {
  display: inline-block;
  margin-top: 10px;
  color: #8f98a5;
  font-size: 0.68rem;
  letter-spacing: 0.04em;
  transition: color 180ms ease;
}

.footer-policy-link:hover,
.footer-policy-link:focus-visible {
  color: var(--brand);
  outline: none;
}

@media (max-width: 768px) {
  :root {
    --section-space: 58px;
    --section-space-compact: 44px;
  }

  [data-cinematic-focus] {
    --cinema-max-blur: 2.2px;
    opacity: calc(0.84 + (var(--cinema-focus) * 0.16));
    transform: translate3d(0, calc((1 - var(--cinema-focus)) * 5px), 0) scale(calc(0.995 + (var(--cinema-focus) * 0.005)));
  }

  [data-cinematic-focus].cinematic-focus-inline {
    transform: none;
  }

  .js [data-hero-content] > h1 {
    animation-name: narrix-hero-title-entry-mobile;
  }

  body .module-hero::after,
  body .hub-hero::after,
  body .patron-hero::after,
  body .episode-hook::after {
    height: clamp(94px, 16svh, 156px);
  }

  .hub-topbar,
  .patron-topbar {
    min-height: 76px;
    padding: 12px 16px;
  }

  .hub-brand,
  .hub-brand img,
  .patron-brand,
  .patron-brand img {
    width: 108px;
  }

  .hub-language {
    min-height: 38px;
    padding: 7px 12px;
    font-size: 0.68rem;
  }

  .hero-ui-frame,
  .hub-frame,
  .patron-frame {
    inset: 14px;
  }

  .main-section-header,
  .hub-section-heading {
    width: min(calc(100% - 32px), var(--container-wide));
    margin-bottom: 34px;
  }

  .main-section-header::before,
  .hub-section-heading::before {
    width: 32px;
    margin-bottom: 15px;
  }

  .main-section-title,
  .hub-section-heading h2 {
    font-size: clamp(1.78rem, 8vw, 2.45rem);
    line-height: 1.06;
  }

  .modal-overlay {
    align-items: start;
    padding: calc(8px + env(safe-area-inset-top, 0px)) 8px calc(8px + env(safe-area-inset-bottom, 0px));
  }

  .modal-content {
    width: 100%;
    max-height: calc(100svh - 16px - env(safe-area-inset-top, 0px) - env(safe-area-inset-bottom, 0px));
    padding: 54px 20px 28px;
  }

  .modal-close-x {
    position: fixed;
    z-index: 1002;
    top: calc(10px + env(safe-area-inset-top, 0px));
    right: 12px;
    width: 38px;
    height: 38px;
  }

  .modal-fkf-actions,
  .modal-service-actions,
  .modal-fkf-actions--single,
  .modal-tutorial-actions {
    grid-template-columns: 1fr;
    width: 100%;
  }

  .modal-fkf-action {
    min-height: 52px;
    padding: 13px 42px 13px 14px;
    font-size: 0.7rem;
  }

  .footer-outro {
    min-height: 100svh;
    padding: 106px 20px 74px;
  }

  .outro-video-bg {
    opacity: 0.68;
    filter: saturate(0.84) contrast(1.06) brightness(0.66);
  }

  .footer-outro::before {
    height: clamp(58px, 8vh, 90px);
  }

  .footer-outro-heading {
    margin-bottom: 24px;
    font-size: clamp(2.1rem, 11vw, 3.7rem);
  }

  .footer-email {
    font-size: 1.4rem;
  }

  .footer-socials {
    gap: 14px;
    margin: -10px 0 30px;
  }

  .footer-social-link {
    width: 62px;
    height: 62px;
  }

  .footer-social-link svg {
    width: 32px;
    height: 32px;
  }
}

@media (hover: none), (pointer: coarse) {
  .hub-topbar.is-scrolled::after,
  .patron-topbar.is-scrolled::after,
  .footer-social-link {
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  [data-cinematic-focus],
  .js [data-hero-content] > h1,
  .js .reveal-element,
  .js .patron-reveal,
  .js [data-reveal] {
    --cinema-focus: 1 !important;
    opacity: 1 !important;
    filter: none !important;
    transform: none !important;
    animation: none !important;
  }
}

/* Custom-production modal video preview */
.modal-service-preview {
  width: min(100%, 760px);
  margin: 30px auto 4px;
}

.modal-content--fkf .modal-text--fkf-intro {
  color: #e4eaf2;
  font-weight: 600;
}

.modal-content--fkf .modal-text--fkf-intro p:last-child,
.modal-content--fkf .modal-text--fkf-details p:last-child {
  margin-bottom: 0;
}

.modal-content--fkf .modal-service-preview--fkf-story {
  margin-top: 28px;
  margin-bottom: 28px;
}

.modal-service-preview-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: calc(var(--radius-lg) - 4px);
  background:
    radial-gradient(circle at 50% 42%, rgba(59, 140, 235, 0.13), transparent 48%),
    #030405;
  box-shadow: 0 22px 58px rgba(0, 0, 0, 0.48), inset 0 0 0 1px rgba(255, 255, 255, 0.025);
  isolation: isolate;
}

.modal-service-preview-frame::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 2;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.035), transparent 58%, rgba(0, 0, 0, 0.12));
  pointer-events: none;
}

.modal-service-preview-video {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #030405;
  opacity: 0;
  transform: scale(1.012);
  transition: opacity 420ms ease, transform 900ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.modal-service-preview.is-ready .modal-service-preview-video {
  opacity: 1;
  transform: scale(1);
}

.modal-service-preview-loader {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: grid;
  place-items: center;
  background: rgba(3, 4, 5, 0.16);
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease;
}

.modal-service-preview.is-loading .modal-service-preview-loader {
  opacity: 1;
}

.modal-service-preview--spaced {
  margin-bottom: 28px;
}

.modal-service-preview-loader span {
  width: 42px;
  height: 42px;
  border: 2px solid rgba(255, 255, 255, 0.16);
  border-top-color: var(--brand);
  border-radius: 50%;
  box-shadow: 0 0 24px rgba(59, 140, 235, 0.24);
  animation: modalServicePreviewSpin 780ms linear infinite;
}

.modal-service-preview.is-error .modal-service-preview-loader {
  display: none;
}

@keyframes modalServicePreviewSpin {
  to { transform: rotate(360deg); }
}

@media (prefers-reduced-motion: reduce) {
  .modal-service-preview-video {
    transition: opacity 160ms linear;
  }

  .modal-service-preview-loader span {
    animation-duration: 1.4s;
  }
}

@media (max-width: 680px) {
  .modal-service-preview {
    margin-top: 24px;
  }

  .modal-service-preview-frame {
    border-radius: var(--radius-md);
  }

  .modal-service-preview-loader span {
    width: 36px;
    height: 36px;
  }
}


/* FKF modal: load the full YouTube trailer only after an explicit click. */
.modal-fkf-trailer-player,
.media-switcher__player {
  position: absolute;
  inset: 0;
  z-index: 4;
  background: #000;
}

.modal-fkf-trailer-player iframe,
.media-switcher__player iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Shared control for every dynamically mounted privacy-enhanced YouTube player. */
.narrix-youtube-sound-toggle {
  position: absolute;
  z-index: var(--z-player-control);
  bottom: 14px;
  left: 14px;
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  justify-content: center;
  padding: 7px 10px 6px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  background: rgba(7, 10, 14, 0.76);
  color: #fff;
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.055em;
  text-transform: uppercase;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28);
  transition: border-color var(--motion-fast) var(--ease-standard), background-color var(--motion-fast) var(--ease-standard), transform var(--motion-fast) var(--ease-standard);
}

.narrix-youtube-sound-toggle:hover,
.narrix-youtube-sound-toggle:focus-visible {
  border-color: rgba(255, 255, 255, 0.55);
  background: rgba(7, 10, 14, 0.9);
  outline: none;
  transform: translateY(-1px);
}

.narrix-youtube-sound-toggle:active {
  transform: translateY(0);
}

.narrix-youtube-sound-toggle[hidden] {
  display: none !important;
}

.modal-service-preview--fkf-story.is-trailer .modal-service-preview-video,
.modal-service-preview--fkf-story.is-trailer .modal-service-preview-loader {
  visibility: hidden;
}


.modal-fkf-trailer-award {
  width: min(100%, 760px);
  margin: 20px auto 0;
  color: rgba(210, 216, 224, 0.84);
  font-size: 0.88rem;
  font-weight: 400;
  line-height: 1.65;
  text-align: left;
  opacity: 0;
  transform: translateY(5px);
  transition: opacity 220ms ease, transform 220ms ease;
}

.modal-fkf-trailer-award.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.modal-fkf-trailer-award:not([hidden]) + .modal-fkf-trailer-toggle {
  margin-top: 16px;
}

.modal-fkf-trailer-toggle,
.media-switcher__toggle {
  display: flex;
  width: fit-content;
  max-width: 100%;
  align-items: center;
  justify-content: center;
  margin: 11px auto 26px;
  padding: 8px 4px 7px;
  border: 0;
  border-bottom: 1px solid rgba(59, 140, 235, 0.48);
  background: transparent;
  color: #f2f6fb;
  font-family: var(--font-display);
  font-size: 0.76rem;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 0.065em;
  text-align: center;
  text-transform: uppercase;
  transition: color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.modal-fkf-trailer-toggle:hover,
.modal-fkf-trailer-toggle:focus-visible,
.media-switcher__toggle:hover,
.media-switcher__toggle:focus-visible {
  border-color: var(--brand);
  color: #fff;
  outline: none;
  transform: translateY(-1px);
}

.modal-fkf-trailer-toggle[aria-expanded='true'],
.media-switcher__toggle[aria-expanded='true'] {
  margin-bottom: 40px;
  color: var(--text-soft);
  font-size: 0.7rem;
}

.modal-fkf-actions--two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  width: min(100%, 760px);
}

@media (max-width: 680px) {
  .narrix-youtube-sound-toggle {
    bottom: 10px;
    left: 10px;
    min-height: 32px;
    padding: 7px 9px 6px;
    font-size: 0.63rem;
  }

  .modal-fkf-trailer-award {
    margin-top: 17px;
    font-size: 0.82rem;
    line-height: 1.6;
  }

  .modal-fkf-trailer-award:not([hidden]) + .modal-fkf-trailer-toggle {
    margin-top: 13px;
  }

  .modal-fkf-trailer-toggle,
  .media-switcher__toggle {
    margin-bottom: 24px;
    font-size: 0.69rem;
  }

  .modal-fkf-trailer-toggle[aria-expanded='true'],
  .media-switcher__toggle[aria-expanded='true'] {
    margin-bottom: 34px;
  }

  .modal-fkf-actions--two {
    grid-template-columns: 1fr;
    width: 100%;
  }

  #modal-service .modal-offer-links {
    grid-template-columns: 1fr;
    gap: 6px;
    width: min(100%, 296px);
  }

  #modal-service .modal-offer-link.ui-text-cta.ui-text-cta.ui-text-cta {
    padding: 6px 2px 8px;
    font-size: 0.66rem;
  }
}



/* Generic teaser -> YouTube switcher.
   It reuses the established FKF preview/player-control styling; only page layout/state lives here. */
.media-switcher {
  width: min(100%, 760px);
  margin: 24px auto 0;
}

.media-switcher.is-youtube .modal-service-preview-video,
.media-switcher.is-youtube .modal-service-preview-loader {
  visibility: hidden;
}

@media (max-width: 680px) {
  .media-switcher {
    margin-top: 22px;
  }
}

/* Hub and episode outros: legal/privacy links sit near the lower edge without shifting the CTA block. */
.page-hub .footer-outro > .footer-copy,
.page-episode .footer-outro > .footer-copy {
  position: absolute;
  z-index: 3;
  right: 20px;
  bottom: max(24px, calc(env(safe-area-inset-bottom, 0px) + 10px));
  left: 20px;
  margin: 0;
  text-align: center;
  text-shadow: 0 8px 28px rgba(0, 0, 0, 0.9);
}

@media (max-width: 768px) {
  .page-hub .footer-outro > .footer-copy,
  .page-episode .footer-outro > .footer-copy {
    right: 16px;
    bottom: max(18px, calc(env(safe-area-inset-bottom, 0px) + 8px));
    left: 16px;
  }
}

/* Firefox fallback: keep cinematic luminance without rasterising text through blur/scale. */
@supports (-moz-appearance: none) {
  .js [data-hero-content] > h1 {
    animation-name: narrix-hero-title-entry-firefox;
  }

  [data-cinematic-focus] {
    filter: none !important;
    transform: none !important;
    opacity: calc(0.86 + (var(--cinema-focus) * 0.14));
    transition: opacity 160ms linear, border-color 180ms ease, box-shadow 180ms ease;
    will-change: opacity;
    backface-visibility: visible;
  }

  .card-badge {
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
}

/* Shared primary actions: PREMIUM / FKF comparisons, new episodes and trailer.
   Opaque pearl keeps the label legible over moving footage; motion is opt-in. */
.pearl-cta.pearl-cta {
  position: relative;
  isolation: isolate;
  display: inline-flex;
  box-sizing: border-box;
  align-items: center;
  justify-content: center;
  gap: 22px;
  width: fit-content;
  max-width: 100%;
  min-height: 66px;
  margin: 0;
  padding: 10px 12px 10px 26px;
  overflow: hidden;
  border: 1px solid #f5faff;
  border-radius: 999px;
  background: linear-gradient(115deg, #fff 4%, #f0f6ff 56%, #cbdff7);
  color: #102d50;
  font: 700 clamp(.78rem, 1vw, .9rem)/1.45 var(--font-display, 'Sora', sans-serif);
  letter-spacing: .035em;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  text-shadow: none;
  cursor: pointer;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  box-shadow: 0 12px 36px rgba(0, 0, 0, .32), 0 0 28px rgba(89, 164, 255, .18), 0 1px 0 #fff inset;
  transition: transform .24s ease, box-shadow .24s ease;
}
.pearl-cta::before {
  content: '';
  position: absolute;
  z-index: 0;
  inset: -55% auto -55% -65%;
  width: 45%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .85), transparent);
  transform: skewX(-22deg);
  pointer-events: none;
}
.pearl-cta__label { position: relative; z-index: 1; color: inherit; }
.pearl-cta__arrow {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 50%;
  background: linear-gradient(135deg, #2f79cf, #144e96);
  color: #fff;
  box-shadow: 0 3px 9px rgba(18,64,119,.18), 0 1px 0 rgba(255,255,255,.22) inset;
}
.pearl-cta__arrow svg { width: 21px; height: 21px; color: inherit; transition: transform .24s ease; }
.pearl-cta.pearl-cta:focus-visible {
  outline: 3px solid #8dc3ff;
  outline-offset: 5px;
}
:is(.page-offer .offer-contact-cta, .fkf-commercial-actions .text-cta) {
  display: inline-flex;
  box-sizing: border-box;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 48px;
  max-width: 100%;
  margin: 0;
  padding: 10px 0;
  border: 0;
  border-bottom: 1px solid rgba(220,235,255,.5);
  border-radius: 0;
  background: transparent;
  color: #e0ebf8;
  font: 600 clamp(.73rem, .95vw, .83rem)/1.45 var(--font-display, 'Sora', sans-serif);
  letter-spacing: .045em;
  text-transform: uppercase;
  text-align: center;
  text-shadow: 0 2px 12px rgba(0,0,0,.65);
  cursor: pointer;
  touch-action: manipulation;
  transition: color .2s ease, border-color .2s ease;
}
:is(.offer-contact-cta, .text-cta) svg { flex: 0 0 20px; width: 20px; height: 20px; color: inherit; transition: transform .2s ease; }
:is(.page-offer .offer-contact-cta, .fkf-commercial-actions .text-cta):focus-visible { outline: 2px solid #8dc3ff; outline-offset: 5px; color: #fff; }
.page-offer--premium-box .premium-final-actions--footer { gap: 18px 32px; }
@media (hover: hover) and (pointer: fine) {
  .pearl-cta.pearl-cta:hover { transform: translateY(-2px); box-shadow: 0 16px 40px rgba(0,0,0,.36), 0 0 36px rgba(89,164,255,.29), 0 1px 0 #fff inset; }
  .pearl-cta:hover::before { animation: pearl-cta-sheen .7s ease-out both; }
  .pearl-cta:hover .pearl-cta__arrow svg { transform: translateX(2px); }
  :is(.page-offer .offer-contact-cta, .fkf-commercial-actions .text-cta):hover { color: #fff; border-bottom-color: #fff; }
  :is(.offer-contact-cta, .text-cta):hover svg { transform: translateX(3px); }
}
.pearl-cta.pearl-cta:active { transform: translateY(0); box-shadow: 0 6px 18px rgba(0,0,0,.26), 0 0 20px rgba(89,164,255,.2); }
@keyframes pearl-cta-sheen { to { transform: translateX(450%) skewX(-22deg); } }
@media (max-width: 760px) {
  .pearl-cta.pearl-cta { width: min(100%, 390px); min-height: 64px; padding: 10px 10px 10px 18px; gap: 12px; font-size: clamp(.73rem, 2.8vw, .85rem); letter-spacing: .015em; }
  .pearl-cta__label { flex: 1; text-wrap: balance; }
  .pearl-cta__arrow { flex-basis: 38px; width: 38px; height: 38px; }
  .page-offer--premium-box .premium-final-actions--footer { gap: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .pearl-cta.pearl-cta, .pearl-cta::before, .pearl-cta__arrow svg,
  :is(.page-offer .offer-contact-cta, .fkf-commercial-actions .text-cta), :is(.offer-contact-cta, .text-cta) svg { animation: none !important; transition: none !important; transform: none !important; }
}
@media (forced-colors: active) {
  .pearl-cta.pearl-cta { background: ButtonFace; color: ButtonText; border: 2px solid ButtonText; }
  .pearl-cta__arrow { background: ButtonFace; color: ButtonText; border-color: ButtonText; }
  .pearl-cta::before { display: none; }
  :is(.page-offer .offer-contact-cta, .fkf-commercial-actions .text-cta) { color: LinkText; border-color: LinkText; }
}

/* Commercial FKF action groups stay compact on desktop. */
.fkf-commercial-actions.fkf-commercial-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 18px 32px;
  width: 100%;
}
.fkf-commercial-actions > .ui-button { width: auto; max-width: 100%; }
.modal-fkf-trailer-toggle.pearl-cta { display:flex; margin:18px auto 30px; }
.pearl-cta__play { transform:translateX(1px); }
.pearl-cta__back { display:none; }
.pearl-cta[aria-expanded="true"] .pearl-cta__play { display:none; }
.pearl-cta[aria-expanded="true"] .pearl-cta__back { display:block; }
@media (max-width:760px) {
  .fkf-commercial-actions.fkf-commercial-actions { flex-direction:column; gap:14px; }
  .fkf-commercial-actions > .ui-button { width:min(100%,390px); }
  .fkf-commercial-actions > .pearl-cta { width:fit-content; max-width:100%; }
  .modal-fkf-trailer-toggle.pearl-cta { margin:16px auto 26px; }
}

/* Quiet secondary action paired with the commercial pearl CTA. */
.fkf-commercial-actions .text-cta { text-decoration:none; appearance:none; flex:0 1 auto; }

/* Text CTAs reused in the quote, knowledge and brief actions. */
.ui-text-cta.ui-text-cta.ui-text-cta:is(.modal-fkf-action, .patron-conversation, .brief-prompt-download, .action-card) {
  width: fit-content;
  max-width: 100%;
  min-width: 0;
  min-height: 0;
  justify-self: center;
  text-decoration: none;
}
.ui-text-cta.ui-text-cta.ui-text-cta.patron-conversation::after {
  content: none;
}
.ui-text-cta.ui-text-cta.ui-text-cta.modal-fkf-action svg {
  position: static;
  transform: none;
}
.ui-text-cta.ui-text-cta.ui-text-cta.modal-fkf-action:hover svg,
.ui-text-cta.ui-text-cta.ui-text-cta.modal-fkf-action:focus-visible svg {
  transform: translateX(4px);
}
.ui-text-cta.ui-text-cta.ui-text-cta[download]:hover svg,
.ui-text-cta.ui-text-cta.ui-text-cta[download]:focus-visible svg {
  transform: translateY(4px);
}

.brief-pricing-option .ui-text-cta { margin-top: 24px; }
@media (max-width: 700px) {
  .brief-pricing-option .ui-text-cta { margin-top: 20px; }
}

/* Neutral resting state; retain the existing blue text-CTA interaction. */
.ui-text-cta.ui-text-cta.ui-text-cta--neutral {
  color: #fff;
  border-bottom-color: rgba(255, 255, 255, 0.28);
}
.ui-text-cta.ui-text-cta.ui-text-cta--neutral:hover,
.ui-text-cta.ui-text-cta.ui-text-cta--neutral:focus-visible {
  color: #9acbff;
  border-bottom-color: currentColor;
}

/* Contact outro used by Home and About, PL/EN. */
.footer-outro--contact .footer-outro-heading { font-size: clamp(1.6rem, 4.8vw, 4.1rem); line-height: 1.08; }
.footer-outro--contact .footer-contact-action { margin: 0 0 36px; }
.footer-outro--contact .footer-socials { margin-top: 0; }
@media (max-width: 600px) {
  .footer-outro--contact .footer-outro-heading { font-size: clamp(1.3rem, 6.4vw, 2.3rem); }
  .footer-outro--contact .footer-contact-action { margin-bottom: 30px; }
}

/* SOURCE: home.css */
/* Narrix.studio homepage — language switch aligned with subpage UI */
.lang-switch {
  position: absolute;
  top: 40px;
  right: 40px;
  z-index: 100;
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.035);
  color: rgba(255, 255, 255, 0.58);
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.lang-btn {
  color: rgba(255, 255, 255, 0.58);
  transition: color 180ms ease, text-shadow 180ms ease;
}

.lang-btn:hover { color: #fff; }
.lang-btn.active { color: #fff; text-shadow: none; }
.lang-sep { color: rgba(255, 255, 255, 0.22); font-weight: 300; }

.module-hero {
  position: relative;
  display: flex;
  min-height: 100vh;
  min-height: 100svh;
  align-items: center;
  justify-content: center;
  padding: clamp(108px, 14vh, 168px) 20px clamp(72px, 12vh, 118px);
  overflow: hidden;
  background: #000;
  text-align: center;
  isolation: isolate;
}

.hero-video-bg,
.hero-video-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.hero-video-bg {
  z-index: 0;
  object-fit: cover;
  object-position: center;
  opacity: 0.78;
  filter: saturate(0.84) contrast(1.08) brightness(0.74);
}

.hero-video-overlay {
  z-index: 1;
  background: radial-gradient(circle at 50% 36%, rgba(59, 140, 235, 0.1), transparent 46%), linear-gradient(180deg, rgba(5, 5, 5, 0.5), rgba(5, 5, 5, 0.22) 40%, rgba(5, 5, 5, 0.86)), linear-gradient(90deg, rgba(5, 5, 5, 0.44), rgba(5, 5, 5, 0.06) 50%, rgba(5, 5, 5, 0.44));
}

.module-hero::after {
  content: '';
  position: absolute;
  inset: auto 0 -1px;
  z-index: 2;
  height: clamp(68px, 7.5vh, 118px);
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.46) 48%, #000);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 4;
  left: 0;
  width: min(100%, 860px);
  margin-inline: auto;
  text-shadow: 0 16px 42px rgba(0, 0, 0, 0.92);
}

.hero-logo {
  width: 160px;
  height: auto;
  margin: 0 auto 40px;
  filter: drop-shadow(0 0 34px rgba(59, 140, 235, 0.3)) drop-shadow(0 12px 30px rgba(0, 0, 0, 0.72));
}

.hero-title {
  margin: 0 0 25px;
  color: #f2f6fb;
  font-family: var(--font-display);
  font-size: clamp(3rem, 6.4vw, 5.9rem);
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: -0.055em;
  text-transform: uppercase;
  text-wrap: balance;
}

.hero-desc {
  max-width: 720px;
  margin: 0 auto;
  color: #d9e1ec;
  font-size: 1.1rem;
  font-weight: 300;
  line-height: 1.6;
}

.hero-scroll-cue {
  margin-top: clamp(38px, 6vh, 68px);
}

.module-realizacje,
.module-workflow,
.module-credits,
.module-trusted {
  background: #000;
}

.module-realizacje {
  position: relative;
  z-index: 5;
  padding: clamp(26px, 3vw, 48px) clamp(16px, 2vw, 28px) clamp(72px, 7vw, 104px);
}

.realizacje-card {
  position: relative;
  display: flex;
  width: min(100%, 1360px);
  margin-inline: auto;
  padding: 0 clamp(22px, 3vw, 46px) clamp(38px, 4vw, 54px);
  overflow: hidden;
  align-items: center;
  flex-direction: column;
  isolation: isolate;
}

.section-filmstrip-bg {
  position: absolute;
  top: 0;
  left: -5%;
  z-index: 1;
  width: 110%;
  height: clamp(190px, 18vw, 248px);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='150' viewBox='0 0 200 150'%3E%3Crect width='200' height='25' fill='%23111722'/%3E%3Crect y='125' width='200' height='25' fill='%23111722'/%3E%3Cg fill='%233a414b'%3E%3Crect x='10' y='5' width='15' height='15' rx='3'/%3E%3Crect x='40' y='5' width='15' height='15' rx='3'/%3E%3Crect x='70' y='5' width='15' height='15' rx='3'/%3E%3Crect x='100' y='5' width='15' height='15' rx='3'/%3E%3Crect x='130' y='5' width='15' height='15' rx='3'/%3E%3Crect x='160' y='5' width='15' height='15' rx='3'/%3E%3Crect x='190' y='5' width='15' height='15' rx='3'/%3E%3Crect x='10' y='130' width='15' height='15' rx='3'/%3E%3Crect x='40' y='130' width='15' height='15' rx='3'/%3E%3Crect x='70' y='130' width='15' height='15' rx='3'/%3E%3Crect x='100' y='130' width='15' height='15' rx='3'/%3E%3Crect x='130' y='130' width='15' height='15' rx='3'/%3E%3Crect x='160' y='130' width='15' height='15' rx='3'/%3E%3Crect x='190' y='130' width='15' height='15' rx='3'/%3E%3C/g%3E%3Cline x1='0' y1='25' x2='200' y2='25' stroke='%23586a86' stroke-width='2.6'/%3E%3Cline x1='0' y1='125' x2='200' y2='125' stroke='%23586a86' stroke-width='2.6'/%3E%3Crect x='10' y='35' width='180' height='80' fill='%23060b14' fill-opacity='0.18' stroke='%234e5f78' stroke-width='1.4'/%3E%3C/svg%3E");
  background-repeat: repeat-x;
  background-size: auto 100%;
  filter: contrast(1.76) brightness(1.48) saturate(0.96) drop-shadow(0 18px 30px rgba(0, 0, 0, 0.28));
  transform: rotate(-1.15deg);
  pointer-events: none;
  animation: home-filmstrip 45s linear infinite;
  animation-delay: var(--loop-delay-45, -12000ms);
}

@keyframes home-filmstrip {
  to { background-position-x: -1200px; }
}

.offer-filmstrip-heading {
  position: relative;
  z-index: 12;
  display: flex;
  min-height: clamp(190px, 18vw, 248px);
  align-items: center;
  justify-content: center;
  padding: clamp(28px, 4vw, 52px) 20px;
  text-align: center;
}

.offer-filmstrip-heading .main-section-title {
  width: 100%;
  margin: 0;
  color: #f2f6fb;
  font-size: clamp(2.25rem, 4.2vw, 4.25rem);
  line-height: 1.02;
  letter-spacing: -0.045em;
  text-shadow: 0 12px 38px rgba(0, 0, 0, 0.92), 0 0 22px rgba(59, 140, 235, 0.12);
}

.hub-cards-menu {
  position: relative;
  z-index: 14;
  display: grid;
  width: min(100%, var(--container-wide));
  margin: clamp(28px, 3.5vw, 48px) auto 0;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 1.7vw, 22px);
  align-items: stretch;
}

.video-card {
  position: relative;
  display: flex;
  min-height: clamp(220px, 20vw, 260px);
  width: 100%;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  background: var(--surface-premium);
  text-align: left;
  transition: transform 350ms cubic-bezier(0.2, 0.8, 0.2, 1), border-color 350ms ease, box-shadow 350ms ease;
}

.video-card-content {
  position: relative;
  z-index: 2;
  display: flex;
  width: 100%;
  min-height: 100%;
  align-items: flex-start;
  justify-content: flex-end;
  padding: 28px;
  flex-direction: column;
}

.card-badge {
  display: inline-flex;
  margin-bottom: 12px;
  padding: 4px 10px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.1);
  color: #d8dde5;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
}

.free-badge {
  border: 1px solid rgba(59, 140, 235, 0.3);
  background: rgba(59, 140, 235, 0.2);
  color: var(--brand);
}

.ghost-title {
  display: block;
  margin-bottom: 10px;
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.25;
}

.ghost-desc {
  display: block;
  max-width: 32ch;
  margin: 0 0 14px;
  color: var(--text-muted);
  font-size: 0.92rem;
  font-weight: 300;
  line-height: 1.6;
}

.card-action {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  padding-top: 14px;
}

.ghost-sub {
  display: inline-block;
  padding-bottom: 2px;
  border-bottom: 1px solid rgba(59, 140, 235, 0.3);
  color: var(--brand);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: lowercase;
}

.card-action svg {
  width: 16px;
  height: 16px;
  color: var(--brand);
  transition: transform 180ms ease;
}

.video-card:hover,
.video-card:focus-visible {
  border-color: rgba(59, 140, 235, 0.4);
  outline: none;
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5), 0 0 20px rgba(59, 140, 235, 0.15);
}

.video-card:hover .card-action svg,
.video-card:focus-visible .card-action svg {
  transform: translateX(3px);
}

.module-workflow {
  position: relative;
  z-index: 5;
  padding: clamp(18px, 2.2vw, 34px) 20px 18px;
}

/* Keep the full WORKFLOW heading visible after cross-page anchor navigation. */
#workflowTitle {
  scroll-margin-top: clamp(96px, 11vh, 136px);
}

.module-workflow > .main-section-header {
  margin-bottom: clamp(54px, 7vw, 82px);
}

.timeline-container {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
}

.line-wrapper {
  position: absolute;
  top: 0;
  left: 50%;
  z-index: 1;
  width: 2px;
  transform: translateX(-50%);
}

.line-bg,
.line-progress {
  position: absolute;
  inset: 0;
}

.line-bg {
  background: var(--line);
}

.line-progress {
  background: #024ca0;
  box-shadow: 0 0 15px #024ca0, 0 0 30px #024ca0;
  transform: scaleY(0);
  transform-origin: top;
  will-change: transform;
}

.timeline-node {
  position: relative;
  z-index: 10;
  display: flex;
  width: 50%;
  padding-bottom: 102px;
}

.timeline-node:nth-of-type(odd) {
  left: 0;
  justify-content: flex-end;
  padding-right: 60px;
  text-align: right;
}

.timeline-node:nth-of-type(even) {
  left: 50%;
  justify-content: flex-start;
  padding-left: 60px;
  text-align: left;
}

.timeline-node:last-child {
  padding-bottom: 58px;
}

.node-icon {
  position: absolute;
  top: 0;
  z-index: 20;
  display: flex;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--brand);
  border-radius: 50%;
  background: #000;
  transition: transform 300ms ease, border-color 300ms ease, background-color 300ms ease, box-shadow 300ms ease;
}

.timeline-node:nth-of-type(odd) .node-icon { right: -22px; }
.timeline-node:nth-of-type(even) .node-icon { left: -22px; }

.node-icon svg {
  width: 20px;
  height: 20px;
  color: var(--brand);
  transition: color 300ms ease;
}

.node-content {
  position: relative;
  top: -5px;
  width: 100%;
  padding: 30px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 8px;
  background: var(--surface-premium);
  opacity: 0.62;
  transform: translateY(8px);
  transition: opacity 420ms ease, transform 420ms ease, border-color 300ms ease, background-color 300ms ease, box-shadow 300ms ease;
}

.node-content h3 {
  margin: 0 0 15px;
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.3;
}

.node-content p {
  margin: 0;
  color: var(--text-soft);
  font-size: 0.95rem;
  font-weight: 300;
  line-height: 1.7;
}

.timeline-node.active .node-icon {
  border-color: #fff;
  background: var(--brand);
  box-shadow: 0 0 24px rgba(59, 140, 235, 0.5);
  transform: scale(1.08);
}

.timeline-node.active .node-icon svg { color: #fff; }
.timeline-node.active .node-content {
  border-color: rgba(59, 140, 235, 0.28);
  background: rgba(59, 140, 235, 0.07);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.28), 0 0 24px rgba(59, 140, 235, 0.08);
  opacity: 1;
  transform: translateY(0);
}

.module-credits {
  position: relative;
  display: flex;
  min-height: 0;
  align-items: center;
  justify-content: center;
  padding: 32px 20px 14px;
}

#creditsFade {
  width: min(100%, 1180px);
  margin-inline: auto;
}

#creditsFade > .main-section-header {
  width: 100%;
  margin-bottom: clamp(28px, 4vw, 44px);
}

.credits-copy {
  width: 100%;
  max-width: 880px;
  margin: 0 auto;
}

.credits-copy p {
  margin: 0;
  color: var(--cinema-text, #f0f4fa);
  font-family: var(--font-display);
  font-size: clamp(1.18rem, 2.2vw, 1.7rem);
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: -0.035em;
  text-align: center;
  text-wrap: balance;
  transition: color 160ms linear;
}

@media (max-width: 980px) {
  .hub-cards-menu {
    width: min(100%, 620px);
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .lang-switch {
    top: 20px;
    right: 20px;
    gap: 10px;
    padding: 6px 12px;
    font-size: 0.75rem;
  }

  .module-hero {
    min-height: 100svh;
    padding: 106px 20px 64px;
  }

  .hero-video-bg {
    opacity: 0.76;
    filter: saturate(0.82) contrast(1.06) brightness(0.72);
  }

  .module-hero::after {
    height: clamp(58px, 7vh, 92px);
  }

  .hero-content {
    left: -2px;
    width: 100%;
  }

  .hero-title {
    font-size: clamp(2.65rem, 11.5vw, 4.25rem);
    line-height: 1;
  }

  .module-realizacje {
    padding: 20px 16px 70px;
  }

  .realizacje-card {
    padding: 0 18px 34px;
  }

  .section-filmstrip-bg {
    left: -8%;
    width: 116%;
    height: 154px;
    transform: rotate(-0.8deg);
  }

  .offer-filmstrip-heading {
    min-height: 154px;
    padding: 24px 12px;
  }

  .offer-filmstrip-heading .main-section-title {
    font-size: clamp(1.9rem, 9vw, 2.65rem);
    line-height: 1.04;
  }

  .hub-cards-menu {
    width: 100%;
    margin-top: 28px;
    gap: 16px;
  }

  .video-card {
    min-height: 198px;
  }

  .video-card-content {
    padding: 22px;
  }

  .ghost-title { font-size: 1.2rem; }
  .ghost-desc { margin-bottom: 12px; font-size: 0.88rem; }

  .module-workflow {
    padding: 14px 20px 24px;
  }

  .module-workflow > .main-section-header {
    margin-bottom: 52px;
  }

  .timeline-container {
    width: 100%;
  }

  .line-wrapper {
    left: 30px;
    transform: none;
  }

  .timeline-node,
  .timeline-node:nth-of-type(odd),
  .timeline-node:nth-of-type(even) {
    left: 0;
    width: 100%;
    justify-content: flex-start;
    padding: 0 0 80px 80px;
    text-align: left;
  }

  .timeline-node:last-child {
    padding-bottom: 64px;
  }

  .timeline-node:nth-of-type(odd) .node-icon,
  .timeline-node:nth-of-type(even) .node-icon {
    left: 8px;
    right: auto;
  }

  .node-content {
    width: 100%;
    padding: 24px;
  }

  .node-content h3 {
    font-size: 1.05rem;
  }

  .module-credits {
    padding: 22px 20px 8px;
  }

  .credits-copy p {
    font-size: 1.05rem;
    line-height: 1.56;
  }

}


/* Home outro: legal/privacy links sit near the lower edge without shifting the CTA block. */
.page-home .footer-outro > .footer-copy {
  position: absolute;
  z-index: 3;
  right: 20px;
  bottom: max(24px, calc(env(safe-area-inset-bottom, 0px) + 10px));
  left: 20px;
  margin: 0;
  text-align: center;
  text-shadow: 0 8px 28px rgba(0, 0, 0, 0.9);
}

@media (max-width: 768px) {
  .page-home .footer-outro > .footer-copy {
    right: 16px;
    bottom: max(18px, calc(env(safe-area-inset-bottom, 0px) + 8px));
    left: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .section-filmstrip-bg {
    animation: none !important;
  }

}

/* Shared HOME credit hand-off. The link itself uses the canonical ui-text-cta. */
.credits-more-wrap {
  display: flex;
  justify-content: center;
  margin-top: clamp(22px, 2vw, 28px);
}

/* About pages reuse the HOME card system; keep their PL/EN related block here. */
.page-offer.page-home .tutorial-related {
  position: relative;
  z-index: 8;
  padding: clamp(42px, 4.5vw, 66px) clamp(16px, 2vw, 28px) clamp(70px, 7vw, 104px);
  background: #000;
}

.page-offer.page-home .tutorial-related-inner {
  width: min(100%, var(--container-wide));
  margin: 0 auto;
}

.page-offer.page-home .tutorial-related-title {
  margin: 0 0 20px;
  color: var(--text-faint);
  font-family: var(--font-display);
  font-size: var(--type-label);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.18em;
  text-align: center;
  text-transform: uppercase;
}

.page-offer.page-home .tutorial-related .tutorial-related-cards {
  width: 100%;
  max-width: var(--container-wide);
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 0;
}

@media (max-width: 980px) {
  .page-offer.page-home .tutorial-related-inner {
    width: min(100%, 620px);
  }

  .page-offer.page-home .tutorial-related .tutorial-related-cards {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .page-offer.page-home .tutorial-related {
    padding-top: 36px;
    padding-bottom: 72px;
  }

  .page-offer.page-home .tutorial-related-title {
    margin-bottom: 18px;
    font-size: 0.7rem;
  }
}

.home-quick-links {
  margin: clamp(18px, 2.2vw, 28px) auto 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: clamp(0.82rem, 1vw, 0.95rem);
  line-height: 1.8;
  text-align: center;
}


/* SOURCE: consent.css */
.narrix-consent-panel {
  position: fixed;
  z-index: 5000;
  left: 50%;
  bottom: max(18px, env(safe-area-inset-bottom, 0px));
  width: min(980px, calc(100% - 36px));
  max-height: calc(100svh - 36px);
  overflow: auto;
  padding: 20px 22px;
  color: #f1f5fb;
  background: rgba(5, 9, 14, 0.97);
  border: 1px solid rgba(53, 133, 224, 0.42);
  border-radius: 18px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.58), inset 0 1px 0 rgba(255, 255, 255, 0.04);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  opacity: 0;
  transform: translate3d(-50%, 16px, 0);
  transition: opacity 180ms ease, transform 220ms ease;
}

.narrix-consent-panel[hidden],
.narrix-consent-panel [hidden] {
  display: none;
}

/* The dialog makes background controls inert. Do not let its inactive banner
   obscure the dialog; restore it with the same consent state when it closes. */
body.modal-open .narrix-consent-panel {
  visibility: hidden;
}

.narrix-consent-panel.is-visible {
  opacity: 1;
  transform: translate3d(-50%, 0, 0);
}

.narrix-consent-copy {
  margin-bottom: 16px;
}

.narrix-consent-copy h2 {
  margin: 0 0 7px;
  color: #fff;
  font: 700 clamp(1rem, 1.7vw, 1.18rem)/1.2 "Sora", "Manrope", system-ui, sans-serif;
  letter-spacing: -0.02em;
}

.narrix-consent-copy p {
  margin: 0;
  max-width: 820px;
  color: rgba(233, 239, 247, 0.76);
  font: 400 0.82rem/1.55 "Manrope", system-ui, sans-serif;
}

.narrix-consent-copy a {
  color: #5ea5f5;
  text-decoration: none;
  white-space: nowrap;
}

.narrix-consent-copy a:hover,
.narrix-consent-copy a:focus-visible {
  text-decoration: underline;
}

.narrix-consent-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(132px, auto));
  justify-content: end;
  gap: 10px;
}

.narrix-consent-actions--details {
  grid-template-columns: repeat(2, minmax(138px, auto));
  margin-top: 16px;
}

.narrix-consent-button {
  min-height: 44px;
  padding: 10px 17px;
  border-radius: 999px;
  font: 700 0.7rem/1 "Manrope", system-ui, sans-serif;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: border-color 160ms ease, background 160ms ease, color 160ms ease, transform 160ms ease;
}

.narrix-consent-button:hover {
  transform: translateY(-1px);
}

.narrix-consent-button:focus-visible,
.narrix-consent-settings-link:focus-visible,
.narrix-consent-category:focus-within {
  outline: 2px solid #6cb1ff;
  outline-offset: 3px;
}

.narrix-consent-button--primary {
  color: #fff;
  background: #2374cc;
  border: 1px solid #3389e8;
}

.narrix-consent-button--primary:hover {
  background: #2f83dc;
}

.narrix-consent-button--secondary {
  color: rgba(242, 247, 253, 0.86);
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.narrix-consent-button--secondary:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.42);
}

.narrix-consent-details {
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  padding-top: 15px;
}

.narrix-consent-categories {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.narrix-consent-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 92px;
  padding: 14px 15px;
  color: #eef4fb;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
}

label.narrix-consent-category {
  cursor: pointer;
}

.narrix-consent-category strong,
.narrix-consent-category span {
  display: block;
}

.narrix-consent-category strong {
  margin-bottom: 4px;
  font: 700 0.78rem/1.2 "Manrope", system-ui, sans-serif;
}

.narrix-consent-category span {
  color: rgba(233, 239, 247, 0.64);
  font: 400 0.68rem/1.45 "Manrope", system-ui, sans-serif;
}

.narrix-consent-category input[type="checkbox"] {
  width: 42px;
  height: 23px;
  margin: 0;
  flex: 0 0 auto;
  appearance: none;
  -webkit-appearance: none;
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  cursor: pointer;
  transition: background 160ms ease, border-color 160ms ease;
}

.narrix-consent-category input[type="checkbox"]::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.84);
  transition: transform 160ms ease, background 160ms ease;
}

.narrix-consent-category input[type="checkbox"]:checked {
  background: #2374cc;
  border-color: #3389e8;
}

.narrix-consent-category input[type="checkbox"]:checked::after {
  transform: translateX(19px);
  background: #fff;
}

.narrix-consent-always {
  flex: 0 0 auto;
  color: rgba(106, 179, 255, 0.88) !important;
  font-weight: 700 !important;
  white-space: nowrap;
}

.narrix-consent-settings-link {
  display: inline;
  margin: 0;
  padding: 0;
  color: inherit;
  background: none;
  border: 0;
  font: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
  opacity: 0.78;
  cursor: pointer;
}

.narrix-consent-settings-link:hover {
  opacity: 1;
}

.narrix-consent-settings-link--offer {
  position: absolute;
  z-index: 3;
  left: 50%;
  bottom: 48px;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.58);
  font: 600 0.62rem/1.4 "Manrope", system-ui, sans-serif;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  white-space: nowrap;
}

.narrix-consent-settings-link--policy {
  display: block;
  margin: 14px auto 0;
  color: currentColor;
  font-size: 0.78rem;
  text-align: center;
}

.narrix-consent-settings-link--floating {
  position: fixed;
  z-index: 1300;
  left: 14px;
  bottom: max(12px, env(safe-area-inset-bottom, 0px));
  padding: 7px 10px;
  color: rgba(235, 242, 250, 0.7);
  background: rgba(5, 9, 14, 0.76);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  font: 600 0.62rem/1 "Manrope", system-ui, sans-serif;
  text-decoration: none;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

@media (max-width: 820px) {
  .narrix-consent-categories {
    grid-template-columns: 1fr;
  }

  .narrix-consent-category {
    min-height: 0;
  }
}

@media (max-width: 760px) {
  .narrix-consent-panel {
    width: calc(100% - 20px);
    max-height: calc(100dvh - 20px);
    overflow: auto;
    padding: 18px;
    border-radius: 16px;
  }

  .narrix-consent-copy p {
    font-size: 0.78rem;
  }

  .narrix-consent-actions {
    grid-template-columns: 1fr 1fr;
  }

  .narrix-consent-actions > .narrix-consent-button--primary {
    grid-column: 1 / -1;
  }

  .narrix-consent-actions--details {
    grid-template-columns: 1fr 1fr;
  }

  .narrix-consent-actions--details > .narrix-consent-button--primary {
    grid-column: auto;
  }

  .narrix-consent-button {
    min-width: 0;
    padding-inline: 12px;
  }

  .narrix-consent-settings-link--offer {
    bottom: 42px;
  }
}

@media (max-width: 430px) {
  .narrix-consent-actions,
  .narrix-consent-actions--details {
    grid-template-columns: 1fr;
  }

  .narrix-consent-actions > .narrix-consent-button--primary,
  .narrix-consent-actions--details > .narrix-consent-button--primary {
    grid-column: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  .narrix-consent-panel,
  .narrix-consent-button,
  .narrix-consent-category input[type="checkbox"],
  .narrix-consent-category input[type="checkbox"]::after {
    transition: none;
  }
}

/* SOURCE: global-menu.css */
/* Narrix.studio global menu — shared floating topbar / Safari edge guard 2026-09-07 */
:root {
  --narrix-menu-bg: rgba(2, 2, 3, 0.965);
  --narrix-menu-line: rgba(255, 255, 255, 0.10);
  --narrix-menu-muted: rgba(255, 255, 255, 0.42);
  --narrix-menu-blue: var(--brand, #3b8ceb);
  --narrix-menu-edge: max(22px, calc((100vw - 1180px) / 2));
  --narrix-topbar-brand-width: 132px;
  --narrix-topbar-lens-blur: 14px;
  --narrix-topbar-lens-tail: 60px;
  --narrix-topbar-lens-guard: 32px;
}

html.narrix-menu-lock,
body.narrix-menu-open {
  overflow: hidden;
}

.narrix-menu-toggle {
  position: relative;
  z-index: 330;
  display: inline-flex;
  width: 52px;
  height: 52px;
  flex: 0 0 52px;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #fff;
  cursor: pointer;
  pointer-events: auto;
  -webkit-tap-highlight-color: transparent;
}

.narrix-menu-toggle::before {
  content: '';
  position: absolute;
  inset: 4px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: inherit;
  background: rgba(255,255,255,.025);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  opacity: .82;
  transition: border-color 180ms ease, background-color 180ms ease, box-shadow 180ms ease;
}

.narrix-menu-toggle:hover::before,
.narrix-menu-toggle:focus-visible::before,
.narrix-menu-toggle[aria-expanded='true']::before {
  border-color: rgba(59,140,235,.42);
  background: rgba(59,140,235,.07);
  box-shadow: 0 0 26px rgba(59,140,235,.10);
}

.narrix-menu-toggle:focus-visible {
  outline: 2px solid rgba(59,140,235,.72);
  outline-offset: 3px;
}

.narrix-menu-toggle__icon {
  position: relative;
  z-index: 1;
  display: block;
  width: 22px;
  height: 16px;
}

.narrix-menu-toggle__line {
  position: absolute;
  left: 0;
  width: 22px;
  height: 1px;
  background: currentColor;
  transform-origin: center;
  transition: top 220ms ease, transform 220ms ease, opacity 160ms ease, color 180ms ease;
}
.narrix-menu-toggle__line:nth-child(1) { top: 1px; }
.narrix-menu-toggle__line:nth-child(2) { top: 7px; }
.narrix-menu-toggle__line:nth-child(3) { top: 13px; }

.narrix-menu-toggle:hover .narrix-menu-toggle__line,
.narrix-menu-toggle:focus-visible .narrix-menu-toggle__line { color: #9acbff; }

.narrix-menu-toggle[aria-expanded='true'] .narrix-menu-toggle__line:nth-child(1) {
  top: 7px;
  transform: rotate(45deg);
}
.narrix-menu-toggle[aria-expanded='true'] .narrix-menu-toggle__line:nth-child(2) {
  opacity: 0;
}
.narrix-menu-toggle[aria-expanded='true'] .narrix-menu-toggle__line:nth-child(3) {
  top: 7px;
  transform: rotate(-45deg);
}

/* Compatibility for pages predating the shared topbar markup. */
.page-home > .lang-switch {
  position: fixed;
  top: 29px;
  right: calc(var(--narrix-menu-edge) + 62px);
  left: auto;
  z-index: 330;
}

.narrix-menu-toggle--standalone {
  position: fixed;
  top: 20px;
  right: var(--narrix-menu-edge);
}

/* One transparent topbar. Only its backdrop is blurred; controls stay sharp.
   The same lens is used before and after scrolling, without a rectangular fill. */
body .hub-topbar,
body .patron-topbar {
  min-height: 92px;
  padding: 18px var(--narrix-menu-edge);
  gap: 10px;
  line-height: 1.6;
  border: 0;
  background: transparent;
  box-shadow: none;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  overflow: visible;
  pointer-events: none;
}

body .hub-topbar::after,
body .patron-topbar::after,
body .hub-topbar.is-scrolled::after,
body .patron-topbar.is-scrolled::after,
body.page-product-specification .hub-topbar::after {
  content: '';
  position: absolute;
  /* Extra offscreen coverage for Safari's scrolling backdrop. Keep this on
     the lens only: moving/transforming the header would affect its controls.
     For each old gradient stop p, add (1 - p) * guard so its visible position
     stays unchanged when the surface grows upwards. */
  inset: calc(-32px - var(--narrix-topbar-lens-guard)) 0 calc(-1 * var(--narrix-topbar-lens-tail));
  z-index: -1;
  border: 0;
  border-radius: 0;
  background: linear-gradient(180deg,
    rgba(5, 5, 5, .24) var(--narrix-topbar-lens-guard),
    rgba(5, 5, 5, .08) calc(65% + .35 * var(--narrix-topbar-lens-guard)),
    transparent);
  box-shadow: none;
  -webkit-backdrop-filter: blur(var(--narrix-topbar-lens-blur)) saturate(1.04);
  backdrop-filter: blur(var(--narrix-topbar-lens-blur)) saturate(1.04);
  -webkit-mask-image: linear-gradient(180deg,
    #000 0%, #000 calc(28% + .72 * var(--narrix-topbar-lens-guard)),
    rgba(0, 0, 0, .72) calc(52% + .48 * var(--narrix-topbar-lens-guard)),
    rgba(0, 0, 0, .22) calc(76% + .24 * var(--narrix-topbar-lens-guard)),
    transparent 100%);
  mask-image: linear-gradient(180deg,
    #000 0%, #000 calc(28% + .72 * var(--narrix-topbar-lens-guard)),
    rgba(0, 0, 0, .72) calc(52% + .48 * var(--narrix-topbar-lens-guard)),
    rgba(0, 0, 0, .22) calc(76% + .24 * var(--narrix-topbar-lens-guard)),
    transparent 100%);
  /* Keep the masked backdrop on a stable composited surface during scroll. */
  transform: translate3d(0, 0, 0);
  pointer-events: none;
  transition: none;
}

/* Reserve the same logo slot on home without displaying a second logo. */
.page-home > .home-topbar .home-topbar-spacer {
  visibility: hidden;
  pointer-events: none;
}

body .hub-topbar .hub-brand,
body .patron-topbar .patron-brand {
  width: var(--narrix-topbar-brand-width);
  min-height: 52px;
  flex: 0 0 var(--narrix-topbar-brand-width);
}

body .hub-topbar .hub-brand img,
body .patron-topbar .patron-brand img {
  width: var(--narrix-topbar-brand-width);
  height: auto;
}

body .hub-topbar .hub-language,
body .patron-topbar .hub-language {
  flex-shrink: 0;
}

.hub-language > [aria-hidden='true'] {
  color: rgba(255, 255, 255, .22);
  font-weight: 300;
}

.hub-language [aria-disabled='true'] {
  color: rgba(255, 255, 255, .28);
  cursor: default;
}

/* Subpages: brand left; language + menu on the right. */
.hub-topbar.has-global-menu,
.patron-topbar.has-global-menu {
  justify-content: flex-start;
  gap: 10px;
}

.hub-topbar.has-global-menu .hub-brand,
.patron-topbar.has-global-menu .patron-brand {
  order: 1;
  margin-right: 0;
}

.hub-topbar.has-global-menu .hub-language,
.patron-topbar.has-global-menu .hub-language {
  order: 2;
  margin-left: auto;
  margin-right: 0;
}

.patron-topbar.has-global-menu .patron-download {
  order: 2;
  margin-left: auto;
  margin-right: 0;
}

.hub-topbar.has-global-menu .narrix-menu-toggle,
.patron-topbar.has-global-menu .narrix-menu-toggle {
  order: 3;
}

/* Keep the original PDF link available without JS; with JS it moves into menu. */
.js .patron-topbar > .narrix-menu-download-source {
  display: none;
}

.narrix-menu-panel .narrix-menu-download {
  margin: 24px 0 0 50px;
}

body.narrix-menu-open .hub-topbar,
body.narrix-menu-open .patron-topbar,
body.narrix-menu-open > .lang-switch {
  z-index: 330;
}

.narrix-menu-panel {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: grid;
  align-items: center;
  overflow-y: auto;
  overflow-x: hidden;
  padding: max(126px, 13vh) max(28px, calc((100vw - 1180px) / 2)) 72px;
  background: var(--narrix-menu-bg);
  color: #fff;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  -webkit-backdrop-filter: blur(18px) saturate(.92);
  backdrop-filter: blur(18px) saturate(.92);
  transition: opacity 240ms ease, visibility 0s linear 240ms;
}

.narrix-menu-panel::before {
  content: '';
  position: fixed;
  width: min(720px, 74vw);
  aspect-ratio: 1;
  top: -34vw;
  right: -24vw;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(59,140,235,.14) 0%, rgba(59,140,235,.035) 38%, transparent 70%);
  pointer-events: none;
}

.narrix-menu-panel::after {
  content: '';
  position: fixed;
  inset: 20px;
  border: 1px solid rgba(255,255,255,.055);
  pointer-events: none;
}

body.narrix-menu-open .narrix-menu-panel {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition-delay: 0s;
}

.narrix-menu-panel__inner {
  position: relative;
  z-index: 1;
  width: min(100%, 1180px);
  margin: 0 auto;
  transform: translateY(14px);
  opacity: 0;
  transition: transform 260ms ease, opacity 220ms ease;
}

body.narrix-menu-open .narrix-menu-panel__inner {
  transform: translateY(0);
  opacity: 1;
}

.narrix-menu-panel__eyebrow {
  margin: 0 0 clamp(28px, 4vw, 48px);
  color: var(--narrix-menu-muted);
  font-family: var(--font-display, 'Sora', sans-serif);
  font-size: .70rem;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
}

.narrix-menu-list {
  margin: 0;
  padding: 0;
  list-style: none;
  border-bottom: 1px solid var(--narrix-menu-line);
}

.narrix-menu-item {
  border-top: 1px solid var(--narrix-menu-line);
}

.narrix-menu-link {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr) 36px;
  gap: 18px;
  align-items: center;
  min-height: clamp(80px, 10.2vh, 116px);
  padding: 14px 0;
  color: rgba(255,255,255,.90);
  text-decoration: none;
  transition: color 180ms ease;
}

.narrix-menu-link__no {
  color: rgba(255,255,255,.28);
  font-family: var(--font-display, 'Sora', sans-serif);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .12em;
  transition: color 180ms ease, transform 180ms ease;
}

.narrix-menu-link__label {
  font-family: var(--font-display, 'Sora', sans-serif);
  font-size: clamp(1.52rem, 3.15vw, 3.05rem);
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: -.035em;
  text-wrap: balance;
  transition: transform 200ms ease, color 180ms ease, text-shadow 180ms ease;
}

.narrix-menu-link__arrow {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  color: rgba(255,255,255,.34);
  transition: color 180ms ease, transform 200ms ease;
}

.narrix-menu-link__arrow svg {
  width: 26px;
  height: 26px;
}

.narrix-menu-link.is-current-section,
.narrix-menu-link:hover,
.narrix-menu-link:focus-visible {
  color: #fff;
  outline: none;
}

.narrix-menu-link.is-current-section .narrix-menu-link__no,
.narrix-menu-link:hover .narrix-menu-link__no,
.narrix-menu-link:focus-visible .narrix-menu-link__no {
  color: var(--narrix-menu-blue);
  transform: translateX(4px);
}

.narrix-menu-link.is-current-section .narrix-menu-link__label,
.narrix-menu-link:hover .narrix-menu-link__label,
.narrix-menu-link:focus-visible .narrix-menu-link__label {
  color: #f8fbff;
  transform: translateX(8px);
  text-shadow: 0 0 28px rgba(59,140,235,.13);
}

.narrix-menu-link.is-current-section .narrix-menu-link__arrow,
.narrix-menu-link:hover .narrix-menu-link__arrow,
.narrix-menu-link:focus-visible .narrix-menu-link__arrow {
  color: #9acbff;
  transform: translateX(5px);
}

/* Keep the current section identifiable even without hover. */
.narrix-menu-link.is-current-section .narrix-menu-link__label,
.narrix-menu-link.is-current-section .narrix-menu-link__arrow {
  color: var(--narrix-menu-blue);
}

.narrix-menu-panel__note {
  margin: 28px 0 0 76px;
  color: rgba(255,255,255,.28);
  font-size: .72rem;
  line-height: 1.5;
}

@media (max-width: 768px) {
  :root {
    --narrix-menu-edge: 16px;
    --narrix-topbar-brand-width: 108px;
    --narrix-topbar-lens-blur: 8px;
    --narrix-topbar-lens-tail: 42px;
  }

  body .hub-topbar,
  body .patron-topbar {
    min-height: 76px;
    padding: 12px var(--narrix-menu-edge);
    gap: 8px;
  }

  .page-home > .lang-switch {
    top: 20px;
    right: 72px;
    left: auto;
  }

  .narrix-menu-toggle--standalone {
    top: 14px;
    right: 14px;
  }

  .hub-topbar.has-global-menu,
  .patron-topbar.has-global-menu {
    gap: 8px;
  }

  .hub-topbar.has-global-menu .narrix-menu-toggle,
  .patron-topbar.has-global-menu .narrix-menu-toggle {
    width: 46px;
    height: 46px;
    flex-basis: 46px;
  }

  .hub-topbar.has-global-menu .hub-language,
  .patron-topbar.has-global-menu .hub-language {
    margin-left: auto;
  }

  .narrix-menu-panel {
    align-items: start;
    padding: 112px 20px 42px;
  }

  .narrix-menu-panel::after {
    inset: 12px;
  }

  .narrix-menu-panel__eyebrow {
    margin-bottom: 24px;
    font-size: .66rem;
  }

  .narrix-menu-link {
    grid-template-columns: 34px minmax(0,1fr) 24px;
    gap: 10px;
    min-height: 78px;
    padding: 16px 0;
  }

  .narrix-menu-link__no {
    font-size: .62rem;
  }

  .narrix-menu-link__label {
    font-size: clamp(1.24rem, 6.4vw, 1.78rem);
    line-height: 1.08;
  }

  .narrix-menu-link__arrow svg {
    width: 21px;
    height: 21px;
  }

  .narrix-menu-panel__note {
    margin: 22px 0 0 44px;
    font-size: .68rem;
  }

  .narrix-menu-panel .narrix-menu-download {
    margin-left: 44px;
  }
}

@media (max-width: 430px) {
  :root {
    --narrix-topbar-brand-width: 94px;
  }

  .hub-topbar.has-global-menu .hub-brand,
  .hub-topbar.has-global-menu .hub-brand img,
  .patron-topbar.has-global-menu .patron-brand,
  .patron-topbar.has-global-menu .patron-brand img {
    width: 94px;
  }

  .hub-topbar.has-global-menu .hub-language,
  .patron-topbar.has-global-menu .hub-language {
    padding-inline: 10px;
    gap: 8px;
  }

  .narrix-menu-panel {
    padding-top: 98px;
  }
}

/* If masking is unavailable, keep only the soft tint rather than a hard blur edge. */
@supports not ((mask-image: linear-gradient(#000, transparent)) or (-webkit-mask-image: linear-gradient(#000, transparent))) {
  body .hub-topbar::after,
  body .patron-topbar::after,
  body .hub-topbar.is-scrolled::after,
  body .patron-topbar.is-scrolled::after,
  body.page-product-specification .hub-topbar::after {
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
}

@media (prefers-reduced-transparency: reduce) {
  body .hub-topbar::after,
  body .patron-topbar::after,
  body .hub-topbar.is-scrolled::after,
  body .patron-topbar.is-scrolled::after,
  body.page-product-specification .hub-topbar::after {
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .narrix-menu-panel,
  .narrix-menu-panel__inner,
  .narrix-menu-toggle__line,
  .narrix-menu-link__label,
  .narrix-menu-link__no,
  .narrix-menu-link__arrow {
    transition: none !important;
  }
}

/* Menu destinations — existing typography, two clear levels, no new assets. */
.narrix-menu-item--has-children .narrix-menu-link {
  min-height: 60px;
  padding-bottom: 0;
}
.narrix-menu-sublinks {
  display: flex;
  flex-wrap: wrap;
  column-gap: 32px;
  row-gap: 0;
  list-style: none;
  margin: 0 54px 24px 76px;
  padding: 0;
}
.narrix-menu-sublink {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 6px 0;
  color: #d8dee7;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.5;
  text-decoration: underline;
  text-decoration-color: transparent;
  text-underline-offset: 5px;
  text-decoration-thickness: 1px;
}
.narrix-menu-sublink__language {
  margin-left: 7px;
  font-size: .65em;
  font-weight: 600;
  letter-spacing: .08em;
  color: #8ca3bf;
}
.narrix-menu-sublink:focus-visible,
.narrix-menu-link:focus-visible {
  outline: 2px solid var(--narrix-menu-blue);
  outline-offset: 4px;
}
.narrix-menu-sublink:focus-visible {
  color: #9acbff;
  text-decoration-color: currentColor;
}
@media (min-width: 769px) and (hover: hover) and (pointer: fine) {
  .narrix-menu-sublink { transition: color 180ms ease, text-decoration-color 180ms ease; }
  .narrix-menu-sublink:hover { color: #9acbff; text-decoration-color: currentColor; }
}
@media (max-width: 768px) {
  .narrix-menu-item--has-children { --narrix-menu-row-gap: 12px; }
  .narrix-menu-item--has-children .narrix-menu-link { min-height: 0; padding-top: 18px; padding-bottom: 0; }
  .narrix-menu-sublinks {
    margin: var(--narrix-menu-row-gap) 0 28px 44px;
    column-gap: 20px;
    row-gap: var(--narrix-menu-row-gap);
  }
  .narrix-menu-sublinks > li { display: flex; }
  .narrix-menu-sublink { min-height: 0; padding: 0; font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) {
  .narrix-menu-sublink { transition: none; }
}
@media (forced-colors: active) {
  .narrix-menu-sublink { text-decoration-color: LinkText; }
  .narrix-menu-sublink:focus-visible, .narrix-menu-link:focus-visible { outline-color: Highlight; }
}

.narrix-menu-sublink[aria-current] { color: var(--narrix-menu-blue); text-decoration-color: currentColor; }

/* The menu panel receives initial pointer focus; links retain keyboard focus cues. */
.narrix-menu-panel:focus { outline: none; }

/* SOURCE: trusted-logos.css */
/* Shared ZAUFALI NAM component: HOME, About and both PREMIUM pages, PL/EN. */
.module-trusted {
  --trusted-slot-width: clamp(158px, 17vw, 210px);
  --trusted-slot-height: clamp(76px, 8.8vw, 102px);
  --trusted-gap: clamp(18px, 2.4vw, 32px);
  position: relative;
  z-index: 9;
  padding: 52px 0 0;
  overflow: hidden;
}

.trusted-panel { width: min(100%, 1180px); margin: 0 auto; }
.trusted-panel > .main-section-header {
  width: 100%;
  margin-bottom: clamp(24px, 3.5vw, 38px);
}
.trusted-slider {
  width: 100%;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
}
.trusted-track {
  display: flex;
  gap: 0;
  width: max-content;
  animation: none;
  transform: translate3d(0, 0, 0);
}
.trusted-group {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: var(--trusted-gap);
  /* Exactly one gap at the seam, included in the measured border box. */
  padding: 0 var(--trusted-gap) 0 0;
  margin: 0;
  border: 0;
}
.trusted-logo {
  box-sizing: border-box;
  position: relative;
  display: flex;
  flex: 0 0 var(--trusted-slot-width);
  width: var(--trusted-slot-width);
  height: var(--trusted-slot-height);
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.055);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.012);
}
.trusted-logo::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 45%, rgba(255, 255, 255, 0.07), transparent 64%);
  opacity: 0.22;
  pointer-events: none;
}
.trusted-logo img {
  position: relative;
  z-index: 1;
  display: block;
  width: var(--trusted-image-width, 94%);
  height: var(--trusted-image-height, 86%);
  object-fit: contain;
  opacity: var(--trusted-image-opacity, 0.94);
  filter: invert(var(--trusted-image-invert, 0)) drop-shadow(0 10px 24px rgba(0, 0, 0, 0.38)) drop-shadow(0 0 14px rgba(255, 255, 255, 0.06));
}
@media (max-width: 768px) {
  .module-trusted {
    --trusted-slot-width: 156px;
    --trusted-slot-height: 78px;
    --trusted-gap: 18px;
    padding: 30px 0 0;
  }
  .trusted-slider {
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
  }
  .trusted-logo img {
    width: var(--trusted-image-mobile-width, var(--trusted-image-width, 94%));
    height: var(--trusted-image-mobile-height, var(--trusted-image-height, 86%));
  }
}
@media (prefers-reduced-motion: reduce) {
  .trusted-slider {
    overflow-x: auto;
    -webkit-mask-image: none;
    mask-image: none;
  }
  .trusted-group { transform: none !important; will-change: auto !important; }
  .trusted-group[aria-hidden="true"] { display: none; }
}

/* SOURCE: home-sequence.css */
/* Homepage cinema. Native fonts, still thumbnails, no animation libraries. */
.hero-content:has(.hero-sequence) { width: min(100%, 980px); }
.hero-sequence-poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; filter: saturate(.84) contrast(1.08) brightness(.74); opacity: .78; z-index: 0; }
.has-scene-frame .hero-sequence-poster { opacity: 0; }
.hero-video-bg.hero-sequence-background { opacity: 0; }
.has-scene-frame .hero-video-bg.hero-sequence-background { opacity: .78; }
.hero-sequence-fade { position: absolute; inset: 0; z-index: 1; background: #000; opacity: 0; pointer-events: none; }
.hero-sequence-fade.is-closing { transition: opacity 220ms ease-in-out; }
.hero-sequence-fade.is-resting { transition: opacity 350ms ease-in-out; }
.hero-sequence .hero-title { font-size: clamp(3rem, 6.2vw, 5.6rem); }
.hero-sequence .hero-desc { max-width: 760px; }
.hero-sequence .hero-sequence-language { margin-left: 8px; font-size: .7em; opacity: .65; }
.hero-sequence-stage { min-height: 350px; }
.hero-sequence.is-ready .hero-sequence-stage { display: grid; align-items: center; }
.hero-sequence-slide { display: grid; grid-template-rows: 176px 84px 52px; row-gap: 18px; justify-items: center; align-items: center; }
.hero-sequence-slide .hero-title { margin-bottom: 0; }
.hero-sequence-slide .hero-desc { align-self: center; }
.hero-sequence .hero-sequence-slide .hero-sequence-cta { margin-top: 0; }
.hero-sequence.is-ready .hero-sequence-slide { grid-area: 1 / 1; min-width: 0; opacity: 0; visibility: hidden; transform: translateY(8px); pointer-events: none; transition: opacity 350ms ease, transform 450ms ease, visibility 0s linear 450ms; }
.hero-sequence.is-ready .hero-sequence-slide.is-active { opacity: 1; visibility: visible; transform: none; pointer-events: auto; transition-delay: 0s; }
/* A dark chapter deck, with the restrained transport detail of a film player. */
.hero-sequence-controls {
  --deck-accent: #8fc6ff;
  --deck-progress: #3b8ceb;
  position: relative;
  isolation: isolate;
  display: grid; grid-template-columns: minmax(0,1fr) 42px; column-gap: 18px; row-gap: 15px;
  max-width: 760px; margin: 30px auto 0; padding: 16px 18px 15px;
  border: 1px solid rgba(201,219,241,.16); border-radius: 12px;
  /* Match the About / continuous-development card over an opaque film-safe base. */
  background: radial-gradient(circle at 88% 12%, rgba(59,140,235,.11), transparent 34%), linear-gradient(145deg, rgba(255,255,255,.044), rgba(255,255,255,.012)), #080a0d;
  box-shadow: 0 22px 60px rgba(0,0,0,.42), inset 0 1px 0 rgba(255,255,255,.06);
  text-shadow: none; text-align: left;
}
.hero-sequence-controls::before, .hero-sequence-controls::after { content: ''; position: absolute; top: 10px; bottom: 10px; width: 2px; border-radius: 2px; background: linear-gradient(to bottom, transparent, #3b8ceb, transparent); pointer-events: none; }
.hero-sequence-controls::before { left: -1px; opacity: .6; }
.hero-sequence-controls::after { right: -1px; opacity: .28; }
.hero-sequence-controls[hidden], .hero-sequence-play[hidden] { display: none; }
.hero-sequence-deck-head { grid-column: 1 / -1; display: flex; justify-content: space-between; gap: 12px; align-items: center; color: #91a0b2; font: 500 9px/1.2 var(--font-body); letter-spacing: .14em; }
.hero-sequence-deck-title { color: #c3cdd9; letter-spacing: .18em; }
.hero-sequence-transport { display: flex; align-items: center; gap: 8px; }
.hero-sequence-transport i { width: 4px; height: 4px; border-radius: 50%; background: #7b8797; }
.is-playing .hero-sequence-transport i { background: var(--deck-accent); box-shadow: 0 0 7px #8fc6ff88; }
.hero-sequence-time { margin-left: 5px; font: 10px/1 ui-monospace, SFMono-Regular, Consolas, monospace; font-variant-numeric: tabular-nums; letter-spacing: .02em; }
.hero-sequence-format { border: 1px solid #48515e; border-radius: 2px; padding: 2px 3px; font-size: 8px; letter-spacing: .06em; }
.hero-sequence-choices { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 12px; min-width: 0; }
.hero-sequence-choice { position: relative; min-width: 0; padding: 0; border: 0; background: none; color: #a4afbc; font: 500 12px/1.3 var(--font-body); cursor: pointer; text-align: left; transition: color 180ms ease; }
.hero-sequence-thumb { position: relative; display: block; aspect-ratio: 16 / 8; border: 1px solid rgba(255,255,255,.18); border-radius: 4px; overflow: hidden; background: #0c1119; transition: border-color 180ms ease, box-shadow 180ms ease; }
.hero-sequence-thumb::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 20%, #0008); pointer-events: none; }
.hero-sequence-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; opacity: .48; filter: saturate(.45); transition: opacity 200ms ease, filter 200ms ease; }
.hero-sequence-number { position: absolute; z-index: 1; top: 7px; left: 7px; padding: 2px 4px; border-radius: 2px; background: #060a11a6; color: #e8edf4; font: 10px/1.2 ui-monospace, SFMono-Regular, Consolas, monospace; letter-spacing: .05em; }
.hero-sequence-card-play { position: absolute; z-index: 1; bottom: 7px; right: 8px; color: white; font-size: 10px; opacity: 0; transition: opacity 180ms ease; }
.hero-sequence-label { display: block; margin-top: 9px; padding-left: 1px; white-space: nowrap; }
.hero-sequence-choice[aria-pressed="true"] { color: #f5f8fd; }
.hero-sequence-choice[aria-pressed="true"] .hero-sequence-thumb { border-color: var(--deck-accent); box-shadow: 0 0 0 1px #8fc6ff22; }
.hero-sequence-choice[aria-pressed="true"] img { opacity: .95; filter: saturate(.85); }
.hero-sequence-choice[aria-pressed="true"] .hero-sequence-card-play { opacity: 1; }
/* A normalized SVG outline follows the real thumbnail size on desktop and mobile. */
.hero-sequence-progress { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 2; pointer-events: none; fill: none; opacity: 0; }
.hero-sequence-progress rect { x: 2px; y: 2px; width: calc(100% - 4px); height: calc(100% - 4px); stroke: var(--deck-progress); stroke-width: 4px; stroke-dasharray: 100; stroke-dashoffset: calc(100 - var(--scene-progress, 0) * 100); transition: stroke-dashoffset 240ms linear; }
.hero-sequence-choice[aria-pressed="true"] .hero-sequence-progress { opacity: 1; }
.hero-sequence.is-paused .hero-sequence-progress rect { transition: none; }
.hero-sequence-play { align-self: center; display: grid; place-items: center; width: 42px; height: 42px; margin-top: -20px; padding: 11px; cursor: pointer; }
.hero-sequence-play svg { grid-area: 1 / 1; width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.hero-sequence-play-icon { display: none; }
.hero-sequence.is-paused .hero-sequence-pause-icon { display: none; }
.hero-sequence.is-paused .hero-sequence-play-icon { display: block; }
.hero-sequence button:focus-visible { outline: 2px solid #8fc6ff; outline-offset: 5px; border-radius: 4px; }
.hero-sequence + .hero-scroll-cue { margin-top: 22px; }
.hero-sequence [data-hero-announcement] { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
@media (hover: hover) and (pointer: fine) {
  .hero-sequence-choice:hover { color: #fff; }
  .hero-sequence-choice:hover .hero-sequence-thumb { border-color: #a7bed8; }
  .hero-sequence-choice:hover img { opacity: .85; filter: saturate(.85); }
  .hero-sequence-choice:hover .hero-sequence-card-play { opacity: 1; }
}
@media (max-width: 768px) {
  .hero-content:has(.hero-sequence) { left: 0; }
  .hero-content:has(.hero-sequence) .hero-logo { width: 112px; margin-bottom: 26px; }
  .hero-sequence-stage { min-height: 330px; }
  .hero-sequence-slide { grid-template-rows: 112px 140px 52px; row-gap: 16px; }
  .hero-sequence .hero-title { font-size: clamp(2.25rem, 10vw, 4.25rem); line-height: 1.02; margin-bottom: 0; }
  .hero-sequence .hero-desc { font-size: 15px; line-height: 1.55; }
  .hero-sequence .hero-desc br { display: none; }
  .hero-sequence-controls { margin-top: 24px; padding: 13px 12px 12px; column-gap: 9px; row-gap: 12px; grid-template-columns: minmax(0,1fr) 30px; border-radius: 9px; }
  .hero-sequence-deck-head { font-size: 8px; letter-spacing: .07em; }
  .hero-sequence-deck-title { letter-spacing: .08em; }
  .hero-sequence-transport { gap: 5px; }
  .hero-sequence-time { font-size: 9px; margin: 0; }
  .hero-sequence-format { display: none; }
  .hero-sequence-choices { gap: 7px; }
  .hero-sequence-thumb { aspect-ratio: 1.2; }
  .hero-sequence-label { font-size: 10px; letter-spacing: -.02em; margin-top: 7px; }
  .hero-sequence-number { left: 4px; top: 4px; padding: 1px 2px; font-size: 8px; }
  .hero-sequence-play { width: 30px; height: 30px; padding: 6px; }
  .hero-sequence-card-play { bottom: 5px; right: 5px; font-size: 8px; }
}
@media (max-width: 370px) {
  .hero-sequence-deck-title { font-size: 7px; letter-spacing: .02em; }
  .hero-sequence-transport [data-hero-status] { display: none; }
  .hero-sequence-controls { padding-inline: 9px; }
  .hero-sequence-choices { gap: 5px; }
  .hero-sequence-label { font-size: 9px; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-sequence-fade { display: none; }
  .hero-video-bg.hero-sequence-background, .hero-sequence.is-ready .hero-sequence-slide, .hero-sequence button, .hero-sequence-thumb, .hero-sequence-thumb img, .hero-sequence-progress rect { transition: none; }
  .hero-sequence-controls { grid-template-columns: 1fr; }
}
@media (forced-colors: active) {
  .hero-sequence-choice[aria-pressed="true"] { outline: 2px solid Highlight; }
  .hero-sequence button:focus-visible { outline-color: Highlight; }
}

/* The darker ring footage needs a lighter shade; other chapters keep theirs. */
.module-hero.is-bonus-scene .hero-video-overlay { opacity: .65; }

/* SOURCE: contact.css */
/* Footer WhatsApp icon is now a native button opening this contact chooser. */
.footer-social-link[data-modal-target="partner-contact"] {
  -webkit-appearance: none;
  appearance: none;
  box-sizing: border-box;
  padding: 0;
  font: inherit;
  line-height: 1;
  cursor: pointer;
}

/* Contact only. Other dialogs retain their original overlay and appearance. */
.modal-overlay:has(.narrix-contact:not([hidden])) {
  background: transparent;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  padding: max(20px, env(safe-area-inset-top)) max(16px, env(safe-area-inset-right)) max(20px, env(safe-area-inset-bottom)) max(16px, env(safe-area-inset-left));
  align-items: center;
}
#modal-partner-contact.narrix-contact {
  color-scheme: light;
  max-height: calc(100svh - 40px - env(safe-area-inset-top) - env(safe-area-inset-bottom));
  background: #fafbfc;
  border: 1px solid #fff;
  border-radius: 24px;
  box-shadow: 0 24px 64px -20px rgba(0, 0, 0, .5), 0 0 0 1px rgba(23, 42, 64, .12);
  color: #142131;
  text-align: left;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: #a8b3bf #fafbfc;
}
.narrix-contact .nc-close {
  position: absolute;
  top: 16px;
  right: 16px;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid #dce2e8;
  border-radius: 50%;
  color: #4c5b6d;
  background: #fff;
  transition: background 180ms ease, color 180ms ease;
}
.narrix-contact svg { width: 24px; height: 24px; }
.narrix-contact .nc-close svg { width: 19px; height: 19px; }
.narrix-contact .nc-eyebrow {
  margin: 0 40px 24px 0;
  color: #286aba;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .16em;
  line-height: 1.6;
}
.narrix-contact .nc-title {
  margin: 0;
  color: #142131;
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -.055em;
  line-height: 1.18;
}
.narrix-contact .nc-title span { color: #2874cf; }
.narrix-contact .nc-intro { margin: 20px 0 28px; color: #526173; font-size: 15px; line-height: 1.7; }
.narrix-contact .nc-actions { display: grid; gap: 10px; }
.narrix-contact .nc-action {
  display: flex;
  align-items: center;
  min-height: 84px;
  border: 1px solid #dce2e8;
  border-radius: 12px;
  background: #fff;
  color: #142131;
  text-decoration: none;
  transition: border-color 180ms ease, background 180ms ease;
}
.narrix-contact .nc-action--primary { background: #2269bd; color: #fff; border-color: #2269bd; }
.narrix-contact .nc-icon { flex: 0 0 24px; }
.narrix-contact .nc-action-copy { display: grid; min-width: 0; gap: 3px; }
.narrix-contact .nc-action strong { font-weight: 700; line-height: 1.4; }
.narrix-contact .nc-action small { color: #526173; font-size: 12px; line-height: 1.5; }
.narrix-contact .nc-action--primary small { color: #fff; }
.narrix-contact .nc-arrow { margin-left: auto; flex-shrink: 0; transition: transform 180ms ease; }
.narrix-contact .nc-arrow svg { width: 20px; height: 20px; }
.narrix-contact .nc-footer { margin-top: 32px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding-top: 20px; border-top: 1px solid #dce2e8; color: #526173; font-size: 11px; }
.narrix-contact :is(a, button):focus-visible { outline: 3px solid #125ab3; outline-offset: 4px; }
@media (hover: hover) and (pointer: fine) {
  .narrix-contact .nc-close:hover { background: #eaf1f9; color: #142131; }
  .narrix-contact .nc-action:hover { border-color: #2874cf; background: #f0f5fb; }
  .narrix-contact .nc-action--primary:hover { background: #1859a3; border-color: #1859a3; }
  .narrix-contact .nc-action:hover .nc-arrow { transform: translateX(3px); }
}
@media (max-width: 600px) {
  #modal-partner-contact.narrix-contact { border-radius: 20px; }
  .narrix-contact .nc-eyebrow { font-size: 9px; margin-bottom: 24px; }
  .narrix-contact .nc-intro { font-size: 13px; margin: 18px 0 24px; }
  .narrix-contact .nc-action { min-height: 80px; }
  .narrix-contact .nc-action small { font-size: 11px; }
  .narrix-contact .nc-footer { margin-top: 24px; font-size: 10px; gap: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  #modal-partner-contact.narrix-contact, .narrix-contact *, .modal-overlay:has(.narrix-contact:not([hidden])) { transition: none; transform: none; }
}
@media (forced-colors: active) {
  #modal-partner-contact.narrix-contact, .narrix-contact .nc-action, .narrix-contact .nc-close { border: 1px solid CanvasText; }
  .narrix-contact :is(a, button):focus-visible { outline-color: Highlight; }
}

/* FKF footer: shared contact link, original heading and social icons. */
.footer-outro--contact-link .footer-contact-action { margin: 0 0 36px; }
.footer-outro--contact-link .footer-socials { margin-top: 0; }
@media (max-width: 600px) {
  .footer-outro--contact-link .footer-contact-action { margin-bottom: 30px; }
}


/* One shared two-column contact modal, with quiet underline fields. */
#modal-partner-contact.narrix-contact { width: min(1040px, 100%); padding: 48px; overflow-y: auto; }
.narrix-contact .nc-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.narrix-contact .nc-contact-side { min-width: 0; }
.narrix-contact .nc-form-side { min-width: 0; padding-left: 40px; border-left: 1px solid #e2e6eb; display: flex; flex-direction: column; }
.narrix-contact .nc-title { font-size: clamp(30px, 3.5vw, 44px); }
.narrix-contact .nc-actions { margin-top: 28px; }
.narrix-contact .nc-action { padding: 16px; gap: 12px; }
.narrix-contact .nc-action strong { font-size: 14px; }
.narrix-contact .nc-note { color: #526173; font-size: 11px; margin: 28px 0 0; }
.narrix-contact .nc-form { display: grid; gap: 24px; margin: 0; }
.narrix-contact .nc-form[hidden], .narrix-contact .nc-thanks[hidden] { display: none; }
.narrix-contact .nc-form-title { margin: 0 0 8px; color: #142131; font-size: 22px; font-weight: 600; letter-spacing: -.04em; }
.narrix-contact .nc-fields { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 18px; }
.narrix-contact .nc-field { position: relative; display: block; color: #344457; font-size: 13px; font-weight: 400; line-height: 1.5; }
.narrix-contact .nc-field-label { position: absolute; top: 18px; left: 0; max-width: 100%; color: #526173; font-size: 13px; line-height: 1.5; pointer-events: none; transform-origin: left top; transition: transform 160ms ease, color 160ms ease; }
.narrix-contact .nc-field-label small { color: #667587; font-size: 11px; margin-left: 6px; }
.narrix-contact .nc-field :is(input, textarea):focus + .nc-field-label,
.narrix-contact .nc-field :is(input, textarea):not(:placeholder-shown) + .nc-field-label { transform: translateY(-15px) scale(.85); color: #344457; }
.narrix-contact .nc-field input:autofill + .nc-field-label { transform: translateY(-15px) scale(.85); }
.narrix-contact .nc-field input:-webkit-autofill + .nc-field-label { transform: translateY(-15px) scale(.85); }
.narrix-contact .nc-field :is(input, textarea) { box-sizing: border-box; display: block; width: 100%; margin: 0; padding: 26px 0 9px; border: 0; border-bottom: 1px solid #b9c3cf; border-radius: 0; background: transparent; color: #142131; font: inherit; font-size: 16px; font-weight: 400; line-height: 1.5; box-shadow: none; }
.narrix-contact .nc-field textarea { min-height: 122px; resize: vertical; }
.narrix-contact .nc-field ::placeholder { color: #6b7887; opacity: 1; font-size: 13px; }
.narrix-contact .nc-field :is(input, textarea):focus-visible { outline: 2px solid #2269bd; outline-offset: 4px; }
.narrix-contact .nc-privacy { margin: 0; font-size: 10px; line-height: 1.7; color: #526173; }
.narrix-contact .nc-privacy a { color: inherit; text-underline-offset: 3px; }
.narrix-contact .nc-submit { justify-self: end; display: inline-flex; align-items: center; justify-content: center; gap: 18px; min-height: 46px; padding: 12px 18px; border: 0; border-radius: 8px; background: #142131; color: #fff; font: inherit; font-size: 13px; font-weight: 500; cursor: pointer; }
.narrix-contact .nc-submit:hover { background: #2269bd; }
.narrix-contact .nc-submit:disabled { opacity: .65; cursor: wait; }
.narrix-contact .nc-status { margin: 0; color: #9b3232; font-size: 12px; line-height: 1.6; overflow-wrap: anywhere; }
.narrix-contact .nc-status:empty { display: none; }
.narrix-contact .nc-trap { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.narrix-contact .nc-thanks { margin: auto 0; padding: 30px 0; }
.narrix-contact .nc-thanks .nc-submit { display: flex; width: fit-content; max-width: 100%; margin: 28px auto 0; }
.narrix-contact .nc-thanks-mark { color: #2269bd; font-size: 32px; }
.narrix-contact .nc-thanks h3 { font-size: 28px; line-height: 1.2; letter-spacing: -.04em; font-weight: 500; }
.narrix-contact .nc-thanks p { font-size: 14px; color: #526173; line-height: 1.7; margin-bottom: 28px; }
@media (max-width: 760px) {
  #modal-partner-contact.narrix-contact { width: min(540px, 100%); padding: 36px 24px 24px; }
  .narrix-contact .nc-layout { grid-template-columns: 1fr; gap: 30px; }
  .narrix-contact .nc-fields { grid-template-columns: 1fr; gap: 24px; }
  .narrix-contact .nc-form-side { padding: 28px 0 0; border-left: 0; border-top: 1px solid #e2e6eb; }
  .narrix-contact .nc-title { font-size: 30px; }
  .narrix-contact .nc-thanks { padding: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .narrix-contact .nc-field-label { transition: none; }
}

/* SOURCE: case-gallery.css */
/* Narrix — shared gallery: hub, home, and individual cases. */
.case-module {
  position: relative;
  padding: clamp(44px, 5vw, 72px) 0;
  background: var(--bg, #050505);
}

.case-module--showcase { padding-top: 0; background: #000; }

/* Only the case-study hub: make the existing dark layer a little lighter. */
/* Hub only: clearer footage, with a local shadow protecting contact text. */
.page-case-hub .footer-outro .outro-video-overlay { opacity: 0.6; }
.page-case-hub .footer-outro .outro-video-bg {
  opacity: 0.84;
  filter: saturate(0.86) contrast(1.08) brightness(0.82);
}
.page-case-hub .footer-outro .footer-outro-content {
  text-shadow: 0 2px 5px rgba(0, 0, 0, 0.95), 0 8px 28px rgba(0, 0, 0, 0.9);
}
.page-case-hub .footer-outro .footer-copy {
  text-shadow: 0 2px 5px #000, 0 4px 16px #000;
}

.case-module-container {
  width: min(calc(100% - 44px), var(--container-wide, 1180px));
  margin-inline: auto;
}

.case-module-heading {
  margin: 0 0 28px;
  color: var(--text-faint, #7a8594);
  font-family: var(--font-display);
  font-size: var(--type-label, 0.72rem);
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.18em;
  text-align: center;
}

/* Match the existing offer-card title "Reklamy AI i wideo". */
.case-module-heading--showcase {
  margin-bottom: 28px;
  color: #fff;
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: normal;
}

.case-module-all { margin: 12px 0 0; text-align: center; }

/* Match the existing "zobacz więcej" action: underline the label, not the arrow. */
.case-module-all .ui-text-cta.ui-text-cta.ui-text-cta {
  min-height: 44px;
  gap: 8px;
  padding: 0;
  border-bottom: 0;
  color: var(--brand);
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  line-height: 1.6;
  letter-spacing: 0.08em;
  text-transform: lowercase;
}

.case-module-all .ui-text-cta.ui-text-cta.ui-text-cta > span {
  padding-bottom: 2px;
  border-bottom: 1px solid rgba(59, 140, 235, 0.3);
}

.case-module-all .ui-text-cta.ui-text-cta.ui-text-cta svg {
  width: 16px;
  height: 16px;
  flex-basis: 16px;
}

.case-module-all .ui-text-cta.ui-text-cta.ui-text-cta:hover,
.case-module-all .ui-text-cta.ui-text-cta.ui-text-cta:focus-visible {
  color: var(--brand-hover);
}

.case-module-all .ui-text-cta.ui-text-cta.ui-text-cta:hover > span,
.case-module-all .ui-text-cta.ui-text-cta.ui-text-cta:focus-visible > span {
  border-bottom-color: currentColor;
}

.case-gallery {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-auto-rows: clamp(250px, 25vw, 320px);
  gap: 8px;
  padding: 0;
}

.case-tile {
  position: relative;
  display: flex;
  grid-column: span 4;
  min-width: 0;
  align-items: flex-end;
  isolation: isolate;
  overflow: hidden;
  border-radius: var(--radius-md, 12px);
  background: #0c1016;
  color: #fff;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}

.case-tile:nth-child(9n + 1),
.case-tile:nth-child(9n + 7) { grid-column: span 7; }
.case-tile:nth-child(9n + 2),
.case-tile:nth-child(9n + 6) { grid-column: span 5; }
.case-tile:nth-child(9n + 8),
.case-tile:nth-child(9n + 9) { grid-column: span 6; }

/* The same six-card composition on the home page and every individual case. */
@media (min-width: 981px) {
  [data-case-context="showcase"] .case-tile:nth-child(6) { grid-column: 1 / -1; }
}

.case-tile::after {
  content: '';
  position: absolute;
  z-index: 3;
  inset: 0;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: inherit;
  pointer-events: none;
  transition: border-color 240ms ease;
}

.case-tile-visual {
  position: absolute;
  z-index: -2;
  inset: 0;
  overflow: hidden;
  border-radius: inherit;
}

.case-tile-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: translate3d(0, var(--case-drift, 0px), 0) scale(var(--case-zoom, 1.08));
}

.case-tile::before {
  content: '';
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.025) 15%, rgba(0, 0, 0, 0.1) 38%, rgba(0, 0, 0, 0.69) 73%, rgba(0, 0, 0, 0.93) 100%);
  pointer-events: none;
}

/* Existing body typography: calm white labels across every gallery. */
.case-tile-title {
  min-width: 0;
  max-width: 32ch;
  margin: 0;
  padding: clamp(18px, 2vw, 26px);
  color: #fff;
  font-family: var(--font-body);
  font-size: clamp(1rem, 1.3vw, 1.2rem);
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: normal;
  text-wrap: pretty;
  overflow-wrap: break-word;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.45);
  transition: transform 420ms var(--ease-cinematic, ease);
}

/* Opt in only after this gallery's observer has been installed. */
[data-case-gallery-motion] .case-tile {
  transition: opacity 760ms ease, transform 900ms cubic-bezier(0.16, 1, 0.3, 1), clip-path 1000ms cubic-bezier(0.16, 1, 0.3, 1);
}

[data-case-gallery-motion] .case-tile:not(.is-case-visible) {
  opacity: 0;
  transform: translate3d(0, 46px, 0);
  clip-path: inset(8% 0 0 round 12px);
}

[data-case-gallery-motion] .case-tile.is-case-visible {
  opacity: 1;
  transform: none;
  clip-path: inset(0 round 12px);
  transition-delay: var(--case-delay, 0ms);
}

.case-tile:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 5px;
}

.case-tile:focus-visible::after { border-color: var(--brand-hover); }

@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .case-tile-image { transition: transform 900ms cubic-bezier(0.16, 1, 0.3, 1); }
  .case-tile:hover { --case-zoom: 1.13; }
  .case-tile:hover::after { border-color: rgba(139, 195, 255, 0.7); }
  .case-tile:hover .case-tile-title { transform: translate3d(0, -4px, 0); }
}

@media (max-width: 980px) {
  .case-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: clamp(260px, 34vw, 330px);
    gap: 8px;
  }
  .case-gallery .case-tile { grid-column: span 1; }
  .case-gallery .case-tile:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .case-gallery .case-tile-title { padding: 20px; font-size: 1.05rem; }
}

@media (max-width: 700px) {
  .case-module-container { width: calc(100% - 32px); }
}

@media (max-width: 768px) {
  .case-module-heading--showcase { font-size: 1.2rem; }
}

@media (max-width: 600px) {
  .case-gallery {
    grid-template-columns: minmax(0, 1fr);
    grid-auto-rows: auto;
    gap: 8px;
  }
  .case-gallery .case-tile {
    grid-column: 1;
    width: 100%;
    aspect-ratio: 1.3 / 1;
    min-height: 0;
  }
  .case-gallery .case-tile-title { padding: 20px; font-size: 1.05rem; }
}

@media (prefers-reduced-motion: reduce) {
  .case-gallery .case-tile,
  .case-gallery .case-tile-title,
  .case-gallery .case-tile-image {
    opacity: 1 !important;
    transform: none !important;
    clip-path: none !important;
    transition: none !important;
  }
}

@media (forced-colors: active) {
  .case-tile { border: 1px solid CanvasText; }
  .case-tile-title { background: Canvas; color: CanvasText; text-shadow: none; }
}

/* Current case retains its position and image, with no link or preview. */
.case-tile--current { cursor: default; }
.case-tile--current:hover { --case-zoom: 1.08; }
.case-tile--current:hover::after { border-color: rgba(255,255,255,.11); }
.case-tile--current:hover .case-tile-title { transform: none; }
.case-tile-language { font-size: .7em; margin-inline-start: .5em; opacity: .8; }
/* One showcase geometry and motion on home, offer and case pages. */
.case-module--showcase .case-module-container { width: min(1180px, calc(100% - clamp(16px, 2.2vw, 28px) * 2)); }
html:not([data-home-page]) [data-case-context="showcase"] .case-tile-image { transition: transform 650ms cubic-bezier(.22,.7,.22,1); }
html:not([data-home-page]) [data-case-context="showcase"][data-case-gallery-motion] .case-tile { clip-path: none; transition: opacity 500ms ease, transform 650ms cubic-bezier(.22,.7,.22,1); }
html:not([data-home-page]) [data-case-context="showcase"][data-case-gallery-motion] .case-tile:not(.is-case-visible) { transform: translate3d(0,18px,0); }
@media (max-width: 900px) {
  html:not([data-home-page]) [data-case-context="showcase"][data-case-gallery-motion] .case-tile { transform: none; transition: opacity 240ms ease; }
  html:not([data-home-page]) [data-case-context="showcase"] .case-tile-image { transform: none; transition: none; }
}
@media (prefers-reduced-motion: reduce) {
  html:not([data-home-page]) [data-case-context="showcase"] .case-tile,
  html:not([data-home-page]) [data-case-context="showcase"] .case-tile-image { transition: none !important; }
}

/* Desktop labels use the available card width; compact layouts retain their existing limits. */
@media (min-width: 981px) {
  .case-gallery .case-tile-title { max-width: 100%; text-wrap: wrap; }
}

/* SOURCE: competencies.css */
/* Dedicated 350 face for closed vertical labels; uses the Sora OFL font. */
@font-face { font-family: 'Sora Closed'; font-style: normal; font-weight: 350; font-display: swap; src: url('/assets/fonts/sora-closed-350.woff') format('woff'); }
/* One visual system for every competencies mount. */
.nc-accordion { --nc-accent: var(--brand, #3b8ceb); display: flex; flex-direction: column; gap: 8px; margin: 32px auto 0; border: 0; text-align: left; }
.nc-accordion .nc-panel { position: relative; min-width: 0; padding: 0; margin: 0; border: 1px solid var(--line-strong, #ffffff1c); border-radius: 12px; background: var(--surface-premium-solid); overflow: hidden; }
.nc-accordion .nc-panel.is-active { border-color: var(--brand-line, #3b8ceb75); background: var(--surface-premium-solid); }
.nc-accordion .nc-heading { margin: 0; font: inherit; }
.nc-accordion .nc-trigger { position: relative; display: grid; grid-template-columns: 56px minmax(0,1fr) 24px; gap: 16px; align-items: center; width: 100%; padding: 22px 24px; border: 0; border-radius: 10px; background: none; color: var(--text, #fff); text-align: left; cursor: pointer; font-family: var(--font-body); }
.nc-accordion .nc-trigger:focus-visible { outline: 2px solid var(--brand-hover, #8bc3ff); outline-offset: -5px; }
.nc-accordion .nc-number { color: #8491a3; font: 300 40px/1 var(--font-display, sans-serif); letter-spacing: -.07em; transition: color 250ms ease; }
.nc-accordion .is-active .nc-number { color: var(--nc-accent); }
.nc-accordion .nc-label { font: 500 22px/1.2 var(--font-display, sans-serif); letter-spacing: -.035em; }
.nc-accordion .nc-toggle { color: var(--nc-accent); font: 300 24px/1 var(--font-body); text-align: right; }
.nc-accordion .nc-body { padding: 0 24px 28px; }
.nc-accordion .nc-body[hidden] { display: none; }
/* Match the existing bold opening sentence and ordinary introduction paragraph. */
.nc-accordion .nc-award { margin: 0 0 18px; color: #fff; font: 700 clamp(1rem, 1.28vw, 1.14rem)/1.72 var(--font-body); }
.nc-accordion .nc-description { margin: 0; color: var(--cinema-text, var(--patron-soft, #d2d8e0)); font: 300 clamp(1rem, 1.28vw, 1.14rem)/1.72 var(--font-body); }
.nc-accordion.is-enhanced .nc-body:not([hidden]) .nc-copy { animation: nc-copy-enter 220ms ease-out both; }
@keyframes nc-copy-enter { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
/* A readable static list stays in the HTML until successful enhancement. */
.nc-accordion.nc-horizontal { flex-direction: row; align-items: stretch; }
.nc-accordion.nc-horizontal .nc-panel { flex: 0 0 104px; min-height: var(--nc-panel-height, 480px); transition: flex-basis 450ms cubic-bezier(.22,.7,.22,1), border-color 250ms ease; }
.nc-accordion.nc-horizontal .nc-panel.is-active { flex-basis: var(--nc-active-width); }
.nc-accordion.nc-horizontal .nc-trigger { min-height: 208px; align-content: start; grid-template-columns: minmax(0,1fr) 18px; gap: 22px 8px; padding: 28px 24px 24px; }
.nc-accordion.nc-horizontal .nc-number { grid-column: 1; font-size: 76px; }
.nc-accordion.nc-horizontal .nc-label { grid-row: 2; grid-column: 1 / -1; font-size: 30px; }
.nc-accordion.nc-horizontal .nc-toggle { grid-column: 2; grid-row: 1; align-self: start; padding-top: 5px; }
.nc-accordion.nc-horizontal .nc-body { min-height: var(--nc-body-height, 270px); }
.nc-accordion.nc-horizontal .nc-copy { width: var(--nc-copy-width); }
/* Collapsed titles are rotated as complete words, rather than stacked letters. */
.nc-accordion.nc-horizontal .nc-panel:not(.is-active) .nc-heading { height: 100%; }
.nc-accordion.nc-horizontal .nc-panel:not(.is-active) .nc-trigger { display: block; height: 100%; min-height: var(--nc-panel-height, 480px); padding: 0; }
.nc-accordion.nc-horizontal .nc-panel:not(.is-active) .nc-number { position: absolute; top: 25px; left: 20px; font-size: 32px; }
.nc-accordion.nc-horizontal .nc-panel:not(.is-active) .nc-toggle { position: absolute; top: 24px; right: 16px; padding: 0; font-size: 20px; }
.nc-accordion.nc-horizontal .nc-panel:not(.is-active) .nc-label { position: absolute; top: calc(50% + 28px); left: 50%; width: max-content; white-space: nowrap; transform: translate(-50%, -50%) rotate(-90deg); }
@media (max-width: 768px) {
  .nc-accordion .nc-award, .nc-accordion .nc-description { font-size: 1rem; line-height: 1.66; }
}
@media (max-width: 520px) {
  .nc-accordion .nc-trigger { grid-template-columns: 38px minmax(0,1fr) 18px; gap: 12px; padding: 20px 18px; }
  .nc-accordion .nc-number { font-size: 30px; }
  .nc-accordion .nc-label { font-size: 18px; }
  .nc-accordion .nc-body { padding: 0 18px 24px; }
}
@media (prefers-reduced-motion: reduce) {
  .nc-accordion .nc-panel, .nc-accordion .nc-number { transition: none !important; }
  .nc-accordion.is-enhanced .nc-body:not([hidden]) .nc-copy { animation: none; }
}
@media (forced-colors: active) {
  .nc-accordion .nc-panel { border-color: CanvasText; }
  .nc-accordion .nc-panel.is-active { border-color: Highlight; }
}

/* Editorial interior: the competence leads; its number is a quiet locator. */
.nc-accordion .nc-panel.is-active { background: var(--surface-premium-solid); }
.nc-accordion .nc-award { font-weight: 600; color: #f2f5f9; }
.nc-accordion .nc-description { color: var(--text-soft, #d2d8e0); }
.nc-accordion.nc-horizontal:not(.has-active) .nc-panel { flex-basis: calc((100% - (var(--nc-count) - 1) * 8px) / var(--nc-count)); }
.nc-accordion.nc-horizontal .nc-panel.is-active .nc-trigger { min-height: 148px; padding: 26px 40px 20px; gap: 18px 12px; }
.nc-accordion.nc-horizontal .nc-panel.is-active .nc-number { font: 500 24px/1 var(--font-body); letter-spacing: .08em; }
.nc-accordion.nc-horizontal .nc-panel.is-active .nc-label { font: 500 30px/1.25 var(--font-display); letter-spacing: -.035em; }
.nc-accordion.nc-horizontal .nc-body { padding: 0 40px 30px; }
.nc-accordion .nc-award { padding-top: 22px; border-top: 1px solid var(--brand-line, #3b8ceb75); margin-bottom: 20px; }
.nc-accordion.nc-horizontal .nc-description { max-width: 62ch; }
@media (max-width: 768px) { .nc-accordion .nc-award { padding-top: 18px; } }

/* Compact closed rails retain the display face used throughout the site. */
.nc-accordion.nc-horizontal .nc-panel:not(.is-active) .nc-label { font-size: 23px; font-family: var(--font-display, sans-serif); font-weight: 200; }
/* Use the existing variable Sora face; only closed-panel label weight changes. */
.nc-accordion .nc-panel:not(.is-active) .nc-label { font-weight: 200; font-variation-settings: 'wght' 200; color: #b8c0cc; }
@media (max-width: 979px) {
  .nc-accordion .nc-panel:not(.is-active) .nc-label { font-weight: 180; font-variation-settings: 'wght' 180; }
}

/* Shared local film backgrounds; individual framing lives below. */
.nc-accordion .nc-photo { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; object-position:50% 55%; opacity:0; pointer-events:none; }
.nc-accordion .nc-has-image::after { content:""; position:absolute; inset:0; pointer-events:none; opacity:0; background:linear-gradient(90deg,rgba(4,7,11,.96),rgba(4,7,11,.86) 36%,rgba(4,7,11,.32) 72%,rgba(4,7,11,.08)); }
.nc-accordion .nc-has-image.is-active .nc-photo, .nc-accordion .nc-has-image.is-active::after { opacity:1; }
.nc-accordion .nc-has-image .nc-heading, .nc-accordion .nc-has-image .nc-body { position:relative; z-index:1; }
.nc-accordion .nc-organizer { display:flex; align-items:center; gap:14px; margin:20px 0 0; opacity:.5; color:#fff; font:400 12px/1.5 var(--font-body); }
.nc-accordion .nc-organizer-logo { display:block; width:89px; height:24px; object-fit:contain; flex:none; }
.nc-accordion.nc-horizontal .nc-has-image .nc-copy { width:min(340px,var(--nc-copy-width)); }
.nc-accordion.nc-horizontal .nc-has-image.is-active .nc-label { max-width:360px; }
.nc-accordion.nc-horizontal .nc-has-image .nc-award { border-top:0; position:relative; }
.nc-accordion.nc-horizontal .nc-has-image .nc-award::before { content:""; position:absolute; top:0; left:0; height:2px; width:56px; background:var(--nc-accent); }
.nc-accordion:not(.nc-horizontal) .nc-has-image.is-active .nc-trigger { padding-top:210px; }
.nc-accordion:not(.nc-horizontal) .nc-has-image .nc-photo { object-position:center 45%; }
.nc-accordion:not(.nc-horizontal) .nc-has-image::after { background:linear-gradient(180deg,rgba(4,7,11,.05),rgba(4,7,11,.15) 20%,rgba(4,7,11,.9) 46%,#090c11 75%); }
@media (forced-colors:active) { .nc-accordion .nc-photo { display:none; } .nc-accordion .nc-organizer { opacity:1; } }

/* Keep the portrait source shifted right and high enough to retain the panda. */
.nc-accordion.nc-horizontal [data-image-style="songkran"] .nc-photo { left:35%; width:65%; object-position:50% 36%; }
.nc-accordion:not(.nc-horizontal) .nc-has-image .nc-photo { height:330px; object-position:65% 35%; }
.nc-accordion:not(.nc-horizontal) [data-image-style="songkran"] .nc-photo { height:360px; object-position:50% 36%; }
.nc-accordion:not(.nc-horizontal) .nc-has-image::after { background:linear-gradient(180deg,transparent 70px,rgba(4,7,11,.15) 160px,rgba(4,7,11,.9) 245px,#090c11 330px); }
.nc-accordion.nc-horizontal [data-image-style="showreel"] .nc-photo { object-position:0% center; }

/* Give the two lead characters priority over the surrounding scenery. */
.nc-accordion.nc-horizontal [data-image-style="tutorial"] .nc-photo { object-position:20% center; }
.nc-accordion:not(.nc-horizontal) [data-image-style="showreel"] .nc-photo { object-position:50% 35%; }
/* Local spacing between the adjoining About sections, in both languages. */
#narzedzia { padding-bottom:clamp(28px,3vw,44px); }
#narzedzia + #weryfikacja { padding-top:clamp(28px,3vw,44px); }

/* Readable home fallback if scripts are disabled or unavailable. */
#home-competencies:not(.is-enhanced) .partner-offer-row { padding:24px; border:1px solid var(--line-strong,#ffffff1c); border-radius:12px; }
#home-competencies:not(.is-enhanced) h3 { margin:8px 0 14px; font:500 22px/1.3 var(--font-display); }
#home-competencies:not(.is-enhanced) p { margin:0; font:300 16px/1.7 var(--font-body); }
#home-competencies:not(.is-enhanced) .partner-offer-row__index { color:var(--brand,#3b8ceb); }

/* SOURCE: workflow-practice.css */
/* Local Courier Prime; SIL Open Font License, served from this site only. */
/* Production workflow example. Uses the Narrix palette and existing Sora/Manrope fonts. */
.np-process { position:relative; z-index:5; background:var(--bg-black); border-block:1px solid var(--line); }
.np-process__stage { position:sticky; top:0; height:100svh; min-height:620px; display:flex; flex-direction:column; justify-content:center; overflow:hidden; }
.np-process__header { width:min(1180px,calc(100% - 48px)); margin:0 auto 24px; }
.np-process__eyebrow { display:block; color:var(--brand); font:600 12px/1.5 var(--font-body); letter-spacing:.17em; text-transform:uppercase; margin:0 0 9px; }
.np-process__header h3 { margin:0; color:var(--cinema-text,#f0f4fa); font:600 clamp(1.18rem,2.2vw,1.7rem)/1.5 var(--font-display); letter-spacing:-.035em; text-align:center; text-wrap:balance; }
.np-process__track { display:flex; width:min(1180px,calc(100% - 48px)); margin:0 auto; will-change:transform; }
.np-process__slide { flex:0 0 100%; box-sizing:border-box; min-height:min(66svh,570px); padding:clamp(28px,4vw,58px); display:grid; grid-template-columns:minmax(0,1fr) minmax(0,.85fr); gap:clamp(30px,6vw,90px); align-items:center; border:1px solid var(--line-strong); border-radius:12px; background:var(--surface-premium-solid); }
.np-process__number { display:block; color:var(--brand); font:500 14px/1 var(--font-body); letter-spacing:.12em; margin-bottom:30px; }
.np-process__slide h4 { margin:0 0 20px; color:#fff; font:500 clamp(26px,3vw,42px)/1.25 var(--font-display); letter-spacing:-.035em; }
.np-process__slide p { color:var(--text-soft,#d2d8e0); font:300 clamp(16px,1.3vw,19px)/1.6 var(--font-body); margin:0; }
.np-process__brief { display:grid; gap:32px; }
.np-process__brief dt { color:var(--brand); font:600 12px/1.4 var(--font-body); letter-spacing:.15em; margin-bottom:12px; }
.np-process__brief dd { margin:0; color:#f2f5f9; font:500 clamp(20px,2vw,29px)/1.48 var(--font-display); letter-spacing:-.025em; }
.np-process__brief dd + dd { margin-top:4px; }
.np-process__placeholder { display:flex; flex-direction:column; align-items:center; justify-content:center; min-height:290px; border:1px solid rgba(255,255,255,.16); border-radius:10px; background:linear-gradient(145deg,#0d141e,#080c12); text-align:center; color:#90a0b1; padding:28px; }
.np-process__placeholder span { font:500 13px/1.5 var(--font-body); letter-spacing:.12em; text-transform:uppercase; }
.np-process__placeholder small { max-width:34ch; margin-top:14px; color:#778697; font:300 14px/1.6 var(--font-body); }
.np-process__line { width:64px; height:1px; background:var(--brand-line); margin-bottom:26px; }
.np-process__footer { width:min(1180px,calc(100% - 48px)); margin:22px auto 0; display:flex; justify-content:center; align-items:center; color:var(--brand); font:600 13px/1 var(--font-body); }
/* Match the Workflow nodes, including their active state. The line meets each circle. */
.np-process__footer > span:first-child,.np-process__footer > span:last-child { position:relative; z-index:1; display:inline-flex; flex:none; width:44px; height:44px; align-items:center; justify-content:center; box-sizing:border-box; border:2px solid var(--brand); border-radius:50%; background:#000; color:var(--brand); transition:transform 300ms ease,border-color 300ms ease,background-color 300ms ease,box-shadow 300ms ease,color 300ms ease; }
.np-process__footer > span.is-active { border-color:#fff; background:var(--brand); color:#fff; box-shadow:0 0 24px rgba(59,140,235,.5); transform:scale(1.08); }
.np-process__progress { flex:0 1 280px; height:2px; margin-inline:-1px; background:var(--line-strong); overflow:hidden; }
.np-process__progress i { display:block; height:100%; width:20%; background:var(--brand); transform-origin:left; }
.np-process a:focus-visible { outline:2px solid var(--brand); }
@media(max-width:900px), (prefers-reduced-motion:reduce) {
 .np-process { padding:72px 0; }
 .np-process__stage { position:relative; height:auto; min-height:0; overflow:visible; display:block; }
 .np-process__header { margin-bottom:30px; }
 .np-process__track { display:grid; gap:18px; transform:none !important; will-change:auto; }
 .np-process__slide { min-height:0; grid-template-columns:1fr; gap:28px; padding:clamp(24px,6vw,36px); }
 .np-process__placeholder { min-height:190px; }
 .np-process__footer { display:none; }
}
@media(max-width:520px) {
 .np-process { padding:58px 0; }
 .np-process__header,.np-process__track { width:calc(100% - 32px); }
 .np-process__slide { gap:32px; }
 .np-process__brief { gap:26px; }
 .np-process__brief dd { font-size:21px; }
}

/* Without the enhancement script the content remains a readable vertical list. */
.np-process:not(.is-scrolling) { height:auto !important; padding:72px 0; }
.np-process:not(.is-scrolling) .np-process__stage { position:relative; height:auto; min-height:0; overflow:visible; display:block; }
.np-process:not(.is-scrolling) .np-process__track { display:grid; gap:18px; transform:none !important; will-change:auto; }
.np-process:not(.is-scrolling) .np-process__slide { min-height:0; }
.np-process:not(.is-scrolling) .np-process__footer { display:none; }

/* The existing site mouse cue signals that vertical scrolling drives the sideward move. */
.np-process__cue { position:absolute; left:50%; bottom:16px; display:flex; flex-direction:column; align-items:center; gap:8px; padding:7px 16px; transform:translateX(-50%); border:0; background:none; color:#9caabd; opacity:.72; cursor:pointer; transition:opacity .24s ease; }
.np-process__cue:hover,.np-process__cue:focus-visible { opacity:1; }
.np-process__cue .patron-scroll-mouse { flex:none; }
.np-process__cue-label { font:500 10px/1.4 var(--font-body); letter-spacing:.16em; }
.np-process__cue.is-dismissed { opacity:0; pointer-events:none; }
.np-process:not(.is-scrolling) .np-process__cue { display:none; }
@media(max-height:760px) { .np-process__cue { bottom:3px; } }

/* Continuation of Workflow: typography follows its existing node headings and copy. */
.np-process { border-block:0; }
.np-process__slide h4 { font:700 1.25rem/1.3 var(--font-display); letter-spacing:normal; }
.np-process__slide p { font:300 .95rem/1.7 var(--font-body); color:var(--text-soft); }
.np-process__slide--brief { position:relative; display:flex; flex-direction:column; justify-content:center; align-items:stretch; gap:32px; padding:clamp(24px,4vw,58px); }
.np-process__brief-top { display:grid; grid-template-columns:1fr auto; align-items:center; gap:20px; }
.np-process__brief-top h4 { margin:0; }
.np-process__brief-top .np-process__number { margin:0; }
.np-process__filmstrip { position:relative; grid-column:1 / -1; height:clamp(190px,18vw,248px); overflow:hidden; }
.np-process__filmstrip .section-filmstrip-bg { animation:none; }
.np-process__slate-meta { display:grid; grid-template-columns:1fr 100px; grid-column:1 / -1; border-block:1px solid var(--line); }
.np-process__slate-meta > div { display:flex; flex-direction:column; gap:8px; padding:16px 0; }
.np-process__slate-meta > div:last-child { padding-left:24px; border-left:1px solid var(--line); }
.np-process__slate-meta span,.np-process__brief--editorial dt { color:var(--brand); font:700 .95rem/1.7 var(--font-body); letter-spacing:normal; }
.np-process__slate-meta strong { color:var(--text-soft); font:300 .95rem/1.7 var(--font-body); letter-spacing:normal; }
.np-process__brief--editorial { grid-template-columns:1fr 1fr; gap:40px; align-items:start; margin:0; }
.np-process__brief--editorial dt { margin-bottom:12px; }
.np-process__brief--editorial .np-process__goal dd { color:var(--text-soft); font:300 .95rem/1.7 var(--font-body); letter-spacing:normal; }
.np-process__brief--editorial .np-process__subject { padding-left:40px; border-left:1px solid var(--line); }
.np-process__brief--editorial .np-process__subject dd { color:#fff; font:700 1.25rem/1.3 var(--font-display); letter-spacing:normal; }
.np-process__brief-signature { display:none; }
@media(max-width:900px) {
 .np-process__brief--editorial { grid-template-columns:1fr; gap:24px; }
 .np-process__brief--editorial .np-process__subject { padding:24px 0 0; border-left:0; border-top:1px solid var(--line); }
 .np-process__slate-meta { grid-template-columns:1fr 70px; }
 .np-process__slate-meta > div:first-child { padding-right:16px; }
 .np-process__slate-meta > div:last-child { padding-left:16px; }
}
@media(max-width:768px) {
 .np-process__header h3,.np-process__slide h4,.np-process__brief--editorial .np-process__subject dd { font-size:1.05rem; }
 .np-process__header h3 { line-height:1.56; }
}

.np-process__header.main-section-header { margin-bottom:24px; }
.np-process__slide--brief { gap:24px; padding-block:24px; }
@media(max-width:768px) { .np-process__filmstrip { height:154px; } }

/* Crop the shared strip; preserve its original frame and perforation scale. */
.np-process.is-scrolling .np-process__slide:not(.is-ready) { content-visibility:hidden; }
.np-process__filmstrip { height:clamp(95px,9vw,124px); }
.np-process__slide--brief { min-height:calc(min(66svh,570px) - clamp(95px,9vw,124px)); align-self:center; }
.np-process__slate-meta > .np-process__cue-cell { justify-content:center; align-items:center; padding:12px; }
.np-process__cue-cell .np-process__cue { position:static; transform:none; padding:0; }
.np-process__cue-cell .np-process__cue-label { display:none; }
@media(max-width:768px) { .np-process__filmstrip { height:77px; } }
@media(max-width:900px), (prefers-reduced-motion:reduce) {
 .np-process__slide--brief { min-height:0; }
 .np-process__slate-meta { grid-template-columns:1fr; }
 .np-process__slate-meta > .np-process__cue-cell { display:none; }
}

/* Opening card follows the approved graphic: copy left, large chalk portrait right. */
.np-process__slide--screenplay { display:block; background:#f3f0e9; border-color:var(--brand-line,#3b8ceb75); padding:32px 48px; }
.np-process__screenplay { width:100%; max-width:108ch; margin:auto; color:#202124; font:400 16px/1.3 'Narrix Screenplay','Courier New',Courier,monospace; }
.np-process__screenplay h4 { margin:0 0 1.3em; color:inherit; font:700 1em/1.3 'Narrix Screenplay','Courier New',Courier,monospace; letter-spacing:normal; }
.np-process__screenplay p { margin:0 0 1em; color:inherit; font:inherit; letter-spacing:normal; }
.np-process__screenplay p:last-child { margin-bottom:0; }
@media(max-width:600px) { .np-process__slide--screenplay { padding:28px 24px; } }
.np-process__slide--bear { border-color:var(--brand-line,#3b8ceb75); border-radius:12px; }
.np-process__project-heading h4::after { content:""; display:block; width:56px; height:2px; margin-top:22px; background:var(--brand,#3b8ceb); }
.np-process__slide--bear { position:relative; display:grid; grid-template-columns:minmax(0,1.4fr) minmax(0,1fr); gap:0; align-items:center; min-height:min(66svh,590px); padding:0; overflow:hidden; background:var(--surface-premium-solid); }
.np-process__bear-copy { position:relative; z-index:1; padding:48px 12px 48px 58px; }
.np-process__project-heading > span,.np-process__brief--bear dt { display:block; color:var(--brand); font:700 .95rem/1.7 var(--font-body); letter-spacing:normal; margin:0 0 12px; }
.np-process__project-heading h4 { margin:0 0 30px; font:600 clamp(1.18rem,2.2vw,1.7rem)/1.5 var(--font-display); letter-spacing:-.035em; }
.np-process__brief--bear { display:grid; gap:28px; margin:0; }
.np-process__brief--bear dd { max-width:43ch; color:var(--text-soft); font:300 .95rem/1.7 var(--font-body); letter-spacing:normal; }
.np-process__bear { position:absolute; right:0; top:0; display:block; width:42%; height:100%; object-fit:cover; object-position:center top; opacity:1; }
.np-process__bear-cue { margin-top:36px; min-height:36px; }
.np-process__bear-cue .np-process__cue { position:static; transform:none; padding:0; }
.np-process__bear-cue .np-process__cue-label { display:none; }
@media(max-width:900px) {
 .np-process__slide--bear { min-height:480px; }
 .np-process__bear-copy { padding:32px 12px 32px 32px; }
}
@media(max-width:600px) {
 .np-process__slide--bear { grid-template-columns:1fr; min-height:0; }
 .np-process__bear-copy { padding:28px; }
 .np-process__project-heading h4 { margin-bottom:26px; }
 .np-process__brief--bear { gap:24px; }
 .np-process__bear { position:relative; width:100%; height:320px; object-fit:contain; margin:0 auto; }
 .np-process__bear-cue { display:none; }
}
@media(max-width:768px) {
 .np-process__project-heading h4 { font-size:1.05rem; line-height:1.56; }
}

/* Slide 3: separate reference images and real text, following the approved mockup. */
.np-process__slide--references { display:grid; grid-template-columns:minmax(0,1.04fr) minmax(0,.96fr); gap:28px; align-items:center; padding:26px 32px; border-color:var(--brand,#3b8ceb); background:var(--surface-premium-solid); }
.np-references__board { min-width:0; }
.np-references__board > h4 { margin:0 0 17px; font:600 clamp(1.18rem,2.2vw,1.7rem)/1.5 var(--font-display); letter-spacing:-.035em; }
.np-references__board > h4::after { content:""; display:block; width:48px; height:2px; margin-top:9px; background:var(--brand,#3b8ceb); }
.np-references__group + .np-references__group { margin-top:13px; }
.np-references__group h5 { margin:0 0 6px; color:#fff; font:600 .85rem/1.5 var(--font-body); }
.np-references__images { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:8px; }
.np-ref-image { aspect-ratio:720 / 402; overflow:hidden; border:1px solid rgba(255,255,255,.12); border-radius:4px; background:#f4f3f1; }
.np-ref-image img { display:block; width:100%; height:100%; object-fit:contain; }
.np-references__prompt { min-width:0; border-left:1px solid var(--brand-line,#3b8ceb75); padding-left:28px; }
.np-references__prompt > div + div { margin-top:18px; }
.np-references__prompt h5 { margin:0 0 5px; color:var(--brand,#3b8ceb); font:600 .88rem/1.4 var(--font-body); }
.np-references__prompt p { margin:0; font:300 clamp(.78rem,1.06vw,.94rem)/1.5 var(--font-body); color:var(--text-soft,#d2d8e0); }
@media(max-width:900px), (prefers-reduced-motion:reduce) {
 .np-process__slide--references { grid-template-columns:1fr; gap:26px; padding:28px; }
 .np-references__prompt { padding:24px 0 0; border-left:0; border-top:1px solid var(--brand-line,#3b8ceb75); }
 .np-references__prompt p { font-size:.95rem; line-height:1.7; }
}
@media(max-width:420px) { .np-references__images { grid-template-columns:repeat(2,minmax(0,1fr)); } }

/* Final two cards: edge-to-edge media, the same focal crop for frame and film. */
.np-process__slide--media { position:relative; display:block; padding:0; overflow:hidden; min-height:min(66svh,590px); background:#090c11; border-color:var(--brand-line,#3b8ceb75); }
.np-process__full-image,.np-process__full-video { position:absolute; inset:0; display:block; width:100%; height:100%; object-fit:cover; object-position:50% 48%; }
.np-process__full-video { opacity:1; pointer-events:none; }
@media(max-width:900px), (prefers-reduced-motion:reduce) {
 .np-process:not(.is-scrolling) .np-process__slide--media { min-height:0; aspect-ratio:16 / 9; padding:0; }
}
@media(max-width:600px) {
 .np-process:not(.is-scrolling) .np-process__slide--media { aspect-ratio:4 / 3; }
 .np-process__full-image,.np-process__full-video { object-position:53% 48%; }
}

/* Product reference cards use the same clean white as their new backgrounds. */
.np-references__group:last-child .np-ref-image { background:#fff; }

/* Only while waiting for frames; never a persistent overlay on the final shot. */
.np-process__loading { position:absolute; right:20px; bottom:20px; z-index:2; display:grid; place-items:center; width:42px; height:42px; border:1px solid #ffffff26; border-radius:50%; background:#070b12b3; pointer-events:none; }
.np-process__loading[hidden] { display:none; }
.np-process__loading::before { content:''; width:18px; height:18px; border:1.5px solid #ffffff30; border-top-color:#cfe7ff; border-radius:50%; animation:np-film-loading .85s linear infinite; }
@keyframes np-film-loading { to { transform:rotate(360deg); } }
.np-process:not(.is-scrolling) .np-process__slide--media { min-height:0; aspect-ratio:16 / 9; }
@media(max-width:600px) { .np-process:not(.is-scrolling) .np-process__slide--media { aspect-ratio:4 / 3; } }
@media(prefers-reduced-motion:reduce) { .np-process__loading::before { animation:none; } }

/* SOURCE: home-polish.css */
/* Homepage only: a shared rhythm, quiet edges, no additional effect layer. */
[data-home-page] {
  min-width: 0;
  --bg: var(--bg-black);
  --home-section-gap: clamp(64px, 6vw, 88px);
  --home-heading-gap: clamp(28px, 3vw, 40px);
  --home-gutter: clamp(16px, 2.2vw, 28px);
}
[data-home-page] body { min-width: 0; }
[data-home-page] .module-realizacje { padding: 32px var(--home-gutter) var(--home-section-gap); }
[data-home-page] .realizacje-card { padding-bottom: 0; }
[data-home-page] .case-module--showcase { padding-block: var(--home-section-gap); }
[data-home-page] .module-workflow { padding: 0 var(--home-gutter); }
[data-home-page] .module-workflow > .main-section-header { margin-bottom: var(--home-heading-gap); }
[data-home-page] .timeline-node { padding-bottom: clamp(64px, 6vw, 88px); }
[data-home-page] .timeline-node:last-child { padding-bottom: 0; }
[data-home-page] .module-credits { padding: var(--home-section-gap) var(--home-gutter) calc(var(--home-section-gap) * .6); }
[data-home-page] #creditsFade > .main-section-header { margin-bottom: var(--home-heading-gap); }
[data-home-page] .credits-more-wrap { margin-top: 28px; }
/* The following offer stack owns the gap, avoiding two consecutive spaces. */
[data-home-page] .module-trusted { padding: 0; }
[data-home-page] .home-quick-links { margin-top: var(--home-section-gap); }
[data-home-page] .trusted-panel > .main-section-header { margin-bottom: var(--home-heading-gap); }
[data-home-page] .case-module-container,
[data-home-page] .np-process__header,
[data-home-page] .np-process__track,
[data-home-page] .np-process__footer { width: min(1180px, calc(100% - var(--home-gutter) * 2)); }
[data-home-page] .np-process { background: #000; }
[data-home-page] .np-process:not(.is-scrolling) { padding-block: var(--home-section-gap) 0; }
[data-home-page] .np-process__track { will-change: auto; }
[data-home-page] .np-process.is-nearby.is-scrolling .np-process__track { will-change: transform; }
[data-home-page] .corner { border-color: rgba(195, 215, 237, .38); }
[data-home-page] .section-filmstrip-bg { animation-play-state: paused; }
[data-home-page] .is-ambient-active .section-filmstrip-bg { animation-play-state: running; }
/* Reserve the control deck before JS, preventing the centered hero from jumping. */
.js[data-home-page] .hero-sequence-controls[hidden] { display: grid !important; visibility: hidden; }
@media (scripting: enabled) {
  [data-home-page] .hero-sequence-controls[hidden] { display: grid !important; visibility: hidden; }
}
[data-home-page] main > .reveal-element,
[data-home-page] .footer-outro.reveal-element { transform: none; transition: opacity 420ms ease; }
/* Static default, including mobile/tablets; the shared desktop opt-in is in site.css. */
[data-home-page] [data-cinematic-focus] { filter: none; transform: none; will-change: auto; opacity: 1; --cinema-text: #f0f4f9; }
[data-home-page] .case-tile-image { transition: transform 650ms cubic-bezier(.22,.7,.22,1); }
[data-home-page] .hero-content { filter: none !important; }
[data-home-page] .home-media-pending { color: transparent; }
@media (max-width: 900px) {
  [data-home-page] { --home-section-gap: 48px; --home-heading-gap: 28px; }
  [data-home-page] .module-realizacje { padding-top: 20px; }
  [data-home-page] .hero-content { transform: none !important; opacity: 1 !important; }
  [data-home-page] .section-filmstrip-bg { animation: none; }
  [data-home-page] .case-tile-image { transform: none; transition: none; }
  [data-home-page] .nc-panel { transition: border-color 180ms ease; }
  [data-home-page] .nc-copy { animation: none !important; }
  [data-home-page] .trusted-logo img { filter: invert(var(--trusted-image-invert,0)); }
}
@media (prefers-reduced-motion: reduce) {
  [data-home-page] .section-filmstrip-bg { animation: none; }
  [data-home-page] .case-tile { transition: none !important; }
}

/* Only the two approved homepage corrections. */
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  [data-home-page] .video-card:hover,
  [data-home-page] .video-card:focus-visible {
    transform: translateY(-5px);
    transition: transform 350ms cubic-bezier(.2,.8,.2,1), border-color 350ms ease, box-shadow 350ms ease;
  }
}
[data-home-page] .timeline-node:not(.active) .node-content { opacity: .62; }
[data-home-page] .timeline-node.active .node-content { opacity: 1; }

/* Closing offer navigation: three real links, no media or script dependency. */
[data-home-page] .home-offer-links {
  width: min(1180px, calc(100% - var(--home-gutter) * 2));
  margin: 0 auto;
  padding-block: calc(var(--home-section-gap) * .4) var(--home-section-gap);
  isolation: isolate;
}
.home-offer-links__list { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.home-offer-links__item { margin: 0; padding: 0; }
/* Match the closed competence accordion: Sora, light weight, 23px desktop. */
.home-offer-links__link {
  display: grid; grid-template-columns: 56px minmax(0, 1fr) 24px;
  align-items: center; gap: 16px;
  position: relative; isolation: isolate;
  min-height: 88px; padding: 22px 24px;
  border: 1px solid var(--line-strong); border-radius: 12px; overflow: hidden;
  background: var(--surface-premium-solid); color: #fff; text-decoration: none;
  transition: border-color 250ms ease, box-shadow 350ms ease, transform 300ms cubic-bezier(.22,.7,.22,1);
}
.home-offer-links__link::before {
  content: ''; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
  background: var(--brand);
  opacity: 0; transition: opacity 250ms ease;
}
.home-offer-links__number { color: var(--brand); font: 300 32px/1 var(--font-display); letter-spacing: -.07em; }
.home-offer-links__name {
  font: 200 23px/1.2 var(--font-display); font-variation-settings: 'wght' 200;
  letter-spacing: -.035em; color: #fff;
}
.home-offer-links__arrow { width: 24px; height: auto; color: var(--brand); }
.home-offer-links__link:focus-visible,
.home-offer-links__link:active { color: #fff; border-color: #fff; z-index: 1; box-shadow: 0 0 24px rgba(59,140,235,.4); }
.home-offer-links__link:focus-visible::before,
.home-offer-links__link:active::before { opacity: 1; }
.home-offer-links__link:focus-visible { outline: 2px solid var(--brand); outline-offset: 4px; box-shadow: 0 0 24px rgba(59,140,235,.4); }
.home-offer-links:focus-within { opacity: 1 !important; transform: none !important; }
@media (hover: hover) and (pointer: fine) {
  .home-offer-links__link:hover { color: #fff; border-color: #fff; z-index: 1; box-shadow: 0 0 24px rgba(59,140,235,.4); }
  .home-offer-links__link:hover::before { opacity: 1; }
}
@media (max-width: 979px) {
  .home-offer-links__name { font-size: 22px; font-weight: 180; font-variation-settings: 'wght' 180; }
}
@media (max-width: 520px) {
  .home-offer-links__link { grid-template-columns: 38px minmax(0, 1fr) 18px; gap: 12px; padding: 20px 18px; }
  .home-offer-links__number { font-size: 30px; }
  .home-offer-links__name { font-size: 18px; }
  .home-offer-links__arrow { width: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  .home-offer-links__link, .home-offer-links__link::before, .home-offer-links__arrow { transition: none; }
}
@media (forced-colors: active) {
  .home-offer-links__link { border-color: LinkText; }
  .home-offer-links__link:focus-visible { outline-color: Highlight; }
}

/* Same small language marker as the global menu; destination remains Polish. */
.home-language-label { display: inline-block; margin-left: 7px; font-size: .65em; font-weight: 600; letter-spacing: .08em; color: #8ca3bf; vertical-align: baseline; }
.home-offer-links__link:focus-visible .home-language-label,
.home-offer-links__link:active .home-language-label { color: inherit; }
@media (hover: hover) and (pointer: fine) {
  .home-offer-links__link:hover .home-language-label { color: inherit; }
}

@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .home-offer-links__link:hover { transform: translateY(-3px); }
}

/* One shared numeral token for homepage accordion and closing offer menu. */
[data-home-page] { --home-number-font: 500 24px/1 var(--font-body); --home-number-spacing: .08em; }
[data-home-page] #home-competencies .nc-number,
[data-home-page] .home-offer-links__number { font: var(--home-number-font); letter-spacing: var(--home-number-spacing); font-variant-numeric: tabular-nums; }
[data-home-page] .home-offer-links__number {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; position: relative; isolation: isolate;
  transition: color 200ms ease;
}
/* The entire row takes the reference treatment, without a numeral badge. */
.home-offer-links__link:focus-visible .home-offer-links__number,
.home-offer-links__link:active .home-offer-links__number,
.home-offer-links__link:focus-visible .home-offer-links__arrow,
.home-offer-links__link:active .home-offer-links__arrow { color: #fff; }
@media (hover: hover) and (pointer: fine) {
  .home-offer-links__link:hover .home-offer-links__number,
  .home-offer-links__link:hover .home-offer-links__arrow { color: #fff; }
}
@media (max-width: 520px) { [data-home-page] .home-offer-links__number { width: 38px; height: 38px; } }
@media (prefers-reduced-motion: reduce) { .home-offer-links__number { transition: none; } }

/* Match the highlighted offer state; keep number and arrow unchanged. */
.home-offer-links__link:focus-visible .home-offer-links__name,
.home-offer-links__link:active .home-offer-links__name { font-weight: 700; font-variation-settings: 'wght' 700; }
@media (hover: hover) and (pointer: fine) {
  .home-offer-links__link:hover .home-offer-links__name { font-weight: 700; font-variation-settings: 'wght' 700; }
}

/* The header already reserves the same brand slot used on subpages. */
.page-home > .home-topbar .home-topbar-spacer {
  visibility: hidden;
  opacity: 0;
}
.page-home > .home-topbar.show-header-logo .home-topbar-spacer {
  visibility: visible;
  pointer-events: auto;
  opacity: 1;
}
.page-home > .home-topbar .home-topbar-spacer:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 3px;
}
@media (prefers-reduced-motion: no-preference) {
  .page-home > .home-topbar .home-topbar-spacer {
    transition: opacity 180ms ease-out;
  }
}

/* The final workflow film has no following card to cover it. Keep the track's
   existing scroll allowance and let this last holder fit its content on phones. */
@media (max-width: 600px) {
  [data-home-page] .np-process.is-touch-sequence:not(.is-scrolling) .np-process__touch-card:last-child {
    min-height: 0;
  }
}

[data-home-page] [data-home-stage-pending] { display: none !important; }
.home-stage-end, .home-skills-end { display: block; height: 1px; }
.home-screening {
  --screening-padding: clamp(46px, 6svh, 78px);
  --screening-slogan-gap: var(--screening-cta-gap);
  --screening-cta-gap: clamp(48px, 6.8svh, 72px);
  --screening-dim-ink: #333a45;
  display: grid;
  place-items: center;
  min-height: min(66svh, 720px);
  padding: var(--screening-padding) var(--home-gutter);
  color: var(--text);
  text-align: center;
  position: relative;
  isolation: isolate;
  overflow: hidden;
}
/* The projection backdrop requires no additional asset. */
.home-screening::before {
  content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(ellipse at 50% 52%, rgba(66,94,124,.17), transparent 65%),
              radial-gradient(ellipse at 18% 0%, rgba(103,135,165,.08), transparent 52%);
}
.home-screening__frame { width: min(100%, 850px); margin: auto; }
.home-screening__question, .home-screening__close {
  margin: 0 auto;
  font: 700 clamp(1.5rem, 2.55vw, 2.45rem)/1.08 var(--font-display);
  text-transform: uppercase;
  color: #eff4fa;
  letter-spacing: -.04em; text-wrap: balance;
}
.home-screening__question { max-width: 100%; }
.home-screening__close {
  /* Match the contact footer heading on desktop and mobile. */
  font-size: clamp(1.6rem, 4.8vw, 4.1rem);
  --screening-ink: #fff;
  color: var(--screening-ink);
}
.home-screening__accent {
  --screening-ink: var(--brand);
  color: var(--screening-ink);
}
.home-screening__proof {
  margin: clamp(26px, 4.5vh, 48px) auto; max-width: 57ch;
  margin-bottom: var(--screening-slogan-gap);
  --screening-ink: #b8c0cc;
  text-wrap: pretty;
}
.home-screening__logo {
  display: block;
  width: 144.4444px;
  height: auto;
  opacity: .5;
  margin: 8px auto 0;
}
@supports (mask-image: linear-gradient(black, transparent)) or (-webkit-mask-image: linear-gradient(black, transparent)) {
  .home-screening__logo {
    /* The transparent gap between the sign and wordmark spans 23%–28% of the image. */
    --byteplus-mask: linear-gradient(to right, #000 25%, rgb(0 0 0 / .5) 25%);
    opacity: 1;
    -webkit-mask-image: var(--byteplus-mask);
    mask-image: var(--byteplus-mask);
  }
}
.home-screening__logo + .home-screening__proof { margin-top: 0; }
.home-screening__proof > span { display: block; }
.home-screening__proof > span + span { margin-top: .55em; }

[data-home-page] .home-screening .credits-more-wrap { margin-top: var(--screening-slogan-gap); }
@media screen and (prefers-reduced-motion: no-preference) {
  /* Fallback for browsers without text clipping. */
  .home-screening.is-projecting .screening-word {
    opacity: clamp(.59, calc(.59 + (var(--lit-words) - var(--word-index)) * .082), 1);
  }
  @supports (color: color-mix(in srgb, black, white)) {
    .home-screening.is-projecting .screening-word {
      --screening-lit-share: clamp(0%, calc((var(--lit-words) - var(--word-index)) * 20%), 100%);
      color: color-mix(in srgb, var(--screening-dim-ink), var(--screening-ink, #eff4fa) var(--screening-lit-share));
      opacity: 1;
    }
  }
}
@media (max-width: 768px), (min-width: 901px) {
  .home-screening__question { position: relative; }
  .home-screening__question::before {
    content: '';
    display: block;
    width: 38px;
    height: 2px;
    position: absolute;
    inset-inline: 0;
    bottom: calc(100% + 18px);
    margin: 0 auto;
    border-radius: 999px;
    background: var(--brand);
    box-shadow: 0 0 18px rgba(59, 140, 235, 0.62);
  }
}
@media (max-width: 768px) {
  .home-screening__logo { width: 116.6667px; }
  .home-screening__question::before { width: 32px; bottom: calc(100% + 15px); }
  .home-screening { min-height: 0; padding: 56px max(24px, 6vw) 40px; }
  .home-screening__question { font-size: clamp(1.35rem, 5.5vw, 1.85rem); line-height: 1.14; }
  .home-screening__close { font-size: clamp(1.375rem, 6.6vw, 2.5rem); }
  .home-screening { --screening-slogan-gap: 46px; }
}
@media (min-width: 901px) {
  .home-screening {
    --screening-top-space: clamp(56px, 8svh, 84px);
    --screening-slogan-gap: calc(var(--screening-link-gap) - var(--screening-space-below-link));
    --screening-link-gap: calc(var(--screening-cta-gap) * 1.75);
    --screening-space-below-link: calc(var(--screening-link-gap) * .25);
    min-height: calc(min(66svh, 720px) + var(--screening-top-space) + var(--screening-cta-gap) * .75);
    padding-block-start: calc(var(--screening-padding) + var(--screening-top-space));
    padding-block-end: calc(var(--screening-padding) + var(--screening-space-below-link));
  }
  .home-screening__question { font-size: var(--type-heading); word-spacing: 1px; }
  .home-screening__proof > span + span { margin-top: .44em; }

}

/* The softer scroll cue yields to direct interaction with any offer. */
.home-offer-links:not(:focus-within) .is-scroll-lit:not(:active) {
  border-color: #528de3;
  box-shadow: 0 0 20px rgb(51 122 220 / .16);
}
.home-offer-links:not(:focus-within) .is-scroll-lit:not(:active)::before { opacity: .60; }
.home-offer-links:not(:focus-within) .is-scroll-lit :is(.home-offer-links__number, .home-offer-links__arrow) { color: #fff; }
@media (hover: hover) and (pointer: fine) {
  .home-offer-links:has(.home-offer-links__link:hover) .is-scroll-lit:not(:hover):not(:focus-visible) { border-color: var(--line-strong); box-shadow: none; }
  .home-offer-links:has(.home-offer-links__link:hover) .is-scroll-lit:not(:hover):not(:focus-visible)::before { opacity: 0; }
  .home-offer-links:has(.home-offer-links__link:hover) .is-scroll-lit:not(:hover):not(:focus-visible) :is(.home-offer-links__number, .home-offer-links__arrow) { color: var(--brand); }
  .home-offer-links:not(:focus-within) .is-scroll-lit:hover { border-color: #fff; box-shadow: 0 0 24px rgba(59,140,235,.4); }
  .home-offer-links:not(:focus-within) .is-scroll-lit:hover::before { opacity: 1; }
}

@media (min-width: 901px) and (prefers-reduced-motion: no-preference) {
  .home-screening[data-reading-pending] .credits-more-wrap { visibility: hidden; }
}
@media screen and (prefers-reduced-motion: no-preference) {
  @supports (background-clip: text) or (-webkit-background-clip: text) {
    .home-screening.is-projecting .screening-word {
      --edge: clamp(-12%, calc((var(--lit-words) - var(--word-index)) * 124% - 12%), 112%);
      opacity: 1;
      background-image: linear-gradient(90deg, var(--screening-ink, #eff4fa) calc(var(--edge) - 10%), var(--screening-dim-ink) calc(var(--edge) + 10%));
      background-clip: text;
      -webkit-background-clip: text;
      color: transparent;
    }
  }
}
@media (forced-colors: active) {
  .home-screening.is-projecting .screening-word { background: none; color: CanvasText; opacity: 1; }
}
@media (max-width: 600px) {
  [data-home-page] .home-offer-stack__slot--manifest .home-offer-stack__card.premium-mask__surface {
    min-height: clamp(340px, 67svh, 580px);
    padding-bottom: 48px;
  }
  [data-home-page] .case-module--showcase { padding-top: calc(var(--home-section-gap) * .55); }
}

/* SOURCE: touch-sequence.css */
/* Shared by the homepage and Premium in a Box. */
.np-process__touch-card { display: contents; }
/* Touch-only sequences: natural document scrolling, no gesture interception.
   Tall cards scroll fully before their lower edge pins; short cards pin below navigation. */
@media (max-width: 900px), (max-width: 1366px) and (hover: none) and (pointer: coarse) {
  .is-touch-sequence { --touch-hold: clamp(72px, 16svh, 128px); }
  .home-offer-stack.is-touch-sequence { padding-bottom: var(--touch-hold); }
  .home-offer-stack.is-touch-sequence .home-offer-stack__slot {
    position: sticky; top: min(80px, calc(100svh - var(--touch-card-height) - 24px));
    height: auto; margin-bottom: var(--touch-hold);
  }
  .home-offer-stack.is-touch-sequence .home-offer-stack__slot:last-of-type { margin-bottom: 0; }
  .np-process.is-touch-sequence:not(.is-scrolling) .np-process__track { display: block; padding-bottom: var(--touch-hold); }
  .np-process.is-touch-sequence:not(.is-scrolling) .np-process__touch-card {
    display: block; position: sticky; top: min(80px, calc(100svh - var(--touch-card-height) - 24px));
    min-height: calc(100svh - 80px); padding-bottom: 24px; box-sizing: border-box;
    background: var(--bg-black); isolation: isolate; margin-bottom: var(--touch-hold);
  }
  .np-process.is-touch-sequence .np-process__touch-card:last-child { margin-bottom: 0; }
  /* Keep every image and every word available on landscape tablets too. */
  .np-process.is-touch-sequence:not(.is-scrolling) .np-process__slide--references { grid-template-columns: 1fr; }
  .np-process.is-touch-sequence .np-references__prompt { border-left: 0; border-top: 1px solid var(--brand-line); padding: 24px 0 0; }
}


/* SOURCE: footer-mobile.css */
/* Shared mobile outros. Opt-in classes keep offer-specific endings and desktop intact.
   Maintain this source, then rebuild HOME with maintenance/build-home.py. */
.footer-mobile-break { display: none; }

@media (max-width: 768px) {
  /* No viewport-height sizing: short phones and tall phones use the same rhythm.
     min-height is only a floor; wrapping and enlarged text can grow the footer. */
  body footer.footer-mobile:is(.footer-outro, .patron-outro) {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    height: auto;
    min-height: 460px;
    max-height: none;
    margin: 0;
    padding: 72px 20px max(24px, env(safe-area-inset-bottom, 0px));
    text-align: center;
  }

  body footer.footer-mobile:is(.footer-outro, .patron-outro) > :is(.footer-outro-content, .patron-outro-inner) {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 28px;
    width: 100%;
    max-width: 560px;
    min-width: 0;
    margin: 0;
    padding: 0;
    text-align: center;
  }

  body footer.footer-mobile:is(.footer-outro, .patron-outro) :is(h2, .footer-outro-heading) {
    width: 100%;
    max-width: 100%;
    margin: 0;
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: -0.055em;
    text-transform: uppercase;
    text-wrap: balance;
    overflow-wrap: anywhere;
  }

  body footer.footer-mobile.footer-mobile--conversation :is(h2, .footer-outro-heading) {
    font-size: clamp(1.375rem, 6.6vw, 2.5rem);
  }

  body footer.footer-mobile.footer-mobile--production :is(h2, .footer-outro-heading) {
    font-size: clamp(2rem, 9vw, 3rem);
  }

  .footer-mobile-break { display: initial; }

  body footer.footer-mobile:is(.footer-outro, .patron-outro) :is(.footer-contact-action, .premium-final-actions--footer) {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    width: 100%;
    margin: 0;
    padding: 0;
  }

  body footer.footer-mobile:is(.footer-outro, .patron-outro) :is(.ui-text-cta, .offer-contact-cta, .pearl-cta) {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-width: 0;
    max-width: 100%;
    min-height: 44px;
    margin: 0;
    padding: 8px 0;
    font-family: var(--font-display);
    font-size: 0.75rem;
    font-weight: 600;
    line-height: 1.4;
    letter-spacing: 0.055em;
    text-align: center;
    text-transform: uppercase;
    white-space: normal;
    overflow-wrap: anywhere;
  }

  body footer.footer-mobile:is(.footer-outro, .patron-outro) :is(.ui-text-cta, .offer-contact-cta, .pearl-cta) svg {
    width: 22px;
    height: 22px;
    flex: 0 0 22px;
  }

  body footer.footer-mobile:is(.footer-outro, .patron-outro) .footer-socials {
    gap: 14px;
    margin: 0;
  }

  body footer.footer-mobile:is(.footer-outro, .patron-outro) .footer-social-link {
    width: 56px;
    height: 56px;
    flex: 0 0 56px;
  }

  body footer.footer-mobile:is(.footer-outro, .patron-outro) .footer-social-link svg {
    width: 30px;
    height: 30px;
  }

  /* Keep legal/return links in flow so they cannot overlap enlarged content. */
  body footer.footer-mobile:is(.footer-outro, .patron-outro) > :is(.footer-copy, .patron-home-seo-link) {
    position: relative;
    inset: auto;
    z-index: 3;
    width: 100%;
    max-width: 560px;
    margin: 48px 0 0;
    transform: none;
    text-align: center;
  }
}

/* SOURCE: home-case-previews.css */
/* The existing still stays underneath throughout loading, playback and errors. */
[data-case-context="showcase"] .home-case-preview {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  pointer-events: none;
  opacity: 0;
  transform: translate3d(0, var(--case-drift, 0px), 0) scale(var(--case-zoom, 1.08));
  transition: opacity 220ms ease, transform 900ms cubic-bezier(0.16, 1, 0.3, 1);
}
@media (min-width: 901px) and (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  [data-case-context="showcase"] .is-preview-playing .home-case-preview { opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  [data-case-context="showcase"] .home-case-preview { transition: none; }
}

/* Two introductory reels, scoped to the curated homepage only. */
.case-gallery--reels .case-tile--portrait { cursor: default; }
.case-gallery--reels .case-tile--portrait .case-tile-title { width: 100%; max-width: 100%; }
@media (min-width: 981px) {
  .case-gallery--reels { grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: auto; }
  .case-gallery--reels > .case-tile { grid-column: span 1; min-height: clamp(250px, 25vw, 320px); }
  .case-gallery--reels > .case-tile:last-child { grid-column: 1 / -1; }
}
@media (max-width: 980px) {
  .case-gallery--reels { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: auto; }
  .case-gallery--reels .case-tile { grid-column: 1 / -1; aspect-ratio: 1.3 / 1; min-height: 0; }
  .case-gallery--reels .case-tile--portrait { grid-column: span 1; aspect-ratio: 9 / 16; }
}

/* Independent first row; three cards below it, then one full-width card. */
.case-reels-row { display: contents; }
@media (min-width: 981px) {
  .case-gallery--reels .case-reels-row {
    display: grid;
    grid-column: 1 / -1;
    grid-template-columns: 27fr 27fr 64fr;
    grid-template-rows: minmax(0, 1fr);
    aspect-ratio: 118 / 39;
    align-items: stretch;
    gap: 8px;
  }
  .case-gallery--reels .case-reels-row > .case-tile {
    grid-column: auto;
    min-height: 0;
    height: 100%;
    aspect-ratio: auto;
  }

}

/* SOURCE: offer-stack.css */
/* Offer cards: native desktop stacking and static touch layouts. */
[data-home-page] .home-offer-stack {
  width: min(1180px, calc(100% - var(--home-gutter, 22px) * 2));
  margin: var(--home-section-gap, 88px) auto 0;
  position: relative;
  isolation: isolate;
}
.home-offer-stack__slot { position: relative; margin: 0 0 24px; }
.home-offer-stack__slot:last-of-type { margin-bottom: 0; }
.home-offer-stack__card {
  display: grid; grid-template-columns: 1fr 1.15fr; grid-template-areas: "copy visual";
  min-width: 0; min-height: 400px; height: 100%;
  border: 1px solid var(--brand-line); border-radius: 12px;
  background: var(--surface-premium-solid);
  overflow: hidden; transform-origin: 50% 0;
}
.home-offer-stack__copy { grid-area: copy; padding: clamp(24px, 4vw, 52px); align-self: center; min-width: 0; }
.home-offer-stack__number { display: block; color: var(--brand); margin-bottom: 24px; font: inherit; }
.home-offer-stack__copy .ghost-title { margin: 0 0 20px; }
.home-offer-stack__copy .ghost-title::after {
  content: ''; display: block; width: 56px; height: 2px; margin-top: 20px; background: var(--brand);
}
.home-offer-stack__copy .ghost-desc { margin: 0 0 28px; }
.home-offer-stack__copy .ghost-desc--box { max-width: none; }
.ghost-desc--box > span { display: block; }
.home-offer-stack__copy .ui-text-cta { text-align: left; max-width: 100%; }
.home-offer-stack__visual { grid-area: visual; position: relative; margin: 0; min-width: 0; min-height: 300px; overflow: hidden; background: #080a0d; }
.home-offer-stack__image { display: block; width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.home-offer-stack__slot:focus-within { z-index: 10; }
/* Touch focus must not lift a card above the next card in the stack. */
[data-home-page] .home-offer-stack.is-touch-sequence > .home-offer-stack__slot:focus-within { z-index: auto; }
.home-offer-stack__slot:focus-within .home-offer-stack__card { outline: 2px solid var(--brand); outline-offset: -2px; }
@media (min-width: 901px) {
  .home-offer-stack__slot:nth-child(odd) .home-offer-stack__card {
    grid-template-columns: 1.15fr 1fr; grid-template-areas: "visual copy";
  }
}
@media (min-width: 901px) and (min-height: 700px) and (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .home-offer-stack {
    --offer-height: min(600px, 62svh);
    --offer-top: max(80px, calc((100svh - var(--offer-height)) / 2 - 22px));
  }
  .js .home-offer-stack:not(.is-stack-static) .home-offer-stack__slot {
    position: sticky; top: calc(var(--offer-top) + var(--offer-index) * 22px);
    height: var(--offer-height); margin-bottom: clamp(100px, 18svh, 200px);
  }
  .js .home-offer-stack:not(.is-stack-static) .home-offer-stack__slot:last-of-type { margin-bottom: 0; }
  .home-offer-stack.is-nearby:not(.is-stack-static) .home-offer-stack__card,
  .home-offer-stack.is-nearby:not(.is-stack-static) .home-offer-stack__image { will-change: transform; }
}
@media (max-width: 900px) {
  .home-offer-stack__card { grid-template-columns: 1fr; grid-template-areas: "visual" "copy"; min-height: 0; height: auto; }
  /* Preserve the source frame, including the square second offer. */
  .home-offer-stack__visual { min-height: 0; aspect-ratio: var(--offer-image-ratio, 16 / 9); max-height: min(520px, 65svh); }
  .home-offer-stack__image { object-fit: contain; object-position: center; }
  .home-offer-stack__copy { padding: 28px 24px; }
  .home-offer-stack__number { margin-bottom: 16px; }
  .home-offer-stack__copy .ui-text-cta { min-height: 44px; }
}

/* The fourth card compares two registered versions of the same frame. */
.home-offer-stack__card.home-offer-stack__card--compare { display: block; position: relative; }
.offer-compare { --compare-position: 50%; position: absolute; inset: 0; overflow: hidden; touch-action: pan-y; user-select: none; }
.offer-compare__image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; pointer-events: none; }
.offer-compare__image--before { clip-path: inset(0 0 0 var(--compare-position)); }
.offer-compare__shade { position: absolute; inset: 45% 0 0; pointer-events: none; background: linear-gradient(transparent, rgba(0,0,0,.82)); }
.offer-compare__title { position: absolute; z-index: 2; text-shadow: 0 2px 12px rgba(0,0,0,.7); left: 5%; right: 5%; bottom: clamp(22px,4vw,48px); margin: 0; color: #fff; text-align: center; pointer-events: none; }
.offer-compare__label { position: absolute; top: 20px; padding: 6px 10px; color: #fff; background: #0009; border: 1px solid transparent; border-radius: 6px; font: 600 12px/1.2 var(--font-body); pointer-events: none; transition: background-color 180ms ease, border-color 180ms ease, box-shadow 180ms ease; }
.offer-compare__label.is-active { background: var(--brand); color: #fff; border-color: #fff; box-shadow: 0 0 20px rgba(59,140,235,.4); }
@media (prefers-reduced-motion: reduce) { .offer-compare__label { transition: none; } }
.offer-compare__label--before { right: 20px; }.offer-compare__label--after { left: 20px; }
.offer-compare__divider { position: absolute; z-index: 1; top: 0; bottom: 0; left: var(--compare-position); width: 2px; background: #fff; transform: translateX(-50%); pointer-events: none; }
.offer-compare__handle { position: absolute; left: 50%; top: 43%; transform: translate(-50%,-50%); display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; border: 2px solid #fff; background: var(--brand); color: #fff; box-shadow: 0 0 22px #0007; font: 700 22px/1 var(--font-body); }
.offer-compare__divider { display: none; }
.offer-compare.is-ready .offer-compare__divider { display: block; }
.offer-compare:focus-within { outline: 3px solid var(--brand); outline-offset: -4px; }
.offer-compare__range { position: absolute; width: 1px; height: 1px; padding: 0; margin: 0; clip-path: inset(50%); overflow: hidden; }
@media (hover: hover) and (pointer: fine) { .offer-compare.is-ready { cursor: ew-resize; } }
@media (max-width: 900px) {
  .home-offer-stack__card.home-offer-stack__card--compare { aspect-ratio: 4 / 3; min-height: 260px; }
  .offer-compare__title { bottom: 20px; }
  .offer-compare__label { top: 12px; }.offer-compare__label--before { right: 12px; }.offer-compare__label--after { left: 12px; }
}

/* The same manifest is mounted here on desktop and restored outside on touch. */
.home-offer-stack__slot--manifest[hidden] { display: none !important; }
.home-offer-stack:has(> [data-offer-manifest-slot][hidden]) > .home-offer-stack__slot:nth-of-type(4) { margin-bottom: 0; }
.home-offer-stack__slot--manifest > .premium-mask { height: 100%; }
.home-offer-stack__card.premium-mask__surface {
  display: flex; min-height: 400px; height: 100%; padding: clamp(32px, 4vw, 56px);
  background: var(--bg-black); position: relative; top: auto;
}
.is-offer-manifest .premium-mask__headline { font-size: clamp(2.8rem, 5vw, 5.5rem); margin-bottom: 28px; }
.is-offer-manifest .premium-mask__text { font-size: clamp(2rem, 3.6vw, 4rem); }
.is-offer-manifest.is-statement-sticky::after { display: none; }
@media (prefers-reduced-motion: no-preference) {
  .home-offer-stack:has(.is-offer-manifest.is-statement-entering) + .case-module--showcase:not(:focus-within) { opacity: 0; pointer-events: none; }
}
@media (min-width: 901px) and (min-height: 700px) and (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .js .home-offer-stack:not(.is-stack-static) .home-offer-stack__slot--manifest { margin-bottom: 0; }
}
/* Match the typography of “Fragmenty workflow w praktyce”. */
[data-home-page] .offer-compare__title {
  color: var(--cinema-text, #f0f4fa); font: 600 clamp(1.18rem, 2.2vw, 1.7rem)/1.5 var(--font-display);
  letter-spacing: -.035em; text-wrap: balance;
}
@media (max-width: 768px) {
  [data-home-page] .offer-compare__title { font-size: 1.05rem; line-height: 1.56; }
}
/* Enlarge the case heading only where its existing size is smaller. */
@media (min-width: 982px) {
  [data-home-page] #caseModuleTitle {
    color: var(--cinema-text, #f0f4fa); font: 600 clamp(1.18rem, 2.2vw, 1.7rem)/1.5 var(--font-display);
    letter-spacing: -.035em; text-wrap: balance;
  }
}

.home-offer-stack__card--manifest{border-color:transparent}

/* Keep the first two offer frames full-width in the tablet layout. */
@media (min-width: 601px) and (max-width: 900px) {
  .home-offer-stack > .home-offer-stack__slot:nth-child(-n+2) .home-offer-stack__visual {
    width: 100%; height: auto; max-height: none; align-self: start;
  }
}

/* Homepage manifest: a little more headroom on desktop. */
@media (min-width:901px) and (hover:hover) and (pointer:fine) {
 [data-home-page] .home-offer-stack__card.premium-mask__surface { padding-block:64px; }
}
@media (min-width:901px) and (min-height:700px) and (hover:hover) and (pointer:fine) and (prefers-reduced-motion:no-preference) {
 .js [data-offer-stack]:not(.is-stack-static) > .home-offer-stack__slot--manifest {
  height:min(calc(var(--offer-height) + 96px),calc(100svh - var(--offer-top) - 88px - 24px));
 }
}
@media (max-width:900px), (hover:none), (pointer:coarse) {
 [data-home-page] .home-offer-stack__slot--manifest > .premium-mask { height:auto; }
 [data-home-page] .home-offer-stack__card.premium-mask__surface {
  height:auto; min-height:clamp(360px,70svh,600px);padding:72px 16px;
 }
 [data-home-page] .is-offer-manifest .premium-mask__headline {font-size:clamp(1.9rem,7.3vw,4rem);}
 [data-home-page] .is-offer-manifest .premium-mask__text {font-size:clamp(1.45rem,5.8vw,3.2rem);line-height:1.2;}
 [data-home-page] .is-offer-manifest .premium-mask__line {white-space:normal;}
 [data-home-page] .home-offer-stack.is-touch-sequence {padding-bottom:0;}
}

/* Only the card underneath the mobile comparison is softened. */
@media (max-width:900px), (max-width:1366px) and (hover:none) and (pointer:coarse) {
 .home-offer-stack.is-touch-sequence .home-offer-stack__card.is-compare-underlay { filter:blur(2px); }
}

/* Comparison reveal: poster remains visible until playback starts. */
.offer-compare__video {position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center;pointer-events:none;opacity:0;}
.offer-compare.is-video-visible .offer-compare__video {opacity:1;}
@media(max-width:900px),(hover:none),(pointer:coarse) {
 .offer-compare__video {display:none;}
 [data-home-page] .offer-compare__video {display:block;}
}
@media(prefers-reduced-motion:reduce) {
 .offer-compare__video,
 [data-home-page] .offer-compare__video {display:none;}
}

/* Chronicles: right-aligned copy, local shade, clear foreground camera. */
[data-home-page] .home-offer-stack__card--chronicles {
  position: relative; display: flex; align-items: flex-end; isolation: isolate;
  min-height: 400px; background: #080a0d;
}
[data-home-page] .home-offer-stack__card--chronicles .home-offer-stack__visual {
  position: absolute; inset: 0; width: 100%; height: 100%; min-height: 0;
  max-height: none; aspect-ratio: auto; z-index: -2;
}
[data-home-page] .home-offer-stack__card--chronicles .home-offer-stack__image {
  object-fit: cover; object-position: center 40%;
}
[data-home-page] .home-offer-stack__card--chronicles::after {
  content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(ellipse 62% 90% at 100% 100%, rgba(3,8,14,.97) 0%, rgba(3,8,14,.92) 45%, rgba(3,8,14,.65) 65%, transparent 100%);
}
[data-home-page] .home-offer-stack__card--chronicles .home-offer-stack__copy {
  align-self: flex-end; width: min(62%, 640px); margin-left: auto; text-align: right;
  padding: 24px clamp(24px,4vw,52px) 30px;
}
[data-home-page] .home-offer-stack__card--chronicles .home-offer-stack__number { margin-bottom: 10px; }
[data-home-page] .home-offer-stack__card--chronicles .ghost-title { margin-bottom: 12px; }
[data-home-page] .home-offer-stack__card--chronicles .ghost-title::after { margin-top: 12px; margin-left: auto; }
[data-home-page] .home-offer-stack__card--chronicles .ghost-desc { color: #e0e5ec; margin: 0 0 18px auto; }
[data-home-page] .home-offer-stack__card--chronicles .ui-text-cta { text-align: right; }
@media (max-width:900px) {
  [data-home-page] .home-offer-stack__card--chronicles { min-height: 0; padding-top: 56.25%; }
  [data-home-page] .home-offer-stack__card--chronicles .home-offer-stack__image {
    height: auto; aspect-ratio: 16 / 9; object-fit: cover; object-position: center;
  }
  [data-home-page] .home-offer-stack__card--chronicles::after {
    bottom: auto; aspect-ratio: 16 / 9;
    background: linear-gradient(180deg, transparent 75%, #080a0d 100%);
  }
  [data-home-page] .home-offer-stack__card--chronicles .home-offer-stack__copy { width: 100%; padding: 16px 24px 28px; }
}

/* Desktop only: allow the Chronicles description to use the full copy width. */
@media (min-width:901px) {
  [data-home-page] .home-offer-stack__card--chronicles .ghost-desc { max-width: none; }
}

/* Mobile second offer: a shorter photo area, with the bear's head retained. */
@media (max-width: 900px) {
  [data-home-page] .home-offer-stack__card[aria-labelledby="offerStackTitle2"] .home-offer-stack__visual {
    aspect-ratio: 4 / 3;
  }
  [data-home-page] .home-offer-stack__card[aria-labelledby="offerStackTitle2"] .home-offer-stack__image {
    object-fit: cover;
    object-position: center top;
  }
}

/* SOURCE: premium-mask.css */
/* Readable fallback; a short optional entrance precedes the blue cursor. */
[data-home-page] .premium-mask {
  width: 100%;
  margin: 0 auto;
}
.premium-mask__surface {
  display: flex; align-items: center; justify-content: center;
  position: relative; isolation: isolate; overflow: hidden;
  min-height: calc(100svh - var(--manifest-hold, 0px));
  padding: clamp(128px, 18svh, 280px) clamp(24px, 5vw, 88px);
}
.premium-mask__content {
  width: max-content; max-width: 100%; margin: 0 auto;
}
.premium-mask.is-statement-sticky { --manifest-hold: clamp(48px, 10svh, 100px); }
.premium-mask.is-statement-sticky::after { content: ''; display: block; height: var(--manifest-hold); }
.premium-mask.is-statement-sticky .premium-mask__surface { position: sticky; top: var(--statement-top, 0px); }
.premium-mask__headline {
  margin: 0 0 clamp(28px, 2.6vw, 44px);
  font-family: var(--font-display); font-size: clamp(2.8rem, 5.9vw, 6.8rem);
  font-weight: 700; line-height: 1.06; letter-spacing: -.055em;
  text-align: center; color: var(--text);
}
.premium-mask__text {
  width: 100%; margin: 0;
  font-family: var(--font-display); font-size: clamp(2.2rem, 4.7vw, 5.4rem);
  font-weight: 700; line-height: 1.12; letter-spacing: -.055em;
  text-align: center; color: var(--text);
}
.premium-mask__line { display: block; white-space: nowrap; }
.premium-mask__origin { display: inline-block; }
/* Exact Narrix logo fragment (480×260 source; 176×224 clapper viewport).
   Reuse the existing logo asset; no redrawing, extra animation or JS. */
.premium-mask__clapper {
  display: inline-block;
  width: .785714em; height: 1em;
  margin-left: .16em; vertical-align: -.13em;
  background: url('/assets/img/home-optimized/narrix-logo-480.webp') 0 0 / 2.142857em 1.160714em no-repeat;
}

.premium-mask__accent { color: var(--brand); }
.premium-mask__layer {
  display: flex; align-items: center;
  position: absolute; inset: 0; padding: inherit;
  pointer-events: none; opacity: 0;
  background: var(--brand);
  -webkit-mask-image: radial-gradient(circle var(--mask-radius, 0px) at var(--mask-x, -1000px) var(--mask-y, -1000px), #000 99%, transparent 100%);
  mask-image: radial-gradient(circle var(--mask-radius, 0px) at var(--mask-x, -1000px) var(--mask-y, -1000px), #000 99%, transparent 100%);
  transition: opacity 160ms ease;
}
.premium-mask__layer .premium-mask__headline,
.premium-mask__layer .premium-mask__text { color: var(--bg-black); }
/* Animate only the original text. The masked copy appears after it settles. */
@keyframes premium-statement-enter {
  from { opacity: 0; transform: translate3d(0, .28em, 0); clip-path: inset(0 0 100% 0); }
  to { opacity: 1; transform: translate3d(0, 0, 0); clip-path: inset(-.12em 0 -.12em 0); }
}
@media (prefers-reduced-motion: no-preference) {
  .premium-mask.is-statement-armed .premium-mask__surface > .premium-mask__content { opacity: 0; }
  .premium-mask.is-statement-revealing .premium-mask__surface > .premium-mask__content .premium-mask__headline,
  .premium-mask.is-statement-revealing .premium-mask__surface > .premium-mask__content .premium-mask__line {
    animation: premium-statement-enter 900ms cubic-bezier(.22,.7,.22,1) both;
  }
  .premium-mask.is-statement-revealing .premium-mask__surface > .premium-mask__content .premium-mask__line:nth-child(1) { animation-delay: 220ms; }
  .premium-mask.is-statement-revealing .premium-mask__surface > .premium-mask__content .premium-mask__line:nth-child(2) { animation-delay: 380ms; }
  .premium-mask.is-statement-revealing .premium-mask__surface > .premium-mask__content .premium-mask__line:nth-child(3) { animation-delay: 540ms; }
  .premium-mask.is-statement-revealing .premium-mask__surface > .premium-mask__content .premium-mask__line:nth-child(4) { animation-delay: 700ms; }
  .premium-mask.is-statement-entering + .case-module--showcase:not(:focus-within) { opacity: 0; pointer-events: none; }
}
@media (min-width: 901px) and (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .premium-mask.is-mask-active .premium-mask__layer { opacity: 1; }
}
@media (max-width: 900px), (prefers-reduced-motion: reduce) {
  .premium-mask__layer { display: none; }
}
@media (max-width: 900px) {
  .premium-mask.is-statement-sticky { --manifest-hold: 0px; }
  .premium-mask.is-statement-sticky .premium-mask__surface { position: relative; top: auto; }
  .premium-mask__surface { min-height: calc(70svh - var(--manifest-hold, 0px)); padding-block: clamp(72px, 10svh, 104px); padding-inline: var(--home-gutter); }
  .premium-mask__content { width: 100%; }
  .premium-mask__headline { font-size: clamp(1.9rem, 7.3vw, 4rem); }
  .premium-mask__text { width: 100%; font-size: clamp(1.45rem, 5.8vw, 3.2rem); line-height: 1.2; }
  .premium-mask__line { white-space: normal; }
  .premium-mask__line + .premium-mask__line { margin-top: .24em; }
  .premium-mask__accent { display: inline; }
  /* Static mobile circle, revealed with the case studies after the text settles.
     Absolute positioning preserves layout; no image, mask or animation needed. */
  .premium-mask.is-statement-finished .premium-mask__surface > .premium-mask__content .premium-mask__headline { position: relative; isolation: isolate; }
  .premium-mask.is-statement-finished [data-mask-origin] { position: relative; color: var(--bg-black); }
  .premium-mask.is-statement-finished [data-mask-origin]::before {
    content: ''; position: absolute; z-index: -1; pointer-events: none;
    width: 1.9em; height: 1.9em; border-radius: 50%; background: var(--brand);
    top: 50%; left: 50%; transform: translate(-50%, -50%);
  }
}

@keyframes premium-statement-fade { from { opacity: 0; } to { opacity: 1; } }
@media (max-width: 900px), (pointer: coarse) {
  .premium-mask.is-statement-revealing .premium-mask__surface > .premium-mask__content .premium-mask__headline,
  .premium-mask.is-statement-revealing .premium-mask__surface > .premium-mask__content .premium-mask__line { animation-name: premium-statement-fade; }
}

/* SOURCE: team-intro.css */
/* Shared introduction about the Narrix team: one source for every placement. */
html body p.narrix-team-intro {
  color: #b8c0cc;
  font-family: var(--font-display, 'Sora', sans-serif);
  font-size: clamp(1.18rem, 2.2vw, 1.7rem);
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: -0.035em;
}
html body p.narrix-team-intro strong { font-weight: inherit; }
@media (max-width:768px) {
  html body p.narrix-team-intro { font-size:1.05rem; font-weight:500; line-height:1.56; }
}
