/* ============================================================
   Tokens — sanvithi 1:1 visual replica
   ============================================================ */
:root {
  --bg: #FFFFFF;
  --ink: #000000;
  --ink-soft: #1A1A1A;
  --muted: #666666;
  --blue: #002DB4;
  --blue-soft: #E6EAF6;

  /* Case container pastels */
  --case-sage: #FFDEE2;
  --case-blue: #FFDEE2;
  --case-lavender: #FFDEE2;
  --case-peach: #FFDEE2;
  --case-yellow: #FFDEE2;

  --serif: 'Averia Serif Libre', Georgia, serif;
  --sans: 'Inclusive Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --script: 'Caveat', cursive;

  --max: 1200px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Subtle cream wash — sparse warm accent behind the hero + ask section only.
   White stays the majority. Cream just adds a soft undertone at the top of the page. */
body {
  background-color: var(--bg);
  background-image:
    radial-gradient(ellipse 850px 480px at 50% 5%,  rgba(240, 231, 213, 0.55), transparent 70%),
    radial-gradient(ellipse 600px 380px at 15% 28%, rgba(240, 231, 213, 0.32), transparent 65%),
    radial-gradient(ellipse 550px 360px at 88% 32%, rgba(240, 231, 213, 0.32), transparent 65%);
  background-repeat: no-repeat;
  background-attachment: scroll;
}

a { color: inherit; text-decoration: none; }

/* ============================================================
   Top nav — pills (logo left, nav pills right)
   ============================================================ */
.topnav {
  position: fixed;
  top: 24px;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 32px;
  pointer-events: none;
}
.topnav > * { pointer-events: auto; }

.logo-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  padding: 0;
  border-radius: 999px;
  box-shadow: 0 0 0 0.5px rgba(0,0,0,0.15), 0 2px 8px rgba(0,0,0,0.08);
  overflow: hidden;
  color: var(--ink);
  cursor: pointer;
  transition: transform 0.25s var(--ease);
}
.logo-pill:hover { transform: translateY(-1px); }
.logo-avatar {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
  pointer-events: none;
}

.nav-pills {
  list-style: none;
  display: flex;
  gap: 10px;
  padding: 0;
  margin: 0;
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border-radius: 999px;
  background: #FFFFFF;
  box-shadow: 0 0 0 0.5px rgba(0,0,0,0.15), 0 2px 8px rgba(0,0,0,0.04);
  font-size: 13px;
  color: var(--ink);
  transition: transform 0.25s var(--ease), background 0.25s var(--ease), color 0.25s var(--ease);
}
.pill:hover { transform: translateY(-1px); }
.pill-active {
  background: var(--blue);
  color: #FFFFFF;
  box-shadow: 0 0 0 0.5px rgba(0,0,0,0.15), 0 2px 8px rgba(0,45,180,0.18);
}
.pill-active .pill-ico { color: #FFFFFF; }
.pill-ico {
  font-size: 13px;
  line-height: 1;
  color: var(--ink);
}

.pill-resume {
  position: relative;
}
.nav-sparkle {
  position: absolute;
  color: var(--ink);
  pointer-events: none;
  opacity: 0.7;
}
.nav-sparkle-1 { width: 7px; height: 7px; top: -4px; right: 10px; animation: twinkle 2.4s ease-in-out infinite; }
.nav-sparkle-2 { width: 5px; height: 5px; top: -2px; left: -1px; animation: twinkle 2.4s ease-in-out 0.8s infinite; }

.pill-ico-only {
  width: 32px;
  height: 32px;
  padding: 0;
  justify-content: center;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 700;
}

/* ============================================================
   Section tabs — uppercase serif
   ============================================================ */
.section-tabs {
  display: flex;
  justify-content: center;
  gap: 56px;
  padding: 140px 32px 24px;
  max-width: var(--max);
  margin: 0 auto;
}
.tab {
  /* Reset button defaults completely */
  appearance: none;
  -webkit-appearance: none;
  background: none;
  border: none;
  outline: none;
  box-shadow: none;
  padding: 0 0 4px;
  margin: 0;
  cursor: pointer;
  /* Visual */
  font-family: var(--serif);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--muted);
  transition: color 0.25s var(--ease);
}
.tab:focus-visible { outline: 2px solid var(--blue); outline-offset: 4px; border-radius: 2px; }
.tab-active { color: var(--blue); }
.tab:hover { color: var(--ink); }
.tab-active:hover { color: var(--blue); }

/* Tab panels — only active one shows */
.hero-panels { width: 100%; text-align: center; }
.tab-panel { display: none; margin: 0; }
.tab-panel-active { display: block; animation: panelFade 0.35s var(--ease); }
@keyframes panelFade {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ============================================================
   Hero — huge serif + handwritten blue script
   ============================================================ */
.hero {
  position: relative;
  max-width: 964px;
  margin: 0 auto;
  padding: 20px 32px 40px;
  text-align: center;
}
.hero-tagline-wrap {
  position: relative;
}
.hero-tagline {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(32px, 4.2vw, 54px);
  line-height: 1.1;
  letter-spacing: -0.01em;
  margin: 0;
  max-width: 900px;
  color: var(--ink);
}

.hero-greeting {
  font-family: var(--sans);
  font-size: 15px;
  color: var(--muted);
  margin: 0 0 18px;
  letter-spacing: 0.01em;
}

.hero-intro {
  font-family: var(--sans);
  font-size: clamp(15px, 1.5vw, 17px);
  color: var(--ink-soft);
  line-height: 1.6;
  max-width: 560px;
  margin: 22px auto 0;
}

/* Stars flanking the tagline — absolutely positioned so they don't affect text width */
.hero-star {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: clamp(18px, 2.2vw, 26px);
  height: clamp(18px, 2.2vw, 26px);
  color: var(--blue);
  animation: heroTwinkle 2.6s ease-in-out infinite;
  pointer-events: none;
}
.hero-star-left  { left: -36px; }
.hero-star-right { right: -36px; animation-delay: 1.3s; }
@keyframes heroTwinkle {
  0%, 100% { opacity: 1;    transform: scale(1)    rotate(0deg); }
  50%      { opacity: 0.35; transform: scale(0.75) rotate(45deg); }
}

/* Cursive "— kavya" signature in the bottom-right corner */
.hero-signature {
  position: absolute;
  bottom: 8px;
  right: 0;
  font-family: var(--script);
  font-size: clamp(34px, 4vw, 48px);
  line-height: 1;
  color: var(--blue);
  transform: rotate(-4deg);
  pointer-events: none;
  opacity: 0;
  animation: sigIn 1s var(--ease) 0.5s forwards;
}
@keyframes sigIn {
  from { opacity: 0; transform: rotate(-4deg) translateY(10px); }
  to   { opacity: 1; transform: rotate(-4deg); }
}

/* ============================================================
   Profile snippets — who / believe / now
   ============================================================ */
.profile-section {
  max-width: 900px;
  margin: 0 auto 16px;
  padding: 0 32px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.profile-block {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.profile-label {
  font-family: var(--serif);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.profile-text {
  font-family: var(--sans);
  font-size: clamp(15px, 1.5vw, 17px);
  line-height: 1.6;
  color: var(--ink-soft);
  margin: 0;
  max-width: 640px;
}

@media (max-width: 800px) {
  .profile-section { padding: 0 16px; gap: 22px; }
}

.scroll-below-chat {
  display: flex;
  justify-content: center;
  padding: 24px 0 0;
  max-width: 900px;
  margin: 0 auto;
  padding-left: 32px;
  padding-right: 32px;
}

.scroll-prompt {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--ink-soft);
}
.scroll-ico {
  font-size: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 36px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  transition: transform 0.4s var(--ease);
}
.scroll-prompt:hover .scroll-ico { transform: translateY(4px); }

/* ============================================================
   Ask Kavya — Leah Kim 1:1 (small white pills, plus-mark sparkles,
   no card container — blends with the page watercolor)
   ============================================================ */
.ask-section {
  position: relative;
  max-width: 964px;
  margin: 48px auto 40px;
  padding: 0 32px;
}

.ask-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 18px;
  justify-content: flex-start;
}

.ask-pill {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  background: #FFFFFF;
  border: 1px solid #E0E0E0;
  border-radius: 9999px;
  box-shadow: 0 1px 2px rgba(0,0,0,0.04), 0 8px 24px -8px rgba(0,0,0,0.08);
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 400;
  color: #6B6B6B;
  transition: transform 0.25s var(--ease), border-color 0.25s var(--ease), color 0.25s var(--ease);
  cursor: pointer;
}
.ask-pill:hover {
  transform: translateY(-1px);
  border-color: rgba(20,20,20,0.3);
  color: var(--ink);
}
.ask-pill-primary {
  border: 1px solid rgba(20,20,20,0.3);
  color: var(--ink);
  animation: resumeGlow 2.8s ease-in-out infinite;
}
@keyframes resumeGlow {
  0%, 100% { box-shadow: 0 1px 2px rgba(0,0,0,0.04), 0 0 10px 1px rgba(0,45,180,0.08); }
  50%       { box-shadow: 0 1px 2px rgba(0,0,0,0.04), 0 0 20px 4px rgba(0,45,180,0.18); }
}

/* See my work — pushed right, no border */
.ask-pill-see-work {
  margin-left: auto;
  background: none;
  border-color: transparent;
  box-shadow: none;
  color: var(--ink-soft);
  gap: 8px;
  padding-right: 0;
}
.ask-pill-see-work:hover {
  background: none;
  border-color: transparent;
  box-shadow: none;
  color: var(--ink);
  transform: none;
}

.ask-scroll-ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 14px;
  height: 22px;
  border: 1px solid currentColor;
  border-radius: 999px;
  font-size: 9px;
  line-height: 1;
  transition: transform 0.4s var(--ease);
}
.ask-pill-see-work:hover .ask-scroll-ico { transform: translateY(3px); }

.ask-pill-text { white-space: nowrap; }

.ask-arr {
  display: inline-block;
  font-size: 12px;
  line-height: 1;
}
.ask-arr-out { transition: transform 0.4s var(--ease); }
.ask-pill:hover .ask-arr-out { transform: translate(2px, -2px); }

/* Sparkles — thin plus marks around the primary pill (Leah style) */
.sparkle {
  position: absolute;
  color: var(--ink);
  pointer-events: none;
  opacity: 0.85;
}
.sparkle-1 { width: 9px;  height: 9px;  top: -7px;  right: 14px; animation: twinkle 2.4s ease-in-out infinite; }
.sparkle-2 { width: 7px;  height: 7px;  top: -4px;  left: -2px;  animation: twinkle 2.4s ease-in-out 0.7s infinite; }
.sparkle-3 { width: 6px;  height: 6px;  bottom: -3px; left: 10px; animation: twinkle 2.4s ease-in-out 1.4s infinite; }

@keyframes twinkle {
  0%, 100% { opacity: 0.85; transform: scale(1); }
  50%      { opacity: 0.25; transform: scale(0.7); }
}

/* Bot input — rounded pill with terminal prompt */
.ask-input {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
  padding: 14px 20px;
  background: #FFFFFF;
  border: 1px solid #E0E0E0;
  border-radius: 16px;
  box-shadow: 0 1px 2px rgba(0,0,0,0.04), 0 8px 24px -8px rgba(0,0,0,0.08);
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.ask-input:focus-within {
  border-color: rgba(20,20,20,0.3);
}
.ask-prompt {
  font-family: ui-monospace, 'SF Mono', Menlo, monospace;
  color: #9B9B9B;
  font-size: 13px;
  font-weight: 400;
}
.ask-field {
  flex: 1;
  border: none;
  outline: none;
  background: transparent;
  font-family: var(--sans);
  font-size: 14px;
  color: var(--ink);
  padding: 0;
}
.ask-field::placeholder {
  color: #9B9B9B;
}

/* Mobile */
@media (max-width: 800px) {
  .ask-section { margin: 0 auto 24px; padding: 0 16px; }
  .ask-pills { gap: 8px; }
  .ask-pill { padding: 7px 14px; font-size: 12.5px; }
  .ask-input { padding: 12px 16px; border-radius: 14px; }
  .ask-field { font-size: 13.5px; }
}

/* ============================================================
   Selected work — sticky stacking cards + overview pill
   ============================================================ */
.work {
  padding: 0 0 100px;
  position: relative;
}

/* Plain text index nav — no pill container */
.work-overview {
  position: sticky;
  top: 96px;
  z-index: 60;
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 28px;
  margin: 0 auto 56px;
  padding: 12px 32px;
  background: none;
  border: none;
  border-radius: 0;
  box-shadow: none;
  width: 100%;
}
.ov-meta {
  font-family: var(--serif);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--muted);
  white-space: nowrap;
}
.ov-list {
  list-style: none;
  display: flex;
  gap: 28px;
  margin: 0;
  padding: 0;
}
.ov-link {
  display: inline-flex;
  align-items: baseline;
  gap: 5px;
  padding: 0;
  border-radius: 0;
  font-family: var(--serif);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.25s var(--ease), border-color 0.25s var(--ease);
  white-space: nowrap;
  padding-bottom: 2px;
  border-bottom: 1.5px solid transparent;
}
.ov-num {
  font-family: var(--serif);
  font-size: 10px;
  opacity: 0.6;
  color: inherit;
}
.ov-link:hover { color: var(--ink); }
.ov-link.is-active {
  color: var(--ink);
  border-bottom-color: var(--ink);
}
.ov-link.is-active .ov-num { opacity: 0.45; }

/* Sticky stacking case cards */
.case {
  position: sticky;
  display: block;
  width: 100%;
  padding: 22px 36px 36px;
  border-radius: 32px;
  overflow: hidden;
  color: inherit;
  text-decoration: none;
  cursor: pointer;
  will-change: transform;
  transition: transform 0.4s var(--ease);
  box-shadow: 0 -8px 28px rgba(0, 0, 0, 0.05);
}
.case + .case { margin-top: 40px; }

/* Card background colors */
.case-sage     { background: #C7D2BB; }
.case-blue     { background: #C9D6E8; }
.case-lavender { background: #D4D2EE; }
.case-peach    { background: #F0DACB; }

/* Fold/stack effect — each card pins below the previous so only the heading
   row of the card underneath peeks out (60px steps clear the fixed top nav) */
#case-01 { top: 160px; z-index: 1; }
#case-02 { top: 220px; z-index: 2; }
#case-03 { top: 280px; z-index: 3; }

/* The section label + first card pin together inside this wrapper, then
   scroll up as a unit once the stack closes (cards 02/03 take the top). */
.work-lead + .case { margin-top: 40px; }

.case:hover { transform: translateY(-2px); }
.case:hover .case-statement { color: var(--blue); }

.case-ready .read-arr {
  display: inline-block;
  margin-left: 8px;
  font-family: var(--sans);
  font-style: normal;
  font-size: 13px;
  color: var(--blue);
  letter-spacing: 0.02em;
  vertical-align: 4px;
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
}
.case-ready:hover .read-arr { opacity: 1; transform: translateX(0); }

/* Top tab — what's visible when the card is stacked */
.case-tab {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding: 4px 0 22px;
  border-bottom: 1px solid rgba(26, 24, 20, 0.10);
  margin-bottom: 26px;
}
.case-tab-num {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: 22px;
  color: var(--ink);
  line-height: 1;
}
.case-tab-name {
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
}
.case-tab-meta {
  font-family: var(--sans);
  font-size: 12px;
  color: rgba(26, 24, 20, 0.55);
  letter-spacing: 0.02em;
}
.case-tab-arrow {
  margin-left: auto;
  font-family: var(--sans);
  font-size: 16px;
  color: var(--ink);
  opacity: 0;
  transform: translateX(-4px);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
}
.case:hover .case-tab-arrow { opacity: 1; transform: translateX(0); }

/* Body row inside each card */
.case-inner {
  display: flex;
  gap: clamp(28px, 4vw, 48px);
  align-items: flex-start;
}
.case-content {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 40px;
  padding-top: 32px;
}
.case-meta {
  font-family: var(--sans);
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.04em;
  margin: 0;
}

/* Visual side — sits directly on the card color, with white inset for mockup */
.case-visual {
  position: relative;
  flex: 1;
  min-width: 0;
  aspect-ratio: 4 / 3;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.32);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* Tilted "ticket" tags placed around the mockup */
.ticket {
  position: absolute;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: 18px;
  padding: 14px 26px;
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 14px;
  color: var(--ink-soft);
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  transition: transform 0.5s var(--ease);
}
.ticket-1 { top: 18%; left: 8%; transform: rotate(-14deg); }
.ticket-2 { top: 10%; right: 12%; transform: rotate(11deg); }
.ticket-3 { bottom: 22%; left: 12%; transform: rotate(7deg); }
.ticket-4 { bottom: 14%; right: 8%; transform: rotate(-9deg); }
.case:hover .ticket-1 { transform: rotate(-14deg) translateY(-4px); }
.case:hover .ticket-2 { transform: rotate(11deg) translateY(-4px); }
.case:hover .ticket-3 { transform: rotate(7deg) translateY(-4px); }
.case:hover .ticket-4 { transform: rotate(-9deg) translateY(-4px); }

/* Mockup placeholders (will become real screenshots later) */
.case-mockup {
  position: relative;
  z-index: 2;
  background: #FFFFFF;
  border-radius: 12px;
  box-shadow: 0 12px 32px rgba(0,0,0,0.12), 0 0 0 0.5px rgba(0,0,0,0.08);
}
.case-mockup-laptop {
  width: 50%;
  aspect-ratio: 16 / 10;
}
.case-mockup-phone {
  width: 16%;
  aspect-ratio: 9 / 19;
  border-radius: 24px;
  background: linear-gradient(180deg, #000 0%, #000 8%, #FFF 8%, #FFF 100%);
}
.case-mockup-dashboard {
  width: 55%;
  aspect-ratio: 16 / 10;
}

/* Real product screenshot inside .case-visual (replaces the CSS mockup).
   Sits inside the rounded soft-bg container same as the other cards,
   fully visible, square corners, with a drop shadow. */
.case-img {
  position: relative;
  z-index: 2;
  width: 88%;
  height: auto;
  max-height: 88%;
  object-fit: contain;
  display: block;
  box-shadow: 0 12px 32px rgba(0,0,0,0.12), 0 0 0 0.5px rgba(0,0,0,0.06);
}

/* Alliant DS card: let the documentation image fill the card, no framing border */
#case-02 .case-img {
  width: 100%;
  max-height: 100%;
  box-shadow: none;
}

/* Full-bleed designed key visual for the case card */
.case-keyvisual {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 2;
  transition: transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.case:hover .case-keyvisual { transform: scale(1.04); }

/* ---- AmeriGas card: full image on blue + phase strip below it ---- */
.case-visual-amerigas {
  flex-direction: column;
  background: #B6C7E4;
  padding: 0;
}
.cva-shot {
  flex: 1;
  min-height: 0;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 22px 22px 10px;
}
.cva-img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  transition: transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.case:hover .cva-img { transform: scale(1.02); }

.case-phases {
  width: 100%;
  padding: 4px 22px 18px;
}
.case-phases ol {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.case-phases li {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.cph-bar {
  position: relative;
  height: 4px;
  border-radius: 999px;
  background: rgba(0, 45, 180, 0.16);
  overflow: hidden;
}
.cph-bar::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 999px;
  background: var(--blue);
  transform: scaleX(1);
  transform-origin: left center;
  animation: cphFill 0.8s cubic-bezier(0.4, 0, 0.2, 1) both;
}
.case-phases li:nth-child(1) .cph-bar::after { background: #002DB4; animation-delay: 0.05s; }
.case-phases li:nth-child(2) .cph-bar::after { background: #3A5BC7; animation-delay: 0.18s; }
.case-phases li:nth-child(3) .cph-bar::after { background: #6E86D8; animation-delay: 0.31s; }
.case-phases li:nth-child(4) .cph-bar::after { background: #9DAFE6; animation-delay: 0.44s; }
@keyframes cphFill {
  from { transform: scaleX(0); }
  to   { transform: scaleX(1); }
}
.cph-label {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink);
  white-space: nowrap;
}
.cph-label b {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: 12px;
  color: rgba(0, 0, 0, 0.45);
  margin-right: 4px;
  letter-spacing: 0;
}
@media (prefers-reduced-motion: reduce) {
  .cph-bar::after { animation: none; }
}

/* Polished browser-frame product shot, tilts straight + scroll-reveals on hover */
.case-browser {
  position: relative;
  z-index: 2;
  width: 90%;
  border-radius: 12px;
  overflow: hidden;
  background: #FFFFFF;
  box-shadow: 0 20px 54px rgba(0,0,0,0.22), 0 0 0 0.5px rgba(0,0,0,0.06);
  transform: perspective(1500px) rotateX(4deg) translateY(8px);
  transition: transform 0.6s cubic-bezier(0.2,0.7,0.2,1), box-shadow 0.6s ease;
}
.case:hover .case-browser {
  transform: perspective(1500px) rotateX(0deg) translateY(0) scale(1.03);
  box-shadow: 0 30px 72px rgba(0,0,0,0.28), 0 0 0 0.5px rgba(0,0,0,0.06);
}
.case-browser-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  height: 30px;
  padding: 0 14px;
  background: #F4F2ED;
  border-bottom: 0.5px solid rgba(0,0,0,0.07);
}
.case-browser-dot { width: 9px; height: 9px; border-radius: 50%; }
.case-browser-shot {
  position: relative;
  height: 250px;
  overflow: hidden;
  background: #FFFFFF;
}
.case-browser-shot img {
  width: 100%;
  display: block;
  transition: transform 3.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.case:hover .case-browser-shot img {
  transform: translateY(calc(-100% + 250px));
}

/* Statement + tags below container */
.case-statement {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(22px, 2.6vw, 32px);
  line-height: 1.25;
  color: var(--ink);
  margin: 0;
  transition: color 0.3s var(--ease);
}
.case-tags {
  font-family: var(--sans);
  font-size: 13.5px;
  color: var(--ink-soft);
  margin: 0;
  letter-spacing: 0.02em;
}

/* Handwritten transition between cases */
.script-transition {
  font-family: var(--script);
  font-weight: 400;
  font-size: clamp(34px, 4.8vw, 56px);
  line-height: 1.15;
  color: var(--ink);
  text-align: center;
  max-width: 800px;
  margin: 40px auto;
  padding: 0 24px;
}

/* ============================================================
   Bento — more work / experiments (Avantika pattern, Sanvithi voice)
   ============================================================ */
.bento-section {
  max-width: var(--max);
  margin: 0 auto;
  padding: 80px 32px 100px;
}

/* Case studies — sticky left label + scrolling cards */
.work-layout {
  max-width: var(--max);
  margin: 0 auto;
  padding: 64px 32px 0;
}

.work-label-col {
  position: sticky;
  top: 92px;
  z-index: 0;
  padding: 0 0 16px;
}

.work-label {
  display: inline-block;
  font-family: var(--serif);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--muted);
  text-transform: uppercase;
  background: var(--bg);
  padding: 6px 12px 6px 0;
}

.bento-heading {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(36px, 5vw, 56px);
  line-height: 1.1;
  letter-spacing: -0.015em;
  text-align: center;
  color: var(--ink);
  margin: 0 0 14px;
}
.bento-heading em {
  font-style: italic;
  color: var(--blue);
}
.bento-sub {
  font-family: var(--sans);
  font-size: 15px;
  color: var(--muted);
  text-align: center;
  margin: 0 0 56px;
  max-width: 540px;
  margin-left: auto;
  margin-right: auto;
}

.bento-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 16px;
  align-items: stretch;
}
.bento-1 { grid-column: span 7; grid-row: span 1; } /* CM Wealth */
.bento-2 { grid-column: span 5; grid-row: span 1; } /* Article */
.bento-4 { grid-column: span 12; grid-row: span 1; } /* Cart (full width) */

.bento-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 26px 28px;
  border-radius: 20px;
  overflow: hidden;
  color: var(--ink);
  text-decoration: none;
  will-change: transform;
  transition: transform 0.4s var(--ease);
  cursor: pointer;
}
.bento-1 { background: #E9EAF6; }      /* light indigo — CM Wealth (financial platform) */
.bento-2 { background: #F4ECDF; }      /* light peach — Accessibility writing */
.bento-4 { background: #EDEAF7; }      /* light lavender — Forever 21 */

.bento-card:hover .bento-statement { color: var(--blue); }

/* Body inside each card */
.bento-body {
  position: relative;
  z-index: 2;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}
.bento-arr { margin-top: auto; }
.bento-tags {
  font-family: var(--sans);
  font-size: 12.5px;
  color: rgba(26, 24, 20, 0.55);
  margin: 0;
  letter-spacing: 0.02em;
}
/* In-progress badge (case study still being written) */
.wip-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(26, 24, 20, 0.6);
  background: rgba(26, 24, 20, 0.06);
  border-radius: 999px;
  padding: 4px 10px;
  margin-bottom: 0;
  vertical-align: middle;
}
.wip-badge .wip-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #E08A2B;
  animation: wip-pulse 1.4s ease-in-out infinite;
}
@keyframes wip-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.35; transform: scale(0.7); }
}
@media (prefers-reduced-motion: reduce) {
  .wip-badge .wip-dot { animation: none; }
}

.bento-statement {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.3;
  color: var(--ink);
  margin: 0;
  max-width: 100%;
  transition: color 0.3s var(--ease);
}
.bento-arr {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: var(--sans);
  font-size: 12px;
  color: rgba(26, 24, 20, 0.65);
  letter-spacing: 0.02em;
}
.arr-out {
  display: inline-block;
  transition: transform 0.4s var(--ease);
}
.bento-card:hover .arr-out { transform: translate(2px, -2px); }

/* Mockup zones inside each card */
.bento-mockup {
  position: relative;
  margin-bottom: 20px;
  flex: 1;
  border-radius: 12px;
  overflow: hidden;
}

/* Mockup — agent hierarchy diagram (for Advantage) */
.bento-mockup-agents {
  background: #FFFFFF;
  padding: 24px;
  position: relative;
  display: block;
}
.bm-agent-node {
  position: absolute;
  border-radius: 10px;
  background: #E2E4F4;
  border: 1px solid #C7C9E8;
}
.bm-agent-1 { top: 18%; left: 50%; transform: translateX(-50%); width: 30%; height: 18%; }
.bm-agent-2 { bottom: 24%; left: 8%; width: 26%; height: 16%; }
.bm-agent-3 { bottom: 24%; left: 50%; transform: translateX(-50%); width: 26%; height: 16%; }
.bm-agent-4 { bottom: 24%; right: 8%; width: 26%; height: 16%; }
.bm-agent-line {
  position: absolute;
  background: #C7C9E8;
  height: 1.5px;
  transform-origin: left center;
}
.bm-agent-line-1 { top: 36%; left: 28%; width: 22%; transform: rotate(35deg); }
.bm-agent-line-2 { top: 36%; left: 50%; width: 16%; transform: translateX(-50%) rotate(90deg); transform-origin: center; }
.bm-agent-line-3 { top: 36%; right: 28%; width: 22%; transform: rotate(-35deg) translateX(-100%); transform-origin: right center; }

/* Mockup — finance bars (for CM Wealth) */
.bento-mockup-finance {
  background: #FFFFFF;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
}
.bm-fin-row {
  display: flex;
  align-items: center;
  gap: 10px;
}
.bm-fin-label {
  width: 30%;
  height: 8px;
  background: #F0E5C8;
  border-radius: 3px;
}
.bm-fin-bar {
  height: 14px;
  background: #E0CFA8;
  border-radius: 4px;
}
.bm-fin-bar-tall  { width: 60%; background: #B8A06D; }
.bm-fin-bar-mid   { width: 45%; background: #C7AC78; }
.bm-fin-bar-short { width: 30%; background: #D6BC8F; }

/* Mockup 1 — abstract dashboard */
.bento-mockup-dashboard {
  background: #FFFFFF;
  padding: 22px 22px 18px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: 60px auto;
  gap: 12px;
  align-content: start;
}
.bm-bar {
  background: #DDE5D3;
  border-radius: 6px;
}
.bm-bar-1 { background: #BAC9AC; }
.bm-bar-2 { background: #D3DDC6; }
.bm-bar-3 { background: #EAEFE0; }
.bm-row {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 0;
  border-top: 0.5px solid #ECECEC;
}
.bm-row:first-of-type { border-top: none; padding-top: 4px; }
.bm-dot {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #D3DDC6;
  flex-shrink: 0;
}
.bm-line {
  height: 5px;
  flex: 1;
  background: #ECECEC;
  border-radius: 4px;
}

/* Mockup 2 — Medium article preview */
.bento-mockup-article {
  background: #FFFFFF;
  padding: 22px 22px 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.bm-medium {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background: var(--ink);
  color: #FFFFFF;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 700;
  font-size: 18px;
  border-radius: 50%;
  margin-bottom: 8px;
}
.bm-title-line {
  height: 10px;
  background: #2A2A2A;
  border-radius: 4px;
  width: 90%;
}
.bm-title-line-short { width: 65%; margin-bottom: 6px; }
.bm-text-line {
  height: 6px;
  background: #E0E0E0;
  border-radius: 4px;
  width: 100%;
}
.bm-text-line-short { width: 70%; }

/* Mockup 3 — phone with checkout flow */
.bento-mockup-phone {
  background: #FFFFFF;
  padding: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.bm-phone {
  width: 76px;
  aspect-ratio: 9 / 17;
  background: #1A1814;
  border-radius: 14px;
  padding: 8px 8px 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  position: relative;
}
.bm-phone-notch {
  width: 32%;
  height: 6px;
  background: #1A1814;
  border-radius: 0 0 6px 6px;
  position: absolute;
  top: 2px;
  left: 34%;
}
.bm-phone-bar {
  height: 6px;
  background: #CFC8E2;
  border-radius: 3px;
  margin-top: 6px;
}
.bm-phone-bar-short { width: 60%; background: #B8AED8; }
.bm-phone-cta {
  margin-top: auto;
  height: 14px;
  background: #002DB4;
  border-radius: 4px;
}

/* Mobile */
@media (max-width: 800px) {
  .bento-section { padding: 40px 16px 60px; }
  .bento-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    gap: 12px;
  }
  .bento-1, .bento-2, .bento-4 {
    grid-column: span 1;
    grid-row: span 1;
  }
  .bento-card { padding: 22px; }
  .bento-heading { font-size: 32px; }
  .bento-sub { margin-bottom: 32px; }
}

/* ============================================================
   Footer
   ============================================================ */
.footer {
  max-width: var(--max);
  margin: 0 auto;
  padding: 60px 32px 80px;
  text-align: center;
}
.footer-pills {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 10px;
  padding: 0;
  margin: 0 0 60px;
  flex-wrap: wrap;
}
.footer-meta {
  font-size: 12.5px;
  color: var(--muted);
  margin: 0;
  letter-spacing: 0.02em;
}

/* ============================================================
   Mobile
   ============================================================ */
@media (max-width: 800px) {
  .topnav { padding: 0 16px; top: 16px; }
  .logo-pill { font-size: 18px; }
  .pill { padding: 6px 11px; font-size: 12px; }
  .nav-pills { gap: 6px; }
  .pill-ico { display: none; }

  .section-tabs {
    gap: 20px;
    padding: 100px 16px 16px;
    flex-wrap: wrap;
    justify-content: flex-start;
    overflow-x: auto;
  }
  .tab { font-size: 12px; max-width: 200px; }
  .tab-sub { font-size: 11px; }

  .hero { padding: 16px 16px 140px; }
  .scroll-prompt-left { left: 16px; }
  .hero-tagline { font-size: clamp(32px, 9vw, 50px); }
  .hero-tagline-wrap { gap: 10px; padding: 0 10px; }
  .hero-star { width: 18px; height: 18px; }
  .hero-signature { bottom: 60px; right: 24px; font-size: 30px; }
  .scroll-prompt { bottom: 16px; }

  .work { padding: 20px 16px 60px; }
  .work-overview { gap: 16px; padding-left: 16px; padding-right: 16px; }
  .ov-meta { display: none; }
  .ov-list { gap: 16px; }
  .ov-link { font-size: 12px; }

  /* Disable sticky on mobile — cards stack normally */
  .case {
    position: relative;
    top: auto !important;
    padding: 18px 22px 22px;
    border-radius: 24px;
  }
  .work-label-col { position: static; top: auto; }
  .work-lead + .case { margin-top: 20px; }
  .case + .case { margin-top: 20px; }
  .case-inner { flex-direction: column; gap: 18px; align-items: stretch; }
  .case-visual { aspect-ratio: 4 / 3; border-radius: 16px; }
  .case-tab { padding-bottom: 16px; margin-bottom: 18px; }
  .case-tab-num { font-size: 18px; }
  .case-tab-name { font-size: 13px; }
  .case-tab-meta { font-size: 11px; }
  .ticket { font-size: 13px; padding: 8px 14px; }
  .ticket-1 { top: 10%; left: 4%; }
  .ticket-2 { top: 6%; right: 6%; }
  .ticket-3 { bottom: 16%; left: 6%; }
  .ticket-4 { bottom: 8%; right: 4%; }
  .case-mockup-laptop, .case-mockup-dashboard { width: 70%; }
  .case-mockup-phone { width: 24%; }
  .case-statement { font-size: clamp(18px, 5vw, 24px); }
  .cva-shot { padding: 16px 16px 8px; }
  .case-phases { padding: 4px 16px 16px; }
  .case-phases ol { gap: 8px; }
  .cph-label { font-size: 10px; letter-spacing: 0.04em; }
  .script-transition { font-size: clamp(28px, 8vw, 40px); }
  .footer { padding: 40px 16px 60px; }
}

/* ============================================================
   Case study page
   ============================================================ */
.case-body { background: #FFFFFF; }
.case-body::before { display: none; } /* no watercolor on case pages */

.case-page {
  max-width: 1080px;
  margin: 0 auto;
  padding: 84px 32px 80px;
}

.cs-back {
  display: inline-block;
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 24px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: color 0.25s var(--ease), border-color 0.25s var(--ease);
}
.cs-back:hover { color: var(--ink); border-color: var(--border, rgba(0,0,0,0.15)); }

/* Hero */
.cs-hero {
  max-width: 880px;
  margin: 0 auto 60px;
}
.cs-tags-row {
  font-family: var(--sans);
  font-size: 13px;
  color: var(--muted);
  letter-spacing: 0.03em;
  margin: 0 0 20px;
}
.cs-title {
  font-family: var(--serif);
  font-size: clamp(30px, 4.6vw, 56px);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin: 0 0 14px;
}
.cs-title em { font-style: italic; }
.cs-product {
  font-family: var(--sans);
  font-size: 16px;
  color: var(--ink-soft);
  margin: 0;
  font-weight: 500;
}
.cs-product-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  margin: 0 0 28px;
}
.cs-nda-btn--inline { margin: 0; }
.cs-lead {
  font-family: var(--sans);
  font-size: clamp(16px, 1.7vw, 18px);
  line-height: 1.6;
  color: var(--ink-soft);
  margin: 0 0 32px;
  max-width: 880px;
}

.cs-details {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px 32px;
  margin: 0 0 32px;
  padding: 24px 0;
  border-top: 1px solid rgba(0,0,0,0.08);
  border-bottom: 1px solid rgba(0,0,0,0.08);
}
.cs-details div { margin: 0; }
.cs-details dt {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin-bottom: 4px;
  font-weight: 500;
}
.cs-details dd {
  font-size: 14.5px;
  margin: 0;
  color: var(--ink);
}

.cs-nda-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: #FFFFFF;
  border: 1px solid rgba(20, 20, 20, 0.3);
  border-radius: 999px;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 500;
  color: var(--ink);
  transition: transform 0.25s var(--ease), border-color 0.25s var(--ease);
  box-shadow: 0 1px 2px rgba(0,0,0,0.04), 0 8px 24px -8px rgba(0,0,0,0.08);
}
.cs-nda-btn:hover { transform: translateY(-1px); border-color: var(--blue); }
.nda-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #E5A82E;
  box-shadow: 0 0 0 0 rgba(229, 168, 46, 0.5);
  animation: ndaPulse 2s infinite;
}
@keyframes ndaPulse {
  0%   { box-shadow: 0 0 0 0 rgba(229, 168, 46, 0.5); }
  70%  { box-shadow: 0 0 0 8px rgba(229, 168, 46, 0); }
  100% { box-shadow: 0 0 0 0 rgba(229, 168, 46, 0); }
}

/* Hero image strip */
.cs-img-strip {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
  margin: 0 0 60px;
}
.cs-strip-img {
  position: relative;
  aspect-ratio: 3 / 4;
  border-radius: 10px;
  display: flex;
  align-items: flex-end;
  padding: 10px;
}
.cs-tone-blue-1 { background: #DBE7F0; }
.cs-tone-blue-2 { background: #CEDEF0; }
.cs-tone-blue-3 { background: #C2D5F0; }
.cs-tone-blue-4 { background: #B5CCEF; }
.cs-tone-blue-5 { background: #A9C3EE; }

.cs-tone-lavender-1 { background: #E0DDF2; }
.cs-tone-lavender-2 { background: #D4D2EE; }
.cs-tone-lavender-3 { background: #C7C2E8; }

/* Alliant DS — sage/pine tones */
.cs-tone-sage-1 { background: #D4DDD0; }
.cs-tone-sage-2 { background: #C6D4C1; }
.cs-tone-sage-3 { background: #B8CBB2; }
.cs-tone-sage-4 { background: #AAC2A3; }
.cs-tone-sage-5 { background: #9CB994; }

.cs-img-label {
  font-size: 11px;
  color: rgba(20,20,20,0.55);
  font-family: var(--sans);
}

/* Impact strip */
.cs-impact-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding: 32px 0;
  border-top: 1px solid rgba(0,0,0,0.08);
  border-bottom: 1px solid rgba(0,0,0,0.08);
  margin: 0 auto 80px;
  max-width: 880px;
}
.cs-impact {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.cs-impact strong {
  font-family: var(--serif);
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1;
}
.cs-impact span {
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.02em;
}

/* Sections */
.cs-section {
  max-width: 880px;
  margin: 0 auto 80px;
}
.cs-section-statement { margin-bottom: 100px; }

.cs-statement {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.2;
  color: var(--ink);
  margin: 0 0 28px;
  letter-spacing: -0.01em;
}
.cs-h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(26px, 3.4vw, 36px);
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 0 0 24px;
}
.cs-h3 {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(22px, 2.6vw, 28px);
  line-height: 1.25;
  color: var(--ink);
  margin: 40px 0 16px;
}
.cs-h4 {
  font-family: var(--sans);
  font-weight: 600;
  font-size: clamp(17px, 1.7vw, 20px);
  color: var(--ink);
  margin: 32px 0 14px;
  letter-spacing: -0.005em;
}
.cs-h3-small {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: 22px;
  margin: 0 0 16px;
  color: var(--ink);
}
.cs-body {
  font-family: var(--sans);
  font-size: clamp(15px, 1.6vw, 17px);
  line-height: 1.7;
  color: var(--ink-soft);
  margin: 0 0 18px;
}
.cs-pullquote {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.4;
  color: var(--ink);
  margin: 24px 0;
  padding-left: 18px;
  border-left: 2px solid var(--blue);
}
.cs-caption {
  font-family: var(--sans);
  font-size: 13px;
  font-style: italic;
  color: var(--muted);
  line-height: 1.55;
  margin: 8px 0 24px;
  max-width: 680px;
}
.cs-muted { color: var(--muted); }

/* Inline images (placeholder blocks for now) */
.cs-img {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: var(--case-blue);
  border-radius: 12px;
  margin: 24px 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cs-img .cs-img-label {
  font-size: 13px;
  color: rgba(20,20,20,0.5);
}

/* Real photo images */
.cs-img-photo {
  width: 100%;
  border-radius: 12px;
  margin: 24px 0;
  display: block;
  object-fit: cover;
}
.cs-img-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 24px 0;
}
.cs-img-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 24px 0;
}
.cs-img-grid-2 img,
.cs-img-grid-3 img {
  width: 100%;
  border-radius: 10px;
  display: block;
  object-fit: cover;
}

/* Split card: half text, half numbered release tags */
.cs-split-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: #FFFFFF;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 10px;
  margin: 28px 0 32px;
  overflow: hidden;
}
.cs-split-text {
  padding: 36px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.cs-split-eyebrow {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 16px;
  font-weight: 500;
}
.cs-split-heading {
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 14px;
  line-height: 1.2;
}
.cs-split-body {
  font-family: var(--sans);
  font-size: 14px;
  color: var(--ink-soft);
  margin: 0;
  line-height: 1.55;
}
.cs-split-tags {
  padding: 36px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 18px;
  border-left: 1px solid rgba(0,0,0,0.08);
}
.cs-split-tag {
  display: grid;
  grid-template-columns: 44px 1fr;
  align-items: baseline;
  gap: 16px;
}
.cs-split-tag-num {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
}
.cs-split-tag-name {
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.2;
}
@media (max-width: 760px) {
  .cs-split-card { grid-template-columns: 1fr; }
  .cs-split-tags { border-left: none; border-top: 1px solid rgba(0,0,0,0.08); }
}

/* Inline SVG figures (diagrams, frameworks, matrices) */
.cs-img-svg {
  margin: 32px 0;
}
.cs-img-svg > svg,
.cs-img-svg > img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  background: #FBF9F4;
  border: 1px solid rgba(0,0,0,0.06);
  box-shadow: 0 1px 2px rgba(0,0,0,0.02), 0 6px 24px rgba(0,0,0,0.04);
}
.cs-img-svg figcaption {
  margin-top: 12px;
  max-width: none;
}

/* Asset image galleries (real product/system screens) */
.cs-asset-grid {
  display: grid;
  gap: 16px;
  margin: 24px 0;
  align-items: start;
}
.cs-asset-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.cs-asset-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.cs-asset-grid figure { margin: 0; }
.cs-asset-grid img,
.cs-asset-single img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  background: #FFFFFF;
  border: 1px solid rgba(0,0,0,0.08);
  box-shadow: 0 1px 2px rgba(0,0,0,0.02), 0 4px 16px rgba(0,0,0,0.04);
}
.cs-asset-grid figcaption,
.cs-asset-single figcaption {
  font-family: var(--sans);
  font-size: 12px;
  color: var(--muted);
  margin-top: 8px;
  line-height: 1.4;
}
.cs-asset-single { margin: 24px auto; max-width: 460px; }
@media (max-width: 760px) {
  .cs-asset-grid.cols-3,
  .cs-asset-grid.cols-2 { grid-template-columns: 1fr; }
}

/* Image slot placeholder (for screens Kavya will add) */
.cs-slot {
  border: 1px dashed rgba(0,0,0,0.22);
  border-radius: 12px;
  background: #FBF9F4;
  color: var(--muted);
  font-family: var(--sans);
  font-size: 13px;
  text-align: center;
  padding: 56px 24px;
  margin: 24px 0;
}

/* Hero strip — inline SVG cells (portrait) */
.cs-strip-cell {
  position: relative;
  aspect-ratio: 3 / 4;
  border-radius: 10px;
  overflow: hidden;
  background: #FBF9F4;
  border: 1px solid rgba(0,0,0,0.06);
  box-shadow: 0 1px 2px rgba(0,0,0,0.02), 0 4px 16px rgba(0,0,0,0.04);
}
.cs-strip-cell svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}

/* Release blocks */
.cs-release {
  max-width: 880px;
  margin: 100px auto;
  padding-top: 60px;
  border-top: 1px solid rgba(0,0,0,0.08);
}
.cs-release-head {
  margin-bottom: 32px;
}
.cs-release-marker {
  display: inline-block;
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue);
  padding: 4px 10px;
  background: rgba(0, 45, 180, 0.06);
  border-radius: 999px;
  margin-bottom: 12px;
}
.cs-release-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(32px, 4.5vw, 48px);
  line-height: 1.1;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin: 0;
}

/* Release list (on overview section) */
.cs-release-list {
  list-style: none;
  padding: 0;
  margin: 0 0 18px;
}
.cs-release-list li {
  padding: 12px 0;
  border-bottom: 1px solid rgba(0,0,0,0.06);
  font-family: var(--sans);
  font-size: 15px;
  color: var(--ink-soft);
}
.cs-release-list li:last-child { border-bottom: none; }
.cs-release-list strong { color: var(--ink); font-weight: 500; }

/* Bullets inside body */
.cs-bullets {
  font-family: var(--sans);
  font-size: 15px;
  color: var(--ink-soft);
  line-height: 1.7;
  padding-left: 20px;
  margin: 0 0 24px;
}
.cs-bullets li { margin-bottom: 6px; }

/* Recommendations deck carousel */
.cs-deck {
  margin: 32px 0 12px;
}
.cs-deck-stage {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  background: #FBF9F4;
  border: 1px solid #ECE5D2;
  border-radius: 12px;
  overflow: hidden;
  transition: background 320ms ease, border-color 320ms ease;
}
/* Per-slide background tints (read from the active slide via JS) */
.cs-deck-stage[data-tone="cover"]    { background: #1E2A3D; border-color: #1E2A3D; }
.cs-deck-stage[data-tone="delivery"] { background: #EEF1F6; border-color: #D4DCE8; }
.cs-deck-stage[data-tone="billing"]  { background: #F5EDDD; border-color: #E2D6BB; }
.cs-deck-stage[data-tone="account"]  { background: #EDF1EA; border-color: #CFDBC7; }
.cs-deck-stage[data-tone="dialog"]   { background: #FBF9F4; border-color: #ECE5D2; }
.cs-deck-slide {
  position: absolute;
  inset: 0;
  padding: 44px 52px;
  display: flex;
  flex-direction: column;
  opacity: 0;
  visibility: hidden;
  transition: opacity 260ms ease;
}
.cs-deck-slide.is-active {
  opacity: 1;
  visibility: visible;
}
.cs-deck-eyebrow {
  font-family: 'Inter', system-ui, sans-serif;
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 2px;
  color: #6B6660;
  display: block;
  margin-bottom: 16px;
}
.cs-deck-title {
  font-family: 'Inter', system-ui, sans-serif;
  font-weight: 600;
  font-size: clamp(20px, 2.2vw, 26px);
  line-height: 1.25;
  letter-spacing: -0.012em;
  color: #1A1A1A;
  margin: 0 0 24px;
  max-width: 720px;
}
.cs-deck-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.cs-deck-list li {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 13.5px;
  line-height: 1.55;
  color: #4A4A4A;
  padding-left: 16px;
  border-left: 2px solid #D8CFB8;
}
.cs-deck-list strong {
  color: #1A1A1A;
  font-weight: 600;
}
.cs-deck-pills {
  display: flex;
  gap: 12px;
  margin-top: 4px;
}
.cs-deck-pill {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 12px;
  font-weight: 500;
  color: #1A1A1A;
  background: #FFFFFF;
  border: 1px solid #D8CFB8;
  padding: 8px 14px;
  border-radius: 999px;
  letter-spacing: 0.02em;
}
.cs-deck-footer {
  margin-top: auto;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 11px;
  color: #847D70;
  letter-spacing: 1px;
  margin-bottom: 0;
}
/* Cover slide gets inverted type on the navy background */
.cs-deck-stage[data-tone="cover"] .cs-deck-eyebrow { color: rgba(255, 255, 255, 0.62); }
.cs-deck-stage[data-tone="cover"] .cs-deck-title   { color: #FFFFFF; }
.cs-deck-stage[data-tone="cover"] .cs-deck-footer  { color: rgba(255, 255, 255, 0.55); }
.cs-deck-stage[data-tone="cover"] .cs-deck-pill {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.22);
  color: #FFFFFF;
}
.cs-deck-dialog {
  display: flex;
  flex-direction: column;
}
.cs-deck-dialog-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  padding: 14px 0;
  border-top: 1px solid #ECE5D2;
}
.cs-deck-dialog-row:first-child {
  border-top: none;
  padding-top: 0;
}
.cs-deck-dialog-cdx, .cs-deck-dialog-alliant {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 12.5px;
  line-height: 1.55;
  margin: 0;
}
.cs-deck-dialog-cdx { color: #8B2A1F; }
.cs-deck-dialog-alliant { color: #1F4D8B; }
.cs-deck-dialog-tag {
  display: inline-block;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1.5px;
  padding: 2px 7px;
  border-radius: 3px;
  background: rgba(139, 42, 31, 0.1);
  color: #8B2A1F;
  margin-right: 8px;
  vertical-align: 1px;
}
.cs-deck-dialog-tag.is-blue {
  background: rgba(31, 77, 139, 0.1);
  color: #1F4D8B;
}
.cs-deck-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 18px;
  margin-top: 16px;
}
.cs-deck-btn {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 14px;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  border: 1px solid #D8CFB8;
  background: #FFFFFF;
  color: #1A1A1A;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 150ms ease, border-color 150ms ease, transform 120ms ease;
}
.cs-deck-btn:hover {
  background: #FBF9F4;
  border-color: #6B6660;
}
.cs-deck-btn:active { transform: scale(0.96); }
.cs-deck-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
  transform: none;
}
.cs-deck-counter {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 12px;
  color: #6B6660;
  letter-spacing: 1.5px;
  font-feature-settings: 'tnum';
  min-width: 50px;
  text-align: center;
}
@media (max-width: 720px) {
  .cs-deck-stage { aspect-ratio: 4 / 5; }
  .cs-deck-slide { padding: 28px 22px; }
  .cs-deck-dialog-row { grid-template-columns: 1fr; gap: 10px; }
  .cs-deck-pills { flex-wrap: wrap; }
}

/* Three-phase block */
.cs-phases {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin: 24px 0;
}
.cs-phase {
  padding: 18px 18px 20px;
  background: #FAFAFA;
  border-radius: 10px;
  border: 1px solid rgba(0,0,0,0.06);
}
.cs-phase-label {
  display: inline-block;
  font-family: var(--serif);
  font-style: italic;
  font-size: 17px;
  color: var(--blue);
  margin-bottom: 8px;
}
.cs-phase p {
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--ink-soft);
  margin: 0;
}

/* Stats row inside a release */
.cs-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin: 28px 0;
  padding: 24px 0;
  border-top: 1px solid rgba(0,0,0,0.08);
  border-bottom: 1px solid rgba(0,0,0,0.08);
}
.cs-stat {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.cs-stat strong {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(28px, 3.5vw, 40px);
  line-height: 1;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.cs-stat span {
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.55;
}

/* Reflections */
.cs-reflections {
  max-width: 880px;
  margin: 120px auto 80px;
  padding-top: 60px;
  border-top: 1px solid rgba(0,0,0,0.08);
}
.cs-reflection {
  position: relative;
  padding-left: 64px;
  margin: 40px 0 50px;
}
.cs-reflection-num {
  position: absolute;
  left: 0;
  top: 4px;
  font-family: var(--serif);
  font-style: italic;
  font-size: 26px;
  color: var(--blue);
}
.cs-reflection .cs-h3 { margin-top: 0; }

/* Credits + NDA */
.cs-credits {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  max-width: 880px;
  margin: 80px auto;
  padding: 40px 0;
  border-top: 1px solid rgba(0,0,0,0.08);
}
.cs-credits-list {
  margin: 0;
  padding: 0;
}
.cs-credits-list div { margin-bottom: 14px; }
.cs-credits-list dt {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin-bottom: 3px;
}
.cs-credits-list dd {
  font-size: 14px;
  color: var(--ink-soft);
  margin: 0;
  line-height: 1.5;
}
.cs-nda-card {
  padding: 24px 28px;
  background: #F0E7D5;
  border: 1px solid rgba(33, 40, 66, 0.10);
  border-radius: 14px;
}
.cs-nda-card .cs-body { font-size: 14px; margin-bottom: 18px; color: #3A352C; }
.cs-nda-card .cs-h3-small { color: #1A1814; }

/* Coming-soon stub sections */
.cs-soon {
  max-width: 720px;
  margin: 40px auto 80px;
  padding: 48px 40px;
  background: #F0E7D5;
  border-radius: 18px;
  text-align: left;
}
.cs-soon-title {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(28px, 3.5vw, 38px);
  line-height: 1.15;
  color: #1A1814;
  margin: 0 0 16px;
}
.cs-soon-body {
  font-family: var(--sans);
  font-size: 15.5px;
  line-height: 1.7;
  color: #3A352C;
  margin: 0 0 28px;
  max-width: 580px;
}

/* Next nav */
.cs-next {
  max-width: 760px;
  margin: 0 auto;
  padding: 24px 0 56px;
}
.cs-next-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 28px 32px;
  border-radius: 22px;
  background: #F4F2EE;
  border: 1px solid rgba(0,0,0,0.06);
  text-decoration: none;
  color: var(--ink);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s var(--ease);
}
.cs-next-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 36px rgba(0,0,0,0.09);
}
.cs-next-text { display: flex; flex-direction: column; gap: 7px; }
.cs-next-eyebrow {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}
.cs-next-title {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(22px, 3vw, 30px);
  line-height: 1.15;
  color: var(--ink);
}
.cs-next-desc {
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.5;
  color: var(--ink-soft);
  max-width: 44ch;
}
.cs-next-arr {
  flex-shrink: 0;
  width: 54px;
  height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #FFFFFF;
  border: 1px solid rgba(0,0,0,0.08);
  font-size: 22px;
  line-height: 1;
  color: var(--ink);
  transition: transform 0.3s var(--ease);
}
.cs-next-card:hover .cs-next-arr { transform: translateX(5px); }

/* Destination-colored tints */
.cs-next-blue     { background: #EAF0F8; }
.cs-next-blue:hover     { border-color: #C9D6E8; }
.cs-next-sage     { background: #EDF1E7; }
.cs-next-sage:hover     { border-color: #C7D2BB; }
.cs-next-lavender { background: #EFEEFA; }
.cs-next-lavender:hover { border-color: #D4D2EE; }
.cs-next-peach    { background: #FAF1E8; }
.cs-next-peach:hover    { border-color: #F0DACB; }
.cs-next-indigo   { background: #ECEDF8; }
.cs-next-indigo:hover   { border-color: #C7C9E8; }
.cs-next-rose     { background: #F9ECF1; }
.cs-next-rose:hover     { border-color: #E7CCD8; }

@media (max-width: 600px) {
  .cs-next { padding: 0 16px 40px; }
  .cs-next-card { padding: 22px; gap: 16px; border-radius: 18px; }
  .cs-next-arr { width: 44px; height: 44px; font-size: 19px; }
  .cs-next-desc { font-size: 14px; }
}

/* ============================================================
   Case study — FounderWay hero composition (home + report overlay)
   Treatment: colored gradient backdrop, layered mockups with depth,
   the home dashboard reads as the platform, the report card reads
   as what gets generated.
   ============================================================ */
.cs-fw-hero-wrap {
  position: relative;
  max-width: 1080px;
  margin: 0 auto 60px;
  padding: 56px 48px 56px;
  background:
    radial-gradient(ellipse 700px 360px at 78% 22%, rgba(132, 86, 220, 0.22), transparent 65%),
    radial-gradient(ellipse 540px 320px at 18% 88%, rgba(220, 168, 132, 0.18), transparent 60%),
    linear-gradient(155deg, #F2ECFA 0%, #E3D6F2 100%);
  border-radius: 22px;
  overflow: visible;
}
.cs-fw-hero-home,
.cs-fw-hero-report {
  border-radius: 10px;
  overflow: hidden;
  background: #FFFFFF;
  border: 1px solid rgba(40, 20, 80, 0.06);
}
.cs-fw-hero-home img,
.cs-fw-hero-report img {
  display: block;
  width: 100%;
  height: auto;
}
.cs-fw-hero-home {
  position: relative;
  width: 100%;
  z-index: 1;
  box-shadow:
    0 36px 70px -22px rgba(40, 20, 80, 0.32),
    0 8px 22px rgba(40, 20, 80, 0.08);
}
.cs-fw-hero-wrap--solo .cs-fw-hero-home {
  width: 100%;
  margin: 0;
}
@media (max-width: 900px) {
  .cs-fw-hero-wrap {
    padding: 28px 20px 28px;
    margin-bottom: 40px;
    border-radius: 16px;
  }
  .cs-fw-hero-home { width: 100%; }
}

/* ============================================================
   Case study — Problem/Solution/Result/Impact summary cards
   Four-card TL;DR right after the hero. Skimmers can read this
   block and walk away with the whole project.
   ============================================================ */
.cs-summary {
  max-width: 1080px;
  margin: 0 auto 60px;
  padding: 0 24px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.cs-summary--three { grid-template-columns: repeat(3, 1fr); }
.cs-summary-card {
  background: #FAF6EE;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 14px;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
}
.cs-summary-card.is-impact {
  background: linear-gradient(160deg, #2B1A6E 0%, #0F0A38 100%);
  color: #FFFFFF;
  border-color: transparent;
}
.cs-summary-label {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 14px;
}
.cs-summary-card.is-impact .cs-summary-label { color: rgba(255, 255, 255, 0.65); }
.cs-summary-title {
  font-family: var(--serif);
  font-size: 22px;
  line-height: 1.22;
  font-weight: 400;
  letter-spacing: -0.012em;
  color: var(--ink);
  margin: 0 0 14px;
}
.cs-summary-card.is-impact .cs-summary-title { color: #FFFFFF; }
.cs-summary-body {
  font-family: var(--sans);
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--ink-soft);
  margin: 0;
}
.cs-summary-metrics {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 6px;
}
.cs-summary-metric {
  display: flex;
  align-items: baseline;
  gap: 10px;
}
.cs-summary-metric strong {
  font-family: var(--serif);
  font-size: 28px;
  line-height: 1;
  font-weight: 400;
  letter-spacing: -0.015em;
  color: #FFFFFF;
  min-width: 64px;
}
.cs-summary-metric span {
  font-family: var(--sans);
  font-size: 12.5px;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.78);
}
@media (max-width: 1000px) {
  .cs-summary,
  .cs-summary--three { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .cs-summary,
  .cs-summary--three { grid-template-columns: 1fr; gap: 14px; padding: 0 16px; }
}

/* ============================================================
   Case study — anonymized myamerigas portal mock (current state)
   NDA-safe: customer name, account, dates, dollars all generic.
   ============================================================ */
.myag-mock {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: #F4F5F7;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 12px;
  overflow: hidden;
  width: 100%;
  color: #1F2937;
  line-height: 1.4;
  box-shadow: 0 1px 2px rgba(0,0,0,0.02), 0 6px 24px rgba(0,0,0,0.04);
}
.myag-header {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  background: #FFFFFF;
  border-bottom: 1px solid #E5E7EB;
  padding: 14px 24px;
}
.myag-logo {
  font-weight: 700;
  font-size: 17px;
  letter-spacing: -0.3px;
}
.myag-logo span { color: #B85042; }
.myag-nav { display: flex; gap: 22px; }
.myag-nav a {
  font-size: 13px;
  color: #6B7280;
  text-decoration: none;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  font-weight: 500;
}
.myag-nav a.is-active {
  color: #1F2937;
  border-bottom-color: #B85042;
}
.myag-user {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  color: #6B7280;
}
.myag-bell {
  display: inline-flex;
  width: 22px;
  height: 22px;
  align-items: center;
  justify-content: center;
  font-size: 13px;
}
.myag-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #B85042;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
}
.myag-greeting { padding: 20px 24px 12px; }
.myag-greeting h3 {
  margin: 0 0 4px;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.3px;
  color: #1F2937;
}
.myag-greeting p {
  margin: 0;
  font-size: 12.5px;
  color: #6B7280;
}
.myag-greeting p a {
  color: #1F40AF;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  margin-left: 6px;
}
.myag-row {
  display: grid;
  gap: 12px;
  padding: 0 24px;
  margin-bottom: 12px;
}
.myag-row-hero { grid-template-columns: 1fr 1fr; }
.myag-row-mid  { grid-template-columns: 1.1fr 1.4fr 1fr; }
.myag-card {
  background: #FFFFFF;
  border: 1px solid #E5E7EB;
  border-radius: 8px;
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
}
.myag-card-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #6B7280;
}
.myag-tank {
  display: flex;
  align-items: center;
  gap: 16px;
}
.myag-tank-ring {
  width: 78px;
  height: 78px;
  border-radius: 50%;
  background: conic-gradient(#B85042 0% 60%, #E5E7EB 60% 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  flex-shrink: 0;
}
.myag-tank-ring::before {
  content: "";
  position: absolute;
  inset: 8px;
  background: #FFFFFF;
  border-radius: 50%;
}
.myag-tank-ring span {
  position: relative;
  font-size: 17px;
  font-weight: 700;
  color: #1F2937;
  letter-spacing: -0.2px;
}
.myag-tank-info p {
  margin: 0 0 2px;
  font-size: 13px;
  color: #4B5563;
  line-height: 1.4;
}
.myag-tank-amt {
  font-weight: 600;
  color: #1F2937 !important;
}
.myag-tank-meta {
  color: #6B7280 !important;
  font-size: 11.5px !important;
}
.myag-delivery-date {
  font-size: 24px;
  font-weight: 700;
  color: #1F2937;
  letter-spacing: -0.3px;
  margin: 2px 0;
}
.myag-delivery-window {
  color: #4B5563;
  font-size: 13px;
}
.myag-delivery-meta {
  color: #6B7280;
  font-size: 11.5px;
}
.myag-button-row { display: flex; gap: 8px; flex-wrap: wrap; }
.myag-cta {
  display: inline-block;
  background: #B85042;
  color: #FFFFFF;
  padding: 7px 14px;
  border-radius: 6px;
  font-size: 12.5px;
  font-weight: 500;
  text-decoration: none;
  align-self: flex-start;
}
.myag-cta-ghost {
  background: #FFFFFF;
  color: #B85042;
  border: 1px solid #B85042;
}
.myag-balance {
  font-size: 28px;
  font-weight: 700;
  color: #1F2937;
  letter-spacing: -0.4px;
}
.myag-pill {
  display: inline-block;
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
  background: #DCFCE7;
  color: #166534;
  padding: 3px 8px;
  border-radius: 999px;
  align-self: flex-start;
  text-transform: uppercase;
}
.myag-activity {
  list-style: none;
  padding: 0;
  margin: 0;
}
.myag-activity li {
  display: grid;
  grid-template-columns: 48px 1fr auto;
  gap: 8px;
  font-size: 12px;
  padding: 7px 0;
  border-bottom: 1px solid #F1F1F1;
  color: #4B5563;
}
.myag-activity li:last-child { border-bottom: none; }
.myag-activity li span:first-child { color: #6B7280; }
.myag-activity li span:last-child {
  text-align: right;
  font-weight: 500;
  color: #1F2937;
}
.myag-link {
  font-size: 12px;
  color: #1F40AF;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  align-self: flex-start;
}
.myag-help-msg {
  margin: 0;
  font-size: 12.5px;
  color: #4B5563;
}
.myag-help-phone {
  margin: 0;
  font-size: 17px;
  font-weight: 600;
  color: #1F2937;
  letter-spacing: -0.2px;
}
.myag-quick { padding: 0 24px 22px; }
.myag-quick-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #6B7280;
  margin: 4px 0 10px;
}
.myag-quick-row {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 8px;
}
.myag-action {
  background: #FFFFFF;
  border: 1px solid #E5E7EB;
  border-radius: 8px;
  padding: 12px 8px 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: #4B5563;
  text-align: center;
}
.myag-action-ico {
  font-size: 17px;
  color: #B85042;
  line-height: 1;
}
@media (max-width: 760px) {
  .myag-nav { display: none; }
  .myag-row-hero,
  .myag-row-mid { grid-template-columns: 1fr; }
  .myag-quick-row { grid-template-columns: repeat(3, 1fr); }
}

/* ============================================================
   Case study — NDA-locked image treatment.
   Real screen sits blurred behind a lock overlay. Disclaimer
   below in the figcaption. Use for any client surface that
   should not be readable on the public portfolio.
   ============================================================ */
.cs-nda-image {
  max-width: 560px;
  margin: 28px auto;
}
.cs-nda-image-wrap {
  position: relative;
  aspect-ratio: 16/9;
  border-radius: 10px;
  overflow: hidden;
  background: #1F1B16;
  box-shadow: 0 1px 2px rgba(0,0,0,0.04), 0 8px 24px rgba(0,0,0,0.07);
}
/* Inline variant: sits inside a 2-col split row, fills its column, square-ish */
.cs-nda-image--inline {
  max-width: 100%;
  margin: 0;
}
.cs-nda-image--inline .cs-nda-image-wrap {
  aspect-ratio: 4/3;
}

/* 2-column split row inside a cs-section: text left, visual right */
.cs-split-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: start;
  margin-top: 8px;
}
.cs-split-row-text > p:first-child { margin-top: 0; }
.cs-split-row-text > p:last-child { margin-bottom: 0; }
@media (max-width: 760px) {
  .cs-split-row { grid-template-columns: 1fr; gap: 24px; }
}
/* Placeholder background. Swap in a real <img class="cs-nda-image-img"> when ready. */
.cs-nda-image-placeholder {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, #8A93A0 0%, #5C6470 55%, #2E343C 100%),
    radial-gradient(circle at 25% 30%, rgba(255,255,255,0.06) 0%, transparent 60%),
    radial-gradient(circle at 75% 70%, rgba(255,255,255,0.04) 0%, transparent 60%);
  filter: blur(6px) saturate(0.7);
}
.cs-nda-image-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(8px) saturate(0.95);
}
.cs-nda-image-chip {
  position: absolute;
  top: 16px;
  right: 16px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px 7px 11px;
  background: rgba(20, 20, 22, 0.78);
  color: #FFFFFF;
  border-radius: 999px;
  font-family: var(--sans);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  line-height: 1;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 2px 8px rgba(0,0,0,0.18);
}
.cs-nda-lock-sm {
  width: 14px;
  height: 14px;
  color: #FFFFFF;
  flex-shrink: 0;
}

/* ============================================================
   Case study — small all-caps section label (CONTEXT, PROBLEM, etc.)
   ============================================================ */
.cs-section-label {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 14px;
  display: block;
}

/* ============================================================
   Case study — knowledge base visual (Decision 2)
   Two side-by-side cards: chips showing what the platform knows
   about each founder, and an example contextual prompt.
   ============================================================ */
.cs-knowledge {
  margin: 22px 0 32px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.cs-knowledge-card {
  background: #FAF6EE;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 12px;
  padding: 20px 22px;
}
.cs-knowledge-card--example {
  background: #ECE4F7;
  border-color: rgba(40, 20, 80, 0.08);
}
.cs-knowledge-label {
  font-family: var(--sans);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 14px;
  display: block;
}
.cs-knowledge-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.cs-knowledge-chip {
  background: #FFFFFF;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 999px;
  padding: 8px 14px;
  font-family: var(--sans);
  font-size: 12.5px;
  color: var(--ink);
}
.cs-knowledge-quote {
  font-family: var(--serif);
  font-style: italic;
  font-size: 16px;
  color: var(--ink);
  margin: 0 0 12px;
  line-height: 1.4;
}
.cs-knowledge-result {
  font-family: var(--sans);
  font-size: 13px;
  color: var(--ink-soft);
  line-height: 1.55;
  margin: 0;
}
@media (max-width: 800px) {
  .cs-knowledge { grid-template-columns: 1fr; }
}

/* ============================================================
   Case study — user journey matrix
   Horizontal rows that span all 4 stages so Actions / Asking /
   Feeling / Opportunity align across columns at the same height.
   ============================================================ */
.cs-journey {
  margin: 36px 0 28px;
}
.cs-journey-matrix {
  display: grid;
  gap: 10px;
}
.cs-journey-row {
  display: grid;
  grid-template-columns: 110px repeat(4, 1fr);
  gap: 10px;
  align-items: stretch;
}
.cs-journey-row-label {
  font-family: var(--sans);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  display: flex;
  align-items: center;
  padding: 0 4px;
}
.cs-journey-cell {
  background: #FFFFFF;
  border: 1px solid rgba(0, 0, 0, 0.07);
  border-radius: 10px;
  padding: 14px 14px;
  font-family: var(--sans);
  font-size: 13px;
  line-height: 1.5;
  color: var(--ink-soft);
}
.cs-journey-row-headers .cs-journey-cell {
  background: transparent;
  border: none;
  padding: 4px 4px 8px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.cs-journey-step {
  font-family: var(--serif);
  font-style: italic;
  font-size: 13px;
  color: var(--blue);
}
.cs-journey-stage-name {
  font-family: var(--sans);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--ink);
  line-height: 1.3;
}
.cs-journey-row--asking .cs-journey-cell {
  background: #ECE4F7;
  font-style: italic;
  color: var(--ink);
}
.cs-journey-row--opportunity .cs-journey-cell {
  background: #FAF6EE;
  color: var(--ink);
}
.cs-journey-row--opportunity .cs-journey-row-label { color: var(--blue); }

@media (max-width: 960px) {
  .cs-journey-row {
    grid-template-columns: 1fr;
    gap: 6px;
  }
  .cs-journey-row-label {
    padding: 6px 0 2px;
  }
  .cs-journey-row-headers .cs-journey-cell {
    padding: 8px 4px 4px;
  }
}

/* ============================================================
   Case study — research synthesis block
   Left/right split. Left column shows the founder lifecycle
   (the input), right column shows the report categories that
   emerged (the synthesis output).
   ============================================================ */
.cs-research {
  margin: 40px 0 40px;
}
.cs-research-intro {
  margin: 0 0 28px;
}
.cs-research-intro .cs-section-label { margin-bottom: 10px; }
.cs-research-intro-heading {
  font-family: var(--serif);
  font-size: clamp(22px, 2.6vw, 30px);
  line-height: 1.22;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 0 0 14px;
  font-weight: 400;
}
.cs-research-intro-body {
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink-soft);
  margin: 0;
}
.cs-research-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: stretch;
}
.cs-research-split > div {
  display: flex;
  flex-direction: column;
}
.cs-research-col-label {
  font-family: var(--sans);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 14px;
  display: block;
}
.cs-research-stages {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}
.cs-research-stage {
  background: #FFFFFF;
  border: 1px solid rgba(0, 0, 0, 0.07);
  border-radius: 12px;
  padding: 14px 18px;
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 14px;
  align-items: center;
  flex: 1;
}
.cs-research-stage-num {
  font-family: var(--serif);
  font-style: italic;
  font-size: 16px;
  color: var(--blue);
}
.cs-research-stage-name {
  display: block;
  font-family: var(--sans);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
  margin: 0 0 6px;
}
.cs-research-stage-tasks {
  display: block;
  font-family: var(--sans);
  font-size: 13.5px;
  color: var(--ink-soft);
  line-height: 1.5;
}
.cs-research-categories {
  background: linear-gradient(160deg, #FAF5E0 0%, #F2E6C5 100%);
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: 14px;
  padding: 20px 18px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.cs-research-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-auto-rows: 1fr;
  gap: 10px;
  flex: 1;
}
.cs-research-chip {
  background: #FFFFFF;
  border-radius: 8px;
  padding: 12px;
  font-family: var(--sans);
  font-size: 12.5px;
  font-weight: 500;
  color: var(--ink);
  border: 1px solid rgba(0, 0, 0, 0.06);
  text-align: center;
  line-height: 1.35;
  display: flex;
  align-items: center;
  justify-content: center;
}
@media (max-width: 960px) {
  .cs-research-split { grid-template-columns: 1fr; gap: 24px; }
  .cs-research { padding: 0 12px; }
}
@media (max-width: 520px) {
  .cs-research-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   Case study — section anchor nav (sticky, left side)
   ============================================================ */
.cs-anchor-nav {
  position: fixed;
  top: 50%;
  left: 28px;
  transform: translateY(-50%);
  z-index: 40;
  font-family: var(--sans);
  pointer-events: auto;
  width: 224px;
  background: var(--bg);
  border: 1.5px solid rgba(0,0,0,0.16);
  border-radius: 16px;
  padding: 18px 16px 16px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.10);
}
.cs-anchor-label {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink);
  margin: 0 0 12px 14px;
  font-weight: 700;
}
.cs-anchor-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-left: 2px solid rgba(0,0,0,0.14);
}
.cs-anchor-list li { margin: 0; }
.cs-anchor-link {
  display: flex;
  align-items: center;
  gap: 10px;
  position: relative;
  padding: 7px 10px 7px 14px;
  margin-left: -1px;
  font-size: 12.5px;
  line-height: 1.35;
  color: var(--muted);
  border-left: 1px solid transparent;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease), transform 0.2s var(--ease);
}
.cs-anchor-link::before {
  content: "";
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(0,0,0,0.22);
  flex-shrink: 0;
  transition: background 0.2s var(--ease), transform 0.2s var(--ease);
}
.cs-anchor-link:hover {
  color: var(--ink);
}
.cs-anchor-link:hover::before {
  background: var(--blue);
}
.cs-anchor-link.is-active {
  color: var(--ink);
  border-left-color: var(--blue);
  font-weight: 500;
}
.cs-anchor-link.is-active::before {
  background: var(--blue);
  transform: scale(1.3);
}
.cs-anchor-num {
  font-family: var(--serif);
  font-style: italic;
  font-size: 11px;
  color: var(--muted);
  margin-right: 2px;
  opacity: 0.7;
}
.cs-anchor-link.is-active .cs-anchor-num { color: var(--blue); opacity: 1; }

/* Hide on narrower viewports — the left card needs clear margin room */
@media (max-width: 1280px) {
  .cs-anchor-nav { display: none; }
}

/* Mobile case study */
@media (max-width: 800px) {
  .case-page { padding: 80px 16px 40px; }
  .cs-hero { margin-bottom: 40px; }
  .cs-details { grid-template-columns: 1fr; gap: 14px; }
  .cs-img-strip { grid-template-columns: repeat(2, 1fr); }
  .cs-impact-strip { grid-template-columns: repeat(2, 1fr); gap: 18px; }
  .cs-section, .cs-release, .cs-reflections { margin-bottom: 60px; }
  .cs-phases { grid-template-columns: 1fr; }
  .cs-stats { grid-template-columns: 1fr; gap: 14px; }
  .cs-credits { grid-template-columns: 1fr; gap: 24px; }
  .cs-reflection { padding-left: 0; }
  .cs-reflection-num { position: static; display: block; margin-bottom: 8px; }
}

/* ============================================================
   About page
   ============================================================ */
.about-main {
  max-width: var(--max);
  margin: 0 auto;
  padding: 140px 32px 80px;
}

/* Hero */
.about-hero {
  position: relative;
  max-width: 880px;
  margin: 0 auto 56px;
  text-align: center;
}
.about-eyebrow {
  font-family: var(--serif);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 18px;
}
.about-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(36px, 5.2vw, 64px);
  line-height: 1.05;
  letter-spacing: -0.015em;
  margin: 0 0 28px;
  color: var(--ink);
}
.about-title em {
  font-style: italic;
  color: var(--blue);
}
.about-lede {
  font-family: var(--sans);
  font-size: clamp(15px, 1.4vw, 18px);
  line-height: 1.65;
  color: var(--ink-soft);
  max-width: none;
  margin: 0 auto;
}
.about-signature {
  display: block;
  font-family: var(--script);
  font-size: clamp(34px, 4vw, 48px);
  color: var(--blue);
  line-height: 1;
  margin-top: 28px;
  transform: rotate(-3deg);
}

/* Photos */
.about-photos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 880px;
  margin: 0 auto 56px;
}
.about-photo {
  margin: 0;
  border-radius: 24px;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: #F2EEE6;
  box-shadow: 0 2px 14px rgba(0,0,0,0.06), 0 0 0 0.5px rgba(0,0,0,0.06);
  transition: transform 0.4s var(--ease);
}
.about-photo:hover { transform: translateY(-3px); }
.about-photo-1 { transform: rotate(-1.5deg); }
.about-photo-2 { transform: rotate(1.5deg); margin-top: 32px; }
.about-photo-1:hover { transform: rotate(-1.5deg) translateY(-3px); }
.about-photo-2:hover { transform: rotate(1.5deg) translateY(-3px); }
.about-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Ticker — repeating chip strip */
.about-ticker {
  position: relative;
  overflow: hidden;
  margin: 0 -32px 72px;
  padding: 22px 0;
  border-top: 0.5px solid rgba(0,0,0,0.12);
  border-bottom: 0.5px solid rgba(0,0,0,0.12);
  background: rgba(240, 231, 213, 0.35);
}
.ticker-track {
  display: flex;
  gap: 48px;
  white-space: nowrap;
  animation: ticker 32s linear infinite;
  width: max-content;
}
.ticker-item {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(18px, 2vw, 24px);
  color: var(--ink);
  letter-spacing: 0.01em;
}
@keyframes ticker {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* What I believe */
.about-believe {
  max-width: 880px;
  margin: 0 auto 72px;
}
.about-section-label {
  font-family: var(--serif);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 28px;
}
.believe-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 22px;
}
.believe-item {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 20px;
  align-items: baseline;
  padding-bottom: 22px;
  border-bottom: 0.5px solid rgba(0,0,0,0.12);
}
.believe-item:last-child { border-bottom: none; padding-bottom: 0; }
.believe-num {
  font-family: var(--serif);
  font-style: italic;
  font-size: 18px;
  color: var(--blue);
  font-weight: 400;
}
.believe-text {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(20px, 2.2vw, 28px);
  line-height: 1.3;
  color: var(--ink);
  margin: 0;
  letter-spacing: -0.01em;
}
.believe-text em { font-style: italic; color: var(--blue); }

/* About cards (Quote, Tools, Connect, Must Read) */
.about-card {
  position: relative;
  max-width: 880px;
  margin: 0 auto 32px;
  padding: 36px 36px 32px;
  border-radius: 24px;
  background: #FFFFFF;
  box-shadow: 0 0 0 0.5px rgba(0,0,0,0.08), 0 2px 14px rgba(0,0,0,0.04);
}
.card-num {
  position: absolute;
  top: 24px;
  right: 28px;
  font-family: var(--serif);
  font-style: italic;
  font-size: 14px;
  color: var(--muted);
}
.card-label {
  display: block;
  font-family: var(--serif);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 18px;
}

/* Quote card */
.about-quote { background: #F0E7D5; }
.quote-body p {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(22px, 2.6vw, 32px);
  line-height: 1.25;
  color: var(--ink);
  margin: 0 0 14px;
  letter-spacing: -0.005em;
}
.quote-body cite {
  font-family: var(--sans);
  font-style: normal;
  font-size: 13px;
  color: var(--muted);
}

/* Tools */
.tool-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
}
.tool-chip {
  margin: 0;
  aspect-ratio: 1;
  border-radius: 14px;
  background: #F7F4EE;
  box-shadow: 0 0 0 0.5px rgba(0,0,0,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px;
  transition: transform 0.3s var(--ease);
}
.tool-chip:hover { transform: translateY(-2px); }
.tool-chip img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

/* Connect card */
.about-connect { background: #C9D6E8; }
.connect-text {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(18px, 1.9vw, 22px);
  line-height: 1.4;
  color: var(--ink);
  margin: 0 0 20px;
  max-width: 540px;
}
.connect-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.connect-pills .pill { background: #FFFFFF; }

/* Must Read */
.read-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.read-book {
  margin: 0;
  aspect-ratio: 2 / 3;
  border-radius: 8px;
  overflow: hidden;
  background: #F2EEE6;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08), 0 0 0 0.5px rgba(0,0,0,0.06);
  transition: transform 0.3s var(--ease);
}
.read-book:hover { transform: translateY(-3px); }
.read-book img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* CV — Education + Experience */
.about-cv {
  max-width: 1000px;
  margin: 64px auto 64px;
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 72px;
}
.cv-column { display: flex; flex-direction: column; gap: 28px; }
.cv-heading {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(28px, 3vw, 36px);
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 0 0 8px;
  padding-bottom: 14px;
  border-bottom: 0.5px solid rgba(0,0,0,0.18);
}
.cv-item { margin: 0; }
.cv-meta {
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--muted);
  text-transform: uppercase;
  margin: 0 0 6px;
}
.cv-role {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(18px, 1.7vw, 21px);
  color: var(--ink);
  margin: 0 0 4px;
  letter-spacing: -0.005em;
}
.cv-where {
  font-family: var(--sans);
  font-size: 14px;
  line-height: 1.5;
  color: var(--ink-soft);
  margin: 0;
}

/* Responsive */
@media (max-width: 800px) {
  .about-main { padding: 120px 16px 60px; }
  .about-hero { margin-bottom: 36px; }
  .about-photos { grid-template-columns: 1fr; gap: 16px; margin-bottom: 36px; }
  .about-photo-1, .about-photo-2 { transform: none; margin-top: 0; }
  .about-photo-1:hover, .about-photo-2:hover { transform: translateY(-3px); }
  .about-ticker { margin: 0 -16px 48px; }
  .about-believe { margin-bottom: 48px; }
  .believe-item { grid-template-columns: 32px 1fr; gap: 12px; }
  .about-card { padding: 28px 22px; margin-bottom: 22px; }
  .tool-grid { grid-template-columns: repeat(3, 1fr); }
  .read-grid { grid-template-columns: repeat(2, 1fr); }
  .about-cv { grid-template-columns: 1fr; gap: 48px; margin: 48px auto; }
}

/* ============================================================
   Reduced motion
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .hero-signature { opacity: 1; }
}


/* Click-to-enlarge lightbox */
.case-page figure img { cursor: zoom-in; }
.cs-lightbox {
  position: fixed; inset: 0; z-index: 1000;
  background: rgba(17,17,17,0.92);
  display: none; align-items: center; justify-content: center;
  padding: 4vmin; cursor: zoom-out;
}
.cs-lightbox.open { display: flex; }
.cs-lightbox img {
  max-width: 94vw; max-height: 94vh;
  border-radius: 8px; box-shadow: 0 12px 48px rgba(0,0,0,0.5);
}
.cs-lightbox-close {
  position: fixed; top: 18px; right: 22px;
  font-family: var(--sans); font-size: 30px; line-height: 1;
  color: #fff; background: none; border: none; cursor: pointer; opacity: 0.85;
}
.cs-lightbox-close:hover { opacity: 1; }


/* Component / screen cards (padded, labelled, explained) */
.cs-cards { display: grid; gap: 24px; margin: 28px 0; }
.cs-cards.cols-2 { grid-template-columns: repeat(2, 1fr); }
.cs-card {
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 14px;
  background: #FFFFFF;
  padding: 20px;
  box-shadow: 0 1px 2px rgba(0,0,0,0.02), 0 6px 20px rgba(0,0,0,0.05);
}
.cs-card img {
  width: 100%; height: auto; display: block;
  border-radius: 8px;
  border: 1px solid rgba(0,0,0,0.06);
  background: #FBF9F4;
  cursor: zoom-in;
}
.cs-card-label {
  font-family: var(--serif); font-size: 16px; font-weight: 700;
  color: var(--ink); margin: 16px 0 4px;
}
.cs-card-desc {
  font-family: var(--sans); font-size: 13px; color: var(--ink-soft);
  margin: 0; line-height: 1.5;
}
.cs-card-narrow { max-width: 460px; margin-left: auto; margin-right: auto; }
@media (max-width: 760px) { .cs-cards.cols-2 { grid-template-columns: 1fr; } }


/* Walkthrough slider (components, screens) */
.cs-slider { --media-h: 520px; position: relative; margin: 28px 0; }
.cs-slider-viewport { overflow: hidden; }
.cs-slider-track { display: flex; transition: transform .35s ease; }
.cs-slide { flex: 0 0 100%; min-width: 100%; box-sizing: border-box; }
.cs-slide-media {
  display: flex; align-items: center; justify-content: center;
  height: var(--media-h); padding: 20px; box-sizing: border-box;
  background: #FBF9F4; border-radius: 12px;
}
.cs-slide-media img {
  max-width: 100%; max-height: 100%; width: auto; height: auto;
  border-radius: 8px; cursor: zoom-in;
}
.cs-slide-label { font-family: var(--serif); font-size: 17px; font-weight: 700; color: var(--ink); margin: 16px 0 4px; text-align: center; }
.cs-slide-desc { font-family: var(--sans); font-size: 13px; color: var(--ink-soft); margin: 0 auto; line-height: 1.5; text-align: center; max-width: 560px; }
.cs-slider-arrow {
  position: absolute; top: calc(var(--media-h) / 2); transform: translateY(-50%);
  width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid rgba(0,0,0,0.10); background: rgba(255,255,255,0.92);
  font-size: 22px; line-height: 1; color: var(--ink); cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 2px 10px rgba(0,0,0,0.10);
}
.cs-slider-arrow:hover { background: #fff; }
.cs-slider-prev { left: 12px; }
.cs-slider-next { right: 12px; }
.cs-slider-dots { display: flex; justify-content: center; gap: 8px; margin-top: 14px; }
.cs-dot { width: 8px; height: 8px; border-radius: 50%; border: none; padding: 0; background: rgba(0,0,0,0.18); cursor: pointer; }
.cs-dot.active { background: #1A1AFF; }
@media (max-width: 760px) { .cs-slider { --media-h: 340px; } }


/* Tall screenshot, centered at a readable width */
.cs-img-svg.cs-tall { max-width: 560px; margin-left: auto; margin-right: auto; }


/* Annotated product screen: NDA badge + clickable hotspots */
.cs-shot-frame { margin: 28px 0; }
.cs-shot-stage { position: relative; display: block; }
.cs-shot-stage img {
  width: 100%; height: auto; display: block;
  border-radius: 12px; border: 1px solid rgba(0,0,0,0.08);
  box-shadow: 0 1px 2px rgba(0,0,0,0.02), 0 8px 28px rgba(0,0,0,0.06);
  cursor: zoom-in;
}
.cs-shot-badge {
  position: absolute; top: 12px; right: 12px; z-index: 3;
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(17,17,17,0.82); color: #fff;
  font-family: var(--sans); font-size: 12px; font-weight: 500;
  padding: 6px 12px; border-radius: 999px;
  -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
}
.cs-hotspot {
  position: absolute; transform: translate(-50%, -50%); z-index: 4;
  width: 24px; height: 24px; border-radius: 50%; padding: 0;
  background: #1A1AFF; border: 2px solid #fff;
  color: #fff; font-family: var(--sans); font-size: 12px; font-weight: 700;
  cursor: pointer; line-height: 1;
  animation: cs-pulse 2.6s infinite;
}
.cs-hotspot::after { content: attr(data-n); }
@keyframes cs-pulse {
  0% { box-shadow: 0 0 0 0 rgba(0,0,193,0.35); }
  70% { box-shadow: 0 0 0 9px rgba(0,0,193,0); }
  100% { box-shadow: 0 0 0 0 rgba(0,0,193,0); }
}
.cs-hotspot-tip {
  position: absolute; left: 50%; bottom: 150%; transform: translateX(-50%);
  white-space: nowrap; background: #111; color: #fff;
  font-family: var(--sans); font-size: 12px; font-weight: 500;
  padding: 6px 10px; border-radius: 6px;
  opacity: 0; pointer-events: none; transition: opacity .15s ease;
}
.cs-hotspot:hover .cs-hotspot-tip,
.cs-hotspot:focus .cs-hotspot-tip,
.cs-hotspot.active .cs-hotspot-tip { opacity: 1; }


/* Brand value cards */
.cs-values { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin: 24px 0 8px; }
.cs-value {
  border: 1px solid rgba(0,0,0,0.08); border-radius: 14px; padding: 24px;
  background: #fff; box-shadow: 0 1px 2px rgba(0,0,0,0.02), 0 6px 20px rgba(0,0,0,0.04);
}
.cs-value-eyebrow { font-family: var(--sans); font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: #1A1AFF; margin: 0 0 10px; }
.cs-value-title { font-family: var(--serif); font-size: 19px; font-weight: 700; color: var(--ink); margin: 0 0 8px; line-height: 1.2; }
.cs-value-desc { font-family: var(--sans); font-size: 14px; color: var(--ink-soft); margin: 0; line-height: 1.55; }
@media (max-width: 760px) { .cs-values { grid-template-columns: 1fr; } }


/* Annotated-screen slider (v2 apps) */
.cs-shot-slider { position: relative; margin: 28px 0; }
.cs-ssl-viewport { overflow: hidden; transition: height .35s ease; }
.cs-ssl-track { display: flex; align-items: flex-start; transition: transform .35s ease; }
.cs-shot-slide { flex: 0 0 100%; min-width: 100%; box-sizing: border-box; padding: 0 2px; }
.cs-shot-slide.phone .cs-shot-stage { max-width: 360px; margin-left: auto; margin-right: auto; }
.cs-shot-slide .cs-caption { text-align: center; max-width: none; }
.cs-shot-slider .cs-slider-arrow { top: 40%; }

/* ============================================================
   How I work — method strip (home + about) + per-case kicker
   ============================================================ */
.method-section {
  max-width: var(--max);
  margin: 0 auto;
  padding: 80px 32px;
}
.method-head {
  max-width: 660px;
  margin: 0 auto 44px;
  text-align: center;
}
.method-eyebrow {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 14px;
}
.method-title {
  font-family: var(--serif);
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.08;
  margin: 0 0 16px;
  color: var(--ink);
}
.method-sub {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--muted);
  margin: 0;
}
.method-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(0,0,0,0.08);
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 16px;
  overflow: hidden;
}
.method-item {
  background: var(--bg);
  padding: 30px 26px;
}
.method-item::before {
  content: "";
  display: block;
  width: 26px;
  height: 3px;
  border-radius: 2px;
  background: var(--blue);
  margin-bottom: 18px;
}
.method-item-title {
  font-family: var(--serif);
  font-size: 18px;
  line-height: 1.25;
  margin: 0 0 12px;
  color: var(--ink);
}
.method-item-body {
  font-family: var(--sans);
  font-size: 14px;
  line-height: 1.55;
  color: var(--muted);
  margin: 0;
}
.method-proof {
  display: block;
  margin-top: 12px;
  font-family: var(--sans);
  font-size: 13px;
  line-height: 1.5;
  color: var(--ink);
}
@media (max-width: 860px) {
  .method-section { padding: 56px 16px; }
  .method-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px) {
  .method-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   Bento mockups — Medium logo tile + CM Wealth consolidation
   ============================================================ */
.bento-mockup-medium {
  background: #1A1A1A;
  display: flex;
  align-items: center;
  justify-content: center;
}
.bm-medium-mark {
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(56px, 8vw, 76px);
  line-height: 1;
  color: #FFFFFF;
}

.bento-mockup-consolidate {
  background: #FFFFFF;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 26px 24px;
}
.bm-srcs { display: flex; gap: 10px; }
.bm-srcs span {
  width: 46px;
  height: 30px;
  border-radius: 6px;
  background: #E2E4F4;
  border: 1px solid #C7C9E8;
}
.bm-merge {
  width: 0;
  height: 0;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-top: 10px solid #9AA1C4;
}
.bm-one {
  width: 76%;
  height: 46px;
  border-radius: 8px;
  background: #C7C9E8;
  border: 1px solid #AEB3D6;
}

/* Bento SVG tiles — CM Wealth cash projection + Forever 21 cart abandonment */
.bento-mockup-chart,
.bento-mockup-cart {
  background: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
}
.bento-mockup-chart svg {
  display: block;
  width: 100%;
  height: 100%;
}
.bento-mockup-cart svg {
  display: block;
  width: 280px;
  max-width: 80%;
  height: auto;
}

/* ============================================================
   Ask Kavya — scripted concierge chat
   ============================================================ */
.ask-chat {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
  max-width: 600px;
  margin: 0 auto 14px;
}
.ask-chat:empty { display: none; }
.ask-bubble { display: flex; gap: 8px; align-items: flex-end; }
.ask-bubble-u { justify-content: flex-end; }
.ask-bubble-k { justify-content: flex-start; }
.ask-av {
  width: 26px; height: 26px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}
.ask-msg {
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.5;
  padding: 11px 15px;
  border-radius: 18px;
  max-width: 82%;
}
.ask-bubble-k .ask-msg { background: #F0EEE9; color: var(--ink); border-bottom-left-radius: 5px; }
.ask-bubble-u .ask-msg { background: var(--blue); color: #FFFFFF; border-bottom-right-radius: 5px; }
.ask-msg a { text-decoration: underline; color: var(--blue); }
.ask-bubble-u .ask-msg a { color: #FFFFFF; }

.ask-suggest {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  width: 100%;
  max-width: 620px;
  margin: 0 auto 14px;
}
.ask-chip {
  font-family: var(--sans);
  font-size: 13px;
  color: var(--ink);
  background: #FFFFFF;
  border: 1px solid rgba(0,0,0,0.12);
  border-radius: 999px;
  padding: 7px 14px;
  cursor: pointer;
  transition: transform 0.2s var(--ease), border-color 0.2s var(--ease), color 0.2s var(--ease);
}
.ask-chip:hover { transform: translateY(-1px); border-color: var(--blue); color: var(--blue); }

.ask-send {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px; height: 34px;
  border: none;
  border-radius: 50%;
  background: var(--blue);
  color: #FFFFFF;
  font-size: 15px;
  line-height: 1;
  cursor: pointer;
  transition: transform 0.2s var(--ease), opacity 0.2s var(--ease);
}
.ask-trigger:hover .ask-send { transform: translateY(-1px); }

/* ============================================================
   Ask Kavya — trigger + chat popup
   ============================================================ */
.ask-trigger {
  width: 100%;
  cursor: pointer;
  text-align: left;
  -webkit-appearance: none;
  appearance: none;
  font: inherit;
}
.ask-trigger-text {
  flex: 1;
  font-family: var(--sans);
  font-size: 14px;
  color: #9B9B9B;
}

.chat-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  background: rgba(20, 18, 16, 0.38);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s var(--ease), visibility 0.25s var(--ease);
  padding: 0 16px;
}
.chat-overlay.open { opacity: 1; visibility: visible; }
.chat-panel {
  width: min(680px, 94vw);
  height: min(760px, 88vh);
  margin-bottom: 28px;
  background: #FFFFFF;
  border-radius: 26px;
  box-shadow: 0 24px 80px rgba(20, 18, 16, 0.30);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform: translateY(28px);
  transition: transform 0.32s var(--ease);
}
.chat-overlay.open .chat-panel { transform: translateY(0); }

.chat-head {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 18px 20px;
  background: #FBF7EF;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}
.chat-head-avwrap { position: relative; flex-shrink: 0; line-height: 0; }
.chat-head-av { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; display: block; }
.chat-online {
  position: absolute;
  right: 0; bottom: 1px;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: #46C46A;
  border: 2.5px solid #FBF7EF;
}
.chat-head-meta { display: flex; flex-direction: column; gap: 2px; line-height: 1.2; }
.chat-head-name { font-family: var(--serif); font-size: 17px; color: var(--ink); }
.chat-head-status { font-family: var(--sans); font-size: 12px; color: var(--muted); }
.chat-close {
  margin-left: auto;
  width: 30px; height: 30px;
  border: none;
  background: rgba(0, 0, 0, 0.05);
  border-radius: 50%;
  cursor: pointer;
  font-size: 20px;
  line-height: 1;
  color: var(--ink);
}
.chat-close:hover { background: rgba(0, 0, 0, 0.1); }

.chat-log {
  flex: 1;
  overflow-y: auto;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.chat-suggest {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 10px 16px 6px;
}

.chat-input {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 14px 14px;
  border-top: 1px solid rgba(0, 0, 0, 0.07);
}
.chat-field {
  flex: 1;
  border: none;
  outline: none;
  background: #F2F1EC;
  border-radius: 999px;
  padding: 10px 16px;
  font-family: var(--sans);
  font-size: 14px;
  color: var(--ink);
}
.chat-field::placeholder { color: #9B9B9B; }
.chat-send {
  flex-shrink: 0;
  width: 36px; height: 36px;
  border: none;
  border-radius: 50%;
  background: var(--blue);
  color: #FFFFFF;
  font-size: 16px;
  cursor: pointer;
}

.chat-typing .ask-msg { display: inline-flex; gap: 4px; align-items: center; padding: 13px 14px; }
.chat-typing .dot { width: 6px; height: 6px; border-radius: 50%; background: rgba(0, 0, 0, 0.4); animation: chat-typing 1.2s infinite; }
.chat-typing .dot:nth-child(2) { animation-delay: 0.18s; }
.chat-typing .dot:nth-child(3) { animation-delay: 0.36s; }
@keyframes chat-typing { 0%, 60%, 100% { opacity: 0.3; transform: translateY(0); } 30% { opacity: 1; transform: translateY(-3px); } }
@media (prefers-reduced-motion: reduce) { .chat-typing .dot { animation: none; } }

@media (max-width: 560px) {
  .chat-overlay { padding: 0; align-items: stretch; }
  .chat-panel { width: 100%; height: 88vh; margin-bottom: 0; border-radius: 22px 22px 0 0; align-self: flex-end; }
}
