/**
 * Single Portfolio — product-first project page
 * Brand: #0000ff · #0A2540 · Poppins
 */

#SinglePortfolio.sp {
  --sp-blue: #0000ff;
  --sp-ink: #0a2540;
  --sp-muted: #667384;
  --sp-line: #e4e9f3;
  --sp-wash: #f5f7ff;
  --sp-ease: cubic-bezier(.22, .82, .18, 1);
  font-family: Poppins, sans-serif;
  color: var(--sp-ink);
  background: #fff;
  overflow-x: hidden;
}

#SinglePortfolio .container {
  width: min(1120px, calc(100% - 2.5rem));
  margin-inline: auto;
}

/* Progress */
.sp-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  z-index: 80;
  pointer-events: none;
  background: transparent;
}

.sp-progress > span {
  display: block;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #0000ff, #6666ff);
  transition: width .08s linear;
}

/* Hero — same language as portfolio / case-studies listing pages */
.sp-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: var(--sp-ink);
  background:
    radial-gradient(circle at 82% 18%, rgba(0, 0, 255, 0.11), transparent 29%),
    radial-gradient(circle at 12% 86%, rgba(0, 0, 255, 0.06), transparent 25%),
    linear-gradient(180deg, #fbfcff 0%, #f5f7ff 100%);
}

.sp-hero__grid {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(10, 37, 64, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(10, 37, 64, 0.035) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.7), transparent 85%);
  -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.7), transparent 85%);
}

.sp-hero__inner {
  position: relative;
  z-index: 1;
  padding: 42px 0 64px;
}

.sp-crumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0 0 22px;
  font-size: 13px;
  font-weight: 500;
  color: rgba(10, 37, 64, .45);
}

.sp-crumb a {
  color: rgba(10, 37, 64, .55);
  text-decoration: none;
}

.sp-crumb a:hover {
  color: var(--sp-ink);
  text-decoration: underline;
}

.sp-hero__layout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 400px);
  gap: 40px 48px;
  align-items: center;
}

.sp-hero__copy {
  max-width: 46rem;
}

.sp-hero__category {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 12px;
  color: #8888ff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.sp-hero__category i { font-size: 11px; }

.sp-hero__title {
  margin: 0 0 18px;
  font-size: clamp(30px, 5vw, 50px);
  font-weight: 700;
  letter-spacing: -.025em;
  line-height: 1.15;
  color: var(--sp-ink);
}

.sp-hero__accent {
  background: linear-gradient(90deg, #0000ff, #0000ff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.sp-hero__lead {
  margin: 0 0 10px;
  max-width: 40rem;
  font-size: 16px;
  line-height: 1.65;
  color: #919191;
  font-weight: 400;
}

.sp-hero__meta {
  margin: 0 0 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--sp-muted);
}

.sp-hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

/* Project Snapshot — minimal services-page ecosystem card */
.sp-hero-proof {
  width: 100%;
  max-width: 450px;
  margin-left: auto;
  padding: 20px;
  border: 1px solid rgba(0, 0, 255, 0.12);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 24px 60px -34px rgba(10, 37, 64, 0.48);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.sp-hero-proof__header {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 11px;
  align-items: center;
  padding-bottom: 16px;
  border-bottom: 1px solid #e7eaf4;
}

.sp-hero-proof__mark {
  display: inline-flex;
  width: 38px;
  height: 38px;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: #0000ff;
  color: #fff;
  font-size: 15px;
}

.sp-hero-proof__header div > strong,
.sp-hero-proof__header div > span {
  display: block;
}

.sp-hero-proof__header strong {
  color: #0a2540;
  font-size: 13px;
  line-height: 1.35;
}

.sp-hero-proof__header div > span {
  margin-top: 2px;
  color: #8a95a5;
  font-size: 10px;
  line-height: 1.4;
}

.sp-hero-proof__status {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 8px;
  border-radius: 999px;
  background: #e9fbf4;
  color: #07875d;
  font-size: 9px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
}

.sp-hero-proof__status i {
  font-size: 6px;
}

.sp-hero-proof__band {
  display: flex;
  min-height: 58px;
  align-items: center;
  justify-content: center;
  gap: 11px;
  margin: 18px 0;
  padding: 12px 16px;
  border-radius: 12px;
  background: linear-gradient(120deg, #0000ff 0%, #1919d8 100%);
  color: rgba(255, 255, 255, 0.76);
  box-shadow: 0 14px 28px -20px rgba(0, 0, 255, 0.9);
  font-size: 10px;
  font-weight: 600;
}

.sp-hero-proof__band strong {
  color: #fff;
  font-size: 13px;
}

.sp-hero-proof__band i {
  color: rgba(255, 255, 255, 0.58);
  font-size: 9px;
}

.sp-hero-proof__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.sp-hero-proof__grid li {
  display: flex;
  min-height: 88px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 10px 8px;
  border: 1px solid #e4e9f3;
  border-radius: 11px;
  background: #f8f9ff;
  color: #526071;
  text-align: center;
  transition: border-color 0.3s ease, background-color 0.3s ease, transform 0.3s ease;
}

.sp-hero-proof__grid li:hover {
  border-color: rgba(0, 0, 255, 0.28);
  background: #f0f1ff;
  transform: translateY(-2px);
}

.sp-hero-proof__grid i {
  display: inline-flex;
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
  align-items: center;
  justify-content: center;
  border-radius: 9px;
  background: #e9eaff;
  color: #0000ff;
  font-size: 13px;
  line-height: 1;
  transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
}

.sp-hero-proof__grid li:hover i {
  background: #0000ff;
  color: #fff;
  transform: translateY(-1px);
}

.sp-hero-proof__grid span {
  display: flex;
  min-height: 26px;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 650;
  line-height: 1.3;
}

.sp-hero-proof__footer {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: 14px;
  color: #64748b;
  font-size: 9px;
  font-weight: 600;
  line-height: 1.45;
}

.sp-hero-proof__footer i {
  display: inline-flex;
  width: 17px;
  height: 17px;
  flex: 0 0 17px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #e9fbf4;
  color: #07875d;
  font-size: 8px;
}

.sp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 43px;
  padding: 0 16px;
  border-radius: 2px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: background .25s ease, color .25s ease, border-color .25s ease, transform .25s ease, box-shadow .25s ease;
}

.sp-btn--primary {
  background: var(--sp-blue);
  color: #fff !important;
  border: 1.5px solid var(--sp-blue);
  box-shadow: 0 8px 20px -12px rgba(0, 0, 255, .55);
}

.sp-btn--primary:hover {
  background: #0000cc;
  border-color: #0000cc;
  transform: scale(1.02);
  box-shadow: 0 12px 28px -12px rgba(0, 0, 255, .55);
}

.sp-btn--outline {
  background: transparent;
  color: var(--sp-ink) !important;
  border: 1.5px solid var(--sp-ink);
}

.sp-btn--outline:hover {
  background: #0000cc;
  border-color: #0000cc;
  color: #fff !important;
  transform: scale(1.02);
}

.sp-btn--ghost-dark {
  background: #fff;
  color: var(--sp-ink) !important;
  border: 1.5px solid var(--sp-line);
}

.sp-btn--ghost-dark:hover {
  border-color: var(--sp-blue);
  color: var(--sp-blue) !important;
}

/* Metric band — equal columns, aligned baselines */
.sp-snap {
  position: relative;
  z-index: 2;
  margin: 0;
  padding: 32px 0;
  overflow: hidden;
  background: var(--sp-blue);
  color: #fff;
}

.sp-snap__inner {
  position: relative;
  z-index: 1;
  width: min(1120px, calc(100% - 2.5rem));
  margin-inline: auto;
}

.sp-snap__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: stretch;
  gap: 0;
  margin: 0;
  padding: 0;
}

.sp-snap__grid[data-count="1"] { grid-template-columns: minmax(0, 1fr); }
.sp-snap__grid[data-count="2"] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.sp-snap__grid[data-count="3"] { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.sp-snap__item {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 8px;
  min-width: 0;
  min-height: 4.75rem;
  padding: 0 1.5rem;
  border-right: 1px solid rgba(255, 255, 255, 0.35);
}

.sp-snap__item:first-child {
  padding-left: 0;
}

.sp-snap__item:last-child {
  padding-right: 0;
  border-right: 0;
}

.sp-snap__item strong {
  display: -webkit-box;
  margin: 0;
  min-height: 2.5em;
  font-size: clamp(1.15rem, 1.8vw, 1.45rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.25;
  color: #fff;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  word-break: break-word;
}

.sp-snap__item span {
  margin-top: auto;
  font-size: 12px;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.72);
  white-space: nowrap;
}

.sp-snap__pills {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 20px 0 0;
  padding: 18px 0 0;
  list-style: none;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
}

.sp-snap__pills li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  max-width: 100%;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.92);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.3;
}

.sp-snap__pills i {
  flex: 0 0 auto;
  font-size: 11px;
  opacity: 0.9;
}

/* Sticky section nav (case-study style) */
.sp-section-nav {
  position: sticky;
  top: var(--sp-header-height, 0px);
  z-index: 40;
  width: 100%;
  overflow-x: auto;
  border-bottom: 1px solid var(--sp-line);
  background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 8px 20px rgba(10, 37, 64, .08);
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.sp-section-nav::-webkit-scrollbar {
  display: none;
}

.sp-section-nav__inner {
  display: flex;
  align-items: center;
  gap: 4px;
  width: max-content;
  min-width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 8px max(1.25rem, calc((100% - 1120px) / 2));
  white-space: nowrap;
}

.sp-section-nav__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border: 1px solid transparent;
  border-radius: 999px;
  color: var(--sp-muted);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
  text-decoration: none;
  transition: color .25s ease, background-color .25s ease, border-color .25s ease, font-weight .25s ease;
}

.sp-section-nav__link i {
  font-size: 13px;
  opacity: .9;
}

.sp-section-nav__link:hover {
  color: var(--sp-blue);
  background: var(--sp-wash);
  border-color: #d6dbff;
}

.sp-section-nav__link.is-active {
  color: var(--sp-blue);
  background: var(--sp-wash);
  border-color: #d6dbff;
  font-weight: 600;
}

/* Layout */
.sp-layout {
  display: block;
  padding: 48px 0 40px;
}

.sp-sec {
  scroll-margin-top: calc(var(--sp-header-height, 0px) + 72px);
}

/* Sections */
.sp-article {
  display: flex;
  flex-direction: column;
  gap: 48px;
  min-width: 0;
}

.sp-sec__kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 10px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--sp-blue);
}

.sp-sec__kicker span {
  display: inline-grid;
  place-items: center;
  min-width: 28px;
  height: 22px;
  padding: 0 6px;
  border-radius: 999px;
  background: var(--sp-wash);
  border: 1px solid var(--sp-line);
  font-size: 11px;
  letter-spacing: .04em;
}

.sp-sec__title {
  margin: 0 0 16px;
  font-size: clamp(1.45rem, 2.4vw, 1.9rem);
  font-weight: 700;
  letter-spacing: -.02em;
  line-height: 1.2;
  color: var(--sp-ink);
}

.sp-sec__title .sp-accent {
  color: var(--sp-blue);
}

.sp-sec__lead {
  margin: -4px 0 28px;
  max-width: 42rem;
  color: var(--sp-muted);
  font-size: 15px;
  line-height: 1.7;
}

.sp-prose {
  color: var(--sp-muted);
  font-size: 15.5px;
  line-height: 1.75;
}

.sp-prose > *:first-child { margin-top: 0; }
.sp-prose > *:last-child { margin-bottom: 0; }

.sp-prose p { margin: 0 0 1em; }
.sp-prose a { color: var(--sp-blue); }

.sp-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}

.sp-pair .sp-sec {
  padding: 22px;
  border-radius: 18px;
  border: 1px solid var(--sp-line);
  background:
    radial-gradient(ellipse 70% 60% at 0% 0%, rgba(0, 0, 255, .04), transparent 55%),
    #fff;
}

/* Metrics */
.sp-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.sp-metrics li {
  padding: 18px 16px;
  border-top: 2px solid var(--sp-blue);
  background: var(--sp-wash);
}

.sp-metrics strong {
  display: block;
  font-size: clamp(1.6rem, 2.5vw, 2.1rem);
  font-weight: 700;
  letter-spacing: -.03em;
  color: var(--sp-ink);
  line-height: 1.1;
}

.sp-metrics span {
  display: block;
  margin-top: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--sp-ink);
}

.sp-metrics em {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  font-style: normal;
  color: var(--sp-muted);
}

/* Gallery — case-study style (featured + rows + lightbox) */
.sp-gallery-grid {
  display: grid;
  gap: 14px;
}

.sp-gallery-media-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.sp-gallery-media-row > .sp-gallery-card:only-child {
  grid-column: 1 / -1;
}

.sp-gallery-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  isolation: isolate;
  padding: 12px 12px 0;
  border: 1px solid var(--sp-line);
  border-radius: 22px;
  background:
    radial-gradient(circle at top right, rgba(77, 77, 255, 0.14), transparent 32%),
    linear-gradient(180deg, #eff3ff 0%, #eef2f8 100%);
  box-shadow: 0 12px 28px rgba(10, 37, 64, 0.08);
  cursor: pointer;
  transition: transform .35s var(--sp-ease), box-shadow .35s ease, border-color .35s ease;
}

.sp-gallery-media-row .sp-gallery-card {
  padding: 10px 10px 0;
}

.sp-gallery-card > img {
  position: relative;
  z-index: 0;
  display: block;
  width: 100%;
  max-height: 320px;
  height: auto;
  object-fit: contain;
  object-position: center top;
  border-radius: 12px 12px 0 0;
  background: #fff;
}

.sp-gallery-card--featured > img {
  max-height: 420px;
}

.sp-gallery-media-row .sp-gallery-card > img {
  max-height: 260px;
}

.sp-gallery-card__caption {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  margin: 0 -12px;
  padding: 18px 16px 16px;
  color: #fff;
  background: linear-gradient(180deg, rgba(10, 37, 64, 0.55) 0%, rgba(10, 37, 64, 0.94) 100%);
}

.sp-gallery-media-row .sp-gallery-card__caption {
  margin: 0 -10px;
  padding: 16px 14px 14px;
}

.sp-gallery-card__caption p {
  margin: 5px 0 0;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  color: #fff;
}

.sp-gallery-card--featured .sp-gallery-card__caption p {
  font-size: 15px;
}

.sp-gallery-card__index {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  opacity: .9;
}

.sp-gallery-card:hover {
  transform: translateY(-3px);
  border-color: rgba(0, 0, 255, .22);
  box-shadow: 0 24px 44px -26px rgba(0, 0, 255, .28);
}

.sp-gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.sp-gallery-lightbox.is-open {
  display: flex;
}

.sp-gallery-lightbox__backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(10, 37, 64, .82);
  cursor: pointer;
}

.sp-gallery-lightbox__panel {
  position: relative;
  z-index: 1;
  width: min(1100px, 100%);
  max-height: calc(100vh - 48px);
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 12px;
  align-items: center;
}

.sp-gallery-lightbox__toolbar {
  position: absolute;
  top: -44px;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
}

.sp-gallery-lightbox__toolbar button,
.sp-gallery-lightbox__arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 999px;
  background: rgba(255, 255, 255, .08);
  color: #fff;
  cursor: pointer;
}

.sp-gallery-lightbox__toolbar button:hover,
.sp-gallery-lightbox__arrow:hover {
  background: rgba(255, 255, 255, .16);
}

.sp-gallery-lightbox__figure {
  grid-column: 1 / -1;
  margin: 0;
  border-radius: 18px;
  overflow: hidden;
  background: #0a2540;
  box-shadow: 0 24px 60px -24px rgba(0, 0, 0, .45);
}

.sp-gallery-lightbox__figure img {
  display: block;
  width: 100%;
  max-height: calc(100vh - 160px);
  object-fit: contain;
  background: #0a2540;
}

.sp-gallery-lightbox__figure figcaption {
  padding: 14px 18px 18px;
  color: #fff;
  font-size: 14px;
  line-height: 1.5;
}

.sp-gallery-lightbox__figure figcaption strong {
  display: block;
  margin-bottom: 4px;
  font-size: 16px;
}

.sp-gallery-lightbox__figure figcaption span {
  opacity: .8;
}

.sp-gallery-lightbox__arrow--prev,
.sp-gallery-lightbox__arrow--next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
}

.sp-gallery-lightbox__arrow--prev { left: -8px; }
.sp-gallery-lightbox__arrow--next { right: -8px; }

/* Quote */
.sp-quote {
  margin: 0;
  padding: 28px 0 0;
  border-top: 2px solid var(--sp-blue);
}

.sp-quote p {
  margin: 0 0 20px;
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  font-weight: 500;
  line-height: 1.55;
  color: var(--sp-ink);
  letter-spacing: -.015em;
}

.sp-quote footer {
  display: flex;
  align-items: center;
  gap: 12px;
}

.sp-quote footer img {
  width: 48px;
  height: 48px;
  border-radius: 999px;
  object-fit: cover;
  border: 1px solid var(--sp-line);
}

.sp-quote footer strong {
  display: block;
  font-size: 14px;
  color: var(--sp-ink);
}

.sp-quote footer span {
  display: block;
  margin-top: 2px;
  font-size: 13px;
  color: var(--sp-muted);
}

/* Stack */
.sp-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.sp-stack li {
  padding: 8px 14px;
  border: 1px solid var(--sp-line);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 550;
  color: var(--sp-ink);
  background: #fff;
}

/* Adjacent */
.sp-adjacent {
  padding: 28px 0 8px;
  border-top: 1px solid var(--sp-line);
}

.sp-adjacent__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.sp-adjacent__card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 18px 0;
  text-decoration: none;
  color: var(--sp-ink);
  transition: color .2s ease;
}

.sp-adjacent__card span {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--sp-muted);
}

.sp-adjacent__card strong {
  font-size: 16px;
  font-weight: 650;
  line-height: 1.35;
}

.sp-adjacent__card:hover,
.sp-adjacent__card:hover strong { color: var(--sp-blue); }

.sp-adjacent__card--next { text-align: right; }

/* CTA */
.sp-cta {
  padding: 56px 0 80px;
  background:
    radial-gradient(ellipse 50% 60% at 10% 30%, rgba(0, 0, 255, .07), transparent 55%),
    linear-gradient(180deg, #fff 0%, var(--sp-wash) 100%);
}

.sp-cta__inner {
  max-width: 36rem;
  text-align: center;
  margin-inline: auto;
}

.sp-cta h2 {
  margin: 0 0 10px;
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  font-weight: 700;
  letter-spacing: -.02em;
  line-height: 1.2;
}

.sp-cta p {
  margin: 0 0 22px;
  color: var(--sp-muted);
  font-size: 15px;
  line-height: 1.65;
}

.sp-cta .sp-hero__cta { justify-content: center; }

/* Reveal */
[data-sp-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .7s var(--sp-ease), transform .7s var(--sp-ease);
}

[data-sp-reveal].is-in {
  opacity: 1;
  transform: none;
}

/* Responsive */
@media (max-width: 991px) {
  .sp-layout {
    padding-top: 36px;
  }

  .sp-hero__layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .sp-hero-proof {
    max-width: none;
    margin-left: 0;
  }

  .sp-hero-proof__status {
    display: none;
  }

  .sp-hero-proof__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .sp-section-nav__inner {
    padding-inline: 1rem;
  }

  .sp-section-nav__link {
    font-size: 13px;
    padding: 6px 10px;
  }

  .sp-pair {
    grid-template-columns: 1fr;
  }

  .sp-metrics {
    grid-template-columns: 1fr;
  }

  .sp-gallery-media-row {
    grid-template-columns: 1fr;
  }

  .sp-gallery-card--featured > img {
    max-height: 320px;
  }

  .sp-gallery-lightbox__arrow--prev { left: 4px; }
  .sp-gallery-lightbox__arrow--next { right: 4px; }

  .sp-snap {
    padding: 28px 0;
  }

  .sp-snap__grid,
  .sp-snap__grid[data-count="3"],
  .sp-snap__grid[data-count="4"] {
    grid-template-columns: 1fr 1fr;
  }

  .sp-snap__item {
    min-height: 4.5rem;
    padding: 12px 1.25rem;
    border-right: 1px solid rgba(255, 255, 255, 0.28);
    border-bottom: 1px solid rgba(255, 255, 255, 0.28);
  }

  .sp-snap__item:nth-child(1),
  .sp-snap__item:nth-child(3) {
    padding-left: 0;
  }

  .sp-snap__item:nth-child(2n) {
    padding-right: 0;
    border-right: 0;
  }

  .sp-snap__item:nth-child(n + 3) {
    border-bottom: 0;
    padding-bottom: 0;
  }

  .sp-snap__item:nth-child(-n + 2) {
    padding-top: 0;
  }
}

@media (max-width: 640px) {
  .sp-hero__inner { padding: 28px 0 48px; }

  .sp-snap__grid,
  .sp-snap__grid[data-count="2"],
  .sp-snap__grid[data-count="3"],
  .sp-snap__grid[data-count="4"] {
    grid-template-columns: 1fr;
  }

  .sp-snap__item,
  .sp-snap__item:nth-child(1),
  .sp-snap__item:nth-child(2),
  .sp-snap__item:nth-child(3),
  .sp-snap__item:nth-child(4),
  .sp-snap__item:nth-child(2n),
  .sp-snap__item:nth-child(n + 3),
  .sp-snap__item:nth-child(-n + 2) {
    min-height: 0;
    padding: 14px 0;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.28);
  }

  .sp-snap__item:first-child {
    padding-top: 0;
  }

  .sp-snap__item:last-child {
    border-bottom: 0;
    padding-bottom: 0;
  }

  .sp-snap__item strong {
    min-height: 0;
  }

  .sp-adjacent__grid {
    grid-template-columns: 1fr;
  }

  .sp-adjacent__card--next { text-align: left; }
}

@media (prefers-reduced-motion: reduce) {
  [data-sp-reveal],
  .sp-btn {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}
