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

:root {
  --bg: #FFFFFF;
  --bg2: #F8F8F8;
  --ink: #1A0F10;
  --ink2: #6B4045;
  --ink3: #B08A8E;
  --muted: #B08A8E;
  --rule: #E8E8E8;
  --accent: #7D1D2E;
  --accent2: #C4566A;
  --yellow: #F2C4B0;
  --white: #FFFFFF;
}

html {
  scroll-behavior: smooth;
  color-scheme: light only;
}

body {
  background: var(--bg);
  color: var(--ink);
  font-family: 'Lato', sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

/* ── LAYOUT ── */
.wrap {
  max-width: 640px;
  margin: 0 auto;
  padding: 0 28px;
  position: relative;
  z-index: 1;
}

/* ── HEADER ── */
header {
  padding: 64px 0 16px;
}

.header-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 32px;
}

.header-name {
  font-family: 'Nunito', sans-serif;
  font-size: clamp(36px, 7vw, 56px);
  font-weight: 700;
  line-height: 1.0;
  letter-spacing: 0px;
  color: var(--ink);
}
.header-name em {
  font-style: italic;
  font-weight: 600;
  color: var(--accent);
}


.header-role {
  font-size: 15px;
  color: var(--muted);
  font-weight: 400;
  margin-top: 10px;
  line-height: 1.5;
}
.header-role a {
  color: var(--muted);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: var(--rule);
  transition: color .15s;
}
.header-role a:hover { color: var(--ink); }

.avail-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: 'Lato', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: #1a9e5c;
  background: #E6F9F0;
  padding: 5px 14px;
  border-radius: 99px;
  margin-top: 16px;
}
.avail-dot {
  width: 7px; height: 7px;
  background: #4a9a6a;
  border-radius: 50%;
  animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: .5; transform: scale(.85); }
}

/* ── NAV ── */
nav {
  padding: 0 0 24px;
  margin-bottom: 28px;
}
nav ul {
  list-style: none;
  display: flex;
  gap: 28px;
}
nav a {
  font-size: 14px;
  font-weight: 400;
  color: var(--muted);
  text-decoration: none;
  transition: color .12s;
  border-bottom: 1.5px solid var(--rule);
  padding-bottom: 2px;
}
nav a:hover { color: var(--accent); border-bottom-color: var(--accent); }

/* ── SECTIONS ── */
section { margin-bottom: 72px; }

.sec-label {
  font-family: 'Nunito', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}

/* ── ABOUT ── */
.about-text {
  font-family: 'Nunito', sans-serif;
  font-size: clamp(18px, 3vw, 22px);
  font-weight: 600;
  line-height: 1.5;
  color: var(--ink);
}
.about-body {
  margin-top: 20px;
  font-size: 16px;
  color: var(--muted);
  line-height: 1.8;
  font-family: 'Lato', sans-serif;
  font-style: normal;
}
.about-body p + p { margin-top: 12px; }
.about-body strong { color: var(--ink); font-weight: 600; }
.about-body a {
  color: var(--accent);
  text-underline-offset: 3px;
}

.tools {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.tool {
  font-family: 'Nunito', sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: var(--accent);
  border: 2px solid var(--rule);
  border-radius: 99px;
  padding: 3px 14px;
  background: var(--bg2);
  transition: background .15s, border-color .15s;
}
.tool:hover { background: var(--yellow); border-color: var(--yellow); color: var(--ink); }

.work-list { display: flex; flex-direction: column; overflow: visible; }

.work-item {
  opacity: 1;
  transform: translateY(0);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 0;
  border-bottom: 1px solid var(--rule);
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  position: relative;
  transition: padding-left .2s ease;
}
.work-item:first-child { border-top: 1px solid var(--rule); }
.work-item:hover { padding-left: 10px; }

/* ── TL;DR PREVIEW ── */
.wi-tldr {
  position: absolute;
  right: 60px;
  top: 50%;
  transform: translateY(-50%) translateY(6px);
  background: #fff;
  border: 1px solid var(--rule);
  border-radius: 12px;
  padding: 12px 14px;
  width: 220px;
  box-shadow: 0 4px 20px rgba(0,0,0,.09);
  z-index: 10;
  pointer-events: none;
  opacity: 0;
  transition: opacity .2s ease, transform .2s ease;
}
.work-item:hover .wi-tldr {
  opacity: 1;
  transform: translateY(-50%) translateY(0);
}
.wi-tldr-label {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--accent2);
  margin-bottom: 5px;
}
.wi-tldr-text {
  font-size: 12px;
  color: var(--ink2);
  line-height: 1.5;
}

.wi-left { flex: 1; min-width: 0; }
.wi-name {
  font-family: 'Nunito', sans-serif;
  font-size: clamp(16px, 2.5vw, 19px);
  font-weight: 600;
  color: var(--ink);
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: color .15s;
}
.work-item:hover .wi-name { color: var(--accent); letter-spacing: .01em; }
.work-item:hover .wi-right { color: var(--accent); }
.work-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%) scaleY(0);
  width: 3px;
  height: 60%;
  background: var(--accent);
  border-radius: 99px;
  transition: transform .2s ease;
}
.work-item:hover::before { transform: translateY(-50%) scaleY(1); }
.wi-meta {
  font-size: 12px;
  color: var(--muted);
  margin-top: 3px;
  display: block;
}
.wi-right {
  font-size: 12px;
  color: var(--muted);
  white-space: nowrap;
  flex-shrink: 0;
}

.wip-badge {
  display: inline-block;
  font-family: 'Nunito', sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: var(--accent2);
  background: #FFF0F5;
  border-radius: 99px;
  padding: 1px 9px;
  margin-left: 8px;
  vertical-align: middle;
}

/* ── CONTACT ── */
.contact-block {
  font-family: 'Nunito', sans-serif;
  font-size: clamp(24px, 4vw, 36px);
  font-weight: 700;
  line-height: 1.2;
  color: var(--ink);
  margin-bottom: 24px;
}

.contact-email {
  display: inline-block;
  font-family: 'Nunito', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 2.5px solid var(--accent);
  padding-bottom: 2px;
  transition: color .15s, border-color .15s;
}
.contact-email:hover { color: var(--accent); }

.contact-links {
  margin-top: 28px;
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}
.contact-links a {
  font-size: 13px;
  color: var(--muted);
  text-decoration: none;
  border-bottom: 1px solid var(--rule);
  padding-bottom: 1px;
  transition: color .12s, border-color .12s;
}
.contact-links a:hover { color: var(--ink); border-color: var(--muted); }

/* ── FOOTER ── */
footer {
  padding: 32px 0 60px;
  border-top: 1px solid var(--rule);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: var(--muted);
}

/* ── FADE IN staggered per child ── */
.fade { opacity: 0; transform: translateY(20px); transition: opacity .6s ease, transform .6s ease; }
.fade.in { opacity: 1; transform: translateY(0); }

/* ── CUSTOM CURSOR ── */
body, body * { cursor: none !important; }

/* ── CUSTOM CURSOR ── */
#cursor {
  position: fixed;
  top: 0; left: 0;
  width: 10px; height: 10px;
  background: var(--accent);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: transform .08s ease, width .2s ease, height .2s ease, opacity .2s ease;
}
#cursor.hovering { width: 36px; height: 36px; opacity: .25; }
#cursor.clicking { width: 8px; height: 8px; }
#cursor-trail {
  position: fixed;
  top: 0; left: 0;
  width: 36px; height: 36px;
  border: 1.5px solid var(--accent);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  transition: left .12s ease, top .12s ease, opacity .3s ease;
  opacity: .35;
}

/* ── SCRAMBLE target keep same layout ── */
.wi-name { display: block; }
/* ── iMESSAGE iOS STYLE ── */
.chat-window {
  background: #FFFFFF;
  border-radius: 22px;
  border: 1px solid #E5E5EA;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,.08);
}
.chat-topbar {
  background: #F9F9F9;
  border-bottom: 1px solid #E5E5EA;
  padding: 16px 16px 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.chat-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: #FFFFFF;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}
.chat-contact {
  font-size: 13px;
  font-weight: 600;
  color: #000;
  font-family: -apple-system, 'SF Pro Text', sans-serif;
  text-align: center;
}
.chat-contact-sub {
  font-size: 11px;
  color: #8E8E93;
  font-family: -apple-system, 'SF Pro Text', sans-serif;
  text-align: center;
}
.chat-bubbles {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 20px 16px 24px;
  background: #FFFFFF;
}
.bubble {
  max-width: 75%;
  align-self: flex-start;
  background: var(--bg2);
  color: #000000;
  font-family: -apple-system, 'SF Pro Text', 'Lato', sans-serif;
  font-size: 15px;
  line-height: 1.4;
  padding: 9px 13px;
  border-radius: 18px 18px 18px 4px;
  opacity: 0;
  transform: translateY(6px) scale(.97);
  animation: bubblePop .22s cubic-bezier(.34,1.56,.64,1) forwards;
  margin-left: 4px;
}
@keyframes bubblePop {
  to { opacity: 1; transform: translateY(0) scale(1); }
}
/* first bubble iMessage blue */
.bubble:first-child {
  background: #007AFF;
  color: #FFFFFF;
  font-family: -apple-system, 'SF Pro Text', 'Lato', sans-serif;
  font-size: 15px;
  font-weight: 400;
  border-radius: 18px 18px 18px 4px;
}
/* timestamp above first bubble */
.chat-timestamp {
  text-align: center;
  font-size: 11px;
  color: #8E8E93;
  font-family: -apple-system, 'SF Pro Text', sans-serif;
  margin-bottom: 8px;
  letter-spacing: .02em;
}
.bubble-typing {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 10px 14px;
  width: 52px;
  background: var(--bg2);
  border-radius: 18px 18px 18px 4px;
  margin-left: 4px;
  opacity: 0;
  animation: bubblePop .22s cubic-bezier(.34,1.56,.64,1) forwards;
}
.bubble-typing .dot {
  width: 6px; height: 6px;
  background: #8E8E93;
  border-radius: 50%;
  animation: dotBounce 1.2s ease-in-out infinite;
}
.bubble-typing .dot:nth-child(2) { animation-delay: .18s; }
.bubble-typing .dot:nth-child(3) { animation-delay: .36s; }
@keyframes dotBounce {
  0%, 80%, 100% { transform: translateY(0); opacity: .5; }
  40%           { transform: translateY(-4px); opacity: 1; }
}
/* ── GAME PIGEON CARD cute pastel ── */
.gp-bubble {
  max-width: 88%;
  align-self: flex-start;
  border-radius: 18px 18px 18px 4px;
  overflow: hidden;
  background: var(--bg2);
  margin-left: 4px;
  opacity: 0;
  transform: translateY(6px) scale(.97);
  animation: bubblePop .22s cubic-bezier(.34,1.56,.64,1) forwards;
  cursor: default;
  border: 1px solid #E5E5EA;
}
.gp-header {
  background: linear-gradient(135deg, #7D1D2E 0%, #C4566A 100%);
  padding: 12px 16px 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.gp-icon {
  width: 34px; height: 34px;
  background: #F9F9F9;
  border-radius: 50%;
  overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}
.gp-meta {
 flex: 1;
}
.gp-title { 
  color: white;
  font-family: 'Nunito', sans-serif; 
  font-weight: 800; 
  font-size: 16px; 
  line-height: 1.2; 
}
.gp-sub { 
  color: rgba(255,255,255,.7); 
  font-family: 'Lato', sans-serif; 
  font-size: 10px; 
  margin-top: 1px; 
}
.gp-body { 
  padding: 16px; 
  background: #ffffff; 
}

/* cup game */
.cup-stage {
  position: relative;
  height: 80px;
  width: 228px;
  margin: 0 auto 14px;
  background: #ffffff;
  padding-top: 4px;
  overflow: hidden;
}
.cup {
  width: 64px; height: 64px;
  position: absolute;
  top: 8px;
  cursor: pointer;
  border-radius: 18px;
  display: flex; align-items: center; justify-content: center;
  font-size: 32px;
  user-select: none;
  background: #F9EEED;
  z-index: 2;
}
.cup:hover { transform: translateY(-4px); }

.ball {
  position: absolute;
  bottom: 4px;
  left: 50%; transform: translateX(-50%);
  font-size: 20px;
  opacity: 0;
  transition: opacity .2s;
  line-height: 1;
  z-index: 1;
}

.gp-status {
  text-align: center;
  font-family: 'Nunito', sans-serif;
  font-size: 13px;
  font-weight: 800;
  color: var(--ink3);
  min-height: 20px;
  transition: color .2s;
}
.gp-status.win  { 
  color: #2a7a50;
}
.gp-status.lose { 
  color: var(--accent2); 
}

.gp-play-wrap {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  opacity: 0;
  z-index: 3;
  transition: opacity .2s ease;
  background: rgba(255,255,255,.7);
  border-radius: 12px;
  backdrop-filter: blur(2px);
}
.gp-play-wrap.visible {
  pointer-events: auto;
  opacity: 1;
}
.gp-play-circle {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: #E8A838;
  border: none;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 0 0 6px rgba(232,168,56,.2);
  transition: transform .15s, box-shadow .15s;
}
.gp-play-circle:hover {
  transform: scale(1.08);
  box-shadow: 0 0 0 10px rgba(232,168,56,.15);
}
.gp-play-circle svg  { margin-left: 3px; } 
.gp-btn { 
  display: block;
  width: 100%;
  margin-top: 12px;
  background: #F9EEED;
  color: var(--ink);
  font-family: 'Nunito', sans-serif;
  font-size: 13px;
  font-weight: 800;
  border: none;
  border-radius: 99px;
  padding: 11px;
  cursor: pointer;
  transition: opacity .15s, transform .15s;
  letter-spacing: .04em;
}
.gp-btn:hover { transform: translateY(-2px); opacity: .85; }
.gp-btn:active { transform: translateY(1px); }

/* ── CASE STUDY PAGE ── */
#case-study {
  position: fixed;
  inset: 0;
  background: #ffffff;
  z-index: 200;
  overflow-x: hidden;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform .45s cubic-bezier(.32,1,.64,1);
}
#case-study.open { transform: translateX(0); }

/* progress bar inside case study */
#cs-progress {
  position: sticky;
  top: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  width: 0%;
  z-index: 300;
  transition: width .1s linear;
  margin-bottom: -2px;
}

.cs-wrap {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 28px 100px;
}

.cs-body-outer {
  display: flex;
  gap: 56px;
  align-items: flex-start;
}

/* ── CASE STUDY LAYOUT ── */
.cs-layout { display: block; }

.cs-sidenav {
  position: sticky;
  top: 32px;
  align-self: flex-start;
  width: 130px;
  flex-shrink: 0;
  padding-top: 4px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .4s ease;
  z-index: 10;
}
#case-study.open .cs-sidenav {
  opacity: 1;
  pointer-events: auto;
}
.cs-sidenav a {
  display: block;
  font-family: 'Lato', sans-serif;
  font-size: 12px;
  font-weight: 400;
  color: var(--muted);
  text-decoration: none;
  padding: 7px 0 7px 16px;
  border-left: 2px solid var(--rule);
  border-top: none;
  border-bottom: none;
  border-right: none;
  transition: color .15s, border-color .15s, padding-left .15s;
  line-height: 1.2;
  cursor: pointer !important;
}
.cs-sidenav a:hover { color: var(--ink2); padding-left: 20px; }
.cs-sidenav a.cs-nav-active {
  color: var(--accent);
  border-left-color: var(--accent);
  font-weight: 700;
  padding-left: 20px;
}
.cs-content { display: block; }

@media (max-width: 900px) {
  .cs-sidenav { display: none; }
  .cs-body-outer { display: block; }
}

.cs-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink2);
  text-decoration: none;
  padding: 28px 0 32px;
  border: none;
  background: none;
  cursor: pointer;
  transition: color .15s, gap .15s;
}
.cs-back:hover { color: var(--accent); gap: 12px; }

/* ── HERO ── */
.cs-hero {
  height: 360px;
  border-radius: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 96px;
  margin-top: 8px;
  margin-bottom: 40px;
  margin-left: 186px;
  position: relative;
  overflow: hidden;
  transition: box-shadow .3s;
  box-shadow: 0 4px 32px rgba(125,29,46,.08);
  background: #f0f4f8 !important;
}
.cs-hero.cs-hero--phones {
  display: none;
}
.cs-hero-phones-wrap {
  overflow: visible;
  display: none;
  margin-top: 8px;
  margin-bottom: 40px;
  margin-left: 186px;
}
.cs-hero-phones-wrap.active {
  display: block;
}
.cs-hero-phones-bg {
  overflow: visible;
  background: var(--bg2);
  border-radius: 24px;
  box-shadow: 0 4px 32px rgba(125,29,46,.08);
  padding: 32px 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}
.cs-hero-phones-bg img {
  height: 260px;
  width: auto;
  border-radius: 20px;
  object-fit: contain;
  box-shadow: 0 12px 32px rgba(0,0,0,.16);
  display: block;
  flex-shrink: 0;
}
.cs-hero-phones-bg img.ph-center {
  animation: phoneFloat 4s ease-in-out infinite;
}
.cs-hero-phones-bg img.ph-side {
  animation: phoneFloatSide 4s ease-in-out infinite;
  opacity: .75;
}
.phones-perspective {
  background: transparent !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  perspective: 1200px;
  justify-content: center;
}
.phones-perspective img.ph-center {
  height: 320px !important;
  width: auto !important;
  transform: rotateY(0deg) !important;
  z-index: 2;
  position: relative;
}
.phones-perspective img.ph-side:first-child {
  height: 280px !important;
  width: auto !important;
  transform: rotateY(25deg) translateX(20px) !important;
  opacity: .85 !important;
}

.phones-perspective img.ph-side:last-child {
  height: 280px !important;
  width: auto !important;
  transform: rotateY(-25deg) translateX(-20px) !important;
  opacity: .85 !important;
}

@media (max-width: 900px) {
  .cs-hero-phones-wrap { margin-left: 0; }
}

.cs-hero.cs-hero--phones::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 24px;
  background: var(--bg2);
  box-shadow: 0 4px 32px rgba(125,29,46,.08);
  z-index: 0;
}

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

.cs-hero:has(.cs-hero-img) {
  height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none !important;
  box-shadow: none !important;
}

.cs-hero .cs-hero-img {
  width: 200px !important;
  height: auto;
  object-fit: contain;
  border-radius: 16px;
}

@media (max-width: 900px) {
  .cs-hero { margin-left: 0; }
}

.cs-label, .cs-title, .cs-tags {
  margin-left: 186px;
}

@media (max-width: 900px) {
  .cs-label, .cs-title, .cs-tags { margin-left: 0; }
}
.cs-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(255,255,255,.18) 0%, transparent 60%);
  border-radius: inherit;
  pointer-events: none;
}
.cs-hero.cs-hero--phones::after {
  display: none;
}
.cs-hero-emoji {
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 8px 24px rgba(0,0,0,.12));
  animation: heroFloat 4s ease-in-out infinite;
}
@keyframes heroFloat {
  0%, 100% { transform: translateY(0) rotate(-2deg); }
  50%       { transform: translateY(-12px) rotate(2deg); }
}

.cs-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent2);
  margin-bottom: 10px;
  opacity: .8;
}

.cs-title {
  font-family: 'Nunito', sans-serif;
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 800;
  color: var(--ink);
  line-height: 1.05;
  letter-spacing: -1.5px;
  margin-bottom: 20px;
}

.cs-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 40px;
}
.cs-tags span {
  font-size: 12px;
  font-weight: 600;
  color: var(--accent);
  background: var(--bg2);
  border-radius: 99px;
  padding: 5px 14px;
  border: 1px solid var(--rule);
  transition: background .15s, transform .15s, box-shadow .15s;
  cursor: default;
}
.cs-tags span:hover {
  background: var(--yellow);
  border-color: var(--yellow);
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(125,29,46,.1);
}

/* ── META ROW ── */
.cs-meta-row { display: none; }

/* ── BODY & SECTIONS ── */
.cs-body {
  display: flex;
  flex-direction: column;
  gap: 0;
  flex: 1;
  min-width: 0;
}

.cs-section {
  min-height: unset;
  padding: 40px 0;
  border-bottom: 1px solid var(--rule);
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .5s ease, transform .5s ease;
}
.cs-section.cs-visible {
  opacity: 1;
  transform: translateY(0);
}
.cs-section:last-child { border-bottom: none; }

.cs-section h3 {
  font-family: 'Nunito', sans-serif;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.cs-section h3::before {
  content: '';
  display: inline-block;
  width: 6px; height: 6px;
  background: var(--accent2);
  border-radius: 50%;
  flex-shrink: 0;
}

.cs-section p {
  font-size: 16px;
  color: var(--ink2);
  line-height: 1.85;
}
.cs-section p + p { margin-top: 14px; }

.cs-rule { display: none; }

/* ── STATS BLOCK ── */
.cs-stats-wrap {
  padding: 40px 0;
  border-bottom: 1px solid var(--rule);
}
.cs-stats {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 12px;
}
.cs-stat {
  background: var(--bg2);
  border-radius: 20px;
  padding: 24px 20px 20px;
  text-align: left;
  border: 1px solid var(--rule);
  cursor: default;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.cs-stat--team {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 24px 20px 20px;
}
.cs-stat-team-names {
  font-family: 'Nunito', sans-serif;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--accent);
  line-height: 1.4;
  display: block;
  margin-bottom: 6px;
}
.cs-stat-num {
  font-family: 'Nunito', sans-serif;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--accent);
  display: block;
  margin-bottom: 6px;
  line-height: 1.4;
}
.cs-stat-lbl {
  font-family: 'Nunito', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
  line-height: 1.4;
}

/* ── IDEATION INTERACTIVE ── */

/* ── HERO PHONE CAROUSEL ── */
.cs-hero-phones {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  width: 100%;
  padding: 20px 0;
  position: relative;
  z-index: 1;
}
.cs-hero-phone {
  height: 300px;
  width: auto;
  border-radius: 22px;
  object-fit: contain;
  box-shadow: 0 12px 32px rgba(0,0,0,.18);
  cursor: pointer;
  transition: transform .3s ease, box-shadow .3s ease, opacity .3s ease;
  flex-shrink: 0;
  display: block;
}
.cs-hero-phone.ph-center {
  animation: phoneFloat 4s ease-in-out infinite;
  box-shadow: 0 24px 48px rgba(0,0,0,.22);
  z-index: 2;
}
.cs-hero-phone.ph-side {
  animation: phoneFloatSide 4s ease-in-out infinite;
  opacity: .7;
}
.cs-hero-phone:hover {
  opacity: 1 !important;
  transform: translateY(-4px) !important;
  box-shadow: 0 28px 56px rgba(0,0,0,.24) !important;
}
@keyframes phoneFloat {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-4px); }
}
@keyframes phoneFloatSide {
  0%, 100% { transform: translateY(3px); opacity: .7; }
  50%       { transform: translateY(0); opacity: .7; }
}
.cs-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.85);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: zoom-out;
  opacity: 0;
  transition: opacity .2s ease;
  pointer-events: none;
}
.cs-lightbox.open { opacity: 1; pointer-events: auto; }
.cs-lightbox img {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 24px 80px rgba(0,0,0,.5);
  transform: scale(.95);
  transition: transform .2s ease;
  cursor: default;
}
.cs-lightbox.open img { transform: scale(1); }
.cs-lightbox-close {
  position: absolute;
  top: 20px; right: 24px;
  color: #fff;
  font-size: 32px;
  cursor: pointer;
  opacity: .7;
  transition: opacity .15s;
  line-height: 1;
  background: none;
  border: none;
}
.cs-lightbox-close:hover { opacity: 1; }
.cs-carousel-track img {
  cursor: zoom-in;
}

.cs-img-placeholder {
  width: 100%;
  border-radius: 16px;
  background: var(--bg2);
  border: 2px dashed var(--rule);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--ink3);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  cursor: pointer;
  transition: border-color .2s, background .2s, transform .2s;
  position: relative;
  overflow: hidden;
}
.cs-img-placeholder:hover {
  border-color: var(--accent2);
  background: #fdf0f2;
  transform: scale(1.005);
}
.cs-img-placeholder .ph-icon {
  font-size: 28px;
  opacity: .5;
}
.cs-img-placeholder .ph-label {
  font-size: 11px;
  color: var(--muted);
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.cs-img-placeholder .ph-sub {
  font-size: 11px;
  color: var(--ink3);
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
  opacity: .7;
}
.cs-img-full  { height: 220px; margin-top: 24px; }
.cs-img-half  { height: 160px; flex: 1; min-width: 0; }
.cs-img-short { height: 140px; margin-top: 20px; }

.cs-img-pair {
  display: flex;
  gap: 12px;
  margin-top: 24px;
}

/* ── CALLOUT QUOTE ── */
.cs-callout {
  margin: 24px 0 4px;
  padding: 0 0 0 20px;
  border-left: 3px solid var(--accent2);
}
.cs-callout-problem {
  font-family: 'Nunito', sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: var(--ink2);
  line-height: 1.6;
  font-style: italic;
}

/* ── RESEARCH INSIGHT GRID ── */
.cs-insights {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 24px;
  align-items: start;
}
.cs-insight {
  background: var(--bg2);
  border-radius: 14px;
  padding: 18px 16px;
  border: 1px solid var(--rule);
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .4s ease, transform .4s ease, box-shadow .2s;
  display: flex;
  flex-direction: column;
}
.cs-insight.visible {
  opacity: 1;
  transform: translateY(0);
}
.cs-insight.visible:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(125,29,46,.08);
}
.cs-insight:nth-child(1) { transition-delay: .05s; }
.cs-insight:nth-child(2) { transition-delay: .15s; }
.cs-insight:nth-child(3) { transition-delay: .25s; }
.cs-insight-num {
  font-family: 'Nunito', sans-serif;
  font-size: 22px;
  font-weight: 800;
  color: var(--accent2);
  display: block;
  margin-bottom: 6px;
  line-height: 1;
}
.cs-insight-text {
  font-size: 13px;
  color: var(--ink2);
  line-height: 1.5;
  font-weight: 400;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.cs-insight-text strong {
  display: block;
  min-height: unset;
  margin-bottom: 6px;
  color: var(--ink);
  line-height: 1.4;
}

/* ── IDEATION STEPS ── */

.cs-ideation-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-top: 24px;
  align-items: start;
}
@media (max-width: 700px) {
  .cs-ideation-layout { grid-template-columns: 1fr; }
}
.cs-steps {
  display: flex;
  flex-direction: column;
}
.cs-idea-step {
  display: flex;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--rule);
  cursor: pointer;
  transition: opacity .15s;
}
.cs-idea-step:first-child { border-top: 1px solid var(--rule); }
.cs-idea-step:hover { opacity: .7; }
.cs-idea-step.cs-idea-active .cs-idea-num { color: var(--accent); }
.cs-idea-step.cs-idea-active .cs-idea-title { color: var(--accent); }
.cs-idea-num {
  font-family: 'Nunito', sans-serif;
  font-size: 11px;
  font-weight: 800;
  color: var(--muted);
  letter-spacing: .08em;
  min-width: 28px;
  padding-top: 2px;
  transition: color .15s;
}
.cs-idea-body { flex: 1; }
.cs-idea-title {
  font-family: 'Nunito', sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 4px;
  transition: color .15s;
}
.cs-idea-text {
  font-size: 14px;
  color: var(--ink2);
  line-height: 1.65;
}
.cs-idea-placeholder {
  position: sticky;
  top: 40px;
  width: 100%;
  aspect-ratio: 4/3;
  border-radius: 16px;
  background: var(--bg2);
  border: 2px dashed var(--rule);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  cursor: pointer;
  transition: none;
  user-select: none;
  overflow: hidden;
}
.cs-idea-placeholder:hover {
  border-color: var(--accent);
  background: #fdf5f6;
}
.cs-idea-ph-num {
  font-family: 'Nunito', sans-serif;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--accent2);
}
.cs-idea-ph-title {
  font-family: 'Nunito', sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  text-align: center;
  padding: 0 20px;
}
.cs-idea-ph-hint {
  font-size: 12px;
  color: var(--muted);
}

/* ── HMW BLOCK ── */
.cs-hmw {
  margin-top: 24px;
  padding: 16px 20px;
  border-left: 3px solid var(--ink3);
  background: transparent;
  border-radius: 0;
}
.cs-hmw-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
  display: block;
}
.cs-hmw p {
  font-family: 'Lato', sans-serif;
  font-size: 15px !important;
  font-weight: 400 !important;
  color: var(--ink2) !important;
  line-height: 1.7 !important;
  font-style: italic;
}

.cs-hmw p strong {
  font-weight: 700;
  font-style: normal;
  color: var(--accent);
}

/* ── REAL IMAGE (populated) ── */
.cs-real-img {
  width: 100%;
  border-radius: 16px;
  object-fit: cover;
  display: block;
  margin-top: 24px;
  border: 1px solid var(--rule);
}

/* ── IMAGE CAROUSEL ── */
.cs-carousel {
  position: relative;
  margin-top: 24px;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--rule);
  background: var(--bg2);
}
.cs-carousel-track {
  display: flex;
  transition: transform .35s cubic-bezier(.4,0,.2,1);
}
.cs-carousel-track img {
  width: 100%;
  flex-shrink: 0;
  display: block;
  border-radius: 0;
  object-fit: contain;
  background: #fff;
}
.cs-carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 36px; height: 36px;
  background: rgba(255,255,255,.9);
  border: 1px solid var(--rule);
  border-radius: 50%;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px;
  color: var(--ink);
  transition: background .15s, box-shadow .15s;
  z-index: 2;
  box-shadow: 0 2px 8px rgba(0,0,0,.1);
}
.cs-carousel-btn:hover { background: #fff; box-shadow: 0 4px 12px rgba(0,0,0,.15); }
.cs-carousel-prev { left: 10px; }
.cs-carousel-next { right: 10px; }
.cs-carousel-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px 12px;
  background: var(--bg2);
}
.cs-carousel-caption {
  font-family: 'Nunito', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: #1A0F10;
  letter-spacing: .02em;
}
.cs-carousel-dots {
  display: flex;
  gap: 6px;
}
.cs-carousel-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--rule);
  cursor: pointer;
  transition: background .2s, transform .2s;
}
.cs-carousel-dot.active {
  background: var(--accent);
  transform: scale(1.3);
}

.cs-carousel-desc {
  font-size: 16px;
  color: #6B4045;
  margin-top: 3px;
  font-style: italic;
}
/* ── FLOW ROWS (Solution) ── */
.flows-free .cs-flow-img {
  float: right;
  width: 280px;
  overflow: visible;
  margin-left: 28px;
}

.flows-free {
  gap: 0;
}

.flows-free .cs-flow-row {
  align-items: flex-start;
  margin-bottom: 25px;
}

.flows-free .cs-flow-img:empty {
  display: none;
}

.flows-free .cs-flow-img img {
  width: 100%;
  height: auto;
  border-radius: 16px;
}

.flows-free::after {
  content: '';
  display: block;
  clear: both;
}

.cs-flows {
  display: flex;
  flex-direction: column;
  gap: 32px;
  margin-top: 28px;
}
.cs-flow-row {
  display: flex;
  align-items: center;
  gap: 28px;
}
.cs-flow-text {
  flex: 1;
  min-width: 0;
}
.cs-flow-title {
  font-family: 'Nunito', sans-serif;
  font-size: 16px;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 8px;
}
.cs-flow-body {
  font-size: 14px;
  color: var(--ink2);
  line-height: 1.65;
}
.cs-flow-img {
  width: 220px;
  flex-shrink: 0;
  border-radius: 20px;
  overflow: hidden;
  background: var(--bg2);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--muted);
  cursor: default;
}
.cs-flow-img img { 
  width: 100%; 
  height: 100%; 
  object-fit: cover; 
  display: block; 
}
.cs-flow-img .ph-icon { 
  font-size: 22px; 
  opacity: .5; 
}
.cs-flow-img .ph-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--muted);
  text-align: center;
  padding: 0 12px;
}

/* ── TAKEAWAY CARDS (Reflection) ── */
.cs-takeaways {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 24px;
}
.cs-takeaway {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  padding: 20px 0;
  border-bottom: 1px solid var(--rule);
  background: none;
  border-radius: 0;
}
.cs-takeaway:last-child { 
  border-bottom: none; 
}

.cs-takeaway-num {
  font-family: 'Nunito', sans-serif;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .1em;
  color: var(--accent2);
  flex-shrink: 0;
  width: 24px;
}
.cs-takeaway-title {
  font-family: 'Nunito', sans-serif;
  font-size: 15px;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 4px;
}
.cs-takeaway-body {
  font-size: 14px;
  color: #7D1D2E;
  line-height: 1.5;
  font-weight: 400;
}
.cs-reflection-card {
  margin-top: 24px;
  background: linear-gradient(135deg, var(--bg2) 0%, #fdf0f2 100%);
  border-radius: 18px;
  padding: 28px 24px;
  border: 1px solid var(--rule);
  position: relative;
  overflow: hidden;
}
.cs-reflection-card::before {
  content: '"';
  position: absolute;
  top: -10px; right: 20px;
  font-family: 'Nunito', sans-serif;
  font-size: 120px;
  font-weight: 800;
  color: var(--rule);
  line-height: 1;
  pointer-events: none;
}
.cs-reflection-card p {
  position: relative;
  z-index: 1;
  font-size: 15px !important;
  color: var(--ink) !important;
  font-style: italic;
  line-height: 1.8 !important;
}
.cs-reflection-label {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--accent2);
  margin-top: 16px;
  display: block;
  position: relative;
  z-index: 1;
}
/* ── RESEARCH STATS ── */
.cs-research-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 24px;
}
.cs-research-stat {
  border-radius: 16px;
  padding: 20px 16px;
  background: #FDF0F2;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.cs-research-stat:nth-child(2) { background: #F0F4FD; }
.cs-research-stat:nth-child(3) { background: #F0FDF4; }
.cs-research-stat-num {
  font-family: 'Nunito', sans-serif;
  font-size: 34px;
  font-weight: 900;
  color: var(--ink);
  line-height: 1;
}
.cs-research-stat:nth-child(2) .cs-research-stat-num { color: #3B5FC0; }
.cs-research-stat:nth-child(3) .cs-research-stat-num { color: #2A7A50; }
.cs-research-stat-label {
  font-size: 11px;
  color: var(--ink2);
  line-height: 1.45;
}
.cs-research-source {
  font-size: 10px;
  color: var(--muted);
  margin-top: 8px;
  font-style: italic;
  text-align: right;
  grid-column: 1 / -1;
}
.cs-highlight {
  background: linear-gradient(120deg, #f2c4b066 0%, #e8b4bc66 100%);
  border-radius: 4px;
  padding: 1px 5px;
  font-weight: 600;
  color: var(--ink);
}
