:root {
  --bg: #ffffff;
  --bg2: #f4f7fb;
  --panel: #ffffff;
  --line: rgba(15, 23, 42, .10);
  --text: #0f172a;
  --muted: #5b6675;
  --lime: #1760a4;
  --lime-dim: rgba(20, 93, 166, .10);
  --purple: #1760a4;
  --header-bg: rgba(255, 255, 255, .85);
  --header-bg-solid: rgba(255, 255, 255, .97);
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, .04), 0 1px 3px rgba(15, 23, 42, .06);
  --shadow-md: 0 4px 12px rgba(15, 23, 42, .06), 0 2px 6px rgba(15, 23, 42, .04);
  --shadow-lg: 0 16px 40px rgba(15, 23, 42, .10), 0 4px 12px rgba(15, 23, 42, .05);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-padding-top: env(safe-area-inset-top, 0px);
  scroll-behavior: smooth;
  background: #d5e6f6;
  max-width: 100%;
  overflow-x: clip;
}

#space-bg {
  display: none;
}

body {
  background: transparent;
  isolation: isolate;
  max-width: 100%;
  color: var(--text);
  font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  padding-top: env(safe-area-inset-top, 0px);
  padding-bottom: env(safe-area-inset-bottom, 0px);
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
  overflow-x: clip;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  color: var(--lime);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 18px;
  height: 1px;
  background: var(--lime);
}

.eyebrow.center {
  justify-content: center;
}

h1,
h2,
h3 {
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--text);
}

.accent {
  color: var(--lime);
}

.outline-text {
  color: transparent;
  -webkit-text-stroke: 1.5px var(--purple);
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 22px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform .15s ease, opacity .15s ease, box-shadow .15s ease, background .15s ease;
  color: #ffffff;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--lime);
  color: #ffffff;
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
  background: #12528f;
  box-shadow: var(--shadow-md);
}

.btn-outline {
  border-color: var(--line);
  color: var(--text);
  background: transparent;
}

.btn-outline:hover {
  border-color: var(--lime);
  color: var(--lime);
  background: var(--lime-dim);
}

button,
input[type="submit"],
input[type="button"],
.auth-submit {
  color: #ffffff;
}

section {
  padding: 72px 0;
  border-top: 1px solid transparent;
}

main > section {
  background: linear-gradient(180deg, rgba(255, 255, 255, .18), rgba(255, 255, 255, 0));
}

main > section:nth-child(even) {
  background: linear-gradient(165deg, rgba(255, 255, 255, .38) 0%, rgba(214, 232, 247, .22) 55%, rgba(255, 255, 255, .08) 100%);
}

.center {
  text-align: center;
}

.sub {
  color: var(--muted);
  font-size: 16px;
  max-width: 620px;
}

.center .sub {
  margin: 0 auto;
}

/* header */
header {
  position: fixed;
  top: env(safe-area-inset-top, 0px);
  left: 0;
  right: 0;
  z-index: 9999;
  background: var(--purple);
  border-bottom: 1px solid rgba(255,255,255,.12);
  transition: background .2s ease, box-shadow .2s ease;
  animation: header-enter .7s cubic-bezier(.16, .84, .28, 1) both;
}

header.is-scrolled {
  background: #1760a4;
  box-shadow: 0 10px 30px rgba(16, 42, 92, .28);
}

header nav.links {
  color: rgba(255,255,255,.86);
}

header nav.links a.active,
header nav.links a:hover {
  color: #ffffff;
}

header .menu-btn {
  color: #ffffff;
  border-color: rgba(255,255,255,.35);
  background: transparent;
}

header .btn-primary {
  background: #ffffff;
  color: var(--purple) !important;
}

header .submenu a,
header .submenu a:hover {
  color: var(--text);
}

header .submenu a:hover {
  color: var(--lime);
}

header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

main {
  padding-top: 76px;
}

.logo {
  font-weight: 800;
  font-size: 22px;
  letter-spacing: -0.01em;
  line-height: 1;
}

.logo img {
  display: block;
  width: min(210px, 36vw);
  height: auto;
}

.logo em {
  font-style: normal;
  color: var(--purple);
}

.logo small {
  display: block;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: .25em;
  color: var(--muted);
}

nav.links {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 30px;
  font-size: 14px;
  color: var(--muted);
}

nav.links a {
  position: relative;
  z-index: 1;
  white-space: nowrap;
  pointer-events: auto;
}

nav.links a.active {
  color: var(--text);
  font-weight: 600;
}

nav.links a:hover {
  color: var(--lime);
}

.menu-item,
.submenu-item {
  position: relative;
}

.submenu-toggle {
  display: none;
}

.menu-item>.submenu {
  position: absolute;
  top: 100%;
  left: -18px;
  z-index: 100;
  display: none;
  min-width: 260px;
  padding: 10px;
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid rgba(23, 96, 164, 0.12);
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
}

.menu-item>.submenu::before {
  content: "";
  position: absolute;
  top: -7px;
  left: 26px;
  width: 12px;
  height: 12px;
  background: rgba(255, 255, 255, 0.98);
  border-left: 1px solid rgba(23, 96, 164, 0.12);
  border-top: 1px solid rgba(23, 96, 164, 0.12);
  transform: rotate(45deg);
}

.menu-item:hover>.submenu,
.menu-item:focus-within>.submenu,
.submenu-item:hover>.submenu,
.submenu-item:focus-within>.submenu {
  display: block;
}

.menu-item>.submenu a,
.submenu-item>.submenu a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 12px;
  border-radius: 10px;
  color: var(--text);
  font-weight: 600;
  letter-spacing: -0.01em;
}

.menu-item>.submenu a:hover,
.submenu-item>.submenu a:hover {
  background: var(--lime-dim);
  color: var(--lime);
}

.submenu-item>.submenu {
  position: absolute;
  top: -8px;
  left: 100%;
  z-index: 110;
  display: none;
  min-width: 220px;
  padding: 8px;
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid rgba(23, 96, 164, 0.12);
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
}

.submenu-item.has-children>a::after {
  margin-left: 1rem;
  content: "›";
  color: var(--lime);
  font-weight: 700;
}

.cms-page-content {
  white-space: pre-wrap;
  line-height: 1.8;
  color: var(--muted);
}

.cms-page-content h2,
.cms-page-content h3 {
  margin: 2rem 0 .75rem;
  color: var(--text);
}

.cms-page-content p,
.cms-page-content ul {
  margin: 0 0 1rem;
}

.cms-page-content ul {
  padding-left: 1.5rem;
}

.application-form {
  max-width: 900px;
  margin: 0 auto;
  padding: clamp(18px, 4vw, 32px);
}

.application-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.application-section-title {
  grid-column: 1/-1;
  margin-top: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
  font-size: 16px;
  font-weight: 700;
}

.application-field {
  min-width: 0;
}

.application-field[hidden] {
  display: none;
}

.application-field-wide {
  grid-column: 1/-1;
}

.application-field label {
  display: block;
  margin: 0 0 6px;
  font-size: 13px;
  font-weight: 600;
}

.application-field input,
.application-field select,
.application-field textarea {
  width: 100%;
  min-width: 0;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcfe;
  color: var(--text);
  font: inherit;
  font-size: 14px;
}

.application-field input[type=file] {
  font-size: 12px;
}

.application-field input:focus,
.application-field select:focus,
.application-field textarea:focus {
  outline: none;
  border-color: var(--lime);
  box-shadow: 0 0 0 3px var(--lime-dim);
}

.application-field textarea {
  resize: vertical;
}

.application-field .form-error {
  display: block;
  margin-top: 5px;
}

.application-submit {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 22px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.application-submit .sub {
  margin: 0;
  font-size: 13px;
}

.application-errors {
  max-width: 900px;
  margin: 0 auto 16px;
  padding: 12px 16px;
  border: 1px solid #dc2626;
  border-radius: 8px;
  color: #b91c1c;
  background: #fef2f2;
}

.navcta {
  display: flex;
  align-items: center;
  gap: 16px;
}

.menu-btn {
  display: none;
  background: none;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--text);
  width: 40px;
  height: 40px;
  font-size: 18px;
}

.menu-btn {
  position: relative;
  z-index: 2;
}

/* page hero (sub pages) */
.page-hero {
  text-align: center;
  padding: 80px 0 60px;
}

.page-hero h1 {
  font-size: clamp(34px, 5.5vw, 58px);
}

.page-hero .sub {
  margin: 16px auto 0;
}

.service-page-hero {
  padding: 54px 0 46px;
  text-align: left;
  border-top: none;
}

.service-page-hero .wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 56px;
  align-items: center;
}

.service-hero-copy {
  max-width: 590px;
}

.service-hero-copy .eyebrow {
  margin-bottom: 18px;
}

.service-hero-copy h1 {
  font-size: clamp(34px, 4.4vw, 54px);
}

.service-hero-copy .sub {
  max-width: 560px;
  margin: 18px 0 24px;
  line-height: 1.7;
}

.service-hero-image {
  height: clamp(280px, 34vw, 410px);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--panel);
  box-shadow: var(--shadow-lg);
}

.service-hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-details {
  padding: 34px 0 68px;
  border-top: 1px solid var(--line);
}

.service-detail-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}

.service-detail-section {
  min-width: 0;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--panel);
  box-shadow: var(--shadow-sm);
}

.service-detail-section .eyebrow {
  margin-bottom: 14px;
  font-size: 10px;
}

.service-detail-section h2 {
  margin: 0 0 12px;
  color: var(--text);
  font-size: 21px;
  line-height: 1.3;
}

.service-detail-section p {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.service-detail-section ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 14px 0 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.service-detail-section li {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.service-detail-section li strong {
  color: var(--text);
}

.service-outcomes {
  padding: 8px 0 52px;
  border-top: 0;
}

.service-outcomes-heading {
  max-width: 700px;
  margin: 0 auto 24px;
  text-align: center;
}

.service-outcomes-heading .eyebrow {
  justify-content: center;
}

.service-outcomes-heading h2 {
  font-size: clamp(24px, 3.5vw, 34px);
}

.service-outcomes-heading p {
  max-width: 620px;
  margin: 12px auto 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.service-outcomes-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.service-outcome {
  padding: 20px 22px;
  border-left: 2px solid var(--lime);
  background: linear-gradient(100deg, var(--lime-dim), transparent 80%);
  border-radius: 0 8px 8px 0;
}

.service-outcome h3 {
  margin: 0 0 8px;
  color: var(--text);
  font-size: 16px;
}

.service-outcome p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
}

.service-page-cta {
  padding: 64px 0;
}

.service-page-cta .sub {
  margin: 14px auto 24px;
  line-height: 1.7;
}

@media(max-width:900px) {
  .service-page-hero .wrap {
    grid-template-columns: minmax(0, 1fr) minmax(0, .9fr);
    gap: 28px;
  }

  .service-detail-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media(max-width:640px) {
  .service-page-hero {
    padding: 38px 0 30px;
  }

  .service-page-hero .wrap {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .service-hero-copy h1 {
    font-size: clamp(32px, 9vw, 44px);
  }

  .service-hero-image {
    height: 240px;
  }

  .service-details {
    padding: 24px 0 44px;
  }

  .service-detail-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .service-detail-section {
    padding: 20px;
  }

  .service-outcomes {
    padding: 0 0 38px;
  }

  .service-outcomes-heading {
    text-align: left;
  }

  .service-outcomes-heading .eyebrow {
    justify-content: flex-start;
  }

  .service-outcomes-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .service-outcome {
    padding: 16px 18px;
  }

  .service-page-cta {
    padding: 48px 0;
  }
}

/* hero */
.hero {
  border-top: none;
  padding: 100px 0 70px;
  text-align: center;
  position: relative;
}

.hero h1 {
  font-size: clamp(38px, 6vw, 72px);
  max-width: 900px;
  margin: 0 auto 22px;
}

.hero .sub {
  margin: 0 auto 34px;
  font-size: 17px;
}

.hero-ctas {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* stats */
.stats {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  padding-top: 70px;
}

.stat {
  text-align: center;
}

.stat b {
  display: block;
  font-size: clamp(26px, 4vw, 40px);
  color: var(--lime);
  font-weight: 700;
}

.stat span {
  color: var(--muted);
  font-size: 13px;
}

/* two-col cards */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 40px;
}

.card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 32px;
  box-shadow: var(--shadow-sm);
}

.card h3 {
  font-size: 22px;
  margin-bottom: 10px;
}

.card p {
  color: var(--muted);
  font-size: 14.5px;
  margin-bottom: 18px;
}

.card .link {
  color: var(--lime);
  font-size: 14px;
  font-weight: 600;
}

.banner {
  background: linear-gradient(90deg, var(--lime-dim), transparent);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 26px 30px;
  margin-top: 30px;
  font-size: 16px;
  color: var(--text);
}

/* generic grids */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 50px;
}

.grid-6 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 50px;
}

.feat {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 28px;
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease;
}

.feat:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.feat h4 {
  font-size: 16px;
  margin-bottom: 8px;
}

.feat p {
  color: var(--muted);
  font-size: 13.5px;
}

.feat .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--lime);
  margin-bottom: 16px;
}

.logos {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: center;
  align-items: center;
  margin-top: 40px;
  color: var(--muted);
  font-size: 15px;
  font-weight: 600;
  opacity: .7;
}

/* ===== Ecosystem circle diagram ===== */
.eco-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
  margin-top: 50px;
}

.eco-circle {
  position: relative;
  width: 340px;
  height: 340px;
  margin: 0 auto;
  border-radius: 50%;
  border: 1px dashed var(--line);
}

.eco-center {
  position: absolute;
  inset: 90px;
  border-radius: 50%;
  background: var(--panel);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  color: var(--muted);
  letter-spacing: .05em;
  box-shadow: var(--shadow-sm);
}

.eco-center b {
  color: var(--text);
  font-size: 14px;
}

.eco-node {
  position: absolute;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--bg);
  border: 2px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  cursor: pointer;
  transition: .2s;
}

.eco-node.active {
  border-color: var(--lime);
  box-shadow: 0 0 0 4px var(--lime-dim);
}

.eco-node span {
  position: absolute;
  top: 70px;
  font-size: 11px;
  letter-spacing: .05em;
  color: var(--muted);
  white-space: nowrap;
}

.eco-node.active span {
  color: var(--lime);
  font-weight: 600;
}

.eco-n1 {
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
}

.eco-n2 {
  top: 22%;
  right: -10px;
}

.eco-n3 {
  bottom: 22%;
  right: -10px;
}

.eco-n4 {
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
}

.eco-n5 {
  top: 22%;
  left: -10px;
}

.eco-detail h3 {
  font-size: 26px;
  margin: 10px 0 4px;
}

.eco-detail .tagline {
  color: var(--purple);
  font-size: 13px;
  margin-bottom: 12px;
}

.eco-pills {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 18px 0;
}

.pill {
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 6px 14px;
  font-size: 12px;
  color: var(--muted);
}

.eco-nums {
  display: flex;
  gap: 40px;
  margin-top: 14px;
}

.eco-nums b {
  display: block;
  font-size: 22px;
}

.eco-nums span {
  font-size: 11px;
  color: var(--muted);
  letter-spacing: .05em;
}

.eco-strip {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 60px;
}

.eco-strip .mini {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 12px 16px;
  font-size: 12px;
  text-align: center;
  color: var(--muted);
  background: var(--panel);
}

/* ===== steps row ===== */
.steps-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  margin-top: 50px;
}

.step {
  text-align: center;
}

.step-circle {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid var(--purple);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
  font-size: 11px;
  color: var(--muted);
}

.step.active .step-circle {
  border-color: var(--lime);
  color: var(--lime);
  box-shadow: 0 0 0 4px var(--lime-dim);
}

.step h4 {
  font-size: 14px;
  margin-bottom: 8px;
}

.step p {
  color: var(--muted);
  font-size: 12.5px;
}

.terminal {
  background: #0c1322;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  margin-top: 50px;
}

.terminal .bar {
  padding: 10px 16px;
  border-bottom: 1px solid var(--line);
  font-size: 12px;
  color: #9fb3c8;
  display: flex;
  gap: 8px;
  align-items: center;
}

.terminal .bar .d {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .25);
}

.terminal .body {
  padding: 20px;
  font-family: monospace;
  font-size: 12.5px;
  line-height: 2;
  color: #9fb3c8;
}

.terminal .body .ok {
  color: #5fb0ff;
}

/* ===== team model (AI native team) ===== */
.team-model {
  display: flex;
  gap: 24px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 50px;
}

.tm-circle {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  border: 1px solid var(--purple);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
}

.tm-circle.lime {
  border-color: var(--lime);
}

.tm-col {
  text-align: center;
}

.tm-col span {
  display: block;
  margin-top: 12px;
  font-size: 12px;
  color: var(--muted);
  letter-spacing: .04em;
}

.tm-op {
  font-size: 22px;
  color: var(--muted);
}

/* ===== studio grid (services with icon) ===== */
.studio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  margin-top: 40px;
}

.studio-card {
  padding: 30px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  position: relative;
  background: var(--panel);
  transition: box-shadow .2s ease;
}

.studio-card:hover {
  box-shadow: var(--shadow-md);
}

.studio-card:nth-child(3n) {
  border-right: none;
}

.studio-card:nth-last-child(-n+3) {
  border-bottom: none;
}

.studio-icon {
  width: 34px;
  height: 34px;
  border: 1px solid var(--purple);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--purple);
  margin-bottom: 16px;
}

.studio-num {
  position: absolute;
  top: 26px;
  right: 26px;
  font-size: 11px;
  color: var(--muted);
}

.studio-card h4 {
  font-size: 17px;
  margin-bottom: 8px;
}

.studio-card p {
  color: var(--muted);
  font-size: 13.5px;
}

.studio-card-visual {
  padding-top: 0;
}

.studio-visual {
  position: relative;
  height: 168px;
  margin: 0 -30px 18px;
  overflow: hidden;
  background: linear-gradient(135deg, #145DA6, #1760a4);
}

.studio-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}

.studio-card-visual:hover .studio-visual img {
  transform: scale(1.06);
}

.studio-visual .studio-num {
  top: 12px;
  right: 12px;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(255,255,255,.92);
  color: var(--purple);
  font-weight: 800;
}

.studio-card .link {
  display: inline-block;
  margin-top: 14px;
  color: var(--lime);
  font-size: 14px;
  font-weight: 700;
}

/* ===== work / project cards ===== */
.work-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 40px;
}

.work-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease;
}

.work-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.work-banner {
  height: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 20px;
  color: #fff;
}

.work-info {
  padding: 18px;
}

.work-info h4 {
  font-size: 15px;
  margin-bottom: 6px;
}

.work-info p {
  color: var(--muted);
  font-size: 12.5px;
}

.tag-line {
  font-size: 11px;
  color: var(--lime);
  margin-top: 8px;
}

.testi-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 20px;
}

.testi-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 22px;
  box-shadow: var(--shadow-sm);
}

.stars {
  color: var(--lime);
  font-size: 13px;
  margin-bottom: 12px;
}

.testi-person {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
}

.avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--bg2);
  border: 1px solid var(--line);
}

.testi-person b {
  font-size: 13px;
  display: block;
}

.testi-person span {
  font-size: 11px;
  color: var(--muted);
}

.rating-row {
  display: flex;
  gap: 30px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 24px;
  color: var(--muted);
  font-size: 12px;
}

.rating-row b {
  color: var(--text);
  font-size: 16px;
}

/* ===== audience cards + timeline ===== */
.audience-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.audience-cards .card h4 {
  font-size: 18px;
  margin-bottom: 14px;
  line-height: 1.35;
}

.timeline {
  margin-top: 40px;
  position: relative;
  padding-left: 24px;
  border-left: 1px solid var(--line);
}

.tl-item {
  position: relative;
  padding-bottom: 34px;
}

.tl-item::before {
  content: "";
  position: absolute;
  left: -29px;
  top: 4px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--bg);
  border: 2px solid var(--purple);
}

.tl-item.now::before {
  border-color: var(--lime);
}

.tl-item .eyebrow {
  margin-bottom: 6px;
}

.tl-item h4 {
  font-size: 16px;
  margin-bottom: 6px;
}

.tl-item p {
  color: var(--muted);
  font-size: 13px;
}

/* team photos */
.team-hero-img {
  border-radius: 16px;
  overflow: hidden;
  height: 280px;
  box-shadow: var(--shadow-md);
}

.team-hero-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 20px;
}

.team-grid img {
  border-radius: 14px;
  width: 100%;
  height: 280px;
  object-fit: cover;
  background: var(--panel);
  box-shadow: var(--shadow-sm);
}

.tag-pills {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 20px;
}

/* story section */
.story-section {
  padding: 110px 0 90px;
  background: transparent;
  border-top: 1px solid var(--line);
}

.story-layout {
  display: grid;
  grid-template-columns: 1.2fr .9fr;
  gap: 64px;
  align-items: flex-start;
}

.story-copy {
  padding-top: 10px;
}

.story-title {
  font-size: clamp(34px, 4vw, 52px);
  line-height: 0.96;
  letter-spacing: -0.05em;
  margin: 0 0 22px;
  max-width: 600px;
}

.story-subtitle {
  max-width: 620px;
  font-size: 16px;
  color: var(--muted);
  line-height: 1.7;
  margin: 0 0 32px;
}

.story-eyebrow {
  margin-bottom: 24px;
  color: var(--lime);
}

.story-highlight {
  margin-top: 0;
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.08;
  font-weight: 700;
  letter-spacing: -0.04em;
  max-width: 620px;
}

.story-timeline {
  position: relative;
  padding-left: 30px;
  margin-top: 16px;
}

.story-timeline::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, rgba(23, 58, 123, 0.9), rgba(20, 93, 166, 0.9));
}

.story-event {
  position: relative;
  padding: 0 0 28px 26px;
}

.story-event::before {
  content: "";
  position: absolute;
  left: -8px;
  top: 8px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--bg);
  border: 2px solid var(--purple);
  box-shadow: 0 0 0 3px rgba(23, 58, 123, .12);
}

.story-event.current::before {
  border-color: var(--lime);
  box-shadow: 0 0 0 3px rgba(20, 93, 166, .18);
}

.story-event h3 {
  font-size: 20px;
  margin: 8px 0 8px;
}

.story-event p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
  margin: 0;
}

.story-year {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 700;
}

.story-year span {
  color: var(--purple);
  font-size: 18px;
}

/* footer */
.site-footer {
  padding: 58px 0 30px;
  border-top: 1px solid var(--line);
  background: var(--purple);
  color: #e8edf4;
}

.site-footer-inner {
  padding-top: 6px;
}

.site-footer-grid {
  display: grid;
  grid-template-columns: 1fr 2.1fr;
  gap: 32px;
  align-items: flex-start;
}

.site-brand p {
  margin-top: 14px;
  max-width: 420px;
  color: #a9bbd0;
  line-height: 1.7;
  font-size: 15px;
}

.site-logo {
  display: inline-block;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
}

.site-logo img {
  display: block;
  width: min(240px, 65vw);
  height: auto;
}

.site-logo-main {
  font-size: 46px;
  color: #ffffff;
}

.site-logo-main em {
  font-style: normal;
  color: #7aa8e0;
}

.site-logo-sub {
  display: block;
  margin-top: 4px;
  font-size: 11px;
  letter-spacing: .18em;
  color: #a9bbd0;
}

.social-row {
  display: flex;
  gap: 10px;
  margin-top: 26px;
  flex-wrap: wrap;
}

.social-row a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 8px;
  background: rgba(255, 255, 255, .04);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  transition: all .2s ease;
}

.social-row a:hover {
  border-color: #7aa8e0;
  background: rgba(122, 168, 224, .15);
  transform: translateY(-1px);
}

.footer-links-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(120px, 1fr));
  gap: 30px;
}

.footer-col h5 {
  font-size: 12px;
  letter-spacing: .12em;
  color: #a9bbd0;
  text-transform: uppercase;
  margin-bottom: 18px;
  font-weight: 700;
}

.footer-col a,
.footer-col p {
  display: block;
  margin-bottom: 10px;
  color: #e8edf4;
  opacity: .9;
  text-decoration: none;
  font-size: 14px;
  line-height: 1.7;
}

.footer-col a:hover {
  color: #ffffff;
}

.footer-contact p {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  color: #e8edf4;
  opacity: .9;
}

.contact-icon {
  color: #7aa8e0;
  font-size: 14px;
}

.foot-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 36px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, .12);
  color: #a9bbd0;
  font-size: 13px;
}

.foot-bottom span:last-child {
  color: #a9bbd0;
  opacity: .9;
}

.cta-final {
  text-align: center;
  padding: 100px 0;
}

.cta-final h2 {
  font-size: clamp(28px, 4.5vw, 44px);
  max-width: 760px;
  margin: 0 auto 18px;
}

/* Noovatix sections */
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 40px;
  align-items: center;
  text-align: left;
}

.hero-grid .hero-copy .eyebrow.center {
  justify-content: flex-start;
}

.hero-grid .hero-ctas {
  justify-content: flex-start;
}

.hero-meta {
  margin-top: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-visual {
  border-radius: 16px;
  border: 1px dashed var(--line);
  background: linear-gradient(145deg, var(--panel), var(--bg2));
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px;
  box-shadow: var(--shadow-sm);
}

.hero-visual-inner {
  text-align: center;
  max-width: 280px;
  color: var(--muted);
  font-size: 14px;
}

.hero-visual-badge {
  display: inline-block;
  margin-bottom: 12px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--lime);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.section-head {
  margin-bottom: 36px;
}

.diff-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 30px;
}

.industry-list {
  margin-top: 10px;
}

.industry-row {
  padding: 22px 0;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 24px;
  align-items: start;
}

.industry-row:last-child {
  border-bottom: 1px solid var(--line);
}

.industry-row h4 {
  font-size: 17px;
}

.industry-row p {
  color: var(--muted);
  font-size: 14px;
}

.work-banner-saas {
  background: linear-gradient(135deg, #7c3aed, #2563eb);
}

.work-banner-ecommerce {
  background: linear-gradient(135deg, #16a34a, #0f766e);
}

.work-banner-real_estate {
  background: linear-gradient(135deg, #0ea5e9, #0f172a);
}

.team-members {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 10px;
}

.team-member {
  display: flex;
  gap: 18px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 24px;
  box-shadow: var(--shadow-sm);
}

.team-avatar {
  width: 72px;
  height: 72px;
  border-radius: 14px;
  background: var(--lime-dim);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 28px;
  color: var(--lime);
  flex-shrink: 0;
}

.team-role {
  color: var(--purple);
  font-size: 13px;
  margin: 4px 0 10px;
}

.placeholder-note {
  margin-top: 10px;
  font-size: 12px;
  color: var(--muted);
}

.placeholder-note strong {
  color: var(--lime);
  font-weight: 600;
}

.foot-note {
  font-size: 11px;
  opacity: .7;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 24px;
  align-items: start;
}

.contact-form label {
  display: block;
}

.form-label {
  display: block;
  font-size: 13px;
  color: var(--muted);
  margin: 12px 0 6px;
}

.form-input {
  width: 100%;
  background: #fbfcfe;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--text);
  padding: 12px 14px;
  font: inherit;
  font-size: 14px;
  transition: border-color .15s ease, box-shadow .15s ease;
}

.form-input:focus {
  outline: none;
  border-color: var(--lime);
  box-shadow: 0 0 0 3px var(--lime-dim);
}

.form-textarea {
  resize: vertical;
  min-height: 120px;
}

.form-error {
  color: #dc2626;
  font-size: 12px;
  margin-top: 4px;
}

.form-input-error {
  border-color: rgba(220, 38, 38, .5) !important;
}

.form-check {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
  font-size: 14px;
  color: var(--muted);
}

.contact-flash {
  border-color: rgba(20, 93, 166, .35);
  color: var(--text);
}

.quote-card footer {
  margin-top: 12px;
  color: var(--muted);
  font-size: 13px;
}

.careers-card {
  padding: 40px;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.admin-table th,
.admin-table td {
  padding: 12px 10px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.admin-table th {
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .05em;
}

.admin-actions {
  display: flex;
  gap: 12px;
  align-items: center;
}

.admin-actions form button {
  background: none;
  border: none;
  color: #f87171;
  cursor: pointer;
  font: inherit;
  font-size: 13px;
}

.admin-actions a {
  color: var(--lime);
  font-size: 13px;
  font-weight: 600;
}

.admin-form .form-input {
  margin-bottom: 4px;
}

.project-image-preview {
  margin: 8px 0 12px;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--line);
  max-width: 320px;
}

.project-image-preview img {
  display: block;
  width: 100%;
  height: auto;
}

.work-banner-image {
  padding: 0;
  background: var(--bg2);
}

.work-banner-image img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  display: block;
}

.portfolio-gallery-section {
  padding: 0 0 56px;
  border-top: 0;
}

.portfolio-slider {
  position: relative;
  overflow: hidden;
  width: min(100%, 900px);
  margin: 0 auto;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--panel);
  box-shadow: var(--shadow-lg);
}

.portfolio-slider-track {
  position: relative;
  display: flex;
  width: 100%;
  height: clamp(240px, 40vw, 480px);
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  scroll-behavior: smooth;
}

.portfolio-slider-track::-webkit-scrollbar {
  display: none;
}

.portfolio-slide {
  position: relative;
  display: grid;
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  place-items: center;
  scroll-snap-align: start;
  background: var(--bg2);
}

.portfolio-slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.portfolio-slider-arrow {
  position: absolute;
  top: 50%;
  z-index: 2;
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  transform: translateY(-50%);
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(255, 255, 255, .9);
  color: var(--text);
  font-size: 24px;
  cursor: pointer;
  backdrop-filter: blur(8px);
  transition: background .2s ease, transform .2s ease, box-shadow .2s ease;
}

.portfolio-slider-arrow:hover {
  transform: translateY(-50%) scale(1.06);
  background: var(--lime);
  color: #fff;
  box-shadow: var(--shadow-md);
}

.portfolio-slider-previous {
  left: 18px;
}

.portfolio-slider-next {
  right: 18px;
}

.portfolio-slider-pagination {
  position: absolute;
  z-index: 2;
  left: 50%;
  bottom: 18px;
  display: flex;
  gap: 8px;
  transform: translateX(-50%);
  padding: 8px 11px;
  border: 1px solid var(--line);
  border-radius: 99px;
  background: rgba(255, 255, 255, .85);
  backdrop-filter: blur(8px);
}

.portfolio-slider-pagination button {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(15, 23, 42, .3);
  cursor: pointer;
  transition: width .2s ease, background .2s ease;
}

.portfolio-slider-pagination button[aria-current="true"] {
  width: 22px;
  border-radius: 99px;
  background: var(--lime);
}

.portfolio-slider-counter {
  position: absolute;
  z-index: 2;
  right: 18px;
  bottom: 18px;
  padding: 7px 11px;
  border: 1px solid var(--line);
  border-radius: 99px;
  background: rgba(255, 255, 255, .85);
  color: var(--text);
  font-size: 12px;
  backdrop-filter: blur(8px);
}

.rich-text-output {
  color: var(--muted);
  line-height: 1.8;
  overflow-wrap: anywhere;
}

.rich-text-output p {
  margin: 0 0 1em;
}

.rich-text-output p:last-child {
  margin-bottom: 0;
}

.rich-text-output ul,
.rich-text-output ol {
  padding-left: 1.5em;
  margin: 0 0 1em;
}

.rich-text-output h2,
.rich-text-output h3,
.rich-text-output h4 {
  margin: 1.25em 0 .5em;
  line-height: 1.3;
}

.portfolio-admin-image-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 12px;
  margin: 12px 0;
}

.portfolio-admin-image {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--panel);
}

.portfolio-admin-image img {
  width: 100%;
  height: 120px;
  object-fit: cover;
}

.portfolio-admin-image span {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px;
  color: var(--muted);
  font-size: 12px;
}

.portfolio-admin-image input {
  width: auto !important;
}

.nav-profile-btn {
  padding: 10px 16px;
  font-size: 13px;
}

.page-hero-compact {
  padding: 48px 0 28px;
}

.page-hero-compact h1 {
  font-size: clamp(28px, 4vw, 42px);
}

.profile-section {
  padding: 0 0 64px;
  border-top: none;
}

.profile-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  align-items: stretch;
}

.profile-card {
  padding: 18px 20px !important;
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.profile-card h3.profile-form-title {
  font-size: 16px;
  margin: 0 0 4px !important;
}

.profile-card p.profile-form-lead {
  margin: 0 0 12px !important;
  font-size: 12px;
  color: var(--muted);
}

.profile-form-block {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
}

.profile-form-block .form-label {
  margin: 8px 0 4px;
  font-size: 12px;
}

.profile-form-block form .form-label:first-of-type {
  margin-top: 0;
}

.profile-form-block .form-input {
  padding: 10px 12px;
  font-size: 13px;
}

.profile-form-note {
  margin: 8px 0 0;
  font-size: 12px;
  color: var(--muted);
}

.profile-form-note-btn {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  font: inherit;
  color: var(--lime);
}

.profile-form-actions {
  margin-top: auto;
  padding-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.profile-form-actions form {
  margin: 0;
}

@media(max-width:900px) {
  .story-layout {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .site-footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-links-grid {
    grid-template-columns: repeat(2, minmax(120px, 1fr));
  }
}

@media(max-width:640px) {
  .story-section {
    padding: 80px 0 60px;
  }

  .story-copy h2 {
    font-size: clamp(32px, 11vw, 52px);
  }

  .story-quote {
    font-size: clamp(24px, 8vw, 38px);
  }

  .site-logo-main {
    font-size: 34px;
  }

  .footer-links-grid {
    grid-template-columns: 1fr;
  }

  .foot-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media(max-width:768px) {
  .application-fields {
    grid-template-columns: 1fr;
  }

  .application-section-title,
  .application-field-wide {
    grid-column: 1;
  }

  .profile-grid {
    grid-template-columns: 1fr;
  }
}

.toast-root {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: min(360px, calc(100vw - 32px));
  pointer-events: none;
}

.toast {
  padding: 14px 18px;
  border-radius: 12px;
  font-size: 14px;
  line-height: 1.4;
  border: 1px solid var(--line);
  background: var(--panel);
  color: var(--text);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .3s ease, transform .3s ease;
}

.toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.toast-success {
  border-color: rgba(20, 93, 166, .45);
}

.toast-error {
  border-color: rgba(220, 38, 38, .5);
  color: #b91c1c;
}

.studio-grid.studio-grid-4 {
  grid-template-columns: repeat(2, 1fr);
}

@media(prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
    animation: none !important;
  }
}

/* ===== Scroll-reveal animation ===== */
.reveal {
  opacity: 0;
  transform: translateY(42px);
  transition: opacity .85s cubic-bezier(.2,.7,.2,1), transform .85s cubic-bezier(.2,.7,.2,1);
}

main section.section-motion {
  opacity: 0;
  transform: translateY(48px);
  transition: opacity .9s cubic-bezier(.16,.84,.28,1), transform .9s cubic-bezier(.16,.84,.28,1);
}

main section.section-motion.is-in {
  opacity: 1;
  transform: none;
}

main section.section-motion.is-in .reveal {
  transition-delay: calc(var(--reveal-i, 0) * 70ms);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-scale {
  opacity: 0;
  transform: scale(.9);
  transition: opacity .7s ease, transform .7s ease;
}

.reveal-scale.visible {
  opacity: 1;
  transform: scale(1);
}

/* ===== Ecosystem rotating ring ===== */
.eco-circle {
  overflow: visible;
}

.eco-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px dashed var(--line);
  animation: spin 40s linear infinite;
}

.eco-node {
  animation: pulse-node 3s ease-in-out infinite;
}

.eco-node.active {
  animation: pulse-node-active 2s ease-in-out infinite;
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

@keyframes pulse-node {

  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(20, 93, 166, 0);
  }

  50% {
    box-shadow: 0 0 0 6px rgba(20, 93, 166, .06);
  }
}

@keyframes pulse-node-active {

  0%,
  100% {
    box-shadow: 0 0 0 0 var(--lime-dim);
  }

  50% {
    box-shadow: 0 0 0 10px var(--lime-dim);
  }
}

/* ===== Testimonial marquee ===== */
.testi-marquee {
  overflow: hidden;
  margin-top: 20px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}

.testi-track {
  display: flex;
  gap: 20px;
  width: max-content;
  animation: marquee 55s linear infinite;
}

.testi-marquee:hover .testi-track {
  animation-play-state: paused;
}

.testi-track .testi-card {
  width: 320px;
  flex: 0 0 auto;
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

@media(prefers-reduced-motion: reduce) {

  .reveal,
  .reveal-scale {
    opacity: 1 !important;
    transform: none !important;
  }

  .eco-ring,
  .eco-node,
  .testi-track {
    animation: none !important;
  }
}

main.page-enter>section:first-child .wrap>*,
main.page-enter>section:first-child .hero-grid>* {
  animation: page-enter .65s cubic-bezier(.2, .7, .25, 1) both;
}

main.page-enter>section:first-child .wrap>*:nth-child(2),
main.page-enter>section:first-child .hero-grid>*:nth-child(2) {
  animation-delay: .08s;
}

main.page-enter>section:first-child .wrap>*:nth-child(3),
main.page-enter>section:first-child .hero-grid>*:nth-child(3) {
  animation-delay: .16s;
}

main.page-enter>section:first-child .wrap>*:nth-child(4),
main.page-enter>section:first-child .hero-grid>*:nth-child(4) {
  animation-delay: .24s;
}

main.page-enter>section:first-child .hero-copy>* {
  animation: page-enter .65s cubic-bezier(.2, .7, .25, 1) both;
}

main.page-enter>section:first-child .hero-copy>*:nth-child(1) {
  animation-delay: .04s;
}

main.page-enter>section:first-child .hero-copy>*:nth-child(2) {
  animation-delay: .1s;
}

main.page-enter>section:first-child .hero-copy>*:nth-child(3) {
  animation-delay: .16s;
}

main.page-enter>section:first-child .hero-copy>*:nth-child(4) {
  animation-delay: .22s;
}

main.page-enter>section:first-child .hero-copy>*:nth-child(5) {
  animation-delay: .28s;
}

@keyframes page-enter {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes header-enter {
  from {
    opacity: 0;
    transform: translateY(-18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media(prefers-reduced-motion: reduce) {
  main.page-enter>section:first-child .wrap>*,
  header {
    animation: none !important;
  }
}

@media(max-width:900px) {
  nav.links {
    display: none;
  }

  nav.links.is-open {
    display: flex;
    position: fixed;
    top: calc(76px + env(safe-area-inset-top, 0px));
    left: 0;
    right: 0;
    z-index: 10000;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
    padding: 20px 24px;
    max-height: calc(100vh - 76px - env(safe-area-inset-top, 0px) - env(safe-area-inset-bottom, 0px));
    overflow-y: auto;
    overflow-x: hidden;
    overscroll-behavior: contain;
    background: var(--purple);
    border-bottom: 1px solid rgba(255,255,255,.12);
  }

  nav.links.is-open *,
  nav.links.is-open *::before,
  nav.links.is-open *::after {
    min-width: 0;
    box-sizing: border-box;
  }

  nav.links.is-open .menu-item,
  nav.links.is-open .submenu-item {
    width: 100%;
  }

  nav.links.is-open .menu-item>a,
  nav.links.is-open .submenu-item>a,
  nav.links.is-open .submenu>a {
    white-space: normal;
    overflow-wrap: anywhere;
  }

  @supports (height: 100dvh) {
    nav.links.is-open {
      max-height: calc(100dvh - 76px - env(safe-area-inset-top, 0px) - env(safe-area-inset-bottom, 0px));
    }
  }

  header nav.links.is-open a,
  header nav.links.is-open a.active,
  header nav.links.is-open .submenu a {
    color: #ffffff;
  }

  nav.links.is-open .menu-item>.submenu,
  nav.links.is-open .submenu-item>.submenu {
    position: static;
    display: none;
    grid-column: 1 / -1;
    width: calc(100% - 12px);
    max-width: 100%;
    min-width: 0;
    margin: 4px 0 0 12px;
    padding: 0;
    border: 0;
    border-left: 1px solid var(--line);
    border-radius: 0;
    box-shadow: none;
    background: transparent;
  }

  nav.links.is-open .menu-item:hover>.submenu,
  nav.links.is-open .menu-item:focus-within>.submenu,
  nav.links.is-open .submenu-item:hover>.submenu,
  nav.links.is-open .submenu-item:focus-within>.submenu {
    display: block;
  }

  nav.links.is-open .menu-item.is-open>.submenu,
  nav.links.is-open .submenu-item.is-open>.submenu {
    display: block;
  }

  nav.links.is-open .menu-item.has-children,
  nav.links.is-open .submenu-item.has-children {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 36px;
    align-items: center;
  }

  nav.links.is-open .submenu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #ffffff;
    font: inherit;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
  }

  nav.links.is-open .submenu-toggle[aria-expanded="true"] span {
    transform: rotate(90deg);
  }

  nav.links.is-open .submenu-toggle span {
    transition: transform .2s ease;
  }

  nav.links.is-open .submenu-item.has-children>a::after,
  nav.links.is-open .submenu-item.has-children::after {
    content: none;
  }

  .menu-btn {
    display: block;
  }

  .stats {
    grid-template-columns: repeat(3, 1fr);
    row-gap: 30px;
  }

  .hero-grid,
  .contact-grid,
  .diff-strip,
  .team-members,
  .industry-row {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    text-align: center;
  }

  .hero-grid .hero-copy .eyebrow.center,
  .hero-grid .hero-ctas {
    justify-content: center;
  }

  .grid-2,
  .grid-3,
  .grid-6,
  .eco-wrap,
  .studio-grid,
  .work-cards,
  .testi-cards,
  .audience-cards,
  .team-grid {
    grid-template-columns: 1fr;
  }

  .studio-grid.studio-grid-4 {
    grid-template-columns: minmax(0, 1fr);
  }

  .contact-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .contact-grid>* {
    width: 100%;
    min-width: 0;
  }

  .team-member,
  .team-member>div:last-child {
    min-width: 0;
  }

  .team-member a {
    overflow-wrap: anywhere;
  }

  #contact .contact-aside .feat .link {
    max-width: 100%;
    overflow-wrap: anywhere;
  }

  .steps-row {
    grid-template-columns: repeat(2, 1fr);
  }

  .studio-card {
    border-right: none !important;
  }

  .studio-card:not(:last-child) {
    border-bottom: 1px solid var(--line) !important;
  }

  section {
    padding: 60px 0;
  }

  .foot-top {
    flex-direction: column;
  }

  .eco-circle {
    width: 280px;
    height: 280px;
  }

  .eco-center {
    inset: 70px;
  }
}

@media(max-width:600px) {
  header .wrap {
    padding: 0 16px;
  }

  .logo img {
    width: min(210px, 34vw);
  }

  .navcta {
    gap: 8px;
  }

  header .navcta .btn-primary {
    padding: 9px 10px !important;
    font-size: 12px;
  }

  nav.links.is-open {
    padding-right: 16px;
    padding-left: 16px;
  }
}

/* ---- How We Work ---- */
.how-we-work-steps {
  position: relative;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 60px;
  padding-bottom: 30px;
}

.hww-line {
  position: absolute;
  top: 26px;
  left: calc(10% + 20px);
  right: calc(10% + 20px);
  height: 2px;
  background: linear-gradient(90deg, #145DA6, #1760a4);
  z-index: 0;
}

.hww-step {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  z-index: 1;
}

.hww-node {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--panel);
  border: 2px solid #145DA6;
  color: #145DA6;
  font-size: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  transition: .3s;
}

.hww-node.active {
  background: #145DA6;
  color: #fff;
  border-color: #145DA6;
  box-shadow: 0 0 0 6px rgba(20, 93, 166, .25);
}

.hww-step h4 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text);
}

.hww-step p {
  font-size: 13px;
  color: var(--muted);
  max-width: 150px;
  line-height: 1.6;
}

@media(max-width:700px) {
  .how-we-work-steps {
    flex-direction: column;
    align-items: flex-start;
    gap: 30px;
  }

  .hww-line {
    display: none;
  }

  .hww-step {
    flex-direction: row;
    align-items: flex-start;
    text-align: left;
    gap: 18px;
  }

  .hww-step p {
    max-width: none;
  }
}

/* ---- Testimonials ---- */
.testi-slider {
  width: 100%;
  min-width: 0;
  margin-top: 50px;
  overflow: hidden;
}

.testi-track {
  display: flex;
  width: 100%;
  min-width: 0;
  gap: 24px;
  animation: none;
  transition: transform .45s cubic-bezier(.4, 0, .2, 1);
}

.testi-card {
  flex: 0 0 calc((100% - 48px) / 3);
  min-width: 0;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 30px;
  flex-shrink: 0;
  box-shadow: var(--shadow-sm);
}

.testi-track .testi-card {
  width: auto;
  flex: 0 0 calc((100% - 48px) / 3);
}

.testi-stars {
  color: var(--lime);
  font-size: 18px;
  letter-spacing: 3px;
  margin-bottom: 16px;
}

.testi-quote {
  font-size: 14.5px;
  line-height: 1.75;
  color: var(--text);
  margin-bottom: 22px;
}

.testi-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testi-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, #145DA6, #1760a4);
  color: #fff;
  font-weight: 700;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.testi-author strong {
  display: block;
  font-size: 14px;
  color: var(--text);
}

.testi-author span {
  font-size: 12px;
  color: var(--muted);
}

.testi-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 32px;
}

.testi-btn {
  background: var(--panel);
  border: 1px solid var(--line);
  color: var(--text);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: .2s;
  box-shadow: var(--shadow-sm);
}

.testi-btn:hover {
  border-color: var(--lime);
  color: var(--lime);
}

.testi-counter {
  font-size: 14px;
  color: var(--muted);
  min-width: 60px;
  text-align: center;
}

@media(max-width:900px) {
  .testi-card {
    flex-basis: calc((100% - 24px) / 2);
  }

  .testi-track .testi-card {
    flex-basis: calc((100% - 24px) / 2);
  }
}

@media(max-width:600px) {
  #testimonials .section-head {
    max-width: 100%;
  }

  #testimonials .eyebrow {
    flex-wrap: wrap;
    line-height: 1.6;
  }

  #testimonials .section-head h2 {
    overflow-wrap: anywhere;
  }

  .testi-slider {
    margin-top: 30px;
  }

  .testi-card {
    flex-basis: 100%;
    padding: 24px;
  }

  .testi-track .testi-card {
    flex-basis: 100%;
  }

  .testi-controls {
    gap: 16px;
    margin-top: 24px;
  }
}

.rich-text-output p {
  margin: 0 0 1em;
}

.rich-text-output p:last-child {
  margin-bottom: 0;
}

.rich-text-output h2,
.rich-text-output h3,
.rich-text-output h4 {
  margin: 1.25em 0 .5em;
  line-height: 1.3;
}

.rich-text-output ul,
.rich-text-output ol {
  padding-left: 1.5em;
  margin: 0 0 1em;
}

.rich-text-output blockquote {
  margin: 1em 0;
  padding-left: 1em;
  border-left: 3px solid #145DA6;
  color: var(--muted);
}

.blog-hero {
  padding-bottom: 48px;
}

.blog-hero h1,
.blog-article-hero h1 {
  max-width: 900px;
  margin: 12px auto;
  font-size: clamp(36px, 6vw, 64px);
  line-height: 1.1;
}

.blog-listing-section {
  padding-top: 0;
}

.blog-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(260px, .9fr);
  align-items: end;
  gap: 36px;
  margin: 0 0 34px;
  padding: 26px 0 30px;
  border-bottom: 1px solid var(--line);
}

.blog-intro .eyebrow {
  color: var(--lime);
}

.blog-intro h2 {
  max-width: 600px;
  margin: 10px 0 0;
  font-size: clamp(24px, 3.5vw, 36px);
  line-height: 1.2;
}

.blog-intro>p {
  max-width: 510px;
  margin: 0 0 3px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.8;
}

.blog-category-pills {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 38px;
}

.blog-category-pills a {
  padding: 9px 16px;
  border: 1px solid var(--line);
  border-radius: 99px;
  color: var(--muted);
  font-size: 13px;
  transition: .2s;
}

.blog-category-pills a:hover,
.blog-category-pills a.is-active {
  border-color: var(--lime);
  background: var(--lime-dim);
  color: var(--lime);
}

.blog-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.blog-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--panel);
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
  box-shadow: var(--shadow-sm);
}

.blog-card:hover {
  transform: translateY(-5px);
  border-color: rgba(20, 93, 166, .5);
  box-shadow: var(--shadow-lg);
}

.blog-card-image {
  display: block;
  overflow: hidden;
  height: 230px;
  background: linear-gradient(135deg, #1d4ed8, #145DA6 55%, #173A7B);
}

.blog-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .45s ease;
}

.blog-card:hover .blog-card-image img {
  transform: scale(1.04);
}

.blog-image-placeholder {
  display: grid;
  width: 100%;
  height: 100%;
  place-items: center;
  background: radial-gradient(ellipse at 50% 100%, rgba(20, 93, 166, .35), transparent 60%);
}

.blog-image-placeholder span {
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .22em;
  line-height: 1.8;
  text-align: center;
}

.blog-card-content {
  padding: 22px 23px 24px;
}

.blog-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  font-size: 12px;
}

.blog-card-meta a {
  color: var(--lime);
  font-weight: 700;
}

.blog-card-content h2 {
  margin: 15px 0 10px;
  font-size: 21px;
  line-height: 1.35;
}

.blog-card-content h2 a {
  color: var(--text);
}

.blog-card-content h2 a:hover {
  color: var(--lime);
}

.blog-card-content p {
  min-height: 48px;
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.blog-read-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--lime);
  font-size: 14px;
  font-weight: 700;
}

.blog-read-link span {
  transition: transform .2s ease;
}

.blog-read-link:hover span {
  transform: translateX(3px);
}

.blog-empty-state {
  grid-column: 1/-1;
  padding: 48px 24px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--panel);
  text-align: center;
}

.blog-empty-state h2 {
  margin: 0 0 10px;
  font-size: 24px;
}

.blog-empty-state p {
  margin: 0 0 18px;
  color: var(--muted);
}

.blog-pagination {
  display: flex;
  justify-content: center;
  margin-top: 36px;
}

.blog-pagination nav {
  display: flex;
  gap: 6px;
}

.blog-article-hero {
  padding-bottom: 40px;
}

.blog-article-hero .eyebrow {
  color: var(--lime);
}

.blog-article-byline {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px 20px;
  margin-top: 24px;
  color: var(--muted);
  font-size: 13px;
}

.blog-gallery-section {
  padding-top: 0;
}

.blog-body-section {
  padding-top: 30px;
}

.blog-article-body {
  max-width: 760px;
  margin: 0 auto;
  color: var(--text);
  font-size: 17px;
  line-height: 1.9;
}

.blog-article-body h1,
.blog-article-body h2,
.blog-article-body h3 {
  color: var(--text);
}

.blog-article-body img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
}

.blog-article-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 34px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.blog-article-tags span {
  padding: 6px 11px;
  border: 1px solid var(--line);
  border-radius: 99px;
  color: var(--muted);
  font-size: 12px;
}

.blog-back-link {
  max-width: 760px;
  margin: 30px auto 0;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.blog-back-link a {
  color: var(--lime);
  font-size: 14px;
  font-weight: 700;
}

@media(max-width:900px) {
  .blog-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media(max-width:700px) {
  .blog-intro {
    grid-template-columns: 1fr;
    gap: 14px;
    padding-top: 15px;
  }
}

@media(max-width:600px) {
  .blog-card-grid {
    grid-template-columns: 1fr;
  }

  .blog-card-image {
    height: 220px;
  }

  .blog-card-content {
    padding: 20px;
  }

  .blog-article-body {
    font-size: 16px;
  }
}

.blog-article-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 72px 0 44px;
  border-top: 0;
  background: radial-gradient(ellipse at 50% 0, rgba(20, 93, 166, .10), transparent 62%);
}

.blog-article-hero::after {
  position: absolute;
  z-index: -1;
  right: 10%;
  bottom: 0;
  left: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(20, 93, 166, .25), transparent);
  content: "";
}

.blog-article-hero .wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 920px;
}

.blog-article-category {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  padding: 8px 14px;
  border: 1px solid rgba(20, 93, 166, .28);
  border-radius: 99px;
  background: var(--lime-dim);
  color: var(--lime);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.blog-article-hero h1 {
  max-width: 820px;
  margin: 0;
  font-size: clamp(38px, 6vw, 68px);
  line-height: 1.08;
  text-wrap: balance;
}

.blog-article-hero .sub {
  max-width: 680px;
  margin: 20px auto 0;
  color: var(--muted);
  font-size: clamp(16px, 2vw, 19px);
  line-height: 1.75;
}

.blog-article-byline {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 9px 18px;
  margin-top: 25px;
  color: var(--muted);
  font-size: 13px;
}

.blog-article-byline span,
.blog-article-byline time {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.blog-article-byline span::before,
.blog-article-byline time::before {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--lime);
  content: "";
}

.blog-article-byline strong {
  color: var(--text);
  font-weight: 700;
}

.blog-gallery-section {
  padding: 34px 0 10px;
  border-top: 0;
}

.blog-article-slider {
  width: min(100%, 1040px);
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--panel);
  box-shadow: var(--shadow-lg);
}

.blog-article-slider .portfolio-slider-track {
  height: clamp(280px, 52vw, 590px);
}

.blog-article-slider .portfolio-slide {
  padding: 12px;
  background: var(--bg2);
}

.blog-article-slider .portfolio-slide img {
  object-fit: contain;
}

.blog-article-slider .portfolio-slider-arrow {
  width: 48px;
  height: 48px;
}

.blog-article-slider .portfolio-slider-pagination {
  bottom: 20px;
}

.blog-article-slider .portfolio-slider-counter {
  bottom: 20px;
}

.blog-body-section {
  padding: 38px 24px 82px;
  border-top: 0;
}

.blog-article-body {
  max-width: 800px;
  padding: clamp(24px, 5vw, 54px);
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--panel);
  box-shadow: var(--shadow-md);
  color: var(--text);
  font-size: 17px;
  line-height: 1.9;
}

.blog-article-body h1,
.blog-article-body h2,
.blog-article-body h3,
.blog-article-body h4 {
  margin: 1.7em 0 .65em;
  color: var(--text);
  line-height: 1.25;
}

.blog-article-body h1:first-child,
.blog-article-body h2:first-child,
.blog-article-body h3:first-child {
  margin-top: 0;
}

.blog-article-body p {
  margin: 0 0 1.25em;
}

.blog-article-body p:last-child {
  margin-bottom: 0;
}

.blog-article-body a {
  color: var(--lime);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.blog-article-body blockquote {
  margin: 1.5em 0;
  padding: 8px 0 8px 20px;
  border-left: 3px solid var(--lime);
  color: var(--muted);
}

.blog-article-body ul,
.blog-article-body ol {
  margin: 0 0 1.25em;
  padding-left: 1.5em;
}

.blog-article-body img {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  margin: 1.5em auto;
  border: 1px solid var(--line);
  border-radius: 12px;
}

.blog-article-tags {
  margin-top: 34px;
}

.blog-back-link {
  max-width: 800px;
  margin: 24px auto 0;
  padding: 0;
  border: 0;
  text-align: center;
}

.blog-back-link a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border: 1px solid var(--line);
  border-radius: 99px;
  color: var(--muted);
  font-size: 13px;
  transition: color .2s ease, border-color .2s ease, background .2s ease;
}

.blog-back-link a:hover {
  border-color: rgba(20, 93, 166, .45);
  background: var(--lime-dim);
  color: var(--lime);
}

@media(max-width:600px) {
  .blog-article-hero {
    padding: 52px 0 34px;
  }

  .blog-article-category {
    margin-bottom: 16px;
  }

  .blog-article-hero .sub {
    margin-top: 15px;
  }

  .blog-article-byline {
    gap: 8px 14px;
    margin-top: 20px;
    font-size: 12px;
  }

  .blog-gallery-section {
    padding: 20px 0 0;
  }

  .blog-article-slider {
    border-radius: 14px;
  }

  .blog-article-slider .portfolio-slider-track {
    height: clamp(260px, 78vw, 420px);
  }

  .blog-article-slider .portfolio-slide {
    padding: 8px;
  }

  .blog-article-slider .portfolio-slider-arrow {
    width: 40px;
    height: 40px;
  }

  .blog-article-slider .portfolio-slider-previous {
    left: 10px;
  }

  .blog-article-slider .portfolio-slider-next {
    right: 10px;
  }

  .blog-article-slider .portfolio-slider-pagination {
    bottom: 12px;
  }

  .blog-article-slider .portfolio-slider-counter {
    right: 12px;
    bottom: 12px;
  }

  .blog-body-section {
    padding: 26px 16px 56px;
  }

  .blog-article-body {
    padding: 24px 20px;
    border-radius: 14px;
    font-size: 16px;
  }
}


/* ==========================================================================
   GRADIENT MESH BACKGROUNDS — brand blue colour scheme
   ========================================================================== */

/* Page-level ambient gradient — brand navy and blue, kept light for reading */
body::before {
  content: '';
  position: fixed;
  inset: -8%;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(980px 560px at 6% -8%, rgba(20, 93, 166, .28), transparent 62%),
    radial-gradient(820px 520px at 104% 4%, rgba(23, 58, 123, .26), transparent 58%),
    radial-gradient(760px 480px at 78% 108%, rgba(8, 120, 249, .20), transparent 60%),
    linear-gradient(155deg, #f5f9fd 0%, #c5def4 22%, #eef6fc 48%, #a9ccea 74%, #d7e8f7 100%);
  background-size: 140% 140%;
  animation: site-wash 26s ease-in-out infinite alternate;
}

@keyframes site-wash {
  from { background-position: 0% 0%; }
  to { background-position: 80% 36%; }
}

@keyframes gradient-pan {
  from { background-position: 0% 0%, 100% 0%, 0 0; }
  to { background-position: 80% 30%, 0% 20%, 0 0; }
}

/* Hero section — strong blue mesh */
.hero {
  position: relative;
  overflow: hidden;
  background: transparent;
}

/* Decorative line-gradient dividers between sections */
section + section::before {
  content: '';
  display: block;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(20,93,166,.25) 30%, rgba(23,58,123,.3) 50%, rgba(20,93,166,.25) 70%, transparent 100%);
  margin-bottom: -1px;
}

/* Alternate sections get a very soft tint */
#about,
#industries,
#testimonials,
.cta-final {
  background:
    linear-gradient(135deg, rgba(20,93,166,.04) 0%, transparent 50%),
    rgba(244,247,251,.7);
}

/* Story section — subtle diagonal gradient */
.story-section {
  background:
    linear-gradient(135deg, rgba(20,93,166,.06) 0%, transparent 40%),
    linear-gradient(225deg, rgba(23,58,123,.05) 0%, transparent 40%),
    transparent;
}

/* CTA final — strong gradient band */
.cta-final {
  background:
    linear-gradient(135deg, rgba(20,93,166,.10) 0%, rgba(23,58,123,.12) 50%, rgba(8,120,249,.08) 100%);
  border-top: 1px solid rgba(20,93,166,.15);
}

/* How-we-work section */
#how-we-work {
  background:
    radial-gradient(ellipse 60% 80% at 100% 50%, rgba(23,58,123,.06) 0%, transparent 60%),
    transparent;
}

/* ==========================================================================
   PAGE-LOAD & ENTRY ANIMATIONS — staggered, smooth
   ========================================================================== */

/* Hero gradient line that sweeps in */
@keyframes gradient-shift {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Floating effect for service icons */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-6px); }
}

/* Shimmer for pill badges */
@keyframes shimmer {
  0%   { background-position: -200% center; }
  100% { background-position: 200% center; }
}

/* Pulse glow for CTA button */
@keyframes pulse-cta {
  0%, 100% { box-shadow: 0 0 0 0 rgba(20,93,166,0); }
  50%       { box-shadow: 0 0 0 8px rgba(20,93,166,.18); }
}

/* Slide-in from left (eyebrows, small labels) */
@keyframes slide-in-left {
  from { opacity: 0; transform: translateX(-22px); }
  to   { opacity: 1; transform: translateX(0); }
}

/* Scale-up for stat numbers */
@keyframes count-pop {
  0%   { transform: scale(.8); opacity: 0; }
  70%  { transform: scale(1.06); }
  100% { transform: scale(1); opacity: 1; }
}

@keyframes rise-in {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}

.hero-copy > :not(.reveal),
.page-hero .wrap > :not(.reveal) {
  animation: rise-in .75s cubic-bezier(.2,.7,.2,1) both;
}

.hero-copy > :not(.reveal):nth-child(2),
.page-hero .wrap > :not(.reveal):nth-child(2) { animation-delay: .1s; }
.hero-copy > :not(.reveal):nth-child(3),
.page-hero .wrap > :not(.reveal):nth-child(3) { animation-delay: .2s; }

.profile-card {
  position: relative;
  overflow: hidden;
}

.profile-card::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 3px;
  background: linear-gradient(90deg, #145DA6, #0878f9, #173A7B);
}

/* Apply floating animation to studio-icons */
.studio-icon {
  animation: float 4s ease-in-out infinite;
}
.studio-card:nth-child(2) .studio-icon { animation-delay: .5s; }
.studio-card:nth-child(3) .studio-icon { animation-delay: 1s; }
.studio-card:nth-child(4) .studio-icon { animation-delay: 1.5s; }
.studio-card:nth-child(5) .studio-icon { animation-delay: 2s; }
.studio-card:nth-child(6) .studio-icon { animation-delay: 2.5s; }

/* Eyebrow slide-in on reveal */
.eyebrow.visible,
.reveal.visible .eyebrow {
  animation: slide-in-left .5s cubic-bezier(.2,.7,.25,1) both;
}

/* CTA primary button pulse */
.btn-primary {
  animation: pulse-cta 3s ease-in-out infinite;
}
.btn-primary:hover {
  animation: none;
}

/* Pill shimmer */
.pill {
  background: linear-gradient(90deg, var(--lime-dim) 25%, rgba(20,93,166,.18) 50%, var(--lime-dim) 75%);
  background-size: 200% auto;
  animation: shimmer 3.5s linear infinite;
  border: 1px solid rgba(20,93,166,.2);
  border-radius: 20px;
  padding: 6px 14px;
  font-size: 12px;
  color: var(--lime);
  font-weight: 600;
}

/* Hero heading gradient text animation */
.hero h1 .accent {
  background: linear-gradient(90deg, #145DA6, #0878f9, #173A7B, #145DA6);
  background-size: 300% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradient-shift 4s linear infinite;
}

/* ==========================================================================
   BLOG CAROUSEL (circular / 3-D fan layout) — home page
   inspired by the stacked card UI in the reference image
   ========================================================================== */

#portfolio {
  padding-bottom: 12px;
}

.blog-carousel-section {
  padding: 8px 0 56px;
  overflow: hidden;
  position: relative;
  background: linear-gradient(180deg, rgba(232, 242, 251, .72) 0%, rgba(247, 251, 255, .35) 70%);
}

.blog-carousel-section .section-head {
  text-align: center;
  margin-bottom: 50px;
}

.blog-carousel-section .section-head .eyebrow {
  justify-content: center;
}

/* Outer container controls the 3-D perspective */
.blog-carousel-track-wrap {
  position: relative;
  width: 100%;
  height: 480px;
  perspective: 1600px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.blog-carousel-track {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
}

/* Each card */
.bc-card {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 220px;
  height: 360px;
  transform-origin: center center;
  transform: translateX(-50%) translateY(-50%);
  border-radius: 28px;
  overflow: hidden;
  cursor: pointer;
  transition: transform .7s cubic-bezier(.22,.8,.28,1), opacity .7s ease, box-shadow .7s ease;
  box-shadow: 0 22px 50px rgba(23,58,123,.16);
  background: #fff;
  border: 0;
}

.bc-card.is-active {
  z-index: 8;
  box-shadow: 0 28px 70px rgba(20,93,166,.28);
}

.bc-card[data-pos="0"] { transform: translate(-50%, -50%) rotateY(0deg) scale(1); z-index: 8; }
.bc-card[data-pos="-1"] { transform: translate(calc(-50% - 210px), -50%) rotateY(32deg) scale(.94); z-index: 6; }
.bc-card[data-pos="1"] { transform: translate(calc(-50% + 210px), -50%) rotateY(-32deg) scale(.94); z-index: 6; }
.bc-card[data-pos="-2"] { transform: translate(calc(-50% - 390px), -48%) rotateY(46deg) scale(.86); z-index: 4; }
.bc-card[data-pos="2"] { transform: translate(calc(-50% + 390px), -48%) rotateY(-46deg) scale(.86); z-index: 4; }
.bc-card[data-pos="-3"] { transform: translate(calc(-50% - 540px), -46%) rotateY(58deg) scale(.76); z-index: 2; opacity: .92; }
.bc-card[data-pos="3"] { transform: translate(calc(-50% + 540px), -46%) rotateY(-58deg) scale(.76); z-index: 2; opacity: .92; }
.bc-card[data-pos="hidden"] { opacity: 0; pointer-events: none; transform: translate(-50%, -50%) scale(.6); }

.bc-card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  background: linear-gradient(160deg, #1d4ed8, #145DA6 45%, #1760a4);
}

.bc-card-image-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(160deg, #1d4ed8, #145DA6 45%, #1760a4);
  display: flex;
  align-items: center;
  justify-content: center;
}

.bc-card-image-placeholder span {
  color: rgba(255,255,255,.6);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .18em;
  text-align: center;
}

.bc-card-hit {
  position: absolute;
  inset: 0;
  z-index: 2;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.bc-card-body {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 3;
  padding: 56px 16px 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  background: linear-gradient(transparent, rgba(8, 18, 40, .82));
}

.bc-card-category {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #dbeafe;
}

.bc-card-title {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.35;
  color: #fff;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.bc-card-meta {
  font-size: 11px;
  color: rgba(255,255,255,.75);
  margin-top: auto;
}

/* Carousel nav buttons */
.blog-carousel-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  margin-top: 36px;
}

.blog-carousel-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--panel);
  color: var(--text);
  font-size: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .2s ease;
  box-shadow: var(--shadow-sm);
}

.blog-carousel-btn:hover {
  border-color: var(--lime);
  background: var(--lime);
  color: #fff;
}

.blog-carousel-dots {
  display: flex;
  gap: 8px;
}

.blog-carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--line);
  cursor: pointer;
  transition: all .3s ease;
  border: none;
  padding: 0;
}

.blog-carousel-dot.is-active {
  width: 24px;
  border-radius: 4px;
  background: var(--lime);
}

.blog-carousel-cta {
  display: flex;
  justify-content: center;
  margin-top: 32px;
}

/* Hide when no blog posts exist */
.blog-carousel-section:empty { display: none; }

/* ==========================================================================
   PORTFOLIO LIGHTBOX — stacked 3-D card viewer (like reference image 2)
   ========================================================================== */

/* Overlay */
.plb-overlay {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: rgba(28, 32, 38, .72);
  backdrop-filter: blur(18px) saturate(1.1);
  -webkit-backdrop-filter: blur(18px) saturate(1.1);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity .35s ease;
}

.plb-overlay.is-open {
  opacity: 1;
  pointer-events: all;
}

/* Close button */
.plb-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.3);
  background: rgba(255,255,255,.1);
  color: #fff;
  font-size: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s ease;
  z-index: 10;
}
.plb-close:hover { background: rgba(255,255,255,.25); }

/* Header area (project title) */
.plb-header {
  position: absolute;
  top: 24px;
  left: 32px;
  z-index: 10;
}

.plb-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255,255,255,.55);
  margin-bottom: 6px;
}

.plb-title {
  font-size: clamp(22px, 3.5vw, 36px);
  font-weight: 800;
  color: #fff;
  line-height: 1.1;
}

/* Stage for the stacked cards */
.plb-stage {
  position: relative;
  width: min(96vw, 1180px);
  height: clamp(300px, 54vh, 480px);
  perspective: 1600px;
  transform-style: preserve-3d;
  display: flex;
  align-items: center;
  justify-content: center;
}

.plb-card {
  position: absolute;
  width: min(46vw, 440px);
  height: 100%;
  border-radius: 22px;
  overflow: hidden;
  cursor: pointer;
  transition: transform .5s cubic-bezier(.4,0,.2,1), opacity .5s ease, box-shadow .5s ease;
  transform-origin: center center;
  will-change: transform, opacity;
  background: #111;
}

.plb-card img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #ffffff;
  display: block;
  pointer-events: none;
  user-select: none;
}

/* Current (centre) card */
.plb-card[data-pos="0"] {
  transform: translateX(0) scale(1) rotateY(0);
  z-index: 6;
  padding: 10px;
  background: #fff;
  box-shadow: 0 30px 80px rgba(0,0,0,.45);
}

.plb-card[data-pos="0"] img {
  border-radius: 14px;
}

/* Left card */
.plb-card[data-pos="-1"] {
  transform: translateX(-72%) scale(.84) rotateY(16deg);
  z-index: 4;
  opacity: .95;
  box-shadow: 0 16px 40px rgba(0,0,0,.35);
}

/* Right card */
.plb-card[data-pos="1"] {
  transform: translateX(72%) scale(.84) rotateY(-16deg);
  z-index: 4;
  opacity: .95;
  box-shadow: 0 16px 40px rgba(0,0,0,.35);
}

/* Far left */
.plb-card[data-pos="-2"] {
  transform: translateX(-128%) scale(.68) rotateY(24deg);
  z-index: 2;
  opacity: .55;
}

/* Far right */
.plb-card[data-pos="2"] {
  transform: translateX(128%) scale(.68) rotateY(-24deg);
  z-index: 2;
  opacity: .55;
}

.plb-overlay.is-zoomed .plb-card[data-pos="0"] {
  transform: translateX(0) scale(1.28);
  z-index: 30;
}

.plb-overlay.is-zoomed .plb-card:not([data-pos="0"]) {
  opacity: 0;
  pointer-events: none;
}

/* Hidden cards beyond range */
.plb-card[data-pos="hidden"] {
  opacity: 0;
  pointer-events: none;
  transform: translateX(0) scale(.5);
  z-index: 0;
}

/* Index badge on left/right cards (the number bubble) */
.plb-card::before {
  content: attr(data-index);
  position: absolute;
  top: 14px;
  left: 14px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ff7a59, #145DA6 55%, #7c5cff);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  box-shadow: 0 6px 16px rgba(0,0,0,.25);
}

.plb-card[data-pos="0"]::before { display: none; }

/* Bottom bar */
.plb-footer {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  z-index: 10;
  width: 100%;
  padding: 0 32px;
}

.plb-caption {
  color: rgba(255,255,255,.85);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .02em;
}

.plb-counter {
  color: rgba(255,255,255,.5);
  font-size: 13px;
  font-weight: 600;
}

/* Progress bar */
.plb-progress {
  position: relative;
  width: min(420px, 72vw);
  height: 18px;
  background: transparent;
  cursor: pointer;
}

.plb-progress::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 8px;
  height: 3px;
  border-radius: 99px;
  background: rgba(255,255,255,.22);
}

.plb-progress-fill {
  position: absolute;
  left: 0;
  top: 8px;
  height: 3px;
  width: 0;
  background: transparent;
  border-radius: 99px;
  transition: width .4s ease;
}

.plb-progress-fill::before {
  content: "";
  position: absolute;
  right: 0;
  top: 0;
  width: 42px;
  max-width: 100%;
  height: 3px;
  border-radius: 99px;
  background: linear-gradient(90deg, #145DA6, #ffffff);
}

.plb-progress-fill::after {
  content: "";
  position: absolute;
  right: -7px;
  top: 50%;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #fff;
  transform: translateY(-50%);
  box-shadow: 0 0 0 5px rgba(255,255,255,.16);
}

[data-plb-project] { cursor: pointer; }

/* Arrow nav */
.plb-nav-prev,
.plb-nav-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 20;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.28);
  background: rgba(255,255,255,.14);
  color: #fff;
  font-size: 22px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(8px);
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.plb-nav-prev { left: 22px; }
.plb-nav-next { right: 22px; box-shadow: 0 0 0 3px rgba(20,93,166,.7); }
.plb-nav-prev:hover,
.plb-nav-next:hover { transform: translateY(-50%) scale(1.06); background: rgba(20,93,166,.85); }

.plb-hints kbd {
  display: inline-block;
  min-width: 22px;
  padding: 2px 6px;
  border-radius: 6px;
  background: rgba(255,255,255,.12);
  font: inherit;
  text-align: center;
}

/* Keyboard hint */
.plb-hints {
  color: rgba(255,255,255,.35);
  font-size: 11px;
  letter-spacing: .06em;
}

/* Make work-card images clickable */
.work-card [data-plb-trigger],
.work-banner[data-plb-trigger],
.work-card { cursor: pointer; }

.work-link-sep {
  color: var(--muted);
  margin: 0 6px;
}

button.plb-inline {
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  font: inherit;
  color: var(--lime);
  font-size: 14px;
  font-weight: 600;
}

/* ==========================================================================
   SERVICE PAGE — service hero image overlays
   ========================================================================== */

.svc-hero-img-wrap {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.svc-hero-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .6s ease;
}

.svc-hero-img-wrap:hover img { transform: scale(1.04); }

.svc-hero-img-badge {
  position: absolute;
  bottom: 16px;
  left: 16px;
  background: rgba(255,255,255,.9);
  backdrop-filter: blur(8px);
  border-radius: 10px;
  padding: 8px 14px;
  font-size: 12px;
  font-weight: 700;
  color: var(--lime);
  border: 1px solid rgba(20,93,166,.2);
  box-shadow: var(--shadow-sm);
}

/* ==========================================================================
   ENHANCED SECTION ENTRY ANIMATIONS — stagger children
   ========================================================================== */

/* Section that was just scrolled into view gets staggered child reveals */
.section-revealed .grid-3 > *:nth-child(1),
.section-revealed .grid-2 > *:nth-child(1) { transition-delay: 0s; }
.section-revealed .grid-3 > *:nth-child(2),
.section-revealed .grid-2 > *:nth-child(2) { transition-delay: .1s; }
.section-revealed .grid-3 > *:nth-child(3) { transition-delay: .2s; }
.section-revealed .studio-card:nth-child(1) { transition-delay: 0s; }
.section-revealed .studio-card:nth-child(2) { transition-delay: .08s; }
.section-revealed .studio-card:nth-child(3) { transition-delay: .16s; }
.section-revealed .studio-card:nth-child(4) { transition-delay: .24s; }

/* Stat counter pop animation */
.stat b {
  display: block;
  font-size: clamp(26px,4vw,40px);
  color: var(--lime);
  font-weight: 700;
  transition: color .3s ease;
}

/* ==========================================================================
   GRADIENT ACCENT LINE on section headings
   ========================================================================== */

.section-head h2::after {
  content: '';
  display: block;
  width: 48px;
  height: 3px;
  margin-top: 14px;
  background: linear-gradient(90deg, #145DA6, #0878f9);
  border-radius: 2px;
  transition: width .6s ease;
}

.section-head.visible h2::after { width: 80px; }

.section-head.center h2::after {
  margin-left: auto;
  margin-right: auto;
}

/* ==========================================================================
   RESPONSIVE for new features
   ========================================================================== */

@media (max-width: 900px) {
  .blog-carousel-track-wrap { height: 400px; }
  .bc-card { width: 180px; height: 300px; }
  .bc-card[data-pos="-1"] { transform: translate(calc(-50% - 150px), -50%) rotateY(28deg) scale(.9); }
  .bc-card[data-pos="1"] { transform: translate(calc(-50% + 150px), -50%) rotateY(-28deg) scale(.9); }
  .bc-card[data-pos="-2"],
  .bc-card[data-pos="2"],
  .bc-card[data-pos="-3"],
  .bc-card[data-pos="3"] { opacity: 0; pointer-events: none; }
  .plb-stage { width: 95vw; height: clamp(260px, 48vw, 400px); }
  .plb-card { width: 85vw; }
  .plb-card[data-pos="-1"] { transform: translateX(-56%) scale(.78) rotateY(10deg); }
  .plb-card[data-pos="1"]  { transform: translateX(56%)  scale(.78) rotateY(-10deg); }
  .plb-card[data-pos="-2"] { transform: translateX(-96%) scale(.58) rotateY(16deg); }
  .plb-card[data-pos="2"]  { transform: translateX(96%)  scale(.58) rotateY(-16deg); }
}

@media (max-width: 600px) {
  .blog-carousel-track-wrap { height: 320px; }
  .bc-card { width: 180px; height: 280px; }
  .bc-card[data-pos="-1"],
  .bc-card[data-pos="1"]  { opacity: .45; }
  .plb-nav-prev { left: 6px; }
  .plb-nav-next { right: 6px; }
  .plb-header  { left: 16px; }
}
