/* ENVIA OS — multi-page cinematic marketing (AIR-inspired, not scroll-snap) */

@import url("../envia-tokens.css");

:root {
  --cine-bg: #030622;
  --cine-bg-soft: #f5f7fc;
  --cine-ink: #f7f9ff;
  --cine-muted: #8b93ad;
  --cine-accent: var(--envia-cyan400, #37dbf9);
  --cine-display: "Syne", system-ui, sans-serif;
  --cine-body: "Outfit", system-ui, sans-serif;
  --cine-header: 76px;
  --cine-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --cine-frame: rgba(255, 255, 255, 0.12);
}

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

html { scroll-behavior: smooth; }

body.envia-cinematic {
  margin: 0;
  font-family: var(--cine-body);
  color: var(--cine-ink);
  background: var(--cine-bg);
  -webkit-font-smoothing: antialiased;
}

body.envia-cinematic.is-entering {
  animation: cine-page-in 0.7s var(--cine-ease) both;
}

@keyframes cine-page-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

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

/* —— Announcement —— */
.cine-announce {
  position: fixed;
  inset: 0 0 auto;
  z-index: 101;
  padding: 10px clamp(20px, 4vw, 48px);
  text-align: center;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.04em;
  line-height: 1.45;
  color: rgba(247, 249, 255, 0.88);
  background: linear-gradient(90deg, rgba(39, 107, 255, 0.22), rgba(55, 219, 249, 0.14));
  border-bottom: 1px solid rgba(55, 219, 249, 0.18);
}

body.envia-cinematic {
  padding-top: 40px;
}

body.envia-cinematic .cine-header {
  top: 40px;
}

body.envia-cinematic .cine-mobile-menu {
  top: calc(var(--cine-header) + 40px);
}

.cine-core {
  margin: 0 0 20px;
  max-width: 52ch;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  line-height: 1.65;
  color: rgba(55, 219, 249, 0.92);
}

.cine-micro {
  margin: 16px 0 0;
  max-width: 48ch;
  font-size: 13px;
  font-weight: 300;
  line-height: 1.6;
  color: rgba(247, 249, 255, 0.62);
}

/* —— Proof strip (homepage) —— */
.cine-proof {
  padding: clamp(40px, 6vh, 72px) clamp(20px, 5vw, 80px);
  background: #050a2e;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.cine-proof__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 32px);
  max-width: 1200px;
  margin: 0 auto;
}

.cine-proof__item strong {
  display: block;
  margin-bottom: 10px;
  font-family: var(--cine-display);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--cine-ink);
}

.cine-proof__item p {
  margin: 0;
  font-size: 14px;
  font-weight: 300;
  line-height: 1.6;
  color: rgba(247, 249, 255, 0.68);
}

@media (max-width: 900px) {
  .cine-proof__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 560px) {
  .cine-proof__grid { grid-template-columns: 1fr; }
  .cine-announce { font-size: 10px; padding: 8px 16px; }
  body.envia-cinematic { padding-top: 52px; }
  body.envia-cinematic .cine-header { top: 52px; }
}

/* —— Header —— */
.cine-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--cine-header);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(20px, 4vw, 48px);
  background: linear-gradient(180deg, rgba(3, 6, 34, 0.65), transparent);
  transition: background 0.4s var(--cine-ease), backdrop-filter 0.4s;
}

.cine-header.is-solid {
  background: rgba(3, 6, 34, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.cine-header__logo img { height: 40px; width: auto; display: block; }

.cine-header__nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 28px);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.cine-header__nav a {
  opacity: 0.72;
  transition: opacity 0.25s, color 0.25s;
}

.cine-header__nav a:hover,
.cine-header__nav a.is-active {
  opacity: 1;
  color: var(--cine-accent);
}

.cine-header__cta {
  border: 1px solid rgba(55, 219, 249, 0.4);
  border-radius: 999px;
  padding: 10px 18px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: rgba(55, 219, 249, 0.08);
  transition: background 0.25s, border-color 0.25s;
}

.cine-header__cta:hover {
  background: rgba(55, 219, 249, 0.16);
  border-color: var(--cine-accent);
}

.cine-menu-toggle {
  display: none;
  appearance: none;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: transparent;
  border-radius: 8px;
  width: 44px;
  height: 44px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
}

.cine-menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: #fff;
}

.cine-mobile-menu {
  display: none;
  position: fixed;
  inset: var(--cine-header) 0 auto;
  z-index: 99;
  flex-direction: column;
  gap: 16px;
  padding: 24px;
  background: rgba(3, 6, 34, 0.96);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.cine-mobile-menu.is-open { display: flex; }

/* —— Hero (per page, one viewport) —— */
.cine-hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  align-items: end;
  overflow: hidden;
}

.cine-hero__media {
  will-change: transform;
  transition: transform 0.08s linear;
}

.cine-hero[data-cine-parallax] .cine-hero__media {
  transform-origin: center top;
}

.cine-hero--short { min-height: 72vh; }

.cine-hero__media {
  position: absolute;
  inset: 0;
  background: var(--cine-bg);
}

.cine-video {
  width: 100%;
  height: 100%;
  display: block;
}

.cine-hero__media--cover .cine-video {
  object-fit: cover;
  object-position: 50% 42%;
}


/* Sole-trader photography heroes + sliders */
.cine-slider__slide img {
  object-fit: cover;
  object-position: center 32%;
}

.cine-hero__media--cover .cine-hero__image:not(.cine-hero__image--copy-safe) {
  object-fit: cover;
  object-position: center 28%;
}

.cine-frame--sophie img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: inherit;
  object-fit: cover;
}

.cine-sophie-audio--link {
  text-decoration: none;
}

.cine-sophie-audio--link:hover {
  color: #fff;
}

.cine-hero__image,
.cine-hero__media--contain .cine-video,
.cine-frame .cine-video {
  object-fit: contain;
  object-position: center center;
}

.cine-hero__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(3, 6, 34, 0.08) 0%, rgba(3, 6, 34, 0.35) 45%, rgba(3, 6, 34, 0.92) 100%);
  pointer-events: none;
}

.cine-hero__shade--copy-safe {
  background:
    linear-gradient(100deg, rgba(3, 6, 34, 0.97) 0%, rgba(3, 6, 34, 0.82) 34%, rgba(3, 6, 34, 0.18) 58%, rgba(3, 6, 34, 0.35) 100%),
    linear-gradient(180deg, rgba(3, 6, 34, 0.12) 0%, rgba(3, 6, 34, 0.55) 52%, rgba(3, 6, 34, 0.94) 100%);
}

.cine-hero__media--cover .cine-hero__image--copy-safe {
  object-fit: cover;
  object-position: 72% 30%;
}

/* Homepage landing — subject sits far right in frame; default copy-safe anchor clips her face */
.envia-cinematic--landing .cine-hero__media--cover .cine-hero__image--copy-safe {
  object-position: 58% 30%;
}

.cine-hero__content {
  position: relative;
  z-index: 2;
  padding: calc(var(--cine-header) + 32px) clamp(20px, 5vw, 80px) clamp(40px, 7vh, 80px);
  max-width: 980px;
}

.cine-kicker {
  display: block;
  margin-bottom: 16px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--cine-accent);
}

.cine-title {
  margin: 0 0 16px;
  font-family: var(--cine-display);
  font-size: clamp(40px, 7.5vw, 88px);
  font-weight: 600;
  line-height: 0.95;
  letter-spacing: -0.03em;
}

.cine-title__line {
  display: block;
}

.cine-word {
  display: inline-block;
  opacity: 0;
  transform: translateY(1.1em);
  animation: cine-word-in 0.75s var(--cine-ease) forwards;
  animation-delay: calc(0.04s * var(--cine-word-i, 0) + 0.12s);
}

@keyframes cine-word-in {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

[data-cine-split].is-split .cine-lead,
[data-cine-split].is-split .cine-micro,
[data-cine-split].is-split .cine-core {
  animation: cine-fade-up 0.8s var(--cine-ease) 0.35s both;
}

@keyframes cine-fade-up {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: none; }
}

.cine-class {
  margin: 0;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(247, 249, 255, 0.68);
}

.cine-class strong { color: var(--cine-ink); font-weight: 600; }

.cine-lead {
  margin: 20px 0 0;
  max-width: 42ch;
  font-size: clamp(16px, 1.5vw, 19px);
  font-weight: 300;
  line-height: 1.7;
  color: rgba(247, 249, 255, 0.78);
}

.cine-hero__next {
  position: absolute;
  right: clamp(20px, 5vw, 80px);
  bottom: 40px;
  z-index: 3;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(247, 249, 255, 0.55);
  display: flex;
  align-items: center;
  gap: 12px;
  transition: color 0.25s;
}

.cine-hero__next:hover { color: var(--cine-accent); }

.cine-hero__next::after {
  content: "↓";
  font-size: 14px;
  animation: cine-bounce 1.6s ease-in-out infinite;
}

@keyframes cine-bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(6px); }
}

/* —— Landing site map (AIR “master plan”) —— */
.cine-map {
  padding: clamp(48px, 8vh, 96px) clamp(20px, 5vw, 80px);
  background: var(--cine-bg);
}

.cine-map__head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 48px;
}

.cine-map__head .cine-title {
  font-size: clamp(32px, 5vw, 56px);
}

.cine-map__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  max-width: 1080px;
  margin: 0 auto;
  border: 1px solid var(--cine-frame);
  background: var(--cine-frame);
}

.cine-map__cell {
  display: grid;
  place-items: center;
  min-height: 100px;
  padding: 24px 16px;
  background: rgba(3, 6, 34, 0.85);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-align: center;
  transition: background 0.35s var(--cine-ease), color 0.35s;
}

.cine-map__cell:hover {
  background: rgba(55, 219, 249, 0.12);
  color: var(--cine-accent);
}

.cine-map__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 40px;
}

.cine-btn {
  appearance: none;
  border: 0;
  border-radius: 999px;
  padding: 14px 28px;
  font-family: var(--cine-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 0.25s var(--cine-ease);
}

.cine-btn--primary {
  background: linear-gradient(135deg, #276bff, var(--cine-accent));
  color: #030622;
}

.cine-btn--ghost {
  background: transparent;
  color: var(--cine-ink);
  border: 1px solid rgba(255, 255, 255, 0.22);
}

.cine-btn:hover { transform: translateY(-2px); }

/* —— Page body (light band below hero) —— */
.cine-body {
  background: var(--cine-bg-soft);
  color: #0a1044;
  padding: clamp(48px, 8vh, 88px) clamp(20px, 5vw, 80px);
}

.cine-body .cine-kicker { color: #276bff; }

.cine-body .cine-title {
  font-size: clamp(32px, 4.5vw, 52px);
  color: #0a1044;
}

.cine-body .cine-lead {
  color: #3d4560;
  font-weight: 400;
}

.cine-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.cine-frame {
  aspect-ratio: 16 / 10;
  border: 1px solid rgba(10, 16, 68, 0.1);
  background: #0a1044;
  overflow: hidden;
}

.cine-frame img,
.cine-frame video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
}

.cine-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  margin-top: 0;
  padding-top: 0;
}

.cine-stats-band {
  position: relative;
  z-index: 3;
  padding: 0 clamp(20px, 5vw, 80px) clamp(32px, 5vh, 56px);
}

.cine-stats-band--dark {
  background: linear-gradient(180deg, transparent, rgba(3, 6, 34, 0.55));
}

.cine-stats-band--dark .cine-stat {
  border-top-color: rgba(255, 255, 255, 0.14);
}

.cine-stats-band--dark .cine-stat__value {
  color: var(--cine-ink);
}

.cine-stats-band--dark .cine-stat__unit,
.cine-stats-band--dark .cine-stat__label {
  color: rgba(247, 249, 255, 0.62);
}

.cine-stats-band--light {
  padding: 32px 0 0;
}

.cine-stat {
  border-top: 1px solid rgba(10, 16, 68, 0.12);
  padding-top: 16px;
}

.cine-stat__row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 8px;
}

.cine-stat__value {
  font-family: var(--cine-display);
  font-size: clamp(28px, 3vw, 44px);
  font-weight: 600;
  line-height: 1;
}

.cine-stat__unit {
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #5a6478;
}

.cine-stat__label {
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #5a6478;
  line-height: 1.45;
}

/* —— Scroll reveal (per page, not full-site snap) —— */
.cine-reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.85s var(--cine-ease), transform 0.85s var(--cine-ease);
}

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

/* —— Page pager (next page link) —— */
.cine-pager {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 32px clamp(20px, 5vw, 80px) 56px;
  background: var(--cine-bg);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.cine-pager a { color: var(--cine-muted); transition: color 0.25s; }
.cine-pager a:hover { color: var(--cine-accent); }

.cine-footer {
  padding: 28px clamp(20px, 5vw, 80px) 40px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px 32px;
  justify-content: space-between;
  font-size: 12px;
  color: var(--cine-muted);
  background: var(--cine-bg);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.cine-footer a:hover { color: var(--cine-accent); }

/* Hide legacy hero when cinematic wrapper is used */
body.envia-cinematic-page .page-hero:first-of-type,
body.envia-cinematic-page .ambient-bg { display: none !important; }

body.envia-cinematic-page main {
  padding-top: 0 !important;
}

body.envia-cinematic-page .page-section,
body.envia-cinematic-page .page-hero {
  max-width: 1200px;
}

body.envia-cinematic-page .page-section .section-title h2,
body.envia-cinematic-page .page-section h2,
body.envia-cinematic-page .page-hero h1 {
  font-family: var(--cine-display);
  font-weight: 600;
  letter-spacing: -0.02em;
}

body.envia-cinematic-page .eyebrow {
  font-family: var(--cine-body);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

body.envia-cinematic-page .lead,
body.envia-cinematic-page .page-section p {
  font-family: var(--cine-body);
  font-weight: 300;
  line-height: 1.7;
}

@media (max-width: 991px) {
  .cine-header__nav a:not(.cine-header__cta) { display: none; }
  .cine-menu-toggle { display: flex; }
  .cine-split { grid-template-columns: 1fr; }
  .cine-stats { grid-template-columns: repeat(2, 1fr); }
  .cine-map__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 560px) {
  .cine-map__grid { grid-template-columns: 1fr; }
}

/* —— Media slider —— */
.cine-slider-wrap {
  padding: clamp(40px, 6vh, 72px) clamp(20px, 5vw, 80px);
  background: #050a2e;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.cine-slider-wrap__head {
  max-width: 720px;
  margin: 0 auto 28px;
  text-align: center;
}

.cine-slider-wrap__head .cine-title {
  font-size: clamp(28px, 4vw, 44px);
}

.cine-slider {
  position: relative;
  max-width: 1080px;
  margin: 0 auto;
  aspect-ratio: 16 / 9;
  border: 1px solid var(--cine-frame);
  background: #0a1044;
  overflow: hidden;
}

.cine-slider__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.85s var(--cine-ease);
  pointer-events: none;
}

.cine-slider__slide.is-active {
  opacity: 1;
  pointer-events: auto;
}

.cine-slider__slide img,
.cine-slider__slide video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
}

.cine-slider__chrome {
  position: absolute;
  inset: auto 16px 16px;
  display: flex;
  justify-content: space-between;
  pointer-events: none;
}

.cine-slider__nav {
  pointer-events: auto;
  appearance: none;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(3, 6, 34, 0.72);
  color: var(--cine-ink);
  width: 40px;
  height: 40px;
  border-radius: 999px;
  cursor: pointer;
  font-size: 14px;
  transition: border-color 0.25s, background 0.25s;
}

.cine-slider__nav:hover {
  border-color: var(--cine-accent);
  background: rgba(55, 219, 249, 0.12);
}

.cine-slider__dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
}

.cine-slider__dots--compact {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 12px;
  margin-top: 0;
}

.cine-slider__dot {
  appearance: none;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  border: 0;
  background: rgba(255, 255, 255, 0.28);
  cursor: pointer;
  transition: transform 0.25s, background 0.25s;
}

.cine-slider__dot.is-active {
  background: var(--cine-accent);
  transform: scale(1.25);
}

.cine-frame--slider {
  position: relative;
  aspect-ratio: 16 / 10;
}

.cine-frame--slider [data-cine-slide] {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.85s var(--cine-ease);
}

.cine-frame--slider [data-cine-slide].is-active {
  opacity: 1;
}

.cine-frame--slider [data-cine-slide] img,
.cine-frame--slider [data-cine-slide] video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.cine-frame--slider .cine-slider__dots--compact .cine-slider__dot {
  background: rgba(10, 16, 68, 0.25);
}

.cine-frame--slider .cine-slider__dots--compact .cine-slider__dot.is-active {
  background: #276bff;
}

/* —— View Transitions —— */
@view-transition {
  navigation: auto;
}

::view-transition-old(root) {
  animation: cine-vt-out 0.42s var(--cine-ease) both;
}

::view-transition-new(root) {
  animation: cine-vt-in 0.42s var(--cine-ease) both;
}

@keyframes cine-vt-out {
  to { opacity: 0; transform: scale(0.985); filter: blur(4px); }
}

@keyframes cine-vt-in {
  from { opacity: 0; transform: scale(1.012); filter: blur(4px); }
  to { opacity: 1; transform: none; filter: none; }
}

/* —— Lenis —— */
html.lenis,
html.lenis body {
  height: auto;
}

.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}

.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}

/* —— Custom cursor —— */
body.cine-has-cursor,
body.cine-has-cursor * {
  cursor: none !important;
}

.cine-cursor {
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  mix-blend-mode: difference;
}

.cine-cursor__dot,
.cine-cursor__ring {
  position: fixed;
  top: 0;
  left: 0;
  border-radius: 999px;
  pointer-events: none;
  will-change: transform;
}

.cine-cursor__dot {
  width: 6px;
  height: 6px;
  margin: -3px 0 0 -3px;
  background: #fff;
}

.cine-cursor__ring {
  width: 36px;
  height: 36px;
  margin: -18px 0 0 -18px;
  border: 1px solid rgba(255, 255, 255, 0.85);
  transition: width 0.25s var(--cine-ease), height 0.25s var(--cine-ease), margin 0.25s var(--cine-ease), opacity 0.25s;
}

.cine-cursor.is-hover .cine-cursor__ring {
  width: 52px;
  height: 52px;
  margin: -26px 0 0 -26px;
  opacity: 0.75;
}

.cine-cursor.is-hidden {
  opacity: 0;
}

@media (prefers-reduced-motion: reduce) {
  .cine-word {
    opacity: 1;
    transform: none;
    animation: none;
  }

  ::view-transition-old(root),
  ::view-transition-new(root) {
    animation: none;
  }

  .cine-hero__media {
    transform: none !important;
  }
}

/* —— How it works steps —— */
.cine-steps {
  padding: clamp(72px, 10vw, 120px) var(--cine-gutter);
  max-width: var(--cine-max);
  margin: 0 auto;
}

.cine-steps__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin-top: 40px;
}

.cine-step {
  padding: 28px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.cine-step__num {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  color: var(--cine-cyan);
  margin-bottom: 12px;
}

.cine-step h3 {
  font-size: 1.05rem;
  margin: 0 0 10px;
  line-height: 1.35;
}

.cine-step p {
  margin: 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.95rem;
  line-height: 1.55;
}

/* —— Trade apps —— */
.cine-trades {
  padding: clamp(72px, 10vw, 120px) var(--cine-gutter);
  max-width: var(--cine-max);
  margin: 0 auto;
}

.cine-trades__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 24px;
  margin-top: 40px;
}

.cine-trade {
  text-align: center;
  padding: 28px 18px 24px;
  border-radius: 20px;
  background: #fff;
  border: 1px solid rgba(10, 16, 68, 0.08);
  box-shadow: 0 18px 40px rgba(3, 6, 34, 0.12);
  color: #0a1044;
  transition: transform 0.35s var(--cine-ease), border-color 0.35s, box-shadow 0.35s var(--cine-ease);
}

.cine-trade:hover {
  transform: translateY(-4px);
  border-color: rgba(55, 219, 249, 0.45);
  box-shadow: 0 22px 48px rgba(3, 6, 34, 0.16), 0 0 0 1px rgba(55, 219, 249, 0.12);
}

.cine-trade img {
  width: 96px;
  height: 96px;
  object-fit: contain;
  margin: 0 auto 16px;
  display: block;
}

.cine-trade strong {
  display: block;
  font-size: 0.98rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: #0a1044;
}

.cine-trade span {
  font-size: 0.8rem;
  color: #5b6478;
  letter-spacing: 0.02em;
}

/* —— Sophie section —— */
.cine-sophie {
  padding: clamp(72px, 10vw, 120px) var(--cine-gutter);
  max-width: var(--cine-max);
  margin: 0 auto;
}

.cine-split--sophie .cine-sophie-media {
  position: relative;
  width: 100%;
  max-width: 520px;
  margin: 0 auto;
}

.cine-split--sophie .cine-frame--sophie {
  aspect-ratio: 1088 / 704;
  width: 100%;
  border-radius: 20px;
  border-color: rgba(56, 189, 248, 0.22);
  box-shadow: 0 24px 80px rgba(3, 6, 34, 0.45), 0 0 0 1px rgba(56, 189, 248, 0.08);
  background: #050a2e;
}

.cine-split--sophie .cine-frame--sophie .cine-video {
  object-fit: contain;
  object-position: center center;
}

.cine-sophie-audio {
  position: absolute;
  right: 14px;
  bottom: 14px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(55, 219, 249, 0.45);
  background: rgba(3, 6, 34, 0.82);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: var(--cine-ink);
  font-family: var(--cine-body);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.25s, border-color 0.25s, color 0.25s;
}

.cine-sophie-audio:hover,
.cine-sophie-audio.is-on {
  background: rgba(55, 219, 249, 0.16);
  border-color: var(--cine-accent);
  color: var(--cine-accent);
}

.cine-sophie-audio__icon {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.cine-sophie-audio.is-on .cine-sophie-audio__icon path:last-child {
  opacity: 1;
}

.cine-sophie__callout {
  margin-top: 16px;
  color: rgba(255, 255, 255, 0.85);
}

/* —— Industries —— */
.cine-industries {
  padding: clamp(72px, 10vw, 120px) var(--cine-gutter);
  max-width: var(--cine-max);
  margin: 0 auto;
}

.cine-industries__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 32px;
}

.cine-chip {
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 0.85rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.78);
}

/* —— FAQ —— */
.cine-faq {
  padding: clamp(72px, 10vw, 120px) var(--cine-gutter);
  max-width: 720px;
  margin: 0 auto;
}

.cine-faq__list {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cine-faq__item {
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.cine-faq__item summary {
  padding: 18px 22px;
  cursor: pointer;
  font-weight: 600;
  list-style: none;
}

.cine-faq__item summary::-webkit-details-marker {
  display: none;
}

.cine-faq__item p {
  margin: 0;
  padding: 0 22px 18px;
  color: rgba(255, 255, 255, 0.62);
  line-height: 1.55;
  font-size: 0.95rem;
}

/* —— Finale CTA —— */
.cine-finale {
  padding: clamp(80px, 12vw, 140px) var(--cine-gutter);
  text-align: center;
  background: linear-gradient(180deg, transparent 0%, rgba(56, 189, 248, 0.06) 50%, transparent 100%);
}

.cine-finale__inner {
  max-width: 640px;
  margin: 0 auto;
}

.cine-finale__mark {
  margin: 0 auto 24px;
  display: block;
}

.cine-finale .cine-map__cta {
  justify-content: center;
  margin-top: 28px;
}

/* —— Rich footer —— */
.cine-footer--rich {
  padding: 56px var(--cine-gutter) 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.cine-footer__grid {
  max-width: var(--cine-max);
  margin: 0 auto 40px;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
}

.cine-footer__brand p {
  margin: 16px 0 0;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.55;
  max-width: 280px;
}

.cine-footer__label {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: 14px;
}

.cine-footer--rich a {
  display: block;
  color: rgba(255, 255, 255, 0.72);
  text-decoration: none;
  font-size: 0.9rem;
  margin-bottom: 10px;
  transition: color 0.2s;
}

.cine-footer--rich a:hover {
  color: var(--cine-cyan);
}

.cine-footer__base {
  max-width: var(--cine-max);
  margin: 0 auto;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.45);
}

/* —— Legacy body on inner pages —— */
.cine-legacy-body {
  max-width: var(--cine-max);
  margin: 0 auto;
  padding: 48px var(--cine-gutter) 72px;
}

.cine-legacy-body .page-section {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 20px;
  padding: 32px;
  margin-bottom: 24px;
}

.cine-legacy-body h2,
.cine-legacy-body h3 {
  color: rgba(255, 255, 255, 0.92);
}

.cine-legacy-body p,
.cine-legacy-body li {
  color: rgba(255, 255, 255, 0.62);
}

.cine-legacy-body .control-band {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(24px, 4vw, 40px);
  align-items: center;
  padding: clamp(28px, 4vw, 42px) !important;
}

.cine-legacy-body .control-list {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  width: 100%;
  align-content: stretch;
}

.cine-legacy-body .control-list span {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: auto !important;
  min-height: 76px;
  padding: 16px 18px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: 0.01em;
  text-transform: none;
  text-align: left;
  color: #0a1044;
  background: #fff;
  border: 1px solid rgba(10, 16, 68, 0.1);
  border-radius: 16px;
  box-shadow: 0 16px 36px rgba(3, 6, 34, 0.14);
  transition: transform 0.25s var(--cine-ease), border-color 0.25s var(--cine-ease), box-shadow 0.25s var(--cine-ease);
}

.cine-legacy-body .control-list span::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #37dbf9;
  box-shadow: 0 0 12px rgba(55, 219, 249, 0.65);
  margin-right: 12px;
  flex: 0 0 auto;
}

.cine-legacy-body .control-list span:hover {
  transform: translateY(-2px);
  border-color: rgba(55, 219, 249, 0.45);
  box-shadow: 0 20px 42px rgba(3, 6, 34, 0.18), 0 0 0 1px rgba(55, 219, 249, 0.12);
}

@media (max-width: 900px) {
  .cine-legacy-body .control-band {
    grid-template-columns: 1fr;
  }

  .cine-legacy-body .control-list {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 560px) {
  .cine-legacy-body .control-list {
    grid-template-columns: 1fr;
  }
}


@media (max-width: 768px) {
  .cine-footer__grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .cine-trades__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}


/* —— AI Workforce: department shells + staff grid —— */
.cine-legacy-body .department-grid.large {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.cine-legacy-body .staff-department-shell {
  display: grid;
  grid-template-columns: minmax(220px, 0.34fr) minmax(0, 1fr);
  gap: clamp(20px, 3vw, 32px);
  margin-bottom: 22px;
  padding: clamp(22px, 3vw, 32px) !important;
}

.cine-legacy-body .department-sidebar .dept-label {
  display: block;
  margin-bottom: 10px;
  color: var(--cine-accent, #8feeff);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.cine-legacy-body .department-sidebar h3 {
  margin: 0 0 12px;
  font-size: clamp(1.25rem, 2vw, 1.65rem);
}

.cine-legacy-body .department-meta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 18px;
}

.cine-legacy-body .department-meta-grid span {
  padding: 8px 10px;
  border-radius: 10px;
  font-size: 11px;
  font-weight: 700;
  color: #c5d4ea;
  background: rgba(143, 238, 255, 0.06);
  border: 1px solid rgba(143, 238, 255, 0.12);
}

.cine-legacy-body .utility-panel {
  margin-bottom: 18px;
  padding: 16px 18px;
  border-radius: 16px;
  background: rgba(4, 10, 24, 0.55);
  border: 1px solid rgba(143, 238, 255, 0.12);
}

.cine-legacy-body .utility-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.cine-legacy-body .utility-chip-row span {
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  color: #dff7ff;
  background: rgba(143, 238, 255, 0.08);
  border: 1px solid rgba(143, 238, 255, 0.16);
}

.cine-legacy-body .staff-grid-refresh {
  display: grid;
  gap: 16px;
}

.cine-legacy-body .staff-grid-refresh.count-1 { grid-template-columns: 1fr; }
.cine-legacy-body .staff-grid-refresh.count-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cine-legacy-body .staff-grid-refresh.count-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cine-legacy-body .staff-grid-refresh.count-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cine-legacy-body .staff-grid-refresh.count-5 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cine-legacy-body .staff-grid-refresh.count-6 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.cine-legacy-body .premium-staff-card {
  padding: 20px !important;
  min-height: 100%;
}

.cine-legacy-body .staff-card-top {
  display: grid;
  grid-template-columns: 62px 1fr;
  gap: 14px;
  align-items: center;
  margin-bottom: 14px;
}

.cine-legacy-body .premium-staff-card h3 {
  margin: 0 0 4px;
  font-size: 1.1rem;
}

.cine-legacy-body .premium-staff-card b {
  display: block;
  color: #8feeff;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.4;
}

.cine-legacy-body .module-tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 12px;
}

.cine-legacy-body .module-tag-list span {
  padding: 5px 9px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 700;
  color: #c5d4ea;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.cine-legacy-body .premium-staff-card small {
  display: block;
  margin-top: 10px;
  color: #aebad0;
  font-size: 12px;
  line-height: 1.5;
}

@media (max-width: 1024px) {
  .cine-legacy-body .staff-department-shell {
    grid-template-columns: 1fr;
  }
  .cine-legacy-body .staff-grid-refresh.count-3,
  .cine-legacy-body .staff-grid-refresh.count-5,
  .cine-legacy-body .staff-grid-refresh.count-6 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .cine-legacy-body .department-grid.large,
  .cine-legacy-body .staff-grid-refresh {
    grid-template-columns: 1fr !important;
  }
}

/* —— AI Workforce: staff portraits + bio video embeds (#full-workforce) —— */
.cine-legacy-body #full-workforce .premium-staff-card .avatar.avatar--photo {
  overflow: hidden;
  background: rgba(11, 21, 41, 0.95);
}

.cine-legacy-body #full-workforce .premium-staff-card .avatar.avatar--photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 50%;
}

.cine-legacy-body #full-workforce .premium-staff-card .avatar.avatar--photo span {
  display: none;
}

.cine-legacy-body #full-workforce .staff-bio-embed {
  position: relative;
  margin: 0 0 16px;
  border-radius: 18px;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: rgba(4, 10, 24, 0.88);
  border: 1px solid rgba(143, 238, 255, 0.16);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.28);
}

.cine-legacy-body #full-workforce .staff-bio-embed__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  background: #060d1c;
}

.cine-legacy-body #full-workforce .staff-bio-embed__play {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  background: linear-gradient(180deg, rgba(3, 8, 20, 0.08), rgba(3, 8, 20, 0.55));
  color: #fff;
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: background 0.2s ease, opacity 0.2s ease;
}

.cine-legacy-body #full-workforce .staff-bio-embed__icon {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(3, 12, 25, 0.62);
  border: 2px solid rgba(255, 255, 255, 0.72);
  box-shadow: 0 0 28px rgba(30, 231, 255, 0.35);
  font-size: 18px;
  line-height: 1;
}

.cine-legacy-body #full-workforce .staff-bio-embed.is-playing .staff-bio-embed__play {
  opacity: 0;
  pointer-events: none;
}

.cine-legacy-body #full-workforce .staff-bio-embed.is-playing:hover .staff-bio-embed__play,
.cine-legacy-body #full-workforce .staff-bio-embed.is-playing:focus-within .staff-bio-embed__play {
  opacity: 1;
  pointer-events: auto;
  background: linear-gradient(180deg, transparent, rgba(3, 8, 20, 0.72));
}

.cine-legacy-body #full-workforce .staff-bio-embed__play:hover .staff-bio-embed__icon {
  box-shadow: 0 0 36px rgba(30, 231, 255, 0.5);
}

@media (max-width: 760px) {
  .cine-legacy-body #full-workforce .staff-bio-embed {
    border-radius: 16px;
  }
}

/* —— Cinematic inner pages: modules polish —— */
.cine-header__logo img {
  width: clamp(132px, 12vw, 168px);
  height: auto;
  display: block;
}

.cine-header__nav a {
  position: relative;
  padding: 8px 2px;
  outline: none;
  text-decoration: none;
}

.cine-header__nav a:focus-visible {
  outline: 2px solid rgba(55, 219, 249, 0.55);
  outline-offset: 4px;
  border-radius: 4px;
}

.cine-header__nav a.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 2px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--cine-accent), rgba(168, 96, 255, 0.9));
  box-shadow: 0 0 10px rgba(55, 219, 249, 0.4);
}

/* Modules hero — text left, visual right, no overlap */
.page-modules .cine-hero__media--cover .cine-video {
  object-fit: cover;
  object-position: 72% center;
}

.page-modules .cine-hero__shade {
  background:
    linear-gradient(105deg, rgba(3, 6, 34, 0.98) 0%, rgba(3, 6, 34, 0.94) 44%, rgba(3, 6, 34, 0.5) 64%, rgba(3, 6, 34, 0.78) 100%),
    linear-gradient(180deg, rgba(3, 6, 34, 0.15) 0%, rgba(3, 6, 34, 0.88) 100%);
}

.page-modules .cine-hero__content {
  max-width: min(680px, 54vw);
}

.page-modules .cine-legacy-body .section-title {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 28px;
}

.page-modules .cine-legacy-body .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  border-radius: 999px;
  color: #d7b8ff;
  background: rgba(143, 68, 255, 0.13);
  border: 1px solid rgba(185, 96, 255, 0.35);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.page-modules .cine-legacy-body .module-system-section.page-section {
  padding: 0;
  background: transparent;
  border: 0;
  margin-bottom: 32px;
}

.page-modules .cine-legacy-body .module-system-preview {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 24px;
  align-items: center;
  padding: 32px !important;
  overflow: hidden;
  background:
    radial-gradient(circle at 24% 50%, rgba(30, 231, 255, 0.12), transparent 38%),
    linear-gradient(145deg, rgba(9, 24, 47, 0.94), rgba(12, 13, 36, 0.92)) !important;
  border: 1px solid rgba(143, 238, 255, 0.14);
  border-radius: 24px;
}

.page-modules .cine-legacy-body .module-system-core {
  padding: 28px;
  border-radius: 22px;
  border: 1px solid rgba(30, 231, 255, 0.18);
  background: rgba(255, 255, 255, 0.035);
  min-height: 300px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.page-modules .cine-legacy-body .module-system-core img {
  width: 52px;
  margin-bottom: 18px;
}

.page-modules .cine-legacy-body .module-system-core span {
  color: #62efff;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 11px;
  font-weight: 800;
  margin-bottom: 10px;
}

.page-modules .cine-legacy-body .module-system-core strong {
  font-size: clamp(28px, 3vw, 38px);
  line-height: 1.05;
  letter-spacing: -0.04em;
  color: #fff;
  max-width: 420px;
  margin-bottom: 12px;
}

.page-modules .cine-legacy-body .module-system-core p {
  font-size: 16px;
  line-height: 1.6;
  color: #b7c6dd;
  margin: 0;
  max-width: 480px;
}

.page-modules .cine-legacy-body .module-system-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.page-modules .cine-legacy-body .module-system-grid > div {
  display: grid;
  grid-template-columns: 48px 1fr;
  grid-template-rows: auto auto;
  gap: 4px 12px;
  align-items: center;
  min-height: 108px;
  padding: 16px;
  border-radius: 18px;
  background: rgba(13, 31, 58, 0.82);
  border: 1px solid rgba(155, 199, 255, 0.14);
}

.page-modules .cine-legacy-body .module-system-grid i {
  grid-row: span 2;
  width: 48px;
  height: 48px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  color: #56f0ff;
  background: rgba(30, 231, 255, 0.08);
  border: 1px solid rgba(30, 231, 255, 0.22);
  font-style: normal;
}

.page-modules .cine-legacy-body .module-system-grid i svg {
  width: 22px;
  height: 22px;
}

.page-modules .cine-legacy-body .module-system-grid strong {
  display: block;
  color: #fff;
  font-size: 17px;
  line-height: 1.1;
}

.page-modules .cine-legacy-body .module-system-grid small {
  display: block;
  color: #aebdd4;
  font-size: 13px;
  line-height: 1.35;
}

.page-modules .cine-legacy-body .all-modules-inventory {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 8px;
}

.page-modules .cine-legacy-body .inventory-card {
  border: 1px solid rgba(103, 237, 255, 0.14);
  border-radius: 20px;
  padding: 18px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.065), rgba(255, 255, 255, 0.025));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.025);
  min-height: 168px;
}

.page-modules .cine-legacy-body .inventory-card h3 {
  margin: 0 0 8px;
  font-size: 1.05rem;
  color: #fff;
  letter-spacing: -0.02em;
}

.page-modules .cine-legacy-body .inventory-card p {
  margin: 0 0 12px;
  color: #bed0e8;
  line-height: 1.45;
  font-size: 0.92rem;
}

.page-modules .cine-legacy-body .inventory-card > span {
  display: inline-flex;
  border-radius: 999px;
  padding: 6px 9px;
  border: 1px solid rgba(103, 237, 255, 0.16);
  background: rgba(103, 237, 255, 0.08);
  color: #95f5ff;
  font-size: 0.72rem;
  font-weight: 800;
  margin-bottom: 10px;
}

.page-modules .cine-legacy-body .inventory-card strong {
  display: block;
  color: #fff;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 8px;
  opacity: 0.9;
}

.page-modules .cine-legacy-body .inventory-card ul {
  margin: 0;
  padding-left: 17px;
  color: #cbdcf4;
  font-size: 0.84rem;
  line-height: 1.45;
}

.page-modules .cine-legacy-body .module-count-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(183, 108, 255, 0.3);
  background: rgba(183, 108, 255, 0.1);
  color: #fff;
  border-radius: 999px;
  padding: 8px 12px;
  font-weight: 800;
  box-shadow: 0 0 20px rgba(183, 108, 255, 0.14);
}

.page-modules .cine-legacy-body .module-category-list {
  display: grid;
  gap: 20px;
}

.page-modules .cine-legacy-body .module-category-card {
  padding: 26px !important;
  background: linear-gradient(145deg, rgba(17, 34, 61, 0.92), rgba(17, 23, 44, 0.88)) !important;
}

.page-modules .cine-legacy-body .module-category-head {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 16px;
  align-items: start;
  margin-bottom: 18px;
}

.page-modules .cine-legacy-body .module-category-head h3 {
  font-size: clamp(22px, 2.4vw, 28px);
  margin: 0 0 6px;
}

.page-modules .cine-legacy-body .module-mini-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.page-modules .cine-legacy-body .module-mini-grid > div {
  min-height: 140px;
  padding: 14px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(155, 199, 255, 0.12);
}

.page-modules .cine-legacy-body .module-mini-grid strong {
  display: block;
  color: #fff;
  font-size: 14px;
  margin-bottom: 6px;
}

.page-modules .cine-legacy-body .module-mini-grid span {
  display: block;
  color: #8feeff;
  font-size: 11px;
  font-weight: 800;
  margin-bottom: 8px;
}

.page-modules .cine-legacy-body .module-mini-grid small {
  display: block;
  color: #aebad0;
  line-height: 1.45;
  font-size: 12px;
}

.page-modules .cine-legacy-body .comparison-table {
  overflow: hidden;
  padding: 0 !important;
}

.page-modules .cine-legacy-body .comparison-table table {
  width: 100%;
  border-collapse: collapse;
}

.page-modules .cine-legacy-body .comparison-table th,
.page-modules .cine-legacy-body .comparison-table td {
  padding: 16px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  text-align: left;
}

.page-modules .cine-legacy-body .comparison-table th {
  color: #fff;
  background: rgba(255, 255, 255, 0.035);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.page-modules .cine-legacy-body .comparison-table td {
  color: #c2cee5;
  font-size: 14px;
}

.page-modules .cine-legacy-body .comparison-table td:first-child {
  font-weight: 800;
  color: #fff;
}

@media (max-width: 1180px) {
  .page-modules .cine-legacy-body .all-modules-inventory {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .page-modules .cine-legacy-body .module-mini-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .page-modules .cine-hero__content {
    max-width: none;
  }

  .page-modules .cine-legacy-body .module-system-preview {
    grid-template-columns: 1fr;
  }

  .page-modules .cine-legacy-body .module-system-core {
    min-height: 0;
  }
}

@media (max-width: 720px) {
  .page-modules .cine-legacy-body .all-modules-inventory,
  .page-modules .cine-legacy-body .module-system-grid,
  .page-modules .cine-legacy-body .module-mini-grid {
    grid-template-columns: 1fr;
  }
}

.page-modules .cine-legacy-body {
  width: 100%;
  max-width: min(1240px, calc(100% - 2 * var(--cine-gutter)));
}

/* —— Website preview picker (website-previews hero) —— */
.cine-website-picker-wrap {
  width: min(1240px, calc(100% - 2 * var(--cine-gutter, 24px)));
  margin: 0 auto clamp(48px, 6vw, 88px);
}

.cine-website-picker-wrap__head {
  text-align: center;
  margin-bottom: clamp(28px, 4vw, 44px);
}

.cine-website-picker-wrap__head .cine-title {
  font-size: clamp(1.75rem, 3.2vw, 2.75rem);
  margin: 10px 0 0;
}

.cine-website-picker {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 320px);
  gap: clamp(20px, 3vw, 36px);
  align-items: start;
}

.cine-website-picker__stage {
  min-width: 0;
}

.cine-website-picker__laptop {
  position: relative;
  width: min(100%, 920px);
  margin: 0 auto;
  aspect-ratio: 3000 / 1900;
  filter: drop-shadow(0 32px 78px rgba(0, 0, 0, 0.55));
}

.cine-website-picker__frame {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  pointer-events: none;
  z-index: 2;
}

.cine-website-picker__viewport {
  position: absolute;
  left: 17.83%;
  top: 9.73%;
  width: 64.34%;
  height: 58.58%;
  overflow: hidden;
  background: #05070c;
  z-index: 1;
}

.cine-website-picker__iframe-scale {
  transform-origin: top left;
  will-change: transform;
}

.cine-website-picker__iframe {
  display: block;
  width: 1280px;
  height: 800px;
  border: 0;
  background: #fff;
}

.cine-website-picker__loading {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #8feeff;
  background: rgba(5, 7, 12, 0.72);
  z-index: 3;
}

.cine-website-picker__loading[hidden] {
  display: none;
}

.cine-website-picker__open {
  display: inline-flex;
  margin: 14px auto 0;
  width: fit-content;
  color: #8feeff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-decoration: none;
}

.cine-website-picker__open:hover {
  color: #fff;
}

.cine-website-picker__stage {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.cine-website-picker__rail {
  padding: 18px 18px 20px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(143, 238, 255, 0.14);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.cine-website-picker__rail-lead {
  margin: 0 0 14px;
  color: #aebad0;
  font-size: 13px;
  line-height: 1.45;
}

.cine-website-picker__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.cine-website-picker__item {
  width: 100%;
  text-align: left;
  padding: 14px 14px 12px;
  border-radius: 14px;
  border: 1px solid rgba(155, 199, 255, 0.12);
  background: rgba(4, 8, 18, 0.55);
  color: #fff;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.cine-website-picker__item:hover {
  border-color: rgba(143, 238, 255, 0.35);
  background: rgba(8, 16, 32, 0.8);
}

.cine-website-picker__item.is-active {
  border-color: rgba(143, 238, 255, 0.55);
  background: linear-gradient(135deg, rgba(85, 234, 255, 0.12), rgba(177, 118, 255, 0.1));
  box-shadow: 0 0 0 1px rgba(143, 238, 255, 0.12);
}

.cine-website-picker__item-name {
  display: block;
  font-size: 15px;
  font-weight: 800;
  margin-bottom: 4px;
}

.cine-website-picker__item-tag {
  display: block;
  color: #c2cee5;
  font-size: 12px;
  line-height: 1.4;
  margin-bottom: 8px;
}

.cine-website-picker__item-industry {
  display: inline-block;
  padding: 4px 8px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #8feeff;
  background: rgba(143, 238, 255, 0.1);
}

.cine-website-picker__browse {
  display: inline-flex;
  margin-top: 16px;
  color: #8feeff;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

.cine-website-picker__browse:hover {
  color: #fff;
}

@media (max-width: 960px) {
  .cine-website-picker {
    grid-template-columns: 1fr;
  }

  .cine-website-picker__rail {
    order: -1;
  }

  .cine-website-picker__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .cine-website-picker__list {
    grid-template-columns: 1fr;
  }
}

/* —— Cinematic inner pages: website-previews polish —— */
.page-website-previews .cine-hero__media--cover .cine-video {
  object-fit: cover;
  object-position: 68% center;
}

.page-website-previews .cine-hero__image {
  object-position: 72% center;
}

.page-website-previews .cine-hero__shade {
  background:
    linear-gradient(105deg, rgba(3, 6, 34, 0.97) 0%, rgba(3, 6, 34, 0.9) 36%, rgba(3, 6, 34, 0.2) 58%, rgba(3, 6, 34, 0.72) 100%),
    linear-gradient(180deg, rgba(3, 6, 34, 0.08) 0%, rgba(3, 6, 34, 0.88) 100%);
}

.page-website-previews .cine-hero__content {
  max-width: min(640px, 52vw);
}

.page-website-previews .cine-stats-band {
  margin-top: clamp(18px, 3vw, 28px);
}

.page-website-previews .cine-website-picker-wrap {
  margin-top: clamp(8px, 2vw, 18px);
  padding-top: clamp(12px, 2vw, 24px);
  position: relative;
}

.page-website-previews .cine-website-picker-wrap::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  width: min(920px, 88%);
  height: 1px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, rgba(143, 238, 255, 0.35), transparent);
}

.page-website-previews .cine-legacy-body {
  width: 100%;
  max-width: min(1240px, calc(100% - 2 * var(--cine-gutter, 24px)));
  padding-top: clamp(36px, 5vw, 56px);
}

.page-website-previews .cine-legacy-body .page-section {
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 0;
  margin-bottom: clamp(40px, 5vw, 64px);
  max-width: none;
}

.page-website-previews .cine-legacy-body .section-title {
  text-align: center;
  max-width: 760px;
  margin: 0 auto clamp(22px, 3vw, 32px);
}

.page-website-previews .cine-legacy-body .section-title h2 {
  font-size: clamp(1.75rem, 3.2vw, 2.65rem);
  line-height: 1.08;
  margin: 10px 0 12px;
  color: #fff;
}

.page-website-previews .cine-legacy-body .section-title p {
  color: #aebad0;
  font-size: 1rem;
  line-height: 1.55;
}

.page-website-previews .cine-legacy-body .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #8feeff;
  background: rgba(143, 238, 255, 0.1);
  border: 1px solid rgba(143, 238, 255, 0.22);
}

.page-website-previews .cine-legacy-body .website-preview-chips-v94 {
  margin-top: 8px;
}

.page-website-previews .cine-legacy-body .website-preview-grid-v94 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.page-website-previews .cine-legacy-body .website-template-card-v94 {
  min-height: 100%;
}

.page-website-previews .cine-legacy-body .ai-preview-builder-cta-v106 {
  margin-bottom: clamp(40px, 5vw, 64px);
}

.page-website-previews .cine-legacy-body .ai-builder-embed-v106 {
  border-radius: 24px;
  border: 1px solid rgba(143, 238, 255, 0.18);
  background: linear-gradient(135deg, rgba(85, 234, 255, 0.08), rgba(177, 118, 255, 0.1));
  padding: clamp(22px, 3vw, 28px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 20px;
  align-items: center;
}

.page-website-previews .cine-legacy-body .ai-builder-embed-v106 h3 {
  margin: 0 0 8px;
  color: #fff;
  font-size: clamp(1.2rem, 2vw, 1.5rem);
}

.page-website-previews .cine-legacy-body .ai-builder-embed-v106 p {
  margin: 0;
  color: #aebad0;
  line-height: 1.5;
}

.page-website-previews .cine-legacy-body .website-preview-next-panel-v94 {
  border-radius: 24px;
}

.page-website-previews .cine-header__nav a.is-active {
  color: #8feeff;
  text-shadow: 0 0 18px rgba(143, 238, 255, 0.35);
}

@media (max-width: 980px) {
  .page-website-previews .cine-hero__content {
    max-width: none;
  }

  .page-website-previews .cine-legacy-body .website-preview-grid-v94 {
    grid-template-columns: 1fr;
  }

  .page-website-previews .cine-legacy-body .ai-builder-embed-v106 {
    grid-template-columns: 1fr;
  }
}

/* —— Contact / Book demo page —— */
.page-contact main {
  padding-top: 0;
}

.cine-contact-page {
  width: min(1560px, calc(100% - 2 * var(--cine-gutter, 24px)));
  margin: 0 auto clamp(48px, 6vw, 72px);
  padding-top: clamp(88px, 10vw, 108px);
}

.cine-contact-page__intro {
  max-width: 720px;
  margin-bottom: clamp(28px, 4vw, 40px);
}

.cine-contact-page__intro .cine-title {
  font-size: clamp(2rem, 4.2vw, 3.35rem);
  line-height: 1.02;
  margin: 10px 0 14px;
}

.cine-contact-page__intro .cine-lead {
  max-width: 640px;
}

.cine-contact-experience {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(300px, 400px);
  gap: clamp(24px, 3.5vw, 36px);
  align-items: start;
}

.cine-contact-experience__os-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}

.cine-contact-experience__os-head strong {
  display: block;
  color: #fff;
  font-size: 15px;
  margin-bottom: 4px;
}

.cine-contact-experience__os-head span {
  display: block;
  color: #8feeff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.cine-contact-experience__open {
  color: #8feeff;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.cine-contact-experience__open:hover {
  color: #fff;
}

.cine-contact-experience__imac {
  position: relative;
  width: 100%;
  max-width: 1122px;
  margin: 0;
  aspect-ratio: 1122 / 904;
  line-height: 0;
  filter: drop-shadow(0 40px 96px rgba(0, 0, 0, 0.58));
}

.cine-contact-experience__frame {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  pointer-events: none;
}

.cine-contact-experience__viewport {
  position: absolute;
  left: 4.19%;
  right: 4.1%;
  top: 4.65%;
  bottom: 30.64%;
  overflow: hidden;
  background: #050b1d;
  z-index: 1;
  line-height: normal;
}

.cine-contact-experience__viewport[data-runtime-embed] iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 100%;
  border: 0;
  background: #050914;
}

.cine-contact-experience__viewport.is-blocked iframe {
  opacity: 0.12;
  pointer-events: none;
}

.cine-contact-embed-fallback {
  display: none;
  position: absolute;
  inset: 0;
  z-index: 2;
  padding: 12px;
  background: rgba(2, 6, 17, 0.92);
  place-items: center;
}

.cine-contact-experience__viewport.is-blocked .cine-contact-embed-fallback {
  display: grid;
}

.cine-contact-embed-fallback .panel {
  text-align: center;
  max-width: 28ch;
}

.cine-contact-embed-fallback h3 {
  margin: 10px 0 8px;
  color: #fff;
  font-size: 1rem;
}

.cine-contact-embed-fallback p {
  margin: 0 0 14px;
  color: #b7c7de;
  font-size: 12px;
  line-height: 1.5;
}

.cine-contact-embed-fallback code {
  font-size: 11px;
  color: #8fefff;
}

.cine-contact-experience__mobile-note {
  display: none;
  margin: 12px 0 0;
  text-align: center;
  font-size: 13px;
  color: #9eb0cb;
}

.cine-contact-experience__mobile-note a {
  color: #8fefff;
}

.cine-contact-experience__chat-head {
  margin-bottom: 14px;
}

.cine-contact-experience__chat-head h2 {
  font-size: clamp(1.35rem, 2.2vw, 1.75rem);
  margin: 8px 0 8px;
  color: #fff;
}

.cine-contact-experience__chat-head p {
  margin: 0;
  color: #aebad0;
  font-size: 14px;
  line-height: 1.5;
}

.cine-contact-sophie-panel {
  padding: 0 !important;
  overflow: hidden;
  border-radius: 22px;
  border: 1px solid rgba(143, 238, 255, 0.16);
  background: rgba(4, 8, 18, 0.72);
  min-height: min(72vh, 640px);
}

.cine-contact-sophie-panel .marketing-hub-viewport {
  min-height: min(72vh, 640px);
  height: 100%;
  padding: 0;
}

.cine-contact-sophie-panel .marketing-hub-shell--compact {
  min-height: min(72vh, 640px);
  height: 100%;
}

.page-contact .cine-finale {
  margin-top: 0;
}

@media (min-width: 1280px) {
  .cine-contact-page {
    width: min(1680px, calc(100% - 2 * var(--cine-gutter, 32px)));
  }

  .cine-contact-experience {
    grid-template-columns: minmax(0, 1.85fr) minmax(320px, 420px);
  }

  .cine-contact-experience__imac {
    max-width: 1122px;
  }
}

@media (max-width: 900px) {
  .cine-contact-experience__viewport[data-runtime-embed] iframe {
    display: none;
  }

  .cine-contact-experience__mobile-note {
    display: block;
  }
}

@media (max-width: 1040px) {
  .cine-contact-experience {
    grid-template-columns: 1fr;
  }

  .cine-contact-experience__chat {
    order: -1;
  }

  .cine-contact-sophie-panel {
    min-height: 520px;
  }
}
