/*
Theme Name: JM Art Creative Studio
Theme URI: https://jm-art.eu/
Author: JM Art + Codex
Description: Dwujęzyczny motyw WordPress dla JM Art Creative Studio PL/DE.
Version: 31.0.0
Text Domain: jm-art
*/
@font-face {
  font-family: "Inter";
  src: url("inter-latin-ext.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

@font-face {
  font-family: "Playfair Display";
  src: url("playfair-latin-ext.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
}

:root {
  --ink: #f8f4ea;
  --paper: #07111d;
  --charcoal: #101116;
  --graphite: #20232b;
  --night: #07111d;
  --teal: #0af2e3;
  --rose: #b80165;
  --sapphire: #18a7e0;
  --champagne: #dfe7ef;
  --clay: #7d5cff;
  --mist: rgba(255, 255, 255, 0.72);
  --line: rgba(255, 255, 255, 0.18);
  --dark-line: rgba(16, 17, 22, 0.14);
  --radius: 8px;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.32);
  --display-serif: Georgia, "Times New Roman", "Playfair Display", serif;
  color-scheme: dark;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--night);
  color: var(--ink);
  line-height: 1.5;
}

body::selection {
  background: var(--champagne);
  color: var(--charcoal);
}

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

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

button,
input,
textarea,
select {
  font: inherit;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 50;
  width: 100%;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(7, 17, 29, 0.78);
  backdrop-filter: blur(18px);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1180px, calc(100% - 40px));
  min-height: 74px;
  margin: 0 auto;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border: 1px solid transparent;
  overflow: hidden;
  background:
    linear-gradient(rgba(7, 17, 29, 0.72), rgba(7, 17, 29, 0.72)) padding-box,
    linear-gradient(135deg, rgba(10, 242, 227, 0.8), rgba(223, 231, 239, 0.42), rgba(184, 1, 101, 0.82)) border-box;
  border-radius: var(--radius);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.12),
    0 0 18px rgba(10, 242, 227, 0.14),
    0 10px 30px rgba(0, 0, 0, 0.24);
  color: transparent;
  font-family: var(--display-serif);
  font-size: 19px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 1px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.brand-text strong {
  font-size: 13px;
}

.brand-text span {
  color: rgba(248, 244, 234, 0.66);
  font-size: 10px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  color: rgba(248, 244, 234, 0.8);
  font-size: 14px;
}

.nav-links a {
  position: relative;
  padding: 4px 0;
}

.nav-links a::after {
  position: absolute;
  right: 0;
  bottom: -4px;
  left: 0;
  height: 1px;
  background: linear-gradient(90deg, var(--teal), var(--rose), var(--champagne));
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.nav-links a:hover::after,
.nav-links a:focus-visible::after {
  transform: scaleX(1);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.lang-switch {
  display: inline-flex;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  padding: 4px;
  background: rgba(255, 255, 255, 0.06);
}

.lang-switch a {
  border-radius: 999px;
  padding: 6px 9px;
  color: rgba(248, 244, 234, 0.76);
  font-size: 12px;
  line-height: 1;
}

.lang-switch a[aria-current="page"] {
  background: var(--ink);
  color: var(--charcoal);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
  color: var(--ink);
  cursor: pointer;
}

.menu-toggle svg {
  margin: auto;
}

.hero {
  position: relative;
  min-height: 96svh;
  overflow: hidden;
  isolation: isolate;
}

.hero-art {
  position: absolute;
  inset: 0;
  z-index: -4;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center right;
  opacity: 0.94;
}

.hero::before {
  position: absolute;
  inset: 0;
  z-index: -3;
  background-image:
    linear-gradient(90deg, rgba(7, 17, 29, 0.99) 0%, rgba(7, 17, 29, 0.86) 34%, rgba(7, 17, 29, 0.12) 78%),
    linear-gradient(180deg, rgba(7, 17, 29, 0.12) 0%, var(--night) 100%);
  background-position: center;
  background-size: cover;
  content: "";
}

.hero::after {
  position: absolute;
  inset: auto 0 0;
  z-index: -2;
  height: 34%;
  background: linear-gradient(180deg, transparent, var(--night));
  content: "";
}

.hero-inner {
  display: grid;
  align-items: center;
  width: min(1180px, calc(100% - 40px));
  min-height: 96svh;
  margin: 0 auto;
  padding: 124px 0 96px;
}

.hero-copy {
  width: min(760px, 100%);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 20px;
  color: rgba(248, 244, 234, 0.76);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 36px;
  height: 1px;
  background: linear-gradient(90deg, var(--teal), var(--rose), var(--champagne));
  content: "";
}

h1,
h2,
h3 {
  margin: 0;
  font-family: var(--display-serif);
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.02;
}

h1,
h2 {
  text-shadow:
    0 4px 18px rgba(0, 0, 0, 0.42),
    0 0 34px rgba(10, 242, 227, 0.08),
    0 0 38px rgba(184, 1, 101, 0.08);
}

h1 {
  max-width: 780px;
  font-size: clamp(48px, 8vw, 98px);
}

.accent-line {
  display: block;
  margin-top: 0.08em;
  background: linear-gradient(92deg, var(--teal), #dfe7ef 42%, var(--rose));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 0.52em;
  font-style: italic;
  font-weight: 700;
  line-height: 1.12;
  text-shadow: none;
  filter:
    drop-shadow(0 2px 10px rgba(0, 0, 0, 0.36))
    drop-shadow(0 0 16px rgba(10, 242, 227, 0.25))
    drop-shadow(0 0 18px rgba(184, 1, 101, 0.18));
}

.gradient-word {
  background: linear-gradient(92deg, var(--teal), #dfe7ef 43%, var(--rose));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: none;
  filter:
    drop-shadow(0 2px 10px rgba(0, 0, 0, 0.36))
    drop-shadow(0 0 16px rgba(10, 242, 227, 0.24))
    drop-shadow(0 0 18px rgba(184, 1, 101, 0.18));
}

h2 {
  font-size: clamp(34px, 5vw, 66px);
}

.hero-title {
  max-width: 780px;
  margin: 0;
}

h3 {
  font-size: clamp(24px, 3vw, 34px);
}

.lead {
  max-width: 680px;
  margin: 24px 0 0;
  color: rgba(248, 244, 234, 0.78);
  font-size: clamp(18px, 2vw, 22px);
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}

.pill {
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 8px 12px;
  background:
    linear-gradient(rgba(7, 17, 29, 0.72), rgba(7, 17, 29, 0.72)) padding-box,
    linear-gradient(120deg, rgba(10, 242, 227, 0.72), rgba(184, 1, 101, 0.72)) border-box;
  color: rgba(248, 244, 234, 0.78);
  font-size: 13px;
  box-shadow: 0 10px 28px rgba(10, 242, 227, 0.08);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  position: relative;
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  isolation: isolate;
  gap: 18px;
  min-height: 62px;
  border: 1px solid transparent;
  border-radius: 999px;
  overflow: hidden;
  padding: 8px 56px 8px 12px;
  background:
    radial-gradient(circle at 18% 50%, rgba(10, 242, 227, 0.18), transparent 34%) padding-box,
    radial-gradient(circle at 90% 50%, rgba(184, 1, 101, 0.24), transparent 36%) padding-box,
    linear-gradient(100deg, rgba(5, 15, 29, 0.96), rgba(14, 22, 39, 0.92) 52%, rgba(44, 8, 43, 0.92)) padding-box,
    linear-gradient(100deg, var(--teal), rgba(223, 231, 239, 0.82) 48%, var(--rose)) border-box;
  color: var(--ink);
  font-weight: 800;
  letter-spacing: 0.01em;
  text-shadow: 0 0 18px rgba(248, 244, 234, 0.22);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.24),
    inset 0 -18px 34px rgba(6, 16, 27, 0.35),
    0 0 0 1px rgba(10, 242, 227, 0.12),
    0 0 28px rgba(10, 242, 227, 0.2),
    0 0 32px rgba(184, 1, 101, 0.22),
    0 18px 54px rgba(0, 0, 0, 0.32);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.button::before {
  position: absolute;
  right: 26px;
  top: 50%;
  z-index: 1;
  width: 16px;
  height: 16px;
  color: rgba(255, 255, 255, 0.92);
  content: "";
  font-size: 18px;
  line-height: 1;
  text-shadow:
    0 0 10px rgba(255, 255, 255, 0.92),
    0 0 18px rgba(184, 1, 101, 0.85);
  transform: translateY(-50%);
}

.button::after {
  position: absolute;
  top: -70%;
  left: -30%;
  z-index: 0;
  width: 62%;
  height: 240%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.62), transparent);
  content: "";
  transform: rotate(22deg) translateX(-150%);
  transition: transform 480ms ease;
}

.button-symbol {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  border: 1px solid transparent;
  border-radius: 50%;
  background:
    radial-gradient(circle at 34% 28%, rgba(255, 255, 255, 0.72), transparent 30%) padding-box,
    linear-gradient(135deg, var(--teal), rgba(223, 231, 239, 0.68), var(--rose)) border-box,
    linear-gradient(135deg, rgba(10, 242, 227, 0.42), rgba(184, 1, 101, 0.32));
  box-shadow:
    inset 0 0 0 2px rgba(255, 255, 255, 0.14),
    0 0 20px rgba(10, 242, 227, 0.36),
    0 0 24px rgba(184, 1, 101, 0.26);
}

.button-symbol::after {
  position: absolute;
  right: -18px;
  top: 6px;
  bottom: 6px;
  width: 1px;
  background: linear-gradient(180deg, transparent, rgba(223, 231, 239, 0.62), transparent);
  content: "";
}

.button-symbol svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: var(--teal);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.2;
  filter: drop-shadow(0 0 8px rgba(10, 242, 227, 0.72));
}

.button-copy {
  position: relative;
  z-index: 1;
  white-space: nowrap;
}

.button:hover,
.button:focus-visible {
  border-color: rgba(255, 255, 255, 0.72);
  transform: translateY(-3px) scale(1.015);
  box-shadow:
    0 0 0 1px rgba(10, 242, 227, 0.28),
    0 18px 60px rgba(10, 242, 227, 0.28),
    0 18px 70px rgba(184, 1, 101, 0.26);
}

.button:hover::after,
.button:focus-visible::after {
  transform: rotate(22deg) translateX(320%);
}

.button.primary {
  color: var(--ink);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.18),
    inset 0 -18px 34px rgba(6, 16, 27, 0.35),
    0 0 30px rgba(10, 242, 227, 0.28),
    0 0 42px rgba(184, 1, 101, 0.32),
    0 18px 62px rgba(0, 0, 0, 0.34);
}

.button.secondary {
  background:
    radial-gradient(circle at 18% 50%, rgba(10, 242, 227, 0.13), transparent 34%) padding-box,
    radial-gradient(circle at 90% 50%, rgba(184, 1, 101, 0.18), transparent 36%) padding-box,
    linear-gradient(100deg, rgba(5, 15, 29, 0.94), rgba(14, 22, 39, 0.9) 52%, rgba(36, 14, 43, 0.88)) padding-box,
    linear-gradient(100deg, rgba(10, 242, 227, 0.82), rgba(223, 231, 239, 0.5), rgba(184, 1, 101, 0.82)) border-box;
  color: var(--ink);
}

.hero-scroll {
  position: absolute;
  right: max(20px, calc((100vw - 1180px) / 2));
  bottom: 36px;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
}

.section {
  padding: 92px 0;
}

.section.alt {
  background:
    radial-gradient(circle at 16% 22%, rgba(10, 242, 227, 0.16), transparent 26%),
    radial-gradient(circle at 86% 24%, rgba(184, 1, 101, 0.12), transparent 30%),
    linear-gradient(135deg, #07111d 0%, #0a1322 58%, #090817 100%);
  color: var(--ink);
}

.section.soft {
  background:
    radial-gradient(circle at 14% 28%, rgba(10, 242, 227, 0.14), transparent 28%),
    radial-gradient(circle at 88% 72%, rgba(184, 1, 101, 0.13), transparent 32%),
    linear-gradient(135deg, #07111d, #101827 72%, #0b0712);
}

.wrap {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.7fr);
  gap: 40px;
  align-items: end;
  margin-bottom: 44px;
}

.section-head p {
  margin: 0;
  color: rgba(248, 244, 234, 0.7);
  font-size: 18px;
}

.alt .section-head p {
  color: rgba(248, 244, 234, 0.7);
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.proof {
  position: relative;
  overflow: hidden;
  min-height: 172px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: var(--radius);
  padding: 22px;
  background:
    radial-gradient(circle at 18% 14%, rgba(10, 242, 227, 0.17), transparent 36%),
    radial-gradient(circle at 92% 86%, rgba(184, 1, 101, 0.17), transparent 42%),
    linear-gradient(135deg, rgba(13, 42, 51, 0.42), rgba(18, 24, 39, 0.82) 54%, rgba(39, 13, 44, 0.42));
  box-shadow: 0 20px 54px rgba(0, 0, 0, 0.16);
}

.proof::after {
  position: absolute;
  inset: 1px;
  border-radius: inherit;
  background: linear-gradient(130deg, rgba(255, 255, 255, 0.09), transparent 40%, rgba(184, 1, 101, 0.06));
  content: "";
  pointer-events: none;
}

.proof-icon {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 18px;
  border: 1px solid transparent;
  border-radius: 50%;
  background:
    radial-gradient(circle at 32% 24%, rgba(255, 255, 255, 0.74), transparent 30%) padding-box,
    linear-gradient(135deg, rgba(10, 242, 227, 0.88), rgba(223, 231, 239, 0.7), rgba(184, 1, 101, 0.88)) border-box,
    linear-gradient(135deg, rgba(10, 242, 227, 0.34), rgba(184, 1, 101, 0.32));
  color: #f8f4ea;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.42),
    0 0 28px rgba(10, 242, 227, 0.24),
    0 0 28px rgba(184, 1, 101, 0.2);
}

.proof-icon svg {
  width: 23px;
  height: 23px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.proof strong {
  position: relative;
  z-index: 1;
  display: block;
  font-family: var(--display-serif);
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1;
}

.proof > span:last-child {
  position: relative;
  z-index: 1;
  display: block;
  margin-top: 10px;
  color: rgba(248, 244, 234, 0.68);
  font-size: 14px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.service-card,
.case-card,
.package-card,
.faq-item {
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 12% 8%, rgba(10, 242, 227, 0.1), transparent 34%),
    radial-gradient(circle at 92% 92%, rgba(184, 1, 101, 0.12), transparent 38%),
    linear-gradient(145deg, rgba(17, 38, 52, 0.64), rgba(18, 24, 39, 0.82) 58%, rgba(42, 15, 48, 0.48));
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.16);
}

.service-card {
  min-height: 520px;
  overflow: hidden;
  padding: 0;
}

.service-image {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.card-kicker {
  display: block;
  margin: 22px 24px 0;
  color: var(--champagne);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.service-card h3,
.case-card h3,
.package-card h3 {
  margin: 18px 24px 0;
}

.package-card h3 {
  margin-right: 0;
  margin-left: 0;
}

.service-card p,
.case-card p,
.package-card p {
  margin-right: 24px;
  margin-left: 24px;
  color: rgba(248, 244, 234, 0.72);
}

.package-card p {
  margin-right: 0;
  margin-left: 0;
}

.service-card ul,
.package-card ul {
  display: grid;
  gap: 9px;
  margin: 22px 24px 26px;
  padding: 0;
  list-style: none;
}

.package-card ul {
  margin-right: 0;
  margin-left: 0;
}

.service-card li,
.package-card li {
  position: relative;
  padding-left: 18px;
  color: rgba(248, 244, 234, 0.76);
}

.service-card li::before,
.package-card li::before {
  position: absolute;
  top: 0.68em;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--teal);
  content: "";
}

.lab {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1fr);
  gap: 34px;
  align-items: center;
}

.lab-panel {
  position: relative;
  min-height: 440px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  background:
    linear-gradient(140deg, rgba(7, 17, 29, 0.74), rgba(7, 17, 29, 0.22)),
    url("ai-content-lab-graphic.png?v=20260607f") center / cover;
  box-shadow: var(--shadow);
}

.lab-panel::after {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 88% 12%, rgba(10, 242, 227, 0.13), transparent 26%),
    radial-gradient(circle at 18% 90%, rgba(184, 1, 101, 0.12), transparent 28%),
    linear-gradient(90deg, rgba(7, 17, 29, 0.84), rgba(7, 17, 29, 0.18)),
    repeating-linear-gradient(0deg, transparent 0 30px, rgba(255, 255, 255, 0.035) 31px);
  content: "";
}

.signal {
  position: absolute;
  z-index: 2;
  display: grid;
  gap: 8px;
  width: min(280px, 76%);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  padding: 16px;
  background:
    linear-gradient(135deg, rgba(10, 242, 227, 0.09), rgba(184, 1, 101, 0.08)),
    rgba(7, 17, 29, 0.74);
  backdrop-filter: blur(16px);
}

.signal strong {
  color: var(--ink);
}

.signal span {
  color: rgba(248, 244, 234, 0.68);
  font-size: 13px;
}

.signal.one {
  top: 34px;
  left: 34px;
}

.signal.two {
  right: 34px;
  bottom: 34px;
}

.signal.three {
  top: 52%;
  left: 28%;
  width: min(230px, 62%);
}

.alt h2,
.alt h3 {
  color: var(--ink);
}

.alt .eyebrow {
  color: rgba(248, 244, 234, 0.68);
}

.alt .eyebrow::before {
  background: linear-gradient(90deg, var(--clay), var(--rose), var(--teal));
}

.alt .button.secondary {
  color: var(--ink);
}

.alt-copy p {
  color: rgba(248, 244, 234, 0.72);
  font-size: 18px;
}

.case-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  align-items: stretch;
}

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

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

.portfolio-grid .case-card:nth-child(-n + 2):last-child,
.portfolio-grid .case-card:first-child:nth-last-child(2) {
  min-width: 0;
}

.section-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 34px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  padding: 24px;
  background:
    radial-gradient(circle at 12% 12%, rgba(10, 242, 227, 0.12), transparent 34%),
    radial-gradient(circle at 92% 88%, rgba(184, 1, 101, 0.14), transparent 38%),
    linear-gradient(135deg, rgba(13, 42, 51, 0.48), rgba(18, 24, 39, 0.74) 58%, rgba(42, 15, 48, 0.5));
}

.section-cta p {
  max-width: 760px;
  margin: 0;
  color: rgba(248, 244, 234, 0.74);
  font-size: 16px;
}

.section-cta-large {
  align-items: flex-end;
  margin-top: 0;
}

.section-cta-large h2 {
  max-width: 880px;
  margin-bottom: 18px;
}

.portfolio-hero {
  position: relative;
  overflow: hidden;
  padding: 132px 0 74px;
  background:
    linear-gradient(90deg, rgba(7, 17, 29, 0.88), rgba(7, 17, 29, 0.58)),
    url("jm-art-hero-vivid.png?v=20260607c") center / cover;
}

.portfolio-hero::after {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 16%, rgba(10, 242, 227, 0.15), transparent 28%),
    radial-gradient(circle at 82% 78%, rgba(184, 1, 101, 0.14), transparent 32%);
  content: "";
  pointer-events: none;
}

.portfolio-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 980px;
}

.portfolio-hero h1 {
  max-width: 940px;
  margin: 0;
  font-size: clamp(34px, 4.3vw, 58px);
  line-height: 0.98;
}

.portfolio-gradient-subtitle,
.portfolio-hero-accent {
  display: block;
  margin: 0.14em 0 0;
  background: linear-gradient(92deg, var(--teal), #dfe7ef 42%, var(--rose));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: clamp(26px, 3.1vw, 44px);
  font-style: italic;
  font-weight: 800;
  line-height: 1.12;
  filter:
    drop-shadow(0 3px 14px rgba(0, 0, 0, 0.5))
    drop-shadow(0 0 18px rgba(10, 242, 227, 0.34))
    drop-shadow(0 0 20px rgba(184, 1, 101, 0.28));
}

.section-head .portfolio-gradient-subtitle,
.section-cta .portfolio-gradient-subtitle {
  max-width: 760px;
  margin-top: 10px;
  font-size: clamp(23px, 2.3vw, 34px);
}

.portfolio-hero .lead {
  max-width: 760px;
  font-size: clamp(17px, 1.7vw, 20px);
}

.portfolio-page .section-head h2,
.portfolio-page .section-cta h2 {
  font-size: clamp(34px, 4.2vw, 58px);
  line-height: 0.98;
}

.portfolio-page .section-head h2,
.portfolio-page .section-cta h2 {
  text-shadow:
    0 4px 18px rgba(0, 0, 0, 0.48),
    -14px 8px 32px rgba(10, 242, 227, 0.13),
    16px 10px 34px rgba(184, 1, 101, 0.16);
}

.showcase-strip {
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1fr);
  gap: 28px;
  align-items: center;
  margin-top: 44px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  padding: 28px;
  background:
    linear-gradient(110deg, rgba(10, 242, 227, 0.1), transparent 34%),
    linear-gradient(260deg, rgba(184, 1, 101, 0.16), transparent 44%),
    rgba(255, 255, 255, 0.055);
  overflow: hidden;
}

.showcase-copy p {
  color: rgba(248, 244, 234, 0.72);
}

.slider {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(220px, 34%);
  gap: 14px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-snap-type: inline mandatory;
  padding-bottom: 10px;
}

.slider img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  scroll-snap-align: start;
}

.case-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
}

.case-image {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.case-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 24px;
}

.case-body .card-kicker,
.case-body h3,
.case-body p {
  margin-right: 0;
  margin-left: 0;
}

.case-body > p {
  margin-bottom: 22px;
}

.case-body > .case-link {
  align-self: flex-start;
  margin-top: auto;
}

.case-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
  padding-top: 18px;
}

.case-actions .case-link {
  flex: 0 1 auto;
  justify-content: center;
  min-width: 104px;
  margin-top: 0;
  white-space: nowrap;
}

.case-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  margin-top: 18px;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 7px 30px 7px 13px;
  background:
    radial-gradient(circle at 16% 50%, rgba(10, 242, 227, 0.13), transparent 34%) padding-box,
    radial-gradient(circle at 88% 50%, rgba(184, 1, 101, 0.18), transparent 38%) padding-box,
    linear-gradient(100deg, rgba(5, 15, 29, 0.92), rgba(15, 23, 39, 0.9), rgba(37, 12, 40, 0.9)) padding-box,
    linear-gradient(100deg, rgba(10, 242, 227, 0.78), rgba(223, 231, 239, 0.46), rgba(184, 1, 101, 0.82)) border-box;
  color: var(--ink);
  font-size: 12px;
  font-weight: 800;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.16),
    0 0 22px rgba(10, 242, 227, 0.12),
    0 0 22px rgba(184, 1, 101, 0.14);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.case-link::after {
  position: absolute;
  right: 14px;
  top: 50%;
  content: "";
  color: var(--ink);
  font-size: 12px;
  text-shadow: 0 0 12px rgba(184, 1, 101, 0.8);
  transform: translateY(-50%);
}

.case-link:hover,
.case-link:focus-visible {
  border-color: rgba(255, 255, 255, 0.48);
  transform: translateY(-2px);
  box-shadow: 0 14px 42px rgba(10, 242, 227, 0.18), 0 16px 48px rgba(184, 1, 101, 0.15);
}

.process {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
}

.step {
  position: relative;
  padding: 28px 22px 0 0;
  border-right: 1px solid var(--line);
}

.step:not(:last-child)::after {
  display: none;
  content: none;
}

.step:last-child {
  border-right: 0;
}

.step span {
  position: relative;
  z-index: 1;
  display: inline-grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border: 1px solid transparent;
  border-radius: 999px;
  background:
    radial-gradient(circle at 32% 24%, rgba(255, 255, 255, 0.72), transparent 30%) padding-box,
    linear-gradient(135deg, rgba(10, 242, 227, 0.9), rgba(223, 231, 239, 0.72), rgba(184, 1, 101, 0.9)) border-box,
    linear-gradient(145deg, #101c31, #20283d 52%, #370b2d);
  color: var(--ink);
  font-weight: 800;
  box-shadow:
    inset 0 0 0 2px rgba(255, 255, 255, 0.24),
    0 0 26px rgba(10, 242, 227, 0.36),
    0 0 34px rgba(184, 1, 101, 0.32);
}

.step span::after {
  position: absolute;
  top: 3px;
  right: 4px;
  display: none;
  content: none;
  color: var(--ink);
  font-size: 13px;
  text-shadow:
    0 0 10px rgba(255, 255, 255, 0.9),
    0 0 16px rgba(184, 1, 101, 0.85);
}

.step h3 {
  margin-top: 20px;
}

.step p {
  color: rgba(248, 244, 234, 0.68);
}

.package-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.package-card {
  padding: 28px;
}

.package-card.featured {
  border-color: rgba(10, 242, 227, 0.38);
  background:
    linear-gradient(145deg, rgba(10, 242, 227, 0.14), rgba(184, 1, 101, 0.12)),
    rgba(255, 255, 255, 0.06);
}

.price {
  margin: 20px 0 0;
  color: var(--ink);
  font-size: 15px;
  font-weight: 900;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.faq-item {
  min-height: 196px;
  padding: 18px;
  background:
    radial-gradient(circle at 10% 8%, rgba(10, 242, 227, 0.13), transparent 32%),
    radial-gradient(circle at 92% 92%, rgba(184, 1, 101, 0.14), transparent 38%),
    linear-gradient(145deg, rgba(15, 44, 52, 0.5), rgba(19, 25, 39, 0.76) 56%, rgba(42, 15, 48, 0.5));
}

.faq-item h3 {
  font-size: 17px;
  line-height: 1.18;
}

.faq-item p {
  color: rgba(248, 244, 234, 0.68);
  font-size: 14px;
  line-height: 1.46;
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(480px, 1.18fr);
  gap: clamp(36px, 5vw, 76px);
  align-items: center;
}

.contact-list {
  display: grid;
  gap: 14px;
  margin-top: 28px;
  width: min(340px, 100%);
}

.contact-line {
  position: relative;
  display: flex;
  align-items: center;
  gap: 20px;
  width: 100%;
  border: 1px solid transparent;
  border-radius: 999px;
  min-height: 58px;
  padding: 7px 46px 7px 7px;
  background:
    radial-gradient(circle at 18% 50%, rgba(10, 242, 227, 0.16), transparent 34%) padding-box,
    radial-gradient(circle at 90% 50%, rgba(184, 1, 101, 0.22), transparent 38%) padding-box,
    linear-gradient(100deg, rgba(5, 15, 29, 0.94), rgba(14, 22, 39, 0.9) 52%, rgba(42, 14, 42, 0.9)) padding-box,
    linear-gradient(120deg, rgba(10, 242, 227, 0.8), rgba(223, 231, 239, 0.48), rgba(184, 1, 101, 0.82)) border-box;
  color: var(--ink);
  font-weight: 800;
  text-shadow: 0 0 16px rgba(248, 244, 234, 0.18);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    0 0 24px rgba(10, 242, 227, 0.16),
    0 0 28px rgba(184, 1, 101, 0.18);
  transition: color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.contact-line::after {
  position: absolute;
  right: 20px;
  top: 50%;
  content: "";
  font-size: 14px;
  text-shadow:
    0 0 10px rgba(255, 255, 255, 0.92),
    0 0 18px rgba(184, 1, 101, 0.85);
  transform: translateY(-50%);
}

.contact-line span {
  position: relative;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid transparent;
  border-radius: 50%;
  background:
    radial-gradient(circle at 30% 22%, rgba(255, 255, 255, 0.78), transparent 32%) padding-box,
    linear-gradient(135deg, var(--teal), rgba(223, 231, 239, 0.68), var(--rose)) border-box,
    linear-gradient(135deg, #23324a, #4d5270 42%, var(--rose));
  color: var(--ink);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
  box-shadow:
    inset 0 0 0 2px rgba(255, 255, 255, 0.14),
    0 0 20px rgba(10, 242, 227, 0.32),
    0 0 24px rgba(184, 1, 101, 0.24);
}

.contact-line span::after {
  position: absolute;
  right: -16px;
  top: 7px;
  bottom: 7px;
  width: 1px;
  background: linear-gradient(180deg, transparent, rgba(223, 231, 239, 0.58), transparent);
  content: "";
}

.contact-line:hover,
.contact-line:focus-visible {
  color: var(--ink);
  transform: translateX(3px);
  box-shadow:
    0 0 0 1px rgba(10, 242, 227, 0.22),
    0 18px 48px rgba(10, 242, 227, 0.2),
    0 18px 52px rgba(184, 1, 101, 0.2);
}

.contact-form {
  display: grid;
  gap: 14px;
  justify-self: center;
  width: min(760px, 100%);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  padding: 24px;
  background: rgba(255, 255, 255, 0.055);
  background:
    radial-gradient(circle at 16% 14%, rgba(10, 242, 227, 0.1), transparent 28%),
    radial-gradient(circle at 88% 80%, rgba(184, 1, 101, 0.12), transparent 30%),
    rgba(255, 255, 255, 0.052);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.18);
}

.field-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.field {
  display: grid;
  gap: 7px;
}

label {
  color: rgba(248, 244, 234, 0.72);
  font-size: 13px;
  font-weight: 700;
}

input,
textarea,
select {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  padding: 13px 14px;
  background: rgba(7, 17, 29, 0.76);
  color: var(--ink);
  outline: none;
}

textarea {
  min-height: 132px;
  resize: vertical;
}

input:focus,
textarea:focus,
select:focus {
  border-color: var(--teal);
}

.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 30px 0;
  background:
    linear-gradient(90deg, rgba(10, 242, 227, 0.05), transparent 30%, rgba(184, 1, 101, 0.08)),
    #070b12;
  color: rgba(248, 244, 234, 0.62);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  gap: 20px;
  font-size: 14px;
}

.socials {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.socials a {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 54px;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 6px 18px 6px 6px;
  background:
    radial-gradient(circle at 18% 18%, rgba(255, 255, 255, 0.16), transparent 34%) padding-box,
    linear-gradient(100deg, rgba(9, 20, 35, 0.9), rgba(20, 27, 45, 0.86), rgba(42, 14, 42, 0.9)) padding-box,
    linear-gradient(120deg, rgba(10, 242, 227, 0.82), rgba(223, 231, 239, 0.44), rgba(184, 1, 101, 0.82)) border-box;
  color: rgba(248, 244, 234, 0.76);
  font-size: 13px;
  font-weight: 800;
  transition: transform 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.socials a:hover,
.socials a:focus-visible {
  color: var(--ink);
  transform: translateY(-2px);
  box-shadow: 0 0 0 1px rgba(10, 242, 227, 0.22), 0 16px 46px rgba(10, 242, 227, 0.2), 0 16px 52px rgba(184, 1, 101, 0.2);
}

.social-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 30% 22%, rgba(255, 255, 255, 0.82), transparent 32%),
    linear-gradient(135deg, #26344e, #5d6480 42%, var(--rose));
  color: var(--ink);
  box-shadow:
    inset 0 0 0 2px rgba(255, 255, 255, 0.28),
    0 0 0 1px rgba(10, 242, 227, 0.42),
    0 0 22px rgba(10, 242, 227, 0.22),
    0 0 26px rgba(184, 1, 101, 0.2);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.social-logo {
  width: 17px;
  height: 17px;
  fill: currentColor;
  stroke: currentColor;
}

.back-top {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 8px 16px;
  background:
    radial-gradient(circle at 18% 50%, rgba(10, 242, 227, 0.13), transparent 34%) padding-box,
    radial-gradient(circle at 88% 50%, rgba(184, 1, 101, 0.18), transparent 38%) padding-box,
    linear-gradient(100deg, rgba(5, 15, 29, 0.92), rgba(15, 23, 39, 0.9), rgba(37, 12, 40, 0.9)) padding-box,
    linear-gradient(100deg, rgba(10, 242, 227, 0.78), rgba(223, 231, 239, 0.46), rgba(184, 1, 101, 0.82)) border-box;
  color: rgba(248, 244, 234, 0.8);
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
  transition: transform 180ms ease, box-shadow 180ms ease, color 180ms ease;
}

.back-top:hover,
.back-top:focus-visible {
  color: var(--ink);
  transform: translateY(-2px);
  box-shadow: 0 0 0 1px rgba(10, 242, 227, 0.18), 0 14px 42px rgba(184, 1, 101, 0.16);
}

.button::before,
.case-link::after,
.step span::after,
.contact-line::after,
.socials a::after {
  content: "";
  width: 18px;
  height: 24px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 32'%3E%3Cpath d='M20.4 2.8C14.3 3.9 8.6 7.9 5.2 13.8c-1.9 3.4-2.3 6.7-1 8.1 1.4 1.3 4.7.9 8.1-1 5.9-3.4 9.9-9.1 11-15.2.2-1.4-1.5-3.1-2.9-2.9Z' fill='none' stroke='%23f8f4ea' stroke-width='1.65' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M5 25.5c4.8-5.2 8.7-9.5 13.8-16.2M8.1 19.8l-2.6.2M11.6 16.3l-4.3.1M15 12.4l-4.7.1M17.9 8.7l-3.2.1' fill='none' stroke='%230af2e3' stroke-width='1.25' stroke-linecap='round'/%3E%3C/svg%3E") center / contain no-repeat;
  color: transparent;
  font-size: 0;
  line-height: 0;
  filter:
    drop-shadow(0 0 7px rgba(255, 255, 255, 0.55))
    drop-shadow(0 0 12px rgba(10, 242, 227, 0.55))
    drop-shadow(0 0 14px rgba(184, 1, 101, 0.42));
}

.button::before {
  right: 24px;
}

.case-link::after {
  width: 11px;
  height: 16px;
  right: 12px;
}

.step span::after {
  width: 14px;
  height: 19px;
  top: 2px;
  right: 2px;
}

.contact-line::after,
.socials a::after {
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
}

.socials a {
  position: relative;
  gap: 14px;
  justify-content: flex-start;
  min-width: 178px;
  min-height: 48px;
  padding: 5px 38px 5px 5px;
  background:
    radial-gradient(circle at 18% 50%, rgba(10, 242, 227, 0.16), transparent 34%) padding-box,
    radial-gradient(circle at 90% 50%, rgba(184, 1, 101, 0.24), transparent 38%) padding-box,
    linear-gradient(100deg, rgba(5, 15, 29, 0.94), rgba(14, 22, 39, 0.9) 52%, rgba(42, 14, 42, 0.92)) padding-box,
    linear-gradient(120deg, rgba(10, 242, 227, 0.82), rgba(223, 231, 239, 0.44), rgba(184, 1, 101, 0.82)) border-box;
  color: var(--ink);
  text-shadow: 0 0 16px rgba(248, 244, 234, 0.2);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    0 0 24px rgba(10, 242, 227, 0.16),
    0 0 28px rgba(184, 1, 101, 0.18);
}

.social-icon {
  position: relative;
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  background:
    radial-gradient(circle at 30% 22%, rgba(255, 255, 255, 0.82), transparent 32%) padding-box,
    linear-gradient(135deg, var(--teal), rgba(223, 231, 239, 0.68), var(--rose)) border-box,
    linear-gradient(135deg, #26344e, #5d6480 42%, var(--rose));
}

.social-icon::after {
  position: absolute;
  right: -11px;
  top: 6px;
  bottom: 6px;
  width: 1px;
  background: linear-gradient(180deg, transparent, rgba(223, 231, 239, 0.58), transparent);
  content: "";
}

.reveal {
  opacity: 0;
  filter: blur(8px);
  transform: translateY(28px);
  transition: opacity 760ms ease, transform 760ms ease, filter 760ms ease;
}

.reveal.is-visible {
  opacity: 1;
  filter: blur(0);
  transform: translateY(0);
}

.reveal.is-visible > * {
  animation: revealChild 720ms ease both;
}

.reveal.is-visible > *:nth-child(2) {
  animation-delay: 70ms;
}

.reveal.is-visible > *:nth-child(3) {
  animation-delay: 140ms;
}

.reveal.is-visible > *:nth-child(4) {
  animation-delay: 210ms;
}

.service-card.reveal.is-visible,
.case-card.reveal.is-visible,
.package-card.reveal.is-visible,
.faq-item.reveal.is-visible {
  transition-delay: calc(var(--reveal-index, 0) * 70ms);
}

@keyframes revealChild {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 920px) {
  .nav-links {
    position: absolute;
    top: 74px;
    right: 20px;
    left: 20px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: var(--radius);
    padding: 10px;
    background: rgba(7, 17, 29, 0.96);
    box-shadow: var(--shadow);
  }

  .nav-links.is-open {
    display: flex;
  }

  .nav-links a {
    padding: 13px 10px;
  }

  .menu-toggle {
    display: inline-grid;
  }

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

  .featured-cases,
  .portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .section-cta,
  .section-cta-large {
    align-items: flex-start;
    flex-direction: column;
  }

  .proof-grid,
  .service-grid,
  .case-grid,
  .process,
  .package-grid,
  .faq-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .proof:nth-child(2),
  .step:nth-child(2) {
    border-right: 0;
  }
}

@media (max-width: 640px) {
  .nav {
    width: min(100% - 28px, 1180px);
  }

  .brand-text span {
    display: none;
  }

  .hero-inner,
  .wrap,
  .footer-inner {
    width: min(100% - 28px, 1180px);
  }

  .hero::before {
    background-image:
      linear-gradient(180deg, rgba(7, 17, 29, 0.9) 0%, rgba(7, 17, 29, 0.76) 54%, rgba(7, 17, 29, 0.96) 100%);
    background-position: center right;
  }

  .hero-art {
    opacity: 0.78;
    object-position: center right;
  }

  .showcase-strip {
    grid-template-columns: 1fr;
  }

  .slider {
    grid-auto-columns: minmax(190px, 72%);
  }

  .hero-inner {
    padding-top: 112px;
  }

  h1 {
    font-size: clamp(42px, 13vw, 62px);
  }

  .lead {
    font-size: 17px;
  }

  .section {
    padding: 68px 0;
  }

  .proof-grid,
  .service-grid,
  .case-grid,
  .featured-cases,
  .portfolio-grid,
  .process,
  .package-grid,
  .faq-grid,
  .field-row {
    grid-template-columns: 1fr;
  }

  .portfolio-hero {
    padding: 112px 0 56px;
  }

  .portfolio-hero h1 {
    font-size: clamp(34px, 10vw, 48px);
  }

  .portfolio-gradient-subtitle,
  .portfolio-hero-accent {
    font-size: clamp(22px, 7vw, 32px);
  }

  .portfolio-page .section-head h2,
  .portfolio-page .section-cta h2 {
    font-size: clamp(31px, 9vw, 46px);
  }

  .section-head .portfolio-gradient-subtitle,
  .section-cta .portfolio-gradient-subtitle {
    font-size: clamp(21px, 6.4vw, 30px);
  }

  .portfolio-hero .lead {
    font-size: 16px;
  }

  .actions {
    width: 100%;
  }

  .button {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    gap: 12px;
    justify-content: flex-start;
    min-height: 58px;
    padding: 8px 40px 8px 10px;
  }

  .button::before {
    right: 18px;
  }

  .button-symbol {
    width: 42px;
    height: 42px;
  }

  .button-copy {
    min-width: 0;
    white-space: normal;
    overflow-wrap: anywhere;
    line-height: 1.15;
  }

  .section-cta {
    padding: 20px;
  }

  .proof,
  .step {
    border-right: 0;
    border-bottom: 1px solid currentColor;
  }

  .proof {
    border-bottom-color: var(--line);
  }

  .step {
    border-bottom-color: var(--line);
    padding-right: 0;
    padding-bottom: 26px;
  }

  .proof:last-child,
  .step:last-child {
    border-bottom: 0;
  }

  .lab-panel {
    min-height: 520px;
  }

  .signal.one,
  .signal.two,
  .signal.three {
    right: 18px;
    left: 18px;
    width: auto;
  }

  .signal.one {
    top: 20px;
  }

  .signal.three {
    top: 198px;
  }

  .signal.two {
    bottom: 20px;
  }

  .hero-scroll {
    display: none;
  }

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

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

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

.form-status {
  margin: 0 0 18px;
  padding: 14px 16px;
  border: 1px solid rgba(10, 242, 227, 0.38);
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(10, 242, 227, 0.14), rgba(184, 1, 101, 0.12));
  color: var(--ink);
  font-weight: 800;
}

.form-status.is-error {
  border-color: rgba(184, 1, 101, 0.48);
}

.whatsapp-line span {
  font-size: 0.68rem;
}
.showreel-section {
  position: relative;
  padding: 18px 0 68px;
  background:
    radial-gradient(circle at 14% 18%, rgba(10, 242, 227, 0.12), transparent 28%),
    radial-gradient(circle at 88% 70%, rgba(184, 1, 101, 0.16), transparent 34%),
    linear-gradient(180deg, #07111d 0%, #091421 56%, #07111d 100%);
}

.showreel-wrap {
  position: relative;
  overflow: hidden;
  width: min(1040px, calc(100% - 40px));
  padding: clamp(16px, 2.4vw, 26px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 24px;
  background:
    linear-gradient(135deg, rgba(10, 242, 227, 0.09), rgba(18, 24, 39, 0.84) 48%, rgba(184, 1, 101, 0.12)),
    rgba(7, 17, 29, 0.78);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.36);
}

.showreel-wrap::before {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(10, 242, 227, 0.22), transparent 32%, rgba(184, 1, 101, 0.2)),
    radial-gradient(circle at 78% 16%, rgba(255, 255, 255, 0.16), transparent 18%);
  content: "";
  opacity: 0.55;
  pointer-events: none;
}

.showreel-copy {
  position: relative;
  z-index: 1;
  max-width: 720px;
  margin-bottom: 16px;
}

.showreel-copy h2 {
  max-width: 720px;
  margin-bottom: 14px;
  font-size: clamp(32px, 4.2vw, 54px);
  line-height: 0.98;
}

.showreel-copy p:last-child {
  max-width: 690px;
  margin: 0;
  color: rgba(248, 244, 234, 0.72);
  font-size: clamp(16px, 1.45vw, 18px);
  line-height: 1.65;
}

.showreel-frame {
  position: relative;
  z-index: 1;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 21 / 9;
  max-height: 430px;
  border: 1px solid rgba(10, 242, 227, 0.28);
  border-radius: 20px;
  background:
    radial-gradient(circle at 14% 18%, rgba(10, 242, 227, 0.18), transparent 24%),
    radial-gradient(circle at 82% 78%, rgba(184, 1, 101, 0.2), transparent 30%),
    #050b15;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.08),
    0 0 36px rgba(10, 242, 227, 0.12),
    0 28px 72px rgba(0, 0, 0, 0.42);
}

.showreel-video {
  display: block;
  width: 100%;
  height: 100%;
  background: #030711;
  object-fit: cover;
  object-position: center;
}

@media (max-width: 720px) {
  .showreel-section {
    padding: 18px 0 64px;
  }

  .showreel-wrap {
    width: min(100% - 24px, 1040px);
    padding: 18px;
    border-radius: 18px;
  }

  .showreel-frame {
    aspect-ratio: 16 / 10;
    max-height: 46vh;
  }
}

.privacy-check {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  color: rgba(248, 244, 234, 0.76);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.55;
}

.privacy-check input {
  width: 20px;
  height: 20px;
  margin: 1px 0 0;
  padding: 0;
  accent-color: var(--teal);
}

.privacy-check a,
.footer-legal a,
.legal-document a,
.legal-footer-inner a {
  color: var(--teal);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 18px;
  font-size: 12px;
}

.footer-legal button,
.legal-footer-inner button {
  border: 0;
  padding: 0;
  background: transparent;
  color: rgba(248, 244, 234, 0.68);
  font: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

.cookie-notice[hidden] {
  display: none !important;
}

.cookie-notice {
  position: fixed;
  z-index: 1000;
  right: 22px;
  bottom: 22px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 20px;
  align-items: center;
  width: min(680px, calc(100% - 44px));
  border: 1px solid transparent;
  border-radius: 18px;
  padding: 20px;
  background:
    radial-gradient(circle at 8% 20%, rgba(10, 242, 227, 0.14), transparent 34%) padding-box,
    radial-gradient(circle at 92% 80%, rgba(184, 1, 101, 0.2), transparent 38%) padding-box,
    linear-gradient(110deg, rgba(6, 17, 30, 0.98), rgba(21, 21, 39, 0.98), rgba(43, 13, 42, 0.98)) padding-box,
    linear-gradient(120deg, rgba(10, 242, 227, 0.86), rgba(223, 231, 239, 0.4), rgba(184, 1, 101, 0.86)) border-box;
  box-shadow: 0 26px 90px rgba(0, 0, 0, 0.5), 0 0 34px rgba(10, 242, 227, 0.12);
  backdrop-filter: blur(18px);
}

.cookie-notice-copy {
  display: grid;
  gap: 7px;
}

.cookie-notice-copy strong {
  color: var(--ink);
  font-size: 16px;
}

.cookie-notice-copy p {
  margin: 0;
  color: rgba(248, 244, 234, 0.72);
  font-size: 13px;
  line-height: 1.55;
}

.cookie-notice-copy a {
  width: fit-content;
  color: var(--teal);
  font-size: 13px;
  font-weight: 800;
}

.cookie-accept {
  min-width: 118px;
  min-height: 48px;
  border: 1px solid rgba(10, 242, 227, 0.72);
  border-radius: 999px;
  padding: 10px 20px;
  background: linear-gradient(110deg, rgba(10, 242, 227, 0.2), rgba(184, 1, 101, 0.28));
  color: var(--ink);
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 0 24px rgba(10, 242, 227, 0.14), 0 0 26px rgba(184, 1, 101, 0.14);
}

.legal-main {
  min-height: 100vh;
  padding: 150px 0 88px;
  background:
    radial-gradient(circle at 8% 14%, rgba(10, 242, 227, 0.1), transparent 30%),
    radial-gradient(circle at 92% 32%, rgba(184, 1, 101, 0.12), transparent 34%),
    #07111d;
}

.legal-document {
  max-width: 900px;
}

.legal-document h1 {
  max-width: 820px;
  margin-bottom: 12px;
  font-size: clamp(44px, 7vw, 82px);
}

.legal-updated {
  margin-bottom: 54px;
  color: rgba(248, 244, 234, 0.58);
  font-size: 14px;
}

.legal-document section {
  margin-top: 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  padding: clamp(20px, 3vw, 30px);
  background: linear-gradient(135deg, rgba(10, 242, 227, 0.05), rgba(255, 255, 255, 0.035), rgba(184, 1, 101, 0.06));
}

.legal-document h2 {
  margin: 0 0 12px;
  font-size: clamp(24px, 3vw, 34px);
}

.legal-document p {
  margin: 0;
  color: rgba(248, 244, 234, 0.74);
  line-height: 1.72;
}

.legal-document p + p {
  margin-top: 14px;
}

.legal-document code {
  color: var(--champagne);
}

.legal-footer-inner {
  flex-wrap: wrap;
}

@media (max-width: 900px) {
  .footer-inner {
    flex-wrap: wrap;
  }

  .footer-legal {
    order: 3;
    width: 100%;
  }
}

@media (max-width: 640px) {
  .cookie-notice {
    right: 12px;
    bottom: 12px;
    grid-template-columns: 1fr;
    width: calc(100% - 24px);
    padding: 17px;
  }

  .cookie-accept {
    width: 100%;
  }

  .legal-main {
    padding-top: 118px;
  }

  .legal-nav-links {
    display: none;
  }
}

/* v22 dark hero refresh */
:root {
  --jm-primary-bg: #020613;
  --jm-section-bg: #0a1527;
  --jm-panel-bg: #10233b;
  --jm-panel-deep: #080d1a;
  --jm-chrome-shadow: #5e5e6c;
  --jm-silver: #e0e0e5;
  --jm-chrome-white: #f4f6fa;
  --jm-muted: #aab5c6;
  --jm-accent-cyan: #00d9f2;
  --jm-cyan-glow: #67f4ff;
  --jm-accent-magenta: #ec008c;
  --jm-pink-glow: #ff58c7;
  --jm-button-gradient: linear-gradient(100deg, #e6008d 0%, #b037b5 33%, #667fd1 63%, #18c7df 100%);
  --jm-gradient: linear-gradient(100deg, var(--jm-accent-cyan), var(--jm-silver) 48%, var(--jm-accent-magenta));
}

.jm-home-hero {
  min-height: calc(100svh - 78px);
  display: grid;
  align-items: center;
  overflow: hidden;
  border-bottom: 1px solid rgba(224, 224, 229, 0.1);
  background: var(--jm-primary-bg);
}

.jm-home-hero::before {
  z-index: 0;
  background:
    radial-gradient(circle at 15% 10%, rgba(0, 217, 242, 0.1), transparent 24%),
    radial-gradient(circle at 85% 18%, rgba(236, 0, 140, 0.12), transparent 26%),
    linear-gradient(180deg, #020613, #081326 42%, #020613);
}

.jm-home-hero::after {
  z-index: 1;
  height: 34%;
  background: linear-gradient(180deg, transparent, var(--jm-primary-bg));
}

.jm-home-hero .hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 50% 34%, rgba(255, 255, 255, 0.07), transparent 18%),
    radial-gradient(circle at 50% 34%, rgba(236, 0, 140, 0.16), transparent 36%),
    radial-gradient(circle at 46% 42%, rgba(0, 217, 242, 0.16), transparent 40%);
}

.jm-home-hero .orb,
.jm-home-hero .shape,
.jm-home-hero .ribbon {
  position: absolute;
  display: block;
}

.jm-home-hero .orb {
  width: 320px;
  height: 320px;
  border-radius: 50%;
  filter: blur(45px);
  opacity: 0.34;
}

.jm-home-hero .orb.cyan {
  left: 5%;
  top: 18%;
  background: var(--jm-accent-cyan);
  animation: floatSlow 9s ease-in-out infinite;
}

.jm-home-hero .orb.pink {
  right: 6%;
  top: 26%;
  background: var(--jm-accent-magenta);
  animation: floatSlow 10s ease-in-out infinite reverse;
}

.jm-home-hero .shape {
  opacity: 0.56;
  animation: drift 9s ease-in-out infinite;
}

.jm-home-hero .ring {
  width: 116px;
  height: 116px;
  border: 1px solid rgba(103, 244, 255, 0.38);
  border-radius: 50%;
  background: radial-gradient(circle, transparent 55%, rgba(0, 217, 242, 0.08));
}

.jm-home-hero .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--jm-pink-glow);
  box-shadow: 0 0 20px var(--jm-pink-glow);
}

.jm-home-hero .stroke {
  width: 180px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(103, 244, 255, 0.58), transparent);
  transform: rotate(-18deg);
}

.jm-home-hero .c1 { left: 17%; top: 24%; animation-delay: -3s; }
.jm-home-hero .c2 { right: 14%; top: 23%; width: 86px; height: 86px; border-color: rgba(255, 88, 199, 0.34); background: radial-gradient(circle, transparent 58%, rgba(236, 0, 140, 0.08)); animation-delay: -7s; }
.jm-home-hero .d1 { left: 8%; top: 48%; animation-delay: -4s; }
.jm-home-hero .d2 { right: 12%; top: 42%; background: var(--jm-cyan-glow); box-shadow: 0 0 20px var(--jm-cyan-glow); animation-delay: -6s; }
.jm-home-hero .d3 { right: 25%; bottom: 31%; width: 7px; height: 7px; background: var(--jm-pink-glow); box-shadow: 0 0 18px var(--jm-pink-glow); animation-delay: -9s; }
.jm-home-hero .s1 { left: 4%; bottom: 28%; animation-delay: -2s; }
.jm-home-hero .s2 { right: 3%; bottom: 30%; transform: rotate(18deg); background: linear-gradient(90deg, transparent, rgba(255, 88, 199, 0.58), transparent); animation-delay: -7s; }

.jm-home-hero .ribbon {
  left: -10%;
  right: -10%;
  height: 2px;
  transform: rotate(-8deg);
  background: linear-gradient(90deg, transparent, var(--jm-accent-cyan), var(--jm-accent-magenta), transparent);
  box-shadow: 0 0 28px rgba(0, 217, 242, 0.6);
  opacity: 0.65;
}

.jm-home-hero .r1 { top: 31%; animation: pulseLine 4s ease-in-out infinite; }
.jm-home-hero .r2 { top: 47%; transform: rotate(7deg); animation: pulseLine 5s ease-in-out infinite reverse; }

.jm-home-hero .hero-inner {
  position: relative;
  z-index: 2;
  display: block;
  width: min(1180px, calc(100% - 40px));
  max-width: 1120px;
  min-height: 0;
  text-align: center;
  padding: 104px 0 142px;
}

.jm-home-hero .eyebrow {
  display: block;
  margin: 0 0 18px;
  color: var(--jm-pink-glow);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.jm-home-hero .eyebrow::before {
  display: none;
}

.jm-home-hero h1 {
  margin: 0 auto 22px;
  max-width: 1030px;
  background: var(--jm-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: clamp(2.45rem, 6.1vw, 5.35rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: 0;
  text-shadow: none;
}

.jm-home-hero .service-rotator {
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin: 0 auto 24px;
  color: var(--jm-silver);
  font-weight: 900;
  letter-spacing: 0.01em;
  font-size: clamp(1rem, 2.25vw, 1.52rem);
  white-space: nowrap;
}

.jm-home-hero .rotating-words {
  position: relative;
  display: inline-block;
  width: 220px;
  min-width: 220px;
  height: 44px;
  vertical-align: bottom;
}

.jm-home-hero .rotating-words > span {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  opacity: 0;
  transform: translateY(14px);
  animation: singleWordCycle 15s ease-in-out infinite;
}

.jm-home-hero .rotating-words > span:nth-child(1) { animation-delay: 0s; color: var(--jm-cyan-glow); }
.jm-home-hero .rotating-words > span:nth-child(2) { animation-delay: 5s; color: var(--jm-silver); }
.jm-home-hero .rotating-words > span:nth-child(3) { animation-delay: 10s; color: var(--jm-pink-glow); }

.jm-home-hero .rotator-tail {
  color: var(--jm-silver);
  font-weight: 800;
  text-align: left;
}

.jm-home-hero .rotator-tail::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  margin: 0 14px 4px 0;
  border-radius: 50%;
  background: var(--jm-gradient);
  box-shadow: 0 0 16px rgba(0, 217, 242, 0.45);
}

.jm-home-hero .lead {
  max-width: 820px;
  margin: 0 auto;
  color: var(--jm-silver);
  font-size: 1.15rem;
}

.jm-home-hero .hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 34px;
}

.button,
.nav-cta,
.cookie-accept {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 2px solid transparent;
  border-radius: 999px;
  padding: 13px 24px;
  color: var(--jm-chrome-white);
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.86rem;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  text-shadow: none;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease, color 180ms ease, background 180ms ease;
}

.button .button-symbol,
.button::before,
.button::after {
  display: none;
}

.button-copy {
  position: relative;
  z-index: 1;
  white-space: normal;
}

.button:hover,
.nav-cta:hover,
.cookie-accept:hover {
  transform: translateY(-2px);
}

.button.primary,
.nav-cta,
.cookie-accept {
  background: var(--jm-button-gradient);
  box-shadow:
    0 8px 20px rgba(0, 0, 0, 0.25),
    0 0 14px rgba(24, 199, 223, 0.48),
    0 0 30px rgba(230, 0, 141, 0.34),
    0 0 0 rgba(230, 0, 141, 0);
  animation: buttonPulse 2.35s ease-in-out infinite;
}

.button.primary:hover,
.nav-cta:hover,
.cookie-accept:hover {
  background: rgba(8, 13, 26, 0.96);
  border-color: rgba(224, 224, 229, 0.18);
  box-shadow:
    0 10px 26px rgba(0, 0, 0, 0.32),
    0 0 18px rgba(24, 199, 223, 0.16),
    0 0 18px rgba(230, 0, 141, 0.14);
  animation: none;
}

.button.secondary {
  border-color: rgba(224, 224, 229, 0.17);
  color: var(--jm-silver);
  background: rgba(224, 224, 229, 0.045);
  box-shadow: none;
}

.button.secondary:hover {
  color: var(--jm-chrome-white);
  border-color: transparent;
  background:
    linear-gradient(rgba(8, 13, 26, 0.96), rgba(8, 13, 26, 0.96)) padding-box,
    var(--jm-button-gradient) border-box;
  box-shadow:
    0 8px 20px rgba(0, 0, 0, 0.25),
    0 0 12px rgba(192, 132, 252, 0.48),
    0 0 22px rgba(249, 115, 22, 0.32),
    0 0 34px rgba(236, 0, 140, 0.2);
  animation: outlinePulse 2.35s ease-in-out infinite;
}

.jm-home-hero .proof-strip {
  position: absolute;
  inset: auto 0 0;
  z-index: 3;
  border-top: 1px solid rgba(224, 224, 229, 0.1);
  background: rgba(8, 13, 26, 0.86);
  backdrop-filter: blur(14px);
}

.jm-home-hero .proof-inner {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(18px, 4vw, 52px);
  color: var(--jm-muted);
  font-size: 0.9rem;
}

.jm-home-hero .proof-inner span::before {
  content: "";
  display: inline-block;
  width: 9px;
  height: 9px;
  margin-right: 8px;
  border-radius: 50%;
  background: var(--jm-gradient);
}

@keyframes floatSlow {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(0, 26px, 0); }
}

@keyframes drift {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(0deg); opacity: 0.38; }
  50% { transform: translate3d(18px, -18px, 0) rotate(12deg); opacity: 0.7; }
}

@keyframes pulseLine {
  0%, 100% { opacity: 0.28; filter: blur(0); }
  50% { opacity: 0.8; filter: blur(1px); }
}

@keyframes buttonPulse {
  0%, 100% {
    box-shadow:
      0 8px 20px rgba(0, 0, 0, 0.25),
      0 0 12px rgba(24, 199, 223, 0.42),
      0 0 24px rgba(230, 0, 141, 0.28),
      0 0 0 rgba(230, 0, 141, 0);
  }
  50% {
    box-shadow:
      0 10px 24px rgba(0, 0, 0, 0.28),
      0 0 24px rgba(24, 199, 223, 0.72),
      0 0 46px rgba(230, 0, 141, 0.52),
      0 0 84px rgba(230, 0, 141, 0.24);
  }
}

@keyframes outlinePulse {
  0%, 100% {
    box-shadow:
      0 8px 20px rgba(0, 0, 0, 0.25),
      0 0 10px rgba(192, 132, 252, 0.36),
      0 0 18px rgba(249, 115, 22, 0.24),
      0 0 0 rgba(236, 0, 140, 0);
  }
  50% {
    box-shadow:
      0 10px 24px rgba(0, 0, 0, 0.3),
      0 0 18px rgba(192, 132, 252, 0.68),
      0 0 30px rgba(249, 115, 22, 0.42),
      0 0 54px rgba(236, 0, 140, 0.18);
  }
}

@keyframes singleWordCycle {
  0% { opacity: 0; transform: translateY(14px); filter: blur(4px); }
  8%, 28% { opacity: 1; transform: translateY(0); filter: blur(0); }
  34%, 100% { opacity: 0; transform: translateY(-12px); filter: blur(3px); }
}

@media (max-width: 980px) {
  .nav-cta {
    display: none;
  }

  .jm-home-hero .service-rotator {
    flex-direction: column;
    gap: 2px;
    white-space: normal;
  }

  .jm-home-hero .rotating-words {
    width: min(100%, 320px);
  }

  .jm-home-hero .rotating-words > span {
    justify-content: center;
  }

  .jm-home-hero .rotator-tail {
    text-align: center;
  }

  .jm-home-hero .rotator-tail::before {
    display: none;
  }

  .jm-home-hero .proof-inner {
    flex-wrap: wrap;
    padding: 16px 0;
  }
}

@media (max-width: 760px) {
  .jm-home-hero {
    min-height: auto;
  }

  .jm-home-hero .hero-inner {
    padding: 92px 0 170px;
  }

  .jm-home-hero h1 {
    font-size: clamp(2.35rem, 12vw, 4.2rem);
  }

  .jm-home-hero .lead {
    font-size: 1rem;
  }

  .jm-home-hero .button {
    width: 100%;
  }
}

/* Preview refinements 2026-07-04 */
.button.primary,
.nav-cta,
.cookie-accept {
  border-color: transparent;
  background:
    var(--jm-button-gradient) padding-box,
    var(--jm-button-gradient) border-box;
  background-clip: padding-box, border-box;
}

.button.primary:hover,
.button.primary:focus-visible,
.nav-cta:hover,
.nav-cta:focus-visible,
.cookie-accept:hover,
.cookie-accept:focus-visible {
  color: var(--jm-chrome-white);
  border-color: transparent;
  background:
    linear-gradient(rgba(8, 13, 26, 0.98), rgba(8, 13, 26, 0.98)) padding-box,
    var(--jm-button-gradient) border-box;
  box-shadow:
    0 8px 20px rgba(0, 0, 0, 0.25),
    0 0 12px rgba(192, 132, 252, 0.48),
    0 0 22px rgba(24, 199, 223, 0.32),
    0 0 34px rgba(236, 0, 140, 0.22);
  animation: outlinePulse 2.35s ease-in-out infinite;
}

.process {
  gap: 18px;
  border-top: 0;
}

.step,
.step:last-child {
  min-height: 100%;
  border: 2px solid transparent;
  border-radius: 22px;
  padding: 24px;
  background:
    radial-gradient(circle at 12% 14%, rgba(0, 217, 242, 0.13), transparent 34%) padding-box,
    radial-gradient(circle at 88% 82%, rgba(236, 0, 140, 0.15), transparent 36%) padding-box,
    linear-gradient(rgba(8, 13, 26, 0.96), rgba(8, 13, 26, 0.96)) padding-box,
    linear-gradient(125deg, rgba(0, 217, 242, 0.74), rgba(224, 224, 229, 0.18), rgba(236, 0, 140, 0.72)) border-box;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 14px 38px rgba(0, 0, 0, 0.24);
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.step:hover,
.step:focus-within {
  transform: translateY(-4px);
  background:
    linear-gradient(rgba(8, 13, 26, 0.98), rgba(8, 13, 26, 0.98)) padding-box,
    var(--jm-button-gradient) border-box;
  animation: outlinePulse 2.35s ease-in-out infinite;
}

.step span {
  width: 60px;
  height: 60px;
  background:
    radial-gradient(circle at 32% 24%, rgba(255, 255, 255, 0.72), transparent 30%) padding-box,
    var(--jm-button-gradient) border-box,
    var(--jm-button-gradient);
  color: var(--jm-chrome-white);
  box-shadow:
    inset 0 0 0 2px rgba(255, 255, 255, 0.18),
    0 0 24px rgba(24, 199, 223, 0.45),
    0 0 34px rgba(236, 0, 140, 0.34);
}

.step h3 {
  margin-top: 22px;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: clamp(1.35rem, 2.15vw, 2rem);
  font-weight: 900;
  background: var(--jm-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: none;
}

.step p {
  color: var(--jm-muted);
}

.contact-list {
  width: min(430px, 100%);
}

.contact-line {
  border: 2px solid transparent;
  background:
    radial-gradient(circle at 18% 50%, rgba(0, 217, 242, 0.15), transparent 34%) padding-box,
    radial-gradient(circle at 90% 50%, rgba(236, 0, 140, 0.24), transparent 38%) padding-box,
    linear-gradient(rgba(8, 13, 26, 0.96), rgba(8, 13, 26, 0.96)) padding-box,
    linear-gradient(120deg, rgba(0, 217, 242, 0.78), rgba(224, 224, 229, 0.32), rgba(236, 0, 140, 0.78)) border-box;
}

.contact-line:hover,
.contact-line:focus-visible {
  transform: translateX(3px);
  background:
    linear-gradient(rgba(8, 13, 26, 0.98), rgba(8, 13, 26, 0.98)) padding-box,
    var(--jm-button-gradient) border-box;
  animation: outlinePulse 2.35s ease-in-out infinite;
}

.contact-line span {
  background:
    radial-gradient(circle at 30% 22%, rgba(255, 255, 255, 0.72), transparent 32%) padding-box,
    var(--jm-button-gradient) border-box,
    var(--jm-button-gradient);
  color: var(--jm-chrome-white);
}

.whatsapp-icon {
  width: 23px;
  height: 23px;
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 0 8px rgba(103, 244, 255, 0.35));
}

.whatsapp-icon path:last-child {
  fill: currentColor;
  stroke: none;
}

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

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

  .step,
  .step:last-child {
    padding: 22px;
    border-bottom: 2px solid transparent;
  }

  .contact-list {
    width: 100%;
  }
}

/* Preview proof-card refinements */
.proof-grid {
  gap: 18px;
}

.proof {
  min-height: 190px;
  border: 2px solid transparent;
  border-radius: 22px;
  padding: 24px;
  background:
    radial-gradient(circle at 12% 14%, rgba(0, 217, 242, 0.13), transparent 34%) padding-box,
    radial-gradient(circle at 88% 82%, rgba(236, 0, 140, 0.15), transparent 36%) padding-box,
    linear-gradient(rgba(8, 13, 26, 0.96), rgba(8, 13, 26, 0.96)) padding-box,
    linear-gradient(125deg, rgba(0, 217, 242, 0.74), rgba(224, 224, 229, 0.18), rgba(236, 0, 140, 0.72)) border-box;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 14px 38px rgba(0, 0, 0, 0.24);
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.proof::after {
  display: none;
}

.proof:hover,
.proof:focus-within {
  transform: translateY(-4px);
  background:
    linear-gradient(rgba(8, 13, 26, 0.98), rgba(8, 13, 26, 0.98)) padding-box,
    var(--jm-button-gradient) border-box;
  animation: outlinePulse 2.35s ease-in-out infinite;
}

.proof-icon {
  width: 60px;
  height: 60px;
  margin-bottom: 24px;
  background:
    radial-gradient(circle at 32% 24%, rgba(255, 255, 255, 0.72), transparent 30%) padding-box,
    var(--jm-button-gradient) border-box,
    var(--jm-button-gradient);
  color: var(--jm-chrome-white);
  box-shadow:
    inset 0 0 0 2px rgba(255, 255, 255, 0.18),
    0 0 24px rgba(24, 199, 223, 0.45),
    0 0 34px rgba(236, 0, 140, 0.34);
}

.proof-icon svg {
  width: 28px;
  height: 28px;
  stroke-width: 1.85;
  filter:
    drop-shadow(0 0 7px rgba(255, 255, 255, 0.28))
    drop-shadow(0 0 9px rgba(103, 244, 255, 0.28));
}

.proof strong {
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: clamp(2.1rem, 3.5vw, 3.1rem);
  font-weight: 900;
  letter-spacing: 0;
  background: var(--jm-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.proof > span:last-child {
  color: var(--jm-muted);
  font-size: 0.98rem;
  line-height: 1.45;
}

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

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

  .proof {
    min-height: 0;
  }
}

/* Final preview refinements before ZIP */
.button::before,
.case-link::after,
.contact-line::after,
.socials a::after {
  display: none !important;
  content: none !important;
  background: none !important;
}

.button {
  padding-right: 24px;
}

.socials a {
  min-width: 0;
  min-height: 52px;
  border: 2px solid transparent;
  padding: 6px 18px 6px 6px;
  background:
    linear-gradient(rgba(8, 13, 26, 0.96), rgba(8, 13, 26, 0.96)) padding-box,
    linear-gradient(120deg, rgba(0, 217, 242, 0.78), rgba(224, 224, 229, 0.28), rgba(236, 0, 140, 0.78)) border-box;
  color: var(--jm-chrome-white);
  text-shadow: none;
  box-shadow:
    0 8px 20px rgba(0, 0, 0, 0.22),
    0 0 16px rgba(0, 217, 242, 0.16),
    0 0 18px rgba(236, 0, 140, 0.14);
}

.socials a:hover,
.socials a:focus-visible {
  background:
    linear-gradient(rgba(8, 13, 26, 0.98), rgba(8, 13, 26, 0.98)) padding-box,
    var(--jm-button-gradient) border-box;
  color: var(--jm-chrome-white);
  animation: outlinePulse 2.35s ease-in-out infinite;
}

.social-icon {
  width: 40px;
  height: 40px;
  background:
    radial-gradient(circle at 30% 22%, rgba(255, 255, 255, 0.72), transparent 32%) padding-box,
    var(--jm-button-gradient) border-box,
    var(--jm-button-gradient);
  color: var(--jm-chrome-white);
  box-shadow:
    inset 0 0 0 2px rgba(255, 255, 255, 0.18),
    0 0 22px rgba(24, 199, 223, 0.4),
    0 0 28px rgba(236, 0, 140, 0.3);
}

.social-icon::after {
  background: linear-gradient(180deg, transparent, rgba(224, 224, 229, 0.5), transparent);
}

.social-logo {
  width: 18px;
  height: 18px;
  color: currentColor;
  filter: drop-shadow(0 0 8px rgba(103, 244, 255, 0.28));
}

/* Preview card system + website slider */
.service-card,
.package-card,
.faq-item,
.case-card,
.proof,
.step {
  border-width: 3px;
}

.service-card,
.package-card,
.faq-item {
  border: 3px solid transparent;
  border-radius: 22px;
  background:
    radial-gradient(circle at 12% 14%, rgba(0, 217, 242, 0.12), transparent 34%) padding-box,
    radial-gradient(circle at 88% 82%, rgba(236, 0, 140, 0.14), transparent 36%) padding-box,
    linear-gradient(rgba(8, 13, 26, 0.96), rgba(8, 13, 26, 0.96)) padding-box,
    linear-gradient(125deg, rgba(0, 217, 242, 0.72), rgba(224, 224, 229, 0.16), rgba(236, 0, 140, 0.72)) border-box;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 14px 38px rgba(0, 0, 0, 0.24);
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.service-card:hover,
.service-card:focus-within,
.package-card:hover,
.package-card:focus-within,
.faq-item:hover,
.faq-item:focus-within {
  transform: translateY(-4px);
  background:
    linear-gradient(rgba(8, 13, 26, 0.98), rgba(8, 13, 26, 0.98)) padding-box,
    var(--jm-button-gradient) border-box;
  animation: outlinePulse 2.35s ease-in-out infinite;
}

.service-card h3,
.package-card h3,
.faq-item h3 {
  background: var(--jm-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: none;
}

.service-card li::before,
.package-card li::before {
  background: var(--jm-button-gradient);
  box-shadow:
    0 0 10px rgba(0, 217, 242, 0.42),
    0 0 16px rgba(236, 0, 140, 0.32);
}

.service-slider {
  position: relative;
  display: block;
  height: 264px;
  overflow: hidden;
  background:
    radial-gradient(circle at 18% 18%, rgba(0, 217, 242, 0.12), transparent 38%),
    radial-gradient(circle at 82% 78%, rgba(236, 0, 140, 0.14), transparent 40%),
    #080d1a;
}

.service-slider img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.018);
  animation: jmPortfolioSlide 10s infinite;
}

.service-slider img:nth-child(1) { animation-delay: 0s; }
.service-slider img:nth-child(2) { animation-delay: 2s; }
.service-slider img:nth-child(3) { animation-delay: 4s; }
.service-slider img:nth-child(4) { animation-delay: 6s; }
.service-slider img:nth-child(5) { animation-delay: 8s; }

.service-grid > .reveal,
.service-grid > .reveal.is-visible,
.package-grid > .reveal,
.package-grid > .reveal.is-visible,
.faq-grid > .reveal,
.faq-grid > .reveal.is-visible,
.case-grid > .reveal,
.case-grid > .reveal.is-visible,
.featured-cases > .reveal,
.featured-cases > .reveal.is-visible {
  transition-delay: calc(var(--tile-index, 0) * 130ms);
}

.service-grid > .reveal:nth-child(1),
.package-grid > .reveal:nth-child(1),
.faq-grid > .reveal:nth-child(1),
.case-grid > .reveal:nth-child(1),
.featured-cases > .reveal:nth-child(1) { --tile-index: 0; }

.service-grid > .reveal:nth-child(2),
.package-grid > .reveal:nth-child(2),
.faq-grid > .reveal:nth-child(2),
.case-grid > .reveal:nth-child(2),
.featured-cases > .reveal:nth-child(2) { --tile-index: 1; }

.service-grid > .reveal:nth-child(3),
.package-grid > .reveal:nth-child(3),
.faq-grid > .reveal:nth-child(3),
.case-grid > .reveal:nth-child(3),
.featured-cases > .reveal:nth-child(3) { --tile-index: 2; }

.service-grid > .reveal:nth-child(4),
.package-grid > .reveal:nth-child(4),
.faq-grid > .reveal:nth-child(4),
.case-grid > .reveal:nth-child(4),
.featured-cases > .reveal:nth-child(4) { --tile-index: 3; }

.service-grid > .reveal:nth-child(5),
.package-grid > .reveal:nth-child(5),
.faq-grid > .reveal:nth-child(5),
.case-grid > .reveal:nth-child(5),
.featured-cases > .reveal:nth-child(5) { --tile-index: 4; }

.service-grid > .reveal:nth-child(6),
.package-grid > .reveal:nth-child(6),
.faq-grid > .reveal:nth-child(6),
.case-grid > .reveal:nth-child(6),
.featured-cases > .reveal:nth-child(6) { --tile-index: 5; }

.service-grid > .reveal:nth-child(7),
.package-grid > .reveal:nth-child(7),
.faq-grid > .reveal:nth-child(7),
.case-grid > .reveal:nth-child(7),
.featured-cases > .reveal:nth-child(7) { --tile-index: 6; }

.service-grid > .reveal:nth-child(8),
.package-grid > .reveal:nth-child(8),
.faq-grid > .reveal:nth-child(8),
.case-grid > .reveal:nth-child(8),
.featured-cases > .reveal:nth-child(8) { --tile-index: 7; }

.service-grid > .reveal:nth-child(9),
.package-grid > .reveal:nth-child(9),
.faq-grid > .reveal:nth-child(9),
.case-grid > .reveal:nth-child(9),
.featured-cases > .reveal:nth-child(9) { --tile-index: 8; }

.process.reveal.is-visible .step,
.proof-grid.reveal.is-visible .proof {
  opacity: 0;
  transform: translateY(26px);
  animation: tileEnter 720ms ease forwards;
}

.process.reveal.is-visible .step:nth-child(1),
.proof-grid.reveal.is-visible .proof:nth-child(1) { animation-delay: 0ms; }
.process.reveal.is-visible .step:nth-child(2),
.proof-grid.reveal.is-visible .proof:nth-child(2) { animation-delay: 130ms; }
.process.reveal.is-visible .step:nth-child(3),
.proof-grid.reveal.is-visible .proof:nth-child(3) { animation-delay: 260ms; }
.process.reveal.is-visible .step:nth-child(4),
.proof-grid.reveal.is-visible .proof:nth-child(4) { animation-delay: 390ms; }

@keyframes jmPortfolioSlide {
  0% { opacity: 0; transform: scale(1.018); }
  4%, 18% { opacity: 1; transform: scale(1); }
  22%, 100% { opacity: 0; transform: scale(1.018); }
}

@keyframes tileEnter {
  from {
    opacity: 0;
    transform: translateY(26px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 760px) {
  .service-slider {
    height: 220px;
  }
}

/* Preview typography + left-enter card motion */
.section-head {
  align-items: start;
}

.section-head h2 {
  max-width: 780px;
  font-size: clamp(2.45rem, 5.4vw, 4.8rem);
  line-height: 1.04;
  letter-spacing: 0;
}

.section-head p {
  max-width: 560px;
  color: var(--jm-muted);
  font-size: clamp(1rem, 1.35vw, 1.18rem);
  line-height: 1.58;
}

.eyebrow,
.card-kicker {
  color: var(--jm-pink-glow);
}

.service-card p,
.case-card p,
.package-card p,
.faq-item p,
.proof > span:last-child,
.step p {
  color: var(--jm-muted);
}

.service-card h3,
.package-card h3,
.faq-item h3,
.proof strong,
.step h3 {
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  line-height: 1.08;
}

.service-card > .service-image,
.case-card > .case-image {
  border-bottom: 4px solid transparent;
  border-image: var(--jm-button-gradient) 1;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.12),
    0 12px 26px rgba(0, 0, 0, 0.22);
}

.service-slider::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 4px;
  background: var(--jm-button-gradient);
  box-shadow:
    0 0 12px rgba(0, 217, 242, 0.42),
    0 0 16px rgba(236, 0, 140, 0.34);
  z-index: 2;
}

.service-grid > .reveal,
.package-grid > .reveal,
.faq-grid > .reveal,
.case-grid > .reveal,
.featured-cases > .reveal {
  opacity: 0;
  transform: translateX(-64px);
  transition:
    opacity 720ms ease,
    transform 720ms cubic-bezier(0.16, 1, 0.3, 1),
    filter 720ms ease;
  transition-delay: calc(var(--tile-index, 0) * 500ms);
}

.service-grid > .reveal.is-visible,
.package-grid > .reveal.is-visible,
.faq-grid > .reveal.is-visible,
.case-grid > .reveal.is-visible,
.featured-cases > .reveal.is-visible {
  opacity: 1;
  transform: translateX(0);
  filter: blur(0);
  transition-delay: calc(var(--tile-index, 0) * 500ms);
}

.process.reveal.is-visible .step,
.proof-grid.reveal.is-visible .proof {
  opacity: 0;
  transform: translateX(-64px);
  animation: tileEnterFromLeft 720ms cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.process.reveal.is-visible .step:nth-child(1),
.proof-grid.reveal.is-visible .proof:nth-child(1) { animation-delay: 0ms; }
.process.reveal.is-visible .step:nth-child(2),
.proof-grid.reveal.is-visible .proof:nth-child(2) { animation-delay: 500ms; }
.process.reveal.is-visible .step:nth-child(3),
.proof-grid.reveal.is-visible .proof:nth-child(3) { animation-delay: 1000ms; }
.process.reveal.is-visible .step:nth-child(4),
.proof-grid.reveal.is-visible .proof:nth-child(4) { animation-delay: 1500ms; }

@keyframes tileEnterFromLeft {
  from {
    opacity: 0;
    transform: translateX(-64px);
    filter: blur(8px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
    filter: blur(0);
  }
}

@media (max-width: 760px) {
  .section-head h2 {
    font-size: clamp(2.15rem, 10vw, 3.45rem);
  }

  .service-grid > .reveal,
  .package-grid > .reveal,
  .faq-grid > .reveal,
  .case-grid > .reveal,
  .featured-cases > .reveal {
    transform: translateX(-34px);
    transition-delay: calc(var(--tile-index, 0) * 220ms);
  }

  .service-grid > .reveal.is-visible,
  .package-grid > .reveal.is-visible,
  .faq-grid > .reveal.is-visible,
  .case-grid > .reveal.is-visible,
  .featured-cases > .reveal.is-visible {
    transition-delay: calc(var(--tile-index, 0) * 220ms);
  }
}

/* Preview mobile/layout correction 2026-07-04 */
.section-head h2 {
  max-width: 760px;
  font-size: clamp(2rem, 3.65vw, 3.25rem);
  line-height: 1.08;
}

.section-head p {
  font-size: clamp(1rem, 1.2vw, 1.12rem);
  line-height: 1.58;
}

.service-card {
  min-height: auto;
  overflow: hidden;
}

.service-card h3 {
  font-size: clamp(1.9rem, 3vw, 2.55rem);
  line-height: 1.05;
}

.service-card > .service-image,
.service-slider {
  aspect-ratio: 16 / 9;
  height: auto;
}

img.service-image {
  object-fit: cover;
  object-position: center;
}

.service-slider img {
  object-fit: cover;
  object-position: center;
}

.service-card > .service-image,
.case-card > .case-image {
  border-bottom-width: 3px;
}

.service-slider::after {
  height: 3px;
}

@media (max-width: 760px) {
  .section-head {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .section-head h2 {
    font-size: clamp(1.75rem, 8vw, 2.55rem);
    line-height: 1.12;
  }

  .section-head p {
    font-size: 1rem;
    line-height: 1.55;
  }

  .service-card {
    border-radius: 18px;
  }

  .service-card > .service-image,
  .service-slider {
    aspect-ratio: 16 / 9;
    height: auto;
    max-height: none;
  }

  .service-slider img {
    object-position: center top;
  }

  .service-card h3 {
    font-size: clamp(1.75rem, 8vw, 2.28rem);
  }

  .service-card p {
    font-size: 1rem;
    line-height: 1.55;
  }

  .service-card ul {
    margin-top: 18px;
  }
}

/* Preview portfolio slider framing correction */
.service-slider {
  aspect-ratio: 4 / 3;
  background:
    radial-gradient(circle at 18% 12%, rgba(0, 217, 242, 0.18), transparent 34%),
    radial-gradient(circle at 88% 72%, rgba(236, 0, 140, 0.2), transparent 34%),
    linear-gradient(135deg, rgba(0, 217, 242, 0.12), rgba(236, 0, 140, 0.12)),
    #07111f;
}

.service-slider img {
  object-fit: contain;
  object-position: center;
}

@media (max-width: 760px) {
  .service-slider {
    aspect-ratio: 4 / 3;
  }
}

/* Preview desktop service-card typography correction */
.service-card h3 {
  max-width: 100%;
  font-size: clamp(2rem, 2.05vw, 2.35rem);
  line-height: 1.08;
  overflow-wrap: anywhere;
  word-break: normal;
}

.service-card p,
.service-card li {
  font-size: clamp(1rem, 1.08vw, 1.12rem);
}

@media (min-width: 980px) {
  .service-card {
    padding-inline: clamp(1.45rem, 2vw, 2rem);
  }
}

@media (max-width: 760px) {
  .service-card h3 {
    font-size: clamp(1.75rem, 8vw, 2.28rem);
    overflow-wrap: normal;
  }
}

/* Preview desktop spacing correction */
@media (min-width: 980px) {
  .section-head p {
    margin-top: 26px;
  }

  .service-card {
    padding-inline: 0.95rem;
  }

  .service-card .card-kicker,
  .service-card h3,
  .service-card p,
  .service-card ul {
    width: 100%;
    max-width: none;
  }

  .service-card h3 {
    font-size: clamp(1.72rem, 1.75vw, 2rem);
    line-height: 1.1;
    overflow-wrap: normal;
    word-break: normal;
  }

  .service-card p,
  .service-card li {
    font-size: clamp(0.98rem, 1vw, 1.06rem);
    line-height: 1.42;
  }
}

/* Preview service cards full-width correction */
@media (min-width: 980px) {
  .service-grid {
    gap: 14px;
  }

  .service-card {
    padding: 0 !important;
  }

  .service-card > .service-image,
  .service-card > .service-slider {
    display: block;
    width: 100%;
    max-width: 100%;
    margin: 0;
    border-radius: 19px 19px 0 0;
  }

  .service-card .card-kicker {
    margin: 24px 8px 0;
    max-width: calc(100% - 16px);
  }

  .service-card h3 {
    margin: 22px 8px 0;
    max-width: calc(100% - 16px);
    font-size: clamp(1.62rem, 1.72vw, 1.98rem);
    line-height: 1.12;
    overflow-wrap: normal;
    word-break: normal;
  }

  .service-card p {
    margin: 20px 8px 0;
    max-width: calc(100% - 16px);
    font-size: clamp(0.96rem, 0.96vw, 1.04rem);
    line-height: 1.46;
    overflow-wrap: normal;
  }

  .service-card ul {
    margin: 24px 8px 28px;
    max-width: calc(100% - 16px);
  }

  .service-card li {
    font-size: clamp(0.96rem, 0.96vw, 1.04rem);
    line-height: 1.42;
  }
}

/* Preview service graphics square field */
.service-card > .service-image,
.service-card > .service-slider,
.service-slider {
  aspect-ratio: 1 / 1;
  height: auto;
  min-height: 0;
}

img.service-image {
  object-fit: cover;
  object-position: center;
}

.service-slider img {
  object-fit: contain;
  object-position: center;
}

@media (min-width: 980px) {
  .service-card > .service-image,
  .service-card > .service-slider,
  .service-slider {
    aspect-ratio: 1 / 1;
    width: 100%;
  }
}

@media (max-width: 760px) {
  .service-card > .service-image,
  .service-card > .service-slider,
  .service-slider {
    aspect-ratio: 1 / 1;
  }
}

/* Preview service slider divider alignment */
.service-slider::after {
  display: none;
  content: none;
}

/* Preview ticker and mobile proof-card correction */
html,
body {
  overflow-x: hidden;
}

.jm-home-hero .proof-strip {
  overflow: hidden;
  border-top: 1px solid rgba(0, 217, 242, 0.28);
  border-bottom: 1px solid rgba(236, 0, 140, 0.24);
  border-left: 0;
  border-right: 0;
  background:
    linear-gradient(90deg, rgba(0, 217, 242, 0.08), rgba(236, 0, 140, 0.08)),
    rgba(5, 10, 20, 0.9);
}

.jm-home-hero .proof-inner {
  width: max-content;
  max-width: none;
  min-height: 64px;
  margin: 0;
  padding: 0 max(24px, 7vw);
  justify-content: flex-start;
  flex-wrap: nowrap;
  gap: clamp(24px, 4vw, 58px);
  white-space: nowrap;
  animation: jmTickerLTR 38s linear infinite;
  will-change: transform;
}

.jm-home-hero .proof-inner span {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  font-size: clamp(0.95rem, 1.1vw, 1.05rem);
}

.jm-home-hero .proof-inner span::before {
  width: 10px;
  height: 10px;
  margin-right: 10px;
  background:
    radial-gradient(circle at 30% 25%, rgba(255, 255, 255, 0.86), transparent 38%),
    linear-gradient(135deg, #00d9f2 0%, #8e78ff 48%, #ec008c 100%);
  box-shadow:
    0 0 10px rgba(0, 217, 242, 0.38),
    0 0 10px rgba(236, 0, 140, 0.28);
}

@keyframes jmTickerLTR {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

@media (max-width: 760px) {
  .jm-home-hero .proof-inner {
    min-height: 54px;
    padding: 0 22px;
    gap: 28px;
    animation-duration: 30s;
  }
}

@media (max-width: 640px) {
  .proof-grid {
    width: 100%;
    max-width: 100%;
    grid-template-columns: 1fr;
    overflow: visible;
  }

  .proof {
    width: 100%;
    max-width: 100%;
    min-height: auto;
    box-sizing: border-box;
    padding: 22px;
    overflow: hidden;
  }

  .proof-grid.reveal.is-visible .proof {
    transform: none;
    animation: tileEnterMobile 520ms ease forwards;
  }

  .proof-grid.reveal.is-visible .proof:nth-child(1) {
    animation-delay: 0ms;
  }

  .proof-grid.reveal.is-visible .proof:nth-child(2) {
    animation-delay: 100ms;
  }

  .proof-grid.reveal.is-visible .proof:nth-child(3) {
    animation-delay: 200ms;
  }

  .proof-grid.reveal.is-visible .proof:nth-child(4) {
    animation-delay: 300ms;
  }

  .proof-icon {
    width: 56px;
    height: 56px;
    margin-bottom: 18px;
  }

  .proof strong {
    font-size: clamp(2rem, 10vw, 2.65rem);
  }

  .proof > span:last-child {
    font-size: 0.98rem;
  }
}

@keyframes tileEnterMobile {
  from {
    opacity: 0;
    transform: translateY(18px);
    filter: blur(4px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

/* Preview featured portfolio cards aligned with the main card system */
.featured-cases .case-card {
  border: 3px solid transparent;
  border-radius: 22px;
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 14%, rgba(0, 217, 242, 0.12), transparent 34%) padding-box,
    radial-gradient(circle at 88% 82%, rgba(236, 0, 140, 0.14), transparent 36%) padding-box,
    linear-gradient(rgba(8, 13, 26, 0.96), rgba(8, 13, 26, 0.96)) padding-box,
    var(--jm-button-gradient) border-box;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.04) inset,
    0 20px 54px rgba(0, 0, 0, 0.2);
  transition:
    transform 260ms ease,
    box-shadow 260ms ease,
    background 260ms ease;
}

.featured-cases .case-card:hover,
.featured-cases .case-card:focus-within {
  transform: translateY(-4px);
  background:
    linear-gradient(rgba(8, 13, 26, 0.98), rgba(8, 13, 26, 0.98)) padding-box,
    var(--jm-button-gradient) border-box;
  box-shadow:
    0 0 22px rgba(0, 217, 242, 0.2),
    0 0 34px rgba(236, 0, 140, 0.18),
    0 24px 64px rgba(0, 0, 0, 0.28);
}

.featured-cases .case-card > .case-image {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 19px 19px 0 0;
  border-bottom: 3px solid transparent;
  border-image: var(--jm-button-gradient) 1;
  object-fit: cover;
  object-position: center;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.12),
    0 12px 26px rgba(0, 0, 0, 0.22);
}

.featured-cases .case-body {
  padding: 24px;
}

.featured-cases .case-body .card-kicker {
  color: #ff4fc0;
}

.featured-cases .case-card h3 {
  background: var(--jm-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  line-height: 1.08;
  text-shadow: none;
}

.featured-cases .case-link {
  border: 2px solid transparent;
  background:
    linear-gradient(rgba(8, 13, 26, 0.96), rgba(8, 13, 26, 0.96)) padding-box,
    var(--jm-button-gradient) border-box;
  color: var(--jm-text);
  box-shadow:
    0 0 14px rgba(0, 217, 242, 0.12),
    0 0 18px rgba(236, 0, 140, 0.1);
}

.featured-cases .case-link:hover,
.featured-cases .case-link:focus-visible {
  border-color: transparent;
  background:
    var(--jm-button-gradient) padding-box,
    var(--jm-button-gradient) border-box;
  color: #fff;
  box-shadow:
    0 0 18px rgba(0, 217, 242, 0.26),
    0 0 26px rgba(236, 0, 140, 0.22);
}

@media (max-width: 760px) {
  .featured-cases .case-card {
    border-radius: 18px;
  }

  .featured-cases .case-body {
    padding: 22px;
  }
}

/* Preview hero copy and line-device accents */
.jm-home-hero .hero-device-line {
  position: absolute;
  z-index: 1;
  display: block;
  opacity: 0.26;
  filter:
    drop-shadow(0 0 18px rgba(0, 217, 242, 0.32))
    drop-shadow(0 0 18px rgba(236, 0, 140, 0.18));
  pointer-events: none;
}

.jm-home-hero .hero-device-line::before,
.jm-home-hero .hero-device-line::after {
  position: absolute;
  content: "";
  display: block;
}

.jm-home-hero .hero-device-line.laptop {
  left: clamp(14px, 7vw, 132px);
  top: clamp(96px, 18vh, 178px);
  width: clamp(118px, 15vw, 214px);
  height: clamp(72px, 9vw, 128px);
  border: 1px solid rgba(0, 217, 242, 0.62);
  border-radius: 10px;
  transform: rotate(-7deg);
}

.jm-home-hero .hero-device-line.laptop::before {
  inset: 10px 12px 16px;
  border: 1px solid rgba(248, 244, 234, 0.22);
  border-radius: 5px;
}

.jm-home-hero .hero-device-line.laptop::after {
  left: 18%;
  right: 18%;
  bottom: -11px;
  height: 8px;
  border-top: 1px solid rgba(236, 0, 140, 0.72);
  border-radius: 50%;
}

.jm-home-hero .hero-device-line.phone {
  right: clamp(14px, 9vw, 156px);
  top: clamp(112px, 20vh, 196px);
  width: clamp(42px, 5.4vw, 72px);
  height: clamp(82px, 10.6vw, 138px);
  border: 1px solid rgba(236, 0, 140, 0.66);
  border-radius: 18px;
  transform: rotate(8deg);
}

.jm-home-hero .hero-device-line.phone::before {
  left: 34%;
  right: 34%;
  top: 7px;
  height: 4px;
  border-radius: 999px;
  background: rgba(248, 244, 234, 0.36);
}

.jm-home-hero .hero-device-line.phone::after {
  left: 16%;
  right: 16%;
  bottom: 8px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0, 217, 242, 0.82), transparent);
}

.jm-home-hero .hero-device-line.tablet {
  right: clamp(34px, 13vw, 236px);
  bottom: clamp(170px, 25vh, 250px);
  width: clamp(94px, 12vw, 178px);
  height: clamp(62px, 7.5vw, 104px);
  border: 1px solid rgba(0, 217, 242, 0.5);
  border-radius: 14px;
  transform: rotate(-5deg);
}

.jm-home-hero .hero-device-line.tablet::before {
  inset: 8px 12px;
  border: 1px solid rgba(236, 0, 140, 0.42);
  border-radius: 9px;
}

.jm-home-hero .hero-device-line.tablet::after {
  right: 8px;
  top: 50%;
  width: 4px;
  height: 4px;
  border-radius: 999px;
  background: rgba(248, 244, 234, 0.38);
  transform: translateY(-50%);
}

@media (max-width: 760px) {
  .jm-home-hero .hero-device-line {
    opacity: 0.2;
  }

  .jm-home-hero .hero-device-line.laptop {
    left: -34px;
    top: 112px;
  }

  .jm-home-hero .hero-device-line.phone {
    right: -8px;
    top: 118px;
  }

  .jm-home-hero .hero-device-line.tablet {
    right: 22px;
    bottom: 185px;
  }
}

/* Preview refinement: animated line devices and cursor light trail */
.jm-home-hero .hero-device-line {
  color: rgba(103, 244, 255, 0.44);
  opacity: 0.34;
  filter: drop-shadow(0 0 16px rgba(0, 217, 242, 0.2));
  will-change: transform;
}

.jm-home-hero .hero-device-line.laptop {
  color: rgba(255, 88, 199, 0.48);
  border-color: rgba(255, 88, 199, 0.34);
  box-shadow:
    inset 0 0 0 1px rgba(255, 88, 199, 0.14),
    0 0 22px rgba(236, 0, 140, 0.13);
  animation: heroLaptopDrift 16s ease-in-out infinite;
}

.jm-home-hero .hero-device-line.laptop::before {
  border-color: rgba(103, 244, 255, 0.2);
  background:
    linear-gradient(135deg, rgba(236, 0, 140, 0.1), transparent 55%),
    linear-gradient(90deg, rgba(255, 255, 255, 0.1), transparent 34%);
}

.jm-home-hero .hero-device-line.laptop::after {
  left: 9%;
  right: 9%;
  bottom: -18px;
  height: 18px;
  border: 1px solid rgba(255, 88, 199, 0.26);
  border-radius: 4px 4px 11px 11px;
  background:
    linear-gradient(90deg, transparent 43%, rgba(255, 255, 255, 0.18) 43% 57%, transparent 57%),
    repeating-linear-gradient(90deg, rgba(103, 244, 255, 0.18) 0 5px, transparent 5px 10px),
    linear-gradient(180deg, rgba(255, 88, 199, 0.12), rgba(0, 217, 242, 0.08));
  transform: perspective(80px) rotateX(48deg);
  transform-origin: top center;
}

.jm-home-hero .hero-device-line.phone {
  color: rgba(103, 244, 255, 0.52);
  border-color: rgba(103, 244, 255, 0.42);
  box-shadow:
    inset 0 0 0 1px rgba(103, 244, 255, 0.13),
    0 0 22px rgba(0, 217, 242, 0.14);
  animation: heroPhoneDrift 13s ease-in-out infinite;
}

.jm-home-hero .hero-device-line.phone::before {
  background: rgba(255, 88, 199, 0.5);
  box-shadow: 0 0 14px rgba(255, 88, 199, 0.26);
}

.jm-home-hero .hero-device-line.phone::after {
  background: rgba(103, 244, 255, 0.5);
}

.jm-home-hero .hero-device-line.tablet {
  color: rgba(103, 244, 255, 0.48);
  border-color: rgba(103, 244, 255, 0.36);
  box-shadow:
    inset 0 0 0 1px rgba(103, 244, 255, 0.12),
    0 0 24px rgba(0, 217, 242, 0.13);
  animation: heroTabletDrift 15s ease-in-out infinite;
}

.jm-home-hero .hero-device-line.tablet::before {
  border-color: rgba(255, 88, 199, 0.28);
  background:
    linear-gradient(120deg, rgba(0, 217, 242, 0.08), transparent 50%),
    linear-gradient(270deg, rgba(255, 88, 199, 0.08), transparent 44%);
}

.jm-home-hero .hero-device-line.tablet::after {
  background: rgba(103, 244, 255, 0.56);
  box-shadow: 0 0 12px rgba(103, 244, 255, 0.3);
}

.hero-spark {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 999;
  width: var(--spark-size, 6px);
  height: var(--spark-size, 6px);
  border-radius: 999px;
  pointer-events: none;
  background:
    radial-gradient(circle, rgba(255, 255, 255, 0.95) 0 18%, var(--spark-color, #ff58c7) 24% 58%, transparent 72%);
  box-shadow:
    0 0 9px var(--spark-color, rgba(255, 88, 199, 0.8)),
    0 0 18px var(--spark-color, rgba(255, 88, 199, 0.42));
  mix-blend-mode: screen;
  transform: translate3d(-50%, -50%, 0) scale(1);
  animation: heroSparkFade 820ms ease-out forwards;
}

@keyframes heroLaptopDrift {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(-7deg); }
  35% { transform: translate3d(18px, -10px, 0) rotate(-4deg); }
  70% { transform: translate3d(-9px, 14px, 0) rotate(-9deg); }
}

@keyframes heroPhoneDrift {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(8deg); }
  45% { transform: translate3d(-14px, 16px, 0) rotate(12deg); }
  75% { transform: translate3d(10px, -8px, 0) rotate(6deg); }
}

@keyframes heroTabletDrift {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(-6deg); }
  40% { transform: translate3d(-18px, -12px, 0) rotate(-10deg); }
  75% { transform: translate3d(12px, 10px, 0) rotate(-4deg); }
}

@keyframes heroSparkFade {
  0% {
    opacity: 0.95;
    transform: translate3d(-50%, -50%, 0) scale(0.72);
  }
  100% {
    opacity: 0;
    transform: translate3d(calc(-50% + var(--spark-x, 0px)), calc(-50% + var(--spark-y, -18px)), 0) scale(1.8);
  }
}

@media (prefers-reduced-motion: reduce) {
  .jm-home-hero .hero-device-line {
    animation: none !important;
  }
}

@media (max-width: 760px) {
  .jm-home-hero .hero-device-line {
    opacity: 0.24;
  }

  .jm-home-hero .hero-device-line.laptop {
    left: -42px;
    top: 118px;
    width: 152px;
    height: 88px;
  }

  .jm-home-hero .hero-device-line.phone {
    right: -4px;
    top: 104px;
  }

  .jm-home-hero .hero-device-line.tablet {
    right: 16px;
    bottom: 198px;
  }
}

/* Preview typography cleanup: small labels follow one JM Art color system */
.eyebrow,
.card-kicker,
.field label {
  color: var(--jm-pink-glow);
  background: linear-gradient(90deg, var(--jm-accent-cyan) 0%, var(--jm-silver) 48%, var(--jm-pink-glow) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
  text-shadow: none;
}

.section-head .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  font-size: clamp(0.92rem, 1vw, 1.02rem);
}

.section-head .eyebrow::before {
  display: inline-block;
  width: 44px;
  height: 1px;
  flex: 0 0 44px;
  background: var(--jm-button-gradient);
  box-shadow:
    0 0 12px rgba(0, 217, 242, 0.28),
    0 0 16px rgba(236, 0, 140, 0.24);
  content: "";
}

.jm-home-hero .eyebrow {
  background: linear-gradient(90deg, var(--jm-accent-cyan), var(--jm-pink-glow));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.service-card .card-kicker,
.package-card .card-kicker,
.featured-cases .case-body .card-kicker,
.case-body .card-kicker {
  color: var(--jm-pink-glow);
  background: linear-gradient(90deg, var(--jm-pink-glow) 0%, var(--jm-silver) 48%, var(--jm-accent-cyan) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-size: clamp(0.78rem, 0.9vw, 0.88rem);
  letter-spacing: 0;
}

.field label {
  font-size: 0.76rem;
}

.whatsapp-line .whatsapp-icon {
  width: 23px;
  height: 23px;
  display: block;
  color: var(--jm-chrome-white);
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter:
    drop-shadow(0 0 7px rgba(103, 244, 255, 0.36))
    drop-shadow(0 0 9px rgba(236, 0, 140, 0.26));
}

.whatsapp-line .whatsapp-icon path:last-child {
  fill: currentColor;
  stroke: none;
}

@media (max-width: 760px) {
  .section-head .eyebrow {
    font-size: 0.9rem;
  }

  .section-head .eyebrow::before {
    width: 36px;
    flex-basis: 36px;
  }
}

/* Preview correction 2026-07-05: magenta labels, gradient only on heading accents */
.eyebrow,
.card-kicker,
.field label,
.service-card .card-kicker,
.package-card .card-kicker,
.featured-cases .case-body .card-kicker,
.case-body .card-kicker {
  color: var(--jm-pink-glow);
  background: none;
  -webkit-background-clip: initial;
  background-clip: initial;
  -webkit-text-fill-color: var(--jm-pink-glow);
  text-fill-color: var(--jm-pink-glow);
}

.section-head .eyebrow::before {
  background: var(--jm-button-gradient);
}

.accent-line,
.service-card h3,
.package-card h3,
.faq-item h3,
.featured-cases .case-card h3,
.proof strong,
.step h3 {
  background: linear-gradient(90deg, var(--jm-accent-cyan) 0%, var(--jm-silver) 48%, var(--jm-pink-glow) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

.accent-line {
  display: block;
  width: max-content;
  max-width: 100%;
}

@media (max-width: 760px) {
  .accent-line {
    width: fit-content;
  }
}

/* Preview update 2026-07-05: homepage-only trail, portfolio hero and mobile grid guards */
.site-header .nav-cta {
  min-height: 42px;
  padding: 0 18px;
  border-radius: 999px;
  font-size: 0.76rem;
  line-height: 1;
  white-space: nowrap;
}

.section-cta {
  margin-top: clamp(28px, 4vw, 46px);
}

.section-cta .button {
  flex: 0 0 auto;
}

.hero-spark {
  animation: heroSparkFade 1100ms ease-out forwards;
}

@keyframes heroSparkFade {
  0% {
    opacity: 0.95;
    transform: translate3d(-50%, -50%, 0) scale(0.72);
  }
  8% {
    opacity: 0.88;
  }
  100% {
    opacity: 0;
    transform: translate3d(calc(-50% + var(--spark-x, 0px)), calc(-50% + var(--spark-y, -18px)), 0) scale(2.3);
  }
}

.portfolio-hero {
  isolation: isolate;
  min-height: min(720px, 82svh);
  display: grid;
  align-items: center;
  background:
    radial-gradient(circle at 20% 22%, rgba(0, 217, 242, 0.18), transparent 34%),
    radial-gradient(circle at 82% 28%, rgba(236, 0, 140, 0.2), transparent 36%),
    var(--jm-primary-bg);
}

.portfolio-hero .portfolio-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.portfolio-hero .orb,
.portfolio-hero .ribbon,
.portfolio-hero .hero-device-line {
  position: absolute;
  display: block;
}

.portfolio-hero .orb {
  width: 320px;
  height: 320px;
  border-radius: 50%;
  filter: blur(45px);
  opacity: 0.28;
}

.portfolio-hero .orb.cyan {
  left: 4%;
  top: 18%;
  background: var(--jm-accent-cyan);
  animation: floatSlow 9s ease-in-out infinite;
}

.portfolio-hero .orb.pink {
  right: 5%;
  top: 24%;
  background: var(--jm-accent-magenta);
  animation: floatSlow 10s ease-in-out infinite reverse;
}

.portfolio-hero .ribbon {
  left: -10%;
  right: -10%;
  height: 2px;
  transform: rotate(-8deg);
  background: linear-gradient(90deg, transparent, rgba(0, 217, 242, 0.58), rgba(236, 0, 140, 0.46), transparent);
  opacity: 0.4;
}

.portfolio-hero .r1 { top: 30%; animation: pulseLine 4s ease-in-out infinite; }
.portfolio-hero .r2 { top: 48%; transform: rotate(7deg); animation: pulseLine 5s ease-in-out infinite reverse; }

.portfolio-hero .hero-device-line {
  z-index: 1;
  opacity: 0.28;
  will-change: transform;
  filter: drop-shadow(0 0 16px rgba(0, 217, 242, 0.18));
}

.portfolio-hero .hero-device-line::before,
.portfolio-hero .hero-device-line::after {
  position: absolute;
  content: "";
  display: block;
}

.portfolio-hero .hero-device-line.laptop {
  left: clamp(14px, 7vw, 132px);
  top: clamp(96px, 18vh, 178px);
  width: clamp(118px, 15vw, 214px);
  height: clamp(72px, 9vw, 128px);
  border: 1px solid rgba(255, 88, 199, 0.34);
  border-radius: 12px;
  box-shadow: inset 0 0 0 1px rgba(255, 88, 199, 0.14), 0 0 22px rgba(236, 0, 140, 0.13);
  animation: heroLaptopDrift 16s ease-in-out infinite;
}

.portfolio-hero .hero-device-line.laptop::before {
  inset: 10px 12px 16px;
  border: 1px solid rgba(103, 244, 255, 0.2);
  border-radius: 5px;
  background: linear-gradient(135deg, rgba(236, 0, 140, 0.1), transparent 55%);
}

.portfolio-hero .hero-device-line.laptop::after {
  left: 9%;
  right: 9%;
  bottom: -18px;
  height: 18px;
  border: 1px solid rgba(255, 88, 199, 0.26);
  border-radius: 4px 4px 11px 11px;
  background:
    linear-gradient(90deg, transparent 43%, rgba(255, 255, 255, 0.18) 43% 57%, transparent 57%),
    repeating-linear-gradient(90deg, rgba(103, 244, 255, 0.18) 0 5px, transparent 5px 10px),
    linear-gradient(180deg, rgba(255, 88, 199, 0.12), rgba(0, 217, 242, 0.08));
  transform: perspective(80px) rotateX(48deg);
  transform-origin: top center;
}

.portfolio-hero .hero-device-line.phone {
  right: clamp(14px, 9vw, 156px);
  top: clamp(112px, 20vh, 196px);
  width: clamp(42px, 5.4vw, 72px);
  height: clamp(82px, 10.6vw, 138px);
  border: 1px solid rgba(103, 244, 255, 0.42);
  border-radius: 18px;
  animation: heroPhoneDrift 13s ease-in-out infinite;
}

.portfolio-hero .hero-device-line.phone::before {
  left: 34%;
  right: 34%;
  top: 7px;
  height: 4px;
  border-radius: 99px;
  background: rgba(255, 88, 199, 0.5);
}

.portfolio-hero .hero-device-line.phone::after {
  left: 16%;
  right: 16%;
  bottom: 8px;
  height: 1px;
  background: rgba(103, 244, 255, 0.5);
}

.portfolio-hero .hero-device-line.tablet {
  right: clamp(34px, 13vw, 236px);
  bottom: clamp(170px, 25vh, 250px);
  width: clamp(94px, 12vw, 178px);
  height: clamp(62px, 7.5vw, 104px);
  border: 1px solid rgba(103, 244, 255, 0.36);
  border-radius: 14px;
  animation: heroTabletDrift 15s ease-in-out infinite;
}

.portfolio-hero .hero-device-line.tablet::before {
  inset: 8px 12px;
  border: 1px solid rgba(255, 88, 199, 0.28);
  border-radius: 9px;
  background: linear-gradient(120deg, rgba(0, 217, 242, 0.08), transparent 50%);
}

.portfolio-hero .hero-device-line.tablet::after {
  right: 8px;
  top: 50%;
  width: 4px;
  height: 4px;
  border-radius: 999px;
  background: rgba(103, 244, 255, 0.56);
  box-shadow: 0 0 12px rgba(103, 244, 255, 0.3);
}

.portfolio-hero .portfolio-hero-inner {
  z-index: 2;
}

@media (max-width: 760px) {
  .wrap {
    width: min(100% - 28px, 1180px);
  }

  .proof-grid,
  .service-grid,
  .case-grid,
  .featured-cases,
  .portfolio-grid,
  .process,
  .package-grid,
  .faq-grid {
    grid-template-columns: minmax(0, 1fr) !important;
    width: 100%;
    max-width: 100%;
    gap: 18px;
    overflow: visible;
  }

  .proof,
  .service-card,
  .case-card,
  .package-card,
  .faq-item,
  .step {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
    margin-inline: 0;
  }

  .proof {
    padding: 28px;
  }

  .service-card .service-image,
  .featured-cases .case-card > .case-image,
  .case-image {
    width: 100%;
    max-width: 100%;
  }

  .section-cta {
    align-items: stretch;
    flex-direction: column;
  }

  .section-cta .button {
    width: 100%;
  }

  .portfolio-hero {
    min-height: auto;
  }

  .service-grid > .reveal,
  .package-grid > .reveal,
  .faq-grid > .reveal,
  .case-grid > .reveal,
  .featured-cases > .reveal {
    transform: translateY(22px) !important;
  }

  .service-grid > .reveal.is-visible,
  .package-grid > .reveal.is-visible,
  .faq-grid > .reveal.is-visible,
  .case-grid > .reveal.is-visible,
  .featured-cases > .reveal.is-visible {
    transform: translateY(0) !important;
  }
}

/* Preview mobile hardening: keep thick framed cards inside the viewport */
@media (max-width: 760px) {
  html,
  body,
  .site-main,
  .jm-home-hero,
  .section {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
  }

  .wrap {
    width: 100%;
    max-width: calc(100vw - 32px);
    margin-inline: auto;
  }

  .proof-grid,
  .service-grid,
  .case-grid,
  .featured-cases,
  .portfolio-grid,
  .process,
  .package-grid,
  .faq-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) !important;
    max-width: 100%;
    min-width: 0;
    margin-inline: 0 !important;
    padding-inline: 0 !important;
    transform: none;
  }

  .proof-grid > *,
  .service-grid > *,
  .case-grid > *,
  .featured-cases > *,
  .portfolio-grid > *,
  .process > *,
  .package-grid > *,
  .faq-grid > * {
    min-width: 0 !important;
    max-width: 100% !important;
  }

  .proof,
  .service-card,
  .case-card,
  .package-card,
  .faq-item,
  .step {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    box-sizing: border-box;
  }

  .proof-grid.reveal.is-visible .proof,
  .process.reveal.is-visible .step {
    transform: translateY(0) !important;
    animation-name: tileEnterMobile;
  }

  .section-cta {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
  }

  .button,
  .button.primary,
  .button.secondary {
    max-width: 100%;
    min-width: 0;
    white-space: normal;
    text-align: center;
  }
}
