html {
  background: #f0ece6;
  scrollbar-gutter: stable;
}

body.sf-platform-template {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at top, rgba(255, 255, 255, 0.7), transparent 34%),
    linear-gradient(180deg, #f4f1eb 0%, #ebe5db 100%);
  color: #1f1c17;
}

.sf-platform-shell {
  min-height: 100vh;
  padding: 0 0 72px;
}

.sfij-journey {
  --sfij-ink: #1f1c17;
  --sfij-muted: #756b5d;
  --sfij-panel: #fffdf8;
  --sfij-panel-strong: #f4ede0;
  --sfij-line: #d7ccb8;
  --sfij-gold: #a67c32;
  --sfij-gold-soft: #d3b47a;
  --sfij-green: #295c46;
  --sfij-red: #8a453c;
  color: var(--sfij-ink);
  margin: 84px 0;
  font: 400 16px/1.6 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.sfij-shell {
  max-width: 1480px;
  margin: 0 auto;
  padding: 0 40px;
}

.sfij-hero {
  display: grid;
  gap: 40px;
  grid-template-columns: minmax(0, 1.58fr) minmax(360px, 0.68fr);
  padding: 54px;
  border: 1px solid rgba(215, 204, 184, 0.42);
  border-radius: 40px;
  background:
    radial-gradient(circle at top left, rgba(214, 191, 146, 0.22), transparent 46%),
    radial-gradient(circle at bottom right, rgba(255, 255, 255, 0.96), transparent 40%),
    linear-gradient(135deg, #fffefb 0%, #f6eee1 100%);
  box-shadow: 0 36px 96px rgba(73, 54, 23, 0.08);
}

.sfij-eyebrow {
  margin: 0 0 10px;
  color: var(--sfij-gold);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 12px;
  font-weight: 700;
}

.sfij-copy h2,
.sfij-side-card h3,
.sfij-milestone h3 {
  font-family: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, serif;
}

.sfij-copy h2 {
  margin: 0;
  font-size: clamp(2.5rem, 5vw, 4.3rem);
  line-height: 0.98;
  letter-spacing: -0.03em;
}

.sfij-summary {
  max-width: 66ch;
  margin: 22px 0 0;
  color: var(--sfij-muted);
  font-size: 1.06rem;
}

.sfij-project-chip {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-top: 22px;
  padding: 12px 14px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(166, 124, 50, 0.18);
  box-shadow: 0 8px 24px rgba(73, 54, 23, 0.06);
}

.sfij-project-thumb {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  overflow: hidden;
  background: #e8dcc7;
  flex: 0 0 auto;
}

.sfij-project-thumb-image {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.sfij-project-chip-copy {
  display: grid;
  gap: 4px;
}

.sfij-project-chip-label {
  color: var(--sfij-muted);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.sfij-meta-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 26px;
}

.sfij-meta-row span {
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(166, 124, 50, 0.14);
  font-size: 13px;
}

.sfij-cta,
.sfij-inline-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.sfij-cta {
  margin-top: 30px;
  padding: 14px 22px;
  border-radius: 999px;
  background: linear-gradient(135deg, #1f1c17 0%, #3c3226 100%) !important;
  color: #fff !important;
  -webkit-text-fill-color: #fff;
  text-decoration: none !important;
  border: 1px solid rgba(31, 28, 23, 0.22);
  box-shadow: 0 12px 28px rgba(31, 28, 23, 0.14);
}

.sfij-cta:link,
.sfij-cta:visited,
.sfij-cta:hover,
.sfij-cta:focus {
  color: #fff !important;
  -webkit-text-fill-color: #fff;
  text-decoration: none !important;
}

.sfij-cta:hover,
.sfij-cta:focus,
.sfij-inline-link:hover {
  transform: translateY(-1px);
}

.sfij-cta:hover,
.sfij-cta:focus {
  background: linear-gradient(135deg, #2b251d 0%, #4b3d2f 100%) !important;
  box-shadow: 0 14px 30px rgba(31, 28, 23, 0.18);
}

.sfij-launch-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 18px;
  border-radius: 999px;
  background: linear-gradient(135deg, #1f1c17 0%, #3c3226 100%);
  color: #fff;
  text-decoration: none;
  box-shadow: 0 12px 28px rgba(31, 28, 23, 0.16);
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.sfij-launch-button:hover {
  color: #fff;
  transform: translateY(-1px);
  filter: brightness(1.04);
}

.sfij-stats {
  display: grid;
  gap: 14px;
}

.sfij-stat {
  padding: 26px 28px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(166, 124, 50, 0.1);
  box-shadow: 0 20px 44px rgba(73, 54, 23, 0.05);
}

.sfij-stat-label {
  display: block;
  margin-bottom: 8px;
  color: var(--sfij-muted);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.sfij-stat strong {
  font-size: 1.1rem;
}

.sfij-showcase-image {
  padding: 0;
  overflow: hidden;
}

.sfij-showcase-image img {
  width: 100%;
  height: 100%;
  min-height: 300px;
  object-fit: cover;
  display: block;
}

.sfij-progress-block {
  margin-top: 24px;
  padding: 26px 30px;
  border-radius: 26px;
  background: rgba(255, 253, 248, 0.94);
  border: 1px solid rgba(215, 204, 184, 0.34);
  box-shadow: 0 18px 40px rgba(73, 54, 23, 0.04);
}

.sfij-details-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 28px;
}

.sfij-merged-overview .sfpo-infographics {
  max-width: none;
  margin: 28px 0 0;
}

.sfij-media-section {
  margin-top: 28px;
  padding: 38px;
  border-radius: 30px;
  border: 1px solid rgba(215, 204, 184, 0.34);
  background:
    radial-gradient(circle at top left, rgba(214, 191, 146, 0.18), transparent 36%),
    rgba(255, 253, 248, 0.96);
  box-shadow: 0 22px 54px rgba(73, 54, 23, 0.05);
}

.sfij-media-title {
  margin: 0;
  font-family: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, serif;
  font-size: 1.9rem;
}

.sfij-media-block + .sfij-media-block {
  margin-top: 24px;
}

.sfij-investment-panel {
  margin-top: 28px;
  padding: 38px;
  border-radius: 30px;
  border: 1px solid rgba(215, 204, 184, 0.34);
  background:
    radial-gradient(circle at top right, rgba(214, 191, 146, 0.2), transparent 34%),
    linear-gradient(135deg, #fffefb 0%, #f5eee2 100%);
  box-shadow: 0 26px 64px rgba(73, 54, 23, 0.05);
}

.sfij-investment-intro {
  display: grid;
  gap: 20px;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  align-items: start;
}

.sfij-investment-intro h3,
.sfij-form-card h3 {
  margin: 0;
  font-family: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, serif;
  font-size: 2rem;
}

.sfij-investment-stats {
  display: grid;
  gap: 14px;
}

.sfij-funding-slider {
  margin-top: 22px;
  padding: 20px 22px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(166, 124, 50, 0.14);
}

.sfij-funding-slider input[type="range"] {
  width: 100%;
  margin: 14px 0 8px;
  accent-color: var(--sfij-gold);
}

.sfij-range-labels {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: var(--sfij-muted);
  font-size: 13px;
}

.sfij-investment-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 22px;
}

.sfij-checkpoint-list {
  margin: 0;
  padding-left: 18px;
}

.sfij-checkpoint-list li + li {
  margin-top: 10px;
}

.sfij-form-notice {
  margin-top: 20px;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid transparent;
}

.sfij-form-notice.is-success {
  background: rgba(41, 92, 70, 0.12);
  border-color: rgba(41, 92, 70, 0.22);
  color: #204c39;
}

.sfij-form-notice.is-error {
  background: rgba(138, 69, 60, 0.1);
  border-color: rgba(138, 69, 60, 0.18);
  color: #7e3c34;
}

.sfij-form-card {
  margin-top: 20px;
  padding: 34px;
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid rgba(166, 124, 50, 0.08);
  box-shadow: 0 20px 44px rgba(73, 54, 23, 0.05);
}

.sfij-form-head {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  align-items: start;
}

.sfij-form-user {
  display: grid;
  gap: 4px;
  color: var(--sfij-muted);
  text-align: right;
}

.sfij-form-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 20px;
}

.sfij-form-field {
  display: grid;
  gap: 8px;
}

.sfij-form-field-full {
  grid-column: 1 / -1;
}

.sfij-form-field span {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--sfij-muted);
}

.sfij-form-field input,
.sfij-form-field textarea {
  width: 100%;
  border-radius: 14px;
  border: 1px solid rgba(166, 124, 50, 0.14);
  background: #fff;
  padding: 15px 17px;
  color: var(--sfij-ink);
  font: inherit;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.sfij-form-field input[readonly] {
  background: #fff;
}

.sfij-user-investments {
  margin-top: 18px;
  padding: 14px 16px;
  border-radius: 18px;
  background: #f9f4ea;
}

.sfij-recorded-investments {
  display: grid;
  gap: 14px;
  margin-top: 12px;
}

.sfij-recorded-investment {
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.sfij-recorded-investment .sfij-data-list {
  gap: 0;
}

.sfij-investor-dashboard {
  width: min(calc(100vw - 80px), 1480px);
  margin: 48px auto;
}

.sfij-dashboard-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 22px;
}

.sfij-dashboard-card {
  display: grid;
  gap: 16px;
  padding: 34px;
  border-radius: 28px;
  border: 1px solid rgba(215, 204, 184, 0.34);
  background:
    radial-gradient(circle at top left, rgba(214, 191, 146, 0.16), transparent 35%),
    rgba(255, 253, 248, 0.98);
  box-shadow: 0 24px 56px rgba(73, 54, 23, 0.05);
}

.sfij-dashboard-card h4 {
  margin: 0;
  font-family: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, serif;
  font-size: 1.6rem;
}

.sfij-dashboard-card .sfij-cta {
  margin-top: 4px;
  justify-self: start;
}

.sfij-gated-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 16px;
}

.sfij-lightbox {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(21, 18, 14, 0.86);
  backdrop-filter: blur(12px);
}

.sfij-lightbox.is-open {
  display: flex;
}

.sfij-lightbox-backdrop {
  position: absolute;
  inset: 0;
}

.sfij-lightbox-dialog {
  position: relative;
  z-index: 1;
  width: min(1120px, 100%);
  max-height: calc(100vh - 48px);
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) 64px;
  align-items: center;
  gap: 16px;
}

.sfij-lightbox-surface {
  overflow: hidden;
  border-radius: 26px;
  border: 1px solid rgba(255, 247, 234, 0.14);
  background: rgba(255, 253, 248, 0.98);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.28);
}

.sfij-lightbox-media {
  display: grid;
  place-items: center;
  min-height: 320px;
  max-height: calc(100vh - 180px);
  background:
    radial-gradient(circle at top left, rgba(214, 191, 146, 0.18), transparent 34%),
    #f7f0e5;
}

.sfij-lightbox-media img,
.sfij-lightbox-media iframe {
  width: 100%;
  max-width: 100%;
  max-height: calc(100vh - 180px);
  display: block;
  border: 0;
}

.sfij-lightbox-media img {
  object-fit: contain;
}

.sfij-lightbox-caption {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  padding: 16px 18px;
  color: var(--sfij-ink);
}

.sfij-lightbox-caption strong {
  font-size: 1rem;
}

.sfij-lightbox-caption-meta {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.sfij-lightbox-counter {
  color: var(--sfij-muted);
  font-size: 13px;
}

.sfij-lightbox-open {
  color: #8f6822;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-decoration: none;
  text-transform: uppercase;
}

.sfij-lightbox-open:hover,
.sfij-lightbox-open:focus {
  color: #6f5118;
}

.sfij-lightbox.is-document .sfij-lightbox-dialog {
  width: min(1600px, calc(100vw - 32px));
}

.sfij-lightbox.is-document .sfij-lightbox-surface {
  background: #11161d;
}

.sfij-lightbox.is-document .sfij-lightbox-media {
  min-height: min(82vh, 1120px);
  max-height: calc(100vh - 136px);
  padding: 0;
  background: #1a212a;
}

.sfij-lightbox.is-document .sfij-lightbox-media iframe {
  height: min(82vh, 1120px);
  max-height: calc(100vh - 136px);
  background: #ffffff;
}

.sfij-lightbox.is-document .sfij-lightbox-caption {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: #f8fafc;
}

.sfij-lightbox.is-document .sfij-lightbox-counter,
.sfij-lightbox.is-document .sfij-lightbox-open {
  color: rgba(248, 250, 252, 0.8);
}

.sfij-lightbox-close,
.sfij-lightbox-arrow {
  appearance: none;
  border: 0;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease, opacity 0.2s ease, background 0.2s ease;
}

.sfij-lightbox-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  background: rgba(31, 28, 23, 0.76);
  color: #fff;
  font-size: 22px;
}

.sfij-lightbox-arrow {
  width: 56px;
  height: 56px;
  border-radius: 999px;
  background: rgba(255, 253, 248, 0.14);
  color: #fff;
  font-size: 28px;
}

.sfij-lightbox-arrow:hover,
.sfij-lightbox-close:hover {
  transform: translateY(-1px);
}

.sfij-lightbox-arrow[disabled] {
  opacity: 0.35;
  cursor: default;
}

.sfij-media-block h4 {
  margin: 0 0 14px;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--sfij-muted);
}

.sfij-photo-grid,
.sfij-plan-grid,
.sfij-video-grid {
  display: grid;
  gap: 14px;
}

.sfij-photo-grid,
.sfij-plan-grid {
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.sfij-video-grid {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.sfij-photo-card,
.sfij-plan-card,
.sfij-video-card {
  display: block;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(215, 204, 184, 0.85);
  background: #fff;
  box-shadow: 0 10px 24px rgba(73, 54, 23, 0.05);
}

.sfij-photo-card img,
.sfij-plan-thumb img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.sfij-photo-card {
  aspect-ratio: 4 / 3;
}

.sfij-plan-card {
  padding: 12px;
  text-decoration: none;
  color: var(--sfij-ink);
}

.sfij-plan-thumb {
  aspect-ratio: 4 / 3;
  border-radius: 16px;
  overflow: hidden;
  background: #f1eadc;
  display: grid;
  place-items: center;
  margin-bottom: 10px;
  color: var(--sfij-muted);
}

.sfij-video-card iframe,
.sfij-video-card video {
  width: 100%;
  display: block;
}

.sfij-video-card a {
  display: block;
  padding: 18px;
  color: var(--sfij-ink);
}

.sfij-detail-card {
  padding: 24px;
  border-radius: 24px;
  border: 1px solid var(--sfij-line);
  background:
    radial-gradient(circle at top right, rgba(214, 191, 146, 0.2), transparent 34%),
    var(--sfij-panel);
  box-shadow: 0 12px 30px rgba(73, 54, 23, 0.06);
}

.sfij-detail-card h3 {
  margin: 0;
  font-family: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, serif;
  font-size: 1.7rem;
}

.sfij-detail-card-wide {
  grid-column: 1 / -1;
}

.sfij-data-list,
.sfij-budget-list {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.sfij-data-row,
.sfij-budget-row {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: baseline;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(215, 204, 184, 0.72);
}

.sfij-data-row:last-child,
.sfij-budget-row:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.sfij-data-row span,
.sfij-budget-row span {
  color: var(--sfij-muted);
}

.sfij-data-row strong,
.sfij-budget-row strong {
  text-align: right;
}

.sfij-progress-meta {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.sfij-progress-bar {
  height: 12px;
  overflow: hidden;
  border-radius: 999px;
  background: #ece2d2;
}

.sfij-progress-bar span {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--sfij-gold), var(--sfij-gold-soft));
}

.sfij-layout {
  display: grid;
  gap: 26px;
  grid-template-columns: minmax(0, 1fr) 320px;
  margin-top: 28px;
  align-items: start;
}

.sfij-timeline {
  display: grid;
  gap: 18px;
}

.sfij-milestone {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 18px;
  padding: 22px;
  border-radius: 24px;
  border: 1px solid var(--sfij-line);
  background: var(--sfij-panel);
  box-shadow: 0 12px 30px rgba(73, 54, 23, 0.06);
}

.sfij-milestone.is-current {
  background: linear-gradient(135deg, #fffefa 0%, #f7efdf 100%);
  border-color: rgba(166, 124, 50, 0.4);
}

.sfij-milestone-index {
  width: 58px;
  height: 58px;
  border-radius: 18px;
  background: var(--sfij-panel-strong);
  color: var(--sfij-gold);
  display: grid;
  place-items: center;
  font-size: 1.1rem;
  font-weight: 700;
}

.sfij-milestone-top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

.sfij-status-badge {
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: 999px;
  background: #efe7d8;
  color: var(--sfij-ink);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.sfij-milestone.is-completed .sfij-status-badge {
  background: rgba(41, 92, 70, 0.12);
  color: var(--sfij-green);
}

.sfij-milestone.is-active .sfij-status-badge {
  background: rgba(166, 124, 50, 0.14);
  color: var(--sfij-gold);
}

.sfij-milestone.is-blocked .sfij-status-badge {
  background: rgba(138, 69, 60, 0.12);
  color: var(--sfij-red);
}

.sfij-date {
  color: var(--sfij-muted);
  font-size: 14px;
}

.sfij-milestone h3 {
  margin: 0 0 10px;
  font-size: 1.5rem;
}

.sfij-milestone p {
  margin: 0;
  color: var(--sfij-muted);
}

.sfij-highlight {
  margin-top: 16px;
  padding: 14px 16px;
  border-left: 3px solid var(--sfij-gold);
  border-radius: 0 14px 14px 0;
  background: #fbf6eb;
}

.sfij-inline-link {
  margin-top: 16px;
  color: var(--sfij-ink);
  font-weight: 600;
}

.sfij-side-card {
  position: sticky;
  top: 24px;
  padding: 24px;
  border-radius: 24px;
  background: linear-gradient(180deg, #1f1c17 0%, #312a20 100%);
  color: #f7f0e5;
  box-shadow: 0 20px 42px rgba(31, 28, 23, 0.18);
}

.sfij-side-card .sfij-eyebrow {
  color: #d8b978;
}

.sfij-side-card h3,
.sfij-side-card h3 a,
.sfij-side-card h3 strong {
  margin: 0;
  font-size: 1.7rem;
  color: #fff7ea !important;
}

.sfij-side-card,
.sfij-side-card p,
.sfij-side-card li,
.sfij-side-card span {
  color: rgba(247, 240, 229, 0.9);
}

.sfij-side-card ul {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.sfij-side-card li {
  position: relative;
  padding-left: 18px;
  margin-top: 12px;
  color: rgba(247, 240, 229, 0.9);
}

.sfij-side-card li::before {
  content: "";
  position: absolute;
  top: 10px;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #d8b978;
}

@media (max-width: 980px) {
  .sfij-hero,
  .sfij-layout,
  .sfij-details-grid,
  .sfij-investment-intro,
  .sfij-investment-grid,
  .sfij-dashboard-grid {
    grid-template-columns: 1fr;
  }

  .sfij-side-card {
    position: static;
  }
}

@media (max-width: 640px) {
  .sfij-shell {
    padding: 0 14px;
  }

  .sfij-hero,
  .sfij-milestone,
  .sfij-side-card,
  .sfij-investment-panel,
  .sfij-form-card {
    padding: 20px;
  }

  .sfij-project-chip {
    width: 100%;
  }

  .sfij-form-grid {
    grid-template-columns: 1fr;
  }

  .sfij-form-user {
    text-align: left;
  }

  .sfij-lightbox {
    padding: 12px;
  }

  .sfij-lightbox-dialog {
    grid-template-columns: 44px minmax(0, 1fr) 44px;
    gap: 8px;
  }

  .sfij-lightbox-arrow {
    width: 44px;
    height: 44px;
    font-size: 22px;
  }

  .sfij-lightbox-caption {
    flex-direction: column;
    align-items: flex-start;
  }

  .sfij-lightbox-caption-meta {
    width: 100%;
    justify-content: space-between;
  }

  .sfij-lightbox.is-document .sfij-lightbox-media,
  .sfij-lightbox.is-document .sfij-lightbox-media iframe {
    min-height: min(68vh, 860px);
    max-height: calc(100vh - 188px);
  }

  .sfij-milestone {
    grid-template-columns: 1fr;
  }

  .sfij-milestone-index {
    width: 46px;
    height: 46px;
    border-radius: 14px;
  }
}

/* Maclear-inspired visual refresh */
.sfij-journey {
  position: relative;
  color: #17130f;
  font-family: "Palanquin", "Avenir Next", "Helvetica Neue", sans-serif;
}

.sfij-journey::before {
  content: "";
  position: absolute;
  inset: 24px 0 auto;
  height: 560px;
  background:
    radial-gradient(circle at 18% 18%, rgba(194, 152, 84, 0.18), transparent 26%),
    radial-gradient(circle at 85% 10%, rgba(20, 28, 37, 0.1), transparent 22%);
  pointer-events: none;
}

.sfij-copy h2,
.sfij-side-card h3,
.sfij-milestone h3,
.sfij-media-title,
.sfij-detail-card h3,
.sfij-investment-intro h3,
.sfij-form-card h3,
.sfij-dashboard-card h4 {
  font-family: "Playfair Display", "Cormorant Garamond", Georgia, serif;
}

.sfij-shell {
  max-width: 1540px;
  padding: 0 32px;
}

.sfij-hero {
  position: relative;
  overflow: hidden;
  align-items: end;
  gap: 56px;
  grid-template-columns: minmax(0, 1.42fr) minmax(370px, 0.78fr);
  padding: clamp(34px, 4.5vw, 62px);
  border: 0;
  border-radius: 42px;
  background:
    linear-gradient(135deg, rgba(8, 12, 16, 0.97) 0%, rgba(20, 26, 34, 0.94) 42%, rgba(31, 42, 55, 0.92) 100%);
  box-shadow: 0 34px 96px rgba(11, 16, 22, 0.18);
}

.sfij-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top left, rgba(199, 155, 92, 0.3), transparent 30%),
    radial-gradient(circle at bottom right, rgba(255, 255, 255, 0.08), transparent 22%);
  pointer-events: none;
}

.sfij-copy,
.sfij-stats {
  position: relative;
  z-index: 1;
}

.sfij-copy {
  color: #f7f3eb;
}

.sfij-eyebrow {
  color: #d5ae63;
}

.sfij-summary {
  color: rgba(247, 243, 235, 0.78);
  max-width: 60ch;
  font-size: 1.03rem;
}

.sfij-project-chip {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: none;
  backdrop-filter: blur(12px);
}

.sfij-project-chip-copy,
.sfij-project-chip-label,
.sfij-project-chip strong {
  color: #f7f3eb;
}

.sfij-project-chip-label {
  opacity: 0.62;
}

.sfij-meta-row span {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.1);
  color: #f7f3eb;
  backdrop-filter: blur(10px);
}

.sfij-stats {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-content: start;
}

.sfij-stats > :first-child {
  grid-column: 1 / -1;
}

.sfij-stat {
  border: 0;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.12);
  box-shadow: none;
  backdrop-filter: blur(14px);
  color: #f7f3eb;
}

.sfij-stat-label {
  color: rgba(247, 243, 235, 0.62);
}

.sfij-showcase-image {
  overflow: hidden;
  background: rgba(255, 255, 255, 0.06);
}

.sfij-showcase-image img {
  min-height: 320px;
}

.sfij-progress-block {
  margin-top: 24px;
  padding: 22px 26px;
  border: 0;
  border-radius: 26px;
  background: linear-gradient(135deg, #fffdfa 0%, #f7f1e7 100%);
  box-shadow: 0 18px 44px rgba(25, 31, 38, 0.08);
}

.sfij-progress-meta strong {
  font-size: 1rem;
}

.sfij-media-section {
  position: relative;
  overflow: hidden;
  margin-top: 26px;
  padding: clamp(28px, 4vw, 42px);
  border: 0;
  border-radius: 34px;
  background:
    radial-gradient(circle at top left, rgba(213, 174, 99, 0.18), transparent 28%),
    linear-gradient(135deg, #12181f 0%, #19222d 50%, #202d39 100%);
  box-shadow: 0 28px 74px rgba(12, 18, 24, 0.16);
}

.sfij-media-section .sfij-eyebrow,
.sfij-media-block h4 {
  color: rgba(235, 222, 200, 0.72);
}

.sfij-media-title {
  color: #fffaf1;
  font-size: clamp(1.8rem, 2.5vw, 2.5rem);
}

.sfij-photo-card,
.sfij-plan-card,
.sfij-video-card {
  border: 0;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 16px 34px rgba(8, 12, 16, 0.16);
  transition: transform 0.24s ease, box-shadow 0.24s ease;
}

.sfij-photo-card:hover,
.sfij-plan-card:hover,
.sfij-video-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 48px rgba(8, 12, 16, 0.22);
}

.sfij-merged-overview {
  margin-top: 26px;
}

.sfij-detail-card {
  border: 0;
  border-radius: 30px;
  background: #fff;
  box-shadow: 0 24px 60px rgba(16, 22, 28, 0.08);
}

.sfij-data-row,
.sfij-budget-row {
  border-bottom-color: rgba(23, 19, 15, 0.08);
}

.sfij-data-row span,
.sfij-budget-row span {
  color: #73675a;
}

.sfij-layout {
  gap: 22px;
}

.sfij-milestone {
  border: 0;
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 20px 52px rgba(15, 21, 28, 0.08);
}

.sfij-milestone.is-current {
  background: linear-gradient(135deg, #fffdf8 0%, #f5ecdd 100%);
  box-shadow: 0 26px 58px rgba(166, 124, 50, 0.14);
}

.sfij-milestone-index {
  background: linear-gradient(135deg, #161d25 0%, #293746 100%);
  color: #fff8eb;
}

.sfij-status-badge {
  background: #eff2f5;
  color: #243243;
}

.sfij-side-card {
  border-radius: 30px;
  background:
    radial-gradient(circle at top left, rgba(213, 174, 99, 0.24), transparent 28%),
    linear-gradient(180deg, #10161d 0%, #1a242f 100%);
  box-shadow: 0 24px 64px rgba(10, 16, 22, 0.18);
}

.sfij-investment-panel {
  position: relative;
  overflow: hidden;
  margin-top: 42px;
  padding: clamp(28px, 4vw, 48px);
  border: 0;
  border-radius: 36px;
  background:
    radial-gradient(circle at top right, rgba(213, 174, 99, 0.2), transparent 28%),
    linear-gradient(135deg, #0f141b 0%, #18212c 46%, #1e2934 100%);
  color: #f7f3eb;
  box-shadow: 0 34px 84px rgba(12, 18, 24, 0.14);
}

.sfij-investment-panel .sfij-eyebrow,
.sfij-investment-panel .sfij-summary,
.sfij-investment-panel .sfij-range-labels,
.sfij-investment-panel .sfij-data-row span,
.sfij-investment-panel .sfij-budget-row span,
.sfij-investment-panel .sfij-checkpoint-list,
.sfij-investment-panel .sfij-checkpoint-list li,
.sfij-form-user {
  color: rgba(247, 243, 235, 0.72);
}

.sfij-funding-slider,
.sfij-user-investments {
  border: 0;
  background: rgba(255, 255, 255, 0.08);
  color: #f7f3eb;
  backdrop-filter: blur(12px);
}

.sfij-investment-panel .sfij-progress-bar {
  background: rgba(255, 255, 255, 0.12);
}

.sfij-investment-panel .sfij-detail-card,
.sfij-investment-panel .sfij-form-card {
  border: 0;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.98);
  color: #17130f;
  box-shadow: 0 20px 48px rgba(8, 12, 16, 0.16);
}

.sfij-investment-panel .sfij-detail-card .sfij-eyebrow,
.sfij-investment-panel .sfij-form-card .sfij-eyebrow,
.sfij-investment-panel .sfij-form-card .sfij-form-user,
.sfij-investment-panel .sfij-form-card .sfij-form-field span {
  color: #776b5d;
}

.sfij-form-field input,
.sfij-form-field textarea {
  background: #fff;
  border-color: rgba(24, 31, 39, 0.1);
}

.sfij-form-field input:focus,
.sfij-form-field textarea:focus {
  outline: 0;
  border-color: rgba(176, 133, 62, 0.64);
  box-shadow: 0 0 0 4px rgba(213, 174, 99, 0.16);
}

.sfij-dashboard-card {
  border: 0;
  border-radius: 30px;
  background:
    radial-gradient(circle at top left, rgba(213, 174, 99, 0.18), transparent 28%),
    linear-gradient(135deg, #121920 0%, #1b2530 100%);
  color: #f7f3eb;
  box-shadow: 0 26px 64px rgba(12, 18, 24, 0.14);
}

.sfij-dashboard-card .sfij-eyebrow,
.sfij-dashboard-card .sfij-data-row span {
  color: rgba(247, 243, 235, 0.7);
}

.sfij-dashboard-card .sfij-data-row {
  border-bottom-color: rgba(255, 255, 255, 0.08);
}

.sfij-dashboard-card .sfij-data-row strong {
  color: #fffaf1;
}

.sfij-dashboard-card .sfij-cta {
  background: linear-gradient(135deg, #d1a45a 0%, #b88638 100%) !important;
  border-color: rgba(209, 164, 90, 0.42);
  box-shadow: 0 14px 28px rgba(209, 164, 90, 0.24);
}

.sfij-dashboard-card .sfij-cta:hover,
.sfij-dashboard-card .sfij-cta:focus {
  background: linear-gradient(135deg, #ddb56f 0%, #c69548 100%) !important;
}

@media (max-width: 980px) {
  .sfij-stats {
    grid-template-columns: 1fr;
  }

  .sfij-stats > :first-child {
    grid-column: auto;
  }
}

@media (max-width: 640px) {
  .sfij-shell {
    padding: 0 16px;
  }

  .sfij-hero,
  .sfij-media-section,
  .sfij-investment-panel,
  .sfij-dashboard-card,
  .sfij-detail-card,
  .sfij-form-card,
  .sfij-progress-block {
    border-radius: 26px;
  }

  .sfij-copy h2 {
    font-size: clamp(2.2rem, 12vw, 3.2rem);
  }
}

/* Showcase-specific redesign */
.sfij-project-showcase {
  --sfij-showcase-image: linear-gradient(135deg, #c8d2db 0%, #aab5c0 100%);
  margin: 56px 0 96px;
  padding: 20px 0 12px;
  background:
    linear-gradient(180deg, #f2f4f6 0%, #eef1f3 40%, #f5f6f8 100%);
  color: #202428;
}

.sfij-project-showcase .sfij-shell {
  max-width: 1680px;
  display: grid;
  gap: 26px;
  padding: 0 32px;
}

.sfij-project-showcase .sfij-hero {
  align-items: stretch;
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.72fr);
  background-image:
    linear-gradient(90deg, rgba(7, 10, 14, 0.76) 0%, rgba(7, 10, 14, 0.54) 38%, rgba(7, 10, 14, 0.18) 100%),
    var(--sfij-showcase-image);
  background-size: cover;
  background-position: center;
  box-shadow: 0 24px 64px rgba(14, 18, 22, 0.12);
}

.sfij-project-showcase .sfij-copy {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 440px;
}

.sfij-project-showcase .sfij-copy h2 {
  color: #ffffff;
  font-size: clamp(3rem, 5vw, 5.2rem);
  font-weight: 700;
  letter-spacing: -0.05em;
}

.sfij-project-showcase .sfij-summary {
  max-width: 52ch;
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.04rem;
}

.sfij-project-showcase .sfij-meta-row {
  margin-top: 28px;
}

.sfij-project-showcase .sfij-meta-row span {
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #ffffff;
  font-weight: 600;
}

.sfij-project-showcase .sfij-stats {
  align-self: end;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.sfij-project-showcase .sfij-showcase-image {
  display: none;
}

.sfij-project-showcase .sfij-stat {
  padding: 22px 24px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.96);
  color: #121619;
  box-shadow: 0 20px 48px rgba(10, 14, 18, 0.14);
}

.sfij-project-showcase .sfij-stat-label {
  color: #6b7280;
  font-weight: 700;
}

.sfij-project-showcase .sfij-stat strong {
  display: block;
  color: #0b0c0e;
  font-weight: 700;
  line-height: 1.2;
}

.sfij-project-showcase .sfij-progress-block {
  margin-top: 0;
  background: #ffffff;
  box-shadow: 0 16px 40px rgba(15, 23, 31, 0.08);
}

.sfij-project-showcase .sfij-progress-meta,
.sfij-project-showcase .sfij-progress-meta strong,
.sfij-project-showcase .sfij-progress-meta span {
  color: #1f2933;
}

.sfij-project-showcase .sfij-progress-bar {
  background: #e5e7eb;
}

.sfij-project-showcase .sfij-media-section {
  margin-top: 0;
  background: #ffffff;
  box-shadow: 0 20px 54px rgba(15, 23, 31, 0.08);
}

.sfij-project-showcase .sfij-media-title {
  color: #0c1014;
  font-weight: 700;
}

.sfij-project-showcase .sfij-media-section .sfij-eyebrow,
.sfij-project-showcase .sfij-media-block h4 {
  color: #5e6771;
}

.sfij-project-showcase .sfij-photo-card,
.sfij-project-showcase .sfij-plan-card,
.sfij-project-showcase .sfij-video-card {
  background: #f8fafb;
  box-shadow: 0 12px 32px rgba(15, 23, 31, 0.08);
}

.sfij-project-showcase .sfij-photo-card {
  aspect-ratio: 1.35 / 1;
}

.sfij-project-showcase .sfij-merged-overview {
  margin-top: 0;
}

.sfij-project-showcase .sfpo-infographics {
  margin: 0;
  padding: 0;
  background: transparent;
  box-shadow: none;
}

.sfij-project-showcase .sfpo-info-card {
  border-radius: 28px;
  background: #ffffff;
  box-shadow: 0 18px 42px rgba(15, 23, 31, 0.08);
}

.sfij-project-showcase .sfpo-info-head h2,
.sfij-project-showcase .sfpo-info-card strong,
.sfij-project-showcase .sfpo-timeline-item strong,
.sfij-project-showcase .sfpo-highlight-callout strong {
  color: #0b0c0e;
  font-weight: 700;
}

.sfij-project-showcase .sfpo-eyebrow-dark,
.sfij-project-showcase .sfpo-info-metrics span,
.sfij-project-showcase .sfpo-budget-head span,
.sfij-project-showcase .sfpo-timeline-item p,
.sfij-project-showcase .sfpo-highlight-callout span {
  color: #626b75;
}

.sfij-project-showcase .sfpo-info-grid .sfpo-info-card:first-child,
.sfij-project-showcase .sfpo-info-grid-2 .sfpo-info-card:last-child {
  position: relative;
  overflow: hidden;
  background-image:
    linear-gradient(135deg, rgba(10, 13, 17, 0.9) 0%, rgba(10, 13, 17, 0.68) 56%, rgba(10, 13, 17, 0.38) 100%),
    var(--sfij-showcase-image);
  background-size: cover;
  background-position: center;
  box-shadow: 0 22px 56px rgba(10, 14, 18, 0.18);
}

.sfij-project-showcase .sfpo-info-grid .sfpo-info-card:first-child .sfpo-eyebrow-dark,
.sfij-project-showcase .sfpo-info-grid .sfpo-info-card:first-child .sfpo-info-metrics span,
.sfij-project-showcase .sfpo-info-grid .sfpo-info-card:first-child .sfpo-donut span,
.sfij-project-showcase .sfpo-info-grid-2 .sfpo-info-card:last-child .sfpo-eyebrow-dark,
.sfij-project-showcase .sfpo-info-grid-2 .sfpo-info-card:last-child .sfpo-timeline-item p,
.sfij-project-showcase .sfpo-info-grid-2 .sfpo-info-card:last-child .sfpo-highlight-callout span {
  color: rgba(255, 255, 255, 0.72);
}

.sfij-project-showcase .sfpo-info-grid .sfpo-info-card:first-child strong,
.sfij-project-showcase .sfpo-info-grid .sfpo-info-card:first-child .sfpo-donut strong,
.sfij-project-showcase .sfpo-info-grid-2 .sfpo-info-card:last-child strong,
.sfij-project-showcase .sfpo-info-grid-2 .sfpo-info-card:last-child .sfpo-timeline-item strong,
.sfij-project-showcase .sfpo-info-grid-2 .sfpo-info-card:last-child .sfpo-highlight-callout strong {
  color: #ffffff;
}

.sfij-project-showcase .sfpo-info-grid .sfpo-info-card:first-child .sfpo-info-metrics div {
  border-bottom-color: rgba(255, 255, 255, 0.1);
}

.sfij-project-showcase .sfpo-info-grid .sfpo-info-card:first-child .sfpo-donut::after {
  background: rgba(17, 22, 27, 0.88);
}

.sfij-project-showcase .sfpo-info-grid-2 .sfpo-info-card:last-child .sfpo-timeline-item,
.sfij-project-showcase .sfpo-info-grid-2 .sfpo-info-card:last-child .sfpo-highlight-callout {
  background: rgba(255, 255, 255, 0.1);
}

.sfij-project-showcase .sfpo-info-grid-2 .sfpo-info-card:last-child .sfpo-status-pill {
  box-shadow: none;
}

@media (max-width: 980px) {
  .sfij-project-showcase .sfij-shell {
    padding: 0 18px;
  }

  .sfij-project-showcase .sfij-hero,
  .sfij-project-showcase .sfij-stats {
    grid-template-columns: 1fr;
  }

  .sfij-project-showcase .sfij-copy {
    min-height: 320px;
  }
}

/* Monochrome refinement */
.sfij-journey {
  --sfij-ink: #0d1117;
  --sfij-muted: #59636e;
  --sfij-panel: #ffffff;
  --sfij-panel-strong: #eef2f5;
  --sfij-line: #dbe2e8;
  --sfij-gold: #111111;
  --sfij-gold-soft: #4b5563;
  background: transparent;
  color: #0d1117;
}

.sfij-eyebrow,
.sfij-project-showcase .sfij-media-section .sfij-eyebrow,
.sfij-project-showcase .sfij-media-block h4 {
  color: #6b7280;
}

.sfij-copy h2,
.sfij-media-title,
.sfij-detail-card h3,
.sfij-investment-intro h3,
.sfij-form-card h3,
.sfij-dashboard-card h4,
.sfij-milestone h3,
.sfij-side-card h3 {
  color: #0b0c0e;
  font-weight: 700;
}

.sfij-summary,
.sfij-data-row span,
.sfij-budget-row span,
.sfij-date,
.sfij-project-chip-label,
.sfij-form-user,
.sfij-form-field span,
.sfij-range-labels,
.sfij-media-block h4 {
  color: #5f6975;
}

.sfij-cta,
.sfij-launch-button,
.sfij-dashboard-card .sfij-cta {
  background: linear-gradient(135deg, #050607 0%, #1f2937 100%) !important;
  border-color: rgba(15, 23, 31, 0.2);
  box-shadow: 0 16px 34px rgba(15, 23, 31, 0.16);
}

.sfij-cta:hover,
.sfij-cta:focus,
.sfij-launch-button:hover,
.sfij-dashboard-card .sfij-cta:hover,
.sfij-dashboard-card .sfij-cta:focus {
  background: linear-gradient(135deg, #111827 0%, #374151 100%) !important;
  box-shadow: 0 18px 38px rgba(15, 23, 31, 0.2);
}

.sfij-progress-bar,
.sfij-investment-panel .sfij-progress-bar {
  background: #e5e7eb;
}

.sfij-progress-bar span {
  background: linear-gradient(90deg, #111827, #4b5563);
}

.sfij-form-field input,
.sfij-form-field textarea {
  background: #ffffff;
  border-color: #d7dde4;
  color: #111827;
}

.sfij-form-field input:focus,
.sfij-form-field textarea:focus {
  border-color: rgba(17, 24, 39, 0.45);
  box-shadow: 0 0 0 4px rgba(17, 24, 39, 0.1);
}

.sfij-detail-card,
.sfij-progress-block,
.sfij-project-showcase .sfij-progress-block,
.sfij-project-showcase .sfij-media-section,
.sfij-photo-card,
.sfij-plan-card,
.sfij-video-card,
.sfij-project-showcase .sfpo-info-card {
  background: #ffffff;
  box-shadow: 0 18px 44px rgba(15, 23, 31, 0.07);
}

.sfij-project-showcase {
  background: linear-gradient(180deg, #eff2f5 0%, #f5f7f9 100%);
}

.sfij-project-showcase .sfij-hero {
  background-image:
    linear-gradient(90deg, rgba(5, 7, 9, 0.82) 0%, rgba(5, 7, 9, 0.58) 38%, rgba(5, 7, 9, 0.22) 100%),
    var(--sfij-showcase-image);
  box-shadow: 0 26px 66px rgba(15, 23, 31, 0.14);
}

.sfij-project-showcase .sfij-copy h2,
.sfij-project-showcase .sfij-summary,
.sfij-project-showcase .sfij-meta-row span {
  color: #ffffff;
}

.sfij-project-showcase .sfij-meta-row span {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.16);
}

.sfij-project-showcase .sfij-stat {
  background: rgba(255, 255, 255, 0.98);
  color: #0b0c0e;
}

.sfij-project-showcase .sfij-stat-label {
  color: #6b7280;
}

.sfij-project-showcase .sfpo-info-grid .sfpo-info-card:first-child,
.sfij-project-showcase .sfpo-info-grid-2 .sfpo-info-card:last-child {
  background-image:
    linear-gradient(135deg, rgba(5, 7, 9, 0.9) 0%, rgba(5, 7, 9, 0.72) 55%, rgba(5, 7, 9, 0.38) 100%),
    var(--sfij-showcase-image);
}

.sfij-project-showcase .sfpo-info-grid .sfpo-info-card:first-child .sfpo-eyebrow-dark,
.sfij-project-showcase .sfpo-info-grid .sfpo-info-card:first-child .sfpo-info-metrics span,
.sfij-project-showcase .sfpo-info-grid .sfpo-info-card:first-child .sfpo-donut span,
.sfij-project-showcase .sfpo-info-grid .sfpo-info-card:first-child strong,
.sfij-project-showcase .sfpo-info-grid .sfpo-info-card:first-child .sfpo-donut strong,
.sfij-project-showcase .sfpo-info-grid-2 .sfpo-info-card:last-child .sfpo-eyebrow-dark,
.sfij-project-showcase .sfpo-info-grid-2 .sfpo-info-card:last-child .sfpo-timeline-item p,
.sfij-project-showcase .sfpo-info-grid-2 .sfpo-info-card:last-child .sfpo-highlight-callout span,
.sfij-project-showcase .sfpo-info-grid-2 .sfpo-info-card:last-child strong,
.sfij-project-showcase .sfpo-info-grid-2 .sfpo-info-card:last-child .sfpo-timeline-item strong,
.sfij-project-showcase .sfpo-info-grid-2 .sfpo-info-card:last-child .sfpo-highlight-callout strong {
  color: #ffffff;
}

.sfij-project-showcase .sfpo-info-grid .sfpo-info-card:first-child .sfpo-donut {
  background: conic-gradient(#f3f4f6 var(--sfpo-progress), rgba(255, 255, 255, 0.18) 0);
}

.sfij-project-showcase .sfpo-info-grid .sfpo-info-card:first-child .sfpo-donut::after {
  background: rgba(17, 24, 39, 0.88);
}

.sfij-media-section {
  background:
    linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
}

.sfij-investment-panel {
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.06), transparent 26%),
    linear-gradient(135deg, #0b0f14 0%, #141b23 46%, #1b2530 100%);
  color: #f9fafb;
}

.sfij-investment-panel .sfij-eyebrow,
.sfij-investment-panel .sfij-summary,
.sfij-investment-panel .sfij-range-labels,
.sfij-investment-panel .sfij-data-row span,
.sfij-investment-panel .sfij-budget-row span,
.sfij-investment-panel .sfij-checkpoint-list,
.sfij-investment-panel .sfij-checkpoint-list li {
  color: rgba(255, 255, 255, 0.72);
}

.sfij-investment-panel .sfij-detail-card,
.sfij-investment-panel .sfij-form-card,
.sfij-funding-slider,
.sfij-user-investments {
  background: #ffffff;
  color: #111827;
}

.sfij-milestone.is-current {
  background: linear-gradient(135deg, #ffffff 0%, #f3f6f8 100%);
  box-shadow: 0 24px 52px rgba(15, 23, 31, 0.1);
}

.sfij-milestone-index {
  background: linear-gradient(135deg, #0b0f14 0%, #374151 100%);
  color: #ffffff;
}

.sfij-status-badge {
  background: #eef2f7;
  color: #1f2937;
}

.sfij-side-card {
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.08), transparent 24%),
    linear-gradient(180deg, #0b0f14 0%, #1a2028 100%);
}

.sfij-side-card .sfij-eyebrow,
.sfij-side-card li::before {
  color: #cfd6dd;
  background: #cfd6dd;
}

.sfij-dashboard-card {
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.06), transparent 26%),
    linear-gradient(135deg, #0b0f14 0%, #1d2630 100%);
}

/* Bold readability pass */
.sfij-journey,
.sfij-project-showcase {
  color: #111111;
}

.sfij-copy h2,
.sfij-media-title,
.sfij-detail-card h3,
.sfij-investment-intro h3,
.sfij-form-card h3,
.sfij-dashboard-card h4,
.sfij-milestone h3,
.sfij-side-card h3,
.sfij-project-showcase .sfpo-info-head h2 {
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 0.96;
}

.sfij-copy h2 {
  font-size: clamp(2.9rem, 5.2vw, 5.4rem);
}

.sfij-project-showcase .sfij-copy h2 {
  font-size: clamp(3.4rem, 6vw, 6rem);
}

.sfij-summary,
.sfij-data-row span,
.sfij-budget-row span,
.sfij-date,
.sfij-project-chip-label,
.sfij-form-user,
.sfij-form-field span,
.sfij-range-labels,
.sfij-media-block h4,
.sfij-project-showcase .sfpo-eyebrow-dark,
.sfij-project-showcase .sfpo-info-metrics span,
.sfij-project-showcase .sfpo-budget-head span,
.sfij-project-showcase .sfpo-timeline-item p,
.sfij-project-showcase .sfpo-highlight-callout span {
  color: #4b5563;
  font-weight: 500;
}

.sfij-eyebrow,
.sfij-project-showcase .sfij-media-section .sfij-eyebrow,
.sfij-project-showcase .sfij-media-block h4 {
  color: #4b5563;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.sfij-progress-meta strong,
.sfij-progress-meta span,
.sfij-stat strong,
.sfij-data-row strong,
.sfij-budget-row strong,
.sfij-project-showcase .sfpo-info-card strong,
.sfij-project-showcase .sfpo-timeline-item strong,
.sfij-project-showcase .sfpo-highlight-callout strong {
  color: #111111;
  font-weight: 800;
}

.sfij-project-showcase .sfij-hero {
  background-image:
    linear-gradient(90deg, rgba(4, 6, 8, 0.9) 0%, rgba(4, 6, 8, 0.72) 42%, rgba(4, 6, 8, 0.28) 100%),
    var(--sfij-showcase-image);
}

.sfij-project-showcase .sfij-summary {
  color: rgba(255, 255, 255, 0.94);
  font-weight: 500;
}

.sfij-project-showcase .sfij-meta-row span {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.22);
  color: #ffffff;
  font-weight: 700;
}

.sfij-project-showcase .sfij-stat,
.sfij-detail-card,
.sfij-progress-block,
.sfij-project-showcase .sfij-media-section,
.sfij-photo-card,
.sfij-plan-card,
.sfij-video-card,
.sfij-project-showcase .sfpo-info-card,
.sfij-investment-panel .sfij-detail-card,
.sfij-investment-panel .sfij-form-card,
.sfij-funding-slider,
.sfij-user-investments {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  box-shadow: 0 18px 38px rgba(15, 23, 31, 0.06);
}

.sfij-photo-card,
.sfij-plan-card,
.sfij-video-card {
  box-shadow: 0 14px 28px rgba(15, 23, 31, 0.08);
}

.sfij-milestone {
  border: 1px solid #e5e7eb;
  box-shadow: 0 16px 32px rgba(15, 23, 31, 0.05);
}

.sfij-milestone p,
.sfij-side-card p,
.sfij-side-card li {
  font-weight: 500;
}

.sfij-side-card,
.sfij-dashboard-card {
  background:
    linear-gradient(135deg, #0a0d11 0%, #1a212a 100%);
}

.sfij-side-card h3,
.sfij-side-card p,
.sfij-side-card li,
.sfij-side-card .sfij-eyebrow,
.sfij-dashboard-card h4,
.sfij-dashboard-card .sfij-eyebrow,
.sfij-dashboard-card .sfij-data-row span,
.sfij-dashboard-card .sfij-data-row strong {
  color: #ffffff !important;
}

.sfij-dashboard-card .sfij-data-row {
  border-bottom-color: rgba(255, 255, 255, 0.14);
}

.sfij-investment-panel {
  background:
    linear-gradient(135deg, #090c10 0%, #141b22 44%, #1b242d 100%);
}

.sfij-investment-panel .sfij-eyebrow,
.sfij-investment-panel .sfij-summary,
.sfij-investment-panel .sfij-range-labels,
.sfij-investment-panel .sfij-data-row span,
.sfij-investment-panel .sfij-budget-row span,
.sfij-investment-panel .sfij-checkpoint-list,
.sfij-investment-panel .sfij-checkpoint-list li {
  color: rgba(255, 255, 255, 0.84);
  font-weight: 500;
}

.sfij-form-field input,
.sfij-form-field textarea {
  border: 1px solid #d1d5db;
  font-weight: 500;
}

.sfij-form-field input::placeholder,
.sfij-form-field textarea::placeholder {
  color: #6b7280;
}

/* Clarity-focused showcase pass */
.sfij-project-showcase .sfij-hero {
  min-height: 560px;
  padding: clamp(42px, 5.6vw, 76px);
  background-image:
    linear-gradient(90deg, rgba(7, 10, 13, 0.76) 0%, rgba(7, 10, 13, 0.58) 38%, rgba(7, 10, 13, 0.2) 100%),
    var(--sfij-showcase-image);
}

.sfij-project-showcase .sfij-summary {
  max-width: 46ch;
  margin-top: 18px;
  font-size: 1.18rem;
  line-height: 1.72;
  color: #ffffff;
}

.sfij-project-showcase .sfij-eyebrow {
  color: rgba(255, 255, 255, 0.82);
}

.sfij-project-showcase .sfij-copy {
  gap: 16px;
  max-width: 780px;
}

.sfij-project-showcase .sfij-meta-row span {
  font-size: 13px;
  font-weight: 800;
  padding: 12px 16px;
}

.sfij-project-showcase .sfij-stat {
  padding: 28px 28px 26px;
  border-radius: 26px;
}

.sfij-project-showcase .sfij-stat-label {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.sfij-project-showcase .sfij-stat strong {
  font-size: 1.2rem;
  line-height: 1.3;
}

.sfij-progress-meta strong,
.sfij-progress-meta span {
  font-size: 14px;
  font-weight: 800;
}

.sfij-media-title,
.sfij-form-card h3,
.sfij-investment-intro h3 {
  font-size: 2.05rem;
}

.sfij-investment-panel .sfij-summary {
  font-size: 1rem;
  line-height: 1.6;
}

.sfij-investment-panel .sfij-data-row strong,
.sfij-investment-panel .sfij-budget-row strong {
  color: #111111;
}

.sfij-investment-panel .sfij-detail-card h3,
.sfij-investment-panel .sfij-form-card h3 {
  color: #0b0c0e;
}

.sfij-project-showcase {
  margin: 0 0 112px;
  padding: 28px 0 20px;
  background: #eef2f5;
}

.sfij-project-showcase::before {
  display: none;
}

.sfij-project-showcase .sfij-shell {
  width: min(calc(100vw - 96px), 1880px);
  max-width: none;
  gap: 34px;
  padding: 0;
}

.sfij-project-showcase .sfij-progress-block {
  padding: 30px 34px;
  border-radius: 30px;
}

.sfij-project-showcase .sfij-media-section {
  padding: 56px;
  border-radius: 34px;
}

.sfij-project-showcase .sfij-admin-toolbar {
  margin-bottom: 30px;
}

.sfij-project-showcase .sfij-media-block + .sfij-media-block {
  margin-top: 42px;
}

.sfij-invoice-grid {
  align-items: stretch;
}

.sfij-invoice-card {
  display: grid;
  gap: 14px;
}

.sfij-invoice-card p {
  margin: 0;
  color: #475569;
  line-height: 1.55;
}

.sfij-invoice-card .sfij-cta {
  width: fit-content;
}

.sfij-project-showcase .sfij-media-block h4 {
  margin-bottom: 18px;
}

.sfij-project-showcase .sfij-photo-grid,
.sfij-project-showcase .sfij-plan-grid,
.sfij-project-showcase .sfij-video-grid {
  gap: 24px 18px;
}

/* Showcase-style investment form */
.sfij-investment-panel {
  margin-top: 52px;
  max-width: 1320px;
  margin-left: auto;
  margin-right: auto;
  padding: 52px;
  border-radius: 36px;
  border: 1px solid #e5e7eb;
  background: linear-gradient(180deg, #eef2f5 0%, #f7f9fb 100%);
  box-shadow: 0 24px 54px rgba(15, 23, 31, 0.08);
  color: #111111;
}

.sfij-investment-panel .sfij-eyebrow,
.sfij-investment-panel .sfij-summary,
.sfij-investment-panel .sfij-range-labels,
.sfij-investment-panel .sfij-data-row span,
.sfij-investment-panel .sfij-budget-row span,
.sfij-investment-panel .sfij-checkpoint-list,
.sfij-investment-panel .sfij-checkpoint-list li {
  color: #4b5563;
  font-weight: 500;
}

.sfij-investment-intro {
  gap: 28px;
  align-items: stretch;
}

.sfij-investment-panel .sfij-investment-stats {
  gap: 16px;
}

.sfij-investment-panel .sfij-stat {
  padding: 28px;
  border-radius: 24px;
  border: 1px solid #e5e7eb;
  background: #ffffff;
  box-shadow: 0 16px 34px rgba(15, 23, 31, 0.06);
}

.sfij-investment-panel .sfij-stat-label {
  color: #6b7280;
}

.sfij-funding-slider {
  margin-top: 28px;
  padding: 28px 30px;
  border-radius: 28px;
  border: 1px solid #e5e7eb;
  background: #ffffff;
  box-shadow: 0 16px 34px rgba(15, 23, 31, 0.05);
}

.sfij-investment-panel .sfij-progress-bar {
  background: #e5e7eb;
}

.sfij-investment-grid {
  gap: 24px;
  margin-top: 28px;
}

.sfij-investment-panel .sfij-detail-card,
.sfij-investment-panel .sfij-form-card,
.sfij-user-investments {
  border: 1px solid #e5e7eb;
  background: #ffffff;
  box-shadow: 0 16px 34px rgba(15, 23, 31, 0.05);
}

.sfij-investment-panel .sfij-detail-card,
.sfij-investment-panel .sfij-form-card {
  padding: 32px;
  border-radius: 28px;
}

.sfij-investment-panel .sfij-detail-card h3,
.sfij-investment-panel .sfij-form-card h3,
.sfij-investment-panel .sfij-form-user strong {
  color: #0b0c0e;
}

.sfij-investment-panel .sfij-detail-card h3 {
  margin-bottom: 18px;
}

.sfij-investment-panel .sfij-checkpoint-list {
  margin-top: 18px;
}

.sfij-investment-panel .sfij-form-user span {
  color: #6b7280;
}

.sfij-form-card {
  margin-top: 24px;
}

.sfij-form-grid {
  gap: 18px;
  margin-top: 24px;
}

.sfij-form-field input,
.sfij-form-field textarea {
  padding: 16px 18px;
  border-radius: 16px;
  background: #ffffff;
}

.sfij-user-investments {
  margin-top: 22px;
  padding: 18px 20px;
}

.sfij-investment-panel .sfij-cta {
  background: linear-gradient(135deg, #050607 0%, #1f2937 100%) !important;
  color: #ffffff !important;
}

@media (max-width: 980px) {
  .sfij-project-showcase .sfij-shell {
    width: calc(100vw - 32px);
  }

  .sfij-investment-panel {
    padding: 30px;
  }
}

.sfij-access-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}

.sfij-portal-grid {
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 28px;
}

.sfij-portal-section {
  margin-top: 30px;
}

.sfij-portal-hero {
  position: relative;
  padding: 34px;
  border-radius: 34px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    radial-gradient(circle at top left, rgba(214, 191, 146, 0.18), transparent 30%),
    linear-gradient(145deg, #05070a 0%, #131922 55%, #1c2430 100%);
  box-shadow: 0 28px 60px rgba(3, 6, 10, 0.34);
}

.sfij-portal-hero-copy .sfij-eyebrow,
.sfij-portal-hero-copy h3,
.sfij-portal-hero-copy .sfij-summary {
  color: #f8fafc !important;
}

.sfij-portal-hero .sfij-summary {
  max-width: 58ch;
  color: rgba(248, 250, 252, 0.78) !important;
}

.sfij-portal-hero-meta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 22px;
}

.sfij-portal-hero-meta span {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
  color: #f8fafc;
  font-size: 0.94rem;
  font-weight: 700;
}

.sfij-portal-hero-side {
  display: grid;
  gap: 16px;
}

.sfij-dashboard-actions {
  display: flex;
  justify-content: flex-end;
}

.sfij-portal-logout {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.08);
  color: #f8fafc;
  text-decoration: none;
  font-weight: 800;
  letter-spacing: -0.01em;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.sfij-portal-logout:hover,
.sfij-portal-logout:focus {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.22);
  color: #ffffff;
}

/* Detailed room revisitation */
.sfij-journey {
  position: relative;
  color: #0a0d10;
}

.sfij-journey .sfij-shell {
  display: grid;
  gap: 30px;
}

.sfij-journey .sfij-hero {
  gap: 30px;
  grid-template-columns: minmax(0, 1.34fr) minmax(330px, 0.66fr);
  padding: 42px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 36px;
  background:
    radial-gradient(circle at top left, rgba(214, 191, 146, 0.14), transparent 28%),
    linear-gradient(145deg, #05070a 0%, #11161f 55%, #1a2330 100%);
  box-shadow: 0 34px 78px rgba(6, 10, 14, 0.28);
}

.sfij-journey .sfij-copy h2,
.sfij-journey .sfij-summary,
.sfij-journey .sfij-project-chip strong,
.sfij-journey .sfij-project-chip-label {
  color: #f8fafc !important;
}

.sfij-journey .sfij-summary {
  max-width: 60ch;
  color: rgba(248, 250, 252, 0.8) !important;
}

.sfij-journey .sfij-project-chip {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: none;
}

.sfij-journey .sfij-meta-row span {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.12);
  color: #f8fafc;
  font-weight: 700;
}

.sfij-journey .sfij-stats {
  gap: 12px;
}

.sfij-journey .sfij-stat {
  padding: 22px 24px;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: none;
  color: #f8fafc;
}

.sfij-journey .sfij-stat-label {
  color: rgba(248, 250, 252, 0.64);
}

.sfij-journey .sfij-progress-block {
  margin-top: 0;
  padding: 24px 28px;
  border-radius: 26px;
  border: 1px solid #dfe5ea;
  background: linear-gradient(180deg, #ffffff 0%, #f4f7fa 100%);
  box-shadow: 0 18px 42px rgba(9, 14, 21, 0.08);
}

.sfij-journey .sfij-progress-meta strong {
  font-size: 1.02rem;
  color: #0f172a;
}

.sfij-journey .sfij-progress-meta span {
  color: #475569;
  font-weight: 700;
}

.sfij-journey .sfij-progress-bar {
  height: 14px;
  background: #e6edf3;
}

.sfij-journey .sfij-progress-bar span {
  background: linear-gradient(90deg, #111827 0%, #475569 100%);
}

.sfij-journey .sfij-details-grid {
  gap: 22px;
}

.sfij-journey .sfij-detail-card {
  padding: 30px 30px 34px;
  border-radius: 28px;
  border: 1px solid #dfe5ea;
  background: linear-gradient(180deg, #ffffff 0%, #f7f9fb 100%);
  box-shadow: 0 22px 48px rgba(9, 14, 21, 0.08);
}

.sfij-journey .sfij-detail-card h3 {
  font-size: 1.9rem;
  line-height: 0.98;
  letter-spacing: -0.05em;
  color: #05070a;
}

.sfij-journey .sfij-data-row,
.sfij-journey .sfij-budget-row {
  padding: 14px 0;
  border-bottom: 1px solid #e5ebf0;
}

.sfij-journey .sfij-data-row span,
.sfij-journey .sfij-budget-row span {
  color: #5b6672;
}

.sfij-journey .sfij-data-row strong,
.sfij-journey .sfij-budget-row strong {
  color: #0f172a;
  font-weight: 800;
}

.sfij-journey .sfij-investment-panel {
  margin-top: 0;
  padding: 34px;
  border-radius: 32px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    radial-gradient(circle at top right, rgba(214, 191, 146, 0.12), transparent 28%),
    linear-gradient(145deg, #0a0f14 0%, #131a23 55%, #1b2430 100%);
  box-shadow: 0 28px 64px rgba(3, 6, 10, 0.3);
}

.sfij-journey .sfij-investment-panel .sfij-investment-intro h3,
.sfij-journey .sfij-investment-panel .sfij-detail-card h3,
.sfij-journey .sfij-investment-panel .sfij-form-card h3,
.sfij-journey .sfij-investment-panel .sfij-detail-card strong,
.sfij-journey .sfij-investment-panel .sfij-form-user strong {
  color: #f8fafc !important;
}

.sfij-journey .sfij-investment-panel .sfij-summary,
.sfij-journey .sfij-investment-panel .sfij-eyebrow,
.sfij-journey .sfij-investment-panel .sfij-range-labels,
.sfij-journey .sfij-investment-panel .sfij-data-row span,
.sfij-journey .sfij-investment-panel .sfij-budget-row span,
.sfij-journey .sfij-investment-panel .sfij-checkpoint-list,
.sfij-journey .sfij-investment-panel .sfij-checkpoint-list li,
.sfij-journey .sfij-investment-panel .sfij-form-user span {
  color: rgba(248, 250, 252, 0.74) !important;
}

.sfij-journey .sfij-investment-panel .sfij-stat,
.sfij-journey .sfij-investment-panel .sfij-detail-card,
.sfij-journey .sfij-investment-panel .sfij-form-card,
.sfij-journey .sfij-funding-slider,
.sfij-journey .sfij-user-investments {
  border: 1px solid rgba(255, 255, 255, 0.09);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: none;
}

.sfij-journey .sfij-investment-panel .sfij-progress-bar {
  background: rgba(255, 255, 255, 0.1);
}

.sfij-journey .sfij-investment-panel .sfij-progress-bar span {
  background: linear-gradient(90deg, #d7b56b 0%, #f3e1a7 100%);
}

.sfij-journey .sfij-media-section,
.sfij-journey .sfij-private-documents {
  margin-top: 0;
  padding: 34px;
  border-radius: 30px;
  border: 1px solid #dfe5ea;
  background: linear-gradient(180deg, #ffffff 0%, #f7f9fb 100%);
  box-shadow: 0 22px 48px rgba(9, 14, 21, 0.08);
}

.sfij-journey .sfij-admin-toolbar {
  margin-bottom: 18px;
}

.sfij-journey .sfij-admin-toolbar > div {
  display: grid;
  gap: 6px;
}

.sfij-journey .sfij-media-title,
.sfij-journey .sfij-admin-toolbar h3 {
  line-height: 0.98;
  letter-spacing: -0.05em;
  color: #05070a;
}

.sfij-journey .sfij-layout {
  gap: 24px;
  grid-template-columns: minmax(0, 1fr) 340px;
  margin-top: 0;
}

.sfij-journey .sfij-timeline {
  gap: 20px;
}

.sfij-journey .sfij-milestone {
  position: relative;
  gap: 20px;
  padding: 26px;
  border-radius: 28px;
  border: 1px solid #dfe5ea;
  background: linear-gradient(180deg, #ffffff 0%, #f7f9fb 100%);
  box-shadow: 0 22px 48px rgba(9, 14, 21, 0.08);
}

.sfij-journey .sfij-milestone.is-current {
  border-color: rgba(214, 191, 146, 0.72);
  background:
    radial-gradient(circle at top left, rgba(214, 191, 146, 0.18), transparent 28%),
    linear-gradient(180deg, #fffdfa 0%, #f7f0e4 100%);
  box-shadow: 0 26px 56px rgba(166, 124, 50, 0.12);
}

.sfij-journey .sfij-milestone-index {
  width: 62px;
  height: 62px;
  border-radius: 20px;
  background: linear-gradient(135deg, #111827 0%, #2f3a48 100%);
  color: #ffffff;
  box-shadow: 0 16px 32px rgba(15, 23, 31, 0.18);
}

.sfij-journey .sfij-milestone.is-current .sfij-milestone-index {
  background: linear-gradient(135deg, #d7b56b 0%, #f3e1a7 100%);
  color: #111827;
  box-shadow: 0 18px 34px rgba(214, 191, 146, 0.26);
}

.sfij-journey .sfij-status-badge {
  background: #eef2f6;
  color: #0f172a;
}

.sfij-journey .sfij-date {
  color: #6b7280;
  font-weight: 700;
}

.sfij-journey .sfij-milestone h3 {
  font-size: 1.72rem;
  line-height: 0.98;
  letter-spacing: -0.05em;
  color: #05070a;
}

.sfij-journey .sfij-milestone p {
  color: #56616d;
}

.sfij-journey .sfij-highlight {
  margin-top: 18px;
  padding: 16px 18px;
  border-left: 0;
  border-radius: 18px;
  background: #eef3f7;
  color: #111827;
}

.sfij-journey .sfij-inline-link {
  margin-top: 18px;
  color: #111827;
  font-weight: 800;
}

.sfij-journey .sfij-side-card {
  top: 24px;
  padding: 26px 24px 28px;
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    radial-gradient(circle at top left, rgba(214, 191, 146, 0.14), transparent 28%),
    linear-gradient(145deg, #05070a 0%, #131922 55%, #1c2430 100%);
  box-shadow: 0 28px 60px rgba(3, 6, 10, 0.34);
}

.sfij-journey .sfij-side-card .sfij-eyebrow,
.sfij-journey .sfij-side-card h3,
.sfij-journey .sfij-side-card p,
.sfij-journey .sfij-side-card li,
.sfij-journey .sfij-side-card span {
  color: #f8fafc !important;
}

.sfij-journey .sfij-side-card li {
  padding-left: 20px;
  margin-top: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 14px;
}

.sfij-journey .sfij-side-card li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.sfij-journey .sfij-side-card li::before {
  top: 8px;
}

@media (max-width: 980px) {
  .sfij-journey .sfij-hero,
  .sfij-journey .sfij-layout,
  .sfij-journey .sfij-investment-intro,
  .sfij-journey .sfij-investment-grid {
    grid-template-columns: 1fr;
  }

  .sfij-journey .sfij-hero,
  .sfij-journey .sfij-investment-panel,
  .sfij-journey .sfij-media-section,
  .sfij-journey .sfij-private-documents {
    padding: 30px;
  }
}

@media (max-width: 640px) {
  .sfij-journey .sfij-hero,
  .sfij-journey .sfij-progress-block,
  .sfij-journey .sfij-detail-card,
  .sfij-journey .sfij-investment-panel,
  .sfij-journey .sfij-media-section,
  .sfij-journey .sfij-private-documents,
  .sfij-journey .sfij-milestone,
  .sfij-journey .sfij-side-card {
    padding: 22px;
  }

  .sfij-journey .sfij-milestone {
    grid-template-columns: 1fr;
  }

  .sfij-journey .sfij-milestone-index {
    width: 54px;
    height: 54px;
  }
}

.sfij-agreements-grid,
.sfij-opportunity-grid {
  display: grid;
  gap: 18px;
}

.sfij-portal-section .sfij-admin-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.sfij-agreements-grid {
  margin-top: 18px;
}

.sfij-agreement-card {
  display: grid;
  gap: 8px;
  padding: 18px 20px;
  border-radius: 20px;
  border: 1px solid #e5e7eb;
  background: #f8fafc;
}

.sfij-agreement-card strong {
  color: #111827;
}

.sfij-agreement-card span {
  color: #4b5563;
}

.sfij-opportunity-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.sfij-opportunity-card {
  display: grid;
  overflow: hidden;
  border-radius: 30px;
  border: 1px solid rgba(215, 204, 184, 0.34);
  background: #ffffff;
  box-shadow: 0 24px 56px rgba(15, 23, 31, 0.06);
}

.sfij-opportunity-image img {
  width: 100%;
  height: 240px;
  display: block;
  object-fit: cover;
}

.sfij-opportunity-body {
  display: grid;
  gap: 14px;
  padding: 26px;
}

.sfij-opportunity-body .sfij-summary {
  margin: 0;
  max-width: none;
  color: #4b5563;
}

.sfij-opportunity-body h4 {
  margin: 0;
  font-size: 1.5rem;
  line-height: 1.05;
}

.sfij-opportunities-public .sfij-opportunity-card {
  background:
    linear-gradient(180deg, #ffffff 0%, #faf7f1 100%);
}

.sfij-private-documents .sfij-form-card {
  margin-top: 0;
}

/* Final monochrome polish */
.sfij-investor-dashboard,
.sfij-project-showcase,
.sfij-investment-panel {
  color: #0a0d10;
}

.sfij-investor-dashboard .sfij-investment-intro h3,
.sfij-opportunity-body h4,
.sfij-form-card h3,
.sfij-agreement-card strong,
.sfij-dashboard-card h4 {
  color: #05070a;
  font-weight: 900;
  letter-spacing: -0.05em;
}

.sfij-investor-dashboard .sfij-summary,
.sfij-opportunity-body .sfij-summary,
.sfij-agreement-card span,
.sfij-form-user span,
.sfij-form-field span,
.sfij-data-row span,
.sfij-budget-row span {
  color: #525c68;
}

.sfij-investor-dashboard .sfij-eyebrow,
.sfij-opportunity-body .sfij-eyebrow,
.sfij-portal-section .sfij-eyebrow,
.sfij-form-card .sfij-eyebrow {
  color: #4b5563;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.sfij-dashboard-card,
.sfij-side-card {
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(145deg, #05070a 0%, #131922 55%, #1c2430 100%);
  box-shadow: 0 28px 60px rgba(3, 6, 10, 0.34);
}

.sfij-dashboard-card .sfij-eyebrow,
.sfij-dashboard-card h4,
.sfij-dashboard-card .sfij-data-row span,
.sfij-dashboard-card .sfij-data-row strong,
.sfij-side-card .sfij-eyebrow,
.sfij-side-card h3,
.sfij-side-card p,
.sfij-side-card li,
.sfij-side-card span {
  color: #f8fafc !important;
}

.sfij-dashboard-card .sfij-data-row,
.sfij-side-card li {
  border-bottom-color: rgba(255, 255, 255, 0.12);
}

.sfij-form-card,
.sfij-agreement-card,
.sfij-opportunity-card,
.sfij-detail-card,
.sfij-project-showcase .sfij-progress-block,
.sfij-project-showcase .sfij-media-section,
.sfij-project-showcase .sfpo-info-card,
.sfij-investment-panel .sfij-detail-card,
.sfij-investment-panel .sfij-form-card,
.sfij-funding-slider,
.sfij-user-investments {
  border: 1px solid #dfe5ea;
  background:
    linear-gradient(180deg, #ffffff 0%, #f7f9fb 100%);
  box-shadow: 0 22px 48px rgba(9, 14, 21, 0.08);
}

.sfij-dashboard-grid,
.sfij-portal-grid,
.sfij-agreements-grid,
.sfij-opportunity-grid,
.sfij-form-grid,
.sfij-investment-grid {
  margin-top: 34px;
}

.sfij-dashboard-card {
  padding: 34px 34px 44px;
}

.sfij-form-card {
  padding: 34px 34px 44px;
}

.sfij-detail-card {
  padding: 30px 30px 34px;
}

.sfij-agreement-card {
  padding: 22px 22px 30px;
}

.sfij-opportunity-card {
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.sfij-opportunity-card:hover {
  transform: translateY(-4px);
  border-color: #cfd6de;
  box-shadow: 0 28px 58px rgba(9, 14, 21, 0.12);
}

.sfij-opportunity-image img {
  filter: saturate(0.92) contrast(1.04);
}

.sfij-opportunity-body {
  gap: 16px;
  padding: 28px 28px 36px;
}

.sfij-opportunity-body h4 {
  font-size: 1.62rem;
  line-height: 0.96;
}

.sfij-investment-intro h3,
.sfij-form-card h3,
.sfij-dashboard-card h4,
.sfij-detail-card h3,
.sfij-media-title {
  font-weight: 900;
  letter-spacing: -0.05em;
}

.sfij-detail-card h3,
.sfij-portal-section h3 {
  line-height: 0.98;
}

.sfij-detail-card .sfij-data-row,
.sfij-agreement-card,
.sfij-opportunity-card .sfij-data-row {
  border-color: #e5ebf0;
}

.sfij-portal-section .sfij-admin-toolbar {
  margin-bottom: 22px;
}

.sfij-portal-section .sfij-admin-toolbar > div {
  display: grid;
  gap: 6px;
}

.sfij-opportunities-public .sfij-opportunity-card {
  background:
    linear-gradient(180deg, #ffffff 0%, #f2f5f8 100%);
}

.sfij-project-showcase {
  background:
    linear-gradient(180deg, #edf1f4 0%, #f5f7f9 52%, #eef2f5 100%);
}

.sfij-project-showcase .sfij-hero {
  box-shadow: 0 34px 78px rgba(6, 10, 14, 0.2);
}

.sfij-project-showcase .sfij-progress-block,
.sfij-project-showcase .sfij-media-section {
  border-color: #dbe2e8;
}

.sfij-project-showcase .sfij-stat {
  border: 1px solid rgba(17, 24, 39, 0.08);
  background: rgba(255, 255, 255, 0.99);
  box-shadow: 0 18px 44px rgba(7, 10, 13, 0.12);
}

.sfij-project-showcase .sfij-stat-label {
  color: #4b5563;
}

.sfij-investment-panel {
  border: 1px solid #dbe2e8;
  background: linear-gradient(180deg, #eceff3 0%, #f8fafc 100%);
  box-shadow: 0 28px 64px rgba(9, 14, 21, 0.1);
}

.sfij-investment-panel .sfij-investment-intro h3,
.sfij-investment-panel .sfij-detail-card h3,
.sfij-investment-panel .sfij-form-card h3 {
  color: #05070a;
}

.sfij-cta,
.sfij-launch-button,
.sfij-investment-panel .sfij-cta,
.sfij-dashboard-card .sfij-cta {
  background: linear-gradient(135deg, #020304 0%, #111827 54%, #2f3a48 100%) !important;
  border-color: rgba(15, 23, 31, 0.26);
  box-shadow: 0 18px 40px rgba(6, 10, 14, 0.18);
}

.sfij-cta:hover,
.sfij-cta:focus,
.sfij-launch-button:hover,
.sfij-dashboard-card .sfij-cta:hover,
.sfij-dashboard-card .sfij-cta:focus,
.sfij-investment-panel .sfij-cta:hover,
.sfij-investment-panel .sfij-cta:focus {
  background: linear-gradient(135deg, #0b1016 0%, #1f2937 54%, #475569 100%) !important;
  box-shadow: 0 20px 44px rgba(6, 10, 14, 0.24);
}

.sf-platform-nav {
  position: relative;
  z-index: 50;
  width: min(calc(100vw - 80px), 1480px);
  margin: 36px auto 10px;
}

.sf-platform-nav-shell {
  position: relative;
  z-index: 2;
  overflow: visible;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  padding: 16px 18px;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(135deg, #030507 0%, #111827 54%, #1d2733 100%);
  box-shadow: 0 22px 52px rgba(6, 10, 14, 0.24);
}

.sf-platform-nav-brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  text-decoration: none;
}

.sf-platform-nav-logo {
  display: block;
  width: auto;
  height: 44px;
}

.sf-platform-nav-home {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  min-width: 40px;
  padding: 8px;
  border-radius: 999px;
  color: rgba(248, 250, 252, 0.74);
  text-decoration: none;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  transition: color 0.2s ease, background 0.2s ease;
}

.sf-platform-nav-home:hover,
.sf-platform-nav-home:focus {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.06);
}

.sf-platform-nav-language {
  position: relative;
  z-index: 60;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  overflow: visible;
}

.sf-platform-nav-language > * {
  margin: 0;
}

.sf-platform-nav-language select,
.sf-platform-nav-language button,
.sf-platform-nav-language .trp-language-switcher,
.sf-platform-nav-language .trp-language-switcher > div {
  min-height: 44px;
  border-radius: 999px;
}

.sf-platform-nav-links {
  position: relative;
  z-index: 2;
  overflow: visible;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  flex: 1 1 auto;
  flex-wrap: wrap;
}

.sf-platform-nav-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 11px 18px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #f8fafc;
  background: rgba(255, 255, 255, 0.04);
  text-decoration: none;
  font-size: 0.96rem;
  font-weight: 900;
  letter-spacing: -0.015em;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.sf-platform-nav-link:hover,
.sf-platform-nav-link:focus {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
}

.sf-platform-nav-link.is-current {
  color: #020304;
  border-color: rgba(229, 194, 117, 0.45);
  background: linear-gradient(135deg, #f3e1a7 0%, #dcc070 100%);
  box-shadow: 0 12px 28px rgba(229, 194, 117, 0.18);
}

.sfij-investment-intro h3,
.sfij-portal-section h3 {
  font-size: clamp(2.25rem, 4vw, 3.4rem);
  font-weight: 900;
  letter-spacing: -0.06em;
  line-height: 0.94;
}

@media (max-width: 980px) {
  .sfij-shell {
    padding: 0 26px;
  }

  .sfij-investor-dashboard {
    width: min(calc(100vw - 52px), 1480px);
  }

  .sf-platform-nav {
    width: min(calc(100vw - 52px), 1480px);
  }

  .sfij-portal-grid {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 1280px) {
  .sfij-opportunity-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .sfij-shell {
    padding: 0 18px;
  }

  .sfij-investor-dashboard {
    width: min(calc(100vw - 36px), 1480px);
  }

  .sf-platform-nav {
    width: min(calc(100vw - 36px), 1480px);
    margin-top: 24px;
  }

  .sf-platform-nav-shell {
    padding: 12px;
    gap: 12px;
  }

  .sf-platform-nav-logo {
    height: 38px;
  }

  .sf-platform-nav-links {
    width: 100%;
    justify-content: stretch;
  }

  .sf-platform-nav-link,
  .sf-platform-nav-language {
    width: 100%;
  }

  .sfij-project-showcase .sfij-shell {
    width: min(calc(100vw - 36px), 1880px);
  }

  .sfij-opportunity-grid {
    grid-template-columns: 1fr;
  }
}

/* Layout consistency with single project view */
html {
  scrollbar-gutter: stable;
}

.sf-platform-nav,
.sfij-investor-dashboard {
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  width: min(calc(100vw - 96px), 1880px);
  max-width: none;
}

.sf-platform-nav {
  margin: 28px 0 16px;
}

.sfij-investor-dashboard {
  margin: 0 0 48px;
}

@media (max-width: 980px) {
  .sf-platform-nav,
  .sfij-investor-dashboard {
    width: calc(100vw - 52px);
  }

  .sf-platform-nav {
    margin-top: 24px;
  }
}

@media (max-width: 640px) {
  .sf-platform-nav,
  .sfij-investor-dashboard {
    width: calc(100vw - 36px);
  }

  .sf-platform-nav {
    margin-top: 20px;
  }
}

.sfij-cta,
.sfij-launch-button,
.sfij-investment-panel .sfij-cta,
.sfij-dashboard-card .sfij-cta {
  min-height: 48px;
  padding: 14px 22px;
  border-radius: 999px;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.sfij-cta,
.sfij-investment-panel .sfij-cta,
.sfij-dashboard-card .sfij-cta {
  background: linear-gradient(135deg, #020304 0%, #111827 54%, #2f3a48 100%) !important;
  border: 1px solid rgba(15, 23, 31, 0.26);
  box-shadow: 0 18px 40px rgba(6, 10, 14, 0.18);
  color: #fff !important;
  -webkit-text-fill-color: #fff;
}

.sfij-cta:hover,
.sfij-cta:focus,
.sfij-dashboard-card .sfij-cta:hover,
.sfij-dashboard-card .sfij-cta:focus,
.sfij-investment-panel .sfij-cta:hover,
.sfij-investment-panel .sfij-cta:focus {
  background: linear-gradient(135deg, #0b1016 0%, #1f2937 54%, #475569 100%) !important;
  box-shadow: 0 20px 44px rgba(6, 10, 14, 0.24);
}

.sfij-launch-button {
  min-height: auto;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none !important;
  box-shadow: none;
  color: #4b5a6c !important;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
}

.sfij-launch-button:hover,
.sfij-launch-button:focus {
  background: none !important;
  box-shadow: none;
  color: #1f2937 !important;
  filter: none;
}

/* Detailed room redesign */
.sfij-journey:not(.sfij-project-showcase) .sfij-progress-block,
.sfij-journey:not(.sfij-project-showcase) .sfij-room-section,
.sfij-journey:not(.sfij-project-showcase) .sfij-investment-panel,
.sfij-journey:not(.sfij-project-showcase) .sfij-media-section,
.sfij-journey:not(.sfij-project-showcase) .sfij-private-documents {
  margin-top: 30px;
}

.sfij-journey:not(.sfij-project-showcase) .sfij-hero {
  padding: 46px;
  border-radius: 38px;
  background-image:
    linear-gradient(90deg, rgba(4, 6, 9, 0.88) 0%, rgba(4, 6, 9, 0.72) 36%, rgba(4, 6, 9, 0.54) 100%),
    radial-gradient(circle at top left, rgba(214, 191, 146, 0.16), transparent 28%),
    var(--sfij-journey-hero-image, linear-gradient(145deg, #06080b 0%, #10161f 56%, #18212d 100%));
  background-size: cover;
  background-position: center;
  box-shadow: 0 28px 68px rgba(9, 14, 21, 0.16);
}

.sfij-journey:not(.sfij-project-showcase) .sfij-copy h2 {
  font-size: clamp(3.1rem, 6vw, 5rem);
  font-weight: 900;
  letter-spacing: -0.06em;
}

.sfij-journey:not(.sfij-project-showcase) .sfij-summary {
  max-width: 58ch;
  font-size: 1.08rem;
}

.sfij-journey:not(.sfij-project-showcase) .sfij-stats {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.sfij-journey:not(.sfij-project-showcase) .sfij-stats > :first-child {
  grid-column: auto;
}

.sfij-journey:not(.sfij-project-showcase) .sfij-stat {
  min-height: 132px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  backdrop-filter: blur(2px);
}

.sfij-journey:not(.sfij-project-showcase) .sfij-stat-label {
  color: rgba(248, 250, 252, 0.68);
}

.sfij-journey:not(.sfij-project-showcase) .sfij-stat strong {
  display: block;
  color: #f8fafc !important;
  font-size: clamp(1.35rem, 2vw, 1.85rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.sfij-journey:not(.sfij-project-showcase) .sfij-progress-block {
  padding: 26px 30px;
  border-radius: 30px;
  background: linear-gradient(180deg, #ffffff 0%, #f7f9fb 100%);
  box-shadow: 0 22px 52px rgba(9, 14, 21, 0.08);
}

.sfij-room-overview-section {
  padding: 34px;
  border-radius: 34px;
  border: 1px solid #dfe5ea;
  background:
    radial-gradient(circle at top left, rgba(214, 191, 146, 0.1), transparent 30%),
    linear-gradient(180deg, #ffffff 0%, #f7f9fb 100%);
  box-shadow: 0 24px 56px rgba(9, 14, 21, 0.08);
}

.sfij-room-timeline-section {
  padding: 0;
}

.sfij-room-section-head {
  display: grid;
  gap: 14px 22px;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.5fr);
  align-items: end;
  margin-bottom: 22px;
}

.sfij-room-section-head h3 {
  margin: 0;
  color: #05070a;
  font-size: clamp(2rem, 3vw, 2.9rem);
  line-height: 0.95;
  letter-spacing: -0.06em;
  font-weight: 900;
}

.sfij-room-section-note {
  margin: 0;
  color: #5b6672;
  font-size: 0.98rem;
  line-height: 1.65;
}

.sfij-journey:not(.sfij-project-showcase) .sfij-details-grid {
  margin-top: 0;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.sfij-journey:not(.sfij-project-showcase) .sfij-detail-card {
  height: 100%;
  padding: 30px 30px 34px;
  border-radius: 30px;
}

.sfij-journey:not(.sfij-project-showcase) .sfij-detail-card h3 {
  margin: 4px 0 0;
  font-size: 1.55rem;
  font-weight: 850;
  letter-spacing: -0.04em;
}

.sfij-journey:not(.sfij-project-showcase) .sfij-detail-card-wide {
  grid-column: 1 / -1;
}

.sfij-journey:not(.sfij-project-showcase) .sfij-budget-list {
  display: grid;
  gap: 0 26px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.sfij-journey:not(.sfij-project-showcase) .sfij-layout {
  margin-top: 0;
  gap: 24px;
  align-items: start;
}

.sfij-journey:not(.sfij-project-showcase) .sfij-side-card {
  position: sticky;
}

@media (max-width: 1200px) {
  .sfij-journey:not(.sfij-project-showcase) .sfij-details-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  .sfij-room-section-head,
  .sfij-journey:not(.sfij-project-showcase) .sfij-layout,
  .sfij-journey:not(.sfij-project-showcase) .sfij-stats {
    grid-template-columns: 1fr;
  }

  .sfij-journey:not(.sfij-project-showcase) .sfij-hero {
    padding: 34px;
  }

  .sfij-journey:not(.sfij-project-showcase) .sfij-stat {
    min-height: 0;
  }
}

@media (max-width: 700px) {
  .sfij-journey:not(.sfij-project-showcase) .sfij-details-grid,
  .sfij-journey:not(.sfij-project-showcase) .sfij-budget-list {
    grid-template-columns: 1fr;
  }
}

/* Investor portal contrast fix */
.sfij-investor-dashboard .sfij-portal-hero,
.sfij-investor-dashboard .sfij-portal-hero .sfij-investment-intro h3,
.sfij-investor-dashboard .sfij-portal-hero .sfij-summary,
.sfij-investor-dashboard .sfij-portal-hero .sfij-eyebrow {
  color: #f8fafc !important;
}

.sfij-investor-dashboard .sfij-portal-hero .sfij-summary {
  color: rgba(248, 250, 252, 0.8) !important;
}

.sfij-investor-dashboard .sfij-portal-hero .sfij-stat {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: none;
}

.sfij-investor-dashboard .sfij-portal-hero .sfij-stat-label {
  color: rgba(248, 250, 252, 0.66) !important;
}

.sfij-investor-dashboard .sfij-portal-hero .sfij-stat strong,
.sfij-investor-dashboard .sfij-portal-hero .sfij-portal-hero-meta span,
.sfij-investor-dashboard .sfij-portal-hero .sfij-portal-logout {
  color: #f8fafc !important;
}

/* Final CTA + welcome refresh */
.sfij-cta,
.sfij-launch-button,
.sfij-investment-panel .sfij-cta,
.sfij-dashboard-card .sfij-cta {
  background: linear-gradient(135deg, #f7df96 0%, #ddb85a 52%, #c9932f 100%) !important;
  border: 1px solid rgba(164, 111, 22, 0.34);
  box-shadow: 0 18px 38px rgba(183, 128, 33, 0.24);
  color: #15110a !important;
  -webkit-text-fill-color: #15110a !important;
}

.sfij-cta:hover,
.sfij-cta:focus,
.sfij-launch-button:hover,
.sfij-dashboard-card .sfij-cta:hover,
.sfij-dashboard-card .sfij-cta:focus,
.sfij-investment-panel .sfij-cta:hover,
.sfij-investment-panel .sfij-cta:focus {
  background: linear-gradient(135deg, #fbe8ad 0%, #e4c36a 52%, #d39f3d 100%) !important;
  box-shadow: 0 22px 44px rgba(183, 128, 33, 0.28);
  color: #120f09 !important;
  -webkit-text-fill-color: #120f09 !important;
}

.sfij-welcome-hero {
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
  gap: 28px;
  align-items: stretch;
  padding: 48px;
  border-radius: 38px;
  background:
    radial-gradient(circle at top left, rgba(229, 194, 117, 0.22), transparent 30%),
    radial-gradient(circle at bottom left, rgba(255, 255, 255, 0.06), transparent 34%),
    linear-gradient(135deg, #090d14 0%, #101723 48%, #1b2430 100%);
  color: #f8fafc;
  box-shadow: 0 34px 80px rgba(6, 10, 14, 0.26);
}

.sfij-welcome-copy,
.sfij-welcome-spotlight {
  display: grid;
  gap: 18px;
}

.sfij-investor-welcome .sfij-welcome-copy .sfij-eyebrow,
.sfij-investor-welcome .sfij-welcome-spotlight .sfij-eyebrow {
  color: rgba(247, 223, 150, 0.72) !important;
}

.sfij-investor-welcome .sfij-welcome-copy h3 {
  margin: 0;
  max-width: 14ch;
  color: #ffffff !important;
  font-size: clamp(3.2rem, 5.8vw, 5.6rem);
  font-weight: 900;
  letter-spacing: -0.075em;
  line-height: 0.9;
  text-wrap: balance;
}

.sfij-investor-welcome .sfij-welcome-copy .sfij-summary {
  max-width: 720px;
  margin: 6px 0 2px;
  color: rgba(241, 245, 249, 0.82) !important;
  font-size: 1.22rem;
  line-height: 1.7;
}

.sfij-welcome-status {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.sfij-welcome-status-pill {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 10px 18px;
  border-radius: 999px;
  background: rgba(247, 223, 150, 0.16);
  border: 1px solid rgba(247, 223, 150, 0.24);
  color: #f7df96;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.sfij-welcome-status-note {
  color: rgba(241, 245, 249, 0.82);
  font-weight: 600;
}

.sfij-welcome-actions .sfij-cta {
  margin-top: 0;
  min-width: 250px;
  min-height: 56px;
  font-size: 1.04rem;
}

.sfij-welcome-spotlight {
  align-content: start;
  padding: 6px 0;
}

.sfij-welcome-spotlight-card {
  position: relative;
  padding: 28px 26px 28px;
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.06) 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.sfij-welcome-spotlight-card::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 96px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, #f7df96, rgba(247, 223, 150, 0));
}

.sfij-welcome-spotlight-card strong {
  display: block;
  margin-bottom: 12px;
  color: #ffffff;
  font-size: clamp(1.5rem, 2.2vw, 2rem);
  font-weight: 850;
  line-height: 0.95;
  letter-spacing: -0.05em;
  max-width: 15ch;
}

.sfij-welcome-spotlight-card p {
  margin: 0;
  color: rgba(241, 245, 249, 0.82);
  font-size: 1.04rem;
  line-height: 1.6;
}

.sfij-welcome-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  margin-top: 30px;
}

.sfij-welcome-card {
  position: relative;
  padding: 86px 28px 30px;
  overflow: hidden;
  border: 1px solid rgba(229, 194, 117, 0.16);
  background:
    radial-gradient(circle at top left, rgba(247, 223, 150, 0.14), transparent 30%),
    linear-gradient(180deg, #fffdfa 0%, #f7f3eb 100%);
  box-shadow: 0 22px 54px rgba(17, 24, 39, 0.08);
}

.sfij-welcome-card::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 4px;
  background: linear-gradient(90deg, #f7df96 0%, #ddb85a 45%, rgba(221, 184, 90, 0.12) 100%);
}

.sfij-welcome-step {
  position: absolute;
  top: 28px;
  left: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 48px;
  min-height: 48px;
  border-radius: 18px;
  background: linear-gradient(135deg, #f7df96 0%, #ddb85a 100%);
  color: #161109;
  font-size: 0.95rem;
  font-weight: 900;
  letter-spacing: -0.04em;
  box-shadow: 0 14px 28px rgba(183, 128, 33, 0.2);
}

.sfij-welcome-card h4 {
  margin: 0 0 12px;
  color: #0f172a;
  max-width: 16ch;
  font-size: clamp(1.7rem, 2.2vw, 2.45rem);
  font-weight: 900;
  letter-spacing: -0.055em;
  line-height: 0.92;
}

.sfij-welcome-card p {
  font-size: 1.06rem;
  line-height: 1.7;
}

.sfij-welcome-card p:last-child {
  margin-bottom: 0;
}

.sfij-welcome-card-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
  color: #8f6822;
  font-size: 0.98rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.sfij-welcome-card-link::after {
  content: "\2192";
  transition: transform 0.2s ease;
}

.sfij-welcome-card:hover .sfij-welcome-card-link::after,
.sfij-welcome-card-link:hover::after,
.sfij-welcome-card-link:focus::after {
  transform: translateX(3px);
}

.sfij-welcome-card:hover,
.sfij-welcome-card:focus-within {
  transform: translateY(-2px);
  box-shadow: 0 26px 58px rgba(17, 24, 39, 0.11);
}

.sfij-welcome-card-link:hover,
.sfij-welcome-card-link:focus {
  color: #5d4315;
}

.sfij-limited-access-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border: 1px solid rgba(221, 184, 90, 0.3);
  background:
    radial-gradient(circle at left center, rgba(247, 223, 150, 0.22), transparent 28%),
    linear-gradient(180deg, #fffaf0 0%, #ffffff 100%);
}

.sfij-limited-access-banner p {
  max-width: 860px;
  margin: 0;
}

@media (max-width: 980px) {
  .sfij-welcome-hero {
    grid-template-columns: 1fr;
    padding: 34px;
  }

  .sfij-welcome-grid {
    grid-template-columns: 1fr;
  }

  .sfij-limited-access-banner {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 640px) {
  .sfij-welcome-hero {
    padding: 24px;
    border-radius: 28px;
  }

  .sfij-investor-welcome .sfij-welcome-copy h3 {
    font-size: clamp(2.4rem, 12vw, 3.4rem);
    max-width: none;
  }

  .sfij-investor-welcome .sfij-welcome-copy .sfij-summary {
    font-size: 1rem;
    line-height: 1.65;
  }

  .sfij-welcome-spotlight-card,
  .sfij-welcome-card {
    padding-left: 20px;
    padding-right: 20px;
  }

  .sfij-welcome-card {
    padding-top: 80px;
  }

  .sfij-welcome-step {
    left: 20px;
    top: 24px;
  }
}

/* Final investment form clarity */
.sfij-investment-panel .sfij-form-field input:not([readonly]):not([disabled]),
.sfij-investment-panel .sfij-form-field textarea:not([readonly]):not([disabled]) {
  background: #ffffff !important;
  color: #111827 !important;
  border-color: #d7dde4 !important;
}

.sfij-investment-panel .sfij-form-field input[readonly],
.sfij-investment-panel .sfij-form-field input[disabled],
.sfij-investment-panel .sfij-form-field textarea[readonly],
.sfij-investment-panel .sfij-form-field textarea[disabled] {
  background: #eef2f5 !important;
  color: #334155 !important;
  border-color: #d7dde4 !important;
}

/* Final detailed-room contrast audit */
.sfij-journey:not(.sfij-project-showcase) .sfij-investment-panel .sfij-form-notice {
  border-color: rgba(255, 255, 255, 0.12) !important;
  background: rgba(255, 255, 255, 0.06) !important;
  color: #f8fafc !important;
}

.sfij-journey:not(.sfij-project-showcase) .sfij-investment-panel .sfij-form-notice.is-success {
  border-color: rgba(110, 231, 183, 0.26) !important;
  background: rgba(16, 185, 129, 0.14) !important;
  color: #ecfdf5 !important;
}

.sfij-journey:not(.sfij-project-showcase) .sfij-investment-panel .sfij-form-notice.is-error {
  border-color: rgba(252, 165, 165, 0.24) !important;
  background: rgba(239, 68, 68, 0.14) !important;
  color: #fef2f2 !important;
}

.sfij-journey:not(.sfij-project-showcase) .sfij-investment-panel .sfij-form-card .sfij-eyebrow,
.sfij-journey:not(.sfij-project-showcase) .sfij-investment-panel .sfij-form-card .sfij-form-user,
.sfij-journey:not(.sfij-project-showcase) .sfij-investment-panel .sfij-form-card .sfij-form-user span,
.sfij-journey:not(.sfij-project-showcase) .sfij-investment-panel .sfij-form-card .sfij-form-field span {
  color: rgba(248, 250, 252, 0.74) !important;
}

.sfij-journey:not(.sfij-project-showcase) .sfij-investment-panel .sfij-form-card h3,
.sfij-journey:not(.sfij-project-showcase) .sfij-investment-panel .sfij-form-card .sfij-form-user strong {
  color: #f8fafc !important;
}

.sfij-journey:not(.sfij-project-showcase) .sfij-investment-panel .sfij-user-investments {
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  background: rgba(255, 255, 255, 0.08) !important;
  color: #f8fafc !important;
}

.sfij-journey:not(.sfij-project-showcase) .sfij-investment-panel .sfij-user-investments strong,
.sfij-journey:not(.sfij-project-showcase) .sfij-investment-panel .sfij-user-investments ul,
.sfij-journey:not(.sfij-project-showcase) .sfij-investment-panel .sfij-user-investments li {
  color: #f8fafc !important;
}

.sfij-journey:not(.sfij-project-showcase) .sfij-investment-panel .sfij-form-field input:not([readonly]):not([disabled]),
.sfij-journey:not(.sfij-project-showcase) .sfij-investment-panel .sfij-form-field textarea:not([readonly]):not([disabled]) {
  background: #ffffff !important;
  color: #111827 !important;
  border-color: #d7dde4 !important;
}

.sfij-journey:not(.sfij-project-showcase) .sfij-investment-panel .sfij-form-field input[readonly],
.sfij-journey:not(.sfij-project-showcase) .sfij-investment-panel .sfij-form-field input[disabled],
.sfij-journey:not(.sfij-project-showcase) .sfij-investment-panel .sfij-form-field textarea[readonly],
.sfij-journey:not(.sfij-project-showcase) .sfij-investment-panel .sfij-form-field textarea[disabled] {
  background: #e8edf2 !important;
  color: #334155 !important;
  border-color: #d7dde4 !important;
}

.sfij-journey:not(.sfij-project-showcase) .sfij-investment-panel .sfij-form-field input::placeholder,
.sfij-journey:not(.sfij-project-showcase) .sfij-investment-panel .sfij-form-field textarea::placeholder {
  color: #64748b !important;
}

/* Detailed room premium order and media/viewer pass */
.sfij-journey:not(.sfij-project-showcase) .sfij-media-section {
  margin-bottom: 28px;
  padding: clamp(28px, 3vw, 38px);
  border-radius: 34px;
  border: 1px solid rgba(17, 24, 39, 0.08);
  background:
    radial-gradient(circle at top left, rgba(247, 223, 150, 0.16), transparent 28%),
    linear-gradient(180deg, #fffdfa 0%, #ffffff 100%);
  box-shadow: 0 28px 68px rgba(15, 23, 31, 0.08);
}

.sfij-journey:not(.sfij-project-showcase) .sfij-media-section .sfij-admin-toolbar {
  margin-bottom: 22px;
}

.sfij-journey:not(.sfij-project-showcase) .sfij-media-section .sfij-media-title {
  font-size: clamp(2rem, 3vw, 3rem);
  letter-spacing: -0.05em;
}

.sfij-journey:not(.sfij-project-showcase) .sfij-investment-panel {
  position: relative;
  overflow: hidden;
  padding: clamp(30px, 3.4vw, 42px);
  border-radius: 34px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    radial-gradient(circle at top left, rgba(247, 223, 150, 0.14), transparent 24%),
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.07), transparent 22%),
    linear-gradient(135deg, #0a0e12 0%, #141b23 46%, #1d2732 100%) !important;
  box-shadow: 0 34px 84px rgba(15, 23, 31, 0.2);
}

.sfij-journey:not(.sfij-project-showcase) .sfij-investment-panel::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 5px;
  background: linear-gradient(90deg, rgba(247, 223, 150, 0.95) 0%, rgba(221, 184, 90, 0.92) 46%, rgba(221, 184, 90, 0.18) 100%);
}

.sfij-journey:not(.sfij-project-showcase) .sfij-investment-intro {
  gap: 26px;
  align-items: end;
}

.sfij-journey:not(.sfij-project-showcase) .sfij-investment-intro h3 {
  font-size: clamp(2.2rem, 3.6vw, 3.6rem);
  letter-spacing: -0.055em;
}

.sfij-journey:not(.sfij-project-showcase) .sfij-investment-panel .sfij-summary {
  max-width: 54ch;
  font-size: 1.04rem;
  line-height: 1.78;
}

.sfij-journey:not(.sfij-project-showcase) .sfij-investment-stats {
  gap: 16px;
}

.sfij-journey:not(.sfij-project-showcase) .sfij-investment-stats .sfij-stat {
  min-height: 128px;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.sfij-journey:not(.sfij-project-showcase) .sfij-investment-stats .sfij-stat-label,
.sfij-journey:not(.sfij-project-showcase) .sfij-investment-stats .sfij-stat strong {
  color: #f8fafc !important;
}

.sfij-journey:not(.sfij-project-showcase) .sfij-funding-slider {
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.sfij-journey:not(.sfij-project-showcase) .sfij-investment-grid {
  gap: 22px;
  margin-top: 26px;
}

.sfij-journey:not(.sfij-project-showcase) .sfij-investment-panel .sfij-detail-card {
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, #f8fafc 100%);
  box-shadow: 0 18px 40px rgba(15, 23, 31, 0.09);
}

.sfij-journey:not(.sfij-project-showcase) .sfij-investment-panel .sfij-form-card-premium {
  border-radius: 30px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    radial-gradient(circle at top left, rgba(247, 223, 150, 0.08), transparent 30%),
    linear-gradient(180deg, rgba(20, 27, 34, 0.96) 0%, rgba(27, 36, 45, 0.98) 100%) !important;
  box-shadow: 0 26px 60px rgba(0, 0, 0, 0.22);
}

.sfij-journey:not(.sfij-project-showcase) .sfij-investment-panel .sfij-form-head {
  align-items: start;
  gap: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.sfij-journey:not(.sfij-project-showcase) .sfij-investment-panel .sfij-form-head h3 {
  font-size: clamp(2rem, 3vw, 3rem);
  letter-spacing: -0.05em;
}

.sfij-journey:not(.sfij-project-showcase) .sfij-investment-panel .sfij-form-lead {
  max-width: 50ch;
  margin: 12px 0 0;
  color: rgba(248, 250, 252, 0.74);
  font-size: 1rem;
  line-height: 1.72;
}

.sfij-journey:not(.sfij-project-showcase) .sfij-investment-panel .sfij-form-user {
  min-width: 220px;
  padding: 18px 20px;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.06);
}

.sfij-journey:not(.sfij-project-showcase) .sfij-investment-panel .sfij-form-shell {
  margin-top: 24px;
  padding: 22px;
  border-radius: 26px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
}

.sfij-journey:not(.sfij-project-showcase) .sfij-investment-panel .sfij-return-preview {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 20px;
}

.sfij-journey:not(.sfij-project-showcase) .sfij-investment-panel .sfij-return-card {
  padding: 18px 18px 16px;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.06);
}

.sfij-journey:not(.sfij-project-showcase) .sfij-investment-panel .sfij-return-card span {
  display: block;
  margin-bottom: 10px;
  color: rgba(248, 250, 252, 0.74);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.sfij-journey:not(.sfij-project-showcase) .sfij-investment-panel .sfij-return-card strong {
  color: #f8fafc;
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.08;
}

.sfij-journey:not(.sfij-project-showcase) .sfij-investment-panel .sfij-form-grid {
  gap: 18px;
}

.sfij-journey:not(.sfij-project-showcase) .sfij-investment-panel .sfij-form-field span {
  margin-bottom: 8px;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.sfij-journey:not(.sfij-project-showcase) .sfij-investment-panel .sfij-form-field input,
.sfij-journey:not(.sfij-project-showcase) .sfij-investment-panel .sfij-form-field textarea {
  min-height: 58px;
  border-radius: 18px;
  font-size: 1.08rem;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45);
}

.sfij-journey:not(.sfij-project-showcase) .sfij-investment-panel .sfij-form-field textarea {
  min-height: 174px;
  padding-top: 18px;
}

.sfij-journey:not(.sfij-project-showcase) .sfij-investment-panel .sfij-form-footnote {
  display: grid;
  gap: 6px;
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.sfij-journey:not(.sfij-project-showcase) .sfij-investment-panel .sfij-form-footnote strong {
  color: #f8fafc;
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.sfij-journey:not(.sfij-project-showcase) .sfij-investment-panel .sfij-form-footnote span {
  color: rgba(248, 250, 252, 0.74);
  line-height: 1.7;
}

.sfij-journey:not(.sfij-project-showcase) .sfij-investment-panel .sfij-form-actions {
  margin-top: 22px;
}

.sfij-journey:not(.sfij-project-showcase) .sfij-investment-panel .sfij-form-actions .sfij-cta {
  min-width: 240px;
  min-height: 58px;
  padding: 0 28px;
  border-radius: 999px;
  box-shadow: 0 18px 34px rgba(183, 128, 33, 0.22);
}

.sfij-journey:not(.sfij-project-showcase) .sfij-investment-panel .sfij-user-investments {
  margin-top: 20px;
  border-radius: 24px !important;
  background:
    radial-gradient(circle at right top, rgba(247, 223, 150, 0.08), transparent 24%),
    rgba(255, 255, 255, 0.08) !important;
}

.sfij-journey:not(.sfij-project-showcase) .sfij-funding-slider .sfij-progress-meta,
.sfij-journey:not(.sfij-project-showcase) .sfij-funding-slider .sfij-progress-meta strong,
.sfij-journey:not(.sfij-project-showcase) .sfij-funding-slider .sfij-progress-meta span,
.sfij-journey:not(.sfij-project-showcase) .sfij-funding-slider .sfij-range-labels,
.sfij-journey:not(.sfij-project-showcase) .sfij-funding-slider .sfij-range-labels span {
  color: #f8fafc !important;
}

.sfij-journey:not(.sfij-project-showcase) .sfij-investment-panel .sfij-detail-card .sfij-eyebrow,
.sfij-journey:not(.sfij-project-showcase) .sfij-investment-panel .sfij-detail-card h3,
.sfij-journey:not(.sfij-project-showcase) .sfij-investment-panel .sfij-detail-card .sfij-data-row span,
.sfij-journey:not(.sfij-project-showcase) .sfij-investment-panel .sfij-detail-card .sfij-data-row strong,
.sfij-journey:not(.sfij-project-showcase) .sfij-investment-panel .sfij-detail-card .sfij-checkpoint-list,
.sfij-journey:not(.sfij-project-showcase) .sfij-investment-panel .sfij-detail-card .sfij-checkpoint-list li {
  color: #0f172a !important;
}

.sfij-journey:not(.sfij-project-showcase) .sfij-investment-panel .sfij-detail-card .sfij-eyebrow {
  color: #64748b !important;
}

.sfij-journey:not(.sfij-project-showcase) .sfij-investment-panel .sfij-detail-card .sfij-data-row {
  border-bottom-color: #e2e8f0 !important;
}

.sfij-journey:not(.sfij-project-showcase) .sfij-investment-panel .sfij-detail-card .sfij-checkpoint-list li::marker {
  color: #b88638;
}

.sfij-journey:not(.sfij-project-showcase) .sfij-investment-panel .sfij-progress-meta strong {
  color: #f8fafc !important;
}

.sfij-journey:not(.sfij-project-showcase) .sfij-investment-panel .sfij-progress-meta span {
  color: rgba(248, 250, 252, 0.74) !important;
}

.sfij-journey:not(.sfij-project-showcase) .sfij-investment-panel .sfij-form-card-premium,
.sfij-journey:not(.sfij-project-showcase) .sfij-investment-panel .sfij-form-card-premium h3,
.sfij-journey:not(.sfij-project-showcase) .sfij-investment-panel .sfij-form-card-premium .sfij-form-user strong {
  color: #f8fafc !important;
}

.sfij-journey:not(.sfij-project-showcase) .sfij-investment-panel .sfij-form-card-premium .sfij-eyebrow,
.sfij-journey:not(.sfij-project-showcase) .sfij-investment-panel .sfij-form-card-premium .sfij-form-lead,
.sfij-journey:not(.sfij-project-showcase) .sfij-investment-panel .sfij-form-card-premium .sfij-form-user span,
.sfij-journey:not(.sfij-project-showcase) .sfij-investment-panel .sfij-form-card-premium .sfij-form-field span {
  color: rgba(248, 250, 252, 0.78) !important;
}

.sfij-opportunity-subsection {
  margin-top: 30px;
}

.sfij-completed-showcase .sfij-opportunity-card {
  border-color: rgba(221, 184, 90, 0.22);
  background:
    radial-gradient(circle at top right, rgba(247, 223, 150, 0.16), transparent 26%),
    linear-gradient(180deg, #ffffff 0%, #fffdfa 100%);
}

.sfij-completed-showcase .sfij-opportunity-card .sfij-eyebrow {
  color: #8f6822;
}

.sfij-completed-showcase .sfij-opportunity-card .sfij-cta {
  background: linear-gradient(135deg, #f0d37a 0%, #ddb85a 100%);
  color: #17110b;
  border-color: rgba(221, 184, 90, 0.42);
}

.sfij-completed-showcase .sfij-opportunity-card .sfij-cta:hover,
.sfij-completed-showcase .sfij-opportunity-card .sfij-cta:focus {
  background: linear-gradient(135deg, #f5dc92 0%, #e4c068 100%);
}

.sfij-lightbox {
  padding: 16px;
}

.sfij-lightbox-dialog {
  width: min(1480px, calc(100vw - 32px));
  max-height: calc(100vh - 24px);
  grid-template-columns: 72px minmax(0, 1fr) 72px;
  gap: 18px;
}

.sfij-lightbox-surface {
  border-radius: 30px;
}

.sfij-lightbox-media {
  min-height: min(76vh, 980px);
  max-height: calc(100vh - 122px);
}

.sfij-lightbox-media img,
.sfij-lightbox-media iframe {
  max-height: calc(100vh - 122px);
}

@media (max-width: 980px) {
  .sfij-lightbox-dialog {
    width: min(100vw - 18px, 100%);
    grid-template-columns: 56px minmax(0, 1fr) 56px;
    gap: 10px;
  }

  .sfij-lightbox-media {
    min-height: min(62vh, 720px);
    max-height: calc(100vh - 146px);
  }

  .sfij-lightbox-media img,
  .sfij-lightbox-media iframe {
    max-height: calc(100vh - 146px);
  }

  .sfij-journey:not(.sfij-project-showcase) .sfij-investment-panel .sfij-form-shell {
    padding: 18px;
  }

  .sfij-journey:not(.sfij-project-showcase) .sfij-investment-panel .sfij-return-preview {
    grid-template-columns: 1fr;
  }

}

@media (max-width: 640px) {
  .sfij-journey:not(.sfij-project-showcase) .sfij-media-section,
  .sfij-journey:not(.sfij-project-showcase) .sfij-investment-panel {
    border-radius: 28px;
    padding: 22px;
  }

  .sfij-journey:not(.sfij-project-showcase) .sfij-investment-panel .sfij-form-actions .sfij-cta {
    width: 100%;
  }

  .sfij-lightbox {
    padding: 10px;
  }

  .sfij-lightbox-dialog {
    width: calc(100vw - 20px);
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .sfij-lightbox-arrow {
    position: absolute;
    top: calc(50% - 24px);
    z-index: 3;
  }

  .sfij-lightbox-prev {
    left: 12px;
  }

  .sfij-lightbox-next {
    right: 12px;
  }

  .sfij-lightbox-media {
    min-height: min(54vh, 520px);
    max-height: calc(100vh - 164px);
  }

  .sfij-lightbox-media img,
  .sfij-lightbox-media iframe {
    max-height: calc(100vh - 164px);
  }
}

/* Final detailed-room and document-lightbox overrides */
.sfij-journey:not(.sfij-project-showcase) .sfij-investment-grid {
  align-items: start;
}

.sfij-journey:not(.sfij-project-showcase) .sfij-investment-panel .sfij-detail-card {
  min-height: 0;
}

.sfij-journey:not(.sfij-project-showcase) .sfij-investment-panel .sfij-detail-card .sfij-data-list {
  display: grid;
  gap: 0;
}

.sfij-journey:not(.sfij-project-showcase) .sfij-investment-panel .sfij-detail-card .sfij-data-row {
  border-bottom: 1px solid #e2e8f0;
}

.sfij-journey:not(.sfij-project-showcase) .sfij-investment-panel .sfij-detail-card .sfij-data-row:last-child {
  border-bottom: 0;
}

.sfij-journey:not(.sfij-project-showcase) .sfij-investment-panel .sfij-detail-card,
.sfij-journey:not(.sfij-project-showcase) .sfij-investment-panel .sfij-detail-card h3,
.sfij-journey:not(.sfij-project-showcase) .sfij-investment-panel .sfij-detail-card .sfij-data-row span,
.sfij-journey:not(.sfij-project-showcase) .sfij-investment-panel .sfij-detail-card .sfij-data-row strong,
.sfij-journey:not(.sfij-project-showcase) .sfij-investment-panel .sfij-detail-card .sfij-checkpoint-list,
.sfij-journey:not(.sfij-project-showcase) .sfij-investment-panel .sfij-detail-card .sfij-checkpoint-list li {
  color: #111827 !important;
}

.sfij-journey:not(.sfij-project-showcase) .sfij-investment-panel .sfij-detail-card .sfij-eyebrow {
  color: #64748b !important;
}

.sfij-journey:not(.sfij-project-showcase) .sfij-investment-panel .sfij-form-card-premium .sfij-form-shell {
  background: rgba(255, 255, 255, 0.06);
}

.sfij-journey:not(.sfij-project-showcase) .sfij-investment-panel .sfij-form-card-premium .sfij-form-field input:not([readonly]):not([disabled]),
.sfij-journey:not(.sfij-project-showcase) .sfij-investment-panel .sfij-form-card-premium .sfij-form-field textarea:not([readonly]):not([disabled]) {
  background: #ffffff !important;
  color: #111827 !important;
}

.sfij-journey:not(.sfij-project-showcase) .sfij-investment-panel .sfij-form-card-premium .sfij-form-field input[readonly],
.sfij-journey:not(.sfij-project-showcase) .sfij-investment-panel .sfij-form-card-premium .sfij-form-field input[disabled],
.sfij-journey:not(.sfij-project-showcase) .sfij-investment-panel .sfij-form-card-premium .sfij-form-field textarea[readonly],
.sfij-journey:not(.sfij-project-showcase) .sfij-investment-panel .sfij-form-card-premium .sfij-form-field textarea[disabled] {
  background: #e5e7eb !important;
  color: #475569 !important;
}

.sfij-journey:not(.sfij-project-showcase) .sfij-investment-panel .sfij-form-card-premium .sfij-form-field input::placeholder,
.sfij-journey:not(.sfij-project-showcase) .sfij-investment-panel .sfij-form-card-premium .sfij-form-field textarea::placeholder {
  color: #94a3b8 !important;
}

.sfij-lightbox.is-document .sfij-lightbox-dialog {
  width: min(1600px, calc(100vw - 32px));
}

.sfij-lightbox.is-document .sfij-lightbox-surface {
  background: #0f1720;
}

.sfij-lightbox.is-document .sfij-lightbox-media {
  min-height: min(84vh, 1160px);
  max-height: calc(100vh - 124px);
  background: #0f1720;
}

.sfij-lightbox.is-document .sfij-lightbox-media iframe {
  width: 100%;
  height: min(84vh, 1160px);
  max-height: calc(100vh - 124px);
  background: #ffffff;
}

.sfij-lightbox.is-document .sfij-lightbox-caption {
  color: #f8fafc;
}

.sfij-lightbox.is-document .sfij-lightbox-counter,
.sfij-lightbox.is-document .sfij-lightbox-open {
  color: rgba(248, 250, 252, 0.82);
}

@media (max-width: 980px) {
  .sfij-lightbox.is-document .sfij-lightbox-media,
  .sfij-lightbox.is-document .sfij-lightbox-media iframe {
    min-height: min(72vh, 900px);
    max-height: calc(100vh - 156px);
  }
}

@media (max-width: 640px) {
  .sfij-lightbox.is-document .sfij-lightbox-dialog {
    width: calc(100vw - 20px);
  }

  .sfij-lightbox.is-document .sfij-lightbox-caption {
    gap: 10px;
  }

  .sfij-lightbox.is-document .sfij-lightbox-caption-meta {
    width: 100%;
    justify-content: space-between;
  }

  .sfij-lightbox.is-document .sfij-lightbox-media,
  .sfij-lightbox.is-document .sfij-lightbox-media iframe {
    min-height: min(66vh, 760px);
    max-height: calc(100vh - 188px);
  }
}
