/* ============================================
   SHARED UTILITIES
   ============================================ */

.mt--16  { margin-top: 16px; }
.mt--32  { margin-top: 32px; }
.mt--60  { margin-top: 60px; }
.mt--88  { margin-top: 88px; }
.w-100   { width: 100%; }
.c--white { color: #fff; }
.color-gray { color: #5B5B5B; }
.flex    { display: flex; }
.fd-column { flex-direction: column; }
.ai-center { align-items: center; }
.jc-center { justify-content: center; }
.gap--12 { gap: 12px; }
.gap-32  { gap: 32px; }

/* ============================================
   SHARED TAG PILLS
   ============================================ */

.proj-tag-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.proj-tag {
  display: inline-flex;
  align-items: center;
  padding: 5px 14px;
  border-radius: 999px;
  border: 1px solid #3a3a3a;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #aaa;
}

.proj-tag--featured {
  border-color: rgba(0, 224, 255, 0.4);
  background: var(--linear, linear-gradient(168deg, #00e0ff 0%, #00ff94 100%));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.span-con {
  display: flex;
  padding: 4px 16px;
  justify-content: center;
  align-items: center;
  gap: 8px;
  background: #181818;
  border-radius: 6px;
  color: #fff;
  font-size: 14px;
}


/* ============================================
   PROJECT LISTING — HERO
   ============================================ */

.proj-list-hero {
  padding: 100px 0 72px;
  position: relative;
}

.proj-list-hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, #232524 20%, #232524 80%, transparent 100%);
}

.proj-list-eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #555;
  margin-bottom: 20px;
}

.proj-list-title {
  font-size: 96px;
  font-weight: 800;
  line-height: 1.0;
  color: #fff;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}

.proj-list-title span {
  background: var(--linear, linear-gradient(168deg, #00e0ff 0%, #00ff94 100%));
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.proj-list-subtitle {
  font-size: 17px;
  color: #5a5a5a;
  max-width: 520px;
  line-height: 1.65;
}


/* ============================================
   PROJECT LISTING — GRID
   ============================================ */

.proj-list-section {
  padding: 72px 0 0;
}

.proj-list-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
}

/* Featured card spans full width */
.proj-list-card--featured {
  grid-column: 1 / -1;
}

.proj-list-card {
  background: #000;
  overflow: hidden;
  transition: background 200ms ease;
}

.proj-list-card:hover {
  background: #0a0a0a;
}

.proj-list-card-link {
  display: block;
  text-decoration: none;
  color: inherit;
  padding: 24px;
}

/* Image */
.proj-list-img-wrap {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  background: #0e0e0e;
}

.proj-list-card--featured .proj-list-img-wrap {
  aspect-ratio: 21 / 9;
}

.proj-list-card:not(.proj-list-card--featured) .proj-list-img-wrap {
  aspect-ratio: 4 / 3;
}

.proj-list-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 600ms ease;
}

.proj-list-card:hover .proj-list-img {
  transform: scale(1.04);
}

/* Placeholder when no image */
.proj-list-img-placeholder {
  width: 100%;
  height: 100%;
  min-height: 300px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: #0e0e0e;
  background-image: radial-gradient(#1a1a1a 1px, transparent 1px);
  background-size: 24px 24px;
}

.proj-list-img-placeholder span {
  font-size: 12px;
  color: #444;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Sprintex-branded placeholder variant */
.proj-list-img-placeholder--sprintex {
  background:
    radial-gradient(ellipse 70% 50% at 25% 65%, rgba(107, 245, 255, 0.07) 0%, transparent 65%),
    radial-gradient(ellipse 60% 40% at 75% 30%, rgba(148, 255, 209, 0.06) 0%, transparent 60%),
    #060e0d;
  background-size: auto;
}

.proj-list-img-placeholder--sprintex span {
  color: rgba(148, 255, 209, 0.22);
}

/* Hover overlay */
.proj-list-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 350ms ease;
  border-radius: 12px;
}

.proj-list-card:hover .proj-list-overlay {
  opacity: 1;
}

.proj-list-overlay-btn {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: #fff;
  padding: 12px 28px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
  transition: background 200ms ease, border-color 200ms ease;
}

.proj-list-card:hover .proj-list-overlay-btn {
  background: rgba(0, 224, 255, 0.12);
  border-color: rgba(0, 224, 255, 0.5);
}

/* Card info bar */
.proj-list-info {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding-top: 20px;
}

.proj-list-index {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  background: var(--linear, linear-gradient(168deg, #00e0ff 0%, #00ff94 100%));
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  flex-shrink: 0;
  padding-top: 4px;
}

.proj-list-info-body {
  flex: 1;
}

.proj-list-name {
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  line-height: 1.25;
  letter-spacing: -0.012em;
  margin: 0 0 6px;
  transition: color 200ms ease;
}

.proj-list-card:hover .proj-list-name {
  background: var(--linear, linear-gradient(168deg, #00e0ff 0%, #00ff94 100%));
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.proj-list-card--featured .proj-list-name {
  font-size: 28px;
}

.proj-list-desc {
  font-size: 13px;
  color: #666;
  line-height: 1.6;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.proj-list-meta-col {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
  flex-shrink: 0;
  text-align: right;
}

.proj-list-cat {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: #555;
  max-width: 180px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.proj-list-year {
  font-size: 11px;
  color: #505050;
}

.proj-list-empty {
  color: #555;
  font-size: 14px;
  padding: 60px 0;
  text-align: center;
  grid-column: 1 / -1;
}

.proj-list-cta-wrap {
  margin-top: 100px;
}


/* ============================================
   SINGLE PROJECT — HEADER
   ============================================ */

.sproj-header {
  padding: 80px 0 64px;
}

.sproj-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  color: #555;
  text-decoration: none;
  margin-bottom: 32px;
  transition: color 200ms ease;
}

.sproj-back:hover {
  color: #00e0ff;
}

.sproj-tag-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.sproj-title {
  font-size: 80px;
  font-weight: 800;
  line-height: 1.04;
  color: #fff;
  letter-spacing: -0.034em;
  max-width: 900px;
}


/* ============================================
   SINGLE PROJECT — COVER IMAGE
   ============================================ */

.sproj-cover {
  width: 100%;
  aspect-ratio: 16 / 7;
  overflow: hidden;
  background: #0e0e0e;
}

.sproj-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.sproj-cover--placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  background-image: radial-gradient(#1a1a1a 1px, transparent 1px);
  background-size: 28px 28px;
}

.sproj-cover--placeholder span {
  font-size: 13px;
  color: #444;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}


/* ============================================
   SINGLE PROJECT — META BAR
   ============================================ */

.sproj-meta-bar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0;
  border-top: 1px solid #1a1a1a;
  border-bottom: 1px solid #1a1a1a;
  padding: 24px 0;
  margin-top: 56px;
}

.sproj-meta-item {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 0 36px 0 0;
}

.sproj-meta-divider {
  width: 1px;
  height: 36px;
  background: #1e1e1e;
  margin-right: 36px;
  flex-shrink: 0;
}

.sproj-meta-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #3a3a3a;
}

.sproj-meta-val {
  font-size: 15px;
  font-weight: 500;
  color: #c8c8c8;
}

.sproj-live-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: #00e0ff;
  text-decoration: none;
  padding: 8px 18px;
  border: 1px solid rgba(0, 224, 255, 0.3);
  border-radius: 999px;
  transition: background 200ms ease, border-color 200ms ease;
}

.sproj-live-btn:hover {
  background: rgba(0, 224, 255, 0.08);
  border-color: rgba(0, 224, 255, 0.6);
}


/* ============================================
   SINGLE PROJECT — OVERVIEW
   ============================================ */

.sproj-overview {
  max-width: 760px;
  margin: 72px auto;
  text-align: center;
}

.sproj-overview p {
  font-size: 22px;
  line-height: 1.7;
  color: #b0b0b0;
  font-weight: 400;
}


/* ============================================
   SINGLE PROJECT — SERVICES + STACK
   ============================================ */

.sproj-services-stack {
  display: flex;
  gap: 60px;
  padding: 48px 0;
  border-top: 1px solid #1e1e1e;
  border-bottom: 1px solid #1e1e1e;
  flex-wrap: wrap;
}

.sproj-section-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #444;
  margin-bottom: 14px;
}

.sproj-services-text {
  font-size: 15px;
  color: #b0b0b0;
  line-height: 1.6;
  max-width: 360px;
}

.sproj-stack-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.sproj-stack-item {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #080808;
  border: 1px solid #1e1e1e;
  border-radius: 8px;
  padding: 10px 18px;
  transition: border-color 280ms ease, background 280ms ease;
}

.sproj-stack-item:hover {
  border-color: #2a2a2a;
  background: #0d0d0d;
}

.sproj-stack-item img {
  width: 20px;
  height: 20px;
  object-fit: contain;
}

.sproj-stack-item span {
  font-size: 13px;
  color: #999;
  font-weight: 500;
  letter-spacing: 0.01em;
}


/* ============================================
   SINGLE PROJECT — POST CONTENT (WYSIWYG)
   ============================================ */

.sproj-content {
  max-width: 800px;
  margin: 72px auto;
}

.sproj-content h1,
.sproj-content h2,
.sproj-content h3,
.sproj-content h4 {
  color: #fff;
  font-weight: 700;
  line-height: 1.3;
  margin-top: 48px;
  margin-bottom: 16px;
}

.sproj-content h2 { font-size: 32px; }
.sproj-content h3 { font-size: 24px; }
.sproj-content h4 { font-size: 18px; }

.sproj-content p {
  font-size: 16px;
  line-height: 1.8;
  color: #9a9a9a;
  margin-bottom: 20px;
}

.sproj-content a {
  color: #00e0ff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.sproj-content img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  margin: 32px 0;
}

.sproj-content ul,
.sproj-content ol {
  padding-left: 24px;
  margin-bottom: 20px;
}

.sproj-content li {
  font-size: 16px;
  color: #9a9a9a;
  line-height: 1.8;
  margin-bottom: 6px;
}

.sproj-content blockquote {
  border-left: 3px solid #00e0ff;
  padding: 12px 24px;
  margin: 32px 0;
  background: #0e0e0e;
  border-radius: 0 8px 8px 0;
}

.sproj-content blockquote p {
  color: #ccc;
  font-style: italic;
  font-size: 18px;
  margin: 0;
}

.sproj-content strong { color: #e0e0e0; font-weight: 700; }

.sproj-content hr {
  border: none;
  height: 1px;
  background: #1e1e1e;
  margin: 48px 0;
}


/* ============================================
   SINGLE PROJECT — GALLERY
   ============================================ */

.sproj-gallery {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 4px;
}

.sproj-gallery-item {
  width: 100%;
  overflow: hidden;
}

.sproj-gallery-item img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 600ms ease;
}

.sproj-gallery-item:hover img {
  transform: scale(1.01);
}


/* ============================================
   SINGLE PROJECT — FOOTER NAVIGATION
   ============================================ */

.sproj-foot-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 48px 0;
  border-top: 1px solid #1e1e1e;
  gap: 24px;
}

.sproj-foot-nav-link {
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-decoration: none;
  max-width: 280px;
  transition: opacity 200ms ease;
}

.sproj-foot-nav-link:hover { opacity: 0.7; }

.sproj-foot-nav-link--next {
  text-align: right;
  align-items: flex-end;
}

.sproj-foot-nav-dir {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #444;
}

.sproj-foot-nav-title {
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  line-height: 1.3;
}

.sproj-foot-nav-all {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #555;
  text-decoration: none;
  flex-shrink: 0;
  padding: 10px 20px;
  border: 1px solid #2a2a2a;
  border-radius: 999px;
  transition: color 200ms ease, border-color 200ms ease;
}

.sproj-foot-nav-all:hover {
  color: #00e0ff;
  border-color: rgba(0, 224, 255, 0.3);
}


/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 1024px) {
  .proj-list-title { font-size: 72px; }
  .sproj-title { font-size: 60px; }

  .proj-list-card--featured .proj-list-img-wrap {
    aspect-ratio: 16 / 9;
  }
}

@media (max-width: 768px) {
  .proj-list-title { font-size: 56px; }
  .proj-list-hero  { padding: 60px 0 48px; }

  .proj-list-grid {
    grid-template-columns: 1fr;
    gap: 2px;
  }

  .proj-list-card--featured {
    grid-column: 1;
  }

  .proj-list-card--featured .proj-list-img-wrap {
    aspect-ratio: 4 / 3;
  }

  .proj-list-card--featured .proj-list-name {
    font-size: 22px;
  }

  /* Reduce card padding on tablet */
  .proj-list-card-link { padding: 18px; }

  .sproj-title { font-size: 44px; }

  .sproj-meta-bar {
    gap: 16px;
    flex-direction: column;
    align-items: flex-start;
  }

  .sproj-meta-divider { display: none; }
  .sproj-meta-item { padding: 0; }

  .sproj-overview p { font-size: 18px; }

  .sproj-services-stack {
    flex-direction: column;
    gap: 32px;
  }

  .sproj-content { max-width: 100%; }
  .sproj-content h2 { font-size: 26px; }
  .sproj-content h3 { font-size: 20px; }

  .sproj-cover { aspect-ratio: 16 / 9; }

  .sproj-foot-nav {
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
  }

  .sproj-foot-nav-link { max-width: 100%; }
  .sproj-foot-nav-link--next { align-items: flex-start; text-align: left; }
}

@media (max-width: 480px) {
  .proj-list-title { font-size: 44px; }
  .sproj-title { font-size: 36px; }
  .sproj-overview p { font-size: 16px; }

  /* Compact card padding at small screens */
  .proj-list-card-link { padding: 14px; }

  /* Stack meta col below name/desc on small screens */
  .proj-list-info {
    flex-wrap: wrap;
    gap: 12px;
    align-items: flex-start;
    padding-bottom: 16px;
  }

  .proj-list-meta-col {
    width: 100%;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    text-align: left;
    gap: 10px;
    flex-wrap: wrap;
  }

  .proj-list-cat {
    max-width: 100%;
    white-space: normal;
  }

  /* Dot separator between cat and year on one line */
  .proj-list-year::before {
    content: '·';
    margin-right: 10px;
    color: #333;
    font-style: normal;
  }
}


/* ============================================
   CUSTOM PROJECT TEMPLATES — IMAGE PLACEHOLDERS
   ============================================ */

/* Used when real images haven't been uploaded yet */
.sproj-img-placeholder {
  width: 100%;
  background: #0a0a0a;
  background-image: radial-gradient(#161616 1px, transparent 1px);
  background-size: 24px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  position: relative;
}

.sproj-img-placeholder::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0,224,255,0.03) 0%, transparent 60%, rgba(0,255,148,0.03) 100%);
  pointer-events: none;
}

.sproj-img-placeholder-icon {
  opacity: 0.2;
}

.sproj-img-placeholder-label {
  font-family: Helvetica Now Display;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #2e2e2e;
}

/* Height helpers for placeholder sizing */
.sproj-img-placeholder--hero      { aspect-ratio: 16 / 7; }
.sproj-img-placeholder--screen    { aspect-ratio: 16 / 10; }
.sproj-img-placeholder--tall      { aspect-ratio: 3 / 4; }
.sproj-img-placeholder--sq        { aspect-ratio: 1 / 1; }
.sproj-img-placeholder--landscape { aspect-ratio: 16 / 9; }
.sproj-img-placeholder--wide      { aspect-ratio: 21 / 9; }


/* ============================================
   CUSTOM PROJECT TEMPLATES — CONTEXT BLURB
   ============================================ */

.sproj-context {
  padding: 80px 0 0;
  max-width: 820px;
}

.sproj-context-text {
  font-family: Helvetica Now Display;
  font-size: 21px;
  font-weight: 400;
  color: #a8a8a8;
  line-height: 1.78;
  margin: 0;
}

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


/* ============================================
   CUSTOM PROJECT TEMPLATES — PROCESS STEPS
   ============================================ */

.sproj-process-section {
  padding: 96px 0;
}

.sproj-process-header {
  margin-bottom: 56px;
}

.sproj-process-eyebrow {
  display: block;
  font-family: Helvetica Now Display;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(0, 224, 255, 0.6);
  margin-bottom: 14px;
}

.sproj-process-title {
  font-family: Helvetica Now Display;
  font-size: 36px;
  font-weight: 800;
  letter-spacing: -0.018em;
  color: #fff;
  margin: 0;
}

.sproj-process-row {
  display: flex;
  border-top: 1px solid #1a1a1a;
  border-bottom: 1px solid #1a1a1a;
}

.sproj-process-step {
  flex: 1;
  padding: 44px 32px;
  border-left: 1px solid #1a1a1a;
  transition: background 320ms cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.sproj-process-step:first-child {
  border-left: none;
}

.sproj-process-step:hover {
  background: rgba(255, 255, 255, 0.025);
}

.sproj-process-num {
  display: block;
  font-family: Helvetica Now Display;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: rgba(0, 224, 255, 0.45);
  margin-bottom: 20px;
}

.sproj-process-name {
  display: block;
  font-family: Helvetica Now Display;
  font-size: 15px;
  font-weight: 700;
  color: #e8e8e8;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.sproj-process-desc {
  font-family: Helvetica Now Display;
  font-size: 13.5px;
  color: #666;
  line-height: 1.7;
  margin: 0;
}

/* Role breakdown below process */
.sproj-role-row {
  display: flex;
  align-items: flex-start;
  gap: 60px;
  padding: 52px 0 0;
  flex-wrap: wrap;
}

.sproj-role-label {
  font-family: Helvetica Now Display;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #3a3a3a;
  white-space: nowrap;
  padding-top: 6px;
  flex-shrink: 0;
}

.sproj-role-items {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.sproj-role-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: 999px;
  border: 1px solid #222;
  background: rgba(255, 255, 255, 0.02);
  font-family: Helvetica Now Display;
  font-size: 12.5px;
  font-weight: 500;
  color: #bbb;
  transition: border-color 280ms ease, color 280ms ease;
}

.sproj-role-item:hover {
  border-color: #333;
  color: #e0e0e0;
}

.sproj-role-item::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: linear-gradient(168deg, #00E0FF 0%, #00FF94 100%);
  flex-shrink: 0;
}


/* ============================================
   CUSTOM PROJECT TEMPLATES — DESIGN DECISIONS
   ============================================ */

.sproj-decisions-section {
  padding: 96px 0;
  border-top: 1px solid #1a1a1a;
}

.sproj-decisions-header {
  margin-bottom: 56px;
}

.sproj-decisions-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.sproj-decision-card {
  background: #080808;
  border: 1px solid #1e1e1e;
  border-radius: 14px;
  padding: 36px;
  transition: border-color 320ms cubic-bezier(0.25, 0.46, 0.45, 0.94),
              background 320ms cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.sproj-decision-card:hover {
  border-color: rgba(0, 224, 255, 0.18);
  background: rgba(0, 224, 255, 0.012);
}

.sproj-decision-num {
  display: inline-block;
  font-family: Helvetica Now Display;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(0, 224, 255, 0.45);
  margin-bottom: 18px;
}

.sproj-decision-q {
  font-family: Helvetica Now Display;
  font-size: 17px;
  font-weight: 800;
  color: #e8e8e8;
  line-height: 1.4;
  margin: 0 0 16px;
  letter-spacing: -0.01em;
}

.sproj-decision-a {
  font-family: Helvetica Now Display;
  font-size: 14px;
  color: #666;
  line-height: 1.75;
  margin: 0;
}

.sproj-decision-img {
  margin-top: 24px;
  border-radius: 8px;
  overflow: hidden;
}

.sproj-decision-img img {
  width: 100%;
  height: auto;
  display: block;
}


/* ============================================
   CUSTOM PROJECT TEMPLATES — TECH STACK
   ============================================ */

.sproj-stack-section {
  padding: 64px 0;
  border-top: 1px solid #1a1a1a;
}

.sproj-stack-label {
  font-family: Helvetica Now Display;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #3a3a3a;
  margin-bottom: 24px;
}


/* ============================================
   CUSTOM PROJECT TEMPLATES — OUTCOME STATS
   ============================================ */

.sproj-stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 56px;
}

.sproj-stat-card {
  background: rgba(255, 255, 255, 0.015);
  border: 1px solid #1e1e1e;
  border-radius: 14px;
  padding: 32px 26px;
  transition: border-color 320ms cubic-bezier(0.25, 0.46, 0.45, 0.94),
              background 320ms cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.sproj-stat-card:hover {
  border-color: rgba(0, 224, 255, 0.18);
  background: rgba(0, 224, 255, 0.02);
}

.sproj-stat-num {
  display: block;
  font-family: Helvetica Now Display;
  font-size: 44px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.02em;
  background: var(--linear, linear-gradient(168deg, #00E0FF 0%, #00FF94 100%));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 10px;
}

.sproj-stat-label {
  display: block;
  font-family: Helvetica Now Display;
  font-size: 12.5px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.38);
  line-height: 1.5;
}


/* ============================================
   CUSTOM PROJECT TEMPLATES — TESTIMONIAL
   ============================================ */

.sproj-quote {
  position: relative;
  border-left: none;
  padding: 32px 40px;
  background: rgba(0, 224, 255, 0.025);
  border: 1px solid rgba(0, 224, 255, 0.08);
  border-radius: 0 14px 14px 0;
  margin-bottom: 0;
}

.sproj-quote::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: linear-gradient(to bottom, #00e0ff 0%, #00ff94 100%);
  border-radius: 3px 0 0 3px;
}

.sproj-quote p {
  font-family: Helvetica Now Display;
  font-size: 20px;
  font-style: italic;
  color: #c8c8c8;
  line-height: 1.72;
  margin: 0 0 20px;
}

.sproj-quote cite {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: Helvetica Now Display;
  font-size: 12px;
  font-style: normal;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #444;
}

.sproj-quote cite::before {
  content: '';
  display: block;
  width: 20px;
  height: 1px;
  background: #333;
  flex-shrink: 0;
}

/* Responsive additions for new components */
@media (max-width: 768px) {
  .sproj-process-row     { flex-direction: column; }
  .sproj-process-step    { border-left: none; border-top: 1px solid #1e1e1e; }
  .sproj-process-step:first-child { border-top: none; }
  .sproj-decisions-grid  { grid-template-columns: 1fr; }
  .sproj-stats-row       { grid-template-columns: 1fr 1fr; }
  .sproj-quote           { padding: 20px 24px; }
  .sproj-quote p         { font-size: 16px; }
  .sproj-role-row        { gap: 24px; }
}

@media (max-width: 480px) {
  .sproj-stats-row { grid-template-columns: 1fr; }
  .sproj-process-num { font-size: 32px; }
}


/* ============================================
   CUSTOM PROJECT TEMPLATES — CUBERTO STYLE
   ============================================ */

/* ── Overview Section (two-column narrative text) ── */
.sproj-overview-section {
  padding: 112px 0;
}

.sproj-overview-section--ruled {
  border-top: 1px solid #141414;
}

.sproj-overview-grid {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 96px;
  align-items: start;
}

.sproj-overview-left {
  position: sticky;
  top: 120px;
}

.sproj-overview-eyebrow {
  display: block;
  font-family: Helvetica Now Display;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(0, 224, 255, 0.55);
  margin-bottom: 20px;
}

.sproj-overview-h2 {
  font-family: Helvetica Now Display;
  font-size: 52px;
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.028em;
  color: #fff;
  margin: 0;
}

.sproj-overview-h2 span {
  background: var(--linear, linear-gradient(168deg, #00E0FF 0%, #00FF94 100%));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.sproj-overview-right {
  padding-top: 6px;
}

.sproj-overview-body {
  font-family: Helvetica Now Display;
  font-size: 17px;
  color: #888;
  line-height: 1.82;
  margin: 0 0 28px;
}

.sproj-overview-body:last-child {
  margin-bottom: 0;
}

.sproj-overview-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: Helvetica Now Display;
  font-size: 13.5px;
  font-weight: 600;
  color: #00e0ff;
  text-decoration: none;
  margin-top: 12px;
  transition: gap 300ms cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.sproj-overview-link:hover {
  gap: 14px;
}

/* ── Preview Section (full-width image block) ── */
.sproj-preview-section {
  padding: 0;
  line-height: 0; /* Remove img gap */
}

.sproj-preview-section img,
.sproj-preview-section video {
  width: 100%;
  height: auto;
  display: block;
  background: #0e0e0e;
}

/* Contained variant — image in container, rounded corners */
.sproj-preview-section--contained {
  padding: 56px 0;
  background: #050505;
}

.sproj-preview-section--contained .container {
  line-height: 0;
}

.sproj-preview-section--contained img {
  border-radius: 12px;
  max-width: 100%;
}

/* Dark background fill variant */
.sproj-preview-section--dark {
  background: #080808;
  padding: 60px 0;
}

/* ── Splitshow Section (two-column image mosaic) ── */
.sproj-splitshow-section {
  padding: 4px 0;
}

.sproj-splitshow-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
}

.sproj-splitshow-col {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.sproj-splitshow-item {
  position: relative;
  overflow: hidden;
  background: #0e0e0e;
}

.sproj-splitshow-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 800ms cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.sproj-splitshow-item:hover img {
  transform: scale(1.045);
}

/* Size modifiers */
.sproj-splitshow-item--sq   { aspect-ratio: 1 / 1; }
.sproj-splitshow-item--tall { aspect-ratio: 3 / 4; }
.sproj-splitshow-item--wide {
  grid-column: span 2;
  aspect-ratio: 21 / 9;
}
.sproj-splitshow-item--landscape { aspect-ratio: 16 / 9; }

/* Caption below a splitshow item */
.sproj-splitshow-caption-wrap {
  padding: 16px 0 8px;
}

.sproj-splitshow-caption {
  font-family: Helvetica Now Display;
  font-size: 13px;
  color: #555;
  line-height: 1.55;
}

/* ── Spacer between sections ── */
.sproj-gap {
  height: 4px;
  background: transparent;
}

/* ── Next Case teaser ── */
.sproj-nextcase {
  padding: 100px 0 80px;
  border-top: 1px solid #1e1e1e;
  text-align: center;
}

.sproj-nextcase-eyebrow {
  display: block;
  font-family: Helvetica Now Display;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #444;
  margin-bottom: 24px;
}

.sproj-nextcase-link {
  display: inline-block;
  font-family: Helvetica Now Display;
  font-size: clamp(40px, 6vw, 88px);
  font-weight: 800;
  letter-spacing: -0.025em;
  color: #fff;
  text-decoration: none;
  line-height: 1;
  transition: opacity 200ms ease;
  position: relative;
}

.sproj-nextcase-link::after {
  content: '→';
  display: inline-block;
  margin-left: 0.2em;
  font-size: 0.6em;
  vertical-align: middle;
  transition: transform 200ms ease;
}

.sproj-nextcase-link:hover {
  background: var(--linear, linear-gradient(168deg, #00E0FF 0%, #00FF94 100%));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.sproj-nextcase-link:hover::after {
  transform: translateX(8px);
  background: var(--linear, linear-gradient(168deg, #00E0FF 0%, #00FF94 100%));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.sproj-nextcase-meta {
  display: block;
  margin-top: 20px;
  font-family: Helvetica Now Display;
  font-size: 13px;
  color: #444;
  letter-spacing: 0.06em;
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  .sproj-overview-grid { grid-template-columns: 220px 1fr; gap: 56px; }
  .sproj-overview-h2 { font-size: 42px; }
  .sproj-preview-section--contained { padding: 40px 0; }
}

@media (max-width: 768px) {
  .sproj-overview-section { padding: 72px 0; }
  .sproj-overview-grid { grid-template-columns: 1fr; gap: 32px; }
  .sproj-overview-left { position: static; }
  .sproj-overview-h2 { font-size: 38px; }
  .sproj-overview-body { font-size: 15.5px; line-height: 1.75; }
  .sproj-preview-section--contained { padding: 28px 0; }
  .sproj-splitshow-grid { grid-template-columns: 1fr; }
  .sproj-splitshow-item--wide { grid-column: 1; aspect-ratio: 4 / 3; }
  .sproj-nextcase { padding: 64px 0 48px; }
  .sproj-nextcase-link { font-size: 36px; }
}

@media (max-width: 480px) {
  .sproj-overview-h2 { font-size: 28px; }
  .sproj-nextcase-link { font-size: 28px; }
}


/* ============================================
   SPRINTEX — SHADER GRADIENT HERO
   waterPlane: color1=#94ffd1 color2=#6bf5ff color3=#fff
   ============================================ */

.spx-shader-hero {
  position: relative;
  width: 100%;
  height: 88vh;
  min-height: 560px;
  max-height: 900px;
  overflow: hidden;
  background: #000;
}

/* Canvas fills the section */
#spx-gradient-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}

/* Radial vignette — darkens corners so content pops */
.spx-shader-vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 70% at 50% 50%, transparent 30%, rgba(0,0,0,0.72) 100%);
  pointer-events: none;
}

/* Bottom fade to black — blends into the meta bar below */
.spx-shader-vignette::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 40%;
  background: linear-gradient(to bottom, transparent, #000);
}

/* Centered content overlay */
.spx-shader-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
  text-align: center;
  padding: 0 24px;
  pointer-events: none;
}

/* Logo lockup — frosted glass card for contrast against bright gradient */
.spx-logo-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 44px 56px 40px;
  background: rgba(0, 0, 0, 0.42);
  backdrop-filter: blur(22px) saturate(1.4);
  -webkit-backdrop-filter: blur(22px) saturate(1.4);
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.10);
  box-shadow:
    0 8px 40px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.spx-logo {
  width: auto;
  height: 56px;
  max-width: 320px;
  object-fit: contain;
  display: block;
  /* PNG with white bg: screen blend makes white invisible on dark canvas.
     Swap for transparent-bg PNG from Figma to remove this workaround. */
  mix-blend-mode: screen;
  filter: drop-shadow(0 0 24px rgba(148, 255, 209, 0.55))
          drop-shadow(0 0 8px  rgba(107, 245, 255, 0.4));
  animation: spx-logo-pulse 3s ease-in-out infinite;
}

/* SVG wordmark variant */
.spx-logo--svg {
  mix-blend-mode: normal;
  height: 52px;
  width: 300px;
  filter: drop-shadow(0 2px 16px rgba(148, 255, 209, 0.30));
  animation: spx-logo-pulse 3s ease-in-out infinite;
}

@keyframes spx-logo-pulse {
  0%, 100% { filter: drop-shadow(0 0 24px rgba(148, 255, 209, 0.55))
                      drop-shadow(0 0  8px rgba(107, 245, 255, 0.40)); }
  50%       { filter: drop-shadow(0 0 36px rgba(148, 255, 209, 0.80))
                      drop-shadow(0 0 16px rgba(107, 245, 255, 0.65)); }
}

/* Wordmark / tagline below logo */
.spx-hero-tagline {
  font-family: Helvetica Now Display, Helvetica, Arial, sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  margin: 0;
}

/* Gradient divider line between logo and tag badges */
.spx-hero-divider {
  width: 40px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(148,255,209,0.45), transparent);
}

/* Tag badges (category / year) */
.spx-hero-tags {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
}

.spx-hero-tag {
  display: inline-block;
  padding: 5px 13px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.08);
  font-family: Helvetica Now Display, Helvetica, Arial, sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.80);
}

/* Scroll cue at the very bottom */
.spx-shader-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  pointer-events: none;
}

.spx-shader-scroll-label {
  font-family: Helvetica Now Display, Helvetica, Arial, sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
}

.spx-shader-scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(148,255,209,0.5), transparent);
  animation: spx-scroll-drop 1.8s ease-in-out infinite;
}

@keyframes spx-scroll-drop {
  0%   { transform: scaleY(0); transform-origin: top; opacity: 0; }
  30%  { opacity: 1; }
  100% { transform: scaleY(1); transform-origin: top; opacity: 0; }
}

/* ── Responsive ── */
@media (max-width: 768px) {
  .spx-shader-hero    { height: 75vh; min-height: 480px; }
  .spx-logo           { height: 44px; }
  .spx-logo--svg      { height: 44px; width: 260px; }
  .spx-hero-tagline   { font-size: 11px; letter-spacing: 0.18em; }
  .spx-logo-wrap      { padding: 32px 40px 28px; }
}

@media (max-width: 480px) {
  .spx-shader-hero    { height: 70vh; min-height: 420px; }
  .spx-logo           { height: 36px; }
  .spx-logo--svg      { height: 38px; width: 220px; }
  .spx-logo-wrap      { padding: 28px 32px 24px; border-radius: 18px; }
}


/* ============================================
   SPRINTEX PAGE — ADDITIONAL RESPONSIVE FIXES
   ============================================ */

/* Tablet 769–1100px
   5 process steps in a single flex row become unreadably narrow.
   Switch to a 3+2 grid; stats 4-col → 2×2 inside narrow right col. */
@media (max-width: 1100px) {
  .sproj-process-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
  }
  /* Steps 4–5 are in row 2 — give them a top border as a row divider */
  .sproj-process-step:nth-child(4),
  .sproj-process-step:nth-child(5) {
    border-top: 1px solid #1e1e1e;
  }
  /* Step 4 starts a new row — remove its inherited left border */
  .sproj-process-step:nth-child(4) {
    border-left: none;
  }

  /* Stats: 4 narrow cols → comfortable 2×2 */
  .sproj-stats-row {
    grid-template-columns: 1fr 1fr;
  }
}

/* Meta bar: go column at 900px before items awkwardly wrap */
@media (max-width: 900px) {
  .sproj-meta-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  .sproj-meta-divider { display: none; }
  .sproj-meta-item    { padding: 0; }
}

/* Mobile ≤ 768px
   The existing 768px rule adds flex-direction: column to the process row
   but my 1100px grid override is still active — restore display: flex. */
@media (max-width: 768px) {
  .sproj-process-row {
    display: flex;
  }
  .sproj-header        { padding: 32px 0 24px; }
  .sproj-context-text  { font-size: 16px; }
  .sproj-stat-num      { font-size: 32px; }
  .sproj-stat-card     { padding: 20px 18px; }
  .sproj-process-num   { font-size: 36px; }
  .sproj-overview-h2   { font-size: 32px; }
  .sproj-process-section { padding: 48px 0; }
  .sproj-decisions-section { padding: 48px 0; }
}

@media (max-width: 480px) {
  .sproj-stat-num      { font-size: 26px; }
  .sproj-context-text  { font-size: 15px; }
  .sproj-role-item     { font-size: 12px; padding: 6px 12px; }
  .sproj-decision-q    { font-size: 16px; }
  .sproj-decision-card { padding: 24px 20px; }
  .sproj-quote         { padding: 16px 18px; }
  .sproj-quote p       { font-size: 15px; }
}


/* ============================================
   PROJECT LISTING — TYPE BADGES + CARD HOVER
   ============================================ */

.proj-type-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid transparent;
  pointer-events: none;
}

.proj-type-badge--case-study {
  background: rgba(0, 255, 148, 0.10);
  border-color: rgba(0, 255, 148, 0.28);
  color: #00ff94;
}

.proj-type-badge--concept {
  background: rgba(255, 181, 71, 0.10);
  border-color: rgba(255, 181, 71, 0.28);
  color: #ffb547;
}

.proj-type-badge--live {
  background: rgba(0, 224, 255, 0.10);
  border-color: rgba(0, 224, 255, 0.28);
  color: #00e0ff;
}

/* Position context for gradient top bar ::before */
.proj-list-card {
  position: relative;
}

/* Gradient top bar on hover */
.proj-list-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, #00e0ff 0%, #00ff94 100%);
  opacity: 0;
  transition: opacity 300ms ease;
  z-index: 1;
}

.proj-list-card:hover::before {
  opacity: 1;
}

/* Info area: subtle separator + breathing room */
.proj-list-info {
  padding-top: 20px;
  padding-bottom: 22px;
  border-top: 1px solid #111;
  align-items: center;
}

.proj-list-card:not(.proj-list-card--featured) .proj-list-desc {
  -webkit-line-clamp: 2;
}

@media (max-width: 480px) {
  .proj-type-badge { font-size: 9px; padding: 3px 9px; top: 10px; left: 10px; }
}

/* ============================================
   PROJECT LISTING — UI REFINEMENTS
   ============================================ */

/* Hero footer: count badge + year range */
.proj-list-hero-foot {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 36px;
}

.proj-list-count-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid #222;
  background: #070707;
  font-size: 12px;
  font-weight: 600;
  color: #484848;
  letter-spacing: 0.04em;
}

.proj-list-count-num {
  background: var(--linear, linear-gradient(168deg, #00e0ff 0%, #00ff94 100%));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-size: 13px;
  font-weight: 700;
}

.proj-list-hero-year {
  font-size: 12px;
  color: #383838;
  letter-spacing: 0.06em;
}

/* Featured card: more generous padding */
.proj-list-card--featured .proj-list-card-link {
  padding: 32px;
}

@media (max-width: 768px) {
  .proj-list-card--featured .proj-list-card-link { padding: 18px; }
}

/* Featured card: larger name is handled above, add weight to desc */
.proj-list-card--featured .proj-list-desc {
  font-size: 14px;
  color: #5a5a5a;
  -webkit-line-clamp: 3;
}

/* Desc: unclamp on featured already set above */
.proj-list-card--featured .proj-list-name {
  letter-spacing: -0.018em;
}

/* Touch devices: remove hover-only overlay (it never triggers on tap) */
@media (hover: none) {
  .proj-list-overlay { display: none; }
  .proj-list-card::before { display: none; }
  /* Compensate: always show a subtle tap affordance in the info bar */
  .proj-list-name::after {
    content: ' →';
    font-size: 0.75em;
    opacity: 0.35;
    font-weight: 400;
  }
}

/* Hero footer responsive */
@media (max-width: 480px) {
  .proj-list-hero-foot { margin-top: 24px; gap: 12px; }
  .proj-list-hero-year { display: none; }
}


/* ============================================
   CONCEPT PAGE — HERO SECTION
   ============================================ */

.concept-hero {
  position: relative;
  width: 100%;
  height: 72vh;
  min-height: 480px;
  max-height: 780px;
  overflow: hidden;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Ambient amber gradient background */
.concept-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 30% 40%, rgba(255, 181, 71, 0.12) 0%, transparent 65%),
    radial-gradient(ellipse 50% 70% at 75% 65%, rgba(255, 100, 50, 0.07) 0%, transparent 60%);
  pointer-events: none;
}

/* Bottom fade to black */
.concept-hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 45%;
  background: linear-gradient(to bottom, transparent, #000);
  pointer-events: none;
}

/* Pulsing glow blob */
.concept-hero-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 500px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(255, 181, 71, 0.09) 0%, transparent 70%);
  filter: blur(40px);
  pointer-events: none;
  animation: concept-glow-pulse 4s ease-in-out infinite;
}

@keyframes concept-glow-pulse {
  0%, 100% { opacity: 0.6; transform: translate(-50%, -50%) scale(1); }
  50%       { opacity: 1;   transform: translate(-50%, -50%) scale(1.12); }
}

/* Centered content overlay */
.concept-hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.concept-hero-display {
  font-family: Helvetica Now Display, Helvetica, Arial, sans-serif;
  font-size: clamp(48px, 7vw, 96px);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.0;
  color: #fff;
  margin: 0;
}

.concept-hero-sub {
  font-family: Helvetica Now Display, Helvetica, Arial, sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 181, 71, 0.65);
  margin: 0;
}

.concept-hero-tags {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 4px;
}

@media (max-width: 768px) {
  .concept-hero         { height: 65vh; min-height: 400px; }
  .concept-hero-display { font-size: clamp(36px, 9vw, 64px); }
}

@media (max-width: 480px) {
  .concept-hero { height: 60vh; min-height: 360px; }
}


/* ============================================
   CONCEPT PAGE — EXPLORATION SECTION
   ============================================ */

.concept-exploration-section {
  padding: 72px 0;
  border-top: 1px solid #1e1e1e;
}

.concept-exploration-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-top: 40px;
}

.concept-exploration-item {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.concept-exploration-img {
  border-radius: 12px;
  overflow: hidden;
  line-height: 0;
}

.concept-exploration-img img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 600ms ease;
}

.concept-exploration-item:hover .concept-exploration-img img {
  transform: scale(1.02);
}

.concept-exploration-caption {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.concept-exploration-num {
  font-family: Helvetica Now Display, Helvetica, Arial, sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 181, 71, 0.70);
}

.concept-exploration-title {
  font-family: Helvetica Now Display, Helvetica, Arial, sans-serif;
  font-size: 18px;
  font-weight: 800;
  color: #fff;
  margin: 0;
  line-height: 1.3;
}

.concept-exploration-desc {
  font-family: Helvetica Now Display, Helvetica, Arial, sans-serif;
  font-size: 14px;
  color: #666;
  line-height: 1.65;
  margin: 0;
}

@media (max-width: 768px) {
  .concept-exploration-section { padding: 56px 0; }
  .concept-exploration-grid    { grid-template-columns: 1fr; gap: 48px; }
}


/* ============================================
   CONCEPT PAGE — REFLECTION SECTION
   ============================================ */

.concept-reflect-section {
  padding: 88px 0;
  border-top: 1px solid #1e1e1e;
}

.concept-reflect-cards {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.concept-reflect-card {
  padding: 32px 0;
  border-bottom: 1px solid #1a1a1a;
}

.concept-reflect-card:last-child {
  border-bottom: none;
}

.concept-reflect-label {
  display: block;
  font-family: Helvetica Now Display, Helvetica, Arial, sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 181, 71, 0.65);
  margin-bottom: 12px;
}

@media (max-width: 768px) {
  .concept-reflect-section { padding: 60px 0; }
  .concept-reflect-card    { padding: 24px 0; }
}


/* ============================================
   SPRINTEX — ENGINEERING ARCHITECTURE SECTION
   ============================================ */

.sproj-arch-section {
  padding: 80px 0;
  border-top: 1px solid #141414;
}

.sproj-arch-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
  margin-bottom: 48px;
}

.sproj-arch-intro-left { }

.sproj-arch-intro-right {
  font-size: 14px;
  color: #666;
  line-height: 1.75;
}

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

.sproj-arch-card {
  background: #060606;
  border: 1px solid #181818;
  border-radius: 12px;
  padding: 22px 22px 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: border-color 240ms ease, background 240ms ease;
}

.sproj-arch-card:hover {
  border-color: rgba(0, 224, 255, 0.14);
  background: rgba(0, 224, 255, 0.015);
}

.sproj-arch-num {
  display: block;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(0, 224, 255, 0.4);
  font-family: 'Courier New', 'Courier', monospace;
  margin-bottom: 4px;
}

.sproj-arch-name {
  font-size: 14px;
  font-weight: 800;
  color: #e8e8e8;
  line-height: 1.3;
  font-family: Helvetica Now Display, Helvetica, Arial, sans-serif;
}

.sproj-arch-desc {
  font-size: 12.5px;
  color: #666;
  line-height: 1.7;
  flex: 1;
  margin-top: 2px;
}

.sproj-arch-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 10px;
}

.sproj-arch-tag {
  font-size: 9.5px;
  font-family: 'Courier New', 'Courier', monospace;
  color: rgba(0, 255, 148, 0.6);
  background: rgba(0, 255, 148, 0.05);
  border: 1px solid rgba(0, 255, 148, 0.12);
  border-radius: 4px;
  padding: 2px 8px;
  white-space: nowrap;
}

/* Data pipeline diagram */
.sproj-pipeline-wrap {
  margin-top: 56px;
  padding-top: 40px;
  border-top: 1px solid #111;
}

.sproj-pipeline-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #3a3a3a;
  margin-bottom: 20px;
  font-family: 'Courier New', monospace;
}

.sproj-pipeline {
  display: flex;
  align-items: center;
  gap: 0;
  overflow-x: auto;
  padding-bottom: 4px;
}

.sproj-pipeline-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  flex: 1;
  min-width: 90px;
}

.sproj-pipeline-node {
  width: 100%;
  padding: 10px 12px;
  background: #0d0d0d;
  border: 1px solid #252525;
  border-radius: 7px;
  font-size: 11px;
  font-weight: 700;
  color: #888;
  text-align: center;
  white-space: nowrap;
  font-family: Helvetica Now Display, Helvetica, Arial, sans-serif;
  letter-spacing: 0.02em;
}

.sproj-pipeline-step--key .sproj-pipeline-node {
  border-color: rgba(0, 224, 255, 0.28);
  color: #00e0ff;
  background: rgba(0, 224, 255, 0.05);
}

.sproj-pipeline-step-sub {
  font-size: 9.5px;
  color: #3e3e3e;
  text-align: center;
  font-family: 'Courier New', monospace;
  white-space: nowrap;
}

.sproj-pipeline-arrow {
  flex-shrink: 0;
  width: 24px;
  text-align: center;
  color: #2e2e2e;
  font-size: 16px;
  margin-bottom: 20px;
  user-select: none;
}

@media (max-width: 1024px) {
  .sproj-arch-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .sproj-arch-intro { grid-template-columns: 1fr; gap: 20px; }
  .sproj-arch-grid  { grid-template-columns: 1fr; }
  .sproj-pipeline   { flex-direction: column; align-items: stretch; gap: 0; }
  .sproj-pipeline-arrow { transform: rotate(90deg); margin: 4px auto; width: auto; }
  .sproj-pipeline-step  { flex-direction: row; align-items: center; gap: 10px; min-width: auto; }
  .sproj-pipeline-node  { text-align: left; white-space: normal; }
}

/* ============================================
   ENGINEERING CONSTRAINTS SECTION
   ============================================ */

.sproj-constraints-section {
  padding: 96px 0;
  border-top: 1px solid #1a1a1a;
}

.sproj-constraints-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.sproj-constraints-left {
  position: sticky;
  top: 120px;
}

.sproj-constraints-eyebrow {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(0, 224, 255, 0.5);
  font-family: 'Courier New', monospace;
  margin-bottom: 24px;
}

.sproj-constraints-h2 {
  font-size: 48px;
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.028em;
  color: #fff;
}

.sproj-constraints-h2 span {
  background: var(--linear, linear-gradient(168deg, #00e0ff 0%, #00ff94 100%));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.sproj-constraints-intro {
  margin-top: 20px;
  font-size: 14px;
  color: #555;
  line-height: 1.72;
}

.sproj-constraint-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.sproj-constraint-item {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 20px;
  padding: 22px 0;
  border-top: 1px solid #141414;
  align-items: start;
}

.sproj-constraint-item:last-child {
  border-bottom: 1px solid #141414;
}

.sproj-constraint-num {
  font-family: 'Courier New', monospace;
  font-size: 11px;
  font-weight: 700;
  color: rgba(0, 224, 255, 0.35);
  padding-top: 2px;
  letter-spacing: 0.04em;
}

.sproj-constraint-body {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.sproj-constraint-title {
  font-size: 14px;
  font-weight: 700;
  color: #ccc;
  letter-spacing: -0.01em;
}

.sproj-constraint-desc {
  font-size: 13px;
  color: #555;
  line-height: 1.68;
}

@media (max-width: 768px) {
  .sproj-constraints-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .sproj-constraints-left { position: static; }
  .sproj-constraints-h2 { font-size: 34px; }
}

/* ============================================
   ARCH CARD NARRATIVE ROWS
   ============================================ */

.sproj-arch-narrative {
  margin-top: 16px;
  margin-bottom: 16px;
  display: flex;
  flex-direction: column;
  border-radius: 7px;
  overflow: hidden;
}

.sproj-arch-narrative-row {
  display: grid;
  grid-template-columns: 74px 1fr;
  gap: 12px;
  padding: 10px 12px;
  border-top: 1px solid #141414;
  background: #060606;
}

.sproj-arch-narrative-row:first-child {
  border-top: none;
}

.sproj-arch-narrative-label {
  font-family: 'Courier New', monospace;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(0, 224, 255, 0.45);
  padding-top: 2px;
  white-space: nowrap;
}

.sproj-arch-narrative-row--tradeoff .sproj-arch-narrative-label {
  color: rgba(255, 181, 71, 0.65);
}

.sproj-arch-narrative-text {
  font-size: 11.5px;
  color: #555;
  line-height: 1.62;
}

/* ============================================
   PIPELINE STEP REASON ANNOTATIONS
   ============================================ */

.sproj-pipeline-step-reason {
  font-size: 9px;
  color: rgba(255, 255, 255, 0.13);
  text-align: center;
  font-family: 'Courier New', monospace;
  white-space: nowrap;
  letter-spacing: 0.04em;
}

/* ============================================
   TL;DR EXECUTIVE SUMMARY STRIP
   ============================================ */

.sproj-tldr-strip {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 32px;
  align-items: start;
  padding: 36px 0;
  border-top: 1px solid #1a1a1a;
  border-bottom: 1px solid #1a1a1a;
  margin-top: 48px;
}

.sproj-tldr-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 5px 10px;
  border-radius: 6px;
  background: rgba(0, 224, 255, 0.06);
  border: 1px solid rgba(0, 224, 255, 0.22);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #00e0ff;
  font-family: 'Courier New', monospace;
  margin-top: 3px;
  white-space: nowrap;
}

.sproj-tldr-text {
  font-size: 17px;
  color: #bbb;
  line-height: 1.65;
  margin: 0 0 20px;
  max-width: 700px;
}

.sproj-tldr-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.sproj-tldr-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 14px;
  border-radius: 999px;
  background: #0a0a0a;
  border: 1px solid #222;
  font-size: 12px;
  font-weight: 600;
  color: #888;
}

.sproj-tldr-chip-accent {
  color: #fff;
  font-weight: 700;
}

.sproj-tldr-chip--cyan {
  border-color: rgba(0, 224, 255, 0.22);
  color: #00e0ff;
  background: rgba(0, 224, 255, 0.05);
}

@media (max-width: 640px) {
  .sproj-tldr-strip {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .sproj-tldr-text { font-size: 15px; }
}

/* ============================================
   BEFORE / AFTER WORKFLOW VISUAL
   ============================================ */

.sproj-workflow-section {
  padding: 56px 0 0;
}

.sproj-workflow-visual {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 0;
}

.sproj-workflow-col-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 18px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: 10px 10px 0 0;
}

.sproj-workflow-col--before .sproj-workflow-col-head {
  background: rgba(255, 60, 60, 0.04);
  border: 1px solid rgba(255, 60, 60, 0.13);
  border-bottom: none;
  color: rgba(255, 90, 90, 0.55);
}

.sproj-workflow-col--after .sproj-workflow-col-head {
  background: rgba(0, 255, 148, 0.04);
  border: 1px solid rgba(0, 255, 148, 0.13);
  border-bottom: none;
  color: rgba(0, 255, 148, 0.6);
}

.sproj-workflow-col-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}

.sproj-workflow-col--before .sproj-workflow-col-dot { background: rgba(255, 90, 90, 0.5); }
.sproj-workflow-col--after  .sproj-workflow-col-dot { background: rgba(0, 255, 148, 0.55); }

.sproj-workflow-steps {
  border-radius: 0 0 10px 10px;
}

.sproj-workflow-col--before .sproj-workflow-steps {
  border: 1px solid rgba(255, 60, 60, 0.1);
  border-top: none;
  background: rgba(255, 60, 60, 0.015);
}

.sproj-workflow-col--after .sproj-workflow-steps {
  border: 1px solid rgba(0, 255, 148, 0.1);
  border-top: none;
  background: rgba(0, 255, 148, 0.015);
}

.sproj-workflow-step {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 18px;
  border-top: 1px solid;
  font-size: 13px;
  color: #555;
  line-height: 1.45;
}

.sproj-workflow-col--before .sproj-workflow-step { border-color: rgba(255, 60, 60, 0.07); }
.sproj-workflow-col--after  .sproj-workflow-step { border-color: rgba(0, 255, 148, 0.07); }

.sproj-workflow-step:first-child { border-top: none; }

.sproj-workflow-step--total {
  font-weight: 700;
  color: #777;
}

.sproj-workflow-step-time {
  font-size: 11px;
  font-family: 'Courier New', monospace;
  letter-spacing: 0.02em;
  flex-shrink: 0;
  opacity: 0.5;
  white-space: nowrap;
}

.sproj-workflow-step-time--bad  { color: rgba(255, 90, 90, 0.9);  opacity: 1; }
.sproj-workflow-step-time--good { color: rgba(0, 255, 148, 0.85); opacity: 1; }

@media (max-width: 640px) {
  .sproj-workflow-visual { grid-template-columns: 1fr; gap: 12px; }
}

/* ============================================
   PORTFOLIO SKILLS / PERSONAL FRAMING
   ============================================ */

.sproj-skills-callout {
  padding: 88px 0;
  border-top: 1px solid #1a1a1a;
}

.sproj-skills-callout-inner {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 72px;
  align-items: start;
}

.sproj-skills-callout-eyebrow {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(0, 255, 148, 0.5);
  font-family: 'Courier New', monospace;
  margin-bottom: 20px;
}

.sproj-skills-callout-h2 {
  font-size: 36px;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.022em;
  color: #fff;
}

.sproj-skills-callout-sub {
  margin-top: 16px;
  font-size: 14px;
  color: #555;
  line-height: 1.72;
}

.sproj-philosophy-quote {
  margin-top: 28px;
  padding: 20px 22px;
  border-radius: 10px;
  background: #060606;
  border: 1px solid #1a1a1a;
  border-left: 3px solid rgba(0, 255, 148, 0.35);
  font-size: 14px;
  font-style: italic;
  color: #666;
  line-height: 1.72;
}

.sproj-skills-list {
  display: flex;
  flex-direction: column;
  border: 1px solid #1a1a1a;
  border-radius: 12px;
  overflow: hidden;
}

.sproj-skill-item {
  padding: 28px 30px;
  border-bottom: 1px solid #1a1a1a;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: background 280ms ease;
}

.sproj-skill-item:last-child { border-bottom: none; }

.sproj-skill-item:hover { background: #050505; }

.sproj-skill-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: rgba(0, 255, 148, 0.45);
  font-family: 'Courier New', monospace;
}

.sproj-skill-title {
  font-size: 17px;
  font-weight: 700;
  color: #ddd;
  letter-spacing: -0.01em;
  line-height: 1.25;
}

.sproj-skill-desc {
  font-size: 13.5px;
  color: #555;
  line-height: 1.7;
}

@media (max-width: 900px) {
  .sproj-skills-callout-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}


/* ============================================
   SPRINTEX — BUSINESS GOALS SECTION
   ============================================ */

.sproj-bizgoals-section {
  padding: 72px 0 0;
}

.sproj-bizgoals-header {
  margin-bottom: 40px;
}

.sproj-bizgoals-h2 {
  font-size: 38px;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.024em;
  color: #fff;
  margin-top: 10px;
}

.sproj-bizgoals-h2 span {
  background: var(--linear, linear-gradient(168deg, #00e0ff 0%, #00ff94 100%));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.sproj-bizgoals-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: #141414;
  border: 1px solid #141414;
  border-radius: 12px;
  overflow: hidden;
}

.sproj-bizgoal-item {
  padding: 30px 26px;
  background: #050505;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: background 220ms ease;
}

.sproj-bizgoal-item:hover {
  background: #070707;
}

.sproj-bizgoal-num {
  font-family: 'Courier New', monospace;
  font-size: 10px;
  color: rgba(0, 255, 148, 0.5);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.sproj-bizgoal-title {
  font-size: 15px;
  font-weight: 700;
  color: #d8d8d8;
  line-height: 1.35;
  letter-spacing: -0.01em;
}

.sproj-bizgoal-desc {
  font-size: 13px;
  color: #4a4a4a;
  line-height: 1.72;
  margin: 0;
}

@media (max-width: 768px) {
  .sproj-bizgoals-grid {
    grid-template-columns: 1fr;
  }
}


/* ============================================
   SPRINTEX — PERFORMANCE BUDGET STRIP
   ============================================ */

.sproj-perf-strip {
  margin-top: 56px;
  border: 1px solid #141414;
  border-radius: 12px;
  overflow: hidden;
}

.sproj-perf-strip-label {
  padding: 11px 18px;
  font-family: 'Courier New', monospace;
  font-size: 10px;
  color: rgba(0, 224, 255, 0.35);
  letter-spacing: 0.08em;
  border-bottom: 1px solid #111;
  background: #030303;
}

.sproj-perf-row {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  background: #050505;
}

.sproj-perf-metric {
  padding: 22px 20px;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.sproj-perf-metric-target {
  font-family: 'Courier New', monospace;
  font-size: 9px;
  color: rgba(0, 224, 255, 0.3);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.sproj-perf-metric-val {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.025em;
  color: #fff;
  line-height: 1;
  margin: 6px 0 4px;
}

.sproj-perf-metric-name {
  font-size: 12px;
  font-weight: 600;
  color: #777;
  line-height: 1.35;
}

.sproj-perf-metric-how {
  font-size: 11px;
  color: #383838;
  line-height: 1.55;
  margin-top: 5px;
}

.sproj-perf-divider {
  width: 1px;
  background: #141414;
  align-self: stretch;
}

@media (max-width: 900px) {
  .sproj-perf-row {
    grid-template-columns: 1fr 1fr;
  }
  .sproj-perf-divider:nth-child(4) {
    display: none;
  }
  .sproj-perf-divider {
    display: none;
  }
  .sproj-perf-metric {
    border-bottom: 1px solid #111;
  }
  .sproj-perf-metric:nth-child(7),
  .sproj-perf-metric:last-child {
    border-bottom: none;
  }
}

@media (max-width: 540px) {
  .sproj-perf-row {
    grid-template-columns: 1fr;
  }
  .sproj-perf-metric {
    border-bottom: 1px solid #111;
  }
  .sproj-perf-metric:last-child {
    border-bottom: none;
  }
}


/* ============================================
   SPRINTEX — DATA ARCHITECTURE & SCALABILITY
   ============================================ */

.sproj-dataarch-section {
  padding: 88px 0;
  border-top: 1px solid #1a1a1a;
}

.sproj-json-block {
  margin: 30px 0 28px;
  border: 1px solid #181818;
  border-radius: 10px;
  overflow: hidden;
  background: #040404;
}

.sproj-json-label {
  padding: 10px 16px;
  font-family: 'Courier New', monospace;
  font-size: 10px;
  color: rgba(0, 224, 255, 0.3);
  letter-spacing: 0.08em;
  border-bottom: 1px solid #101010;
  background: #030303;
}

.sproj-json-pre {
  margin: 0;
  padding: 18px 20px;
  overflow-x: auto;
  font-family: 'Courier New', monospace;
  font-size: 12px;
  line-height: 1.8;
  color: #4a4a4a;
  white-space: pre;
}

.sproj-json-key   { color: #7ec8e3; }
.sproj-json-str   { color: rgba(0, 255, 148, 0.65); }
.sproj-json-num   { color: rgba(255, 181, 71, 0.75); }
.sproj-json-comment { color: #2a2a2a; }

.sproj-dataarch-bullets {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.sproj-dataarch-bullet {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.sproj-dataarch-bullet-icon {
  font-family: 'Courier New', monospace;
  font-size: 13px;
  color: rgba(0, 255, 148, 0.35);
  flex-shrink: 0;
  margin-top: 1px;
  line-height: 1.65;
}

.sproj-dataarch-bullet p {
  font-size: 14px;
  color: #555;
  line-height: 1.68;
  margin: 0;
}

.sproj-dataarch-bullet p strong {
  color: #bbb;
  font-weight: 600;
}

/* ── Data Architecture — Responsive ── */
@media (max-width: 768px) {
  .sproj-dataarch-section {
    padding: 60px 0;
  }

  .sproj-json-block {
    border-radius: 8px;
    margin: 22px 0 22px;
  }

  .sproj-json-pre {
    font-size: 10.5px;
    line-height: 1.7;
    padding: 14px 16px;
    white-space: pre-wrap;
    word-break: break-all;
    overflow-x: hidden;
  }

  .sproj-json-label {
    font-size: 9px;
    padding: 8px 12px;
  }

  .sproj-dataarch-bullets {
    gap: 12px;
  }

  .sproj-dataarch-bullet p {
    font-size: 13.5px;
  }
}

@media (max-width: 480px) {
  .sproj-dataarch-section {
    padding: 48px 0;
  }

  .sproj-json-pre {
    font-size: 10px;
    padding: 12px 14px;
  }

  .sproj-dataarch-bullet {
    gap: 10px;
  }

  .sproj-dataarch-bullet-icon {
    font-size: 11px;
  }
}


/* ============================================
   P1 — IMPACT STRIP (above the fold proof)
   ============================================ */

.sproj-impact-strip {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  align-items: center;
  border: 1px solid #161616;
  border-radius: 14px;
  overflow: hidden;
  background: #050505;
  margin-top: 40px;
}

.sproj-impact-item {
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.sproj-impact-num {
  font-size: 36px;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
  background: var(--linear, linear-gradient(168deg, #00e0ff 0%, #00ff94 100%));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.sproj-impact-label {
  font-size: 12px;
  color: #444;
  line-height: 1.5;
}

.sproj-impact-divider {
  width: 1px;
  height: 52px;
  background: #161616;
  flex-shrink: 0;
}

@media (max-width: 900px) {
  .sproj-impact-strip {
    grid-template-columns: 1fr 1fr;
    gap: 1px;
    background: #161616;
  }
  .sproj-impact-item {
    background: #050505;
  }
  .sproj-impact-divider { display: none; }
}

@media (max-width: 480px) {
  .sproj-impact-strip {
    grid-template-columns: 1fr 1fr;
  }
  .sproj-impact-num { font-size: 28px; }
  .sproj-impact-item { padding: 20px 16px; }
}


/* ============================================
   P2 — STICKY DOT-NAV
   ============================================ */

.sproj-dot-nav {
  position: fixed;
  right: 28px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 80;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 12px 0;
}

.sproj-dot-nav-item {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0;
  text-decoration: none;
  cursor: pointer;
}

.sproj-dot-nav-dot {
  display: block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #252525;
  border: 1px solid #2e2e2e;
  transition: background 220ms ease, transform 220ms ease, border-color 220ms ease;
  flex-shrink: 0;
}

/* Label tooltip — appears to the left of the dot */
.sproj-dot-nav-item::before {
  content: attr(data-label);
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  white-space: nowrap;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #555;
  background: #0a0a0a;
  border: 1px solid #1e1e1e;
  border-radius: 4px;
  padding: 3px 8px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease;
}

.sproj-dot-nav-item:hover::before { opacity: 1; }

.sproj-dot-nav-item:hover .sproj-dot-nav-dot,
.sproj-dot-nav-item--active .sproj-dot-nav-dot {
  background: #00e0ff;
  border-color: #00e0ff;
  transform: scale(1.4);
}

.sproj-dot-nav-item--active::before {
  opacity: 1;
  color: #00e0ff;
  border-color: rgba(0,224,255,0.25);
}

/* Hide on mobile/tablet — no room */
@media (max-width: 1100px) {
  .sproj-dot-nav { display: none; }
}


/* ============================================
   P3 — ARCH CARD NARRATIVE COLLAPSE TOGGLE
   ============================================ */

.sproj-arch-narrative {
  overflow: hidden;
  max-height: 400px;
  transition: max-height 320ms ease, opacity 320ms ease, margin 320ms ease;
  opacity: 1;
  margin-bottom: 0;
}

.sproj-arch-narrative--collapsed {
  max-height: 0;
  opacity: 0;
  margin-bottom: 0;
  pointer-events: none;
}

.sproj-arch-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 12px 0 0;
  padding: 5px 12px 5px 10px;
  border-radius: 999px;
  border: 1px solid #1e1e1e;
  background: transparent;
  font-size: 11px;
  font-weight: 600;
  color: #444;
  cursor: pointer;
  transition: color 180ms, border-color 180ms, background 180ms;
  font-family: inherit;
  letter-spacing: 0.03em;
}

.sproj-arch-toggle:hover {
  color: #00e0ff;
  border-color: rgba(0,224,255,0.3);
  background: rgba(0,224,255,0.04);
}

.sproj-arch-toggle-chevron {
  transition: transform 280ms ease;
  color: currentColor;
  flex-shrink: 0;
}

/* When expanded, rotate chevron up */
.sproj-arch-toggle[aria-expanded="true"] .sproj-arch-toggle-chevron {
  transform: rotate(180deg);
}


/* ============================================
   P4 — WORKFLOW EYEBROW CONNECTOR
   ============================================ */

.sproj-workflow-eyebrow {
  font-family: 'Courier New', monospace;
  font-size: 10px;
  color: rgba(255, 255, 255, 0.12);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 20px;
}


/* ============================================
   P6 — SOLUTION PULL QUOTE
   ============================================ */

.sproj-pull-quote {
  font-size: 20px;
  font-weight: 700;
  color: #d0d0d0;
  line-height: 1.45;
  letter-spacing: -0.015em;
  padding: 22px 0 22px 20px;
  border-left: 2px solid rgba(0, 224, 255, 0.35);
  margin: 4px 0 24px;
  font-style: italic;
}


/* ============================================
   P7 — MOBILE PIPELINE (vertical at ≤640px)
   ============================================ */

@media (max-width: 640px) {
  .sproj-pipeline {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
  }

  .sproj-pipeline-step {
    width: 100%;
    flex-direction: row;
    align-items: center;
    gap: 14px;
    padding: 14px 0;
    border-bottom: 1px solid #111;
    text-align: left;
  }

  .sproj-pipeline-step:last-child {
    border-bottom: none;
  }

  .sproj-pipeline-node {
    min-width: 120px;
    flex-shrink: 0;
    text-align: left;
  }

  .sproj-pipeline-step-sub {
    flex: 1;
    text-align: left;
  }

  .sproj-pipeline-step-reason {
    display: none; /* hide tertiary annotation on mobile to reduce clutter */
  }

  .sproj-pipeline-arrow {
    display: none; /* replaced by border-bottom separators */
  }
}


/* ============================================================
   INPUT INTELLIGENCE — FALLBACK SYSTEM SECTION
   ============================================================ */

/* ── Cascade (decision chain) ──────────────────────────────── */
.sproj-fb-cascade {
  margin-top: 56px;
  background: #050505;
  border: 1px solid #161616;
  border-radius: 14px;
  padding: 28px 28px 24px;
}

.sproj-fb-cascade-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 16px;
}

.sproj-fb-cascade-step {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 9px 12px;
  border-radius: 8px;
  transition: background 200ms cubic-bezier(0.23, 1, 0.32, 1);
}

@media (hover: hover) and (pointer: fine) {
  .sproj-fb-cascade-step:hover {
    background: rgba(0, 224, 255, 0.03);
  }
}

.sproj-fb-cascade-num {
  font-family: 'Courier New', 'Courier', monospace;
  font-size: 9px;
  font-weight: 700;
  color: rgba(0, 224, 255, 0.38);
  letter-spacing: 0.1em;
  min-width: 36px;
}

.sproj-fb-cascade-name {
  font-size: 12.5px;
  font-weight: 600;
  color: #c0c0c0;
  flex: 1;
  letter-spacing: -0.01em;
}

.sproj-fb-cascade-hit {
  font-family: 'Courier New', 'Courier', monospace;
  font-size: 10px;
  color: #2e2e2e;
  letter-spacing: 0.04em;
}

.sproj-fb-cascade-connector {
  font-family: 'Courier New', 'Courier', monospace;
  font-size: 9px;
  color: #1e1e1e;
  letter-spacing: 0.06em;
  padding: 3px 12px 3px 62px; /* indented to align under name column */
}

/* "Always running" parallel row */
.sproj-fb-cascade-always-row {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid #141414;
}

.sproj-fb-cascade-always-label {
  display: block;
  font-family: 'Courier New', 'Courier', monospace;
  font-size: 9px;
  color: #252525;
  letter-spacing: 0.1em;
  padding: 0 12px 8px;
}

.sproj-fb-cascade-always-items {
  display: flex;
  gap: 0;
}

.sproj-fb-cascade-step--always {
  flex: 1;
}

.sproj-fb-cascade-step--always .sproj-fb-cascade-num {
  color: rgba(0, 255, 148, 0.3);
}

.sproj-fb-cascade-step--always .sproj-fb-cascade-name {
  font-size: 11.5px;
  color: #606060;
}

/* ── Card grid ─────────────────────────────────────────────── */
.sproj-fb-grid {
  margin-top: 56px;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.sproj-fb-group-label {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 44px;
  margin-bottom: 18px;
}

.sproj-fb-group-label:first-child {
  margin-top: 0;
}

.sproj-fb-group-label::before {
  content: '';
  flex-shrink: 0;
  display: block;
  width: 14px;
  height: 1px;
  background: rgba(0, 224, 255, 0.25);
}

.sproj-fb-group-label--amber::before  { background: rgba(255, 181, 71, 0.25); }
.sproj-fb-group-label--green::before  { background: rgba(0, 255, 148, 0.25); }

.sproj-fb-group-label span {
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(0, 224, 255, 0.4);
}

.sproj-fb-group-label--amber span { color: rgba(255, 181, 71, 0.4); }
.sproj-fb-group-label--green span  { color: rgba(0, 255, 148, 0.4); }

/* ── Cards ─────────────────────────────────────────────────── */
.sproj-fb-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.sproj-fb-cards--two {
  grid-template-columns: repeat(2, 1fr);
}

.sproj-fb-card {
  background: #060606;
  border: 1px solid #181818;
  border-radius: 12px;
  padding: 18px 18px 15px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: border-color 240ms cubic-bezier(0.23, 1, 0.32, 1), background 240ms cubic-bezier(0.23, 1, 0.32, 1), transform 200ms cubic-bezier(0.23, 1, 0.32, 1);
}

@media (hover: hover) and (pointer: fine) {
  .sproj-fb-card:hover {
    border-color: rgba(0, 224, 255, 0.13);
    background: rgba(0, 224, 255, 0.013);
    transform: translateY(-2px);
  }

  .sproj-fb-card--amber:hover {
    border-color: rgba(255, 181, 71, 0.13);
    background: rgba(255, 181, 71, 0.013);
    transform: translateY(-2px);
  }
}

.sproj-fb-card:active {
  transform: translateY(0) scale(0.988);
}

.sproj-fb-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 6px;
}

.sproj-fb-card-num {
  font-family: 'Courier New', 'Courier', monospace;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(0, 224, 255, 0.35);
  line-height: 1;
  padding-top: 1px;
}

.sproj-fb-card--amber .sproj-fb-card-num { color: rgba(255, 181, 71, 0.38); }

.sproj-fb-card-icon {
  color: #1e1e1e;
  flex-shrink: 0;
  transition: color 150ms cubic-bezier(0.23, 1, 0.32, 1);
}

@media (hover: hover) and (pointer: fine) {
  .sproj-fb-card:hover          .sproj-fb-card-icon { color: rgba(0, 224, 255, 0.25); }
  .sproj-fb-card--amber:hover   .sproj-fb-card-icon { color: rgba(255, 181, 71, 0.25); }
}

.sproj-fb-card-title {
  font-size: 12.5px;
  font-weight: 800;
  color: #d4d4d4;
  line-height: 1.35;
  margin: 0;
  font-family: Helvetica Now Display, Helvetica, Arial, sans-serif;
}

.sproj-fb-card-desc {
  font-size: 11.5px;
  color: #4e4e4e;
  line-height: 1.72;
  flex: 1;
  margin-top: 2px;
}

.sproj-fb-card-trigger {
  display: block;
  font-family: 'Courier New', 'Courier', monospace;
  font-size: 9px;
  font-weight: 600;
  color: #222;
  letter-spacing: 0.06em;
  border-top: 1px solid #111;
  padding-top: 10px;
  margin-top: 6px;
}

/* ── Responsive ────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .sproj-fb-cards            { grid-template-columns: repeat(2, 1fr); }
  .sproj-fb-cascade-always-items { flex-direction: column; gap: 0; }
}

@media (max-width: 768px) {
  .sproj-fb-cards,
  .sproj-fb-cards--two       { grid-template-columns: 1fr; }
  .sproj-fb-cascade          { padding: 20px 16px 18px; }
  .sproj-fb-cascade-hit      { display: none; } /* simplify on small screens */
  .sproj-fb-cascade-connector { padding-left: 12px; }
}

/* ============================================================
   SPRINTEX — FALLBACK SECTION REDESIGN (spx-fb-*)
   ============================================================ */

/* ── Region 1: Decision Chain ─────────────────────────────── */

.spx-fb-flow {
  margin-top: 56px;
}

/* Horizontal scrollable track */
.spx-fb-flow-track {
  display: flex;
  align-items: flex-start;
  gap: 0;
  overflow-x: auto;
  padding-bottom: 4px;
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.spx-fb-flow-track::-webkit-scrollbar { display: none; }

/* Individual node */
.spx-fb-flow-node {
  flex-shrink: 0;
  background: #080808;
  border: 1px solid #1e1e1e;
  border-radius: 10px;
  padding: 14px 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 148px;
  transition: border-color 220ms cubic-bezier(0.23, 1, 0.32, 1),
              background   220ms cubic-bezier(0.23, 1, 0.32, 1),
              transform    180ms cubic-bezier(0.23, 1, 0.32, 1);
}

@media (hover: hover) and (pointer: fine) {
  .spx-fb-flow-node:hover {
    border-color: rgba(0, 224, 255, 0.16);
    background: rgba(0, 224, 255, 0.012);
    transform: translateY(-2px);
  }
}

.spx-fb-flow-node:active { transform: translateY(0) scale(0.98); }

.spx-fb-flow-node-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.spx-fb-flow-node-id {
  font-family: 'Courier New', 'Courier', monospace;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: rgba(0, 224, 255, 0.45);
  line-height: 1;
}

.spx-fb-flow-node-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(0, 224, 255, 0.35);
  flex-shrink: 0;
}

.spx-fb-flow-node-name {
  font-family: 'Helvetica Now Display', Helvetica, Arial, sans-serif;
  font-size: 12px;
  font-weight: 700;
  color: #c0c0c0;
  letter-spacing: -0.01em;
  line-height: 1.3;
  white-space: nowrap;
}

.spx-fb-flow-node-out {
  font-family: 'Courier New', 'Courier', monospace;
  font-size: 9px;
  color: #2a2a2a;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

/* Connector arrow between nodes */
.spx-fb-flow-arrow {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 0 6px;
  align-self: center;
  padding-top: 8px; /* optical center with node */
}

.spx-fb-flow-arrow-label {
  font-family: 'Courier New', 'Courier', monospace;
  font-size: 8.5px;
  color: #242424;
  letter-spacing: 0.06em;
  white-space: nowrap;
}

.spx-fb-flow-arrow-line {
  display: flex;
  align-items: center;
  gap: 0;
}

.spx-fb-flow-arrow-track {
  width: 44px;
  height: 1px;
  background: linear-gradient(90deg, rgba(0,224,255,0.18), rgba(0,224,255,0.06));
  transform-origin: left center;
}

.spx-fb-flow-arrow-head {
  width: 0;
  height: 0;
  border-top: 3px solid transparent;
  border-bottom: 3px solid transparent;
  border-left: 5px solid rgba(0, 224, 255, 0.14);
  flex-shrink: 0;
}

/* Always-running parallel track */
.spx-fb-flow-parallel {
  margin-top: 20px;
  padding: 16px 20px;
  border: 1px dashed #1e1e1e;
  border-radius: 10px;
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.spx-fb-flow-parallel-label {
  font-family: 'Courier New', 'Courier', monospace;
  font-size: 9px;
  color: rgba(0, 255, 148, 0.4);
  letter-spacing: 0.1em;
  white-space: nowrap;
  flex-shrink: 0;
}

.spx-fb-flow-parallel-items {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.spx-fb-flow-parallel-pill {
  display: inline-flex;
  align-items: center;
  padding: 5px 14px;
  border-radius: 999px;
  background: rgba(0, 255, 148, 0.04);
  border: 1px solid rgba(0, 255, 148, 0.1);
  font-size: 11px;
  font-weight: 600;
  color: rgba(0, 255, 148, 0.55);
  letter-spacing: -0.01em;
}

/* ── Region 2: Bento Grid ─────────────────────────────────── */

.spx-fb-bento {
  margin-top: 64px;
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* Layer section label */
.spx-fb-layer {
  margin-top: 48px;
}

.spx-fb-layer:first-child { margin-top: 0; }

.spx-fb-layer-label {
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding-bottom: 20px;
  border-bottom: 1px solid #131313;
  margin-bottom: 16px;
}

.spx-fb-layer-label-name {
  font-family: 'Helvetica Now Display', Helvetica, Arial, sans-serif;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.spx-fb-layer--cyan  .spx-fb-layer-label-name { color: rgba(0, 224, 255, 0.55); }
.spx-fb-layer--amber .spx-fb-layer-label-name { color: rgba(255, 181, 71, 0.55); }
.spx-fb-layer--green .spx-fb-layer-label-name { color: rgba(0, 255, 148, 0.55); }

.spx-fb-layer-label-sub {
  font-family: 'Courier New', 'Courier', monospace;
  font-size: 9.5px;
  color: #2a2a2a;
  letter-spacing: 0.06em;
}

/* Bento grid rows */
.spx-fb-bento-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

/* Card base */
.spx-fb-bento-card {
  position: relative;
  overflow: hidden;
  background: #060606;
  border: 1px solid #181818;
  border-radius: 14px;
  padding: 22px 22px 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: transform 180ms cubic-bezier(0.23, 1, 0.32, 1),
              border-color 220ms cubic-bezier(0.23, 1, 0.32, 1);
  grid-column: span 1;
}

/* Top accent bar — always visible, colored per layer */
.spx-fb-bento-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  border-radius: 14px 14px 0 0;
}

.spx-fb-bento-card--cyan::before  { background: linear-gradient(90deg, rgba(0,224,255,0.55),  transparent 70%); }
.spx-fb-bento-card--amber::before { background: linear-gradient(90deg, rgba(255,181,71,0.55),  transparent 70%); }
.spx-fb-bento-card--green::before { background: linear-gradient(90deg, rgba(0,255,148,0.55), transparent 70%); }

/* Hover / active */
@media (hover: hover) and (pointer: fine) {
  .spx-fb-bento-card:hover { transform: translateY(-2px); border-color: #222; }
}
.spx-fb-bento-card:active { transform: translateY(0) scale(0.99); }

/* Size spans */
.spx-fb-bento-card--s  { grid-column: span 1; }
.spx-fb-bento-card--m  { grid-column: span 2; }
.spx-fb-bento-card--full {
  grid-column: span 4;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 40px;
  align-items: start;
}

/* Full-width left / right split areas */
.spx-fb-bento-card--full .spx-fb-card-left  { position: relative; }
.spx-fb-bento-card--full .spx-fb-card-right { display: flex; flex-direction: column; gap: 8px; }

/* Watermark numeral for full-width card */
.spx-fb-card-watermark {
  position: absolute;
  top: -10px; left: -8px;
  font-family: 'Helvetica Now Display', Helvetica, Arial, sans-serif;
  font-size: 80px;
  font-weight: 800;
  color: rgba(255, 181, 71, 0.05);
  letter-spacing: -0.05em;
  line-height: 1;
  pointer-events: none;
  user-select: none;
}

/* Featured card (F.02) — decorative SVG watermark */
.spx-fb-bento-card--featured .spx-fb-card-deco {
  position: absolute;
  right: 14px;
  bottom: 16px;
  opacity: 0.065;
  pointer-events: none;
}

/* Card interior anatomy */
.spx-fb-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 2px;
}

.spx-fb-type-badge {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 8.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  line-height: 1.5;
  flex-shrink: 0;
}

.spx-fb-type-badge--conditional {
  background: rgba(0, 224, 255, 0.07);
  color: rgba(0, 224, 255, 0.5);
  border: 1px solid rgba(0, 224, 255, 0.14);
}

.spx-fb-type-badge--always {
  background: rgba(0, 255, 148, 0.07);
  color: rgba(0, 255, 148, 0.5);
  border: 1px solid rgba(0, 255, 148, 0.14);
}

.spx-fb-card-id {
  font-family: 'Courier New', 'Courier', monospace;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.1em;
  line-height: 1;
  flex-shrink: 0;
}

.spx-fb-bento-card--cyan  .spx-fb-card-id { color: rgba(0, 224, 255, 0.35); }
.spx-fb-bento-card--amber .spx-fb-card-id { color: rgba(255, 181, 71, 0.38); }
.spx-fb-bento-card--green .spx-fb-card-id { color: rgba(0, 255, 148, 0.35); }

.spx-fb-card-title {
  font-family: 'Helvetica Now Display', Helvetica, Arial, sans-serif;
  font-size: 13.5px;
  font-weight: 800;
  color: #d0d0d0;
  line-height: 1.32;
  margin: 0;
  letter-spacing: -0.01em;
}

.spx-fb-card-desc {
  font-size: 12px;
  color: #484848;
  line-height: 1.72;
  flex: 1;
}

.spx-fb-card-trigger {
  margin-top: 8px;
  display: block;
  background: #0a0a0a;
  border-radius: 6px;
  padding: 8px 12px;
  font-family: 'Courier New', 'Courier', monospace;
  font-size: 9.5px;
  color: #303030;
  letter-spacing: 0.04em;
  line-height: 1.5;
}

/* ── Responsive ───────────────────────────────────────────── */

@media (max-width: 1100px) {
  .spx-fb-bento-row            { grid-template-columns: repeat(2, 1fr); }
  .spx-fb-bento-card--m        { grid-column: span 1; }
  .spx-fb-bento-card--full     { grid-column: span 2; grid-template-columns: 1fr; gap: 12px; }
}

@media (max-width: 768px) {
  .spx-fb-bento-row            { grid-template-columns: 1fr; }
  .spx-fb-bento-card--s,
  .spx-fb-bento-card--m,
  .spx-fb-bento-card--full     { grid-column: span 1; grid-template-columns: 1fr; }

  .spx-fb-flow-track           { flex-direction: column; align-items: stretch; }
  .spx-fb-flow-node            { min-width: unset; }
  .spx-fb-flow-arrow           { flex-direction: row; padding: 0 0 0 20px; }
  .spx-fb-flow-arrow-track     { width: 28px; }
  .spx-fb-flow-parallel        { flex-direction: column; align-items: flex-start; gap: 12px; }
  .spx-fb-card-watermark       { font-size: 56px; }
}

/* ── Row list (replaces bento cards) ─────────────────────── */

.spx-fb-rows {
  display: flex;
  flex-direction: column;
  border-top: 1px solid #111;
}

.spx-fb-row {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  padding: 22px 0 22px 20px;
  border-bottom: 1px solid #0d0d0d;
  border-left: 2px solid transparent;
  transition: border-left-color 180ms cubic-bezier(0.23, 1, 0.32, 1),
              background        180ms cubic-bezier(0.23, 1, 0.32, 1);
}

/* "Always On" rows keep their left accent permanently */
.spx-fb-row--pinned.spx-fb-row--amber { border-left-color: rgba(255, 181, 71, 0.22); background: rgba(255, 181, 71, 0.012); }
.spx-fb-row--pinned.spx-fb-row--green { border-left-color: rgba(0, 255, 148, 0.22); background: rgba(0, 255, 148, 0.012); }

@media (hover: hover) and (pointer: fine) {
  .spx-fb-row--cyan:hover  { background: rgba(0, 224, 255, 0.018); border-left-color: rgba(0, 224, 255, 0.3); }
  .spx-fb-row--amber:hover { background: rgba(255, 181, 71, 0.025); border-left-color: rgba(255, 181, 71, 0.35); }
  .spx-fb-row--green:hover { background: rgba(0, 255, 148, 0.018); border-left-color: rgba(0, 255, 148, 0.3); }
}

.spx-fb-row-id {
  flex-shrink: 0;
  width: 48px;
  font-family: 'Courier New', 'Courier', monospace;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  line-height: 1;
  padding-top: 3px;
}

.spx-fb-row--cyan  .spx-fb-row-id { color: rgba(0, 224, 255, 0.4); }
.spx-fb-row--amber .spx-fb-row-id { color: rgba(255, 181, 71, 0.45); }
.spx-fb-row--green .spx-fb-row-id { color: rgba(0, 255, 148, 0.4); }

.spx-fb-row-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.spx-fb-row-head {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.spx-fb-row-name {
  font-family: 'Helvetica Now Display', Helvetica, Arial, sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: #d2d2d2;
  letter-spacing: -0.01em;
  line-height: 1.2;
}

.spx-fb-row-desc {
  font-size: 12.5px;
  color: #454545;
  line-height: 1.75;
  margin: 0;
  max-width: 68ch;
}

.spx-fb-row-trigger {
  display: block;
  font-family: 'Courier New', 'Courier', monospace;
  font-size: 9.5px;
  color: #2c2c2c;
  letter-spacing: 0.05em;
  margin-top: 4px;
}

@media (max-width: 600px) {
  .spx-fb-row          { gap: 14px; padding-left: 14px; }
  .spx-fb-row-id       { width: 38px; font-size: 9px; }
  .spx-fb-row-name     { font-size: 13px; }
  .spx-fb-row-desc     { font-size: 12px; }
}

/* ============================================
   SPRINTEX — FALLBACK SECTION SVG CONNECTOR
   ============================================ */

/* Positioning parent for the absolute SVG */
.spx-fb-bento {
  position: relative;
  padding-left: 44px;
}

/* SVG — the connector wire injected by JS */
.spx-fb-svg {
  position: absolute;
  left: 0;
  top: 0;
  pointer-events: none;
  overflow: visible;
}

/* Prevent the fill line from inheriting fill color */
.spx-fb-svg-fill {
  fill: none;
}

@media (max-width: 768px) {
  /* Collapse SVG gutter on small screens */
  .spx-fb-bento {
    padding-left: 32px;
  }
}
