:root {
  /* ==========================================================================
     PHASE 1 MOBILE-FIRST DESIGN TOKENS
     ========================================================================== */
  /* Fluid type scale: 360px -> 1440px */
  --fs-display: clamp(2.25rem, 1.6rem + 3.2vw, 4.5rem); /* hero */
  --fs-h1: clamp(1.875rem, 1.5rem + 1.9vw, 3rem);
  --fs-h2: clamp(1.5rem, 1.3rem + 1vw, 2.25rem);
  --fs-h3: clamp(1.125rem, 1.05rem + 0.4vw, 1.375rem);
  --fs-body: clamp(1rem, 0.97rem + 0.15vw, 1.0625rem); /* never below 16px */
  --fs-small: 0.875rem; /* 14px floor */
  --lh-tight: 1.1;
  --lh-heading: 1.2;
  --lh-body: 1.6;

  /* Spacing scale (4px base) */
  --s-1: 4px;
  --s-2: 8px;
  --s-3: 12px;
  --s-4: 16px;
  --s-5: 24px;
  --s-6: 32px;
  --s-7: 48px;
  --s-8: 64px;
  --s-9: 96px;
  --s-10: 128px;

  /* Section rhythm & layout tokens */
  --section-y: var(--s-8); /* 64px mobile */
  --gutter: 20px;
  --radius-card: 16px;
  --tap-min: 44px;
  --max-w: 1200px;
  --max-w-prose: 68ch;

  /* Existing visual identity & palette preserved */
  --bg-color: #121417;
  --bg-card: rgba(255, 255, 255, 0.025);
  --bg-card-hover: rgba(255, 255, 255, 0.05);
  --text-main: #F3F3F6;
  --text-muted: #8E929B;
  --text-dim: #60646D;
  --accent-lavender: #C4B5FD;
  --accent-lavender-glow: rgba(196, 181, 253, 0.22);
  --accent-purple: #A78BFA;
  --border-hairline: rgba(255, 255, 255, 0.08);
  --border-hairline-hover: rgba(196, 181, 253, 0.35);
  --border-light: rgba(255, 255, 255, 0.05);

  --font-serif: 'Newsreader', 'Cormorant Garamond', 'Playfair Display', Georgia, serif;
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Semantic Token Aliases */
  --bg: #121417;
  --bg-raised: #1A1D21;
  --bg-inverse: #FFFFFF;
  --text: #F3F3F6;
  --text-inverse: #121417;
  --text-2: #8E929B;
  --text-3: #60646D;
  --accent: #C4B5FD;
  --line-strong: rgba(255, 255, 255, 0.16);
  --font-body: var(--font-sans);
  --font-display: var(--font-serif);
  --fs-lead: clamp(1.125rem, 1.05rem + 0.4vw, 1.25rem);

  --container-max: var(--max-w);
  --container-narrow: 960px;
  --section-pad-y: var(--section-y);
  --transition-smooth: cubic-bezier(0.16, 1, 0.3, 1);
}

@media (min-width: 768px) {
  :root {
    --section-y: var(--s-9);
    --gutter: 32px;
  }
}

@media (min-width: 1280px) {
  :root {
    --section-y: var(--s-10);
    --gutter: 48px;
  }
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  background-color: var(--bg-color);
  color: var(--text-main);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background-color: var(--bg-color);
  color: var(--text-main);
  min-height: 100dvh;
  position: relative;
  overflow-x: hidden;
  font-size: var(--fs-body);
  line-height: var(--lh-body);
}

/* Inputs use 16px min to stop iOS automatic zoom */
input,
textarea,
select {
  font-size: max(16px, 1rem);
}

/* Container */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: max(var(--gutter), env(safe-area-inset-left));
  position: relative;
  z-index: 1;
}

/* Media elements */
img,
video,
svg {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Long-form text blocks constrained to readable measure */
p,
.prose,
.cs-prose,
.cs-lead,
.cs-intro-lead,
.cs-paragraph,
.about-bio-text,
.philosophy-text,
.case-study-narrative {
  max-width: var(--max-w-prose);
}

/* Headings: overflow-wrap anywhere prevents long words causing horizontal scroll */
h1, h2, h3, h4, h5, h6,
.hero-headline,
.cs-hero-title,
.section-heading,
.section-title,
.cs-section-heading,
.work-page-title,
.about-hero-title {
  overflow-wrap: anywhere;
  word-break: break-word;
  line-height: var(--lh-heading);
}

h1,
.hero-headline,
.cs-hero-title,
.work-page-title,
.about-hero-title {
  font-size: var(--fs-display);
  line-height: var(--lh-tight);
}

h2,
.section-heading,
.cs-section-heading,
.about-section-heading {
  font-size: var(--fs-h1);
}

h3,
.cs-subheading {
  font-size: var(--fs-h2);
}

h4 {
  font-size: var(--fs-h3);
}

/* Full-height sections */
.full-height-section,
.hero-fullscreen {
  min-height: 100dvh;
}

/* Default padding-block for case study and subpage sections */
.cs-hero-section,
.cs-section,
.things-section,
.work-header-section,
.about-hero-section,
.about-philosophy-section,
.about-experience-section,
.about-skills-tools-section,
.about-life-section,
.about-music-section {
  padding-block: var(--section-y);
}

/* Interactive elements default minimum tap area (44px) */
button,
a,
input,
select,
textarea,
[role="button"],
summary {
  min-height: var(--tap-min);
  min-width: var(--tap-min);
}

/* Inline text links within paragraphs should flow normally */
p a,
.prose a,
.cs-paragraph a,
.cs-prose a,
.inline-link {
  min-height: auto;
  min-width: auto;
  display: inline;
}

/* Motion accessibility */
@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;
  }
}

/* Background Canvas Particles (Global continuous field) */
#particle-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 0;
  opacity: 0.65;
}

/* Container */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 3rem);
  position: relative;
  z-index: 1;
}

/* Hairline Divider */
.hairline-divider {
  width: 100%;
  height: 1px;
  background-color: var(--border-hairline);
  border: none;
}

/* Accessibility: Skip Link */
.skip-link {
  position: absolute;
  top: -100px;
  left: var(--gutter, 20px);
  z-index: 99999;
  padding: 0.75rem 1.25rem;
  background: var(--text-main);
  color: #121417;
  font-weight: 600;
  font-size: 0.9375rem;
  border-radius: 8px;
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
  transition: top 0.2s ease;
}

.skip-link:focus,
.skip-link:focus-visible {
  top: 1rem;
}

/* Accessibility: Universal Visible Focus Ring */
a:focus-visible,
button:focus-visible,
[role="button"]:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
:focus-visible {
  outline: 2px solid var(--accent-lavender);
  outline-offset: 3px;
}

/* Navigation Header (Mobile-first <768px: Height 56px, sticky, 85% opacity, blur 12px) */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  height: 56px;
  background: rgba(18, 20, 23, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-hairline);
  transition: transform 200ms ease;
  will-change: transform;
}

/* Hide-on-scroll: slides up translateY(-100%) in 200ms */
.site-nav.nav-hidden {
  transform: translateY(-100%);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 56px;
}

.nav-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text-main);
  min-height: 44px;
  padding: 4px 0;
  transition: transform 120ms ease;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

/* Tap (mobile): scale 0.94 for 120ms */
.nav-brand:active {
  transform: scale(0.94);
}

.brand-logo-mark {
  height: 24px;
  width: auto;
  aspect-ratio: 538 / 369;
  display: block;
  flex-shrink: 0;
  color: var(--text-main);
  transition: transform 300ms ease-out;
  transform-origin: center center;
}

@media (min-width: 768px) {
  .brand-logo-mark {
    height: 28px;
  }
}

/* Hover (desktop): mark rotates -6deg and returns, 300ms ease-out */
@media (hover: hover) and (pointer: fine) {
  .nav-brand:hover .brand-logo-mark {
    transform: rotate(-6deg);
  }
}

/* Reduced motion: no rotation */
@media (prefers-reduced-motion: reduce) {
  .brand-logo-mark {
    transition: none !important;
    transform: none !important;
  }
  .nav-brand:hover .brand-logo-mark {
    transform: none !important;
  }
  .footer-logo-mark {
    transition: none !important;
    transform: none !important;
  }
  .footer-logo-link:hover .footer-logo-mark {
    transform: none !important;
  }
}

/* Layout: [DP mark] + "Digambar Patil" wordmark, 10px gap */
/* Below 360px show the mark only; the link keeps aria-label="Digambar Patil — home" */
.brand-wordmark {
  display: none !important;
}

@media (min-width: 360px) {
  .brand-wordmark {
    display: none !important;
  }
}

.brand-name {
  font-weight: 600;
  font-size: 1.0625rem;
  letter-spacing: -0.01em;
  color: var(--text-main);
  white-space: nowrap;
}

/* Subtitle hidden below 600px */
.brand-title {
  display: none;
  font-size: var(--fs-small);
  color: var(--text-muted);
  font-weight: 400;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

@media (min-width: 600px) {
  .brand-title {
    display: inline-block;
  }
}

/* Footer Mark: 32px above the email */
.footer-mark-wrapper {
  margin-bottom: 32px;
}

.footer-logo-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  min-width: 44px;
  color: var(--text-main);
  text-decoration: none;
  transition: transform 120ms ease;
  -webkit-tap-highlight-color: transparent;
}

.footer-logo-link:active {
  transform: scale(0.94);
}

.footer-logo-mark {
  height: 32px;
  width: auto;
  aspect-ratio: 538 / 369;
  display: block;
  color: var(--text-main);
  transition: transform 300ms ease-out;
  transform-origin: center center;
}

@media (hover: hover) and (pointer: fine) {
  .footer-logo-link:hover .footer-logo-mark {
    transform: rotate(-6deg);
  }
}

/* 404 / Error Page Styling */
.error-page-section {
  min-height: calc(100dvh - 56px - 140px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--section-y) var(--gutter);
}

.error-mark {
  height: 40px;
  width: auto;
  aspect-ratio: 538 / 369;
  display: inline-block;
  color: var(--text-muted);
  opacity: 0.65;
  margin-bottom: var(--s-5);
  transition: opacity 240ms ease, transform 300ms ease-out;
  transform-origin: center center;
}

@media (hover: hover) and (pointer: fine) {
  .error-mark:hover {
    opacity: 0.95;
    transform: rotate(-6deg);
  }
}

.error-code {
  font-family: var(--font-display, "Newsreader", serif);
  font-size: var(--fs-display);
  font-weight: 400;
  line-height: var(--lh-tight);
  color: var(--text-main);
  margin-bottom: var(--s-3);
}

.error-message {
  font-size: var(--fs-body);
  color: var(--text-muted);
  max-width: 46ch;
  margin: 0 auto var(--s-6);
  line-height: var(--lh-body);
}

.error-actions {
  display: flex;
  gap: var(--s-4);
  justify-content: center;
  flex-wrap: wrap;
}

/* 44x44 menu button with icon that morphs hamburger -> X (two lines rotating 45deg, 240ms, cubic-bezier(.2,.8,.2,1)) */
.nav-hamburger {
  display: flex;
  position: relative;
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  padding: 0;
  justify-content: center;
  align-items: center;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  cursor: pointer;
  z-index: 1002;
  transition: background-color 0.2s ease, border-color 0.2s ease;
  -webkit-tap-highlight-color: transparent;
}

.nav-hamburger:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(196, 181, 253, 0.4);
}

.hamburger-bar {
  position: absolute;
  width: 20px;
  height: 2px;
  background-color: var(--text-main);
  border-radius: 2px;
  transition: transform 240ms cubic-bezier(0.2, 0.8, 0.2, 1), background-color 200ms ease;
  transform-origin: center;
}

.hamburger-bar:nth-child(1) {
  transform: translateY(-4px) rotate(0deg);
}

.hamburger-bar:nth-child(2) {
  transform: translateY(4px) rotate(0deg);
}

.nav-hamburger.is-active .hamburger-bar:nth-child(1),
.nav-hamburger[aria-expanded="true"] .hamburger-bar:nth-child(1) {
  transform: translateY(0) rotate(45deg);
}

.nav-hamburger.is-active .hamburger-bar:nth-child(2),
.nav-hamburger[aria-expanded="true"] .hamburger-bar:nth-child(2) {
  transform: translateY(0) rotate(-45deg);
}

/* Desktop nav hidden on mobile */
.desktop-nav {
  display: none;
}

/* Full-screen sheet (100dvh) BELOW the header */
.mobile-nav-sheet {
  position: fixed;
  top: 56px;
  left: 0;
  right: 0;
  bottom: 0;
  height: calc(100dvh - 56px);
  width: 100%;
  background: rgba(18, 20, 23, 0.98);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  z-index: 999;
  display: flex;
  flex-direction: column;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 240ms cubic-bezier(0.2, 0.8, 0.2, 1),
              visibility 240ms cubic-bezier(0.2, 0.8, 0.2, 1);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.mobile-nav-sheet.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.sheet-inner {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 100%;
  padding: var(--s-6, 32px) var(--gutter, 20px) var(--s-7, 48px);
  box-sizing: border-box;
}

.sheet-nav-list {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.sheet-nav-link {
  display: flex;
  align-items: center;
  height: 64px;
  font-family: var(--font-display, 'Newsreader', serif);
  font-size: var(--fs-h2);
  font-weight: 500;
  color: var(--text-main);
  text-decoration: none;
  text-align: left;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 240ms cubic-bezier(0.2, 0.8, 0.2, 1),
              transform 240ms cubic-bezier(0.2, 0.8, 0.2, 1),
              color 150ms ease;
}

.sheet-nav-link:hover,
.sheet-nav-link.active {
  color: var(--accent-lavender);
}

/* Links stagger in: opacity 0->1, translateY 12px->0, 40ms apart */
.mobile-nav-sheet.is-open .sheet-nav-link:nth-child(1) {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0ms;
}
.mobile-nav-sheet.is-open .sheet-nav-link:nth-child(2) {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 40ms;
}
.mobile-nav-sheet.is-open .sheet-nav-link:nth-child(3) {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 80ms;
}
.mobile-nav-sheet.is-open .sheet-nav-link:nth-child(4) {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 120ms;
}

.sheet-footer {
  display: flex;
  flex-direction: column;
  gap: var(--s-4, 16px);
  padding-top: var(--s-6, 32px);
}

.sheet-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 var(--s-5, 24px);
  background-color: var(--text-main);
  color: #121417;
  font-weight: 600;
  font-size: var(--fs-body);
  border-radius: 9999px;
  text-decoration: none;
  width: 100%;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.sheet-btn-primary:hover {
  background-color: #ffffff;
  transform: translateY(-1px);
}

.sheet-social-row {
  display: flex;
  align-items: center;
  gap: var(--s-3, 12px);
}

.sheet-social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-hairline);
  color: var(--text-muted);
  transition: all 0.2s ease;
}

.sheet-social-link:hover {
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(196, 181, 253, 0.4);
}

.sheet-social-icon {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.sheet-status-text {
  font-size: var(--fs-small);
  color: var(--text-muted);
  margin: 0;
  line-height: var(--lh-body);
}

body.nav-menu-open {
  overflow: hidden !important;
}

/* DESKTOP (>=768px) */
@media (min-width: 768px) {
  .site-nav {
    height: 64px;
  }

  .nav-inner {
    height: 64px;
  }

  .nav-hamburger {
    display: none;
  }

  .mobile-nav-sheet {
    display: none !important;
  }

  .desktop-nav {
    display: flex;
    align-items: center;
    gap: 24px;
  }

  .desktop-nav .nav-link {
    font-size: 15px;
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 500;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    position: relative;
    padding: 0 2px;
    transition: color 200ms ease;
  }

  .desktop-nav .nav-link:hover,
  .desktop-nav .nav-link.active {
    color: var(--text-main);
  }

  /* Active route: 2px underline offset 6px. Hover: underline grows from left (scaleX 0->1, 200ms) */
  .desktop-nav .nav-link::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 6px;
    width: 100%;
    height: 2px;
    background-color: var(--accent-lavender);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 200ms ease;
  }

  .desktop-nav .nav-link:hover::after,
  .desktop-nav .nav-link.active::after {
    transform: scaleX(1);
  }

  /* Resume small external link icon */
  .nav-external-icon {
    display: inline-block;
    margin-left: 4px;
    font-size: 13px;
    line-height: 1;
    opacity: 0.75;
    transition: transform 150ms ease, opacity 150ms ease;
  }

  .desktop-nav .nav-link:hover .nav-external-icon {
    transform: translate(1px, -1px);
    opacity: 1;
  }

  /* "Contact" is a pill button (outline), filled on hover */
  .nav-contact-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    font-weight: 500;
    min-height: 44px;
    padding: 0 18px;
    border-radius: 9999px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: var(--text-main);
    text-decoration: none;
    background: transparent;
    transition: background 200ms ease, color 200ms ease, border-color 200ms ease;
  }

  .nav-contact-btn:hover {
    background: var(--text-main);
    color: #121417;
    border-color: var(--text-main);
  }
}

.btn-pill-solid {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--text-main);
  color: #121417;
  font-size: 0.875rem;
  font-weight: 600;
  padding: 0.625rem 1.375rem;
  min-height: 44px;
  border-radius: 9999px;
  text-decoration: none;
  transition: all 0.25s var(--transition-smooth);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  border: 1px solid transparent;
}

.btn-pill-solid:hover {
  background-color: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(196, 181, 253, 0.35);
  color: #0d0f12;
}

/* Expanding Pill Button with Sliding/Rotating Icon Cutout */
.btn-expand-icon {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  min-height: 44px;
  border-radius: 9999px;
  background-color: var(--text-main);
  color: #121417;
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  border: 1px solid transparent;
  cursor: pointer;
  padding: 0.35rem 0.4rem 0.35rem 1.35rem;
  transition: background-color 0.5s var(--transition-smooth),
              box-shadow 0.5s var(--transition-smooth),
              transform 0.5s var(--transition-smooth),
              padding 0.5s var(--transition-smooth),
              color 0.5s var(--transition-smooth);
  user-select: none;
  white-space: nowrap;
}

.btn-expand-text {
  display: inline-block;
  color: #121417;
  margin-right: 0.75rem;
  transition: transform 0.5s var(--transition-smooth), color 0.5s var(--transition-smooth);
  will-change: transform;
}

.btn-expand-circle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: #121417;
  color: #F3F3F6;
  flex-shrink: 0;
  transition: transform 0.5s var(--transition-smooth),
              background-color 0.5s var(--transition-smooth);
  will-change: transform;
}

.btn-expand-arrow {
  width: 14px;
  height: 14px;
  stroke: #F3F3F6;
  stroke-width: 2.2;
  transition: transform 0.5s var(--transition-smooth);
  will-change: transform;
}

.btn-expand-icon:hover {
  background-color: #FFFFFF;
  color: #0d0f12;
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(196, 181, 253, 0.38);
  padding: 0.35rem 1.35rem 0.35rem 0.4rem;
}

.btn-expand-icon:hover .btn-expand-text {
  transform: translateX(calc(32px + 0.75rem));
}

.btn-expand-icon:hover .btn-expand-circle {
  transform: translateX(calc(-1 * (var(--btn-text-width, 82px) + 0.75rem)));
}

.btn-expand-icon:hover .btn-expand-arrow {
  transform: rotate(45deg);
}

.btn-pill-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  color: var(--text-main);
  font-size: 0.875rem;
  font-weight: 500;
  padding: 0.625rem 1.375rem;
  min-height: 44px;
  border-radius: 9999px;
  text-decoration: none;
  border: 1px solid var(--border-hairline);
  transition: all 0.25s var(--transition-smooth);
}

.btn-pill-outline:hover {
  border-color: var(--accent-lavender);
  background: var(--bg-card-hover);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(196, 181, 253, 0.15);
}

/* ==========================================================================
   PHASE 3: HOMEPAGE REBUILD STYLES
   Mobile-First Foundation (360px Base -> 768px -> 1024px -> 1280px)
   ========================================================================== */

/* HERO SECTION */
.hero-section {
  padding-top: clamp(2.5rem, 4.5vw, 4.25rem);
  padding-bottom: clamp(2rem, 3.5vw, 3rem);
  position: relative;
}

.hero-star {
  position: absolute;
  top: clamp(2rem, 4.5vw, 3.25rem);
  right: clamp(1.5rem, 8vw, 7.5rem);
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #FFFFFF;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.95), 0 0 20px rgba(196, 181, 253, 0.5);
  pointer-events: none;
  z-index: 2;
}

.hero-container {
  max-width: var(--container-max);
  margin: 0 auto;
}

.hero-headline {
  font-family: var(--font-serif);
  font-size: clamp(2.55rem, 4.4vw, 4.15rem);
  line-height: 1.13;
  font-weight: 400;
  letter-spacing: -0.025em;
  color: var(--text-main);
  margin-bottom: clamp(2rem, 3.2vw, 2.75rem);
  max-width: 950px;
  text-align: left;
}

.hero-headline-line {
  display: block;
}

.hero-headline .accent-pune {
  font-style: italic;
  color: var(--accent-lavender);
  text-decoration: underline;
  text-decoration-color: rgba(196, 181, 253, 0.7);
  text-underline-offset: 6px;
  text-decoration-thickness: 2px;
}

@media (max-width: 768px) {
  .hero-br {
    display: none;
  }
}

/* Two-column bottom row: Meta Strip (left) & Portrait Card (right) */
.hero-bottom {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: start;
}

@media (min-width: 900px) {
  .hero-bottom {
    grid-template-columns: minmax(0, 1.12fr) minmax(360px, 0.98fr);
    column-gap: clamp(2rem, 4vw, 4rem);
    align-items: start;
  }
}

.hero-intro-col {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-subline {
  font-family: var(--font-sans);
  font-size: clamp(1.0625rem, 1.4vw, 1.25rem);
  line-height: 1.6;
  color: var(--text-muted);
  max-width: 680px;
  margin-bottom: 1.5rem;
}

.hero-status-chips {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem;
}

.hero-status-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 0.95rem;
  background: var(--bg-card);
  border: 1px solid var(--border-hairline);
  border-radius: 9999px;
  font-size: var(--fs-small);
  font-weight: 500;
  color: var(--text-muted);
  min-height: 36px;
  transition: all 0.25s var(--transition-smooth);
}

.hero-status-chip.is-active {
  color: var(--text-main);
  border-color: rgba(52, 211, 153, 0.35);
  background: rgba(52, 211, 153, 0.05);
}

.hero-status-chip:hover {
  color: var(--text-main);
  border-color: var(--accent-lavender);
  background: var(--bg-card-hover);
}

/* Meta Strip - 2x2 Balanced Key-Value Grid */
.meta-strip {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 2.25rem clamp(2rem, 4vw, 3.5rem);
  border-top: none;
  padding-top: 0;
  position: relative;
}

.meta-item {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  justify-content: flex-start;
}

.meta-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-dim);
  font-weight: 600;
  line-height: 1;
}

.meta-value {
  font-size: 0.875rem;
  color: var(--text-main);
  font-weight: 500;
  line-height: 1.45;
}

@media (min-width: 900px) {
  .meta-value {
    white-space: nowrap;
  }
}

/* Portrait Card: Right column */
.hero-portrait-wrapper {
  position: relative;
  display: flex;
  justify-content: flex-start;
}

@media (min-width: 900px) {
  .hero-portrait-wrapper {
    justify-content: flex-end;
  }
}

.hero-portrait-card {
  position: relative;
  width: 100%;
  max-width: 450px;
  aspect-ratio: 450 / 535;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: var(--bg-card);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.55), 0 0 24px rgba(196, 181, 253, 0.05);
  transition: transform 0.4s var(--transition-smooth), border-color 0.4s ease, box-shadow 0.4s ease;
}

.hero-portrait-card:hover {
  transform: translateY(-4px) scale(1.015);
  border-color: rgba(196, 181, 253, 0.4);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.6), 0 0 30px rgba(196, 181, 253, 0.12);
}

.hero-portrait-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  filter: contrast(1.02) brightness(0.98);
  transition: transform 0.6s var(--transition-smooth);
}

.hero-portrait-card:hover .hero-portrait-img {
  transform: scale(1.03);
}

@media (max-width: 768px) {
  .hero-portrait-wrapper {
    justify-content: center;
  }

  .hero-portrait-card {
    max-width: 280px;
  }
}

@media (max-width: 480px) {
  .hero-headline {
    font-size: 2.1rem;
    line-height: 1.2;
    margin-bottom: 2rem;
  }

  .hero-portrait-card {
    max-width: 260px;
  }

  .meta-strip {
    gap: 1.5rem 1rem;
  }
}

/* 3.4 CLIENT STRIP */
.clients-section {
  padding: clamp(1.75rem, 3vw, 2.5rem) 0;
  border-top: 1px solid var(--border-hairline);
  border-bottom: 1px solid var(--border-hairline);
  overflow: hidden;
  position: relative;
}

.clients-title {
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--text-dim);
  font-weight: 700;
  margin-bottom: clamp(1rem, 1.8vw, 1.35rem);
  text-align: center;
}

/* MARQUEE SYSTEM */
.marquee-wrapper {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding: 0.5rem 0;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 6%, black 94%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, black 6%, black 94%, transparent 100%);
}

.marquee-track {
  display: flex;
  width: max-content;
  will-change: transform;
  animation: scroll-marquee-left 45s linear infinite;
}

@keyframes scroll-marquee-left {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.marquee-wrapper:hover .marquee-track,
.marquee-wrapper.is-paused .marquee-track {
  animation-play-state: paused;
}

.marquee-group {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding-right: 0.85rem;
  flex-shrink: 0;
}

.company-logo-item {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.55rem 1rem;
  background: var(--bg-card);
  border: 1px solid var(--border-hairline);
  border-radius: 9999px;
  color: var(--text-muted);
  font-weight: 600;
  letter-spacing: 0.035em;
  font-size: var(--fs-small);
  min-height: 40px;
  opacity: 0.75;
  transition: opacity 0.3s ease, color 0.25s ease, border-color 0.25s ease, background 0.25s ease, transform 0.25s var(--transition-smooth);
  cursor: default;
  white-space: nowrap;
  flex-shrink: 0;
  user-select: none;
}

.company-logo-item:hover {
  opacity: 1;
  color: var(--text-main);
  border-color: var(--accent-lavender);
  background: var(--bg-card-hover);
  transform: translateY(-2px);
}

.company-logo-item svg {
  width: 15px;
  height: 15px;
  fill: currentColor;
  opacity: 0.85;
  flex-shrink: 0;
}

@media (prefers-reduced-motion: reduce) {
  .marquee-wrapper {
    -webkit-mask-image: none;
    mask-image: none;
  }
  .marquee-track {
    animation: none !important;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    width: 100%;
  }
  .marquee-group[aria-hidden="true"] {
    display: none;
  }
}

/* 3.5 SELECTED WORK (id="work") */
.selected-work-section {
  padding: clamp(3.5rem, 6vw, 5.5rem) 0;
  border-bottom: 1px solid var(--border-hairline);
  position: relative;
}

.selected-work-header {
  margin-bottom: clamp(2rem, 3.5vw, 3rem);
}

.selected-work-title {
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 4.2vw, 3.8rem);
  font-weight: 400;
  color: #FFFFFF;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 0;
}

/* Staggered Masonry Grid */
.work-masonry-grid {
  display: flex;
  flex-direction: column;
  gap: clamp(2.5rem, 5vw, 4rem);
}

@media (max-width: 859px) {
  .work-masonry-col {
    display: contents;
  }
}

@media (min-width: 860px) {
  .work-masonry-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    column-gap: clamp(2.5rem, 4.5vw, 4.5rem);
    row-gap: 0;
    align-items: start;
  }

  .work-masonry-col {
    display: flex;
    flex-direction: column;
    gap: clamp(3rem, 5vw, 4.5rem);
  }

  .col-staggered {
    padding-top: clamp(6.5rem, 11vw, 9.5rem);
  }
}

.work-masonry-card {
  order: var(--card-order, 1);
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: opacity 0.3s ease;
}

.work-masonry-card.is-upcoming {
  cursor: default;
}

.work-card-media-box {
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: 6px;
  overflow: hidden;
  position: relative;
  background: #14161a;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.work-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 0;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

@media (hover: hover) and (pointer: fine) {
  .work-masonry-card:not(.is-upcoming):hover .work-card-media-box {
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45), 0 0 30px rgba(196, 181, 253, 0.08);
  }

  .work-masonry-card:not(.is-upcoming):hover .work-card-img {
    transform: scale(1.035);
  }
}

.work-card-info {
  margin-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.work-card-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.work-card-title-group {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
}

.work-card-name {
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 500;
  color: #FFFFFF;
  letter-spacing: -0.01em;
  margin: 0;
  transition: color 0.25s ease;
}

@media (hover: hover) and (pointer: fine) {
  .work-masonry-card:not(.is-upcoming):hover .work-card-name {
    color: var(--accent-lavender, #C4B5FD);
  }
}

.work-card-badge {
  font-size: 0.8125rem;
  color: #9CA3AF;
  font-weight: 400;
}

.work-card-year {
  font-size: 0.8125rem;
  color: #717680;
  font-variant-numeric: tabular-nums;
  font-weight: 400;
  white-space: nowrap;
}

.work-card-summary {
  font-size: 0.875rem;
  color: var(--text-muted, #94A3B8);
  line-height: 1.5;
  margin: 0;
  max-width: 44ch;
}

.work-card-tags {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent-lavender);
  font-weight: 600;
  margin-bottom: 0.35rem;
}

.work-card-tag-sep {
  opacity: 0.5;
}

.work-card-role {
  font-size: 0.8125rem;
  color: var(--text-dim);
  font-weight: 500;
  margin-top: 0.35rem;
}


/* 3.6 WHAT I DO (id="what-i-do") */
.what-i-do-section {
  padding: clamp(3.5rem, 6vw, 5.5rem) 0;
  position: relative;
}

.what-i-do-header {
  text-align: center;
  margin-bottom: clamp(2rem, 3.5vw, 3rem);
}

.what-i-do-title {
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 3.8vw, 2.75rem);
  font-weight: 400;
  color: #FFFFFF;
  letter-spacing: -0.015em;
  line-height: 1.15;
  margin: 0;
}

/* 3x2 Bordered Grid */
.what-i-do-grid {
  display: grid;
  grid-template-columns: 1fr;
  border-top: 1px solid var(--border-hairline);
  border-bottom: 1px solid var(--border-hairline);
}

.what-i-do-cell {
  display: flex;
  flex-direction: column;
  padding: clamp(1.75rem, 2.4vw, 2.25rem) clamp(1.25rem, 2vw, 1.75rem);
  border-bottom: 1px solid var(--border-hairline);
  transition: background-color 0.25s ease;
}

.what-i-do-cell:last-child {
  border-bottom: none;
}

.what-i-do-cell:hover {
  background-color: rgba(255, 255, 255, 0.015);
}

.what-i-do-num {
  font-family: var(--font-mono, monospace), var(--font-sans);
  font-size: 0.6875rem;
  color: #717680;
  letter-spacing: 0.05em;
  margin-bottom: clamp(1.5rem, 2.2vw, 2rem);
  user-select: none;
}

.what-i-do-cell-title {
  font-family: var(--font-serif);
  font-size: clamp(1.35rem, 1.7vw, 1.55rem);
  font-weight: 400;
  color: #F7F7F8;
  letter-spacing: -0.01em;
  line-height: 1.25;
  margin: 0 0 clamp(0.75rem, 1vw, 0.95rem) 0;
}

.what-i-do-cell-desc {
  font-family: var(--font-sans);
  font-size: 0.84375rem;
  line-height: 1.58;
  color: #A1A1AA;
  margin: 0;
}

/* Desktop 3 columns */
@media (min-width: 960px) {
  .what-i-do-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .what-i-do-cell {
    border-bottom: none;
    border-right: 1px solid var(--border-hairline);
  }

  /* Cells in row 1 get a bottom border */
  .what-i-do-cell:nth-child(-n+3) {
    border-bottom: 1px solid var(--border-hairline);
  }

  /* Remove right border on the 3rd column */
  .what-i-do-cell:nth-child(3n) {
    border-right: none;
  }
}

/* Tablet 2 columns */
@media (min-width: 640px) and (max-width: 959px) {
  .what-i-do-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .what-i-do-cell {
    border-bottom: 1px solid var(--border-hairline);
  }

  .what-i-do-cell:nth-child(odd) {
    border-right: 1px solid var(--border-hairline);
  }

  .what-i-do-cell:nth-child(even) {
    border-right: none;
  }

  .what-i-do-cell:nth-last-child(-n+2) {
    border-bottom: none;
  }
}

/* Hiring CTA Card */
.hiring-cta-section {
  padding: clamp(3.5rem, 6vw, 5.5rem) 0;
}

.hiring-cta-card {
  background: var(--bg-card);
  border: 1px solid var(--border-hairline);
  border-radius: 16px;
  padding: clamp(2rem, 4vw, 3.25rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.hiring-cta-card:hover {
  border-color: rgba(196, 181, 253, 0.3);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45), 0 0 24px rgba(196, 181, 253, 0.08);
}

.hiring-cta-content {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  max-width: 620px;
}

.hiring-cta-heading {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 400;
  letter-spacing: -0.02em;
  color: var(--text-main);
  line-height: 1.2;
}

.hiring-cta-text {
  font-family: var(--font-sans);
  font-size: clamp(0.9375rem, 1.2vw, 1.0625rem);
  color: var(--text-muted);
  line-height: 1.55;
}

.hiring-cta-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .hiring-cta-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.75rem;
  }
}

/* CTA Row Underneath */
.what-i-do-cta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: clamp(2rem, 3.2vw, 2.75rem) clamp(0.5rem, 1.5vw, 1.25rem);
  border-bottom: 1px solid var(--border-hairline);
}

.what-i-do-cta-text {
  font-family: var(--font-serif);
  font-size: clamp(1.4rem, 2.4vw, 1.75rem);
  font-weight: 400;
  color: #F1F5F9;
  letter-spacing: -0.015em;
  line-height: 1.3;
}

.what-i-do-cta-accent {
  color: #ADA7F9;
}

.what-i-do-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #FFFFFF;
  color: #0E0F12;
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 500;
  padding: 0.75rem 1.625rem;
  border-radius: 9999px;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.25s cubic-bezier(0.16, 1, 0.3, 1),
              background-color 0.2s ease;
  min-height: 44px;
}

.what-i-do-cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255, 255, 255, 0.25);
  background: #FAFAFA;
}

.what-i-do-cta-btn:active {
  transform: scale(0.98);
}

@media (max-width: 639px) {
  .what-i-do-cta-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.25rem;
    padding: 1.75rem 0.5rem;
  }
}

/* 3.7 TOOLS (Horizontal Left-to-Right Workflow) */
.tools-section {
  padding: clamp(4rem, 7vw, 6.5rem) 0;
  border-bottom: 1px solid var(--border-hairline);
  position: relative;
  background-color: #0b0c10;
  background-image: 
    radial-gradient(1px 1px at 8% 28%, rgba(196, 181, 253, 0.45) 50%, transparent 100%),
    radial-gradient(1.5px 1.5px at 18% 72%, rgba(196, 181, 253, 0.4) 50%, transparent 100%),
    radial-gradient(1px 1px at 32% 16%, rgba(255, 255, 255, 0.5) 50%, transparent 100%),
    radial-gradient(1.5px 1.5px at 48% 85%, rgba(196, 181, 253, 0.5) 50%, transparent 100%),
    radial-gradient(1px 1px at 64% 12%, rgba(255, 255, 255, 0.45) 50%, transparent 100%),
    radial-gradient(1.5px 1.5px at 78% 65%, rgba(196, 181, 253, 0.4) 50%, transparent 100%),
    radial-gradient(1px 1px at 88% 30%, rgba(255, 255, 255, 0.4) 50%, transparent 100%),
    radial-gradient(1.5px 1.5px at 94% 82%, rgba(196, 181, 253, 0.35) 50%, transparent 100%),
    radial-gradient(1px 1px at 42% 44%, rgba(196, 181, 253, 0.3) 50%, transparent 100%),
    radial-gradient(1px 1px at 58% 68%, rgba(255, 255, 255, 0.35) 50%, transparent 100%);
}

.section-label-tiny {
  font-family: var(--font-sans);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--accent-lavender);
  font-weight: 700;
  margin-bottom: var(--s-2);
}

.section-heading,
.section-title-serif {
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 4vw, 3.2rem);
  font-weight: 400;
  color: #FFFFFF;
  letter-spacing: -0.015em;
  line-height: 1.15;
  margin: 0;
}

/* Horizontal Left-to-Right Moving Carousel of Tool Pills */
.tools-carousel-wrapper {
  position: relative;
  width: 100%;
  overflow: hidden;
  margin-top: clamp(2rem, 3.5vw, 3rem);
  padding: 14px 0 18px;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 7%, black 93%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, black 7%, black 93%, transparent 100%);
}

.tools-carousel-track {
  display: flex;
  align-items: center;
  width: max-content;
  will-change: transform;
  animation: tools-carousel-ltr 45s linear infinite;
}

@keyframes tools-carousel-ltr {
  0% {
    transform: translateX(-50%);
  }
  100% {
    transform: translateX(0);
  }
}

.tools-carousel-wrapper:hover .tools-carousel-track,
.tools-carousel-wrapper:focus-within .tools-carousel-track {
  animation-play-state: paused;
}

.tools-carousel-group {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-right: 12px;
  flex-shrink: 0;
}

/* Category cluster: Category badge + its tool pills */
.tool-category-cluster {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

/* Inline category label / badge */
.tool-category-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 38px;
  min-height: 38px;
  padding: 0 16px 0 10px;
  border-radius: 9999px;
  background: rgba(196, 181, 253, 0.08);
  border: 1px solid rgba(196, 181, 253, 0.32);
  color: var(--accent-lavender, #C4B5FD);
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  user-select: none;
  white-space: nowrap;
  flex-shrink: 0;
  box-shadow: 0 0 14px -3px rgba(196, 181, 253, 0.16);
  margin-right: 2px;
  transition: all 200ms ease;
}

.tool-category-badge:hover {
  background: rgba(196, 181, 253, 0.13);
  border-color: rgba(196, 181, 253, 0.5);
  box-shadow: 0 0 18px -2px rgba(196, 181, 253, 0.28);
}

.tool-category-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 9999px;
  background: rgba(196, 181, 253, 0.22);
  color: #FFFFFF;
  font-family: var(--font-sans);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1;
}

.tool-category-title {
  display: inline-block;
  line-height: 1;
}

/* Cluster separator dot */
.tool-cluster-separator {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgba(196, 181, 253, 0.35);
  font-size: 14px;
  line-height: 1;
  padding: 0 10px;
  user-select: none;
  flex-shrink: 0;
}

/* Rounded tool pills */
.tool-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 38px;
  min-height: 38px;
  padding: 0 16px 0 13px;
  border-radius: 9999px;
  background: #14171D;
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #E2E5F0;
  font-family: var(--font-sans);
  font-size: 13.5px !important;
  font-weight: 500;
  user-select: none;
  white-space: nowrap;
  flex-shrink: 0;
  transition: all 200ms cubic-bezier(0.16, 1, 0.3, 1);
}

.tool-icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  display: inline-block;
  vertical-align: middle;
  transition: transform 200ms ease;
}

.tool-pill:hover {
  background: #1C1F28;
  border-color: var(--accent-lavender);
  color: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px -4px rgba(0, 0, 0, 0.5), 0 0 14px -2px rgba(196, 181, 253, 0.28);
}

.tool-pill:hover .tool-icon {
  transform: scale(1.12);
}

@media (max-width: 600px) {
  .tools-carousel-wrapper {
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 6%, black 94%, transparent 100%);
    mask-image: linear-gradient(to right, transparent 0%, black 6%, black 94%, transparent 100%);
    padding: 10px 0 14px;
  }
  .tool-category-badge {
    height: 34px;
    min-height: 34px;
    font-size: 11px;
    padding: 0 12px 0 8px;
  }
  .tool-category-num {
    width: 20px;
    height: 20px;
    font-size: 10px;
  }
  .tool-pill {
    height: 34px;
    min-height: 34px;
    padding: 0 12px 0 10px;
    font-size: 12.5px !important;
    gap: 7px;
  }
  .tool-icon {
    width: 14px;
    height: 14px;
  }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
  .tools-carousel-track {
    animation: none !important;
    transform: none !important;
  }
  .tools-carousel-wrapper {
    overflow-x: auto;
    -webkit-mask-image: none;
    mask-image: none;
    padding-bottom: 20px;
  }
}

/* 3.8 TESTIMONIALS (Kind Words) */
.testimonials-section {
  padding-top: clamp(3.5rem, 5.5vw, 5rem);
  padding-bottom: clamp(3rem, 5vw, 4.5rem);
  position: relative;
}

.kind-words-title {
  font-family: var(--font-serif);
  font-size: clamp(2.35rem, 4vw, 3.5rem);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: var(--text-main);
  margin-bottom: clamp(1.5rem, 2.5vw, 2rem);
}

.kind-words-divider {
  width: 100%;
  height: 1px;
  background-color: var(--border-hairline);
  border: none;
}

.kind-words-item {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  padding: clamp(2.75rem, 4.5vw, 4.25rem) 0;
}

@media (min-width: 900px) {
  .kind-words-item {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: clamp(3rem, 6vw, 6rem);
    align-items: start;
  }
}

.kind-words-quote {
  font-family: var(--font-serif);
  font-size: clamp(1.0625rem, 1.35vw, 1.25rem);
  line-height: 1.7;
  color: rgba(243, 243, 246, 0.9);
  font-weight: 400;
  margin: 0;
  max-width: 68ch;
}

.kind-words-author {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  text-align: left;
  flex-shrink: 0;
}

@media (min-width: 900px) {
  .kind-words-author {
    text-align: right;
    min-width: 200px;
    padding-top: 0.35rem;
  }
}

.kind-words-author-name {
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  font-weight: 600;
  color: #FFFFFF;
  line-height: 1.35;
  margin-bottom: 0.15rem;
}

.kind-words-author-role,
.kind-words-author-org {
  font-family: var(--font-sans);
  font-size: 0.8125rem;
  color: var(--text-muted);
  line-height: 1.45;
}

/* 3.9 CONTACT CTA */
.contact-cta-section {
  padding: var(--section-y) 0;
  border-bottom: 1px solid var(--border-hairline);
  text-align: center;
}

.contact-h2 {
  font-family: var(--font-serif);
  font-size: var(--fs-h1);
  color: var(--text-main);
  font-weight: 400;
  margin-bottom: var(--s-3);
}

.contact-sub {
  font-size: var(--fs-body);
  color: var(--text-muted);
  max-width: 52ch;
  margin: 0 auto var(--s-5);
  line-height: var(--lh-body);
}

.contact-cta-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: var(--s-3);
  margin-top: var(--s-4);
}

.copy-email-trigger {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  border: 1px solid var(--border-hairline);
  color: var(--text-muted);
  border-radius: 9999px;
  padding: 0.625rem 1.25rem;
  font-size: var(--fs-small);
  min-height: 44px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.copy-email-trigger:hover {
  color: var(--text-main);
  border-color: var(--accent-lavender);
}

.copy-email-trigger svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  fill: none;
}

/* Toast */
.toast-notice {
  position: fixed;
  bottom: 84px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: #1e2025;
  color: #F3F3F6;
  border: 1px solid var(--accent-lavender);
  padding: 10px 20px;
  border-radius: 9999px;
  font-size: var(--fs-small);
  font-weight: 600;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
  opacity: 0;
  visibility: hidden;
  transition: all 200ms ease;
  z-index: 9999;
  pointer-events: none;
}

.toast-notice.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

/* 3.10 MOBILE STICKY CTA */
.mobile-sticky-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: calc(64px + env(safe-area-inset-bottom));
  padding-bottom: env(safe-area-inset-bottom);
  background: rgba(18, 20, 23, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid var(--border-hairline);
  z-index: 900;
  transform: translateY(100%);
  transition: transform 200ms ease;
  box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.4);
}

.mobile-sticky-cta-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--s-3);
  height: 64px;
  padding: 0 var(--gutter);
}

.mobile-sticky-btn {
  flex: 1;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  font-size: var(--fs-small);
  font-weight: 600;
  text-decoration: none;
}

@media (max-width: 767px) {
  body.has-sticky-cta {
    padding-bottom: calc(64px + env(safe-area-inset-bottom));
  }
  .mobile-sticky-cta {
    display: block;
  }
  .mobile-sticky-cta.is-visible {
    transform: translateY(0);
  }
  .mobile-sticky-cta.is-hidden,
  body.nav-menu-open .mobile-sticky-cta {
    transform: translateY(100%) !important;
    opacity: 0;
    pointer-events: none;
  }
}

/* =======================================
   WORK PAGE & ABOUT PAGE COMPONENTS
   ======================================= */

/* =======================================
   WORK PAGE COMPONENTS
   ======================================= */

/* Work Header */
.work-header-section {
  padding: clamp(4.5rem, 8vw, 7rem) 0 clamp(3.5rem, 5vw, 5rem);
}

.work-headline {
  font-family: var(--font-serif);
  font-size: clamp(2.35rem, 4.5vw, 3.85rem);
  font-weight: 400;
  line-height: 1.18;
  color: var(--text-main);
  letter-spacing: -0.02em;
  max-width: 900px;
  margin-bottom: 1.5rem;
}

.work-subheading {
  font-size: 1.0625rem;
  color: var(--text-muted);
  max-width: 820px;
  line-height: 1.65;
  margin-bottom: 2.75rem;
}

/* Filter Tabs (Left-aligned) */
.work-filter-tabs {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.65rem;
  margin-bottom: clamp(3rem, 5vw, 4.5rem);
  overflow-x: auto;
  white-space: nowrap;
  flex-wrap: nowrap;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none; /* Firefox */
  padding-bottom: 6px;
  max-width: 100%;
}

.work-filter-tabs::-webkit-scrollbar {
  display: none; /* Chrome, Safari, Edge */
}

.work-filter-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: var(--s-2) var(--s-4);
  background: transparent;
  border: 1px solid var(--border-hairline);
  border-radius: 9999px;
  color: var(--text-muted);
  font-size: var(--fs-small);
  font-weight: 500;
  min-height: var(--tap-min);
  cursor: pointer;
  transition: all 0.25s var(--transition-smooth);
  user-select: none;
  flex-shrink: 0;
  outline: none;
}

.work-filter-btn:hover {
  color: var(--text-main);
  border-color: var(--accent-lavender);
  background: var(--bg-card-hover);
  transform: translateY(-1px);
}

.work-filter-btn:focus-visible {
  outline: 2px solid var(--accent-lavender);
  outline-offset: 3px;
  box-shadow: 0 0 0 4px rgba(196, 181, 253, 0.25);
}

.work-filter-btn.active {
  background: var(--accent-lavender);
  color: #121417;
  font-weight: 600;
  border-color: var(--accent-lavender);
  box-shadow: 0 4px 16px var(--accent-lavender-glow);
}

/* Empty State Message */
.filter-empty-state {
  grid-column: 1 / -1;
  text-align: center;
  padding: clamp(3rem, 6vw, 5rem) 1rem;
  color: var(--text-muted);
  font-family: var(--font-serif);
  font-size: clamp(1.2rem, 2.2vw, 1.5rem);
  font-weight: 400;
  font-style: italic;
  letter-spacing: -0.01em;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.filter-empty-state.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* 2-Column Project Grid (Full bleed images, no border radius) */
.work-projects-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(3rem, 5.5vw, 5rem) clamp(2rem, 4vw, 3.5rem);
  margin-bottom: clamp(4rem, 7vw, 6.5rem);
  min-height: 280px;
}

.work-project-card {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
  cursor: pointer;
  text-decoration: none;
  transition: opacity 0.35s ease, transform 0.35s var(--transition-smooth);
}

.work-project-card:hover {
  transform: translateY(-4px);
}

.work-project-image-wrap {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 0;
  background: var(--bg-card);
  border: 1px solid var(--border-hairline);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.45);
  transition: border-color 0.3s ease, box-shadow 0.4s ease;
}

.work-project-image-wrap.aspect-16-10 {
  aspect-ratio: 16 / 10;
}

.work-project-image-wrap.aspect-4-3 {
  aspect-ratio: 4 / 3;
}

.work-project-card:hover .work-project-image-wrap {
  border-color: rgba(196, 181, 253, 0.4);
  box-shadow: 0 20px 52px rgba(0, 0, 0, 0.6), 0 0 24px rgba(196, 181, 253, 0.15);
}

.work-project-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 0;
  transition: transform 0.6s var(--transition-smooth);
}

.work-project-card:hover .work-project-img {
  transform: scale(1.035);
}

/* Single line metadata below each image: title + category (left), year (right) */
.project-meta-line {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
}

.project-title-category {
  display: inline-flex;
  align-items: baseline;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.work-project-title {
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--text-main);
  letter-spacing: -0.01em;
  transition: color 0.25s ease;
}

.work-project-card:hover .work-project-title {
  color: #FFFFFF;
}

.work-project-sep {
  color: var(--text-dim);
  font-size: 0.875rem;
}

.work-project-category {
  font-size: 0.875rem;
  color: var(--text-muted);
  font-weight: 400;
}

.work-project-year {
  font-size: var(--fs-small);
  color: var(--text-dim);
  font-weight: 500;
  letter-spacing: 0.03em;
  white-space: nowrap;
  margin-left: auto;
}

/* =======================================
   ABOUT PAGE COMPONENTS
   ======================================= */

/* About Hero */
.about-hero-section {
  padding: clamp(4.5rem, 8vw, 7rem) 0 clamp(3.5rem, 5vw, 5rem);
}

.about-hero-headline {
  font-family: var(--font-serif);
  font-size: clamp(2.35rem, 4.5vw, 3.85rem);
  font-weight: 400;
  line-height: 1.18;
  color: var(--text-main);
  letter-spacing: -0.02em;
  max-width: 980px;
  margin-bottom: 2rem;
}

.about-hero-text {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  max-width: 860px;
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--text-muted);
  margin-bottom: clamp(3rem, 5vw, 4.5rem);
}

.about-hero-banner {
  width: 100%;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--border-hairline);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  aspect-ratio: 16 / 9;
  max-height: 620px;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.about-hero-banner:hover {
  border-color: rgba(196, 181, 253, 0.35);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.6), 0 0 30px rgba(196, 181, 253, 0.12);
}

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

/* How I Think About Design */
.about-philosophy-section {
  padding: var(--section-pad-y) 0;
  border-top: 1px solid var(--border-hairline);
}

.about-two-col-layout {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(2.5rem, 5vw, 4.5rem);
  align-items: center;
}

.philosophy-paragraphs {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-muted);
  margin-top: 1.75rem;
}

.philosophy-image-card {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border-hairline);
  background: var(--bg-card);
  aspect-ratio: 4 / 3;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
  transition: transform 0.4s var(--transition-smooth), border-color 0.3s ease, box-shadow 0.4s ease;
}

.philosophy-image-card:hover {
  transform: translateY(-4px);
  border-color: rgba(196, 181, 253, 0.35);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.55), 0 0 20px rgba(196, 181, 253, 0.12);
}

.philosophy-image-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s var(--transition-smooth);
}

.philosophy-image-card:hover img {
  transform: scale(1.03);
}

/* Experience & Education 2-Column Row */
.about-experience-section {
  padding: var(--section-pad-y) 0;
  border-top: 1px solid var(--border-hairline);
}

.two-col-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
}

.experience-col-header {
  font-family: var(--font-serif);
  font-size: clamp(1.65rem, 2.5vw, 2rem);
  color: var(--text-main);
  margin-bottom: 1.75rem;
  font-weight: 400;
}

.experience-list {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
}

.experience-row {
  background: var(--bg-card);
  border: 1px solid var(--border-hairline);
  border-radius: 12px;
  padding: 1.25rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  transition: all 0.25s var(--transition-smooth);
}

.experience-row:hover {
  border-color: var(--border-hairline-hover);
  background: var(--bg-card-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.3);
}

.experience-title-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
}

.exp-role {
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--text-main);
}

.exp-duration {
  font-size: var(--fs-small);
  color: var(--accent-lavender);
  font-weight: 500;
  white-space: nowrap;
}

.exp-org {
  font-size: 0.875rem;
  color: var(--text-muted);
}

.exp-org-bold {
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--text-main);
}

.exp-details-row {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  flex-wrap: wrap;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.exp-location {
  font-size: var(--fs-small);
  color: var(--text-dim);
}

.exp-dot-sep {
  color: var(--text-dim);
  font-size: var(--fs-small);
  opacity: 0.5;
}

/* LinkedIn-style nested progression for single company with multiple roles */
.experience-group {
  gap: 0.75rem;
}

.experience-group-top {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding-bottom: 0.65rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.experience-progression-timeline {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  position: relative;
  padding-left: 1.15rem;
  margin-left: 0.35rem;
  border-left: 1px dashed rgba(196, 181, 253, 0.25);
}

.progression-step {
  position: relative;
}

.progression-marker {
  position: absolute;
  left: -1.45rem;
  top: 0.35rem;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent-lavender);
  box-shadow: 0 0 6px var(--accent-lavender-glow);
}

.progression-content {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.exp-duration-sub {
  font-size: var(--fs-small);
  color: var(--text-muted);
  font-weight: 500;
  white-space: nowrap;
}

/* Skills & Tools (2-Column Pill Row) */
.about-skills-tools-section {
  padding: var(--section-pad-y) 0;
  border-top: 1px solid var(--border-hairline);
}

.pills-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  align-items: center;
}

.skill-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 1rem;
  background: var(--bg-card);
  border: 1px solid var(--border-hairline);
  border-radius: 9999px;
  font-size: var(--fs-small);
  font-weight: 500;
  color: var(--text-muted);
  min-height: 38px;
  transition: all 0.25s var(--transition-smooth);
  cursor: default;
  user-select: none;
}

.skill-pill:hover {
  color: var(--text-main);
  border-color: var(--accent-lavender);
  background: var(--bg-card-hover);
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(196, 181, 253, 0.18);
}

/* Beyond Screens */
.about-beyond-section {
  padding: var(--section-pad-y) 0;
  border-top: 1px solid var(--border-hairline);
}

.beyond-header-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(2rem, 5vw, 4rem);
  margin-bottom: clamp(2.5rem, 4.5vw, 3.5rem);
}

.beyond-text-col {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-muted);
}

.beyond-photos-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.photo-card-item {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--border-hairline);
  background: var(--bg-card);
  aspect-ratio: 4 / 3;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
  transition: all 0.35s var(--transition-smooth);
}

.photo-card-item:hover {
  transform: translateY(-4px) scale(1.02);
  border-color: rgba(196, 181, 253, 0.4);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.5), 0 0 20px rgba(196, 181, 253, 0.15);
}

.photo-card-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s var(--transition-smooth);
}

.photo-card-item:hover img {
  transform: scale(1.04);
}

/* Albums On Repeat */
.about-albums-section {
  padding: var(--section-pad-y) 0;
  border-top: 1px solid var(--border-hairline);
}

.albums-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1.25rem;
}

.album-card-item {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border-hairline);
  background: var(--bg-card);
  aspect-ratio: 1 / 1;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
  transition: all 0.35s var(--transition-smooth);
  position: relative;
}

.album-card-item:hover {
  transform: translateY(-4px) scale(1.04);
  border-color: rgba(196, 181, 253, 0.45);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.55), 0 0 20px rgba(196, 181, 253, 0.18);
}

.album-card-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s var(--transition-smooth);
}

.album-card-item:hover img {
  transform: scale(1.04);
}

.album-card-info {
  position: absolute;
  inset: auto 0 0 0;
  padding: 2.25rem 0.75rem 0.65rem 0.75rem;
  background: linear-gradient(to top, rgba(10, 10, 10, 0.95) 0%, rgba(10, 10, 10, 0.72) 48%, rgba(10, 10, 10, 0.25) 80%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  pointer-events: none;
  z-index: 2;
  transition: background 0.35s ease;
}

.album-card-item:hover .album-card-info {
  background: linear-gradient(to top, rgba(10, 10, 10, 0.98) 0%, rgba(10, 10, 10, 0.82) 55%, rgba(10, 10, 10, 0.35) 85%, transparent 100%);
}

.album-card-title {
  font-family: var(--font-sans, 'Plus Jakarta Sans', sans-serif);
  font-size: 0.8125rem;
  font-weight: 600;
  color: #FFFFFF;
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  letter-spacing: -0.01em;
}

.album-card-artist {
  font-family: var(--font-sans, 'Plus Jakarta Sans', sans-serif);
  font-size: 0.6875rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.2;
  margin-top: 0.2rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.album-card-flag {
  font-size: 0.75rem;
  display: inline-block;
  line-height: 1;
}

/* =======================================
   FOOTER / CONTACT SECTION
   ======================================= */
.site-footer {
  padding-top: clamp(4rem, 6.5vw, 6rem);
  padding-bottom: clamp(2.5rem, 4vw, 3.5rem);
  border-top: 1px solid var(--border-hairline);
  position: relative;
  overflow: hidden;
  background-color: var(--bg-color);
}

.footer-contact-block {
  text-align: left;
  margin-bottom: clamp(1.75rem, 3vw, 2.5rem);
}

.footer-eyebrow {
  font-size: var(--fs-small);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--text-muted);
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.email-interactive-wrapper {
  position: relative;
  display: block;
  width: 100%;
  cursor: pointer;
  text-decoration: none;
  container-type: inline-size;
}

.email-display-link {
  font-family: var(--font-serif);
  font-size: clamp(1.2rem, 5.1vw, 4.6rem);
  font-size: clamp(1.15rem, 7.15cqw, 4.6rem);
  color: var(--accent-lavender);
  text-decoration: none;
  font-weight: 400;
  letter-spacing: -0.025em;
  line-height: var(--lh-tight);
  display: inline-flex;
  align-items: center;
  min-height: var(--tap-min);
  white-space: nowrap;
  transition: color 0.3s ease, filter 0.3s ease;
}

.email-interactive-wrapper:hover .email-display-link {
  color: #DDD6FE;
  filter: drop-shadow(0 0 16px rgba(196, 181, 253, 0.45));
}

.email-full-underline {
  width: 100%;
  height: 2px;
  background-color: var(--accent-lavender);
  margin-top: 1.75rem;
  box-shadow: 0 0 10px rgba(196, 181, 253, 0.25);
  transition: all 0.35s var(--transition-smooth);
}

.email-interactive-wrapper:hover .email-full-underline {
  height: 2.5px;
  background-color: #EDE9FE;
  box-shadow: 0 0 22px rgba(196, 181, 253, 0.85);
  animation: underline-pulse 1.8s infinite alternate ease-in-out;
}

@keyframes underline-pulse {
  0% {
    box-shadow: 0 0 12px rgba(196, 181, 253, 0.5);
    filter: brightness(1);
  }
  100% {
    box-shadow: 0 0 28px rgba(196, 181, 253, 1);
    filter: brightness(1.25);
  }
}

/* Custom Hollow Cursor Ring Follower */
.cursor-ring {
  position: fixed;
  top: 0;
  left: 0;
  width: 22px;
  height: 22px;
  border: 1.5px solid rgba(255, 255, 255, 0.32);
  border-radius: 50%;
  pointer-events: none;
  z-index: 99998;
  opacity: 0;
  will-change: transform, opacity;
  transition: width 0.22s cubic-bezier(0.16, 1, 0.3, 1),
              height 0.22s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.22s ease,
              opacity 0.2s ease;
}

.cursor-ring.is-visible {
  opacity: 1;
}

.cursor-ring.is-hovering {
  width: 36px;
  height: 36px;
  border-color: rgba(196, 181, 253, 0.6);
}

@media (hover: none) or (pointer: coarse) {
  .cursor-ring {
    display: none !important;
  }
}

/* Custom Circular White Badge with Diagonal Arrow Following Cursor */
.cursor-arrow-badge {
  position: fixed;
  width: 52px;
  height: 52px;
  background: #FFFFFF;
  color: #121417;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  z-index: 1000;
  opacity: 0;
  transform: translate(-50%, -50%) scale(0);
  transition: opacity 0.22s ease, transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.6), 0 0 20px rgba(255, 255, 255, 0.4);
}

.cursor-arrow-badge.is-active {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.cursor-arrow-badge svg {
  width: 22px;
  height: 22px;
  stroke: #121417;
  stroke-width: 2.5;
  fill: none;
}

/* Footer Bottom Bar */
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.25rem;
  padding-top: 1.5rem;
  font-size: var(--fs-small);
  color: var(--text-muted);
}

@media (min-width: 960px) {
  .footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
  }

  .footer-bottom-left {
    display: inline-flex;
    align-items: center;
  }

  .footer-bottom-right {
    display: inline-flex;
    align-items: center;
  }
}

.footer-bottom-left {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 400;
  color: var(--text-muted);
}

.footer-copyright {
  font-size: var(--fs-small);
  color: var(--text-muted);
  white-space: nowrap;
}

.footer-bottom-center {
  display: inline-flex;
  align-items: center;
}

.footer-nav {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  flex-wrap: wrap;
}

.footer-nav-link {
  color: var(--text-muted);
  text-decoration: none;
  font-size: var(--fs-small);
  transition: color 0.2s ease;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.footer-nav-link:hover {
  color: var(--text-main);
}

.footer-dot-sep {
  color: var(--border-hairline);
  font-size: var(--fs-small);
}

.footer-bottom-right {
  display: flex;
  align-items: center;
}

.footer-links {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  flex-wrap: wrap;
}

.footer-link {
  color: var(--text-muted);
  text-decoration: none;
  font-size: var(--fs-small);
  transition: color 0.2s ease;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.footer-link:hover {
  color: var(--text-main);
}

.live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: #34D399;
  box-shadow: 0 0 8px #34D399;
  display: inline-block;
  animation: live-pulse 2s infinite ease-in-out;
}

@keyframes live-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.85); }
}

.footer-privacy-link {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s ease;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.footer-privacy-link:hover {
  color: var(--text-main);
}

.footer-bottom-right {
  display: flex;
  align-items: center;
}

.footer-socials {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.625rem;
}

.social-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 1.05rem;
  min-height: 44px;
  background: var(--bg-card);
  border: 1px solid var(--border-hairline);
  border-radius: 9999px;
  color: var(--text-muted);
  text-decoration: none;
  font-family: inherit;
  font-size: var(--fs-small);
  font-weight: 500;
  cursor: pointer;
  line-height: 1;
  user-select: none;
  -webkit-user-select: none;
  transition: all 0.25s var(--transition-smooth);
}

.social-pill .social-icon {
  width: 14px;
  height: 14px;
  fill: currentColor;
  flex-shrink: 0;
  transition: transform 0.2s ease, fill 0.2s ease;
}

.social-pill:hover {
  color: var(--text-main);
  border-color: var(--accent-lavender);
  background: var(--bg-card-hover);
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(196, 181, 253, 0.15);
}

.social-pill:focus-visible {
  outline: 2px solid var(--accent-lavender);
  outline-offset: 2px;
}

.social-pill.is-copied {
  border-color: #34D399;
  color: #34D399;
  background: rgba(52, 211, 153, 0.08);
}

.social-pill.is-copied .social-icon {
  fill: #34D399;
}

/* SCROLL REVEAL ANIMATIONS */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s var(--transition-smooth), transform 0.8s var(--transition-smooth);
  will-change: opacity, transform;
}

.reveal-on-scroll.is-revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger delays */
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }

/* =======================================
   RESPONSIVENESS (Mobile, Tablet, Desktop)
   ======================================= */

/* Tablet (768px - 1024px) */
@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .project-item, .project-item.reverse {
    gap: 2.5rem;
  }

  .beyond-photos-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .testimonial-nav-btn.prev-btn {
    left: -2rem;
  }

  .testimonial-nav-btn.next-btn {
    right: -2rem;
  }
}

/* Medium Tablet / Mobile (768px and down) */
@media (max-width: 768px) {

  .two-col-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .about-two-col-layout {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .beyond-header-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .work-grid-container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .project-item, .project-item.reverse {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .project-item.reverse .project-image-col {
    order: 1;
  }
  
  .project-item.reverse .project-text-col {
    order: 2;
  }

  .sharing-grid {
    grid-template-columns: 1fr;
  }
  
  .what-i-do-cta {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.25rem;
  }

  .testimonial-carousel-wrapper {
    padding-bottom: 3.75rem;
  }

  .testimonial-nav-btn {
    top: auto;
    bottom: 0;
    transform: none;
  }

  .testimonial-nav-btn.prev-btn {
    left: calc(50% - 54px);
  }

  .testimonial-nav-btn.next-btn {
    right: calc(50% - 54px);
  }

  .testimonial-nav-btn:hover {
    transform: scale(1.08);
  }

  .testimonial-dots {
    margin-top: 1.25rem;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.25rem;
  }
}

/* Mobile (375px - 480px) */
@media (max-width: 480px) {
  .container {
    padding: 0 1.25rem;
  }

  .brand-name {
    font-size: 0.9375rem;
  }

  .btn-pill-solid {
    padding: 0.5rem 1rem;
    font-size: var(--fs-small);
  }

  .btn-expand-icon {
    font-size: var(--fs-small);
    min-height: 40px;
    padding: 0.3rem 0.35rem 0.3rem 1.15rem;
  }

  .btn-expand-icon:hover {
    padding: 0.3rem 1.15rem 0.3rem 0.35rem;
  }

  .btn-expand-circle {
    width: 28px;
    height: 28px;
  }

  .btn-expand-arrow {
    width: 12px;
    height: 12px;
  }

  .hero-headline,
  .about-hero-headline {
    font-size: 2.1rem;
    line-height: 1.22;
    margin-bottom: 2rem;
  }

  .hero-portrait-wrapper {
    justify-content: center;
    width: 100%;
  }

  .hero-portrait-card {
    width: 200px;
    height: 240px;
  }

  .meta-strip {
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem 0;
  }

  .meta-item:nth-child(odd) {
    padding-right: 0.85rem;
  }

  .meta-item:nth-child(even) {
    padding-left: 0.85rem;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .marquee-group {
    gap: 0.65rem;
    padding-right: 0.65rem;
  }

  .company-logo-item, .tool-chip {
    font-size: var(--fs-small);
    padding: 0.45rem 0.85rem;
    min-height: 36px;
  }

  .beyond-photos-grid {
    grid-template-columns: 1fr;
  }

  .albums-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-contact-block {
    margin-bottom: 1.5rem;
  }

  .footer-socials {
    width: 100%;
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .photo-card-item {
    flex: 0 0 240px;
  }
}

/* ==========================================================================
   Custom Lavender Cursor Trail Effect
   ========================================================================== */
.cursor-trail-container {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 99999;
  overflow: hidden;
  user-select: none;
}

.cursor-trail-dot {
  position: absolute;
  top: 0;
  left: 0;
  border-radius: 50%;
  pointer-events: none;
  will-change: transform, opacity;
  transition: opacity 0.22s ease;
}

@media (prefers-reduced-motion: reduce) {
  .cursor-trail-container {
    display: none !important;
  }
}

/* ==========================================================================
   BEFORE TWO — UX CASE STUDY STYLES
   ========================================================================== */
.case-study-page {
  background-color: var(--bg-color);
  color: var(--text-main);
}

/* Case Study Hero */
.cs-hero-section {
  padding-top: clamp(6.5rem, 10vw, 8.5rem);
  padding-bottom: clamp(3rem, 5vw, 4.5rem);
  position: relative;
}

.cs-breadcrumb {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.cs-back-btn {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  color: var(--text-muted);
  text-decoration: none;
  font-size: var(--fs-small);
  font-weight: 500;
  min-height: var(--tap-min);
  padding: var(--s-2) var(--s-3);
  transition: color 0.2s ease, transform 0.2s ease;
}

.cs-back-btn:hover {
  color: var(--accent-lavender);
  transform: translateX(-3px);
}

.cs-tag-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.85rem;
  background: rgba(196, 181, 253, 0.1);
  border: 1px solid rgba(196, 181, 253, 0.25);
  border-radius: 999px;
  font-size: var(--fs-small);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-lavender);
}

.cs-brand-eyebrow {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
  flex-wrap: wrap;
}

.cs-app-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: #2563eb;
  color: #ffffff;
  font-weight: 800;
  font-size: 0.95rem;
}

.cs-app-name {
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--text-main);
  letter-spacing: -0.01em;
}

.cs-sep {
  color: var(--text-dim);
}

.cs-roles-pill {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.cs-headline {
  font-family: var(--font-serif);
  font-size: clamp(2.75rem, 6vw, 4.5rem);
  line-height: 1.05;
  font-weight: 400;
  color: var(--text-main);
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
}

.cs-headline em {
  font-style: italic;
  color: #60a5fa;
}

.cs-subheading {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  line-height: 1.6;
  color: var(--text-muted);
  max-width: 820px;
  margin-bottom: 2.5rem;
}

.cs-meta-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  padding: 1.75rem;
  background: var(--bg-card);
  border: 1px solid var(--border-hairline);
  border-radius: 16px;
  margin-bottom: 3rem;
}

.cs-meta-item {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.cs-meta-label {
  font-size: var(--fs-small);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.cs-meta-val {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-main);
}

.cs-hero-banner {
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--border-hairline);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6);
  background: #090d16;
}

.cs-hero-img {
  width: 100%;
  height: auto;
  display: block;
}

/* Sticky TOC */
.cs-sticky-toc {
  position: sticky;
  top: 72px;
  z-index: 50;
  background: rgba(18, 20, 23, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid var(--border-hairline);
  border-bottom: 1px solid var(--border-hairline);
  padding: var(--s-2) 0;
  margin-bottom: var(--s-6);
  width: 100%;
  max-width: 100vw;
  overflow-x: clip;
}

.cs-toc-track {
  display: flex;
  align-items: center;
  gap: var(--s-3);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  max-width: 100%;
  width: 100%;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: var(--s-1) 0;
}

.cs-toc-track::-webkit-scrollbar {
  display: none;
}

.cs-toc-link {
  color: var(--text-muted);
  text-decoration: none;
  font-size: var(--fs-small);
  font-weight: 600;
  white-space: nowrap;
  padding: var(--s-2) var(--s-4);
  border-radius: 999px;
  min-height: var(--tap-min);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.cs-toc-link:hover {
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.06);
}

.cs-toc-link.active {
  color: #ffffff;
  background: #2563eb;
}

/* Sections */
.cs-section {
  padding: clamp(3.5rem, 6vw, 5.5rem) 0;
  border-bottom: 1px solid var(--border-light);
}

.cs-section-alt {
  background: rgba(255, 255, 255, 0.012);
}

.cs-section-header {
  margin-bottom: 2.5rem;
}

.cs-section-num {
  font-size: var(--fs-small);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #60a5fa;
  display: block;
  margin-bottom: 0.5rem;
}

.cs-section-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 400;
  color: var(--text-main);
  line-height: 1.15;
}

/* Cards & Grid */
.cs-grid-2col {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.cs-card {
  background: var(--bg-card);
  border: 1px solid var(--border-hairline);
  border-radius: 20px;
  padding: clamp(1.75rem, 3vw, 2.5rem);
  position: relative;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.cs-card:hover {
  border-color: rgba(255, 255, 255, 0.15);
  transform: translateY(-2px);
}

.cs-card-highlight {
  border-color: rgba(239, 68, 68, 0.25);
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.05) 0%, rgba(18, 20, 23, 0.95) 100%);
}

.cs-card-glow {
  border-color: rgba(59, 130, 246, 0.3);
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.06) 0%, rgba(18, 20, 23, 0.95) 100%);
}

.cs-card-badge {
  display: inline-flex;
  padding: 0.25rem 0.65rem;
  border-radius: 6px;
  font-size: var(--fs-small);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 1.25rem;
}

.cs-card-badge.red { background: rgba(239, 68, 68, 0.15); color: #fca5a5; }
.cs-card-badge.blue { background: rgba(59, 130, 246, 0.15); color: #93c5fd; }
.cs-card-badge.purple { background: rgba(168, 85, 247, 0.15); color: #d8b4fe; }
.cs-card-badge.orange { background: rgba(249, 115, 22, 0.15); color: #fdba74; }
.cs-card-badge.cyan { background: rgba(6, 182, 212, 0.15); color: #67e8f9; }

.cs-card-heading {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 1rem;
}

.cs-card-text {
  font-size: 0.98rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 1.5rem;
}

.cs-friction-points {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.cs-friction-item {
  display: flex;
  gap: 0.75rem;
  font-size: 0.92rem;
  color: #e2e8f0;
  line-height: 1.5;
}

.cs-goal-block {
  padding: 1.25rem;
  background: rgba(59, 130, 246, 0.08);
  border-left: 3px solid #3b82f6;
  border-radius: 0 12px 12px 0;
  margin-bottom: 1.5rem;
}

.cs-goal-label {
  font-size: var(--fs-small);
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #60a5fa;
  display: block;
  margin-bottom: 0.25rem;
}

.cs-goal-desc {
  font-size: 0.95rem;
  color: var(--text-main);
  line-height: 1.55;
}

.cs-metrics-box {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-hairline);
  border-radius: 12px;
  padding: 1.25rem;
}

.cs-metrics-title {
  font-size: var(--fs-small);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-dim);
  display: block;
  margin-bottom: 0.75rem;
}

.cs-metrics-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.cs-metrics-list li {
  font-size: 0.88rem;
  color: var(--text-muted);
  padding-left: 1.25rem;
  position: relative;
}

.cs-metrics-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: #3b82f6;
  font-size: 1.2rem;
  line-height: 1;
}

/* Process Grid */
.cs-process-wrapper {
  margin-top: 3.5rem;
  padding: 2.25rem;
  background: var(--bg-card);
  border: 1px solid var(--border-hairline);
  border-radius: 20px;
}

.cs-process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.cs-process-step {
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-hairline);
  border-radius: 14px;
  position: relative;
  transition: transform 0.25s ease;
}

.cs-process-step:hover {
  transform: translateY(-3px);
  border-color: rgba(168, 85, 247, 0.3);
}

.cs-step-num {
  font-size: var(--fs-small);
  font-weight: 800;
  color: #a855f7;
  letter-spacing: 0.08em;
  margin-bottom: 0.5rem;
}

.cs-step-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(168, 85, 247, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.cs-step-icon svg {
  width: 20px;
  height: 20px;
  stroke: #c084fc;
  fill: none;
  stroke-width: 2;
}

.cs-step-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.5rem;
}

.cs-step-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* Challenges Grid */
.cs-challenges-card {
  background: var(--bg-card);
  border: 1px solid var(--border-hairline);
  border-radius: 20px;
  padding: clamp(1.75rem, 3vw, 2.5rem);
  margin-bottom: 3rem;
}

.cs-challenges-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
  margin-top: 1.5rem;
}

.cs-challenge-item {
  display: flex;
  gap: 1rem;
  padding: 1.25rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-hairline);
  border-radius: 12px;
  align-items: flex-start;
}

.cs-challenge-index {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(249, 115, 22, 0.15);
  color: #fb923c;
  font-size: 0.8rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.cs-challenge-item p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Users 3-Role Grid */
.cs-users-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.75rem;
  margin-bottom: 1.5rem;
}

.cs-user-card {
  padding: 2rem;
  border-radius: 18px;
  background: var(--bg-card);
  border: 1px solid var(--border-hairline);
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease;
}

.cs-user-card:hover {
  transform: translateY(-3px);
}

.cs-user-avatar-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
}

.cs-user-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cs-user-icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke-width: 2;
}

.host-theme .cs-user-icon { background: rgba(59, 130, 246, 0.15); }
.host-theme .cs-user-icon svg { stroke: #60a5fa; }
.host-theme .cs-user-tag { background: rgba(59, 130, 246, 0.1); color: #93c5fd; }

.worker-theme .cs-user-icon { background: rgba(168, 85, 247, 0.15); }
.worker-theme .cs-user-icon svg { stroke: #c084fc; }
.worker-theme .cs-user-tag { background: rgba(168, 85, 247, 0.1); color: #d8b4fe; }

.guest-theme .cs-user-icon { background: rgba(16, 185, 129, 0.15); }
.guest-theme .cs-user-icon svg { stroke: #34d399; }
.guest-theme .cs-user-tag { background: rgba(16, 185, 129, 0.1); color: #6ee7b7; }

.cs-user-tag {
  font-size: var(--fs-small);
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 0.3rem 0.65rem;
  border-radius: 6px;
}

.cs-user-name {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.75rem;
}

.cs-user-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.cs-user-key-need {
  padding: 0.85rem 1rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-hairline);
  border-radius: 10px;
  font-size: var(--fs-small);
  color: #f1f5f9;
  font-style: italic;
}

.cs-note-text {
  font-size: var(--fs-small);
  color: var(--text-dim);
  text-align: center;
  margin-bottom: 3.5rem;
}

/* Quantitative Stats Row */
.cs-quant-wrapper {
  background: var(--bg-card);
  border: 1px solid var(--border-hairline);
  border-radius: 20px;
  padding: clamp(2rem, 4vw, 3rem);
}

.cs-stats-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.cs-stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.cs-stat-circle {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: conic-gradient(#3b82f6 calc(var(--percent) * 1%), rgba(255, 255, 255, 0.06) 0);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  margin-bottom: 1rem;
  box-shadow: 0 0 20px rgba(59, 130, 246, 0.2);
}

.cs-stat-circle::after {
  content: "";
  position: absolute;
  inset: 8px;
  border-radius: 50%;
  background: var(--bg-color);
}

.cs-stat-val {
  position: relative;
  z-index: 2;
  font-size: 1.45rem;
  font-weight: 800;
  color: #ffffff;
}

.cs-stat-caption {
  font-size: var(--fs-small);
  color: var(--text-muted);
  line-height: 1.5;
}

/* Matrix Table */
.cs-features-matrix {
  background: var(--bg-card);
  border: 1px solid var(--border-hairline);
  border-radius: 20px;
  padding: clamp(1.75rem, 3vw, 2.5rem);
}

.cs-matrix-table-wrap {
  overflow-x: auto;
  margin-top: 1.25rem;
}

.cs-matrix-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  min-width: 650px;
}

.cs-matrix-table th {
  padding: 1rem;
  font-size: var(--fs-small);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-dim);
  border-bottom: 1px solid var(--border-hairline);
}

.cs-matrix-table td {
  padding: 1.15rem 1rem;
  font-size: 0.92rem;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border-light);
  line-height: 1.5;
}

.cs-matrix-table td strong {
  color: var(--text-main);
}

.cs-pill-cyan {
  display: inline-block;
  padding: 0.25rem 0.65rem;
  background: rgba(6, 182, 212, 0.15);
  border: 1px solid rgba(6, 182, 212, 0.3);
  color: #67e8f9;
  font-weight: 700;
  font-size: var(--fs-small);
  border-radius: 6px;
  white-space: nowrap;
}

/* Competitor & Pillars */
.cs-comp-block {
  padding: 1.25rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-hairline);
  border-radius: 12px;
}

.cs-comp-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.5rem;
}

.cs-comp-tag {
  font-size: var(--fs-small);
  font-weight: 800;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
}

.cs-comp-tag.default { background: rgba(239, 68, 68, 0.15); color: #fca5a5; }
.cs-comp-tag.category { background: rgba(249, 115, 22, 0.15); color: #fdba74; }

.cs-comp-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.cs-pillar-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.25rem;
  align-items: flex-start;
}

.cs-pillar-icon {
  font-size: 1.4rem;
  line-height: 1;
}

.cs-pillar-body strong {
  display: block;
  font-size: 0.95rem;
  color: var(--text-main);
  margin-bottom: 0.25rem;
}

.cs-pillar-body p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Persona & Maslow Pyramid */
.cs-persona-wrapper {
  background: var(--bg-card);
  border: 1px solid var(--border-hairline);
  border-radius: 20px;
  padding: clamp(1.75rem, 3vw, 2.5rem);
}

.cs-persona-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2.5rem;
  margin-top: 1.5rem;
}

.cs-persona-head {
  display: flex;
  gap: 1rem;
  align-items: center;
  margin-bottom: 1.25rem;
}

.cs-persona-avatar {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: linear-gradient(135deg, #a855f7, #3b82f6);
  color: #ffffff;
  font-size: 1.25rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cs-persona-name {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-main);
}

.cs-persona-role {
  font-size: var(--fs-small);
  color: var(--text-muted);
}

.cs-persona-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.cs-persona-tags span {
  padding: 0.3rem 0.65rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-hairline);
  border-radius: 6px;
  font-size: var(--fs-small);
  color: var(--text-muted);
}

.cs-persona-story p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 0.85rem;
}

.cs-persona-story strong {
  color: #f1f5f9;
}

.cs-maslow-card {
  padding: 1.75rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-hairline);
  border-radius: 16px;
}

.cs-maslow-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 1.5rem;
  text-align: center;
}

.cs-pyramid {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.45rem;
}

.cs-pyramid-tier {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1rem;
  border-radius: 8px;
  text-align: center;
  transition: transform 0.2s ease, filter 0.2s ease;
  cursor: default;
}

.cs-pyramid-tier:hover {
  transform: scale(1.02);
  filter: brightness(1.2);
}

.tier-5 { width: 50%; background: #4c1d95; }
.tier-4 { width: 62%; background: #5b21b6; }
.tier-3 { width: 75%; background: #1e40af; }
.tier-2 { width: 88%; background: #155e75; }
.tier-1 { width: 100%; background: #065f46; }

.cs-tier-label {
  font-size: var(--fs-small);
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #ffffff;
}

.cs-tier-desc {
  font-size: var(--fs-small);
  color: rgba(255, 255, 255, 0.85);
}

/* Journey Grid */
.cs-journey-wrapper {
  background: var(--bg-card);
  border: 1px solid var(--border-hairline);
  border-radius: 20px;
  padding: clamp(1.75rem, 3vw, 2.5rem);
}

.cs-journey-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.cs-journey-col {
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-hairline);
  border-radius: 14px;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.cs-journey-header {
  border-bottom: 1px solid var(--border-hairline);
  padding-bottom: 0.75rem;
  margin-bottom: 0.25rem;
}

.cs-jstep {
  font-size: var(--fs-small);
  font-weight: 800;
  color: #60a5fa;
  letter-spacing: 0.08em;
  display: block;
}

.cs-journey-header h4 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-main);
}

.cs-jrow {
  font-size: var(--fs-small);
  color: var(--text-muted);
  line-height: 1.45;
}

.cs-jrow strong {
  color: #cbd5e1;
}

.cs-jurg-med { color: #facc15 !important; font-weight: 600; }
.cs-jurg-high { color: #f87171 !important; font-weight: 600; }

.cs-j-sol {
  margin-top: auto;
  padding-top: 0.85rem;
  border-top: 1px dashed var(--border-hairline);
  font-size: var(--fs-small);
  color: #93c5fd;
  line-height: 1.45;
}

/* Eisenhower Matrix */
.cs-eisen-wrapper {
  background: var(--bg-card);
  border: 1px solid var(--border-hairline);
  border-radius: 20px;
  padding: clamp(1.75rem, 3vw, 2.5rem);
}

.cs-eisen-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.cs-eisen-quad {
  padding: 1.5rem;
  border-radius: 14px;
  border: 1px solid var(--border-hairline);
}

.quad-do { background: rgba(239, 68, 68, 0.06); border-color: rgba(239, 68, 68, 0.25); }
.quad-plan { background: rgba(59, 130, 246, 0.06); border-color: rgba(59, 130, 246, 0.25); }
.quad-del { background: rgba(249, 115, 22, 0.06); border-color: rgba(249, 115, 22, 0.25); }
.quad-defer { background: rgba(148, 163, 184, 0.04); border-color: rgba(148, 163, 184, 0.15); }

.cs-quad-tag {
  font-size: var(--fs-small);
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.quad-do .cs-quad-tag { color: #f87171; }
.quad-plan .cs-quad-tag { color: #60a5fa; }
.quad-del .cs-quad-tag { color: #fb923c; }
.quad-defer .cs-quad-tag { color: #94a3b8; }

.cs-eisen-quad ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.cs-eisen-quad li {
  font-size: 0.88rem;
  color: var(--text-muted);
  position: relative;
  padding-left: 1.15rem;
}

.cs-eisen-quad li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: inherit;
}

/* 5 Whys & RCA */
.cs-five-why-branch {
  padding: 1.25rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-hairline);
  border-radius: 12px;
}

.cs-why-root-label {
  font-weight: 700;
  color: #fca5a5;
  font-size: 0.95rem;
  margin-bottom: 0.75rem;
}

.cs-why-step {
  font-size: var(--fs-small);
  color: var(--text-muted);
  margin-bottom: 0.35rem;
  padding-left: 0.75rem;
  border-left: 2px solid rgba(255, 255, 255, 0.1);
}

.cs-why-step span {
  color: var(--text-dim);
  font-weight: 600;
}

.cs-why-conclusion {
  margin-top: 0.75rem;
  padding: 0.65rem 0.85rem;
  background: rgba(59, 130, 246, 0.12);
  border-radius: 8px;
  font-size: 0.88rem;
  font-weight: 600;
  color: #93c5fd;
}

.cs-rca-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.cs-rca-item {
  padding: 1rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-hairline);
  border-radius: 10px;
}

.cs-rca-cat {
  font-size: var(--fs-small);
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #c084fc;
  display: block;
  margin-bottom: 0.25rem;
}

.cs-rca-item p {
  font-size: 0.88rem;
  color: var(--text-muted);
}

/* Taskflows */
.cs-taskflow-wrapper {
  background: var(--bg-card);
  border: 1px solid var(--border-hairline);
  border-radius: 20px;
  padding: clamp(1.75rem, 3vw, 2.5rem);
}

.cs-flow-box {
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-hairline);
  border-radius: 14px;
}

.cs-flow-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 1.25rem;
}

.cs-flow-nodes {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-wrap: wrap;
}

.cs-flow-node {
  padding: 0.5rem 0.85rem;
  background: #1e293b;
  border: 1px solid #334155;
  border-radius: 8px;
  font-size: var(--fs-small);
  font-weight: 600;
  color: #e2e8f0;
}

.cs-flow-node.start {
  background: #1e3a8a;
  border-color: #3b82f6;
  color: #bfdbfe;
}

.cs-flow-node.finish {
  background: #064e3b;
  border-color: #10b981;
  color: #a7f3d0;
}

.cs-flow-arrow {
  color: var(--text-dim);
  font-weight: 800;
}

/* Major Screens Anatomy */
.cs-major-screens-section {
  background: var(--bg-card);
  border: 1px solid var(--border-hairline);
  border-radius: 20px;
  padding: clamp(1.75rem, 3vw, 2.5rem);
}

.cs-anatomy-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.75rem;
  margin-top: 1.5rem;
}

.cs-anatomy-card {
  padding: 1.75rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-hairline);
  border-radius: 16px;
}

.cs-anatomy-tag {
  font-size: var(--fs-small);
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #60a5fa;
  margin-bottom: 0.5rem;
}

.cs-anatomy-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 1rem;
}

.cs-anatomy-points {
  padding-left: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.cs-anatomy-points strong {
  color: #f1f5f9;
}

/* High Fidelity Mockup Showcase */
.cs-screens-showcase {
  background: var(--bg-card);
  border: 1px solid var(--border-hairline);
  border-radius: 24px;
  padding: clamp(2rem, 4vw, 3.5rem);
}

.cs-showcase-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.cs-screen-tabs {
  display: flex;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.04);
  padding: 0.35rem;
  border-radius: 999px;
  border: 1px solid var(--border-hairline);
}

.cs-screen-tab-btn {
  padding: 0.55rem 1.15rem;
  border-radius: 999px;
  border: none;
  background: transparent;
  color: var(--text-muted);
  font-size: var(--fs-small);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.cs-screen-tab-btn.active {
  background: #2563eb;
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.4);
}

.cs-screen-pane {
  display: none;
}

.cs-screen-pane.active {
  display: block;
}

.cs-phone-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
}

/* Phone Mockup Frame */
.cs-mockup-frame {
  background: #090d16;
  border: 5px solid #1e293b;
  border-radius: 36px;
  padding: 1rem;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.5);
  display: flex;
  flex-direction: column;
  min-height: 480px;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.cs-mockup-frame:hover {
  transform: translateY(-4px);
  border-color: #3b82f6;
}

.cs-mockup-bar {
  font-size: var(--fs-small);
  font-weight: 700;
  color: #64748b;
  margin-bottom: 0.85rem;
  text-align: left;
}

.cs-mockup-screen {
  background: #0d1322;
  border-radius: 24px;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  flex-grow: 1;
}

.cs-mockup-screen.flex-center {
  align-items: center;
  justify-content: center;
  text-align: center;
}

.cs-mockup-caption {
  font-size: var(--fs-small);
  font-weight: 700;
  text-align: center;
  color: var(--text-dim);
  margin-top: 1rem;
  letter-spacing: 0.04em;
}

/* Mockup UI Elements */
.mockup-header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.mockup-sub {
  font-size: var(--fs-small);
  color: #94a3b8;
}

.mockup-bold-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: #ffffff;
}

.mockup-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #3b82f6;
  color: #ffffff;
  font-weight: 800;
  font-size: var(--fs-small);
  display: flex;
  align-items: center;
  justify-content: center;
}

.mockup-card {
  background: #1e293b;
  border: 1px solid #334155;
  border-radius: 14px;
  padding: 1rem;
}

.mockup-badge {
  font-size: var(--fs-small);
  font-weight: 700;
  color: #94a3b8;
  margin-bottom: 0.25rem;
  display: inline-block;
}

.mockup-badge.red {
  background: #7f1d1d;
  color: #fca5a5;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
}

.mockup-card-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #ffffff;
}

.mockup-card-loc {
  font-size: var(--fs-small);
  color: #64748b;
  margin-bottom: 0.5rem;
}

.mockup-divider {
  height: 1px;
  background: #334155;
  margin: 0.5rem 0;
}

.mockup-time-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
}

.m-lbl { font-size: var(--fs-small); color: #94a3b8; display: block; }
.m-val { font-size: 0.95rem; font-weight: 800; }
.text-cyan { color: #38bdf8; }
.text-green { color: #22c55e; }
.text-red { color: #ef4444; }

.mockup-pbar {
  height: 5px;
  background: #334155;
  border-radius: 3px;
  overflow: hidden;
  margin-top: 0.65rem;
}

.mockup-pbar-fill {
  height: 100%;
  background: #3b82f6;
  border-radius: 3px;
}

.mockup-caption {
  font-size: var(--fs-small);
  color: #64748b;
  margin-top: 0.35rem;
}

.mockup-btn-primary {
  width: 100%;
  padding: 0.75rem;
  background: #2563eb;
  border: none;
  border-radius: 10px;
  color: #ffffff;
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
}

.mockup-btn-secondary {
  width: 100%;
  padding: 0.65rem;
  background: #1e293b;
  border: 1px solid #334155;
  border-radius: 10px;
  color: #e2e8f0;
  font-size: var(--fs-small);
  font-weight: 600;
  cursor: pointer;
}

.mockup-btn-ghost {
  width: 100%;
  padding: 0.5rem;
  background: transparent;
  border: none;
  color: #94a3b8;
  font-size: 0.8rem;
  cursor: pointer;
}

.mockup-btn-danger {
  width: 100%;
  padding: 0.65rem;
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid #ef4444;
  border-radius: 10px;
  color: #fca5a5;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
}

.mockup-dialog-box {
  background: #1e293b;
  border-radius: 16px;
  padding: 1.5rem 1rem;
  width: 100%;
}

.mockup-clock-display {
  font-size: 2rem;
  font-weight: 800;
  color: #38bdf8;
  margin: 0.75rem 0;
}

.mockup-top-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.mockup-step-pill {
  font-size: var(--fs-small);
  font-weight: 700;
  color: #94a3b8;
  background: #1e293b;
  padding: 0.25rem 0.5rem;
  border-radius: 6px;
}

.mockup-critical-badge {
  font-size: var(--fs-small);
  font-weight: 800;
  background: #ef4444;
  color: #ffffff;
  padding: 0.2rem 0.45rem;
  border-radius: 4px;
}

.mockup-success-badge {
  font-size: var(--fs-small);
  font-weight: 800;
  background: #10b981;
  color: #ffffff;
  padding: 0.2rem 0.45rem;
  border-radius: 4px;
}

.mockup-task-focus {
  background: #1e293b;
  border: 1px solid #334155;
  border-radius: 14px;
  padding: 1.25rem;
  text-align: center;
}

.mockup-task-focus.border-red {
  border-color: #ef4444;
}

.mockup-task-icon { font-size: 2rem; margin-bottom: 0.5rem; }
.mockup-task-headline { font-size: 1.05rem; font-weight: 700; color: #ffffff; margin-bottom: 0.5rem; }
.mockup-task-guide { font-size: var(--fs-small); color: #94a3b8; line-height: 1.4; }

.mockup-camera-placeholder {
  background: #020617;
  border: 2px dashed #334155;
  border-radius: 12px;
  padding: 2.5rem 1rem;
  text-align: center;
  margin: 0.5rem 0;
}

.cam-lens { font-size: 2rem; margin-bottom: 0.5rem; }
.cam-guide-text { font-size: var(--fs-small); color: #94a3b8; margin-bottom: 0.75rem; }
.cam-trigger-btn {
  display: inline-block;
  padding: 0.45rem 1rem;
  background: #3b82f6;
  color: #ffffff;
  font-weight: 700;
  font-size: var(--fs-small);
  border-radius: 6px;
}

.photo-preview-box {
  background: #042f2e;
  border: 1px solid #14b8a6;
  border-radius: 12px;
  padding: 2.5rem 1rem;
  text-align: center;
}

.photo-preview-label { font-size: 0.88rem; font-weight: 700; color: #5eead4; }
.photo-timestamp { font-size: var(--fs-small); color: #99f6e4; margin-top: 0.25rem; }

.mockup-category-tiles {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.45rem;
}

.m-cat-tile {
  background: #1e293b;
  border: 1px solid #334155;
  padding: 0.5rem;
  border-radius: 8px;
  font-size: var(--fs-small);
  color: #e2e8f0;
  text-align: center;
  font-weight: 600;
}

.m-cat-tile.active {
  background: #1d4ed8;
  border-color: #3b82f6;
  color: #ffffff;
}

.m-room-select {
  margin: 0.5rem 0;
}

.m-room-select label {
  font-size: var(--fs-small);
  color: #94a3b8;
  display: block;
  margin-bottom: 0.25rem;
}

.m-pill-row {
  display: flex;
  gap: 0.35rem;
}

.m-room-pill {
  font-size: var(--fs-small);
  padding: 0.25rem 0.5rem;
  background: #1e293b;
  border-radius: 4px;
  color: #cbd5e1;
}

.m-room-pill.active {
  background: #3b82f6;
  color: #ffffff;
}

.mockup-done-circle {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #059669;
  color: #ffffff;
  font-size: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.guest-photo-btn {
  background: #1e293b;
  border: 1px dashed #38bdf8;
  padding: 1.25rem;
  border-radius: 10px;
  text-align: center;
  font-size: var(--fs-small);
  color: #38bdf8;
  font-weight: 600;
  cursor: pointer;
}

.guest-urgency-toggle {
  display: flex;
  gap: 0.5rem;
  margin: 0.5rem 0;
}

.m-urg-btn {
  flex: 1;
  padding: 0.5rem;
  border-radius: 6px;
  background: #1e293b;
  font-size: var(--fs-small);
  color: #94a3b8;
  text-align: center;
  font-weight: 600;
}

.m-urg-btn.active {
  background: #dc2626;
  color: #ffffff;
}

.guest-ticket-card {
  background: #1e293b;
  padding: 0.85rem;
  border-radius: 10px;
}

.ticket-header {
  display: flex;
  justify-content: space-between;
  font-size: var(--fs-small);
  color: #38bdf8;
  font-weight: 700;
}

.ticket-room {
  font-size: var(--fs-small);
  color: #ffffff;
  margin-top: 0.25rem;
}

.status-tracker-stepper {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-top: 0.75rem;
}

.step-item {
  display: flex;
  gap: 0.75rem;
  font-size: var(--fs-small);
}

.step-dot {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--fs-small);
  font-weight: 800;
  flex-shrink: 0;
}

.step-item.done .step-dot { background: #10b981; color: #ffffff; }
.step-item.current .step-dot { background: #3b82f6; color: #ffffff; }
.step-item.pending .step-dot { background: #334155; color: #64748b; }
.step-item p { font-size: var(--fs-small); color: #94a3b8; }

.host-alert-box {
  background: #450a0a;
  border: 1px solid #ef4444;
  border-radius: 12px;
  padding: 0.85rem;
}

.host-alert-title { font-size: var(--fs-small); font-weight: 800; color: #fca5a5; }
.host-alert-desc { font-size: var(--fs-small); color: #fecaca; margin: 0.25rem 0 0.5rem; }
.host-alert-cta {
  padding: 0.35rem 0.65rem;
  background: #ef4444;
  border: none;
  border-radius: 6px;
  color: #ffffff;
  font-size: var(--fs-small);
  font-weight: 700;
  cursor: pointer;
}

.host-quiet-row {
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.3);
  padding: 0.65rem;
  border-radius: 8px;
  font-size: var(--fs-small);
  font-weight: 600;
  color: #6ee7b7;
  text-align: center;
}

.inbox-filter-pills {
  display: flex;
  gap: 0.35rem;
}

.inbox-pill {
  font-size: var(--fs-small);
  padding: 0.25rem 0.5rem;
  background: #1e293b;
  border-radius: 4px;
  color: #94a3b8;
}

.inbox-pill.active { background: #3b82f6; color: #ffffff; }

.inbox-card-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.inbox-item {
  background: #1e293b;
  padding: 0.75rem;
  border-radius: 8px;
}

.inbox-item.urgent { border-left: 3px solid #ef4444; }

.inbox-item-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: var(--fs-small);
  color: #ffffff;
}

.inbox-badge {
  font-size: var(--fs-small);
  font-weight: 800;
  padding: 0.15rem 0.4rem;
  border-radius: 3px;
}

.inbox-badge.red { background: #7f1d1d; color: #fca5a5; }
.inbox-badge.yellow { background: #78350f; color: #fde68a; }
.inbox-badge.blue { background: #1e3a8a; color: #bfdbfe; }
.inbox-item-sub { font-size: var(--fs-small); color: #64748b; margin-top: 0.25rem; }

.issue-hero-card {
  background: #1e293b;
  padding: 0.85rem;
  border-radius: 10px;
}

.issue-title { font-size: 0.95rem; font-weight: 700; color: #ffffff; }
.issue-meta { font-size: var(--fs-small); color: #94a3b8; margin: 0.25rem 0 0.5rem; }
.issue-photo-thumb {
  background: #020617;
  padding: 1.5rem 0.5rem;
  border-radius: 8px;
  text-align: center;
  font-size: var(--fs-small);
  color: #38bdf8;
}

.issue-action-grid {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.issue-stepper-mini {
  font-size: var(--fs-small);
  color: #64748b;
  text-align: center;
}

.s-dot.done { color: #10b981; font-weight: 700; }
.s-dot.active { color: #3b82f6; font-weight: 700; }

.timeline-summary-card {
  background: #1e293b;
  padding: 0.75rem;
  border-radius: 8px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 0.35rem;
  text-align: center;
}

.t-row span { font-size: var(--fs-small); color: #94a3b8; display: block; }
.t-row strong { font-size: var(--fs-small); color: #ffffff; }

.room-breakdown-list {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.r-item {
  display: flex;
  justify-content: space-between;
  padding: 0.45rem 0.65rem;
  background: #1e293b;
  border-radius: 6px;
  font-size: var(--fs-small);
  color: #cbd5e1;
}

/* Impact & Learnings */
.cs-impact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.cs-impact-card {
  padding: 2.25rem;
  background: var(--bg-card);
  border: 1px solid var(--border-hairline);
  border-radius: 20px;
  transition: transform 0.25s ease;
}

.cs-impact-card:hover {
  transform: translateY(-3px);
  border-color: rgba(59, 130, 246, 0.3);
}

.cs-impact-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.cs-impact-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.75rem;
}

.cs-impact-card p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.cs-footer-nav {
  margin-top: 4rem;
  padding: 2.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border-hairline);
  border-radius: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.cs-footer-nav-btn {
  text-decoration: none;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.cs-fnav-sub {
  font-size: var(--fs-small);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.cs-fnav-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-main);
  transition: color 0.2s ease;
}

.cs-footer-nav-btn:hover .cs-fnav-title {
  color: var(--accent-lavender);
}

@media (max-width: 768px) {
  .cs-meta-grid {
    grid-template-columns: 1fr;
  }
  
  .cs-showcase-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .cs-screen-tabs {
    width: 100%;
    overflow-x: auto;
  }

  .cs-footer-nav {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ==========================================================================
   COPPER CHOCS CASE STUDY BESPOKE STYLES
   ========================================================================== */

:root {
  --cc-berry: #9A3839;
  --cc-berry-hover: #b64648;
  --cc-blush: #F7D2C6;
  --cc-rose: #ECBEB9;
  --cc-cocoa: #4A2420;
  --cc-ink: #232321;
  --cc-cream: #FAF6F2;
  --cc-gold: #D49B6A;
  --cc-card-bg: rgba(34, 18, 17, 0.75);
  --cc-card-border: rgba(154, 56, 57, 0.28);
}

.cc-case-study {
  background-color: #120909;
}

.cc-case-study .cs-hero-section {
  background: radial-gradient(circle at 85% 20%, rgba(154, 56, 57, 0.15) 0%, transparent 60%),
              radial-gradient(circle at 15% 45%, rgba(247, 210, 198, 0.08) 0%, transparent 50%);
}

.cs-app-pill.cc-pill {
  background: var(--cc-berry);
  color: #ffffff;
  font-weight: 800;
  box-shadow: 0 4px 14px rgba(154, 56, 57, 0.4);
}

.cs-headline em.cc-em {
  color: var(--cc-blush);
  font-style: italic;
  font-family: var(--font-serif);
}

.cs-tag-badge.cc-tag {
  background: rgba(154, 56, 57, 0.15);
  border-color: rgba(154, 56, 57, 0.35);
  color: var(--cc-rose);
}

.cs-toc-link.cc-link:hover {
  color: #ffffff;
  background: rgba(154, 56, 57, 0.25);
}

.cs-toc-link.cc-link.active {
  background: var(--cc-berry);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(154, 56, 57, 0.35);
}

.cs-card-badge.berry {
  background: rgba(154, 56, 57, 0.2);
  color: var(--cc-blush);
  border: 1px solid rgba(154, 56, 57, 0.4);
}

.cs-card-badge.blush {
  background: rgba(247, 210, 198, 0.12);
  color: var(--cc-blush);
  border: 1px solid rgba(247, 210, 198, 0.3);
}

.cs-card-badge.rose {
  background: rgba(236, 190, 185, 0.15);
  color: var(--cc-rose);
  border: 1px solid rgba(236, 190, 185, 0.35);
}

.cs-card-badge.cocoa {
  background: rgba(74, 36, 32, 0.5);
  color: #fce7e4;
  border: 1px solid rgba(154, 56, 57, 0.3);
}

.cs-card-badge.gold {
  background: rgba(212, 155, 106, 0.18);
  color: #f7d9b9;
  border: 1px solid rgba(212, 155, 106, 0.4);
}

.cs-card-cc-glow {
  border-color: var(--cc-card-border);
  background: linear-gradient(135deg, rgba(154, 56, 57, 0.08) 0%, rgba(24, 12, 11, 0.95) 100%);
}

.cs-card-cc-glow:hover {
  border-color: rgba(154, 56, 57, 0.5);
  box-shadow: 0 12px 30px rgba(154, 56, 57, 0.15);
}

/* 4-Pillar Grid */
.cs-pillars-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.cs-pillar-card {
  background: var(--cc-card-bg);
  border: 1px solid var(--cc-card-border);
  border-radius: 16px;
  padding: 1.75rem;
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.cs-pillar-card:hover {
  transform: translateY(-3px);
  border-color: var(--cc-rose);
}

.cs-pillar-num {
  font-size: var(--fs-small);
  font-weight: 800;
  color: var(--cc-rose);
  letter-spacing: 0.08em;
  margin-bottom: 0.6rem;
}

.cs-pillar-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.5rem;
}

.cs-pillar-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* Benchmark Comparison Table */
.cs-table-container {
  overflow-x: auto;
  background: var(--cc-card-bg);
  border: 1px solid var(--cc-card-border);
  border-radius: 16px;
  margin-top: 1.5rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
}

.cs-benchmark-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 680px;
}

.cs-benchmark-table th {
  text-align: left;
  padding: 1.15rem 1.5rem;
  font-size: var(--fs-small);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cc-rose);
  background: rgba(42, 20, 19, 0.9);
  border-bottom: 1px solid var(--cc-card-border);
}

.cs-benchmark-table td {
  padding: 1.15rem 1.5rem;
  font-size: 0.92rem;
  line-height: 1.55;
  color: #e2e8f0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.cs-benchmark-table tr:last-child td {
  border-bottom: none;
}

.cs-benchmark-table tr:hover td {
  background: rgba(154, 56, 57, 0.06);
}

.cs-table-pattern {
  font-weight: 700;
  color: #ffffff;
}

.cs-table-theobroma {
  color: #94a3b8;
}

.cs-table-copperchocs {
  color: var(--cc-blush);
  font-weight: 600;
}

/* Proto-Personas Grid */
.cs-persona-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.75rem;
  margin-top: 2rem;
}

.cs-persona-card {
  background: var(--cc-card-bg);
  border: 1px solid var(--cc-card-border);
  border-radius: 20px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.cs-persona-card:hover {
  transform: translateY(-4px);
  border-color: rgba(154, 56, 57, 0.5);
}

.cs-persona-tag {
  align-self: flex-start;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  font-size: var(--fs-small);
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.cs-persona-tag.customise {
  background: rgba(236, 190, 185, 0.2);
  color: var(--cc-rose);
  border: 1px solid rgba(236, 190, 185, 0.4);
}

.cs-persona-tag.order {
  background: rgba(154, 56, 57, 0.25);
  color: #fca5a5;
  border: 1px solid rgba(154, 56, 57, 0.5);
}

.cs-persona-tag.visit {
  background: rgba(35, 35, 33, 0.8);
  color: var(--cc-blush);
  border: 1px solid rgba(247, 210, 198, 0.3);
}

.cs-persona-name {
  font-size: 1.4rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.25rem;
}

.cs-persona-role {
  font-size: 0.88rem;
  color: var(--text-dim);
  margin-bottom: 1.25rem;
}

.cs-persona-quote {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.15rem;
  line-height: 1.45;
  color: var(--cc-blush);
  margin-bottom: 1.5rem;
  padding-left: 1rem;
  border-left: 3px solid var(--cc-berry);
}

.cs-persona-must-see {
  margin-top: auto;
  padding: 1rem 1.15rem;
  background: rgba(0, 0, 0, 0.25);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  font-size: var(--fs-small);
  color: #cbd5e1;
}

.cs-persona-must-see strong {
  color: #ffffff;
  display: block;
  font-size: var(--fs-small);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 0.25rem;
}

/* IA Paths Grid */
.cs-ia-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.75rem;
  margin-top: 1.5rem;
}

.cs-ia-card {
  background: var(--cc-card-bg);
  border: 1px solid var(--cc-card-border);
  border-radius: 20px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
}

.cs-ia-path-badge {
  font-size: var(--fs-small);
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--cc-rose);
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.cs-ia-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.75rem;
}

.cs-ia-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.cs-ia-cta-pill {
  margin-top: auto;
  align-self: flex-start;
  font-size: var(--fs-small);
  font-weight: 700;
  color: var(--cc-blush);
  background: rgba(154, 56, 57, 0.2);
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(154, 56, 57, 0.35);
}

.cs-sitemap-wrap {
  margin-top: 2.5rem;
  padding: 1.5rem 2rem;
  background: rgba(28, 14, 13, 0.7);
  border: 1px solid var(--cc-card-border);
  border-radius: 16px;
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.cs-sitemap-label {
  font-size: var(--fs-small);
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cc-rose);
}

.cs-sitemap-pills {
  display: flex;
  gap: 0.65rem;
  flex-wrap: wrap;
}

.cs-sitemap-item {
  font-size: var(--fs-small);
  font-weight: 600;
  color: #ffffff;
  padding: 0.3rem 0.8rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

/* Key Design Decisions Cards */
.cs-decisions-stack {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  margin-top: 2rem;
}

.cs-decision-item {
  background: var(--cc-card-bg);
  border: 1px solid var(--cc-card-border);
  border-radius: 20px;
  padding: clamp(1.75rem, 3.5vw, 2.5rem);
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
  position: relative;
  overflow: hidden;
}

@media (min-width: 900px) {
  .cs-decision-item {
    grid-template-columns: 1.15fr 0.85fr;
    align-items: center;
  }
}

.cs-decision-num {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--cc-rose);
  opacity: 0.5;
  margin-bottom: 0.5rem;
}

.cs-decision-heading {
  font-size: clamp(1.4rem, 2.2vw, 1.75rem);
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 1.25rem;
}

.cs-doubt-box {
  padding: 1rem 1.25rem;
  background: rgba(239, 68, 68, 0.1);
  border-left: 3px solid #ef4444;
  border-radius: 0 10px 10px 0;
  margin-bottom: 1.25rem;
}

.cs-doubt-label {
  font-size: var(--fs-small);
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fca5a5;
  display: block;
  margin-bottom: 0.25rem;
}

.cs-doubt-text {
  font-size: 0.95rem;
  font-style: italic;
  color: #ffffff;
}

.cs-decision-content {
  font-size: 0.95rem;
  color: #cbd5e1;
  line-height: 1.65;
  margin-bottom: 1.25rem;
}

.cs-decision-content strong {
  color: var(--cc-blush);
}

.cs-tradeoff-box {
  padding: 1rem 1.25rem;
  background: rgba(212, 155, 106, 0.1);
  border-left: 3px solid var(--cc-gold);
  border-radius: 0 10px 10px 0;
  margin-bottom: 1.25rem;
  font-size: 0.9rem;
  color: #e2e8f0;
  line-height: 1.55;
}

.cs-tradeoff-label {
  font-size: var(--fs-small);
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #f7d9b9;
  display: block;
  margin-bottom: 0.25rem;
}

.cs-law-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: var(--fs-small);
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--cc-rose);
  padding: 0.35rem 0.85rem;
  background: rgba(154, 56, 57, 0.2);
  border: 1px solid rgba(154, 56, 57, 0.4);
  border-radius: 999px;
}

.cs-decision-visual {
  background: rgba(18, 9, 8, 0.8);
  border: 1px solid var(--cc-card-border);
  border-radius: 16px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.cs-vcomp-badge {
  font-size: var(--fs-small);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.25rem 0.65rem;
  border-radius: 6px;
  align-self: flex-start;
}

.cs-vcomp-badge.before {
  background: rgba(239, 68, 68, 0.2);
  color: #fca5a5;
}

.cs-vcomp-badge.after {
  background: rgba(34, 197, 94, 0.2);
  color: #86efac;
}

/* Flow Steps Row */
.cs-flow-steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.25rem;
  margin-top: 2rem;
}

.cs-flow-step-card {
  background: var(--cc-card-bg);
  border: 1px solid var(--cc-card-border);
  border-radius: 16px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease;
}

.cs-flow-step-card:hover {
  transform: translateY(-3px);
  border-color: var(--cc-rose);
}

.cs-flow-step-num {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--cc-berry);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: var(--fs-small);
  margin-bottom: 0.85rem;
}

.cs-flow-step-name {
  font-size: 1.15rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.5rem;
}

.cs-flow-step-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Screen Showcase Visuals */
.cs-screen-hero-card {
  background: var(--cc-card-bg);
  border: 1px solid var(--cc-card-border);
  border-radius: 20px;
  overflow: hidden;
  margin-top: 2rem;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
}

.cs-screen-img {
  width: 100%;
  height: auto;
  display: block;
}

.cs-screen-details-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  padding: 2rem;
  background: rgba(22, 10, 9, 0.95);
  border-top: 1px solid var(--cc-card-border);
}

.cs-screen-detail-item {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.cs-screen-detail-title {
  font-size: 1rem;
  font-weight: 700;
  color: #ffffff;
}

.cs-screen-detail-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Trust Badges Strip */
.cs-trust-badges-strip {
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  padding: 1.75rem 2rem;
  background: rgba(30, 14, 13, 0.7);
  border: 1px solid var(--cc-card-border);
  border-radius: 16px;
  margin-top: 1.75rem;
}

.cs-trust-badge-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.92rem;
  font-weight: 700;
  color: #ffffff;
}

.cs-trust-badge-icon {
  font-size: 1.35rem;
}

/* Color Swatches Grid */
.cs-swatches-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1.25rem;
  margin-top: 1.5rem;
}

.cs-swatch-card {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: var(--cc-card-bg);
}

.cs-swatch-color {
  height: 80px;
  width: 100%;
}

.cs-swatch-info {
  padding: 0.85rem;
}

.cs-swatch-name {
  font-size: 0.9rem;
  font-weight: 700;
  color: #ffffff;
}

.cs-swatch-hex {
  font-family: monospace;
  font-size: 0.8rem;
  color: var(--text-dim);
}

/* AI Workflow 4-Step */
.cs-ai-steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.cs-ai-step-card {
  background: var(--cc-card-bg);
  border: 1px solid var(--cc-card-border);
  border-radius: 16px;
  padding: 1.75rem;
}

.cs-ai-step-header {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.cs-ai-step-num {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--cc-rose);
}

.cs-ai-step-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #ffffff;
}

.cs-ai-step-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* Impact Numbers Grid */
.cs-impact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.cs-impact-stat-card {
  background: linear-gradient(135deg, rgba(154, 56, 57, 0.25) 0%, rgba(35, 17, 16, 0.9) 100%);
  border: 1px solid var(--cc-card-border);
  border-radius: 18px;
  padding: 2rem 1.5rem;
  text-align: center;
}

.cs-impact-stat-num {
  font-size: clamp(2.5rem, 4.5vw, 3.5rem);
  font-weight: 800;
  color: #ffffff;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.cs-impact-stat-label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--cc-blush);
}

/* Reflections and Learnings */
.cs-reflection-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-top: 1.5rem;
}

.cs-reflection-item {
  padding: 1.5rem;
  background: var(--cc-card-bg);
  border: 1px solid var(--cc-card-border);
  border-radius: 14px;
}

.cs-reflection-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.4rem;
}

.cs-reflection-text {
  font-size: 0.92rem;
  color: #cbd5e1;
  line-height: 1.6;
}

.cs-next-item {
  display: flex;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  background: var(--cc-card-bg);
  border: 1px solid var(--cc-card-border);
  border-radius: 14px;
  align-items: flex-start;
}

.cs-next-badge {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(154, 56, 57, 0.3);
  border: 1px solid var(--cc-berry);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: var(--fs-small);
  flex-shrink: 0;
  margin-top: 0.1rem;
}

/* ==========================================================================
   ELIXIR HELPS CASE STUDY BESPOKE STYLES
   ========================================================================== */

:root {
  --eh-deep-teal: #2B7A78;
  --eh-teal: #3AAFA9;
  --eh-mint: #ACE7D8;
  --eh-purple: #9554AF;
  --eh-lavender: #CDB8F8;
  --eh-soft-ground: #E3F5EF;
  --eh-admin-active: #3ABCA7;
  --eh-success: #10B981;
  --eh-warning: #F59E0B;
  --eh-error: #DC2626;
  --eh-surface: #F9FAFB;
  --eh-card-bg: rgba(15, 33, 36, 0.75);
  --eh-card-border: rgba(58, 175, 169, 0.28);
}

.eh-case-study {
  background-color: #081416;
}

.eh-case-study .cs-hero-section {
  background: radial-gradient(circle at 85% 20%, rgba(58, 175, 169, 0.15) 0%, transparent 60%),
              radial-gradient(circle at 15% 45%, rgba(149, 84, 175, 0.1) 0%, transparent 50%);
}

.cs-app-pill.eh-pill {
  background: var(--eh-deep-teal);
  color: #ffffff;
  font-weight: 800;
  box-shadow: 0 4px 14px rgba(43, 122, 120, 0.4);
}

.cs-headline em.eh-em {
  color: var(--eh-lavender);
  font-style: italic;
  font-family: var(--font-serif);
}

.cs-tag-badge.eh-tag {
  background: rgba(58, 175, 169, 0.15);
  border-color: rgba(58, 175, 169, 0.35);
  color: var(--eh-mint);
}

.cs-toc-link.eh-link:hover {
  color: #ffffff;
  background: rgba(58, 175, 169, 0.25);
}

.cs-toc-link.eh-link.active {
  background: var(--eh-deep-teal);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(43, 122, 120, 0.35);
}

.cs-card-badge.teal {
  background: rgba(58, 175, 169, 0.2);
  color: var(--eh-mint);
  border: 1px solid rgba(58, 175, 169, 0.4);
}

.cs-card-badge.mint {
  background: rgba(172, 231, 216, 0.15);
  color: #c7f9ee;
  border: 1px solid rgba(172, 231, 216, 0.3);
}

.cs-card-badge.purple-badge {
  background: rgba(149, 84, 175, 0.2);
  color: var(--eh-lavender);
  border: 1px solid rgba(149, 84, 175, 0.4);
}

.cs-card-badge.lavender {
  background: rgba(205, 184, 248, 0.15);
  color: #dfd2fc;
  border: 1px solid rgba(205, 184, 248, 0.35);
}

.cs-card-eh-glow {
  border-color: var(--eh-card-border);
  background: linear-gradient(135deg, rgba(43, 122, 120, 0.1) 0%, rgba(10, 24, 27, 0.95) 100%);
}

.cs-card-eh-glow:hover {
  border-color: rgba(58, 175, 169, 0.5);
  box-shadow: 0 12px 30px rgba(58, 175, 169, 0.15);
}

/* 3 Audience Portals Matrix */
.cs-portals-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
  gap: 1.75rem;
  margin-top: 2rem;
}

.cs-portal-card {
  background: var(--eh-card-bg);
  border: 1px solid var(--eh-card-border);
  border-radius: 20px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.cs-portal-card:hover {
  transform: translateY(-4px);
  border-color: var(--eh-mint);
}

.cs-portal-target {
  font-size: var(--fs-small);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--eh-mint);
  margin-bottom: 0.5rem;
}

.cs-portal-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.75rem;
}

.cs-portal-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.cs-portal-screens-badge {
  margin-top: auto;
  align-self: flex-start;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--eh-mint);
  background: rgba(58, 175, 169, 0.18);
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(58, 175, 169, 0.35);
}

/* Journey 5-Step Table */
.cs-journey-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.25rem;
  margin-top: 1.5rem;
}

.cs-journey-col {
  background: rgba(10, 26, 29, 0.8);
  border: 1px solid var(--eh-card-border);
  border-radius: 14px;
  padding: 1.5rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.cs-journey-phase {
  font-size: var(--fs-small);
  font-weight: 800;
  color: var(--eh-mint);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 0.5rem;
}

.cs-journey-row-label {
  font-size: var(--fs-small);
  font-weight: 700;
  color: var(--text-dim);
  text-transform: uppercase;
  margin-bottom: 0.2rem;
}

.cs-journey-row-val {
  font-size: 0.88rem;
  color: #e2e8f0;
  line-height: 1.45;
}

/* Admin Iteration Comparison Table */
.cs-iteration-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 680px;
}

.cs-iteration-table th {
  text-align: left;
  padding: 1.15rem 1.5rem;
  font-size: var(--fs-small);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--eh-mint);
  background: rgba(15, 38, 42, 0.95);
  border-bottom: 1px solid var(--eh-card-border);
}

.cs-iteration-table td {
  padding: 1.15rem 1.5rem;
  font-size: 0.92rem;
  line-height: 1.55;
  color: #e2e8f0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.cs-iteration-table tr:hover td {
  background: rgba(58, 175, 169, 0.06);
}

/* QA Mismatch Tags */
.cs-qa-tags-wrap {
  display: flex;
  gap: 0.65rem;
  flex-wrap: wrap;
  margin-top: 1.25rem;
}

.cs-qa-tag {
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.35);
  color: #fca5a5;
}

.cs-qa-tag.resolved {
  background: rgba(16, 185, 129, 0.15);
  border-color: rgba(16, 185, 129, 0.35);
  color: #86efac;
}

/* Two Temperature Swatches */
.cs-palette-split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  margin-top: 1.75rem;
}

.cs-palette-card {
  background: var(--eh-card-bg);
  border: 1px solid var(--eh-card-border);
  border-radius: 18px;
  padding: 1.75rem;
}

.cs-palette-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.5rem;
}

.cs-palette-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 1.25rem;
}/* ==========================================================================
   RAYA AI FITNESS COACH — UX CASE STUDY STYLES
   ========================================================================== */

:root {
  --ry-bg: #0b0c10;
  --ry-surface: #12141c;
  --ry-card-bg: rgba(20, 23, 33, 0.78);
  --ry-card-border: rgba(255, 87, 34, 0.2);
  --ry-card-border-hover: rgba(255, 87, 34, 0.5);
  --ry-orange: #ff5722;
  --ry-orange-glow: rgba(255, 87, 34, 0.35);
  --ry-coral: #ff7043;
  --ry-peach: #ffab91;
  --ry-amber: #ffa726;
  --ry-pill: rgba(255, 87, 34, 0.14);
}

.raya-case-study {
  background-color: var(--ry-bg);
}

.raya-case-study h1,
.raya-case-study h2,
.raya-case-study h3,
.raya-case-study .cs-section-num,
.raya-case-study .cs-brand-eyebrow .cs-app-name {
  font-family: 'Space Grotesk', -apple-system, sans-serif;
}

.ry-em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  color: var(--ry-coral);
  text-shadow: 0 0 24px rgba(255, 87, 34, 0.35);
}

.ry-tag {
  background: var(--ry-pill);
  border-color: rgba(255, 87, 34, 0.4);
  color: #ffccbc;
}

.ry-pill {
  background: #ff5722;
  color: #ffffff;
}

/* Section Numbering & Headers */
.raya-case-study .cs-section-num {
  color: var(--ry-orange);
}

.raya-case-study .cs-section-heading {
  color: #ffffff;
  letter-spacing: -0.02em;
}

/* Objectives Grid */
.ry-goals-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

.ry-goal-card {
  background: var(--ry-card-bg);
  border: 1px solid var(--ry-card-border);
  border-radius: 20px;
  padding: 2.25rem 2rem;
  position: relative;
  transition: all 0.35s var(--transition-smooth);
}

.ry-goal-card:hover {
  transform: translateY(-4px);
  border-color: var(--ry-card-border-hover);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.5), 0 0 25px rgba(255, 87, 34, 0.15);
}

.ry-goal-num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--ry-orange);
  margin-bottom: 0.75rem;
}

.ry-goal-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.65rem;
}

.ry-goal-desc {
  font-size: 0.94rem;
  line-height: 1.65;
  color: var(--text-muted);
}

/* Double Diamond Process Grid */
.ry-process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-top: 2rem;
}

.ry-process-card {
  background: var(--ry-card-bg);
  border: 1px solid var(--ry-card-border);
  border-radius: 18px;
  padding: 1.75rem 1.5rem;
  display: flex;
  flex-direction: column;
  transition: all 0.3s var(--transition-smooth);
}

.ry-process-card:hover {
  border-color: var(--ry-card-border-hover);
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.4);
}

.ry-process-phase {
  font-size: var(--fs-small);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ry-peach);
  margin-bottom: 0.4rem;
}

.ry-process-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.85rem;
}

.ry-process-desc {
  font-size: 0.88rem;
  line-height: 1.6;
  color: var(--text-muted);
}

/* Business Challenges Grid */
.ry-biz-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

.ry-biz-card {
  background: var(--ry-card-bg);
  border: 1px solid var(--border-hairline);
  border-radius: 18px;
  padding: 1.75rem 1.5rem;
  transition: all 0.3s var(--transition-smooth);
}

.ry-biz-card:hover {
  border-color: var(--ry-card-border);
  background: rgba(26, 30, 44, 0.8);
  transform: translateY(-3px);
}

.ry-biz-label {
  font-size: 1.15rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.65rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.ry-biz-label::before {
  content: '';
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ry-orange);
  box-shadow: 0 0 10px var(--ry-orange);
}

.ry-biz-text {
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--text-muted);
}

/* Quantitative Stats Bar */
.ry-stats-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
  margin: 2.5rem 0 1.5rem;
}

.ry-stat-card {
  background: rgba(255, 87, 34, 0.05);
  border: 1px solid rgba(255, 87, 34, 0.2);
  border-radius: 18px;
  padding: 1.5rem 1.25rem;
  text-align: center;
  transition: all 0.3s ease;
}

.ry-stat-card:hover {
  background: rgba(255, 87, 34, 0.1);
  border-color: var(--ry-orange);
  transform: translateY(-2px);
}

.ry-stat-num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--ry-coral);
  line-height: 1.1;
  margin-bottom: 0.5rem;
  text-shadow: 0 0 18px rgba(255, 87, 34, 0.3);
}

.ry-stat-text {
  font-size: var(--fs-small);
  line-height: 1.5;
  color: #d1d5db;
}

.ry-inference-banner {
  background: rgba(255, 87, 34, 0.08);
  border-left: 3px solid var(--ry-orange);
  padding: 1.25rem 1.75rem;
  border-radius: 0 14px 14px 0;
  margin-top: 1.5rem;
  font-size: 0.95rem;
  line-height: 1.65;
  color: #ffccbc;
}

/* User Needs & Features Matrix */
.ry-needs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 2rem;
}

.ry-need-card {
  background: var(--ry-card-bg);
  border: 1px solid var(--ry-card-border);
  border-radius: 18px;
  padding: 1.6rem;
  position: relative;
}

.ry-need-badge {
  display: inline-block;
  font-size: var(--fs-small);
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 0.25rem 0.6rem;
  border-radius: 8px;
  background: rgba(255, 87, 34, 0.2);
  color: var(--ry-peach);
  margin-bottom: 0.75rem;
}

.ry-need-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.5rem;
}

.ry-need-desc {
  font-size: 0.88rem;
  line-height: 1.6;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.ry-need-solution {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 0.85rem;
  font-size: var(--fs-small);
  color: #d1d5db;
  line-height: 1.5;
}

.ry-solution-label {
  color: var(--ry-coral);
  font-weight: 700;
  font-size: var(--fs-small);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: block;
  margin-bottom: 0.25rem;
}

/* Competitor Benchmark Cards */
.ry-comp-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.75rem;
  margin-top: 2rem;
}

.ry-comp-card {
  background: var(--ry-card-bg);
  border: 1px solid var(--border-hairline);
  border-radius: 20px;
  padding: 2rem;
  transition: all 0.3s ease;
}

.ry-comp-card:hover {
  border-color: var(--ry-card-border);
}

.ry-comp-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.ry-comp-section-label {
  font-size: var(--fs-small);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #9ca3af;
  margin-bottom: 0.4rem;
}

.ry-comp-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.25rem;
}

.ry-comp-list li {
  font-size: 0.9rem;
  color: #e5e7eb;
  line-height: 1.6;
  margin-bottom: 0.4rem;
  position: relative;
  padding-left: 1.25rem;
}

.ry-comp-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #34d399;
  font-weight: bold;
}

.ry-comp-gap {
  background: rgba(239, 68, 68, 0.08);
  border: 1px solid rgba(239, 68, 68, 0.25);
  border-radius: 12px;
  padding: 0.9rem 1.15rem;
  font-size: var(--fs-small);
  line-height: 1.55;
  color: #fca5a5;
}

/* Unique Features Grid */
.ry-unique-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.75rem;
  margin-top: 2rem;
}

.ry-unique-card {
  background: var(--ry-card-bg);
  border: 1px solid var(--ry-card-border);
  border-radius: 22px;
  padding: 2.25rem;
  position: relative;
  overflow: hidden;
  transition: all 0.35s var(--transition-smooth);
}

.ry-unique-card:hover {
  transform: translateY(-4px);
  border-color: var(--ry-card-border-hover);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.5), 0 0 28px rgba(255, 87, 34, 0.18);
}

.ry-unique-pill {
  font-size: var(--fs-small);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ry-orange);
  background: rgba(255, 87, 34, 0.15);
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  display: inline-block;
  margin-bottom: 1rem;
}

.ry-unique-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.75rem;
}

.ry-unique-desc {
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--text-muted);
}

/* User Persona + Maslow Pyramid Split */
.ry-persona-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 2rem;
}

.ry-persona-card {
  background: var(--ry-card-bg);
  border: 1px solid var(--ry-card-border);
  border-radius: 22px;
  padding: 2.25rem;
}

.ry-persona-header {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}

.ry-persona-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ff5722, #ff9800);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.4rem;
  font-weight: 800;
  color: #ffffff;
  box-shadow: 0 0 20px rgba(255, 87, 34, 0.4);
}

.ry-persona-name {
  font-size: 1.35rem;
  font-weight: 700;
  color: #ffffff;
}

.ry-persona-sub {
  font-size: 0.88rem;
  color: var(--text-muted);
}

.ry-persona-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.ry-pbadge {
  font-size: var(--fs-small);
  font-weight: 600;
  padding: 0.3rem 0.7rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  color: #e2e8f0;
}

.ry-maslow-container {
  background: var(--ry-card-bg);
  border: 1px solid var(--ry-card-border);
  border-radius: 22px;
  padding: 2.25rem;
  display: flex;
  flex-direction: column;
}

.ry-maslow-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.5rem;
}

.ry-maslow-subtitle {
  font-size: var(--fs-small);
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.ry-maslow-levels {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  flex: 1;
  justify-content: center;
}

.ry-maslow-tier {
  border-radius: 12px;
  padding: 0.85rem 1.15rem;
  transition: all 0.25s ease;
}

.ry-maslow-tier:hover {
  transform: translateX(4px);
}

.tier-5 {
  background: rgba(255, 87, 34, 0.25);
  border: 1px solid rgba(255, 87, 34, 0.5);
  color: #ffffff;
}

.tier-4 {
  background: rgba(255, 112, 67, 0.2);
  border: 1px solid rgba(255, 112, 67, 0.4);
  color: #ffccbc;
}

.tier-3 {
  background: rgba(255, 152, 0, 0.15);
  border: 1px solid rgba(255, 152, 0, 0.35);
  color: #ffe0b2;
}

.tier-2 {
  background: rgba(255, 183, 77, 0.12);
  border: 1px solid rgba(255, 183, 77, 0.28);
  color: #fff3e0;
}

.tier-1 {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #e0e0e0;
}

.ry-maslow-tier-title {
  font-size: var(--fs-small);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.25rem;
}

.ry-maslow-tier-text {
  font-size: var(--fs-small);
  line-height: 1.5;
}

/* Task Mapping Table */
.ry-table-scroll {
  overflow-x: auto;
  border-radius: 20px;
  border: 1px solid var(--ry-card-border);
  background: var(--ry-card-bg);
  margin-top: 2rem;
}

.ry-task-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 820px;
}

.ry-task-table th {
  text-align: left;
  padding: 1.25rem 1.5rem;
  font-size: var(--fs-small);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: rgba(255, 87, 34, 0.12);
  color: var(--ry-peach);
  border-bottom: 1px solid var(--ry-card-border);
}

.ry-task-table td {
  padding: 1.15rem 1.5rem;
  font-size: 0.9rem;
  line-height: 1.55;
  color: #e5e7eb;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  vertical-align: top;
}

.ry-task-table tr:hover td {
  background: rgba(255, 87, 34, 0.04);
}

.ry-task-dim-col {
  font-weight: 700;
  color: var(--ry-coral);
  width: 160px;
}

/* Eisenhower Matrix */
.ry-eisenhower-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 1.5rem;
  margin-top: 2rem;
}

.ry-matrix-card {
  background: var(--ry-card-bg);
  border: 1px solid var(--ry-card-border);
  border-radius: 20px;
  padding: 2rem;
}

.ry-matrix-badge {
  font-size: var(--fs-small);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.3rem 0.75rem;
  border-radius: 8px;
  display: inline-block;
  margin-bottom: 0.75rem;
}

.ry-matrix-badge.do-first {
  background: rgba(255, 87, 34, 0.2);
  color: #ff8a65;
  border: 1px solid rgba(255, 87, 34, 0.4);
}

.ry-matrix-badge.schedule {
  background: rgba(59, 130, 246, 0.15);
  color: #93c5fd;
  border: 1px solid rgba(59, 130, 246, 0.35);
}

.ry-matrix-badge.delegate {
  background: rgba(234, 179, 8, 0.15);
  color: #fde047;
  border: 1px solid rgba(234, 179, 8, 0.35);
}

.ry-matrix-badge.eliminate {
  background: rgba(239, 68, 68, 0.15);
  color: #fca5a5;
  border: 1px solid rgba(239, 68, 68, 0.35);
}

.ry-matrix-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 1rem;
}

.ry-matrix-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.ry-matrix-list li {
  font-size: 0.92rem;
  line-height: 1.6;
  color: #d1d5db;
  padding: 0.4rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.ry-matrix-list li:last-child {
  border-bottom: none;
}

/* 5 Why & RCA Cards */
.ry-why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 2rem;
}

.ry-why-card {
  background: var(--ry-card-bg);
  border: 1px solid var(--ry-card-border);
  border-radius: 20px;
  padding: 2.25rem;
}

.ry-why-problem {
  font-size: 1.25rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.ry-why-step {
  display: flex;
  gap: 1rem;
  margin-bottom: 0.9rem;
  align-items: flex-start;
}

.ry-why-num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: var(--fs-small);
  font-weight: 800;
  color: var(--ry-orange);
  background: rgba(255, 87, 34, 0.12);
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.ry-why-text {
  font-size: 0.92rem;
  line-height: 1.55;
  color: #e5e7eb;
}

.ry-root-pill {
  margin-top: 1.25rem;
  background: rgba(255, 87, 34, 0.15);
  border: 1px solid var(--ry-orange);
  border-radius: 12px;
  padding: 0.9rem 1.25rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: #ffab91;
}

/* RCA Flow Chains */
.ry-rca-chain-card {
  background: var(--ry-card-bg);
  border: 1px solid var(--ry-card-border);
  border-radius: 20px;
  padding: 2rem;
  margin-top: 2rem;
}

.ry-rca-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.ry-rca-item:last-child {
  border-bottom: none;
}

.ry-rca-node {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0.5rem 1rem;
  border-radius: 10px;
  font-size: 0.88rem;
  font-weight: 600;
  color: #ffffff;
}

.ry-rca-node.root-node {
  background: rgba(255, 87, 34, 0.2);
  border-color: var(--ry-orange);
  color: #ffccbc;
}

.ry-rca-arrow {
  color: var(--ry-orange);
  font-weight: bold;
}

/* Taskflow Steps */
.ry-taskflow-wrap {
  background: var(--ry-card-bg);
  border: 1px solid var(--ry-card-border);
  border-radius: 20px;
  padding: 2rem;
  margin-top: 1.5rem;
}

.ry-taskflow-header {
  font-size: 1.15rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 1.25rem;
}

.ry-flow-steps {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

.ry-step-pill {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  padding: 0.55rem 1.15rem;
  font-size: 0.88rem;
  color: #e5e7eb;
  font-weight: 600;
}

.ry-step-pill.highlight {
  background: rgba(255, 87, 34, 0.2);
  border-color: var(--ry-orange);
  color: #ffffff;
  box-shadow: 0 0 16px rgba(255, 87, 34, 0.2);
}

.ry-step-arrow {
  color: var(--ry-coral);
  font-weight: bold;
  font-size: 1.1rem;
}

/* Design System Tokens */
.ry-tokens-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

.ry-token-card {
  background: var(--ry-card-bg);
  border: 1px solid var(--ry-card-border);
  border-radius: 18px;
  padding: 1.75rem 1.5rem;
}

.ry-token-label {
  font-size: var(--fs-small);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ry-peach);
  margin-bottom: 0.5rem;
}

.ry-token-val {
  font-size: 1.1rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.65rem;
}

.ry-token-desc {
  font-size: var(--fs-small);
  line-height: 1.55;
  color: var(--text-muted);
}

/* 12 Interactive App Screens Grid */
.ry-screens-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.75rem;
  margin-top: 2.5rem;
}

.ry-screen-card {
  background: var(--ry-card-bg);
  border: 1px solid var(--ry-card-border);
  border-radius: 24px;
  padding: 1.5rem 1.25rem;
  display: flex;
  flex-direction: column;
  transition: all 0.35s var(--transition-smooth);
  position: relative;
}

.ry-screen-card:hover {
  transform: translateY(-5px);
  border-color: var(--ry-card-border-hover);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6), 0 0 25px rgba(255, 87, 34, 0.18);
}

.ry-screen-badge {
  font-size: var(--fs-small);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ry-orange);
  margin-bottom: 0.4rem;
}

.ry-screen-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 1.15rem;
}

/* Phone Mockup Frame inside Screen Card */
.ry-mini-phone {
  background: #090a0f;
  border: 2px solid #222634;
  border-radius: 20px;
  padding: 1rem 0.9rem;
  min-height: 380px;
  display: flex;
  flex-direction: column;
  position: relative;
  box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.8);
}

.ry-mini-phone-notch {
  width: 50px;
  height: 12px;
  background: #000000;
  border-radius: 6px;
  margin: 0 auto 0.85rem;
}

.ry-mini-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.85rem;
}

.ry-mini-streak {
  font-size: var(--fs-small);
  font-weight: 700;
  background: rgba(255, 87, 34, 0.18);
  border: 1px solid #ff5722;
  color: #ff8a65;
  padding: 0.15rem 0.45rem;
  border-radius: 999px;
}

.ry-mini-card {
  background: #141722;
  border: 1px solid rgba(255, 87, 34, 0.25);
  border-radius: 14px;
  padding: 0.85rem;
  margin-bottom: 0.75rem;
}

.ry-mini-btn {
  background: linear-gradient(135deg, #ff5722, #ff7043);
  color: #ffffff;
  font-size: var(--fs-small);
  font-weight: 700;
  text-align: center;
  padding: 0.55rem;
  border-radius: 10px;
  margin-top: auto;
  box-shadow: 0 4px 14px rgba(255, 87, 34, 0.4);
}

/* Media Queries for Raya Layout */
@media (max-width: 1024px) {
  .ry-goals-grid,
  .ry-biz-grid,
  .ry-needs-grid,
  .ry-tokens-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .ry-process-grid,
  .ry-screens-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .ry-persona-layout,
  .ry-unique-grid,
  .ry-why-grid,
  .ry-eisenhower-grid,
  .ry-comp-grid {
    grid-template-columns: 1fr;
  }
  .ry-stats-row {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 640px) {
  .ry-goals-grid,
  .ry-biz-grid,
  .ry-needs-grid,
  .ry-tokens-grid,
  .ry-process-grid,
  .ry-screens-grid,
  .ry-stats-row {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   TYTHAS CONTROL CENTER — UX CASE STUDY STYLES
   ========================================================================== */

:root {
  --tcc-bg: #090b10;
  --tcc-surface: #111420;
  --tcc-card-bg: rgba(18, 22, 34, 0.78);
  --tcc-card-border: rgba(99, 102, 241, 0.22);
  --tcc-card-border-hover: rgba(99, 102, 241, 0.55);
  --tcc-indigo: #6366f1;
  --tcc-indigo-glow: rgba(99, 102, 241, 0.35);
  --tcc-lavender: #c7d2fe;
  --tcc-purple: #818cf8;
  --tcc-cyan: #06b6d4;
  --tcc-emerald: #10b981;
  --tcc-pill: rgba(99, 102, 241, 0.15);
}

.tcc-case-study {
  background-color: var(--tcc-bg);
}

.tcc-case-study h1,
.tcc-case-study h2,
.tcc-case-study h3,
.tcc-case-study .cs-section-num,
.tcc-case-study .cs-brand-eyebrow .cs-app-name {
  font-family: 'Space Grotesk', -apple-system, sans-serif;
}

.tcc-em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  color: var(--tcc-purple);
  text-shadow: 0 0 24px rgba(99, 102, 241, 0.35);
}

.tcc-tag {
  background: var(--tcc-pill);
  border-color: rgba(99, 102, 241, 0.4);
  color: #c7d2fe;
}

.tcc-pill {
  background: var(--tcc-indigo);
  color: #ffffff;
}

.tcc-case-study .cs-section-num {
  color: var(--tcc-purple);
}

.tcc-case-study .cs-section-heading {
  color: #ffffff;
  letter-spacing: -0.02em;
}

/* Roadmap horizontal track */
.tcc-roadmap-track {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin: 1.75rem 0 2rem;
}

.tcc-roadmap-pill {
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.45rem 0.95rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #d1d5db;
  transition: all 0.25s ease;
}

.tcc-roadmap-pill.shipped {
  background: rgba(16, 185, 129, 0.12);
  border-color: rgba(16, 185, 129, 0.35);
  color: #6ee7b7;
}

.tcc-roadmap-pill.in-progress {
  background: rgba(99, 102, 241, 0.2);
  border-color: var(--tcc-indigo);
  color: #ffffff;
  box-shadow: 0 0 14px rgba(99, 102, 241, 0.3);
}

/* 4 Core Principles / Objectives Grid */
.tcc-objectives-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

.tcc-obj-card {
  background: var(--tcc-card-bg);
  border: 1px solid var(--tcc-card-border);
  border-radius: 20px;
  padding: 2.25rem 2rem;
  transition: all 0.35s var(--transition-smooth);
}

.tcc-obj-card:hover {
  transform: translateY(-4px);
  border-color: var(--tcc-card-border-hover);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.5), 0 0 24px rgba(99, 102, 241, 0.2);
}

.tcc-obj-badge {
  font-size: var(--fs-small);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--tcc-purple);
  margin-bottom: 0.75rem;
}

.tcc-obj-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.65rem;
}

.tcc-obj-desc {
  font-size: 0.92rem;
  line-height: 1.65;
  color: var(--text-muted);
}

/* IA Categories & Modules Flow */
.tcc-ia-section {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 2rem;
}

.tcc-ia-group {
  background: var(--tcc-card-bg);
  border: 1px solid var(--tcc-card-border);
  border-radius: 18px;
  padding: 1.5rem 1.75rem;
}

.tcc-ia-label {
  font-size: var(--fs-small);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--tcc-lavender);
  margin-bottom: 0.85rem;
}

.tcc-ia-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.tcc-ia-pill {
  font-size: var(--fs-small);
  font-weight: 600;
  padding: 0.4rem 0.85rem;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #e2e8f0;
}

/* Connector Architecture Flow Visual */
.tcc-arch-diagram {
  background: var(--tcc-card-bg);
  border: 1px solid var(--tcc-card-border);
  border-radius: 20px;
  padding: 2.25rem;
  margin-top: 2rem;
}

.tcc-arch-flow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin: 1.5rem 0;
}

.tcc-arch-node {
  background: #151a28;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  padding: 1.25rem 1.5rem;
  flex: 1;
  min-width: 170px;
  text-align: center;
}

.tcc-arch-node.highlight-node {
  background: rgba(99, 102, 241, 0.18);
  border-color: var(--tcc-indigo);
  box-shadow: 0 0 20px rgba(99, 102, 241, 0.25);
}

.tcc-arch-node-title {
  font-size: 1rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.35rem;
}

.tcc-arch-node-desc {
  font-size: var(--fs-small);
  color: var(--text-muted);
}

.tcc-arch-arrow {
  color: var(--tcc-purple);
  font-size: 1.4rem;
  font-weight: bold;
}

/* ATS Skills Matrix Section */
.tcc-ats-banner {
  background: rgba(99, 102, 241, 0.08);
  border: 1px solid rgba(99, 102, 241, 0.3);
  border-radius: 20px;
  padding: 2rem;
  margin-top: 2.5rem;
}

.tcc-ats-header {
  font-size: 1.15rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.tcc-ats-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1rem;
}

.tcc-ats-pill {
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.35rem 0.8rem;
  border-radius: 8px;
  background: rgba(99, 102, 241, 0.15);
  border: 1px solid rgba(99, 102, 241, 0.3);
  color: #e0e7ff;
}

/* Media Queries */
@media (max-width: 1024px) {
  .tcc-objectives-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   SOCHÉ UX CASE STUDY (Luxury D2C & B2B Wholesale Spices)
   Refined Spacing System, Brand Assets & Dual-Register Luxury Color Theme
   ========================================================================== */
:root {
  --soche-bg: #12080a;
  --soche-bg-darker: #0b0405;
  --soche-surface: #1a0b10;
  --soche-surface-hover: #261017;
  --soche-card-bg: rgba(28, 12, 17, 0.78);
  --soche-card-border: rgba(212, 175, 55, 0.2);
  --soche-card-border-hover: rgba(212, 175, 55, 0.6);
  --soche-maroon: #39141A;
  --soche-maroon-deep: #220b10;
  --soche-maroon-light: #521d26;
  --soche-maroon-glow: rgba(57, 20, 26, 0.55);
  --soche-cream: #F5F1EA;
  --soche-sand: #ECE3D5;
  --soche-gold: #d4af37;
  --soche-gold-bright: #f0cb54;
  --soche-gold-glow: rgba(212, 175, 55, 0.25);
  --soche-forest: #1A3B2A;
  --soche-forest-surface: rgba(26, 59, 42, 0.5);
  --soche-deep-forest: #10251A;
  --soche-green: #4ade80;
  --soche-mint: #86efac;
  --soche-rose: #f43f5e;
  --soche-pill: rgba(212, 175, 55, 0.14);
}

/* Page Background & Atmosphere */
.soche-case-study {
  background-color: var(--soche-bg);
  background-image: 
    radial-gradient(ellipse 90% 55% at 50% 0%, rgba(57, 20, 26, 0.45) 0%, transparent 70%),
    radial-gradient(ellipse 65% 50% at 95% 35%, rgba(57, 20, 26, 0.22) 0%, transparent 65%),
    radial-gradient(ellipse 65% 50% at 5% 70%, rgba(26, 59, 42, 0.18) 0%, transparent 65%),
    radial-gradient(ellipse 70% 50% at 50% 100%, rgba(57, 20, 26, 0.3) 0%, transparent 70%);
  background-attachment: fixed;
  color: var(--soche-cream);
}

/* Typography Hierarchy */
.soche-case-study h1,
.soche-case-study h2,
.soche-case-study h3,
.soche-case-study .cs-headline,
.soche-case-study .cs-section-heading {
  font-family: 'Newsreader', Georgia, serif;
}

.soche-case-study .cs-headline {
  color: #ffffff;
  line-height: 1.15;
  margin: 1.25rem 0;
  letter-spacing: -0.015em;
}

.soche-case-study .cs-headline em,
.soche-case-study .soche-em {
  font-family: 'Newsreader', Georgia, serif !important;
  font-style: italic !important;
  font-weight: 400 !important;
  color: var(--soche-gold) !important;
  text-shadow: 0 0 25px rgba(212, 175, 55, 0.35);
}

.soche-case-study .cs-subheading {
  max-width: 820px;
  font-size: 1.15rem;
  line-height: 1.75;
  color: rgba(245, 241, 234, 0.85);
  margin-bottom: 2rem;
}

/* Hero Section */
.soche-hero {
  padding-top: clamp(6.5rem, 9vw, 8rem);
  padding-bottom: clamp(3rem, 5vw, 4.5rem);
}

.soche-header-badges {
  display: flex;
  gap: 0.65rem;
  align-items: center;
  flex-wrap: wrap;
}

.soche-tag {
  background: rgba(57, 20, 26, 0.6);
  border: 1px solid rgba(212, 175, 55, 0.3);
  color: #fef08a;
  font-size: var(--fs-small);
  letter-spacing: 0.08em;
  font-weight: 700;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
}

.soche-live-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  padding: var(--s-2) var(--s-4);
  background: rgba(212, 175, 55, 0.12);
  border: 1px solid rgba(212, 175, 55, 0.35);
  border-radius: 999px;
  color: #fef08a;
  text-decoration: none;
  font-size: var(--fs-small);
  font-weight: 600;
  min-height: var(--tap-min);
  transition: all 0.25s ease;
}

.soche-live-badge:hover {
  background: rgba(26, 59, 42, 0.7);
  border-color: #86efac;
  color: #ffffff;
  transform: translateY(-1px);
}

/* Eyebrow & Brand Logo Lockup */
.soche-eyebrow {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-wrap: wrap;
  margin-bottom: 0.75rem;
}

.soche-brand-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.3rem 0.85rem 0.3rem 0.5rem;
  background: linear-gradient(135deg, rgba(57, 20, 26, 0.95), rgba(34, 11, 16, 0.95));
  border: 1px solid var(--soche-gold);
  border-radius: 999px;
  box-shadow: 0 4px 14px rgba(57, 20, 26, 0.5);
}

.soche-emblem-badge {
  width: 20px;
  height: 20px;
  display: block;
}

.soche-brand-text {
  font-family: 'Newsreader', Georgia, serif;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--soche-cream);
}

.soche-tagline-text {
  font-family: 'Newsreader', Georgia, serif;
  font-size: 1.15rem;
  font-style: italic;
  letter-spacing: 0.05em;
  color: var(--soche-sand);
}

.soche-subpill {
  font-size: var(--fs-small);
  color: rgba(245, 241, 234, 0.7);
  letter-spacing: 0.02em;
}

/* Meta Grid */
.soche-meta-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.25rem;
  padding: 1.5rem 1.75rem;
  background: var(--soche-card-bg);
  border: 1px solid var(--soche-card-border);
  border-radius: 16px;
  backdrop-filter: blur(12px);
  margin-top: 2rem;
}

.soche-case-study .cs-meta-label {
  font-size: var(--fs-small);
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--soche-gold);
  text-transform: uppercase;
  margin-bottom: 0.35rem;
  display: block;
}

.soche-case-study .cs-meta-val {
  font-size: 0.92rem;
  color: var(--soche-cream);
  line-height: 1.45;
}

/* Hero Visual Showcase Card */
.soche-hero-card {
  margin-top: 3rem;
  border: 1px solid var(--soche-card-border);
  background: #0d0507;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.75), 0 0 45px rgba(57, 20, 26, 0.35);
  transition: border-color 0.3s ease;
}

.soche-hero-card:hover {
  border-color: var(--soche-card-border-hover);
}

.soche-card-topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.85rem 1.5rem;
  background: rgba(34, 11, 16, 0.85);
  border-bottom: 1px solid rgba(212, 175, 55, 0.15);
  flex-wrap: wrap;
  gap: 0.75rem;
}

.soche-topbar-left {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.soche-topbar-logo {
  height: 20px;
  width: auto;
  display: block;
}

.soche-topbar-caption {
  font-size: var(--fs-small);
  color: rgba(245, 241, 234, 0.75);
  font-weight: 500;
  letter-spacing: 0.02em;
}

.soche-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: var(--fs-small);
  font-weight: 600;
  color: #86efac;
  background: rgba(26, 59, 42, 0.5);
  border: 1px solid rgba(74, 222, 128, 0.35);
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
}

.soche-status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 8px #4ade80;
}

.soche-hero-img {
  width: 100%;
  height: auto;
  display: block;
}

/* ATS Skills Matrix Banner */
.soche-ats-banner {
  background: linear-gradient(135deg, rgba(57, 20, 26, 0.35) 0%, rgba(26, 12, 16, 0.6) 100%);
  border: 1px solid rgba(212, 175, 55, 0.32);
  border-radius: 18px;
  padding: 1.75rem 2rem;
  margin-top: 3rem;
  margin-bottom: 0;
  backdrop-filter: blur(12px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.soche-ats-header {
  font-size: 1.1rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.4rem;
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.soche-ats-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}

.soche-ats-pill {
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.35rem 0.8rem;
  border-radius: 8px;
  background: rgba(212, 175, 55, 0.1);
  border: 1px solid rgba(212, 175, 55, 0.25);
  color: #fef08a;
  transition: all 0.2s ease;
}

.soche-ats-pill:hover {
  background: rgba(212, 175, 55, 0.2);
  border-color: var(--soche-gold);
  transform: translateY(-1px);
}

/* ==========================================================================
   REAL SCREENSHOT BROWSER MOCKUP FRAMES
   ========================================================================== */
.soche-browser-mockup {
  margin: 2.25rem 0;
  border: 1px solid var(--soche-card-border);
  background: #0f0709;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.7), 0 0 35px rgba(57, 20, 26, 0.25);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.soche-browser-mockup:hover {
  border-color: var(--soche-card-border-hover);
  box-shadow: 0 30px 75px rgba(0, 0, 0, 0.8), 0 0 45px rgba(212, 175, 55, 0.15);
  transform: translateY(-2px);
}

.soche-browser-mockup.emerald-register {
  border-color: rgba(74, 222, 128, 0.25);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.7), 0 0 35px rgba(26, 59, 42, 0.4);
}

.soche-browser-mockup.emerald-register:hover {
  border-color: rgba(74, 222, 128, 0.45);
  box-shadow: 0 30px 75px rgba(0, 0, 0, 0.8), 0 0 45px rgba(74, 222, 128, 0.2);
}

.soche-browser-chrome {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1.25rem;
  background: rgba(28, 10, 14, 0.95);
  border-bottom: 1px solid rgba(212, 175, 55, 0.15);
  gap: 1rem;
}

.soche-browser-mockup.emerald-register .soche-browser-chrome {
  background: rgba(14, 32, 23, 0.95);
  border-bottom-color: rgba(74, 222, 128, 0.2);
}

.soche-browser-dots {
  display: flex;
  gap: 6px;
  align-items: center;
  flex-shrink: 0;
}

.soche-browser-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: block;
}

.soche-browser-dot.red { background: #ff5f56; }
.soche-browser-dot.yellow { background: #ffbd2e; }
.soche-browser-dot.green { background: #27c93f; }

.soche-browser-address-bar {
  flex: 1;
  max-width: 540px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 6px;
  padding: 0.3rem 0.85rem;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: var(--fs-small);
  color: rgba(245, 241, 234, 0.8);
  text-decoration: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.soche-browser-badge {
  font-size: var(--fs-small);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.2rem 0.65rem;
  border-radius: 999px;
  flex-shrink: 0;
  background: rgba(212, 175, 55, 0.12);
  color: var(--soche-gold);
  border: 1px solid rgba(212, 175, 55, 0.3);
}

.soche-browser-mockup.emerald-register .soche-browser-badge {
  background: rgba(74, 222, 128, 0.15);
  color: #86efac;
  border-color: rgba(74, 222, 128, 0.35);
}

.soche-browser-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.soche-browser-caption {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  padding: 0.85rem 1.4rem;
  background: rgba(18, 8, 10, 0.95);
  border-top: 1px solid rgba(212, 175, 55, 0.1);
  font-size: var(--fs-small);
  color: rgba(245, 241, 234, 0.75);
}

.soche-browser-mockup.emerald-register .soche-browser-caption {
  background: rgba(10, 24, 17, 0.95);
  border-top-color: rgba(74, 222, 128, 0.15);
  color: rgba(187, 247, 208, 0.85);
}

.soche-mockup-grid-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin: 2rem 0;
}

@media (max-width: 900px) {
  .soche-mockup-grid-2col {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   STICKY TABLE OF CONTENTS NAVIGATION
   ========================================================================== */
.soche-sticky-toc {
  position: sticky;
  top: 72px;
  z-index: 50;
  background: rgba(18, 8, 10, 0.92);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-top: 1px solid rgba(212, 175, 55, 0.18);
  border-bottom: 1px solid rgba(212, 175, 55, 0.18);
  padding: 0.75rem 0;
  margin-top: 0;
  margin-bottom: 0;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
}

.soche-sticky-toc .cs-toc-track {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 0.25rem 0;
}

.soche-sticky-toc .cs-toc-track::-webkit-scrollbar {
  display: none;
}

.soche-toc-link {
  color: rgba(245, 241, 234, 0.65);
  text-decoration: none;
  font-size: var(--fs-small);
  font-weight: 600;
  white-space: nowrap;
  padding: 0.45rem 1rem;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: all 0.22s ease;
}

.soche-toc-link:hover {
  color: var(--soche-cream);
  background: rgba(212, 175, 55, 0.12);
  border-color: rgba(212, 175, 55, 0.3);
}

.soche-toc-link.active {
  color: #ffffff;
  background: var(--soche-maroon);
  border-color: var(--soche-gold);
  box-shadow: 0 3px 12px rgba(57, 20, 26, 0.6);
}

/* ==========================================================================
   CONSISTENT SECTION SPACING & VERTICAL RHYTHM
   ========================================================================== */
.soche-section {
  padding: clamp(3.75rem, 6.5vw, 5.5rem) 0;
  border-bottom: 1px solid rgba(212, 175, 55, 0.12);
  position: relative;
}

.soche-section-alt {
  background: rgba(57, 20, 26, 0.16);
}

.soche-section .cs-section-header {
  margin-bottom: 2.25rem;
}

.soche-section .cs-section-num {
  font-family: 'Plus Jakarta Sans', sans-serif;
  color: var(--soche-gold);
  font-weight: 700;
  letter-spacing: 0.16em;
  font-size: var(--fs-small);
  text-transform: uppercase;
  display: block;
  margin-bottom: 0.45rem;
}

.soche-section .cs-section-heading {
  font-family: 'Newsreader', Georgia, serif;
  font-size: clamp(2.1rem, 4.2vw, 3rem);
  font-weight: 400;
  line-height: 1.16;
  color: #ffffff;
  letter-spacing: -0.015em;
  margin: 0;
}

.soche-prose {
  max-width: 860px;
}

.soche-prose p {
  font-size: 1.05rem;
  line-height: 1.75;
  color: rgba(245, 241, 234, 0.85);
  margin-bottom: 1.35rem;
}

.soche-prose p:last-child {
  margin-bottom: 0;
}

.soche-prose strong {
  color: #ffffff;
}

.soche-prose ul,
.soche-prose ol {
  font-size: 1.02rem;
  line-height: 1.72;
  color: rgba(245, 241, 234, 0.82);
  margin: 1.5rem 0;
  padding-left: 1.75rem;
}

.soche-prose li {
  margin-bottom: 0.75rem;
}

.soche-prose li:last-child {
  margin-bottom: 0;
}

.soche-subheading-lead {
  font-size: 1.4rem;
  color: #ffffff;
  font-family: 'Newsreader', Georgia, serif;
  margin-top: 2.5rem;
  margin-bottom: 0.75rem;
  font-weight: 400;
}

/* Quote Box */
.soche-quote-box {
  background: linear-gradient(135deg, rgba(57, 20, 26, 0.45) 0%, rgba(28, 12, 16, 0.6) 100%);
  border-left: 3px solid var(--soche-gold);
  border-radius: 0 12px 12px 0;
  padding: 1.5rem 1.85rem;
  font-style: italic;
  font-size: 1.08rem;
  line-height: 1.72;
  color: var(--soche-cream);
  margin: 1.5rem 0 2rem;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* Two Front Doors Architecture (Dual Register) */
.soche-dual-register {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 2rem;
}

.soche-register-card {
  border-radius: 18px;
  padding: 2rem;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  position: relative;
}

.soche-register-card:hover {
  transform: translateY(-2px);
}

.soche-register-retail {
  background: linear-gradient(145deg, rgba(57, 20, 26, 0.85), rgba(28, 12, 16, 0.95));
  border: 1px solid rgba(244, 63, 94, 0.35);
  box-shadow: 0 12px 35px rgba(57, 20, 26, 0.3);
}

.soche-register-retail:hover {
  border-color: rgba(244, 63, 94, 0.6);
  box-shadow: 0 16px 45px rgba(57, 20, 26, 0.45);
}

.soche-register-wholesale {
  background: linear-gradient(145deg, rgba(26, 59, 42, 0.85), rgba(16, 37, 26, 0.95));
  border: 1px solid rgba(74, 222, 128, 0.35);
  box-shadow: 0 12px 35px rgba(26, 59, 42, 0.3);
}

.soche-register-wholesale:hover {
  border-color: rgba(74, 222, 128, 0.65);
  box-shadow: 0 16px 45px rgba(26, 59, 42, 0.45);
}

.soche-register-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: var(--fs-small);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  margin-bottom: 1.15rem;
}

.soche-badge-retail {
  background: rgba(244, 63, 94, 0.2);
  color: #fecdd3;
  border: 1px solid rgba(244, 63, 94, 0.45);
}

.soche-badge-wholesale {
  background: rgba(74, 222, 128, 0.2);
  color: #86efac;
  border: 1px solid rgba(74, 222, 128, 0.45);
}

/* Proto-Personas Grid */
.soche-personas-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

.soche-persona-card {
  background: var(--soche-card-bg);
  border: 1px solid var(--soche-card-border);
  border-radius: 18px;
  padding: 1.85rem;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, border-color 0.25s ease;
  backdrop-filter: blur(12px);
}

.soche-persona-card:hover {
  transform: translateY(-2px);
  border-color: var(--soche-card-border-hover);
}

.soche-persona-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.15rem;
  margin-bottom: 1.15rem;
}

/* 9-Chapter Narrative Grid & Process Grid */
.soche-chapters-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 2rem;
}

.soche-chapter-item {
  background: var(--soche-card-bg);
  border: 1px solid var(--soche-card-border);
  border-radius: 14px;
  padding: 1.5rem;
  transition: transform 0.2s ease, border-color 0.2s ease;
  backdrop-filter: blur(8px);
}

.soche-chapter-item:hover {
  transform: translateY(-2px);
  border-color: var(--soche-card-border-hover);
}

.soche-chapter-num {
  font-size: var(--fs-small);
  font-weight: 800;
  color: var(--soche-gold);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 0.45rem;
}

.soche-chapter-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 0.55rem;
}

.soche-chapter-desc {
  font-size: 0.88rem;
  color: rgba(245, 241, 234, 0.75);
  line-height: 1.55;
}

/* Wholesale Iteration 3-Column Progression */
.soche-iterations-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

.soche-iteration-card {
  background: var(--soche-card-bg);
  border: 1px solid var(--soche-card-border);
  border-radius: 16px;
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease;
}

.soche-iteration-card:hover {
  transform: translateY(-2px);
}

.soche-iteration-card.final {
  background: linear-gradient(160deg, rgba(26, 59, 42, 0.85), rgba(16, 37, 26, 0.98));
  border-color: rgba(74, 222, 128, 0.55);
  box-shadow: 0 10px 30px rgba(26, 59, 42, 0.35);
}

/* Responsive Table */
.soche-table-wrap {
  overflow-x: auto;
  margin: 2rem 0;
  border-radius: 16px;
  border: 1px solid var(--soche-card-border);
  background: rgba(22, 10, 14, 0.8);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.soche-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.9rem;
}

.soche-table th {
  background: rgba(57, 20, 26, 0.45);
  padding: 1.1rem 1.35rem;
  font-weight: 700;
  color: var(--soche-gold);
  border-bottom: 1px solid rgba(212, 175, 55, 0.18);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: var(--fs-small);
}

.soche-table td {
  padding: 1.15rem 1.35rem;
  border-bottom: 1px solid rgba(212, 175, 55, 0.08);
  color: rgba(245, 241, 234, 0.88);
  line-height: 1.55;
}

.soche-table tr:last-child td {
  border-bottom: none;
}

/* Laws of UX Grid */
.soche-laws-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 1.25rem;
  margin-top: 2rem;
}

.soche-law-card {
  background: var(--soche-card-bg);
  border: 1px solid var(--soche-card-border);
  border-radius: 16px;
  padding: 1.5rem;
  position: relative;
  transition: transform 0.25s ease, border-color 0.25s ease;
  backdrop-filter: blur(8px);
}

.soche-law-card:hover {
  transform: translateY(-2px);
  border-color: var(--soche-card-border-hover);
}

.soche-law-num {
  position: absolute;
  top: 1.15rem;
  right: 1.25rem;
  font-size: var(--fs-small);
  font-weight: 700;
  color: var(--soche-gold);
  opacity: 0.7;
}

.soche-law-name {
  font-size: 1.1rem;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 0.45rem;
  padding-right: 2rem;
}

.soche-law-theory {
  font-size: var(--fs-small);
  color: rgba(245, 241, 234, 0.65);
  margin-bottom: 0.95rem;
  line-height: 1.45;
}

.soche-law-applied {
  font-size: var(--fs-small);
  background: rgba(57, 20, 26, 0.35);
  padding: 0.75rem 0.95rem;
  border-radius: 8px;
  border-left: 2px solid var(--soche-gold);
  color: #F5F1EA;
  line-height: 1.5;
}

/* ==========================================================================
   BRAND IDENTITY & DESIGN SYSTEM SHOWCASE
   ========================================================================== */
.soche-brand-showcase {
  background: linear-gradient(135deg, rgba(38, 14, 20, 0.9) 0%, rgba(18, 8, 11, 0.95) 100%);
  border: 1px solid var(--soche-card-border);
  border-radius: 20px;
  padding: 2.25rem;
  margin: 2.5rem 0;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.45);
}

.soche-brand-logos-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.soche-logo-card {
  padding: 2.25rem 2rem;
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  border: 1px solid rgba(212, 175, 55, 0.2);
}

.soche-logo-card.dark-maroon {
  background: #39141A;
  box-shadow: 0 10px 25px rgba(57, 20, 26, 0.5);
}

.soche-logo-card.deep-charcoal {
  background: #14080B;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
}

.soche-logo-img {
  height: 48px;
  width: auto;
  margin-bottom: 1rem;
}

.soche-logo-label {
  font-size: var(--fs-small);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--soche-gold);
}

.soche-logo-sub {
  font-size: 0.8rem;
  color: rgba(245, 241, 234, 0.7);
  margin-top: 0.25rem;
}

/* Palette Swatches */
.soche-palette-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin: 2rem 0;
}

.soche-palette-box {
  background: var(--soche-card-bg);
  border: 1px solid var(--soche-card-border);
  border-radius: 16px;
  padding: 1.75rem;
}

.soche-swatches {
  display: flex;
  gap: 0.85rem;
  margin-top: 1.25rem;
  flex-wrap: wrap;
}

.soche-swatch {
  flex: 1;
  min-width: 95px;
  border-radius: 10px;
  padding: 1rem 0.85rem;
  font-size: var(--fs-small);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  height: 95px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

/* Roadmap List in Outcomes */
.soche-roadmap-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin: 2rem 0;
}

.soche-roadmap-item {
  background: var(--soche-card-bg);
  border: 1px solid var(--soche-card-border);
  border-radius: 14px;
  padding: 1.4rem 1.6rem;
  transition: transform 0.2s ease;
}

.soche-roadmap-item:hover {
  transform: translateY(-2px);
  border-color: var(--soche-card-border-hover);
}

/* Responsive Media Queries */
@media (max-width: 1024px) {
  .soche-dual-register,
  .soche-personas-grid,
  .soche-chapters-grid,
  .soche-iterations-grid,
  .soche-palette-grid,
  .soche-roadmap-list,
  .soche-brand-logos-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .soche-section {
    padding: 3rem 0;
  }

  .soche-ats-banner {
    padding: 1.5rem 1.25rem;
  }

  .soche-brand-showcase {
    padding: 1.5rem 1.25rem;
  }
}

/* ==========================================================================
   GLOBAL MOBILE RESPONSIVENESS & SCREEN FIT OPTIMIZATION
   ========================================================================== */
html, body {
  max-width: 100%;
  overflow-x: hidden;
  position: relative;
  -webkit-font-smoothing: antialiased;
}

img, svg, video {
  max-width: 100%;
  height: auto;
}

/* Hide desktop cursor followers on touch devices */
@media (hover: none) or (pointer: coarse) {
  .cursor-arrow-badge,
  .cursor-trail-dot {
    display: none !important;
  }
}

/* Tablet & Mobile Screens (<= 768px) */
@media (max-width: 768px) {
  .container {
    padding: 0 clamp(1rem, 4vw, 1.5rem);
    max-width: 100%;
  }

  /* Responsive Case Study Headlines */
  .cs-headline {
    font-size: clamp(2rem, 7.5vw, 3.2rem) !important;
    line-height: 1.15;
    word-break: break-word;
  }

  .cs-subheading {
    font-size: 1rem !important;
    line-height: 1.65;
  }

  .cs-hero-section {
    padding-top: 5.5rem;
    padding-bottom: 2.5rem;
  }

  .cs-breadcrumb {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }

  .cs-meta-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
    padding: 1.25rem;
  }

  /* Case study content spacing */
  .cs-content-block {
    padding: 2.25rem 0;
  }

  .cs-section-heading {
    font-size: clamp(1.5rem, 5.5vw, 2.2rem) !important;
  }

  /* Grids & Cards full width on mobile */
  .tcc-objectives-grid,
  .tcc-ia-grid,
  .tcc-persona-grid,
  .tcc-challenges-grid,
  .soche-dual-register,
  .soche-personas-grid,
  .soche-chapters-grid,
  .soche-iterations-grid,
  .soche-laws-grid,
  .soche-palette-grid,
  .soche-roadmap-list {
    grid-template-columns: 1fr !important;
  }

  /* Horizontal scrollable tracks on touch */
  .tcc-roadmap-track,
  .soche-swatches,
  .work-filters {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    flex-wrap: nowrap;
    padding-bottom: 0.5rem;
    scrollbar-width: none;
  }

  .tcc-roadmap-track::-webkit-scrollbar,
  .soche-swatches::-webkit-scrollbar,
  .work-filters::-webkit-scrollbar {
    display: none;
  }

  .work-filters {
    justify-content: flex-start;
    gap: 0.5rem;
  }

  .work-filter-btn {
    white-space: nowrap;
    padding: 0.5rem 1rem;
    font-size: var(--fs-small);
  }

  /* Responsive Table & Architecture Diagram Containers */
  .soche-table-wrap,
  .tcc-table-wrap,
  .table-responsive,
  .tcc-arch-flow {
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin: 1.5rem 0;
  }

  /* Project cards & items on mobile */
  .work-projects-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .project-item {
    gap: 1.75rem;
  }

  .project-title {
    font-size: clamp(1.4rem, 5vw, 2rem);
  }

  .cs-footer-navigation {
    padding: 3rem 0 4rem !important;
  }
}

/* Small Mobile Screens (<= 480px) */
@media (max-width: 480px) {
  .container {
    padding: 0 1rem;
  }

  .cs-meta-grid {
    grid-template-columns: 1fr !important;
    gap: 1rem;
  }

  .cs-brand-eyebrow {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.35rem;
  }

  .cs-brand-eyebrow .cs-sep {
    display: none;
  }

  .featured-slide-content {
    padding: 1.25rem 1rem;
  }

  .featured-project-badge {
    font-size: 0.65rem !important;
  }

  .featured-project-title {
    font-size: 1.15rem !important;
  }

  .featured-project-date {
    font-size: 0.75rem !important;
  }

  .btn-pill-solid {
    min-height: 44px;
    padding: 0.6rem 1.25rem;
  }

  .email-display-link {
    font-size: clamp(1.2rem, 5.5vw, 2rem) !important;
    word-break: break-all;
  }
}



.footer-social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: var(--tap-min);
  min-width: var(--tap-min);
  padding: var(--s-2) var(--s-3);
  font-size: var(--fs-small);
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s ease;
}
.footer-social-link:hover {
  color: var(--accent-lavender);
}

/* Shared Responsive Table Wrappers */
.table-responsive,
.soche-table-wrap,
.tcc-table-wrap,
.cs-table-container,
.ry-table-wrap {
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-block: var(--s-5);
}

.table-responsive table,
.soche-table-wrap table,
.tcc-table-wrap table,
.cs-table-container table,
.ry-table-wrap table,
.cs-matrix-table,
.ry-task-table {
  font-size: var(--fs-small);
}

/* Prevent any code, badge, or chip container from extending document width */
pre, code, kbd, samp {
  overflow-wrap: anywhere;
  word-break: break-word;
}



/* ==========================================================================
   PHASE 1 ACCEPTANCE ENFORCEMENT RULES
   ========================================================================== */

/* Universal Typography Floor: no text under 14px anywhere on the site */
small,
.small,
.caption,
.meta-label,
.cs-meta-label,
.cs-meta-value,
.cs-tag-badge,
.cs-roles-pill,
.brand-title,
.featured-project-badge,
.featured-project-date,
.btn-expand-text,
.tcc-roadmap-pill,
.tcc-ats-pill,
.soche-ats-pill,
.soche-logo-sub,
.mockup-btn-ghost,
.mockup-btn-danger,
.cs-swatch-hex,
.cs-qa-tag,
.cs-matrix-tag,
.cs-step-tag,
.cs-arch-tag,
.cs-pill-tag,
.cs-metric-chip,
.cs-challenge-index,
.cs-portal-screens-badge,
.tool-label,
.footer-eyebrow,
.footer-colophon,
.footer-copy,
.footer-bottom,
.social-pill,
.tool-chip,
.exp-duration,
.exp-location,
.exp-duration-sub,
.skill-pill,
.section-label-tiny,
.company-logo-item,
.project-year,
.work-project-year,
.author-role,
.stat-label,
.stat-desc,
.ry-stat-label,
.tcc-stat-label,
.soche-stat-label,
.cs-section-num,
.soche-subpill {
  font-size: var(--fs-small) !important;
}

/* Floor for any inline sub-14px font declarations across mockup frames */
[style*="font-size: 0."],
[style*="font-size:0."],
[style*="font-size: 10px"],
[style*="font-size: 11px"],
[style*="font-size: 12px"],
[style*="font-size: 13px"],
[style*="font-size:10px"],
[style*="font-size:11px"],
[style*="font-size:12px"],
[style*="font-size:13px"] {
  font-size: var(--fs-small) !important;
}

/* Tap target minimum 44px for titles, dots, and footer links */
.project-title a,
.project-item-title a,
.work-project-title a,
.featured-project-title a,
.footer-back-to-top,
.footer-privacy-link {
  min-height: var(--tap-min);
  display: inline-flex;
  align-items: center;
}

/* Accessible Carousel & Testimonial Dots (44x44px Tap Target) */
.dot,
.testimonial-dot {
  width: 44px !important;
  height: 44px !important;
  min-height: var(--tap-min) !important;
  min-width: var(--tap-min) !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 !important;
  background: transparent !important;
  border: none !important;
  cursor: pointer !important;
  position: relative !important;
  outline: none !important;
}

.dot::before,
.testimonial-dot::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 9999px;
  background-color: rgba(255, 255, 255, 0.25);
  transition: all 0.25s var(--transition-smooth);
}

.dot.active::before,
.testimonial-dot.active::before {
  width: 24px;
  background-color: var(--accent-lavender);
  box-shadow: 0 0 8px var(--accent-lavender-glow);
}

.dot:focus-visible::before,
.testimonial-dot:focus-visible::before {
  box-shadow: 0 0 0 2px var(--accent-lavender);
}

/* ==========================================================================
   PHASE 4b: EDITORIAL DARK THEME STYLES (SCOPED TO .case-study)
   ========================================================================== */

/* Self-hosted fonts with font-display: swap */
@font-face {
  font-family: 'Newsreader';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('assets/fonts/newsreader-300.woff2') format('woff2');
}

@font-face {
  font-family: 'Newsreader';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('assets/fonts/newsreader-400.woff2') format('woff2');
}

@font-face {
  font-family: 'Newsreader';
  font-style: italic;
  font-weight: 300;
  font-display: swap;
  src: url('assets/fonts/newsreader-italic-300.woff2') format('woff2');
}

@font-face {
  font-family: 'Newsreader';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('assets/fonts/newsreader-italic-400.woff2') format('woff2');
}

@font-face {
  font-family: 'Instrument Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('assets/fonts/instrument-sans-400.woff2') format('woff2');
}

@font-face {
  font-family: 'Instrument Sans';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('assets/fonts/instrument-sans-500.woff2') format('woff2');
}

/* 4b.1 SCOPED THEME TOKENS */
.case-study {
  --cs-bg: #121417;
  --cs-surface: #1A1D21; /* image mats, cards */
  --cs-line: rgba(253, 253, 253, 0.12);
  --cs-text: #FDFDFD;
  --cs-text-2: rgba(253, 253, 253, 0.85); /* body copy */
  --cs-text-3: rgba(253, 253, 253, 0.65); /* labels, captions (5.6:1 contrast ratio) */
  --cs-accent: #FDFDFD; /* monochrome; links use underline */

  background-color: var(--cs-bg);
  color: var(--cs-text-2);
  font-family: 'Instrument Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

/* 4b.2 CASE STUDY HEADER */
.case-study .site-nav.cs-dark-nav {
  background: rgba(18, 20, 23, 0.85);
  border-bottom: 1px solid var(--cs-line);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.case-study .brand-name {
  color: var(--cs-text);
  font-family: 'Instrument Sans', sans-serif;
  font-weight: 500;
}

.case-study .brand-title {
  color: var(--cs-text-3);
  font-family: 'Instrument Sans', sans-serif;
}

.case-study .nav-link {
  color: var(--cs-text-2);
  font-family: 'Instrument Sans', sans-serif;
}

.case-study .nav-link:hover,
.case-study .nav-link.active {
  color: var(--cs-text);
}

.case-study .nav-contact-btn {
  background: var(--cs-surface);
  color: var(--cs-text);
  border: 1px solid var(--cs-line);
  font-family: 'Instrument Sans', sans-serif;
  font-weight: 500;
}

.case-study .mobile-nav-sheet {
  background: var(--cs-bg);
}

/* 4b.3 READING PROGRESS BAR (1px, --cs-text at 40%) */
.case-study .cs-reading-progress {
  position: fixed;
  top: 56px;
  left: 0;
  width: 100%;
  height: 1px;
  background: transparent;
  z-index: 999;
  pointer-events: none;
}

.case-study .cs-reading-progress-bar {
  height: 100%;
  width: 0%;
  background: rgba(253, 253, 253, 0.4);
  transition: width 0.1s linear;
}

@media (prefers-reduced-motion: reduce) {
  .case-study .cs-reading-progress-bar {
    transition: none;
  }
}

/* 4b.4 MOBILE STICKY TOC PILL & BOTTOM SHEET (<1024px) */
.case-study .cs-sticky-toc-pill-wrap {
  position: sticky;
  top: 57px;
  z-index: 90;
  display: flex;
  justify-content: center;
  padding: 8px var(--gutter);
  pointer-events: none;
}

@media (min-width: 1024px) {
  .case-study .cs-sticky-toc-pill-wrap {
    display: none;
  }
}

.case-study .cs-toc-pill {
  pointer-events: auto;
  min-height: 44px;
  padding: 6px 16px;
  border-radius: 9999px;
  background: var(--cs-surface);
  border: 1px solid var(--cs-line);
  color: var(--cs-text);
  font-family: 'Instrument Sans', sans-serif;
  font-size: 13px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.case-study .cs-toc-pill:hover {
  border-color: rgba(253, 253, 253, 0.3);
}

.case-study .cs-toc-sheet-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.case-study .cs-toc-sheet-backdrop.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.case-study .cs-toc-sheet {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--cs-surface);
  border-top: 1px solid var(--cs-line);
  border-radius: 20px 20px 0 0;
  padding: var(--s-4) var(--gutter) calc(var(--s-7) + env(safe-area-inset-bottom, 0px));
  transform: translateY(100%);
  transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
  box-shadow: 0 -12px 36px rgba(0, 0, 0, 0.6);
}

.case-study .cs-toc-sheet-backdrop.is-open .cs-toc-sheet {
  transform: translateY(0);
}

.case-study .cs-toc-sheet-handle-bar {
  width: 36px;
  height: 4px;
  border-radius: 2px;
  background: var(--cs-line);
  margin: 0 auto var(--s-4);
}

.case-study .cs-toc-sheet-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--s-4);
}

.case-study .cs-toc-sheet-title {
  font-family: 'Instrument Sans', sans-serif;
  font-size: 15px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--cs-text-3);
  margin: 0;
}

.case-study .cs-toc-sheet-close {
  min-width: 44px;
  min-height: 44px;
  background: transparent;
  border: none;
  color: var(--cs-text);
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.case-study .cs-toc-sheet-nav {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.case-study .cs-toc-sheet-link {
  font-family: 'Instrument Sans', sans-serif;
  font-size: 16px;
  font-weight: 400;
  color: var(--cs-text-2);
  text-decoration: none;
  padding: 12px 0;
  border-bottom: 1px solid var(--cs-line);
  min-height: 44px;
  display: flex;
  align-items: center;
}

.case-study .cs-toc-sheet-link:last-child {
  border-bottom: none;
}

/* 4b.5 HERO SECTION */
.case-study .cs-hero {
  padding-top: var(--s-5);
  padding-bottom: var(--s-6);
}

.case-study .cs-breadcrumb {
  margin-bottom: var(--s-3);
}

.case-study .cs-back-btn {
  font-size: 13px;
  font-weight: 500;
  color: var(--cs-text-3);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color 0.2s ease;
  min-height: 44px;
}

.case-study .cs-back-btn:hover {
  color: var(--cs-text);
}

/* Eyebrow: Instrument Sans 12px, uppercase, letter-spacing .18em, --cs-text-3 */
.case-study .cs-hero-eyebrow {
  font-family: 'Instrument Sans', sans-serif;
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--cs-text-3);
  margin-bottom: var(--s-2);
}

/* H1: Newsreader 300, clamp(2.25rem, 1.6rem + 2.8vw, 4rem), line-height 1.1, letter-spacing -0.04em, max-width 18ch */
.case-study .cs-hero-title {
  font-family: 'Newsreader', serif;
  font-weight: 300;
  font-size: clamp(2.25rem, 1.6rem + 2.8vw, 4rem);
  line-height: 1.1;
  letter-spacing: -0.04em;
  max-width: 18ch;
  color: var(--cs-text);
  margin-top: 0;
  margin-bottom: var(--s-3);
}

/* Summary: Instrument Sans 400, 17px, line-height 1.55, --cs-text-2, max-width 62ch */
.case-study .cs-hero-summary {
  font-family: 'Instrument Sans', sans-serif;
  font-weight: 400;
  font-size: 17px;
  line-height: 1.55;
  color: var(--cs-text-2);
  max-width: 62ch;
  margin-top: 0;
  margin-bottom: var(--s-4);
}

/* Meta List <dl>: Mobile 2-column grid, 20px row gap, 1px --cs-line top border */
.case-study .cs-hero-meta {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  row-gap: 20px;
  column-gap: var(--s-4);
  border-top: 1px solid var(--cs-line);
  padding-top: var(--s-4);
  margin-top: 0;
  margin-bottom: var(--s-5);
}

@media (min-width: 1024px) {
  .case-study .cs-hero-meta {
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    justify-content: space-between;
    gap: var(--s-5);
    padding-top: var(--s-5);
    margin-bottom: var(--s-7);
  }
}

.case-study .cs-meta-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

/* Meta label: 11px, uppercase, letter-spacing .12em, --cs-text-3 */
.case-study .cs-meta-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--cs-text-3);
  font-weight: 500;
}

/* Meta value: 15px, --cs-text */
.case-study .cs-meta-value {
  font-size: 15px;
  color: var(--cs-text);
  font-weight: 400;
  margin: 0;
}

/* Hero Image: 16:10, on --cs-surface, radius 8px, mobile edge-to-edge */
.case-study .cs-hero-image-wrap {
  width: calc(100% + (2 * var(--gutter)));
  margin-left: calc(-1 * var(--gutter));
  margin-right: calc(-1 * var(--gutter));
  aspect-ratio: 16 / 10;
  background: var(--cs-surface);
  border-radius: 0;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (min-width: 768px) {
  .case-study .cs-hero-image-wrap {
    width: 100%;
    margin-left: 0;
    margin-right: 0;
    border-radius: 8px;
  }
}

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

/* 4b.6 CHAPTERS LAYOUT (Mobile: 64px between chapters, >=1024px: 12-col grid, 128px) */
.case-study .cs-content-container {
  padding-bottom: 64px;
}

.case-study .cs-chapter {
  padding-top: 64px;
  border-top: 1px solid var(--cs-line);
}

.case-study .cs-chapter:first-of-type {
  border-top: none;
}

@media (min-width: 1024px) {
  .case-study .cs-chapter {
    padding-top: 128px;
  }

  .case-study .cs-chapter-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: var(--gutter);
  }

  .case-study .cs-chapter-aside {
    grid-column: 1 / 5;
  }

  .case-study .cs-chapter-aside .cs-chapter-title {
    position: sticky;
    top: 96px;
  }

  .case-study .cs-chapter-content {
    grid-column: 5 / 12;
  }
}

/* H2: Newsreader 300, clamp(1.75rem, 1.4rem + 1.4vw, 2.75rem), line-height 1.1, letter-spacing -0.02em */
.case-study .cs-chapter-title {
  font-family: 'Newsreader', serif;
  font-weight: 300;
  font-size: clamp(1.75rem, 1.4rem + 1.4vw, 2.75rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--cs-text);
  margin-top: 0;
  margin-bottom: var(--s-5);
}

/* H3: Instrument Sans 500, 18px, --cs-text */
.case-study .cs-section-subtitle {
  font-family: 'Instrument Sans', sans-serif;
  font-weight: 500;
  font-size: 18px;
  color: var(--cs-text);
  margin-top: var(--s-5);
  margin-bottom: var(--s-3);
}

.case-study .cs-section-subtitle:first-child {
  margin-top: 0;
}

/* Body: Instrument Sans 400, 17px, line-height 1.55, --cs-text-2, max-width 62ch */
.case-study .cs-prose p,
.case-study .cs-chapter-content > p {
  font-family: 'Instrument Sans', sans-serif;
  font-weight: 400;
  font-size: 17px;
  line-height: 1.55;
  color: var(--cs-text-2);
  max-width: 62ch;
  margin-top: 0;
  margin-bottom: var(--s-4);
}

/* Links in body: 1px underline at 30% opacity, full opacity on hover */
.case-study .cs-prose a,
.case-study .cs-chapter-content a:not(.cs-hotspot):not(.cs-more-project-card) {
  color: var(--cs-text);
  text-decoration: underline;
  text-decoration-color: rgba(253, 253, 253, 0.3);
  text-underline-offset: 3px;
  transition: text-decoration-color 0.2s ease;
}

.case-study .cs-prose a:hover,
.case-study .cs-chapter-content a:not(.cs-hotspot):not(.cs-more-project-card):hover {
  text-decoration-color: rgba(253, 253, 253, 1);
}

/* Editorial TL;DR Box */
.case-study .cs-tldr-editorial {
  padding: var(--s-4);
  background: var(--cs-surface);
  border-left: 2px solid var(--cs-text);
  border-radius: 0 8px 8px 0;
  margin-bottom: var(--s-6);
}

.case-study .cs-tldr-badge {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cs-text-3);
  display: block;
  margin-bottom: 6px;
}

.case-study .cs-tldr-outcome-text {
  font-size: 16px;
  line-height: 1.5;
  color: var(--cs-text);
  margin: 0;
  font-weight: 500;
}

/* Pull quote */
.case-study .cs-pull-quote {
  margin: var(--s-6) 0;
  padding: 0 0 0 var(--s-5);
  border-left: 2px solid var(--cs-line);
}

.case-study .cs-pull-quote p {
  font-family: 'Newsreader', serif;
  font-style: italic;
  font-size: clamp(1.2rem, 1.1rem + 0.5vw, 1.5rem);
  line-height: 1.4;
  color: var(--cs-text);
  max-width: 56ch;
}

/* 4b.7 ROLE & SCOPE */
.case-study .cs-scope-intro {
  margin-bottom: var(--s-4);
}

.case-study .cs-scope-split {
  display: flex;
  flex-direction: column;
  gap: var(--s-5);
  margin-top: var(--s-4);
  margin-bottom: var(--s-6);
}

@media (min-width: 768px) {
  .case-study .cs-scope-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--s-6);
  }
}

.case-study .cs-scope-col-title {
  font-family: 'Instrument Sans', sans-serif;
  font-size: 15px;
  font-weight: 500;
  color: var(--cs-text);
  margin-top: 0;
  margin-bottom: var(--s-3);
}

.case-study .cs-scope-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.case-study .cs-scope-list li {
  position: relative;
  padding-left: 20px;
  font-size: 15px;
  line-height: 1.5;
  color: var(--cs-text-2);
}

.case-study .cs-scope-list li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--cs-text-3);
}

.case-study .cs-scope-list-muted li {
  color: var(--cs-text-3);
}

/* 4b.8 DECISION BLOCKS (H3 sub-blocks) */
.case-study .cs-decisions-list {
  display: flex;
  flex-direction: column;
  gap: var(--s-8);
  margin-top: var(--s-6);
}

.case-study .cs-decision-subblock {
  padding-top: var(--s-6);
  border-top: 1px solid var(--cs-line);
}

.case-study .cs-decision-subblock:first-child {
  border-top: none;
  padding-top: 0;
}

.case-study .cs-decision-meta-row {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: var(--s-4);
}

.case-study .cs-decision-badge {
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--cs-text-3);
}

.case-study .cs-decision-title {
  font-family: 'Instrument Sans', sans-serif;
  font-size: 20px;
  font-weight: 500;
  color: var(--cs-text);
  margin: 0;
}

.case-study .cs-decision-comparison {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-4);
  margin-bottom: var(--s-5);
}

@media (min-width: 768px) {
  .case-study .cs-decision-comparison {
    grid-template-columns: 1fr 1fr;
    gap: var(--s-5);
  }
}

.case-study .cs-col-subheading {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--cs-text-3);
  font-weight: 500;
  margin: 0 0 6px;
}

.case-study .cs-options-considered p,
.case-study .cs-chosen-decision p {
  font-size: 15px;
  line-height: 1.5;
  color: var(--cs-text-2);
  margin: 0;
}

.case-study .cs-chosen-decision {
  padding-left: var(--s-4);
  border-left: 2px solid var(--cs-text);
}

/* Full-width figures on --cs-surface mats with 24px (mobile) / 64px (desktop) inner padding */
.case-study .cs-figure-mat {
  background: var(--cs-surface);
  border-radius: 8px;
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: var(--s-4);
  margin-bottom: var(--s-3);
  position: relative;
  overflow: hidden;
}

@media (min-width: 768px) {
  .case-study .cs-figure-mat {
    padding: 64px;
  }
}

.case-study .cs-annotated-wrap {
  position: relative;
  width: 100%;
}

.case-study .cs-annotated-img {
  width: 100%;
  height: auto;
  border-radius: 4px;
  display: block;
}

/* Hotspots layer */
.case-study .cs-hotspots-layer {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.case-study .cs-hotspot {
  position: absolute;
  width: 32px;
  height: 32px;
  margin-left: -16px;
  margin-top: -16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  cursor: pointer;
  pointer-events: auto;
  z-index: 20;
  padding: 0;
}

.case-study .cs-hotspot-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1.5px solid rgba(253, 253, 253, 0.4);
  animation: csHotspotPulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

.case-study .cs-hotspot-dot {
  position: relative;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #FDFDFD;
  color: #121417;
  font-family: 'Instrument Sans', sans-serif;
  font-size: 11px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.case-study .cs-hotspot:hover .cs-hotspot-dot,
.case-study .cs-hotspot.active .cs-hotspot-dot {
  transform: scale(1.15);
  background: #FFFFFF;
}

@keyframes csHotspotPulse {
  0% { transform: scale(0.9); opacity: 0.8; }
  50% { transform: scale(1.4); opacity: 0; }
  100% { transform: scale(0.9); opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .case-study .cs-hotspot-ring {
    animation: none;
  }
}

/* Notes sit below the image on mobile (never hover tooltips) */
.case-study .cs-decision-notes-list {
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
  margin-top: var(--s-4);
}

.case-study .cs-decision-note {
  display: flex;
  align-items: flex-start;
  gap: var(--s-3);
  padding: 12px 16px;
  border-radius: 8px;
  background: rgba(253, 253, 253, 0.03);
  border: 1px solid var(--cs-line);
  cursor: pointer;
  min-height: 44px;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.case-study .cs-decision-note:hover,
.case-study .cs-decision-note.active {
  border-color: rgba(253, 253, 253, 0.4);
  background: rgba(253, 253, 253, 0.08);
}

.case-study .cs-note-num {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--cs-text);
  color: var(--cs-bg);
  font-size: 11px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.case-study .cs-note-title {
  font-family: 'Instrument Sans', sans-serif;
  font-size: 15px;
  font-weight: 500;
  color: var(--cs-text);
  margin: 0 0 2px;
}

.case-study .cs-note-text {
  font-size: 14px;
  line-height: 1.45;
  color: var(--cs-text-3);
  margin: 0;
}

/* 4b.9 SCREEN GALLERY */
.case-study .cs-gallery-section {
  margin-top: var(--s-8);
}

.case-study .cs-editorial-gallery {
  display: flex;
  flex-direction: column;
  gap: var(--s-6);
  margin-top: var(--s-5);
}

.case-study .cs-screen-figure {
  margin: 0;
}

.case-study .cs-gallery-img {
  width: 100%;
  height: auto;
  border-radius: 4px;
  display: block;
  cursor: zoom-in;
}

/* Caption: 13px, --cs-text-3 */
.case-study .cs-figure-caption {
  font-size: 13px;
  color: var(--cs-text-3);
  text-align: left;
  margin-top: 8px;
  line-height: 1.4;
}

.case-study .cs-caption-index {
  font-weight: 500;
  color: var(--cs-text-2);
}

/* Images: fade in + 24px rise when 15% in view, 500ms cubic-bezier(.2,.8,.2,1), once. Start visible without JS */
.case-study .cs-fade-rise {
  opacity: 1;
  transform: translateY(0);
}

.case-study.js-animate .cs-fade-rise:not(.in-view) {
  opacity: 0;
  transform: translateY(24px);
}

.case-study.js-animate .cs-fade-rise.in-view {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 500ms cubic-bezier(0.2, 0.8, 0.2, 1), transform 500ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

@media (prefers-reduced-motion: reduce) {
  .case-study.js-animate .cs-fade-rise,
  .case-study.js-animate .cs-fade-rise:not(.in-view) {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* 4b.10 OUTCOME STATS (Number in Newsreader 300, 48px/64px, label 13px beneath, 1px --cs-line top rule) */
.case-study .cs-outcome-stats-rule {
  border-top: 1px solid var(--cs-line);
  padding-top: var(--s-6);
  margin-bottom: var(--s-7);
}

.case-study .cs-stats-editorial-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--s-6) var(--s-4);
}

@media (min-width: 1024px) {
  .case-study .cs-stats-editorial-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: var(--s-6);
  }
}

.case-study .cs-stat-editorial-item {
  display: flex;
  flex-direction: column;
  gap: var(--s-2);
}

.case-study .cs-stat-editorial-number {
  font-family: 'Newsreader', serif;
  font-weight: 300;
  font-size: clamp(2rem, 4.5vw, 48px);
  line-height: 1;
  color: var(--cs-text);
  letter-spacing: -0.02em;
  white-space: nowrap;
}

@media (min-width: 1024px) {
  .case-study .cs-stat-editorial-number {
    font-size: clamp(2.5rem, 4.5vw, 64px);
  }
}

.case-study .cs-stat-editorial-label {
  font-size: 13px;
  line-height: 1.4;
  color: var(--cs-text-3);
  font-weight: 400;
}

.case-study .cs-outcome-note {
  margin-top: var(--s-5);
  padding-top: var(--s-4);
  border-top: 1px solid var(--cs-line);
  font-size: 13px;
  line-height: 1.5;
  color: var(--cs-text-3);
}

.case-study .cs-outcome-note-label {
  font-weight: 600;
  color: var(--cs-text);
  letter-spacing: -0.01em;
}

.case-study .cs-learned-editorial {
  margin-top: var(--s-6);
  padding-top: var(--s-5);
  border-top: 1px solid var(--cs-line);
}

.case-study .cs-next-steps-editorial {
  margin-top: var(--s-6);
}

.case-study .cs-next-steps-list {
  list-style: none;
  padding: 0;
  margin: var(--s-4) 0 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.case-study .cs-next-steps-list li {
  position: relative;
  padding-left: 20px;
  font-size: 15px;
  line-height: 1.5;
  color: var(--cs-text-2);
}

.case-study .cs-next-steps-list li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--cs-text-3);
}

/* 4b.11 PROCESS ARTEFACTS ACCORDION */
.case-study .cs-chapter-artefacts {
  padding-top: var(--s-7);
}

.case-study .cs-artefacts-accordion {
  border: 1px solid var(--cs-line);
  border-radius: 8px;
  background: var(--cs-surface);
  overflow: hidden;
}

.case-study .cs-artefacts-summary {
  padding: var(--s-4);
  font-size: 15px;
  font-weight: 500;
  color: var(--cs-text);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  user-select: none;
  list-style: none;
}

.case-study .cs-artefacts-summary::-webkit-details-marker {
  display: none;
}

.case-study .cs-accordion-chevron {
  transition: transform 0.2s ease;
  color: var(--cs-text-3);
}

.case-study .cs-artefacts-accordion[open] .cs-accordion-chevron {
  transform: rotate(180deg);
}

.case-study .cs-artefacts-drawer {
  padding: 0 var(--s-4) var(--s-5);
  border-top: 1px solid var(--cs-line);
}

.case-study .cs-artefact-section {
  padding-top: var(--s-4);
}

.case-study .cs-artefact-title {
  font-family: 'Instrument Sans', sans-serif;
  font-size: 16px;
  font-weight: 500;
  color: var(--cs-text);
  margin: 0 0 var(--s-3);
}

.case-study .cs-artefact-grid {
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
}

@media (min-width: 768px) {
  .case-study .cs-artefact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--s-4);
  }
}

.case-study .cs-artefact-card {
  padding: var(--s-4);
  background: rgba(253, 253, 253, 0.02);
  border: 1px solid var(--cs-line);
  border-radius: 6px;
}

.case-study .cs-artefact-card h4 {
  margin: 0 0 6px;
  font-size: 14px;
  font-weight: 500;
  color: var(--cs-text);
}

.case-study .cs-artefact-card p {
  font-size: 13px;
  line-height: 1.45;
  color: var(--cs-text-3);
  margin: 0 0 6px;
}

/* 4b.12 MORE PROJECTS (H2 "More projects", 3 cards, image 4:3 on --cs-surface) */
.case-study .cs-more-projects-section {
  border-top: 1px solid var(--cs-line);
  padding-top: 64px;
  padding-bottom: 64px;
}

@media (min-width: 1024px) {
  .case-study .cs-more-projects-section {
    padding-top: 128px;
    padding-bottom: 128px;
  }
}

.case-study .cs-more-projects-title {
  font-family: 'Newsreader', serif;
  font-weight: 300;
  font-size: clamp(1.75rem, 1.4rem + 1.4vw, 2.75rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--cs-text);
  margin-top: 0;
  margin-bottom: var(--s-6);
}

.case-study .cs-more-projects-carousel {
  display: flex;
  gap: var(--s-4);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding-bottom: var(--s-4);
  scrollbar-width: none;
}

.case-study .cs-more-projects-carousel::-webkit-scrollbar {
  display: none;
}

.case-study .cs-more-project-card {
  flex: 0 0 80%;
  scroll-snap-align: start;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
  transition: transform 0.15s ease;
}

.case-study .cs-more-project-card:active {
  transform: scale(0.98);
}

@media (min-width: 768px) {
  .case-study .cs-more-projects-carousel {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    overflow: visible;
    gap: var(--s-6);
  }

  .case-study .cs-more-project-card {
    flex: none;
  }
}

.case-study .cs-more-project-img-wrap {
  width: 100%;
  aspect-ratio: 4 / 3;
  background: var(--cs-surface);
  border-radius: 8px;
  overflow: hidden;
}

.case-study .cs-more-project-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 600ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.case-study .cs-more-project-card:hover .cs-more-project-img {
  transform: scale(1.03);
}

@media (prefers-reduced-motion: reduce) {
  .case-study .cs-more-project-img {
    transition: none !important;
    transform: none !important;
  }
}

.case-study .cs-more-project-name {
  font-family: 'Instrument Sans', sans-serif;
  font-weight: 500;
  font-size: 17px;
  color: var(--cs-text);
  margin: 0;
}

.case-study .cs-more-project-tags {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--cs-text-3);
}

/* 4b.13 FULLSCREEN LIGHTBOX */
.case-study .cs-lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
}

.case-study .cs-lightbox.is-open {
  display: flex;
}

.case-study .cs-lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.case-study .cs-lightbox-dialog {
  position: relative;
  width: 94vw;
  max-width: 1200px;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  z-index: 10;
}

.case-study .cs-lightbox-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
}

.case-study .cs-lightbox-counter {
  font-size: 13px;
  color: var(--cs-text-3);
  font-weight: 500;
}

.case-study .cs-lightbox-close {
  min-width: 44px;
  min-height: 44px;
  background: transparent;
  border: none;
  color: var(--cs-text);
  font-size: 24px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.case-study .cs-lightbox-stage {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.case-study .cs-lightbox-img-wrap {
  width: 100%;
  max-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.case-study .cs-lightbox-img {
  max-width: 100%;
  max-height: 70vh;
  object-fit: contain;
  border-radius: 6px;
  transition: transform 0.2s ease;
}

.case-study .cs-lightbox-prev,
.case-study .cs-lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  min-width: 44px;
  min-height: 44px;
  background: rgba(26, 29, 33, 0.8);
  border: 1px solid var(--cs-line);
  color: var(--cs-text);
  font-size: 28px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 15;
  transition: background-color 0.2s ease;
}

.case-study .cs-lightbox-prev {
  left: 8px;
}

.case-study .cs-lightbox-next {
  right: 8px;
}

.case-study .cs-lightbox-prev:hover,
.case-study .cs-lightbox-next:hover {
  background: var(--cs-surface);
}

.case-study .cs-lightbox-caption {
  font-size: 13px;
  color: var(--cs-text-3);
  text-align: center;
  padding: 12px 0 0;
  line-height: 1.4;
}

/* 4b.14 FOOTER WITH DARK TOKENS */
.case-study .site-footer.cs-dark-footer {
  background: var(--cs-bg);
  border-top: 1px solid var(--cs-line);
}

.case-study .cs-dark-footer .footer-subheading {
  color: var(--cs-text-3);
  font-family: 'Instrument Sans', sans-serif;
}

.case-study .cs-dark-footer .footer-huge-link {
  color: var(--cs-text);
  font-family: 'Newsreader', serif;
}

.case-study .cs-dark-footer .footer-loc-time,
.case-study .cs-dark-footer .footer-copyright,
.case-study .cs-dark-footer .footer-back-to-top {
  color: var(--cs-text-3);
  font-family: 'Instrument Sans', sans-serif;
}

.case-study .cs-dark-footer .footer-social-link {
  color: var(--cs-text-2);
  font-family: 'Instrument Sans', sans-serif;
}

.case-study .cs-dark-footer .footer-social-link:hover,
.case-study .cs-dark-footer .footer-back-to-top:hover {
  color: var(--cs-text);
}


/* ==========================================================================
   4.14 /work PAGE REDESIGN — PROJECT GRID & FILTER PILLS
   ========================================================================== */

/* Page Section & Outer Container */
.work-page-section {
  padding-top: 112px;
  padding-bottom: var(--s-8, 64px);
  width: 100%;
  position: relative;
}

@media (min-width: 768px) {
  .work-page-section {
    padding-top: 144px;
    padding-bottom: var(--s-10, 128px);
  }
}

.work-grid-container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: max(var(--gutter), env(safe-area-inset-left));
}

@media (min-width: 768px) {
  .work-grid-container {
    padding-inline: max(var(--gutter), env(safe-area-inset-left));
  }
}

@media (min-width: 1024px) {
  .work-grid-container {
    padding-inline: max(var(--gutter), env(safe-area-inset-left));
  }
}

/* Page Header */
.work-page-header {
  position: relative;
  width: 100%;
  text-align: left;
}

/* H1: display font (Newsreader 300), reduced size, line-height 1.12, letter-spacing -0.025em, max-width 22ch, colour --text */
.work-page-title {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(2.25rem, 1.5rem + 2.2vw, 3.5rem);
  line-height: 1.12;
  letter-spacing: -0.025em;
  color: var(--text);
  max-width: 22ch;
  margin: 0;
  text-align: left;
}

.work-title-line-mask {
  display: block;
  overflow: hidden;
}

.work-title-line {
  display: block;
  transform: translateY(0);
  animation: workTitleLineSlide 900ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.work-title-line-mask:nth-child(2) .work-title-line {
  animation-delay: 120ms;
}

/* Subline: body font, 18px desktop / 16px mobile, line-height 1.6, colour --text-2, max-width 58ch, 40px below H1 (24px mobile) */
.work-page-subline {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-2);
  max-width: 58ch;
  margin-top: 24px;
  margin-bottom: 0;
  text-align: left;
  animation: workFadeRise 600ms cubic-bezier(0.16, 1, 0.3, 1) 300ms both;
}

@media (min-width: 768px) {
  .work-page-subline {
    font-size: 18px;
    margin-top: 40px;
  }
}

/* Visually Hidden Utility for Accessible Headings */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Filters: 48px below subline (32px mobile), 64px above the grid */
.work-filters-wrapper {
  position: relative;
  margin-top: 32px;
  margin-bottom: 64px;
  animation: workFadeRise 600ms cubic-bezier(0.16, 1, 0.3, 1) 300ms both;
}

@media (min-width: 768px) {
  .work-filters-wrapper {
    margin-top: 48px;
    margin-bottom: 64px;
  }
}

.work-filter-pills {
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: flex-start;
}

/* Mobile: Horizontal scroll in one row, no wrap, 20px side padding */
@media (max-width: 767px) {
  .work-filters-wrapper {
    margin-left: -20px;
    margin-right: -20px;
    padding-left: 20px;
    padding-right: 20px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    position: relative;
  }

  .work-filters-wrapper::-webkit-scrollbar {
    display: none;
  }

  .work-filter-pills {
    flex-wrap: nowrap;
    padding-bottom: 4px;
    padding-right: 20px;
  }

  .work-filter-pill {
    scroll-snap-align: start;
    flex-shrink: 0;
  }
}

/* Pills 40px tall desktop / 36px mobile, 16px text, radius 999px, 1px --line-strong border; active = white fill, dark text; 8px gap */
.work-filter-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 36px;
  padding: 0 18px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
  background: transparent;
  color: var(--text);
  border: 1px solid var(--line-strong);
  cursor: pointer;
  position: relative;
  transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease;
  user-select: none;
  flex-shrink: 0;
}

@media (min-width: 768px) {
  .work-filter-pill {
    height: 40px;
    padding: 0 20px;
  }
}

/* 44px minimum tap target height on touch devices */
.work-filter-pill::after {
  content: '';
  position: absolute;
  top: -4px;
  bottom: -4px;
  left: 0;
  right: 0;
  min-height: 44px;
}

@media (hover: hover) and (pointer: fine) {
  .work-filter-pill:not(.active):hover {
    background: rgba(255, 255, 255, 0.08);
    color: var(--text);
  }
}

/* Active: white fill, dark text */
.work-filter-pill.active {
  background: var(--bg-inverse);
  color: var(--text-inverse);
  border-color: var(--bg-inverse);
}

.work-filter-pill:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* Header & Filter Motion Keyframes */
@keyframes workTitleLineSlide {
  0% {
    transform: translateY(100%);
  }
  100% {
    transform: translateY(0);
  }
}

@keyframes workFadeRise {
  0% {
    opacity: 0;
    transform: translateY(12px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .work-title-line,
  .work-page-subline,
  .work-filters-wrapper {
    animation: none !important;
    transform: none !important;
    opacity: 1 !important;
  }
}

/* Project Grid */
.work-grid {
  display: grid;
  width: 100%;
  grid-template-columns: 1fr;
  row-gap: 40px; /* Mobile: gap 40px between cards */
  align-items: start;
  transition: min-height 250ms ease;
}

/* Tablet (768–1023px): 2 equal columns, image ratio 16:10, row gap 56px */
@media (min-width: 768px) and (max-width: 1023px) {
  .work-grid {
    grid-template-columns: repeat(2, 1fr);
    column-gap: 24px;
    row-gap: 56px;
  }
}

/* Desktop (>=1024px): 2 equal balanced columns, column gap 32px, row gap 64px */
@media (min-width: 1024px) {
  .work-grid {
    grid-template-columns: repeat(2, 1fr);
    column-gap: 32px;
    row-gap: 64px;
  }

  .work-card.grid-col-wide-left,
  .work-card.grid-col-narrow-right,
  .work-card.grid-col-narrow-left,
  .work-card.grid-col-wide-right,
  .work-card.grid-col-solo {
    grid-column: span 1;
  }
}

/* Tablet overrides for grid-columns */
@media (min-width: 768px) and (max-width: 1023px) {
  .work-card.grid-col-wide-left,
  .work-card.grid-col-narrow-right,
  .work-card.grid-col-narrow-left,
  .work-card.grid-col-wide-right,
  .work-card.grid-col-solo {
    grid-column: span 1 !important;
  }
}

/* Mobile overrides for grid-columns */
@media (max-width: 767px) {
  .work-card.grid-col-wide-left,
  .work-card.grid-col-narrow-right,
  .work-card.grid-col-narrow-left,
  .work-card.grid-col-wide-right,
  .work-card.grid-col-solo {
    grid-column: 1 / -1 !important;
  }
}

/* Project Card: Whole card is one link to the case study */
.work-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 0;
  position: relative;
  outline: none;
  color: inherit;
  transition: opacity 250ms ease, transform 250ms ease;
}

.work-card:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

/* Mobile Tap feedback: scale 0.98 for 120ms */
@media (max-width: 767px) {
  .work-card:active {
    transform: scale(0.98);
    transition: transform 120ms ease;
  }
}

/* Media / Image Wrapper */
.work-card-media {
  position: relative;
  overflow: hidden;
  background-color: var(--bg-raised);
  border-radius: 6px;
  width: 100%;
  aspect-ratio: 16 / 10;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Tablet (768–1023px) */
@media (min-width: 768px) and (max-width: 1023px) {
  .work-card-media {
    height: auto;
    aspect-ratio: 16 / 10;
  }
}

/* Desktop (>=1024px) */
@media (min-width: 1024px) {
  .work-card-media {
    aspect-ratio: 16 / 10;
    height: auto;
    cursor: none; /* Desktop cursor follow replaces standard cursor over image */
  }
}

/* Image styling */
.work-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  border-radius: 4px;
  transition: transform 600ms ease-out;
}

/* Desktop Hover: image scales 1.03 (600ms ease-out) */
@media (min-width: 1024px) and (hover: hover) and (pointer: fine) {
  .work-card:hover .work-card-img {
    transform: scale(1.03);
  }
}

/* Mobile Static "↗" (32px) on image corner */
.work-card-touch-badge {
  display: none;
}

@media (max-width: 767px) {
  .work-card-touch-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    bottom: 12px;
    right: 12px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #FFFFFF;
    color: #121417;
    z-index: 2;
    pointer-events: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
  }
  .work-card-touch-badge svg {
    width: 14px;
    height: 14px;
    stroke: #121417;
    stroke-width: 2.2;
    fill: none;
    display: block;
  }
}

/* Card Metadata (16px below image) */
.work-card-meta {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
}

/* Row 1: Title (left) · Year (right, muted) on one row */
.work-card-row-1 {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.work-card-title-group {
  display: flex;
  align-items: baseline;
  min-width: 0;
  overflow: hidden;
}

.work-card-title {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.3;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin: 0;
  transition: text-decoration 0.2s ease;
}

@media (hover: hover) and (pointer: fine) {
  .work-card:hover .work-card-title {
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 4px;
  }
}

/* Optional status tag after title, e.g. "Concept" in --accent */
.work-card-status {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.3;
  color: var(--accent);
  margin-left: 8px;
  white-space: nowrap;
  flex-shrink: 0;
}

.work-card-year {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.3;
  color: var(--text-3); /* muted */
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  flex-shrink: 0;
}

/* 4px below: Category (muted, 14px) */
.work-card-row-2 {
  margin-top: 4px;
}

.work-card-category {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.4;
  color: var(--text-3); /* muted */
  display: block;
}

.work-card-row-3 {
  margin-top: 4px;
}

.work-card-meta .work-card-role {
  font-family: var(--font-body, var(--font-sans));
  font-size: 13px;
  font-weight: 500;
  color: var(--text-dim, #717680);
  display: block;
}

/* More Work Section (work.html) */
.more-work-section {
  margin-top: clamp(64px, 8vw, 96px);
  padding-top: clamp(48px, 6vw, 64px);
  border-top: 1px solid var(--border-hairline);
}

.more-work-header {
  margin-bottom: clamp(24px, 3.5vw, 36px);
}

.more-work-title {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 400;
  letter-spacing: -0.015em;
  color: var(--text-main);
  margin: 0 0 0.5rem 0;
}

.more-work-subline {
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  color: var(--text-muted);
  margin: 0;
}

.more-work-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 640px) {
  .more-work-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
}

@media (min-width: 1024px) {
  .more-work-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
  }
}

.more-work-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.25s ease;
}

.more-work-card:hover {
  transform: translateY(-3px);
}

.more-work-card-media {
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: 6px;
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--border-hairline);
}

.more-work-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.more-work-card:hover .more-work-card-media img {
  transform: scale(1.04);
}

.more-work-card-meta {
  margin-top: 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.more-work-card-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
}

.more-work-card-title {
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text-main);
  margin: 0;
  transition: color 0.2s ease;
}

.more-work-card:hover .more-work-card-title {
  color: var(--accent-lavender);
}

.more-work-card-year {
  font-size: 0.75rem;
  color: var(--text-dim);
  font-variant-numeric: tabular-nums;
}

.more-work-card-category {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.more-work-card-role {
  font-size: 0.75rem;
  color: var(--text-dim);
  font-weight: 500;
}

/* Filter change: cards fade + scale 0.98 out/in, 250ms */
.work-card.filtering-out {
  opacity: 0 !important;
  transform: scale(0.98) !important;
  transition: opacity 250ms ease, transform 250ms ease !important;
  pointer-events: none;
}

.work-card.filtering-in {
  opacity: 1 !important;
  transform: scale(1) !important;
  transition: opacity 250ms ease, transform 250ms ease !important;
}

/* Empty State */
.work-empty-state {
  text-align: center;
  padding: 64px 0;
  color: var(--text-2);
  font-family: var(--font-body);
  font-size: 16px;
}

/* 72px Circular Cursor Badge for Desktop Work Card Images */
.work-cursor-badge {
  position: fixed;
  top: 0;
  left: 0;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  z-index: 9999;
  opacity: 0;
  transform: translate3d(-100px, -100px, 0) translate(-50%, -50%) scale(0.5);
  transition: opacity 200ms ease;
  will-change: transform, opacity;
}

.work-cursor-badge svg {
  width: 22px;
  height: 22px;
  stroke: #121417;
  stroke-width: 2.2;
  fill: none;
  display: block;
}

@media (max-width: 1023px), (hover: none), (pointer: coarse) {
  .work-cursor-badge {
    display: none !important;
  }
}

/* Prefers Reduced Motion: no cursor follow, no scale */
@media (prefers-reduced-motion: reduce) {
  .work-card {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  .work-card-img {
    transform: none !important;
    transition: none !important;
  }
  .work-card:hover .work-card-img {
    transform: none !important;
  }
  .work-card:active {
    transform: none !important;
  }
  .work-card.filtering-out,
  .work-card.filtering-in {
    transition: none !important;
    transform: none !important;
  }
  .work-cursor-badge {
    display: none !important;
  }
}

/* ==========================================================================
   FEATURED PROJECT SHOWCASE (Auto-rotating carousel below hero)
   ========================================================================== */
.featured-showcase-section {
  padding: clamp(2.5rem, 4.5vw, 3.75rem) 0 clamp(2.5rem, 4.5vw, 4rem);
  border-bottom: 1px solid var(--border-hairline);
  position: relative;
  width: 100%;
  outline: none;
}

@media (min-width: 1024px) {
  .featured-showcase-section {
    padding: clamp(3rem, 5vw, 4.25rem) 0 clamp(3.25rem, 5.5vw, 4.75rem);
  }
}

.showcase-container {
  max-width: 1280px;
  padding-left: 20px;
  padding-right: 20px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
}

@media (min-width: 1024px) {
  .showcase-container {
    padding-left: 40px;
    padding-right: 40px;
  }
}

/* STAGE */
.showcase-stage {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  border-radius: 16px;
  overflow: hidden;
  background-color: #0E1012;
  background-image: 
    radial-gradient(ellipse at 50% 45%, transparent 40%, rgba(0, 0, 0, 0.55) 100%),
    url('assets/images/stage_backdrop.webp');
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
  user-select: none;
  touch-action: pan-y;
}

@media (min-width: 640px) {
  .showcase-stage {
    aspect-ratio: 4 / 3;
  }
}

@media (min-width: 1024px) {
  .showcase-stage {
    aspect-ratio: 16 / 9;
    border-radius: 24px;
  }
}

/* SLIDES WRAPPER */
.showcase-slides {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

/* INDIVIDUAL SLIDE */
.showcase-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  z-index: 1;
  transition: opacity 400ms ease;
}

.showcase-slide.is-active {
  opacity: 1;
  pointer-events: auto;
  z-index: 2;
  transition: opacity 700ms ease;
}

/* LINK WRAPPING DEVICE */
.showcase-device-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  text-decoration: none;
  cursor: pointer;
  outline: none;
}

.showcase-device-link:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.4);
  outline-offset: -4px;
}

/* DEVICE ANIMATION CONTAINER */
.showcase-device {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  transform: translateY(16px) scale(0.98);
  opacity: 0;
  transition: transform 700ms cubic-bezier(0.16, 1, 0.3, 1), opacity 700ms ease;
}

.showcase-slide.is-active .showcase-device {
  transform: translateY(0) scale(1);
  opacity: 1;
}

/* LAPTOP MOCKUP */
.device-laptop {
  width: 92%;
  max-width: 860px;
}

@media (min-width: 640px) {
  .device-laptop {
    width: 72%;
  }
}

@media (min-width: 1024px) {
  .device-laptop {
    width: 62%;
  }
}

.laptop-lid {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  background: #0f1013;
  border-radius: 12px 12px 2px 2px;
  border: 1.5px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  overflow: hidden;
  box-sizing: border-box;
}

.laptop-notch {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 72px;
  height: 8px;
  background: #000000;
  border-radius: 0 0 5px 5px;
  z-index: 5;
}

.laptop-screen {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: #050608;
}

.laptop-base {
  position: relative;
  width: 104%;
  height: 10px;
  margin-top: -1px;
  background: linear-gradient(180deg, #2A2D32 0%, #16181B 100%);
  border-radius: 2px 2px 8px 8px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: flex-start;
  z-index: 4;
}

.laptop-notch-cutout {
  width: 54px;
  height: 4px;
  background: #0D0E10;
  border-radius: 0 0 4px 4px;
}

@media (min-width: 1024px) {
  .laptop-base {
    height: 13px;
  }
  .laptop-notch-cutout {
    width: 64px;
    height: 5px;
  }
}

/* PHONE MOCKUP */
.device-phone {
  height: 82%;
  max-height: 480px;
  aspect-ratio: 9 / 19.5;
}

@media (min-width: 1024px) {
  .device-phone {
    max-height: 520px;
  }
}

.phone-body {
  position: relative;
  width: 100%;
  height: 100%;
  background: #141619;
  border: 1.5px solid rgba(255, 255, 255, 0.16);
  border-radius: 36px;
  padding: 6px;
  box-sizing: border-box;
  box-shadow: 
    inset 0 0 0 1px rgba(0, 0, 0, 0.8),
    0 20px 40px rgba(0, 0, 0, 0.5);
}

.phone-island {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 58px;
  height: 15px;
  background: #000000;
  border-radius: 12px;
  z-index: 5;
}

.phone-screen {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 30px;
  overflow: hidden;
  background: #050608;
}

/* SCREEN IMAGES */
.showcase-screen-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  display: block;
  user-select: none;
}

/* SOFT SHADOW UNDER DEVICE */
.device-shadow {
  width: 90%;
  height: 24px;
  margin-top: 4px;
  background: radial-gradient(ellipse at 50% 50%, rgba(0, 0, 0, 0.6) 0%, transparent 70%);
  filter: blur(8px);
  pointer-events: none;
}

/* LABEL OVERLAY (Bottom-left) */
.showcase-label-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.4) 30%, transparent 75%);
  pointer-events: none;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transform: translateY(12px);
  opacity: 0;
  transition: transform 600ms cubic-bezier(0.16, 1, 0.3, 1) 80ms, opacity 600ms ease 80ms;
}

@media (min-width: 1024px) {
  .showcase-label-overlay {
    padding: 32px;
  }
}

.showcase-slide.is-active .showcase-label-overlay {
  transform: translateY(0);
  opacity: 1;
}

.showcase-tags-row {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 6px;
}

.showcase-tag {
  display: inline-flex;
  align-items: center;
  height: 26px;
  padding: 0 10px;
  font-size: 12px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 100px;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  background: rgba(14, 16, 18, 0.4);
}

.showcase-title {
  font-family: 'Antonio', var(--font-display, sans-serif);
  font-weight: 500;
  text-transform: uppercase;
  font-size: 22px;
  line-height: 1.1;
  letter-spacing: 0.03em;
  color: #FFFFFF;
  margin: 0;
}

@media (min-width: 1024px) {
  .showcase-title {
    font-size: 32px;
  }
}

/* "↗" OPEN BUTTON */
.showcase-open-btn {
  position: absolute;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background-color: #0B0C0E;
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  z-index: 10;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  transition: transform 250ms ease, background-color 250ms ease, color 250ms ease, border-color 250ms ease;
  outline: none;
  /* Mobile position: bottom-right, above pause button */
  bottom: 76px;
  right: 20px;
}

.showcase-open-btn .showcase-arrow-icon {
  width: 22px;
  height: 22px;
  transition: transform 250ms ease;
}

@media (min-width: 1024px) {
  .showcase-open-btn {
    width: 72px;
    height: 72px;
    /* Overlapping top-right area of device screen */
    top: 22%;
    right: 26%;
    bottom: auto;
  }
  .showcase-open-btn .showcase-arrow-icon {
    width: 26px;
    height: 26px;
  }
}

.showcase-open-btn:hover {
  transform: scale(1.08);
  background-color: #FFFFFF;
  color: #000000;
  border-color: #FFFFFF;
}

.showcase-open-btn:hover .showcase-arrow-icon {
  transform: translate(3px, -3px);
}

.showcase-open-btn:active {
  transform: scale(0.94);
}

.showcase-open-btn:focus-visible {
  outline: 2px solid #FFFFFF;
  outline-offset: 3px;
}

/* PAUSE / PLAY BUTTON */
.showcase-pause-btn {
  position: absolute;
  bottom: 20px;
  right: 20px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: transparent;
  border: none;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  color: #FFFFFF;
  outline: none;
}

@media (min-width: 1024px) {
  .showcase-pause-btn {
    bottom: 24px;
    right: 24px;
  }
}

.showcase-pause-btn:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.8);
  outline-offset: 2px;
}

.showcase-progress-ring {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
  transform-origin: 50% 50%;
  pointer-events: none;
}

.progress-ring-bg {
  fill: transparent;
  stroke: rgba(255, 255, 255, 0.2);
  stroke-width: 1.5;
}

.progress-ring-circle {
  fill: transparent;
  stroke: rgba(255, 255, 255, 0.85);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-dasharray: 119.38;
  stroke-dashoffset: 119.38;
}

.showcase-play-pause-icon {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  color: #FFFFFF;
  transition: transform 150ms ease;
}

.showcase-pause-btn:hover .showcase-play-pause-icon {
  transform: scale(1.1);
}

/* INDICATORS BAR (Below stage) */
.showcase-indicators-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 16px;
  position: relative;
  width: 100%;
}

@media (min-width: 1024px) {
  .showcase-indicators-bar {
    justify-content: space-between;
  }
}

.showcase-indicators {
  display: flex;
  align-items: center;
  gap: 8px;
}

.indicator-line {
  position: relative;
  height: 44px; /* Accessible 44px hit target */
  padding: 0;
  background: transparent;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  outline: none;
}

.indicator-line::before {
  content: '';
  display: block;
  width: 24px;
  height: 2px;
  background-color: rgba(255, 255, 255, 0.25);
  border-radius: 1px;
  transition: width 300ms ease, background-color 300ms ease;
}

.indicator-line.is-active::before {
  width: 40px;
  background-color: #FFFFFF;
}

.indicator-line:hover::before {
  background-color: rgba(255, 255, 255, 0.7);
}

.indicator-line.is-active:hover::before {
  background-color: #FFFFFF;
}

.indicator-line:focus-visible::before {
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.8);
}

.showcase-counter {
  font-family: var(--font-body, 'Plus Jakarta Sans', sans-serif);
  font-size: 12px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 0.05em;
  margin-left: 16px;
}

@media (max-width: 1023px) {
  .showcase-counter {
    position: absolute;
    right: 0;
  }
}

/* PREFERS REDUCED MOTION */
@media (prefers-reduced-motion: reduce) {
  .showcase-slide,
  .showcase-device,
  .showcase-label-overlay,
  .indicator-line::before,
  .showcase-open-btn,
  .showcase-open-btn .showcase-arrow-icon {
    transition: none !important;
    animation: none !important;
    transform: none !important;
  }
  .progress-ring-circle {
    display: none !important;
  }
}


