/* ============================================================
   CASE STUDY — Shared structural styles for all case study pages
   Brand accent colours and page-specific components live in
   css/giftlo.css and css/nextbestie.css respectively.
============================================================ */

/* ---- Hero -------------------------------------------------- */
.cs-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 120px 32px 80px;
}

.cs-hero__blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
  opacity: 0.5;
}
.cs-hero__blob--1 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, var(--purple-dark), transparent);
  top: -200px; left: -150px;
}
.cs-hero__blob--2 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, #4F46E5, transparent);
  bottom: -100px; right: -100px;
}

.cs-hero__inner {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 2;
}

/* Back link */
.cs-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  margin-bottom: 36px;
  transition: color 0.2s, gap 0.2s;
}
.cs-back:hover { color: var(--text); gap: 12px; }

/* Badges row */
.cs-hero__badges {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.cs-hero__desc {
  font-size: 17px;
  color: var(--text);
  line-height: 1.75;
  max-width: 460px;
  margin-bottom: 32px;
}

/* Meta */
.cs-meta {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}
.cs-meta__item { display: flex; flex-direction: column; gap: 4px; }
.cs-meta__label {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--text-dim);
}
.cs-meta__value {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
}
.cs-meta__divider {
  width: 1px;
  height: 36px;
  background: var(--border);
  flex-shrink: 0;
}

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

/* Hero visual */
.cs-hero__visual {
  display: flex;
  justify-content: center;
  align-items: center;
}
.cs-hero__mockup-img {
  width: 120%;
  max-width: 680px;
  height: auto;
  display: block;
  margin-left: -10%;
}

/* ---- Mockup Banner ----------------------------------------- */
.cs-mockup-banner {
  padding: 0 32px 80px;
}
.cs-mockup-banner__inner {
  max-width: 1200px;
  margin: 0 auto;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-card), 0 0 40px rgba(255,107,107,0.08);
}
.cs-mockup-banner__img {
  width: 100%;
  height: auto;
  display: block;
}

/* ---- Sections --------------------------------------------- */
.cs-section { padding: 100px 0; }

.cs-section__header {
  text-align: center;
  margin-bottom: 64px;
}
.cs-section__title {
  font-family: var(--font-display);
  font-size: clamp(36px, 4vw, 56px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--text);
  margin: 16px 0 20px;
}
.cs-section__desc {
  font-size: 17px;
  color: var(--text-muted);
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.75;
}

/* ---- Body text -------------------------------------------- */
.cs-body {
  font-size: 17px;
  color: var(--text-muted);
  line-height: 1.85;
  margin-bottom: 20px;
}

/* ---- Problem layout --------------------------------------- */
.cs-problem__layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 64px;
  align-items: start;
  margin-bottom: 56px;
}

/* ---- Pain cards ------------------------------------------- */
.cs-pain-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.cs-pain-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 32px 28px;
  transition: border-color 0.3s var(--ease-out), transform 0.3s var(--ease-out);
}
.cs-pain-card:hover {
  border-color: var(--cs-hover-border, var(--border-glow));
  transform: translateY(-4px);
}
.cs-pain-card__icon {
  width: 48px; height: 48px;
  background: var(--bg-card-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.cs-pain-card h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 10px;
  line-height: 1.35;
}
.cs-pain-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ---- Loop ------------------------------------------------- */
.cs-loop {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: stretch;
  gap: 0;
  max-width: 960px;
  margin: 0 auto;
}
.cs-loop__step {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 36px 28px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  transition: border-color 0.3s, transform 0.3s var(--ease-out);
}
.cs-loop__step:hover {
  border-color: var(--cs-hover-border, var(--border-glow));
  transform: translateY(-4px);
}
.cs-loop__title {
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 12px;
}
.cs-loop__desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
}
.cs-loop__num {
  font-family: var(--font-display);
  font-size: 52px;
  font-weight: 900;
  color: var(--cs-accent, var(--purple));
  opacity: 0.7;
  line-height: 1;
  margin-bottom: 12px;
}
.cs-loop__arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  color: var(--cs-accent, var(--purple));
  opacity: 0.4;
  flex-shrink: 0;
}

/* ---- Features grid ---------------------------------------- */
.cs-features__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.cs-feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 36px;
  position: relative;
  overflow: hidden;
  transition: border-color 0.3s, transform 0.4s var(--ease-out);
}
.cs-feature-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  opacity: 0;
  transition: opacity 0.3s;
}
.cs-feature-card:hover {
  border-color: var(--border-glow);
  transform: translateY(-4px);
}
.cs-feature-card:hover::after { opacity: 1; }

.cs-feature-card--wide { grid-column: span 2; }
.cs-feature-card--wide .cs-feature-card__desc { max-width: 100%; }

.cs-feature-card__icon {
  width: 56px; height: 56px;
  border-radius: var(--radius);
  border: 1px solid;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}
.cs-feature-card__title {
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 12px;
  line-height: 1.3;
}
.cs-feature-card__desc {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.78;
  margin-bottom: 24px;
}
.cs-feature-card__num {
  position: absolute;
  top: 28px; right: 28px;
  font-family: var(--font-display);
  font-size: 40px;
  font-weight: 900;
  color: var(--cs-accent, var(--purple));
  opacity: 0.6;
  line-height: 1;
}
.cs-feature-card__tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  background: var(--bg-card-2);
  border: 1px solid var(--border);
  padding: 4px 12px;
  border-radius: 100px;
}

/* ---- Audience --------------------------------------------- */
.cs-audience__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.cs-audience-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 36px 24px;
  text-align: center;
  transition: border-color 0.3s, transform 0.3s var(--ease-out);
}
.cs-audience-card:hover {
  border-color: var(--border-glow);
  transform: translateY(-4px);
}
.cs-audience-card__emoji {
  font-size: 40px;
  line-height: 1;
  margin-bottom: 20px;
  display: block;
}
.cs-audience-card h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 10px;
  line-height: 1.35;
}
.cs-audience-card p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ---- Download CTA ----------------------------------------- */
.cs-download { padding: 80px 0 0; }
.cs-download__title {
  font-family: var(--font-display);
  font-size: clamp(44px, 5vw, 72px);
  font-weight: 900;
  letter-spacing: -0.03em;
  color: var(--text);
  line-height: 1.1;
  margin: 16px 0 16px;
}
.cs-download__title em {
  font-style: italic;
  color: var(--cs-accent, var(--purple));
}
.cs-download__inner {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 40px;
  padding: 80px 64px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cs-download__inner::before {
  content: '';
  position: absolute;
  top: -1px; left: 10%;
  width: 80%;
  height: 1px;
}
.cs-download__desc {
  font-size: 17px;
  color: var(--text-muted);
  margin-bottom: 36px;
}
.cs-download__stores {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ---- User Persona ----------------------------------------- */
.persona {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 0;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
}

/* Left panel */
.persona__left {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 48px 36px;
  border-right: 1px solid var(--border);
  background: var(--bg-card-2);
  gap: 0;
}

.persona__avatar {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid var(--persona-accent, var(--purple-light));
  box-shadow: 0 0 0 6px rgba(var(--purple-rgb), 0.1);
  flex-shrink: 0;
  margin-bottom: 20px;
}
.persona__avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }

.persona__name {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 800;
  color: var(--text);
  line-height: 1.15;
  margin-bottom: 6px;
}

.persona__role {
  font-size: 13px;
  color: var(--persona-accent, var(--purple-light));
  font-weight: 600;
  margin-bottom: 24px;
}

.persona__divider {
  width: 100%;
  height: 1px;
  background: var(--border);
  margin-bottom: 24px;
}

.persona__details {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
  text-align: left;
}
.persona__details li {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}
.persona__details li svg {
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--persona-accent, var(--purple-light));
  opacity: 0.8;
}
.persona__details li strong { color: var(--text); font-weight: 600; }

.persona__badge {
  margin-top: 20px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--persona-accent, var(--purple-light));
  background: rgba(var(--purple-rgb), 0.1);
  border: 1px solid rgba(var(--purple-rgb), 0.2);
  padding: 6px 14px;
  border-radius: 100px;
}

/* Right panel */
.persona__right {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--border);
}

.persona__card {
  background: var(--bg-card);
  padding: 28px 30px;
  --card-accent: var(--purple-light);
}

/* Card accent colours */
.persona__card--interests  { --card-accent: #60A5FA; }
.persona__card--motivations { --card-accent: var(--purple-light); }
.persona__card--pain        { --card-accent: #FB923C; }
.persona__card--needs       { --card-accent: #34D399; }

.persona__card-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.persona__card-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: color-mix(in srgb, var(--card-accent) 15%, transparent);
  color: var(--card-accent);
  flex-shrink: 0;
}

.persona__card-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--card-accent);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.persona__card ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.persona__card ul li {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.6;
  padding-left: 14px;
  position: relative;
}
.persona__card ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--card-accent);
  opacity: 0.7;
}

/* ---- Responsive ------------------------------------------- */
@media (max-width: 1024px) {
  .cs-hero { padding: 100px 20px 60px; min-height: auto; align-items: flex-start; }
  .cs-hero__inner { grid-template-columns: 1fr; gap: 48px; }
  .cs-hero__visual { display: none; }
  .cs-hide-mobile { display: none; }
  .cs-problem__layout { grid-template-columns: 1fr; gap: 36px; }
  .cs-pain-cards { grid-template-columns: 1fr; gap: 16px; }
  .cs-loop { grid-template-columns: 1fr; }
  .cs-loop__arrow { transform: rotate(90deg); justify-self: center; padding: 8px 0; }
  .cs-research__layout { grid-template-columns: 1fr; }
  .cs-journey { grid-template-columns: 1fr; }
  .cs-journey__arrow { transform: rotate(90deg); justify-self: center; }
  .cs-features__grid { grid-template-columns: 1fr; }
  .cs-decisions__grid { grid-template-columns: 1fr; }
  .cs-decision-card { grid-template-columns: 1fr; gap: 8px; }
  .cs-decision-card__arrow { display: none; }
  .cs-decision-card--wide { grid-column: span 1; }
  .cs-feedback__grid { grid-template-columns: 1fr; }
  .cs-quotes { grid-template-columns: 1fr; }
  .cs-feature-card--wide { grid-column: span 1; }
  .cs-audience__grid { grid-template-columns: repeat(2, 1fr); }
  .cs-download__inner { padding: 56px 40px; }
  .persona { grid-template-columns: 220px 1fr; }
  .persona__left { padding: 36px 24px; }
  .persona__avatar { width: 110px; height: 110px; }
}

@media (max-width: 768px) {
  .cs-mockup-banner { padding: 0 20px 60px; }
  .cs-section { padding: 72px 0; }
  .cs-meta { gap: 14px; }
  .cs-loop { gap: 0; }
  .cs-audience__grid { grid-template-columns: 1fr; }
  .cs-download__inner { padding: 48px 28px; border-radius: 28px; }
  .persona { grid-template-columns: 1fr; }
  .persona__left { border-right: none; border-bottom: 1px solid var(--border); flex-direction: row; text-align: left; align-items: flex-start; gap: 24px; padding: 28px; flex-wrap: wrap; }
  .persona__avatar { width: 90px; height: 90px; margin-bottom: 0; }
  .persona__divider { display: none; }
  .persona__card { padding: 22px 20px; }
}

@media (max-width: 480px) {
  .persona__left { flex-direction: column; align-items: center; text-align: center; }
  .persona__right { grid-template-columns: 1fr; }
}

/* ============================================================
   LIGHTWEIGHT PROJECT PAGES — shared showcase & info styles
   Used by some.html and saife-store.html
============================================================ */

/* ---- 3-image showcase grid --------------------------------- */
.pg-showcase {
  padding: 0 32px 80px;
}
.pg-showcase__inner {
  max-width: 1200px;
  margin: 0 auto;
}
.pg-showcase__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 12px;
}
.pg-showcase__item {
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg-card);
  height: 420px;
}
.pg-showcase__item:nth-child(3) {
  grid-column: 1 / -1;
  height: 620px;
}
.pg-showcase__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.5s var(--ease-out);
}
.pg-showcase__item:hover img { transform: scale(1.04); }

/* ---- Features + Tech info section ------------------------- */
.pg-info {
  padding: 96px 0;
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.pg-info__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px 80px;
  align-items: start;
}
.pg-info__heading {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-dim);
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
}
.pg-tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
}
.pg-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  transition: border-color 0.25s ease, color 0.25s ease;
}

/* ---- Feature list — stacked card rows --------------------- */
.pg-tag-list--features {
  flex-direction: column;
  gap: 8px;
}
.pg-tag-list--features .pg-tag {
  border-radius: 12px;
  padding: 14px 18px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  width: 100%;
  gap: 14px;
}
.pg-tag-list--features .pg-tag svg {
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  padding: 7px;
  border-radius: 8px;
  box-sizing: border-box;
  background: rgba(255,255,255,0.06);
}

/* ---- Other Projects --------------------------------------- */
.other-projects { padding: 80px 0 96px; }
.other-projects__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 40px;
}
.other-projects__title {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  color: var(--text);
}
.other-projects__back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
  border: 1px solid var(--border);
  background: var(--bg-card);
  text-decoration: none;
  transition: color 0.2s, border-color 0.2s;
}
.other-projects__back:hover { color: var(--text); border-color: var(--purple); }
.other-projects__list { display: flex; flex-direction: column; gap: 16px; }
.other-projects__item {
  display: flex;
  align-items: center;
  gap: 36px;
  padding: 24px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  text-decoration: none;
  transition: border-color 0.25s;
  overflow: hidden;
}
.other-projects__item:hover { border-color: rgba(var(--purple-rgb), 0.4); }
.other-projects__thumb {
  width: 260px;
  height: 168px;
  border-radius: var(--radius);
  overflow: hidden;
  flex-shrink: 0;
}
.other-projects__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}
.other-projects__item:hover .other-projects__img { transform: scale(1.06); }
.other-projects__info { flex: 1; min-width: 0; }
.other-projects__name {
  font-size: 22px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 10px;
}
.other-projects__desc {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ---- Contribution grid (mini case studies) ----------------- */
.cs-contribution-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  max-width: 900px;
  margin: 0 auto;
}
.cs-contribution-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 22px;
  transition: border-color 0.25s, transform 0.25s var(--ease-out);
}
.cs-contribution-item:hover {
  border-color: var(--mcs-a40, var(--border-glow));
  transform: translateY(-2px);
}
.cs-contribution-icon {
  width: 40px; height: 40px;
  border-radius: var(--radius-sm);
  background: var(--mcs-a12, var(--bg-card-2));
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--mcs-accent, var(--purple));
}
.cs-contribution-item h4 {
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
}
.cs-contribution-item p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0;
}

/* ---- Learnings list (mini case studies) -------------------- */
.cs-learnings {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
}
.cs-learning-item {
  display: flex;
  gap: 32px;
  align-items: flex-start;
  padding: 32px 0;
  border-bottom: 1px solid var(--border);
}
.cs-learning-item:last-child { border-bottom: none; }
.cs-learning-num {
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 900;
  color: var(--mcs-accent, var(--cs-accent, var(--purple)));
  opacity: 0.5;
  line-height: 1;
  flex-shrink: 0;
  width: 60px;
}
.cs-learning-item h4 {
  font-size: 17px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
}
.cs-learning-item p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.75;
  margin: 0;
}

/* ---- Brand title & tagline ---------------------------------- */
.cs-hero__title {
  font-family: var(--font-display);
  font-size: clamp(42px, 5.5vw, 72px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--text);
  margin-bottom: 12px;
}
.cs-hero__tagline {
  font-family: var(--font-display);
  font-size: clamp(18px, 2vw, 26px);
  font-style: italic;
  font-weight: 400;
  color: var(--cs-accent, var(--purple));
  margin-bottom: 20px;
}

.cs-outcome__grid {
  display: grid;
  gap: 20px;
}
.cs-outcome-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  transition: border-color 0.3s, transform 0.3s var(--ease-out);
}
.cs-outcome-item:hover {
  border-color: var(--cs-hover-border, var(--border-glow));
  transform: translateY(-4px);
}
.cs-outcome-item__icon {
  width: 48px; height: 48px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cs-accent, var(--purple));
  margin-bottom: 20px;
}
.cs-outcome-item h4 {
  font-weight: 700;
  color: var(--text);
  margin-bottom: 10px;
}
.cs-outcome-item p {
  color: var(--text-muted);
  line-height: 1.7;
}

.cs-section--alt {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.cs-quotes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 40px;
}
.cs-quote-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: border-color 0.3s, transform 0.3s var(--ease-out);
}
.cs-quote-card:hover {
  border-color: var(--cs-hover-border, var(--border-glow));
  transform: translateY(-4px);
}
.cs-quote-card__mark {
  font-family: var(--font-display);
  font-size: 52px;
  line-height: 0.9;
  color: var(--cs-accent, var(--purple));
  opacity: 0.35;
}
.cs-quote-card__text {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.78;
  flex: 1;
}
.cs-quote-card__author {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  margin-top: auto;
}
.cs-quote-card__avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 800;
  color: var(--cs-accent, var(--purple));
  flex-shrink: 0;
}
.cs-quote-card__name {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
}
.cs-quote-card__meta {
  display: block;
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 2px;
}

.cs-feedback__grid {
  display: grid;
  gap: 20px;
}
.cs-feedback-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 32px 28px;
  transition: border-color 0.3s, transform 0.3s var(--ease-out);
}
.cs-feedback-card:hover {
  border-color: var(--cs-hover-border, var(--border-glow));
  transform: translateY(-4px);
}
.cs-feedback-card__num {
  font-family: var(--font-display);
  font-size: 40px;
  font-weight: 900;
  color: var(--cs-accent, var(--purple));
  opacity: 0.5;
  line-height: 1;
  margin-bottom: 16px;
}
.cs-feedback-card p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.75;
}
.cs-feedback-card strong { color: var(--text); font-weight: 700; }

.cs-decisions__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin: 0 auto;
}
.cs-decision-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 28px 32px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 20px;
  align-items: center;
  transition: border-color 0.3s, transform 0.3s var(--ease-out);
}
.cs-decision-card:hover {
  border-color: var(--cs-hover-border, var(--border-glow));
  transform: translateY(-4px);
}
.cs-decision-card--wide { grid-column: span 2; }
.cs-decision-card__choice {
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
}
.cs-decision-card__arrow {
  font-size: 20px;
  color: var(--cs-accent, var(--purple));
  opacity: 0.6;
  font-weight: 300;
}
.cs-decision-card__reason {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

.cs-journey {
  display: grid;
  align-items: stretch;
  overflow-x: auto;
  padding: 10px 2px 8px;
}
.cs-journey__step {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: border-color 0.3s, transform 0.3s var(--ease-out);
}
.cs-journey__step:hover {
  border-color: var(--cs-hover-border, var(--border-glow));
  transform: translateY(-4px);
}
.cs-journey__num {
  font-family: var(--font-display);
  font-weight: 900;
  color: var(--cs-accent, var(--purple));
  opacity: 0.6;
  line-height: 1;
  margin-bottom: 8px;
}
.cs-journey__step h4 {
  font-weight: 700;
  color: var(--text);
}
.cs-journey__step p {
  color: var(--text-muted);
}
.cs-journey__arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cs-accent, var(--purple));
  opacity: 0.4;
  flex-shrink: 0;
}

.cs-survey-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 36px 40px;
}
.cs-survey-card__header {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 32px;
}
.cs-survey-card__title {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 800;
  color: var(--text);
}
.cs-survey-card__meta {
  font-size: 12px;
  font-weight: 500;
  color: var(--text-muted);
}
.cs-survey-stats {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.cs-survey-stat__top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 8px;
}
.cs-survey-stat__label {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
}
.cs-survey-stat__pct {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 800;
  color: var(--cs-accent, var(--purple));
  flex-shrink: 0;
}
.cs-survey-stat__track {
  height: 5px;
  border-radius: 100px;
  overflow: hidden;
}
.cs-survey-stat__fill {
  height: 100%;
  border-radius: 100px;
}
.cs-survey-card__footnote {
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

.cs-insight-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--border);
}
.cs-insight-item:last-child { border-bottom: none; }
.cs-insight-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cs-accent, var(--purple));
  margin-top: 7px;
  flex-shrink: 0;
}
.cs-insight-item p {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.7;
}

.cs-research__layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
@media (max-width: 1024px) {
  .cs-research__layout { grid-template-columns: 1fr; }
}
.cs-subsection-title {
  font-size: 12px;
  font-weight: 700;
  color: var(--cs-accent, var(--purple));
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 24px;
}

.cs-quote {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.2vw, 30px);
  font-style: italic;
  font-weight: 700;
  color: var(--text);
  line-height: 1.45;
  padding-left: 24px;
  border-left: 3px solid var(--cs-accent, var(--purple));
  margin: 0;
  align-self: center;
}

/* ---- Framed image blocks (journey map / wireframes) -------- */
.cs-journey-map,
.cs-wireframes {
  margin-top: 40px;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
}
.cs-journey-map__img,
.cs-wireframes__img {
  display: block;
  width: 100%;
  height: auto;
}

/* ---- Responsive ------------------------------------------- */
@media (max-width: 1024px) {
  .pg-showcase__item { height: 260px; }
  .pg-showcase__item:nth-child(3) { height: 300px; }
  .pg-info__inner { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 768px) {
  .cs-contribution-grid { grid-template-columns: 1fr; }
  .cs-learning-num { font-size: 36px; width: 48px; }
  .cs-learning-item { gap: 20px; }
}
@media (max-width: 640px) {
  .other-projects__item { flex-direction: column; align-items: flex-start; gap: 20px; }
  .other-projects__thumb { width: 100%; height: 200px; }
}
@media (max-width: 640px) {
  .pg-showcase { padding: 0 20px 60px; }
  .pg-showcase__grid { grid-template-columns: 1fr; }
  .pg-showcase__item { height: 220px; }
  .pg-showcase__item:nth-child(3) { grid-column: span 1; height: 220px; }
}
@media (max-height: 860px) and (min-width: 1025px) {
  .cs-hero { padding: 90px 32px 60px; }
  .cs-hero__title { font-size: clamp(36px, 4vw, 56px); }
}
