/* ============================================================
   LUCY MOU PORTFOLIO — styles.css
   Shared stylesheet for all pages.
   ============================================================ */

/* ============================================================
   DESIGN TOKENS
   ============================================================ */
:root {
  --bg:         #EDF3FD;
  --surface:    #FFFFFF;
  --ink:        #0D0F1A;
  --ink-soft:   #636675;
  --ink-xsoft:  #A4A7B5;
  --blue:       #3755FF;
  --blue-hover: rgba(55, 85, 255, 0.03);
  --blue-tag:   rgba(55, 85, 255, 0.07);
  --rule:       #D0D9F0;
  --nav-bg:     rgba(237, 243, 253, 0.88);
  --nav-h:      64px;
  --ease:       cubic-bezier(0.4, 0, 0.2, 1);
  --error:      #D6493F;
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Manrope', sans-serif;
  background: var(--bg);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a   { color: inherit; text-decoration: none; }

/* ============================================================
   NAVIGATION — sticky with backdrop blur
   ============================================================ */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 64px;
  height: var(--nav-h);
  background: var(--nav-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s var(--ease);
}

.nav.scrolled { border-bottom-color: var(--rule); }

.nav__name {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--ink);
}

.nav__links {
  display: flex;
  gap: 36px;
  list-style: none;
}

.nav__links a {
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-soft);
  transition: color 0.15s var(--ease);
}

.nav__links a:hover { color: var(--ink); }

/* ============================================================
   SHARED SECTION LABEL
   ============================================================ */
.section-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue);
}

.section-header {
  text-align: center;
  padding: 64px 64px 32px;
}

/* ============================================================
   CASE STUDY CARDS — horizontal stacked list
   ============================================================ */
.cards-list {
  padding: 0 64px;
  display: flex;
  flex-direction: column;
}

.card {
  display: grid;
  grid-template-columns: 44% 1fr;
  border-top: 1px solid var(--rule);
  text-decoration: none;
  color: inherit;
  transition: background 0.2s var(--ease);
  cursor: pointer;
}

.cards-list .card:last-child { border-bottom: 1px solid var(--rule); }
.card:hover                  { background: var(--blue-hover); }

.card__img-wrap {
  height: 340px;
  overflow: hidden;
  background: var(--bg);
  transition: background 0.2s var(--ease);
}

.card:hover .card__img-wrap { background: transparent; }

.card__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  transition: transform 0.45s ease;
}

.card:hover .card__img-wrap img { transform: scale(1.03); }

.card__body {
  padding: 40px 0 40px 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
}

.card__title {
  font-size: 26px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.card__outcome {
  font-size: 14px;
  font-weight: 400;
  line-height: 1.75;
  color: var(--ink-soft);
  max-width: 480px;
}

.card__tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 2px;
}

.card__tag {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
  background: var(--blue-tag);
  border-radius: 4px;
  padding: 3px 9px;
}

.card__cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--blue);
  margin-top: 4px;
  transition: gap 0.2s var(--ease);
}

.card:hover .card__cta   { gap: 10px; }

.card__cta-arrow { transition: transform 0.2s var(--ease); }
.card:hover .card__cta-arrow { transform: translateX(3px); }

/* -- Disabled / "coming soon" card -- */
.card--soon                       { cursor: default; }
.card--soon:hover                 { background: transparent; }
.card--soon:hover .card__img-wrap { background: var(--bg); }
.card--soon:hover .card__img-wrap img { transform: none; }

.card__cta--soon { color: var(--ink-soft); }

/* ============================================================
   STRENGTHS — 3 columns
   ============================================================ */
.strengths-section {
  padding: 72px 64px 80px;
}

.strengths-header {
  text-align: center;
  margin-bottom: 48px;
}

.strengths-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  max-width: 1080px;
  margin: 0 auto;
}

.strength-item {
  padding: 0 40px;
  border-right: 1px solid var(--rule);
}

.strength-item:last-child { border-right: none; }

.strength-title {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--ink);
  line-height: 1.3;
  margin-bottom: 10px;
}

.strength-desc {
  font-size: 13px;
  font-weight: 400;
  line-height: 1.7;
  color: var(--ink-soft);
}

/* ============================================================
   CONTACT SECTION
   ============================================================ */
.contact-section {
  padding: 72px 64px 80px;
  border-top: 1px solid var(--rule);
  text-align: center;
}

.contact-eyebrow { display: block; margin-bottom: 16px; }

.contact-heading {
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--ink);
  margin-bottom: 12px;
}

.contact-sub {
  font-size: 14px;
  font-weight: 400;
  line-height: 1.7;
  color: var(--ink-soft);
  max-width: 420px;
  margin: 0 auto 28px;
}

.contact-links {
  display: flex;
  justify-content: center;
  gap: 10px;
}

.contact-btn {
  display: inline-flex;
  align-items: center;
  padding: 10px 20px;
  border-radius: 6px;
  font-family: 'Manrope', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-decoration: none;
  transition: all 0.15s var(--ease);
}

.contact-btn--primary {
  background: var(--blue);
  color: #fff;
  border: 1.5px solid var(--blue);
}

.contact-btn--primary:hover { opacity: 0.9; }

.contact-btn--secondary {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--rule);
}

.contact-btn--secondary:hover {
  border-color: var(--ink-soft);
  background: rgba(13, 15, 26, 0.05);
}

/* ============================================================
   SITE FOOTER — icon only
   ============================================================ */
.site-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 28px 64px;
  border-top: 1px solid var(--rule);
  background: var(--bg);
}

.footer-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-soft);
  transition: color 0.15s var(--ease);
}

.footer-icon:hover { color: var(--ink); }

.footer-copy {
  font-size: 12px;
  font-weight: 500;
  color: var(--ink-soft);
  letter-spacing: 0.01em;
  margin-right: auto;
}

.site-footer--cs {
  justify-content: space-between;
}

.footer-icons {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* ============================================================
   RESPONSIVE — 1280px
   ============================================================ */
@media (max-width: 1280px) {
  .nav                { padding: 0 48px; }
  .cards-list         { padding: 0 48px; }
  .strengths-section  { padding: 64px 48px 72px; }
  .contact-section    { padding: 64px 48px 72px; }
  .section-header     { padding: 56px 48px 28px; }
  .site-footer        { padding: 28px 48px; }
}

/* ============================================================
   RESPONSIVE — 768px (tablet)
   ============================================================ */
@media (max-width: 768px) {
  :root { --nav-h: 56px; }

  .nav         { padding: 0 24px; }
  .nav__links  { gap: 20px; }

  .section-header { padding: 48px 24px 24px; }
  .cards-list     { padding: 0 24px; }

  .card { grid-template-columns: 1fr; }
  .card__img-wrap { height: 220px; }
  .card__body     { padding: 24px 24px 28px; }

  .strengths-section { padding: 48px 24px 56px; }

  .strengths-row {
    grid-template-columns: 1fr;
    max-width: 100%;
    gap: 32px;
  }

  .strength-item {
    padding: 0 0 32px;
    border-right: none;
    border-bottom: 1px solid var(--rule);
  }

  .strength-item:last-child { border-bottom: none; padding-bottom: 0; }

  .contact-section { padding: 48px 24px 56px; }
  .site-footer     { padding: 24px; }
}

/* ============================================================
   RESPONSIVE — 375px (mobile)
   ============================================================ */
@media (max-width: 375px) {
  .nav__name   { font-size: 13px; }
  .nav__links a { font-size: 12px; }
  .nav__links  { gap: 16px; }
  .card__title { font-size: 22px; }
  .contact-links { flex-direction: column; align-items: center; }
}


/* ============================================================
   CASE STUDY — shared across all case study pages
   ============================================================ */

/* -- Reading progress bar -- */
.progress-bar {
  position: fixed;
  top: var(--nav-h);
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--blue);
  z-index: 200;
  transition: width 0.08s linear;
}

/* -- Layout containers -- */
.w      { max-width: 720px; margin: 0 auto; padding: 0 32px; }
.w-wide { max-width: 1100px; margin: 0 auto; padding: 0 32px; }

/* -- Scoped typography -- */
main h2     { font-size: 22px; font-weight: 700; letter-spacing: -0.02em; color: var(--ink); margin: 0 0 20px; line-height: 1.3; }
main h3     { font-size: 15px; font-weight: 700; letter-spacing: -0.005em; color: var(--ink); margin: 36px 0 10px; }
main p      { font-size: 15px; line-height: 1.85; color: var(--ink-soft); margin: 0 0 16px; }
main ul     { padding-left: 20px; margin: 0 0 16px; }
main li     { font-size: 15px; line-height: 1.85; color: var(--ink-soft); margin-bottom: 8px; }
main strong { font-weight: 600; color: var(--ink); }

/* ── HERO ── */
.cs-hero {
  background: var(--bg);
  padding: 32px 0 32px;
}

.cs-hero__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 12px;
}

.cs-hero__tag {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
  background: var(--blue-tag);
  border-radius: 4px;
  padding: 3px 9px;
}

.cs-hero__title {
  font-size: 36px;
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.1;
  color: var(--ink);
  margin-bottom: 16px;
}

.cs-hero__sub {
  font-size: 16px;
  font-weight: 400;
  color: var(--ink-soft);
  line-height: 1.6;
  max-width: 480px;
  margin: 0;
}

/* ── Hero metadata grid (My Role) ── */
.cs-hero-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px 40px;
  margin-top: 32px;
  padding-top: 28px;
  border-top: 1px solid var(--rule);
}

.cs-hero-meta__label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink);
  display: block;
  margin-bottom: 5px;
}

.cs-hero-meta__text {
  font-size: 12px;
  color: var(--ink-soft);
  line-height: 1.6;
}

/* ── Hero image — full bleed ── */
.img-hero {
  width: 100%;
  height: 560px;
  background: #C8D3F8;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: rgba(55, 85, 255, 0.45);
  font-family: 'Manrope', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-align: center;
  padding: 0 48px;
}

.img-hero svg { opacity: 0.35; }
.img-hero img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ── Image placeholders ── */
.img-ph {
  width: 100%;
  background: rgba(237, 243, 253, 0.7);
  border: 1.5px dashed var(--rule);
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--ink-soft);
  font-family: 'Manrope', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.03em;
  line-height: 1.6;
  gap: 10px;
  padding: 24px;
  box-sizing: border-box;
}

.img-ph svg { opacity: 0.28; }

/* ── Sections ── */
.cs-section        { padding: 80px 0; background: #FFFFFF; }
.cs-section--tint  { padding: 80px 0; background: var(--bg); }
.cs-section--sm    { padding: 48px 0; background: #FFFFFF; }
.cs-section--next  { padding-top: 48px; padding-bottom: 80px; background: #FFFFFF; }
.cs-section--border-top { border-top: 1px solid var(--rule); }

/* ── Chapter label ── */
.chapter-label {
  display: block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 24px;
}

/* ── "Next project" eyebrow ── */
.cs-next-label {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--ink-soft);
  display: block;
  margin-bottom: 20px;
}

/* ── Executive summary ── */
.cs-exec-summary {
  font-size: 17px;
  font-weight: 400;
  line-height: 1.9;
  color: var(--ink);
  border-left: 3px solid var(--blue);
  padding-left: 24px;
  margin: 0;
}

/* ── My Role row (kept for potential reuse on other case studies) ── */
.cs-role-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--rule);
  padding-top: 24px;
}

.cs-role-row__item { padding-right: 32px; }

.cs-role-row__item + .cs-role-row__item {
  padding-left: 32px;
  border-left: 1px solid var(--rule);
}

.cs-role-row__label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink);
  display: block;
  margin-bottom: 8px;
}

.cs-role-row__text {
  font-size: 13px;
  color: var(--ink-soft);
  line-height: 1.65;
}

/* ── Research finding callout ── */
.callout {
  background: rgba(55, 85, 255, 0.04);
  border-left: 3px solid var(--blue);
  border-radius: 0 8px 8px 0;
  padding: 28px 32px;
  margin: 0 0 32px;
}

.callout-label {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--blue);
  display: block;
  margin-bottom: 10px;
}

.callout p { font-size: 14px; line-height: 1.75; margin: 0; }

/* ── Pull quote — no borders ── */
.pullquote {
  padding: 24px 0 52px;
  margin: 24px 0 0;
}

.pullquote__text {
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.65;
  color: var(--ink);
  margin: 0;
}

.pullquote__text em { color: var(--blue); font-style: normal; }

main p em { color: var(--blue); font-style: normal; }

/* ── Strategic framework label ── */
.framework-label {
  display: block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 16px;
}

/* ── Elevated highlight card — strategic framework, PM debate ── */
.cs-highlight-card {
  background: rgba(55, 85, 255, 0.04);
  border: 1px solid rgba(55, 85, 255, 0.15);
  border-radius: 10px;
  padding: 32px;
  margin-top: 32px;
}

.cs-highlight-card h3 {
  margin-top: 0;
  margin-bottom: 16px;
}

.cs-highlight-card > *:last-child { margin-bottom: 0; }

.cs-highlight-card .img-ph { margin-top: 20px; }

/* ── Flow strips ── */
.flow-group { margin-top: 40px; }
.flow-group + .flow-group { margin-top: 32px; }

.flow-group-label {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--blue);
  display: block;
  margin-bottom: 12px;
  padding: 0 32px;
}

/* Full-width flow section — no max-width cap */
.flow-section {
  width: 100%;
  overflow: hidden;
}

.flow-strip {
  display: flex;
  align-items: flex-start;
  overflow-x: auto;
  padding: 0 32px 16px;
  -ms-overflow-style: none;
  scrollbar-width: none;
  gap: 0;
}

.flow-strip::-webkit-scrollbar { display: none; }

.flow-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  flex-shrink: 0;
}

/* Real image container — height fixed, width follows aspect ratio */
.flow-item__img-wrap {
  height: 280px;
  border-radius: 10px;
  border: 1px solid var(--rule);
  overflow: hidden;
  background: #fff;
  flex-shrink: 0;
}

.flow-item__img-wrap img {
  height: 100%;
  width: auto;
  display: block;
  object-fit: cover;
}

/* Placeholder screen — used when real images not yet available */
.flow-item__screen {
  width: 440px;
  height: 280px;
  border-radius: 10px;
  border: 1px solid var(--rule);
  background: #FFFFFF;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-family: 'Manrope', sans-serif;
  font-size: 11px;
  font-weight: 600;
  color: var(--ink-soft);
  line-height: 1.6;
  padding: 20px;
  flex-shrink: 0;
  gap: 6px;
}

.flow-item__screen small {
  font-size: 10px;
  font-weight: 500;
  opacity: 0.55;
  display: block;
  margin-top: 6px;
}

.flow-item__screen img { width: 100%; height: 100%; object-fit: cover; border-radius: 9px; }

.flow-label {
  font-size: 10px;
  font-weight: 600;
  color: var(--ink-soft);
  text-align: left;
  margin-top: 10px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.flow-arrow {
  flex-shrink: 0;
  padding: 0 12px;
  color: var(--blue);
  font-size: 20px;
  align-self: center;
  margin-bottom: 28px;
}

/* ── Before/After comparison ── */
.flow-compare-wrap {
  padding: 40px 0 0;
}

.flow-workflow-group {
  padding: 0 32px;
}

.flow-workflow-group + .flow-workflow-group {
  margin-top: 48px;
}

/* Breakout: strip escapes the group's 32px padding, uses its own */
.flow-workflow-group .flow-strip {
  margin-left: -32px;
  margin-right: -32px;
}

.flow-workflow-group--after {
  margin-top: 48px;
  padding-top: 48px;
}

.flow-workflow-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.flow-workflow-badge {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-soft);
  background: rgba(13, 15, 26, 0.06);
  border-radius: 4px;
  padding: 3px 9px;
  flex-shrink: 0;
}

.flow-workflow-badge--after {
  color: var(--blue);
  background: var(--blue-tag);
}

.flow-workflow-context {
  font-size: 12px;
  color: var(--ink-soft);
  font-style: italic;
}

/* Shared grid base */
.flow-img-grid {
  display: grid;
  gap: 12px;
}

.flow-img-grid--5 { grid-template-columns: repeat(5, 1fr); }
.flow-img-grid--3 { grid-template-columns: repeat(3, 1fr); }

.flow-img-item {
  display: flex;
  flex-direction: column;
}

/* Before: fixed-height screenshot cells */
.flow-img-fixed {
  height: 260px;
  border-radius: 8px;
  border: 1px solid var(--rule);
  overflow: hidden;
  background: #fff;
}

.flow-img-fixed img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top left;
  display: block;
}

/* Time gap card — sits inline in the scroll strip as a pseudo-screen */
.flow-time-card {
  width: 160px;
  height: 280px;
  flex-shrink: 0;
  border-radius: 10px;
  border: 1.5px dashed rgba(55, 85, 255, 0.3);
  background: rgba(55, 85, 255, 0.03);
  display: flex;
  align-items: center;
  justify-content: center;
}

.flow-time-card__text {
  font-size: 12px;
  font-weight: 600;
  color: var(--blue);
  text-align: center;
  line-height: 1.7;
  letter-spacing: -0.01em;
}

/* After: right-45% crop to show drawer in context */
/* Math: 1440×900 image → container 337px wide × 460px tall
   → image scales to 736×460px → rightmost 337px = 45.8% of original ✓ */
.flow-after-crop {
  height: 460px;
  border-radius: 8px;
  border: 1px solid var(--rule);
  overflow: hidden;
  background: #fff;
}

.flow-after-crop img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right top;
  display: block;
}

.flow-img-name {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink);
  margin-top: 10px;
  margin-bottom: 3px;
}

.flow-img-caption {
  font-size: 12px;
  color: var(--ink-soft);
  line-height: 1.5;
}

@media (max-width: 768px) {
  .flow-img-grid--5 { grid-template-columns: repeat(2, 1fr); }
  .flow-img-grid--3 { grid-template-columns: 1fr; }
  .flow-img-fixed   { height: 200px; }
  .flow-time-card   { height: 200px; }
  .flow-after-crop  { height: 340px; }
  .flow-workflow-group { padding: 0 24px; }
}

@media (max-width: 480px) {
  .flow-img-grid--5 { grid-template-columns: 1fr; }
  .flow-img-grid--3 { grid-template-columns: 1fr; }
}

/* ── Redesign result card ── */
.cs-metric-card {
  background: rgba(55, 85, 255, 0.04);
  border: 1px solid rgba(55, 85, 255, 0.15);
  border-radius: 10px;
  padding: 32px;
}

.cs-metric-card__inner {
  display: flex;
  align-items: center;
  justify-content: center;
}

.cs-metric__stat {
  flex: 1;
  text-align: center;
  padding: 0 24px;
}

.cs-metric__number {
  font-size: 44px;
  font-weight: 800;
  color: var(--blue);
  line-height: 1;
  letter-spacing: -0.03em;
}

.cs-metric__sub {
  font-size: 12px;
  color: var(--ink-soft);
  margin-top: 8px;
  line-height: 1.5;
}

.cs-metric__arrow {
  flex-shrink: 0;
  padding: 0 8px;
  font-size: 24px;
  font-weight: 300;
  color: var(--ink-soft);
  line-height: 1;
  align-self: center;
  margin-bottom: 28px;
}

/* ── Impact stats — no dividers ── */
.cs-impact-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0 40px;
  margin: 0 0 40px;
}

.cs-impact-stat { padding-right: 0; }

.cs-impact-stat + .cs-impact-stat { padding-left: 0; }

.cs-impact-number {
  font-size: 48px;
  font-weight: 800;
  color: var(--blue);
  line-height: 1;
  letter-spacing: -0.04em;
  margin-bottom: 8px;
}

.cs-impact-desc {
  font-size: 13px;
  color: var(--ink-soft);
  line-height: 1.55;
}

/* ── Impact qualitative items — no top divider ── */
.cs-impact-qual {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px 40px;
}

.cs-impact-qual__label {
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
  display: block;
  margin-bottom: 6px;
}

.cs-impact-qual__desc {
  font-size: 13px;
  color: var(--ink-soft);
  line-height: 1.6;
  margin: 0;
}

/* ── Next project card ── */
.next-project-card {
  display: block;
  background: #FFFFFF;
  border: 1.5px solid var(--rule);
  border-radius: 12px;
  padding: 32px 36px;
  text-decoration: none;
  color: var(--ink);
  transition: box-shadow 0.25s var(--ease), border-color 0.25s var(--ease), transform 0.25s var(--ease);
}

.next-project-card:hover {
  box-shadow: 0 8px 32px rgba(55, 85, 255, 0.10);
  border-color: var(--blue);
  transform: translateY(-2px);
}

.next-project-card__eyebrow {
  font-size: 10px;
  font-weight: 700;
  color: var(--blue);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  display: block;
  margin-bottom: 8px;
}

.next-project-card__title {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.2;
  margin-bottom: 10px;
  color: var(--ink);
}

.next-project-card__desc {
  font-size: 14px;
  color: var(--ink-soft);
  margin: 0;
  line-height: 1.65;
}

/* ============================================================
   CASE STUDY RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .cs-hero__title { font-size: 34px; }

  .cs-role-row { grid-template-columns: repeat(2, 1fr); gap: 20px 0; }
  .cs-role-row__item:nth-child(odd)  { border-left: none; padding-left: 0; }
  .cs-role-row__item:nth-child(n+3)  { border-top: 1px solid var(--rule); padding-top: 20px; }

  .cs-impact-stats { grid-template-columns: 1fr; }
  .cs-impact-stat  { padding-right: 0; }
  .cs-impact-stat + .cs-impact-stat { padding-left: 0; padding-top: 24px; }
  .cs-impact-qual  { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .cs-hero        { padding: 48px 0 40px; }
  .cs-hero__title { font-size: 28px; letter-spacing: -0.02em; }
  .cs-hero__sub   { font-size: 15px; }
  .cs-hero-meta   { gap: 16px 24px; margin-top: 24px; }

  .img-hero { height: 400px; font-size: 12px; }

  .cs-section, .cs-section--tint { padding: 56px 0; }
  .cs-section--sm { padding: 36px 0; }

  .cs-highlight-card { padding: 24px; }
  .cs-metric-card    { padding: 24px; }
  .cs-metric__stat   { padding: 0 16px; }
}

@media (max-width: 480px) {
  .cs-hero__title { font-size: 24px; }
  .cs-hero-meta   { grid-template-columns: 1fr; gap: 16px; }

  .img-hero { height: 280px; }

  .cs-metric__number { font-size: 36px; }
  .cs-impact-number  { font-size: 40px; }
  .cs-impact-qual    { grid-template-columns: 1fr; }

  .cs-role-row { grid-template-columns: 1fr; }
  .cs-role-row__item + .cs-role-row__item {
    border-left: none; padding-left: 0;
    border-top: 1px solid var(--rule); padding-top: 16px;
  }
  .cs-role-row__item:nth-child(n+3) { padding-top: 16px; }
}

/* ============================================================
   IMPACT SECTION — redesigned
   ============================================================ */

/* Hero: 110K+ with inline description */
.impact-hero-stat {
  display: flex;
  align-items: baseline;
  gap: 16px;
  flex-wrap: wrap;
  margin: 0 0 36px;
}

.impact-hero-num {
  font-size: 48px;
  font-weight: 800;
  color: var(--blue);
  letter-spacing: -0.04em;
  line-height: 1;
  flex-shrink: 0;
}

.impact-hero-desc {
  font-size: 15px;
  color: var(--ink-soft);
  line-height: 1.6;
}

/* Outcomes: 2-column definition list */
.impact-outcomes {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin: 0;
  padding: 0;
}

.impact-outcome {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 0 24px;
  align-items: start;
}

/* Default label: uppercase small caps (Roadmap, Framework) */
.impact-outcome__label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink);
}

/* Metric row: 82% number + description text */
.impact-outcome__label--metric {
  font-size: 14px;
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
  color: var(--ink-soft);
  line-height: 1.5;
}

.impact-metric-num {
  display: inline;
  font-size: 15px;
  font-weight: 700;
  color: var(--blue);
}

.impact-outcome__desc {
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.65;
  margin: 0;
}

.cs-metric-card .chapter-label { text-align: center; }

@media (max-width: 768px) {
  .impact-hero-num { font-size: 40px; }
  .impact-outcome { grid-template-columns: 1fr; gap: 4px; }
}

@media (max-width: 480px) {
  .impact-hero-num { font-size: 36px; }
}

/* ============================================================
   VISION PILLARS — numbered badge + heading row
   ============================================================ */
.pillar-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: var(--blue);
  color: #fff;
  border-radius: 50%;
  font-size: 13px;
  font-weight: 700;
  flex-shrink: 0;
  margin-right: 12px;
}

.pillar-heading {
  display: flex;
  align-items: center;
  margin-bottom: 16px;
}

.pillar-heading h2 { margin: 0; }

/* ============================================================
   VIDEO EMBED — case study vision demos
   ============================================================ */
.video-wrap {
  border-radius: 12px;
  overflow: hidden;
  background: #000;
}

.video-wrap video {
  width: 100%;
  display: block;
}

.video-label {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--blue);
  background: var(--blue-tag);
  border-radius: 4px;
  padding: 3px 9px;
  margin-bottom: 8px;
}

/* Wide bleed — breaks out of the .w/.w-wide max-width cap, keeps a consistent edge
   margin matching the nav/section gutters rather than running fully edge to edge */
.bleed-wide {
  width: 100%;
  max-width: none;
  margin: 16px auto 0;
  padding: 0 64px;
  box-sizing: border-box;
}

@media (max-width: 1280px) {
  .bleed-wide { padding: 0 48px; }
}

@media (max-width: 768px) {
  .bleed-wide { padding: 0 24px; }
}

/* ============================================================
   ARCHITECTURE OPTION CARDS — 3-column comparison
   ============================================================ */
.model-option-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.model-option-card {
  border: 1px solid var(--rule);
  border-radius: 10px;
  padding: 24px 28px;
  background: #fff;
}

.model-option-card__label {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink-soft);
  display: block;
  margin-bottom: 8px;
}

.model-option-card h3 {
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 10px;
  color: var(--ink);
  letter-spacing: -0.01em;
}

.model-option-card p {
  font-size: 13px;
  line-height: 1.7;
  color: var(--ink-soft);
  margin: 0;
}

.model-option-card--selected {
  background: rgba(55, 85, 255, 0.04);
  border-color: var(--blue);
  box-shadow: 0 4px 20px rgba(55, 85, 255, 0.10);
}

.model-option-card--selected .model-option-card__label {
  color: var(--blue);
}

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

/* ============================================================
   MY ROLE — standalone section below hero image
   ============================================================ */
.cs-my-role__heading {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 0 0 28px;
}

.cs-my-role__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px 48px;
}

.cs-my-role__label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue);
  display: block;
  margin-bottom: 5px;
}

.cs-my-role__text {
  font-size: 13px;
  color: var(--ink-soft);
  line-height: 1.65;
}

/* ============================================================
   DECISION CALLOUT — exec-summary visual weight
   ============================================================ */
.cs-decision-callout {
  border-left: 3px solid var(--blue);
  padding-left: 24px;
  margin: 32px 0;
}

.cs-decision-callout__label {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--blue);
  display: block;
  margin-bottom: 10px;
}

.cs-decision-callout p {
  font-size: 17px;
  font-weight: 400;
  line-height: 1.9;
  color: var(--ink);
  margin: 0;
}

/* ============================================================
   PILLAR STEP LABEL — inline "01 —" sequence marker
   ============================================================ */
.pillar-step {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue);
  display: block;
  margin: 0 0 8px;
}

@media (max-width: 480px) {
  .cs-my-role__grid { grid-template-columns: 1fr; gap: 20px; }
}

/* ── Lightbox ── */
.lightbox-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(0, 0, 0, 0.88);
  align-items: center;
  justify-content: center;
  cursor: zoom-out;
}
.lightbox-overlay.is-open {
  display: flex;
}
.lightbox-overlay img {
  max-width: 92vw;
  max-height: 92vh;
  object-fit: contain;
  border-radius: 4px;
  cursor: default;
  box-shadow: 0 8px 48px rgba(0,0,0,0.5);
}
.lightbox-close {
  position: fixed;
  top: 20px;
  right: 24px;
  width: 40px;
  height: 40px;
  background: rgba(255,255,255,0.12);
  border: none;
  border-radius: 50%;
  color: #fff;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s;
}
.lightbox-close:hover {
  background: rgba(255,255,255,0.22);
}
main img:not(.no-lightbox) {
  cursor: zoom-in;
}

/* ============================================================
   PASSWORD OVERLAY — gates protected case studies
   ============================================================ */
body.locked #site-content { display: none; }

.password-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 500;
  background: var(--bg);
  align-items: center;
  justify-content: center;
  padding: 24px;
}

body.locked .password-overlay { display: flex; }

.password-overlay__box {
  width: 100%;
  max-width: 340px;
  text-align: center;
}

.password-overlay__form {
  display: flex;
  align-items: center;
  gap: 12px;
}

.password-overlay__input {
  flex: 1;
  font-family: 'Manrope', sans-serif;
  font-size: 14px;
  text-align: left;
  color: var(--ink);
  background: var(--surface);
  border: 1.5px solid var(--rule);
  border-radius: 6px;
  padding: 14px 16px;
  outline: none;
  transition: border-color 0.15s var(--ease);
}

.password-overlay__input::placeholder { color: var(--ink-xsoft); }
.password-overlay__input:focus { border-color: var(--blue); }
.password-overlay__input.is-error { border-color: var(--error); }

.password-overlay__submit {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  padding: 0;
  color: #fff;
  background: var(--blue);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  transition: opacity 0.15s var(--ease);
}

.password-overlay__submit:hover { opacity: 0.9; }

.password-overlay__error {
  font-size: 12px;
  color: var(--error);
  margin-top: 14px;
  min-height: 16px;
  text-align: left;
  opacity: 0;
  transition: opacity 0.15s var(--ease);
}

.password-overlay__error.is-visible { opacity: 1; }

@keyframes password-shake {
  20%, 80% { transform: translateX(-1px); }
  40%, 60% { transform: translateX(2px); }
  50% { transform: translateX(-2px); }
}

.password-overlay__box.is-shake { animation: password-shake 0.4s var(--ease); }

/* ============================================================
   ABOUT PAGE
   ============================================================ */
body.about-page { background: var(--bg); }

.about-hero { padding: 64px 0 80px; }

.about-hero__grid {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 64px;
  align-items: flex-start;
}

.about-hero__photo {
  width: 100%;
  aspect-ratio: 5 / 6;
  border-radius: 8px;
  overflow: hidden;
  background: var(--rule);
}

.about-hero__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; display: block; }

.about-hero__heading {
  font-size: 34px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--ink);
  margin-bottom: 40px;
}

.about-hero__intro p {
  font-size: 15px;
  line-height: 1.85;
  color: var(--ink-soft);
  margin: 0 0 18px;
  max-width: 560px;
}

.about-hero__intro p:last-child { margin-bottom: 0; }

/* -- Experience / Education rows -- */
.exp-list {
  padding: 0 64px;
  display: flex;
  flex-direction: column;
}

.exp-row {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 0 40px;
  padding: 32px 0;
  border-top: 1px solid var(--rule);
}

.exp-list .exp-row:last-child { border-bottom: 1px solid var(--rule); }

.exp-date {
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-soft);
  padding-top: 2px;
}

.exp-org {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin-bottom: 4px;
}

.exp-role {
  font-size: 14px;
  color: var(--ink-soft);
  margin-bottom: 14px;
}

.exp-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

@media (max-width: 1280px) {
  .about-hero  { padding: 56px 0 72px; }
  .exp-list    { padding: 0 48px; }
}

@media (max-width: 768px) {
  .about-hero          { padding: 48px 0 56px; }
  .about-hero__grid    { grid-template-columns: 1fr; gap: 32px; }
  .about-hero__photo   { max-width: 240px; }
  .about-hero__heading { font-size: 28px; }

  .exp-list { padding: 0 24px; }
  .exp-row  { grid-template-columns: 1fr; gap: 8px 0; padding: 24px 0; }
}

@media (max-width: 375px) {
  .about-hero__heading { font-size: 24px; }
}
