@import url("https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;0,700;1,400&family=Manrope:wght@300;400;500;600;700&display=swap");

/* ============================================================
   DESIGN TOKENS
   ============================================================ */
:root {
  --bg: #ffffff;
  --bg-warm: #f6f1eb;
  --bg-cream: #faf8f5;
  --text: #1a1210;
  --text-secondary: #5c4a42;
  --muted: #8a7a72;
  --accent: #3d2b1f;
  --accent-warm: #6b4c3b;
  --accent-light: #c4a882;
  --accent-hover: #8b6f56;
  --line: rgba(107, 76, 59, 0.12);
  --line-strong: rgba(107, 76, 59, 0.25);
  --card: rgba(255, 255, 255, 0.92);
  --shadow-sm: 0 2px 8px rgba(61, 43, 31, 0.04);
  --shadow-md: 0 8px 32px rgba(61, 43, 31, 0.06);
  --shadow-lg: 0 20px 60px rgba(61, 43, 31, 0.08);
  --shadow-hover: 0 24px 48px rgba(61, 43, 31, 0.12);
  --radius: 14px;
  --radius-sm: 8px;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  background: var(--bg);
  overscroll-behavior: none;
}

html, body {
  margin: 0;
  padding: 0;
  overscroll-behavior: none;
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  overflow-x: hidden;
  font-family: "Manrope", sans-serif;
  color: var(--text);
  background: var(--bg);
}

.homepage {
  background: var(--bg);
}

/* ============================================================
   GRAIN OVERLAY
   ============================================================ */
.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.028;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 180px;
}

/* ============================================================
   CURSOR GLOW
   ============================================================ */
.cursor-glow {
  position: fixed;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(196, 168, 130, 0.08), transparent 70%);
  filter: blur(50px);
  pointer-events: none;
  transform: translate(-50%, -50%);
  z-index: 0;
  transition: opacity 0.4s ease;
}

/* ============================================================
   DECORATIVE SHAPES
   ============================================================ */
.deco-shapes {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.deco-circle {
  position: absolute;
  border-radius: 50%;
  border: 1px solid var(--line);
}

.deco-circle-1 {
  width: 600px;
  height: 600px;
  top: -180px;
  right: -120px;
  animation: decoFloat 25s ease-in-out infinite;
}

.deco-circle-2 {
  width: 300px;
  height: 300px;
  bottom: 20%;
  left: -80px;
  border-color: rgba(196, 168, 130, 0.1);
  animation: decoFloat 20s ease-in-out infinite reverse;
}

.deco-line-1 {
  position: absolute;
  width: 1px;
  height: 200px;
  right: 18%;
  top: 12%;
  background: linear-gradient(to bottom, transparent, var(--line), transparent);
  animation: decoLinePulse 8s ease-in-out infinite;
}

@keyframes decoFloat {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  33% { transform: translate(15px, -20px) rotate(2deg); }
  66% { transform: translate(-10px, 10px) rotate(-1deg); }
}

@keyframes decoLinePulse {
  0%, 100% { opacity: 0.3; height: 200px; }
  50% { opacity: 0.6; height: 280px; }
}

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  width: min(1200px, 92%);
  margin: 1.4rem auto 0;
  position: sticky;
  top: 16px;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1.2rem;
  border: 1px solid var(--line);
  border-radius: 100px;
  backdrop-filter: blur(20px) saturate(1.4);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow-sm);
  animation: headerSlideIn 0.8s var(--ease-out) both;
  animation-delay: 0.1s;
  transition: box-shadow 0.4s ease, border-color 0.4s ease;
}

.site-header:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--line-strong);
}

@keyframes headerSlideIn {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}

.logo { text-decoration: none; color: var(--text); display: inline-flex; align-items: center; }
.logo-text { display: flex; flex-direction: column; line-height: 1.05; }

.homepage .logo-text strong {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.3rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}

nav { display: flex; gap: 1.6rem; }

nav a {
  text-decoration: none;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  position: relative;
  transition: color 0.3s ease;
}

nav a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--accent-warm);
  border-radius: 2px;
  transition: width 0.4s var(--ease-out);
}

nav a:hover { color: var(--text); }
nav a:hover::after { width: 100%; }

.header-actions { display: flex; align-items: center; gap: 0.5rem; }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 46px;
  padding: 0 1.4rem;
  border-radius: 100px;
  border: 1px solid transparent;
  text-decoration: none;
  font-family: "Manrope", sans-serif;
  font-weight: 600;
  font-size: 0.88rem;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: all 0.4s var(--ease-out);
  position: relative;
  overflow: hidden;
}

.homepage .btn {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 4px 20px rgba(61, 43, 31, 0.15);
}

.homepage .btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.12), transparent);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.homepage .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(61, 43, 31, 0.22);
}

.homepage .btn:hover::before { opacity: 1; }

.homepage .btn-ghost {
  background: transparent;
  color: var(--text-secondary);
  border-color: var(--line-strong);
  box-shadow: none;
}

.homepage .btn-ghost:hover {
  background: var(--bg-warm);
  border-color: var(--accent-light);
  box-shadow: var(--shadow-sm);
}

.btn-small { height: 40px; padding: 0 1.1rem; }

/* ============================================================
   MAIN
   ============================================================ */
main {
  width: min(1200px, 92%);
  margin: 0 auto;
  padding-bottom: 6rem;
  position: relative;
  z-index: 1;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  min-height: 72vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 3rem;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--accent-warm);
  animation: fadeSlideUp 0.7s var(--ease-out) both;
  animation-delay: 0.3s;
}

.homepage h1,
.homepage h2,
.homepage h3 {
  font-family: "Cormorant Garamond", serif;
  letter-spacing: -0.01em;
}

h1, h2, h3 {
  font-family: "Cormorant Garamond", serif;
  margin: 0;
  line-height: 1.08;
}

.homepage h1 {
  font-size: clamp(3.2rem, 7.5vw, 6.5rem);
  line-height: 0.92;
  margin-top: 1rem;
  font-weight: 500;
}

.hero-line {
  display: block;
  animation: heroLineReveal 0.9s var(--ease-out) both;
}

.hero-line:nth-child(1) { animation-delay: 0.4s; }
.hero-line:nth-child(3) { animation-delay: 0.55s; }
.hero-line:nth-child(5) { animation-delay: 0.7s; }

@keyframes heroLineReveal {
  from {
    opacity: 0;
    transform: translateY(40px) skewY(2deg);
    filter: blur(4px);
  }
  to {
    opacity: 1;
    transform: translateY(0) skewY(0);
    filter: blur(0);
  }
}

.outlined {
  color: var(--accent-light);
  font-style: italic;
  transition: color 0.4s ease;
}

.hero-actions {
  margin-top: 2.6rem;
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
  animation: fadeSlideUp 0.8s var(--ease-out) both;
  animation-delay: 0.9s;
}

@keyframes fadeSlideUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ============================================================
   MARQUEE
   ============================================================ */
.marquee-wrap {
  margin-top: 2.5rem;
  overflow: hidden;
  padding: 1.6rem 0;
  position: relative;
}

.marquee-wrap::before,
.marquee-wrap::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 120px;
  z-index: 2;
  pointer-events: none;
}

.marquee-wrap::before {
  left: 0;
  background: linear-gradient(to right, var(--bg), transparent);
}

.marquee-wrap::after {
  right: 0;
  background: linear-gradient(to left, var(--bg), transparent);
}

.tools-track {
  display: flex;
  width: max-content;
  animation: marqueeSlide 22s linear infinite;
}

.tools-row {
  display: flex;
  align-items: center;
  gap: 1.6rem;
  padding-right: 1.6rem;
  white-space: nowrap;
}

.tools-row img {
  width: 110px;
  height: 110px;
  object-fit: contain;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--bg);
  padding: 0.7rem;
  filter: grayscale(30%) opacity(0.7);
  transition: all 0.5s var(--ease-out);
}

.tools-row img:hover {
  transform: translateY(-6px) scale(1.04);
  filter: grayscale(0%) opacity(1);
  border-color: var(--accent-light);
  box-shadow: var(--shadow-md);
}

@keyframes marqueeSlide {
  to { transform: translateX(-50%); }
}

/* ============================================================
   PROFILE LAYOUT
   ============================================================ */
.profile-layout {
  margin-top: 8rem;
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(380px, 1.3fr);
  gap: 4rem;
  align-items: start;
}

.about-panel {
  position: sticky;
  top: 110px;
}

.about-panel h2 {
  font-size: clamp(2.2rem, 4.8vw, 4.2rem);
  line-height: 1.04;
  max-width: 10ch;
  font-weight: 500;
}

.about-panel p {
  margin: 1.4rem 0 0;
  max-width: 36ch;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.65;
  font-weight: 400;
}

.career-panel {
  display: grid;
  gap: 4.5rem;
}

.career-block {
  border-top: 1px solid var(--line);
  padding-top: 1.4rem;
  position: relative;
}

.block-pill {
  width: fit-content;
  margin: -2rem auto 1.4rem;
  padding: 0.3rem 1rem;
  border: 1px solid var(--line-strong);
  border-radius: 100px;
  background: var(--bg);
  font-family: "Manrope", sans-serif;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-warm);
}

.career-entry {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem;
  align-items: center;
  padding: 1.4rem 0;
  border-bottom: 1px solid var(--line);
  transition: all 0.4s var(--ease-out);
  cursor: default;
}

.career-entry:hover {
  padding-left: 0.8rem;
}

.entry-kicker {
  margin: 0;
  font-size: 0.76rem;
  letter-spacing: 0.1em;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--accent-light);
}

.homepage .entry-kicker {
  background: none;
  -webkit-text-fill-color: var(--accent-light);
}

.career-entry h3 {
  margin-top: 0.4rem;
  font-size: clamp(1.4rem, 2.6vw, 2.2rem);
  font-weight: 500;
  transition: color 0.3s ease;
}

.career-entry:hover h3 {
  color: var(--accent-warm);
}

.entry-date {
  margin: 0;
  color: var(--muted);
  font-weight: 500;
  font-size: clamp(0.88rem, 1.5vw, 1.4rem);
  font-family: "Manrope", sans-serif;
}

/* ============================================================
   SECTION LABELS
   ============================================================ */
.section-label,
.homepage .section-label,
.homepage .eyebrow {
  font-family: "Manrope", sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-warm);
  font-weight: 600;
}

/* ============================================================
   CASE STUDIES
   ============================================================ */
.case-study-section {
  margin-top: 8rem;
}

.case-study-section h2 {
  margin-top: 0.6rem;
  font-size: clamp(1.8rem, 3.2vw, 3rem);
  font-weight: 500;
}

.case-study-grid {
  margin-top: 1.6rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.4rem;
}

.case-study-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg);
  padding: 1.4rem;
  min-height: 320px;
  text-decoration: none;
  color: inherit;
  display: block;
  transition: all 0.5s var(--ease-out);
  position: relative;
  overflow: hidden;
}

.homepage .case-study-card {
  background: var(--bg);
  border-color: var(--line);
}

.case-study-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(196, 168, 130, 0.04), transparent);
  opacity: 0;
  transition: opacity 0.5s ease;
  border-radius: var(--radius);
}

.case-study-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: var(--accent-light);
}

.case-study-card:hover::before { opacity: 1; }

.case-study-grid:not(.expanded) .case-study-card:nth-child(n + 3) {
  display: none;
}

.case-study-thumb {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 10px;
  display: block;
  margin-bottom: 1rem;
  transition: transform 0.6s var(--ease-out);
}

.case-study-card:hover .case-study-thumb {
  transform: scale(1.02);
}

.case-study-thumb-fit { object-fit: contain; background: var(--bg); }

.case-study-thumb-histaric {
  object-fit: cover;
  background: transparent;
  padding: 0;
  border: none;
  border-radius: 10px;
}

.case-study-tag {
  margin: 0;
  font-family: "Manrope", sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  color: var(--accent-light);
  text-transform: uppercase;
  font-weight: 700;
}

.homepage .case-study-tag {
  font-family: "Manrope", sans-serif;
}

.case-study-card h3 {
  margin-top: 0.5rem;
  font-size: clamp(1.4rem, 2.4vw, 1.9rem);
  font-weight: 500;
}

.case-study-card p {
  margin: 0.5rem 0 0;
  color: var(--muted);
  line-height: 1.6;
  font-size: 0.98rem;
}

.homepage .case-study-card p { color: var(--muted); }

.case-study-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 1rem;
  color: var(--accent-warm);
  font-weight: 600;
  font-size: 0.9rem;
  transition: gap 0.3s var(--ease-out);
}

.case-study-card:hover .case-study-cta {
  gap: 0.7rem;
}

.cta-arrow {
  transition: transform 0.3s var(--ease-out);
  display: inline-block;
}

.case-study-card:hover .cta-arrow {
  transform: translateX(4px);
}

.case-study-toggle { margin-top: 1.2rem; }

/* ============================================================
   CONTACT
   ============================================================ */
.contact { margin-top: 8rem; }

.contact h2 {
  margin-top: 0;
  font-size: clamp(2rem, 4vw, 3.6rem);
  max-width: 20ch;
  font-weight: 500;
}

.homepage .contact p { color: var(--muted); }

.contact-subtitle {
  margin: 0.5rem 0 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.contact-form {
  margin-top: 2.8rem;
  max-width: 620px;
}

.contact-field {
  margin-bottom: 2rem;
  position: relative;
}

.contact-field input,
.contact-field textarea {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--line);
  padding: 0.7rem 0;
  font-family: "Manrope", sans-serif;
  font-size: 1rem;
  color: var(--text);
  outline: none;
  transition: border-color 0.4s ease;
  resize: none;
}

.contact-field input::placeholder,
.contact-field textarea::placeholder {
  color: var(--muted);
  font-size: 1rem;
  font-weight: 400;
}

.contact-field input:focus,
.contact-field textarea:focus {
  border-bottom-color: var(--accent-warm);
}

/* Animated underline on focus */
.contact-field::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-warm);
  transition: width 0.5s var(--ease-out);
}

.contact-field:focus-within::after {
  width: 100%;
}

.contact-form-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  margin-top: 2.4rem;
  flex-wrap: wrap;
}

.contact-send-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 54px;
  padding: 0 2.6rem;
  border-radius: 100px;
  border: 1px solid var(--line-strong);
  background: transparent;
  color: var(--text);
  font-family: "Manrope", sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.4s var(--ease-out);
  position: relative;
  overflow: hidden;
}

.contact-send-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--accent);
  border-radius: 100px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--ease-out);
  z-index: -1;
}

.contact-send-btn:hover {
  color: #fff;
  border-color: var(--accent);
  transform: translateY(-2px);
}

.contact-send-btn:hover::before {
  transform: scaleX(1);
}

.contact-privacy {
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.4;
  max-width: 200px;
  text-align: right;
}

/* ============================================================
   REVEAL ANIMATIONS
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered children for grids */
.case-study-grid .reveal:nth-child(1) { transition-delay: 0s; }
.case-study-grid .reveal:nth-child(2) { transition-delay: 0.12s; }
.case-study-grid .reveal:nth-child(3) { transition-delay: 0.24s; }

.career-block .career-entry {
  opacity: 0;
  transform: translateX(-16px);
  animation: entrySlideIn 0.7s var(--ease-out) both;
}

.career-block .career-entry:nth-child(2) { animation-delay: 0.1s; }
.career-block .career-entry:nth-child(3) { animation-delay: 0.2s; }
.career-block .career-entry:nth-child(4) { animation-delay: 0.3s; }

@keyframes entrySlideIn {
  from { opacity: 0; transform: translateX(-16px); }
  to { opacity: 1; transform: translateX(0); }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 880px) {
  .site-header { gap: 0.6rem; border-radius: 16px; }
  nav { display: none; }
  .header-actions .btn-ghost { display: none; }
  .profile-layout { grid-template-columns: 1fr; gap: 3rem; }
  .about-panel { position: static; }
  .about-panel h2 { max-width: 14ch; }
  .career-entry { grid-template-columns: 1fr; }
  .case-study-grid { grid-template-columns: 1fr; }
  .deco-circle-1 { width: 300px; height: 300px; }
  .deco-circle-2 { display: none; }
  .philosophy-inner { gap: 2rem; }
}

@media (max-width: 760px) {
  .site-header {
    width: min(100% - 1.25rem, 1200px);
    margin-top: 0.8rem;
    top: 10px;
    padding: 0.8rem 0.95rem;
  }

  .homepage h1 {
    font-size: clamp(2.7rem, 14vw, 4.4rem);
  }

  main {
    width: min(100% - 1.25rem, 1200px);
    padding-bottom: 4rem;
  }

  .hero {
    min-height: auto;
    padding-top: 2rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .marquee-wrap::before,
  .marquee-wrap::after {
    width: 56px;
  }

  .tools-row img {
    width: 84px;
    height: 84px;
  }

  .profile-layout,
  .career-panel,
  .case-study-section,
  .contact {
    margin-top: 4.5rem;
  }

  .about-panel p,
  .contact-subtitle {
    max-width: none;
  }

  .career-entry:hover {
    padding-left: 0;
  }

  .case-study-card {
    min-height: auto;
    padding: 1.1rem;
  }

  .contact-form-footer {
    align-items: stretch;
  }

  .contact-send-btn,
  .btn,
  .btn-small {
    width: 100%;
  }

  .contact-privacy {
    max-width: none;
    text-align: left;
  }

  .cv-header,
  .cv-item,
  .persona-card,
  .persona-right,
  .outcomes-grid,
  .solutions-grid,
  .stats-grid,
  .demo-grid,
  .problem-cards,
  .insights-grid,
  .journey-insights,
  .reflection-grid,
  .research-layout {
    grid-template-columns: 1fr;
  }

  .cv-wrap,
  .case-study-wrap {
    width: min(100% - 1.25rem, 980px);
  }

  .cv-header {
    align-items: flex-start;
  }

  .cv-item span {
    display: block;
    margin-top: 0.2rem;
  }

  .persona-left,
  .persona-right {
    padding: 1.4rem 1.2rem;
  }

  .persona-quote {
    padding: 1rem 1rem 1rem 1.1rem;
  }

  .outcomes-grid {
    gap: 1px;
  }

  .prototype-frame {
    height: 500px;
  }
}

/* ============================================================
   KEEP ALL EXISTING CASE STUDY PAGE STYLES BELOW
   (unchanged from your current stylesheet)
   ============================================================ */

.cv-page {
  background: #ffffff;
  color: var(--text);
}

.cv-wrap {
  width: min(860px, 92%);
  margin: 2rem auto 3rem;
}

.cv-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  border-bottom: 1px solid var(--line);
  padding-bottom: 1rem;
}

.cv-header h1 {
  font-size: clamp(2rem, 4.5vw, 3rem);
  margin: 0;
}

.cv-header p {
  margin: 0.3rem 0 0;
  color: var(--muted);
  font-weight: 600;
}

.cv-section {
  margin-top: 1.7rem;
}

.cv-section h2 {
  margin: 0 0 0.7rem;
  font-size: clamp(1.3rem, 2.8vw, 1.9rem);
}

.cv-section p {
  margin: 0;
  color: #5f5058;
  line-height: 1.6;
}

.cv-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem;
  padding: 0.9rem 0;
  border-bottom: 1px solid rgba(206, 181, 190, 0.25);
}

.cv-item h3 { margin: 0; font-size: 1.15rem; }
.cv-item p { margin: 0.25rem 0 0; color: var(--muted); }
.cv-item span { color: #a58f9a; font-weight: 700; }

.case-study-one-page {
  background: #ffffff !important;
  font-size: 17px;
}

.case-study-wrap {
  width: min(980px, 92%);
  margin: 2rem auto 0.5rem;
}

.case-study-top { margin-top: 1.4rem; }

.case-study-hero-image {
  width: 100%;
  border-radius: 10px;
  border: 1px solid rgba(191, 167, 177, 0.22);
  display: block;
}

.case-study-top h2 {
  margin: 1rem 0 0;
  font-size: clamp(1.25rem, 2.1vw, 1.8rem);
  line-height: 1.4;
}

.case-study-signpost { margin-top: 0.85rem; }
.case-study-signpost p { margin: 0.25rem 0; color: #5b4f55; }

.eco-panel {
  margin-top: 1.2rem;
  padding: 1.4rem;
  border-radius: 10px;
  border: none;
  background: linear-gradient(150deg, rgba(219, 234, 172, 0.38), rgba(255, 255, 255, 0.58));
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 14px 34px rgba(219, 234, 172, 0.2);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.2rem;
}

.eco-panel-col h3 { margin: 0; font-size: 1.4rem; }
.eco-panel-col p { margin: 0.6rem 0 0; color: #4f5450; line-height: 1.6; }
.eco-panel-col ul { margin: 0.55rem 0 0; padding-left: 1.1rem; }
.eco-panel-col li { margin-bottom: 0.6rem; color: #4f5450; line-height: 1.5; }
.eco-panel-col li strong { display: block; color: #2f3b31; }

.problem-tile { margin-top: 1.2rem; border-radius: 10px; padding: 0.2rem 0; background: transparent; color: #2f3b31; box-shadow: none; }
.problem-tile h3 { margin: 0 0 0.9rem; font-size: clamp(2rem, 5vw, 3.5rem); line-height: 1; letter-spacing: 0.02em; }
.problem-tile p { margin: 0.6rem 0 0; font-size: clamp(1rem, 1.8vw, 1.2rem); line-height: 1.6; color: #4f5450; }
.problem-highlight { color: #dbeaac; font-weight: 800; }

.problem-band { width: 100%; margin-top: 0.2rem; background: #f3f8e8; padding: 2.6rem 1rem; }
.problem-band-inner { width: min(980px, 92%); margin: 0 auto; text-align: center; }
.problem-band-inner h3 { margin: 0 0 1rem; font-size: clamp(2rem, 4.8vw, 3.8rem); line-height: 1; letter-spacing: 0.01em; }
.problem-band-inner p { margin: 0.5rem auto 0; max-width: 60ch; font-size: clamp(1rem, 1.8vw, 1.2rem); line-height: 1.55; }

.solution-media { width: 100%; padding: 1.3rem 1rem 2.4rem; }
.solution-media-inner { width: min(980px, 92%); margin: 0 auto; }
.solution-media-inner img { width: 100%; display: block; border-radius: 10px; margin-top: 0.9rem; }
.solution-media-inner p { margin: 0.9rem 0 0; font-size: clamp(1rem, 1.8vw, 1.16rem); line-height: 1.55; color: #000000; }

@media (max-width: 880px) { .eco-panel { grid-template-columns: 1fr; } }

.cs-back-bar {
  position: sticky; top: 0; z-index: 100; width: 100%; margin: 0;
  display: flex; justify-content: space-between; align-items: center;
  padding: 0.85rem clamp(1rem, 5vw, 3rem);
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
}
.cs-back-bar .logo-text strong { font-size: 1rem; }
.cs-back-btn {
  display: inline-flex; align-items: center; gap: 0.35rem; height: 36px; padding: 0 1rem;
  border-radius: 999px; background: #fff7fb; color: #6f5763;
  border: 1px solid rgba(206, 181, 190, 0.36);
  font-family: "Manrope", sans-serif; font-size: 0.82rem; font-weight: 700;
  text-decoration: none; transition: transform 0.22s ease, background 0.22s ease;
}
.cs-back-btn:hover { background: #fff1f7; transform: translateY(-1px); }

.cs-hero { width: min(980px, 92%); margin: 2rem auto 0; }
.cs-hero img { width: 100%; border-radius: 12px; display: block; border: 1px solid rgba(191, 167, 177, 0.18); }
.cs-hero h1 { font-family: 'DM Serif Display', serif; font-size: clamp(1.9rem, 3.2vw, 2.8rem); line-height: 1.28; margin: 1.7rem 0 1.5rem; max-width: 52ch; font-weight: 400; letter-spacing: -0.01em; }
.cs-meta { margin-top: 0.9rem; display: flex; flex-wrap: wrap; gap: 1.4rem; }
.cs-meta-item { display: flex; flex-direction: column; gap: 0.2rem; }
.cs-meta-item label { font-family: 'Inter', sans-serif; font-size: 0.68rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent-2, #a88a95); font-weight: 700; }
.cs-meta-item span { font-family: 'Inter', sans-serif; font-size: 1.02rem; color: var(--text); font-weight: 600; }

.cs-section-label { font-family: 'Inter', sans-serif; font-size: 0.9rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent-2, #a88a95); font-weight: 700; margin: 0 0 0.6rem; }
.band-eyebrow { font-family: 'Inter', sans-serif; font-size: 0.68rem; letter-spacing: 0.14em; text-transform: uppercase; color: #5a7a38; font-weight: 700; margin: 0 0 0.8rem; }

.problem-band { background: #f3f8e8; padding: 3.5rem 1rem; margin-top: 3rem; }
.problem-band-inner { width: min(980px, 92%); margin: 0 auto; text-align: center; }
.problem-band-inner h2 { font-family: 'DM Serif Display', serif; font-size: clamp(1.9rem, 3.6vw, 3.1rem); font-weight: 400; line-height: 1.14; margin: 0 0 1.4rem; max-width: 30ch; margin-left: auto; margin-right: auto; letter-spacing: -0.01em; }

.user-journey-heading { width: min(980px, 92%); margin: 3.2rem auto 1rem; }
.user-journey-heading h2 { font-family: 'DM Serif Display', serif; font-size: clamp(1.7rem, 3vw, 2.4rem); font-weight: 400; line-height: 1.2; margin: 0.35rem 0 0; letter-spacing: -0.01em; }

.problem-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 1.4rem; }
.problem-card { background: #ffffff; border-radius: 10px; padding: 1.5rem 1.3rem; border: 1px solid rgba(219, 234, 172, 0.6); position: relative; overflow: hidden; }
.problem-card::before { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, #b5d16b, #4a7c2f); transform: scaleX(0); transform-origin: left; transition: transform 0.35s ease; }
.problem-card:hover::before { transform: scaleX(1); }
.problem-card-num { font-family: 'Inter', sans-serif; font-size: 0.92rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: #b5d16b; margin: 0 0 0.8rem; }
.problem-card h3 { font-family: 'Inter', sans-serif; font-size: 1.4rem; font-weight: 700; color: #2f3b31; margin: 0 0 0.6rem; }
.problem-card p { font-family: 'Inter', sans-serif; font-size: 1.08rem; line-height: 1.7; color: #4f5450; margin: 0; }
.problem-primary-text { font-size: 1.26rem; font-weight: 700; color: #2f3b31; }

.stats-band { background: #ffffff; padding: 3rem 1rem; border-top: 1px solid rgba(219, 234, 172, 0.4); border-bottom: 1px solid rgba(219, 234, 172, 0.4); }
.stats-band-inner { width: min(980px, 92%); margin: 0 auto; }
.stats-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: rgba(219, 234, 172, 0.35); border: 1px solid rgba(219, 234, 172, 0.35); border-radius: 12px; overflow: hidden; margin-top: 1.2rem; }
.stat-cell { background: #ffffff; padding: 2.6rem 2.2rem; position: relative; }
.stat-cell:nth-child(even) { background: #fafef5; }
.stat-num { font-family: 'Inter', sans-serif; font-size: clamp(3rem, 7vw, 5.5rem); font-weight: 800; color: #3a6b22; line-height: 1; letter-spacing: -0.04em; }
.stat-desc { font-family: 'Inter', sans-serif; font-size: clamp(0.875rem, 1.5vw, 1rem); color: #4f5a50; margin-top: 0.65rem; line-height: 1.5; max-width: 22ch; }
.stat-deco { position: absolute; right: 1.5rem; bottom: 1.5rem; width: 72px; height: 72px; border-radius: 50%; border: 1.5px solid rgba(180, 210, 120, 0.3); display: flex; align-items: center; justify-content: center; }
.stat-deco-dot { width: 10px; height: 10px; border-radius: 50%; background: #5a8a35; }

.research-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 2.4rem; align-items: start; }
.research-method { display: flex; gap: 1rem; padding: 1.2rem 0; border-bottom: 1px solid rgba(219, 234, 172, 0.5); align-items: flex-start; }
.research-method:last-child { border-bottom: none; }
.method-icon { width: 46px; height: 46px; background: #f3f8e8; border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 1.25rem; }
.method-text h4 { font-family: 'Inter', sans-serif; font-size: 1.15rem; font-weight: 700; margin: 0 0 0.38rem; color: #2f3b31; }
.method-text p { font-family: 'Inter', sans-serif; font-size: 1.08rem; color: #4f5a50; line-height: 1.68; margin: 0; }
.research-demographics { background: #f3f8e8; border-radius: 12px; padding: 1.6rem; border: 1px solid rgba(219, 234, 172, 0.5); }
.demo-title { font-family: 'Inter', sans-serif; font-size: 1.08rem; font-weight: 700; letter-spacing: 0.06em; color: #5a7a38; margin: 0 0 1rem; }
.demo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.7rem; }
.demo-item { background: #ffffff; border-radius: 8px; padding: 0.75rem 0.9rem; border: 1px solid rgba(219, 234, 172, 0.5); }
.demo-item label { font-family: 'Inter', sans-serif; font-size: 0.9rem; font-weight: 700; color: #8aaa60; display: block; margin-bottom: 0.2rem; }
.demo-item span { font-family: 'Inter', sans-serif; font-size: 1.08rem; font-weight: 600; color: #2f3b31; }
.demo-item.full { grid-column: 1 / -1; }
.demo-key-finding { font-size: 1.08rem; font-weight: 500; color: #2f3b31; line-height: 1.6; display: block; margin-top: 0.35rem; }

.insights-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 1.4rem; }
.insight-card { background: #f3f8e8; border-radius: 10px; padding: 1.5rem 1.3rem; border: 1px solid rgba(219, 234, 172, 0.5); }
.insight-icon { font-size: 1.4rem; margin-bottom: 0.7rem; }
.insight-card h4 { font-family: 'Inter', sans-serif; font-size: clamp(1.45rem, 2.2vw, 1.9rem); font-weight: 700; color: #2f3b31; margin: 0 0 0.65rem; }
.insight-card p { font-family: 'Inter', sans-serif; font-size: 1.2rem; color: #4f5a50; line-height: 1.78; margin: 0; }

.persona-card { display: grid; grid-template-columns: 240px 1fr; border-radius: 12px; overflow: hidden; border: 1px solid rgba(219, 234, 172, 0.4); margin-top: 1.4rem; }
.persona-left { background: #2d5016; padding: 2rem 1.6rem; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; }
.persona-avatar { width: 60px; height: 60px; background: rgba(219, 234, 172, 0.15); border: 2px solid rgba(219, 234, 172, 0.25); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.6rem; margin: 0 auto 1rem; overflow: hidden; }
.persona-avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.persona-left > div:first-child { display: flex; flex-direction: column; align-items: center; width: 100%; }
.persona-name { font-family: 'DM Serif Display', serif; font-size: 1.55rem; font-weight: 400; color: #fff; }
.persona-role { font-family: 'Inter', sans-serif; font-size: 0.95rem; color: rgba(255, 255, 255, 0.55); margin-top: 0.3rem; line-height: 1.5; }
.persona-badge { display: inline-block; font-family: 'Inter', sans-serif; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: #dbeaac; background: rgba(219, 234, 172, 0.12); padding: 4px 10px; border-radius: 100px; margin-top: 1rem; }
.frustration-bar-wrap { margin-top: 2rem; width: 100%; max-width: 340px; }
.frustration-label { font-family: 'Inter', sans-serif; font-size: 0.78rem; color: rgba(219, 234, 172, 0.45); letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 6px; }
.frustration-bar { height: 4px; background: rgba(255, 255, 255, 0.1); border-radius: 2px; width: 100%; margin: 0 auto; }
.frustration-fill { height: 100%; width: 78%; background: linear-gradient(90deg, #b5d16b, #e74c3c); border-radius: 2px; }
.frustration-note { font-family: 'Inter', sans-serif; font-size: 0.84rem; color: rgba(255, 255, 255, 0.3); margin-top: 5px; }
.persona-right { background: #f8faf2; padding: 2rem 1.8rem; display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem; }
.persona-col h4 { font-family: 'Inter', sans-serif; font-size: 0.82rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: #4a7c2f; margin: 0 0 0.8rem; }
.persona-col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 0.5rem; }
.persona-col li { font-family: 'Inter', sans-serif; font-size: 1.02rem; color: #3d3d3d; padding-left: 1rem; position: relative; line-height: 1.55; }
.persona-col li::before { content: '+'; position: absolute; left: 0; color: #b5d16b; font-weight: 700; font-size: 0.8rem; }
.persona-quote { grid-column: 1 / -1; background: #fff; padding: 1.2rem 1.4rem; border-left: 3px solid #b5d16b; border-radius: 0 8px 8px 0; }
.persona-quote p { font-family: 'Inter', sans-serif; font-size: 1.08rem; font-style: italic; color: #4f5a50; line-height: 1.72; margin: 0; }

.journey-insights { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 1.4rem; }
.journey-card { background: #fff; border: 1px solid rgba(219, 234, 172, 0.5); border-radius: 10px; padding: 1.5rem 1.3rem; position: relative; overflow: hidden; }
.journey-card::after { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, #b5d16b, #4a7c2f); }
.journey-num { font-family: 'Inter', sans-serif; font-size: 1.05rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: #b5d16b; }
.journey-card h4 { font-family: 'Inter', sans-serif; font-size: clamp(1.5rem, 2.3vw, 2rem); font-weight: 700; color: #2f3b31; margin: 0.72rem 0 0.62rem; }
.journey-card p { font-family: 'Inter', sans-serif; font-size: 1.2rem; color: #4f5a50; line-height: 1.78; margin: 0; }

.challenge-band { background: #2d5016; padding: 3.8rem 1rem; margin-top: 3.5rem; }
.challenge-band-inner { width: min(980px, 92%); margin: 0 auto; text-align: center; }
.challenge-eyebrow { font-family: 'Inter', sans-serif; font-size: 0.65rem; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(219, 234, 172, 0.6); font-weight: 700; margin: 0 0 1rem; }
.challenge-band-inner h2 { font-family: 'DM Serif Display', serif; font-size: clamp(1.5rem, 3vw, 2.4rem); font-weight: 400; color: #ffffff; line-height: 1.4; max-width: 50ch; margin: 0 auto; }
.challenge-band-inner h2 em { font-style: italic; color: #dbeaac; }

.philosophy-band { background: #f3f8e8; padding: 3.5rem 1rem; border-top: 1px solid rgba(219, 234, 172, 0.4); }
.philosophy-inner { width: min(980px, 92%); margin: 0 auto; display: grid; grid-template-columns: 1fr 1.5fr; gap: 3.5rem; align-items: start; }
.philosophy-inner h2 { font-family: 'DM Serif Display', serif; font-size: clamp(1.5rem, 2.8vw, 2.2rem); font-weight: 400; line-height: 1.2; margin: 0; max-width: 18ch; }
.philosophy-right p { font-family: 'Inter', sans-serif; font-size: 0.975rem; color: #4f5a50; line-height: 1.8; margin: 0 0 0.9rem; }
.philosophy-right p:last-child { margin-bottom: 0; }

.solutions-band { background: linear-gradient(180deg, #ffffff 0%, #f7fbeb 100%); padding: 4.2rem 1rem; border-top: 1px solid rgba(219, 234, 172, 0.45); position: relative; }
.solutions-band::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 6px; background: linear-gradient(90deg, #7aa13d, #dbeaac, #7aa13d); }
.solutions-inner { width: min(980px, 92%); margin: 0 auto; }
.solutions-inner h2 { font-family: 'DM Serif Display', serif; font-size: clamp(2rem, 4vw, 3rem); font-weight: 400; line-height: 1.14; margin: 0.6rem 0 0; max-width: 30ch; color: #1f3512; }
.solutions-inner > p { font-family: 'Inter', sans-serif; font-size: 1.35rem; color: #34462a; line-height: 1.8; margin-top: 0.9rem; max-width: 60ch; }
.solutions-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.2rem; background: rgba(219, 234, 172, 0.3); border: none; border-radius: 14px; overflow: visible; margin-top: 1.4rem; padding: 0; }
.solution-card { background: #fff; padding: 2.2rem 1.9rem; transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease; border: 1px solid rgba(219, 234, 172, 0.55); border-radius: 12px; box-shadow: 0 12px 28px rgba(122, 161, 61, 0.12); }
.solution-card:hover { background: #fbfef5; transform: translateY(-4px); box-shadow: 0 18px 34px rgba(122, 161, 61, 0.2); }
.solution-num { font-family: 'Inter', sans-serif; font-size: 1.08rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: #5f8a2c; margin: 0 0 0.9rem; }
.solution-card h3 { font-family: 'Inter', sans-serif; font-size: clamp(1.7rem, 2.8vw, 2.3rem); font-weight: 700; color: #1d2e14; margin: 0 0 0.72rem; line-height: 1.3; }
.solution-card p { font-family: 'Inter', sans-serif; font-size: 1.2rem; color: #4f5a50; line-height: 1.78; margin: 0 0 1.2rem; }
.solution-tags { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.solution-tag { font-family: 'Inter', sans-serif; font-size: 1rem; font-weight: 600; color: #4a7c2f; background: #dbeaac; padding: 7px 13px; border-radius: 100px; }

.solution-images { width: min(980px, 92%); margin: 2rem auto 0; }
.solution-images img { width: 100%; border-radius: 10px; display: block; margin-bottom: 1rem; border: 1px solid rgba(191, 167, 177, 0.15); }
.solution-caption { font-family: 'Inter', sans-serif; font-size: 0.83rem; color: #6b7280; line-height: 1.6; text-align: center; margin: 0.4rem 0 0; }

.outcomes-band { background: #2d5016; padding: 3.5rem 1rem; }
.outcomes-inner { width: min(980px, 92%); margin: 0 auto; }
.outcomes-inner h2 { font-family: 'DM Serif Display', serif; font-size: clamp(1.5rem, 2.8vw, 2.2rem); font-weight: 400; color: #ffffff; margin: 0.4rem 0 0; max-width: 30ch; }
.outcomes-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: rgba(219, 234, 172, 0.1); border: 1px solid rgba(219, 234, 172, 0.12); border-radius: 12px; overflow: hidden; margin-top: 1.4rem; }
.outcome-cell { background: rgba(255, 255, 255, 0.05); padding: 2rem 1.5rem; transition: background 0.25s ease; }
.outcome-cell:hover { background: rgba(255, 255, 255, 0.1); }
.outcome-num { font-family: 'Inter', sans-serif; font-size: clamp(2.2rem, 4.5vw, 3.5rem); font-weight: 800; color: #dbeaac; letter-spacing: -0.04em; line-height: 1; }
.outcome-label { font-family: 'Inter', sans-serif; font-size: 0.83rem; color: rgba(255, 255, 255, 0.55); margin-top: 0.6rem; line-height: 1.45; }

.reflection-band { background: #ffffff; padding: 3.5rem 1rem; border-top: 1px solid rgba(219, 234, 172, 0.3); }
.reflection-inner { width: min(980px, 92%); margin: 0 auto; }
.reflection-inner h2 { font-family: 'DM Serif Display', serif; font-size: clamp(1.5rem, 2.8vw, 2.2rem); font-weight: 400; line-height: 1.2; margin: 0.4rem 0 0; max-width: 24ch; }
.reflection-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 1.4rem; }
.ref-card { background: #f3f8e8; border-radius: 10px; padding: 1.6rem 1.4rem; }
.ref-icon { font-size: 1.5rem; margin-bottom: 0.7rem; }
.ref-card h3 { font-family: 'Inter', sans-serif; font-size: clamp(1.5rem, 2.3vw, 2rem); font-weight: 700; color: #2f3b31; margin: 0 0 0.62rem; }
.ref-card p { font-family: 'Inter', sans-serif; font-size: 1.2rem; color: #4f5a50; line-height: 1.78; margin: 0; }
.next-steps-block { margin-top: 2rem; background: #f3f8e8; border-left: 4px solid #b5d16b; border-radius: 0 10px 10px 0; padding: 1.5rem 1.8rem; }
.next-steps-block p { font-family: 'Inter', sans-serif; font-size: 1.28rem; line-height: 1.84; color: #4f5a50; margin: 0; }
.next-steps-block strong { color: #4a7c2f; }

.next-cs-band { background: #dbeaac; padding: 3rem 1rem; }
.next-cs-inner { width: min(980px, 92%); margin: 0 auto; display: flex; justify-content: space-between; align-items: center; }
.next-cs-label { font-family: 'Inter', sans-serif; font-size: 0.68rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: #4a7c2f; margin-bottom: 0.4rem; }
.next-cs-title { font-family: 'DM Serif Display', serif; font-size: clamp(1.5rem, 3vw, 2.8rem); font-weight: 400; color: #2d5016; }
.next-cs-arrow { width: 52px; height: 52px; background: #2d5016; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 1.2rem; text-decoration: none; transition: transform 0.25s ease, background 0.25s ease; flex-shrink: 0; }
.next-cs-arrow:hover { transform: scale(1.08); background: #4a7c2f; }

@media (max-width: 760px) {
  .problem-cards, .insights-grid, .journey-insights, .reflection-grid { grid-template-columns: 1fr; }
  .research-layout, .persona-card, .philosophy-inner { grid-template-columns: 1fr; }
  .solutions-grid, .stats-grid { grid-template-columns: 1fr; }
  .outcomes-grid { grid-template-columns: repeat(2, 1fr); }
  .persona-right { grid-template-columns: 1fr; }
  .next-cs-inner { flex-direction: column; gap: 1.5rem; align-items: flex-start; }
}

.jm-table-wrap { width: min(980px, 92%); margin: 0 auto; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.jm-table { width: 100%; min-width: 860px; border-collapse: separate; border-spacing: 0; border-radius: 16px; overflow: hidden; border: 1px solid rgba(181, 209, 107, 0.3); box-shadow: 0 4px 24px rgba(45, 80, 22, 0.06); }
.jm-table thead tr th { background: #2d5016; color: #dbeaac; font-family: 'Inter', sans-serif; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; padding: 16px 20px; text-align: left; border-right: 1px solid rgba(219, 234, 172, 0.1); }
.jm-table thead tr th:last-child { border-right: none; }
.jm-table tbody tr td { padding: 0; border-right: 1px solid rgba(181, 209, 107, 0.3); border-bottom: 1px solid rgba(181, 209, 107, 0.3); vertical-align: top; }
.jm-table tbody tr td:last-child { border-right: none; }
.jm-table tbody tr:last-child td { border-bottom: none; }
.jm-stage-cell { background: #f3f8e8; min-width: 140px; }
.jm-stage-inner { padding: 20px 16px; min-height: 110px; display: flex; flex-direction: column; gap: 8px; }
.jm-stage-num { font-family: 'Inter', sans-serif; font-size: 0.6rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: #4a7c2f; }
.jm-stage-name { font-family: 'Inter', sans-serif; font-size: 0.88rem; font-weight: 700; color: #2d5016; line-height: 1.3; }
.jm-content-cell { background: #ffffff; min-width: 160px; }
.jm-cell-inner { padding: 20px 18px; min-height: 110px; }
.jm-table tbody tr:hover td.jm-content-cell { background: #fafef5; }
td.jm-emotion-col .jm-cell-inner { background: rgba(245, 213, 200, 0.2); }
td.jm-pain-col .jm-cell-inner { background: rgba(255, 240, 238, 0.6); }
td.jm-opp-col .jm-cell-inner { background: rgba(197, 237, 232, 0.2); }
.jm-cell-tag { display: block; font-family: 'Inter', sans-serif; font-size: 0.62rem; font-weight: 700; letter-spacing: 0.13em; text-transform: uppercase; color: #4a7c2f; margin-bottom: 8px; }
.jm-cell-text { font-family: 'Inter', sans-serif; font-size: 0.875rem; color: #2a2a2a; line-height: 1.6; }
.jm-emotion-chip { display: inline-flex; align-items: center; gap: 6px; background: #f5d5c8; border-radius: 100px; padding: 4px 12px; font-family: 'Inter', sans-serif; font-size: 0.8rem; font-weight: 600; color: #6b3a2a; margin-top: 4px; }
.jm-emotion-chip.positive { background: #c5ede8; color: #1a5c54; }
.jm-emotion-chip.neutral { background: #fff3cd; color: #7a5c00; }
.jm-emotion-chip.anxious { background: #fde8d8; color: #7a3b00; }
.jm-emotion-dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; opacity: 0.7; flex-shrink: 0; }
.jm-pain-tag { display: inline-block; background: #fff0ee; border: 1px solid #f5c5bb; border-radius: 6px; padding: 3px 8px; font-family: 'Inter', sans-serif; font-size: 0.72rem; font-weight: 500; color: #a03a2a; margin-top: 6px; }
.jm-opp-tag { display: inline-flex; align-items: center; gap: 5px; background: #dbeaac; border-radius: 6px; padding: 3px 9px; font-family: 'Inter', sans-serif; font-size: 0.72rem; font-weight: 600; color: #2d5016; margin-top: 6px; }
.jm-opp-tag::before { content: '\2192'; font-size: 0.68rem; }
@media (max-width: 760px) { .jm-table { min-width: 700px; } }

.prototype-band { background: #ffffff; padding: 3.5rem 1rem; border-top: none; }
.prototype-inner { width: min(980px, 92%); margin: 0 auto; }
.prototype-desc { font-family: 'Inter', sans-serif; font-size: 0.95rem; color: #4f5a50; margin: 0.5rem 0 1.6rem; line-height: 1.6; }
.prototype-frame-wrap { border-radius: 12px; overflow: hidden; border: none; box-shadow: none; background: #ffffff; padding: 0; }
.prototype-frame { width: 100%; height: 600px; border: none; display: block; border-radius: 0; background: #ffffff; }
.prototype-actions { margin-top: 0.8rem; display: flex; justify-content: flex-end; }
.prototype-open-btn { display: inline-flex; align-items: center; justify-content: center; height: 36px; padding: 0 0.95rem; border-radius: 999px; border: 1px solid rgba(181, 209, 107, 0.75); background: #dbeaac; color: #2d5016; text-decoration: none; font-family: 'Inter', sans-serif; font-size: 0.84rem; font-weight: 700; transition: transform 0.22s ease, box-shadow 0.22s ease; }
.prototype-open-btn:hover { transform: translateY(-1px); box-shadow: 0 6px 14px rgba(122, 161, 61, 0.22); }
@media (max-width: 760px) {
  .prototype-desc { margin-bottom: 1rem; }
  .prototype-frame-wrap { width: min(100%, 250px); margin: 0 auto; border-radius: 20px; }
  .prototype-frame { height: 560px; }
  .prototype-actions { justify-content: center; }
}

.case-floating-nav { position: fixed; top: 4.6rem; left: 50%; transform: translateX(-50%); bottom: auto; z-index: 150; display: flex; gap: 0.45rem; padding: 0.45rem; }
.case-floating-glass { background: rgba(255, 255, 255, 0.86); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border: 1px solid rgba(191, 167, 177, 0.25); border-radius: 999px; box-shadow: 0 8px 28px rgba(74, 54, 64, 0.14); }
.case-floating-nav a { text-decoration: none; color: #654f5a; font-family: 'Inter', sans-serif; font-size: 0.76rem; font-weight: 700; padding: 0.42rem 0.72rem; border-radius: 999px; transition: background 0.2s ease, color 0.2s ease; white-space: nowrap; }
.case-floating-nav a:hover { background: #f3e8ef; color: #2f2430; }
@media (max-width: 760px) { .case-floating-nav { display: none; } }
