/* ═══════════════════════════════════════
   RIDWAN OLADIMEJI — Portfolio
   style.css  (single source of truth)
═══════════════════════════════════════ */

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

/* ── TOKENS ── */
:root {
  --ink:      #0f0f0e;
  --ink-2:    #5c5c5a;
  --ink-3:    #a9a8a3;
  --surface:  #f8f8f6;
  --surface-2:#efeeea;
  --border:   #e3e2dc;
  --white:    #ffffff;
  --accent:   #1a56db;

  --serif: 'Instrument Serif', Georgia, serif;
  --sans:  'Manrope', sans-serif;

  --max:  1120px;
  --pad:  clamp(20px, 5vw, 60px);
}

html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  background: var(--surface);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  line-height: 1.6;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
::selection { background: #1a56db1a; }


/* ══════════════════════
   NAV
══════════════════════ */
#header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  height: 62px;
  background: rgba(248,248,246,.93);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s;
}
#header.scrolled { border-color: var(--border); }

.nav-inner {
  max-width: var(--max); margin: 0 auto; padding: 0 var(--pad);
  height: 100%; display: flex; align-items: center; justify-content: space-between;
}

.nav-logo {
  font-family: var(--serif); font-size: 20px; letter-spacing: -.2px;
  color: var(--ink); flex-shrink: 0;
}
.nav-logo span { color: var(--accent); }

.nav-links { display: flex; list-style: none; }
.nav-links a {
  display: block; padding: 7px 15px; font-size: 13px; font-weight: 500;
  color: var(--ink-2); border-radius: 6px;
  transition: color .15s, background .15s;
}
.nav-links a:hover { color: var(--ink); background: var(--surface-2); }

.nav-right { display: flex; align-items: center; gap: 10px; }
.nav-cta {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 17px; background: var(--ink); color: var(--white) !important;
  font-size: 13px; font-weight: 600; border-radius: 100px;
  transition: background .2s, transform .15s;
}
.nav-cta:hover { background: var(--accent); transform: translateY(-1px); }
.nav-cta svg { flex-shrink: 0; }

/* Hamburger */
.hamburger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 6px;
}
.hamburger span {
  display: block; width: 21px; height: 1.5px; background: var(--ink);
  border-radius: 2px; transition: all .25s cubic-bezier(.4,0,.2,1); transform-origin: center;
}
.hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Drawer */
.drawer {
  display: none; position: fixed; top: 62px; left: 0; right: 0; bottom: 0;
  background: var(--surface); z-index: 190;
  flex-direction: column; padding: 32px var(--pad) 40px; overflow-y: auto;
}
.drawer.open { display: flex; }
.drawer nav { display: flex; flex-direction: column; margin-bottom: 28px; }
.drawer nav a {
  font-family: var(--serif); font-size: 26px; color: var(--ink);
  padding: 14px 0; border-bottom: 1px solid var(--border);
  transition: color .15s;
}
.drawer nav a:hover { color: var(--accent); }
.drawer-cta {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 26px; background: var(--ink); color: var(--white);
  font-size: 14px; font-weight: 600; border-radius: 100px;
  width: fit-content; transition: background .2s;
}
.drawer-cta:hover { background: var(--accent); }
.drawer-social { display: flex; gap: 16px; margin-top: auto; padding-top: 28px; }
.drawer-social a {
  font-size: 11px; font-weight: 700; text-transform: uppercase;
  letter-spacing: .1em; color: var(--ink-3); transition: color .15s;
}
.drawer-social a:hover { color: var(--ink); }


/* ══════════════════════
   SHARED BUTTONS
══════════════════════ */
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 24px; background: var(--ink); color: var(--white);
  font-size: 14px; font-weight: 600; border-radius: 100px;
  transition: background .2s, transform .15s;
}
.btn-primary:hover { background: var(--accent); transform: translateY(-2px); }

.btn-secondary {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 22px; background: transparent; color: var(--ink);
  font-size: 14px; font-weight: 600; border-radius: 100px;
  border: 1.5px solid var(--border);
  transition: border-color .2s, background .15s;
}
.btn-secondary:hover { border-color: var(--ink); background: var(--surface-2); }


/* ══════════════════════
   HERO
══════════════════════ */
.hero {
  padding-top: 62px; min-height: 100svh;
  display: flex; align-items: center;
}
.hero-inner {
  max-width: var(--max); margin: 0 auto; padding: 80px var(--pad) 64px;
  display: grid; grid-template-columns: 1fr 390px; gap: 64px; align-items: center;
}

.hero-badge {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 5px 13px 5px 8px; background: var(--surface-2);
  border: 1px solid var(--border); border-radius: 100px;
  font-size: 12px; font-weight: 600; color: var(--ink-2);
  margin-bottom: 26px;
}
.badge-dot {
  width: 7px; height: 7px; border-radius: 50%; background: #22c55e;
  box-shadow: 0 0 0 2px #22c55e30; animation: pulse 2.5s ease-in-out infinite;
}
@keyframes pulse {
  0%,100% { box-shadow: 0 0 0 2px #22c55e30; }
  50%      { box-shadow: 0 0 0 6px #22c55e10; }
}

.hero-h1 {
  font-family: var(--serif); font-size: clamp(38px, 5vw, 70px);
  font-weight: 400; line-height: 1.06; letter-spacing: -.04em; margin-bottom: 20px;
}
.hero-h1 em { font-style: italic; color: var(--ink-2); }

.hero-desc {
  font-size: clamp(15px, 1.3vw, 17px); line-height: 1.8;
  color: var(--ink-2); max-width: 440px; margin-bottom: 32px;
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }

.hero-stats {
  display: flex; gap: 28px; flex-wrap: wrap;
  margin-top: 44px; padding-top: 32px; border-top: 1px solid var(--border);
}
.stat-num {
  font-family: var(--serif); font-size: 30px; letter-spacing: -.04em;
  line-height: 1; margin-bottom: 4px;
}
.stat-label {
  font-size: 10px; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; color: var(--ink-3);
}

/* Photo column */
.hero-photo-col { position: relative; display: flex; justify-content: center; }
.hero-photo-frame {
  width: 100%; max-width: 360px; aspect-ratio: 3/4;
  border-radius: 20px; overflow: hidden; background: var(--surface-2);
}
.hero-photo-frame img { width: 100%; height: 100%; object-fit: cover; }
.hero-photo-placeholder {
  width: 100%; height: 100%; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 12px;
  background: linear-gradient(145deg, #eae9e5, #d5d3ce);
}
.hero-photo-placeholder svg { opacity: .25; }
.hero-photo-placeholder span { font-size: 12px; color: var(--ink-3); }

/* Floating chips */
.float-card {
  position: absolute; bottom: -14px; left: -18px;
  background: var(--white); border-radius: 14px; padding: 12px 16px;
  box-shadow: 0 8px 40px rgba(0,0,0,.1), 0 1px 3px rgba(0,0,0,.05);
  display: flex; align-items: center; gap: 10px; min-width: 165px;
}
.float-card-icon { font-size: 20px; }
.float-card-title { font-size: 13px; font-weight: 700; line-height: 1.2; }
.float-card-sub   { font-size: 11px; color: var(--ink-3); }

.float-card2 {
  position: absolute; top: 20px; right: -16px;
  background: var(--ink); color: var(--white); border-radius: 14px;
  padding: 12px 16px; box-shadow: 0 8px 32px rgba(0,0,0,.2);
  font-size: 12px; font-weight: 600; line-height: 1.5; max-width: 138px;
}
.float2-num {
  font-family: var(--serif); font-size: 26px; display: block;
  margin-bottom: 2px; letter-spacing: -.03em;
}


/* ══════════════════════
   ABOUT
══════════════════════ */
.about-strip {
  background: var(--white);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.about-inner {
  max-width: var(--max); margin: 0 auto; padding: 80px var(--pad);
  display: grid; grid-template-columns: 260px 1fr; gap: 64px; align-items: start;
}
.about-eyebrow {
  font-size: 11px; font-weight: 700; text-transform: uppercase;
  letter-spacing: .14em; color: var(--accent); margin-bottom: 14px;
}
.about-left h2 {
  font-family: var(--serif); font-size: 27px; font-weight: 400;
  line-height: 1.3; letter-spacing: -.02em;
}
.about-right p { font-size: 16px; line-height: 1.85; color: #444; margin-bottom: 20px; }
.about-right p:last-of-type { margin-bottom: 0; }
.about-right strong { color: var(--ink); font-weight: 600; }

.skills-row { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 28px; }
.skill-pill {
  padding: 5px 13px; border: 1px solid var(--border); border-radius: 100px;
  font-size: 12px; font-weight: 600; color: var(--ink-2); background: var(--surface);
  transition: border-color .15s, color .15s;
}
.skill-pill:hover { border-color: var(--ink); color: var(--ink); }


/* ══════════════════════
   PROJECTS — new list layout
══════════════════════ */
.projects-section { padding: 88px 0; }

.section-header {
  max-width: var(--max); margin: 0 auto; padding: 0 var(--pad);
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 20px; margin-bottom: 48px; flex-wrap: wrap;
}
.section-eyebrow {
  font-size: 11px; font-weight: 700; text-transform: uppercase;
  letter-spacing: .14em; color: var(--accent); margin-bottom: 10px;
}
.section-h2 {
  font-family: var(--serif); font-size: clamp(28px, 4vw, 48px);
  font-weight: 400; line-height: 1.08; letter-spacing: -.03em;
}
.section-note { font-size: 13px; color: var(--ink-3); padding-bottom: 4px; }

/* Project list — horizontal cards stacked */
.projects-list {
  max-width: var(--max); margin: 0 auto; padding: 0 var(--pad);
  display: flex; flex-direction: column; gap: 16px;
}

.project-card {
  display: grid; grid-template-columns: 260px 1fr 56px;
  background: var(--white); border: 1px solid var(--border);
  border-radius: 16px; overflow: hidden; color: var(--ink);
  transition: box-shadow .25s, transform .25s, border-color .2s;
  min-height: 168px;
}
.project-card:hover {
  box-shadow: 0 12px 48px rgba(0,0,0,.08);
  transform: translateY(-3px);
  border-color: transparent;
}

/* Thumb */
.project-thumb {
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif); font-size: 20px; font-style: italic;
  letter-spacing: -.02em; flex-shrink: 0; overflow: hidden;
  transition: filter .25s;
}
.project-card:hover .project-thumb { filter: brightness(1.06); }

/* Body */
.project-body {
  padding: 24px 28px; display: flex; flex-direction: column;
  justify-content: center; gap: 8px;
  border-left: 1px solid var(--border);
}
.project-index {
  font-size: 10px; font-weight: 700; text-transform: uppercase;
  letter-spacing: .1em; color: var(--ink-3);
}
.project-name {
  font-family: var(--serif); font-size: 22px; font-weight: 400;
  letter-spacing: -.02em; line-height: 1.18;
}
.project-role {
  font-size: 11px; font-weight: 700; text-transform: uppercase;
  letter-spacing: .07em; color: var(--ink-3);
}
.project-desc {
  font-size: 14px; line-height: 1.7; color: var(--ink-2); max-width: 520px;
}
.project-tags { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 2px; }
.ptag {
  font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .07em;
  padding: 3px 10px; border-radius: 100px; border: 1px solid var(--border); color: var(--ink-2);
}

/* Arrow */
.project-arrow-col {
  display: flex; align-items: center; justify-content: center;
  border-left: 1px solid var(--border);
}
.project-arrow {
  width: 34px; height: 34px; border-radius: 50%;
  border: 1.5px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  transition: background .2s, border-color .2s, transform .2s;
}
.project-card:hover .project-arrow {
  background: var(--ink); border-color: var(--ink); transform: rotate(-45deg);
}
.project-card:hover .project-arrow svg path { stroke: var(--white); }

/* "Coming soon" modifier */
.project-card.soon { opacity: .5; pointer-events: none; }

/* Thumb colour palette */
.c-m36         { background: #111210; color: #f0dd6a; }
.c-quickteller { background: #005c32; color: #a8f0c0; }
.c-onedrug     { background: #1459c7; color: #c4d8ff; }
.c-skydd       { background: #c8ddc9; color: #2a4e2c; }
.c-healthbanc  { background: #0e3fa3; color: #c8d8ff; }
.c-eversage    { background: #1c1c1a; color: #d4c9b0; }
.c-booster     { background: #1459c7; color: #c4d8ff; }


/* ══════════════════════
   FOOTER / CONTACT
══════════════════════ */
.footer {
  background: var(--ink); color: var(--white);
  padding: 96px 0 52px; position: relative; overflow: hidden;
}
.footer::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.12), transparent);
}
.footer-inner { max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); }
.footer-top {
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px;
  align-items: start; padding-bottom: 60px;
  border-bottom: 1px solid rgba(255,255,255,.08); margin-bottom: 36px;
}
.footer-eyebrow {
  font-size: 11px; font-weight: 700; text-transform: uppercase;
  letter-spacing: .14em; color: rgba(255,255,255,.35); margin-bottom: 14px;
}
.footer-headline {
  font-family: var(--serif); font-size: clamp(34px, 5vw, 62px);
  font-weight: 400; line-height: 1.04; letter-spacing: -.04em;
}
.footer-headline em { font-style: italic; color: rgba(255,255,255,.4); }
.footer-desc { font-size: 15px; line-height: 1.75; color: rgba(255,255,255,.5); margin-bottom: 28px; max-width: 360px; }
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-link {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 14px; font-weight: 500; color: rgba(255,255,255,.6);
  transition: color .15s;
}
.footer-link:hover { color: var(--white); }
.footer-link-icon {
  width: 34px; height: 34px; border-radius: 8px; background: rgba(255,255,255,.08);
  display: flex; align-items: center; justify-content: center; font-size: 15px;
  flex-shrink: 0; transition: background .15s;
}
.footer-link:hover .footer-link-icon { background: rgba(255,255,255,.15); }
.footer-bottom {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 20px;
}
.footer-copy { font-size: 12px; color: rgba(255,255,255,.2); }
.footer-social { display: flex; gap: 6px; }
.social-btn {
  display: flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 8px; background: rgba(255,255,255,.07);
  color: rgba(255,255,255,.45); font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .04em;
  transition: background .15s, color .15s;
}
.social-btn:hover { background: rgba(255,255,255,.15); color: var(--white); }


/* ══════════════════════
   SCROLL REVEAL
══════════════════════ */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .55s cubic-bezier(.4,0,.2,1), transform .55s cubic-bezier(.4,0,.2,1); }
.reveal.in { opacity: 1; transform: none; }


/* ════════════════════════════════════════
   CASE STUDY — shared styles
   (all pages link style.css, no inline CSS)
════════════════════════════════════════ */

/* Hero */
.cs-hero {
  padding-top: 62px; min-height: 68vh;
  display: flex; flex-direction: column; justify-content: flex-end;
  position: relative; overflow: hidden;
}
.cs-hero-inner {
  max-width: var(--max); margin: 0 auto; padding: 72px var(--pad) 60px;
  position: relative; z-index: 1;
}
.cs-back {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 600; color: rgba(255,255,255,.45);
  margin-bottom: 36px; transition: color .15s;
}
.cs-back:hover { color: rgba(255,255,255,.9); }
.cs-eyebrow {
  font-size: 11px; font-weight: 700; text-transform: uppercase;
  letter-spacing: .14em; margin-bottom: 14px;
}
.cs-title {
  font-family: var(--serif); font-size: clamp(32px, 5vw, 68px);
  font-weight: 400; line-height: 1.06; letter-spacing: -.04em;
  color: var(--white); margin-bottom: 20px; max-width: 820px;
}
.cs-sub {
  font-size: 17px; line-height: 1.72; color: rgba(255,255,255,.6);
  max-width: 580px; margin-bottom: 44px;
}
.cs-meta {
  display: flex; gap: 40px; flex-wrap: wrap;
  padding-top: 36px; border-top: 1px solid rgba(255,255,255,.1);
}
.cs-meta-item {}
.cs-meta-label { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; color: rgba(255,255,255,.32); margin-bottom: 5px; }
.cs-meta-value { font-size: 14px; font-weight: 600; color: rgba(255,255,255,.9); }

/* Status badge */
.cs-status-badge {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 4px 12px 4px 8px; background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.14); border-radius: 100px;
  font-size: 12px; font-weight: 600; color: rgba(255,255,255,.75); margin-bottom: 20px;
}
.status-dot { width: 7px; height: 7px; border-radius: 50%; background: #4ade80; animation: pulse 2.5s ease-in-out infinite; }

/* Body wrapper */
.cs-body { background: var(--surface); }

/* Content sections — narrow readable column */
.cs-section {
  max-width: 720px; margin: 0 auto; padding: 72px var(--pad);
  border-bottom: 1px solid var(--border);
}
.cs-section:last-child { border-bottom: none; }

/* Wide section — for full-bleed visuals */
.cs-section-wide {
  max-width: var(--max); margin: 0 auto; padding: 48px var(--pad);
  border-bottom: 1px solid var(--border);
}

.cs-section-label {
  font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .16em;
  color: var(--accent); margin-bottom: 18px;
  display: flex; align-items: center; gap: 10px;
}
.cs-section-label::after { content: ''; flex: 1; height: 1px; background: var(--border); }

.cs-h2 {
  font-family: var(--serif); font-size: clamp(24px, 3vw, 38px);
  font-weight: 400; line-height: 1.15; letter-spacing: -.03em;
  margin-bottom: 20px;
}
.cs-p { font-size: 16px; line-height: 1.85; color: #444; margin-bottom: 18px; }
.cs-p:last-child { margin-bottom: 0; }
.cs-p strong { color: var(--ink); font-weight: 600; }

/* ── SCREEN SLOTS ─────────────────────────── */
/* Drop your image in the .cs-screen div like:
   <div class="cs-screen">
     <img src="../screens/m36-dashboard.png" alt="M36 dashboard" />
   </div>
   Leave empty and the placeholder shows automatically. */

.cs-screen {
  width: 100%; border-radius: 14px; overflow: hidden;
  background: var(--surface-2); border: 1px solid var(--border);
  margin: 32px 0; position: relative;
}
.cs-screen img { width: 100%; display: block; }
.cs-screen:not(:has(img)) {
  /* placeholder state when no img child */
  aspect-ratio: 16/9;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 10px;
}
.cs-screen-caption {
  font-size: 12px; color: var(--ink-3); font-weight: 500;
  text-align: center; margin-top: -22px; margin-bottom: 28px; padding: 0 8px;
}

/* Screen placeholder — visible when div is empty */
.cs-screen-ph {
  aspect-ratio: 16/9;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 10px;
  color: var(--ink-3);
}
.cs-screen-ph svg { opacity: .3; }
.cs-screen-ph p { font-size: 11px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }

/* Two screens side by side */
.cs-screen-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 32px 0;
}
.cs-screen-row .cs-screen { margin: 0; }

/* Three screens */
.cs-screen-row-3 {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 32px 0;
}
.cs-screen-row-3 .cs-screen { margin: 0; }

/* Mobile mockup row (portrait aspect) */
.cs-mobile-row {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 32px 0;
}
.cs-mobile-row .cs-screen {
  aspect-ratio: 9/16; margin: 0;
}

/* ── STAT ROW ── */
.cs-stats {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px;
  background: var(--border); border: 1px solid var(--border);
  border-radius: 14px; overflow: hidden; margin: 32px 0;
}
.cs-stat { background: var(--white); padding: 24px 20px; }
.cs-stat-num { font-family: var(--serif); font-size: 34px; letter-spacing: -.04em; line-height: 1; margin-bottom: 5px; }
.cs-stat-label { font-size: 11px; color: var(--ink-3); font-weight: 600; text-transform: uppercase; letter-spacing: .06em; }

/* ── INSIGHT LIST ── */
.cs-insights { margin: 24px 0; }
.cs-insight { display: flex; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--border); }
.cs-insight:last-child { border-bottom: none; }
.cs-insight-bullet { color: var(--ink-3); flex-shrink: 0; font-size: 18px; line-height: 1.5; }
.cs-insight-text { font-size: 15px; line-height: 1.72; color: #444; }
.cs-insight-text strong { color: var(--ink); font-weight: 600; }

/* ── PHASE / TIMELINE ROW ── */
.cs-phases {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px;
  background: var(--border); border: 1px solid var(--border);
  border-radius: 14px; overflow: hidden; margin: 28px 0;
}
.cs-phase { background: var(--white); padding: 22px 20px; }
.cs-phase-month { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--accent); margin-bottom: 7px; }
.cs-phase-title { font-family: var(--serif); font-size: 18px; font-weight: 400; margin-bottom: 8px; }
.cs-phase-desc  { font-size: 13px; color: var(--ink-2); line-height: 1.7; }

/* ── FEATURE LIST ── */
.cs-features { display: flex; flex-direction: column; gap: 1px; margin: 28px 0; background: var(--border); border: 1px solid var(--border); border-radius: 14px; overflow: hidden; }
.cs-feature { background: var(--white); padding: 22px 24px; display: flex; gap: 16px; align-items: flex-start; }
.cs-feature-icon { width: 38px; height: 38px; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 17px; flex-shrink: 0; }
.cs-feature-name { font-size: 15px; font-weight: 700; margin-bottom: 4px; }
.cs-feature-desc { font-size: 14px; color: var(--ink-2); line-height: 1.65; }

/* ── IMPACT GRID ── */
.cs-impact { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 28px 0; }
.cs-impact-card { background: var(--white); border: 1px solid var(--border); border-radius: 14px; padding: 22px; }
.cs-impact-card.hi { border: none; } /* override per-project with bg + color */
.cs-ic-label { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .11em; color: var(--ink-3); margin-bottom: 7px; }
.cs-ic-value { font-family: var(--serif); font-size: 34px; letter-spacing: -.04em; line-height: 1; margin-bottom: 5px; }
.cs-ic-desc  { font-size: 13px; color: var(--ink-2); line-height: 1.6; }

/* ── TWO-COL INFO BOX ── */
.cs-two { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 24px 0; }
.cs-box { background: var(--white); border: 1px solid var(--border); border-radius: 14px; padding: 22px; }
.cs-box-label { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .09em; color: var(--ink-3); margin-bottom: 12px; }
.cs-box ul { padding-left: 16px; }
.cs-box li { font-size: 14px; color: #444; line-height: 1.75; margin-bottom: 3px; }

/* ── HEURISTIC TABLE ── */
.cs-table { width: 100%; border-collapse: collapse; font-size: 14px; margin: 24px 0; border: 1px solid var(--border); border-radius: 14px; overflow: hidden; }
.cs-table th { text-align: left; padding: 10px 14px; background: var(--surface-2); color: var(--ink-2); font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; border-bottom: 1px solid var(--border); }
.cs-table td { padding: 13px 14px; border-bottom: 1px solid var(--border); color: #444; vertical-align: top; line-height: 1.6; }
.cs-table tr:last-child td { border-bottom: none; }
.sev { display: inline-block; padding: 2px 9px; border-radius: 100px; font-size: 10px; font-weight: 700; }
.sev-high { background: #fee2e2; color: #991b1b; }
.sev-med  { background: #fef3c7; color: #92400e; }
.sev-low  { background: #d1fae5; color: #065f46; }

/* ── MODULE GRID ── */
.cs-modules { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: 14px; overflow: hidden; margin: 24px 0; }
.cs-module { background: var(--white); padding: 18px 20px; display: flex; gap: 12px; align-items: flex-start; }
.cs-module-icon { width: 32px; height: 32px; border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 15px; flex-shrink: 0; background: var(--surface-2); }
.cs-module-name { font-size: 13px; font-weight: 700; margin-bottom: 2px; }
.cs-module-desc { font-size: 12px; color: var(--ink-2); line-height: 1.55; }

/* ── PERSONA CARDS ── */
.cs-personas { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 24px 0; }
.cs-persona { background: var(--white); border: 1px solid var(--border); border-radius: 14px; padding: 22px; }
.cs-persona-name { font-family: var(--serif); font-size: 20px; margin-bottom: 2px; }
.cs-persona-role { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-3); margin-bottom: 14px; }
.cs-persona-block { margin-bottom: 10px; }
.cs-persona-block-label { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .09em; color: var(--accent); margin-bottom: 4px; }
.cs-persona-block-text { font-size: 13px; color: #444; line-height: 1.65; }

/* ── PULL QUOTE ── */
.cs-quote { background: var(--white); border: 1px solid var(--border); border-radius: 14px; padding: 30px; margin: 28px 0; }
.cs-quote-text { font-family: var(--serif); font-size: clamp(17px, 2vw, 22px); font-style: italic; line-height: 1.55; letter-spacing: -.02em; margin-bottom: 16px; }
.cs-quote-pills { display: flex; gap: 8px; flex-wrap: wrap; }
.cs-quote-pill { padding: 4px 12px; border: 1px solid var(--border); border-radius: 100px; font-size: 12px; font-weight: 600; color: var(--ink-2); }

/* ── CAREER TIMELINE ── */
.cs-timeline { margin: 24px 0; padding-left: 40px; position: relative; }
.cs-timeline::before { content: ''; position: absolute; left: 11px; top: 6px; bottom: 6px; width: 1px; background: var(--border); }
.cs-tl-item { margin-bottom: 28px; position: relative; }
.cs-tl-item:last-child { margin-bottom: 0; }
.cs-tl-dot { position: absolute; left: -34px; top: 3px; width: 22px; height: 22px; border-radius: 50%; border: 1.5px solid var(--border); background: var(--white); display: flex; align-items: center; justify-content: center; }
.cs-tl-dot.now { border-color: var(--accent); background: var(--accent); }
.cs-tl-dot.now::after { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--white); }
.cs-tl-dot.past::after { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--border); }
.cs-tl-period { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .09em; color: var(--ink-3); margin-bottom: 2px; }
.cs-tl-role { font-size: 16px; font-weight: 700; margin-bottom: 2px; }
.cs-tl-company { font-size: 13px; color: var(--ink-2); margin-bottom: 6px; }
.cs-tl-desc { font-size: 14px; color: #555; line-height: 1.7; }

/* ── COLLAB GRID ── */
.cs-collab { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: 14px; overflow: hidden; margin: 24px 0; }
.cs-collab-item { background: var(--white); padding: 18px; text-align: center; }
.cs-collab-icon { font-size: 20px; margin-bottom: 6px; }
.cs-collab-label { font-size: 12px; font-weight: 700; }

/* ── HIERARCHY LAYERS ── */
.cs-layers { margin: 20px 0; }
.cs-layer { display: flex; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--border); }
.cs-layer:last-child { border-bottom: none; }
.cs-layer-num { font-family: var(--serif); font-size: 26px; color: var(--ink-3); flex-shrink: 0; width: 28px; line-height: 1.1; opacity: .4; }
.cs-layer-name { font-size: 14px; font-weight: 700; margin-bottom: 2px; }
.cs-layer-desc { font-size: 13px; color: var(--ink-2); line-height: 1.6; }

/* ── NEXT CASE STUDY ── */
.cs-next { background: var(--ink); color: var(--white); padding: 80px var(--pad); text-align: center; }
.cs-next-label { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .14em; color: rgba(255,255,255,.3); margin-bottom: 14px; }
.cs-next-title { font-family: var(--serif); font-size: clamp(28px, 4vw, 52px); font-weight: 400; letter-spacing: -.03em; margin-bottom: 28px; }
.cs-next-title em { font-style: italic; color: rgba(255,255,255,.4); }


/* ════════════════════════════════════════
   RESPONSIVE
════════════════════════════════════════ */
@media (max-width: 900px) {
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }

  .hero-inner { grid-template-columns: 1fr; gap: 44px; padding: 60px var(--pad) 56px; }
  .hero-photo-col { order: -1; max-width: 280px; margin: 0 auto; }
  .float-card  { bottom: -10px; left: -8px; }
  .float-card2 { top: 14px; right: -8px; }

  .about-inner { grid-template-columns: 1fr; gap: 24px; padding: 60px var(--pad); }
  .footer-top  { grid-template-columns: 1fr; gap: 36px; }

  .project-card { grid-template-columns: 1fr; min-height: auto; }
  .project-thumb { min-height: 160px; }
  .project-body { border-left: none; border-top: 1px solid var(--border); }
  .project-arrow-col { display: none; }

  .cs-screen-row, .cs-screen-row-3, .cs-mobile-row { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 600px) {
  .float-card, .float-card2 { display: none; }
  .hero-stats { gap: 20px; }
  .stat-num { font-size: 26px; }

  .cs-stats   { grid-template-columns: 1fr 1fr; }
  .cs-impact  { grid-template-columns: 1fr; }
  .cs-two     { grid-template-columns: 1fr; }
  .cs-phases  { grid-template-columns: 1fr; }
  .cs-modules { grid-template-columns: 1fr; }
  .cs-personas { grid-template-columns: 1fr; }
  .cs-collab  { grid-template-columns: 1fr 1fr; }
  .cs-screen-row, .cs-screen-row-3, .cs-mobile-row { grid-template-columns: 1fr; }
  .cs-meta { gap: 20px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}
