:root {
  --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;
  
  --container-max: 1200px;
  --container-narrow: 960px;
  --section-pad-y: clamp(4.5rem, 8vw, 7.5rem);
  --transition-smooth: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  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: 100vh;
  position: relative;
  overflow-x: hidden;
  line-height: 1.6;
}

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

/* Navigation */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(18, 20, 23, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-hairline);
  transition: background 0.3s ease, border-color 0.3s ease;
}

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

.nav-brand {
  display: inline-flex;
  align-items: baseline;
  gap: 0.75rem;
  text-decoration: none;
  color: inherit;
  min-height: 44px;
  align-items: center;
}

.brand-name {
  font-weight: 600;
  font-size: 1.0625rem;
  letter-spacing: -0.01em;
  color: var(--text-main);
  transition: color 0.2s ease;
}

.brand-title {
  font-size: 0.8125rem;
  color: var(--text-muted);
  font-weight: 400;
  letter-spacing: 0.01em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.nav-link {
  font-size: 0.875rem;
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.25s ease, transform 0.25s ease;
  position: relative;
  padding: 0.5rem 0.25rem;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

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

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 8px;
  left: 0;
  width: 0;
  height: 1.5px;
  background-color: var(--accent-lavender);
  transition: width 0.25s var(--transition-smooth);
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

.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);
}

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

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}

.hero-content {
  display: flex;
  flex-direction: column;
}

.hero-headline {
  font-family: var(--font-serif);
  font-size: clamp(2.35rem, 4.2vw, 3.85rem);
  line-height: 1.18;
  font-weight: 400;
  letter-spacing: -0.025em;
  color: var(--text-main);
  margin-bottom: clamp(2.5rem, 4vw, 3.75rem);
}

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

.hero-portrait-wrapper {
  position: relative;
  display: flex;
  justify-content: flex-end;
}

.hero-portrait-card {
  position: relative;
  width: 250px;
  height: 290px;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: var(--bg-card);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5), 0 0 24px rgba(196, 181, 253, 0.08);
  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.02);
  border-color: rgba(196, 181, 253, 0.45);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), 0 0 30px rgba(196, 181, 253, 0.15);
}

.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.04);
}

/* Meta Strip - 2x2 Balanced Grid with Center Divider */
.meta-strip {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.75rem 0;
  padding-top: 2rem;
  border-top: 1px solid var(--border-hairline);
  position: relative;
}

/* Thin vertical divider evenly centered between left and right columns */
.meta-strip::after {
  content: '';
  position: absolute;
  top: 2rem;
  bottom: 0;
  left: 50%;
  width: 1px;
  background-color: var(--border-hairline);
  transform: translateX(-50%);
}

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

/* Equal padding and balanced alignment on both sides of vertical divider */
.meta-item:nth-child(odd) {
  padding-right: clamp(1.25rem, 2.5vw, 2.25rem);
}

.meta-item:nth-child(even) {
  padding-left: clamp(1.25rem, 2.5vw, 2.25rem);
}

.meta-label {
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  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;
}

/* COMPANIES STRIP */
.companies-section {
  padding: clamp(3rem, 5vw, 4.5rem) 0;
  border-top: 1px solid var(--border-hairline);
  border-bottom: 1px solid var(--border-hairline);
  overflow: hidden;
}

.section-label-tiny {
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--text-dim);
  font-weight: 600;
  margin-bottom: 1.75rem;
}

/* MARQUEE CAROUSEL 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;
}

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

/* Companies: Right to Left */
.marquee-track-left {
  animation: scroll-marquee-left 50s linear infinite;
}

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

/* Tools: Left to Right */
.marquee-track-right {
  animation: scroll-marquee-right 55s linear infinite;
}

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

/* Pause the entire row on hover */
.marquee-wrapper:hover .marquee-track {
  animation-play-state: paused;
}

/* Shared badge/chip styling */
.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: 0.78125rem;
  min-height: 40px;
  opacity: 0.65;
  filter: grayscale(35%);
  transition: opacity 0.3s ease, filter 0.3s ease, color 0.25s ease, border-color 0.25s ease, background 0.25s ease, transform 0.25s var(--transition-smooth), box-shadow 0.25s ease;
  cursor: default;
  white-space: nowrap;
  flex-shrink: 0;
  user-select: none;
}

.company-logo-item:hover {
  opacity: 1;
  filter: grayscale(0%);
  color: var(--text-main);
  border-color: var(--accent-lavender);
  background: var(--bg-card-hover);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(196, 181, 253, 0.2);
}

.company-logo-item svg {
  width: 15px;
  height: 15px;
  fill: currentColor;
  opacity: 0.85;
  flex-shrink: 0;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.company-logo-item:hover svg {
  opacity: 1;
  transform: scale(1.1);
}

/* FEATURED CASE STUDY VISUAL CAROUSEL */
.featured-visual-section {
  padding: clamp(3.5rem, 6vw, 5.5rem) 0;
}

.featured-carousel-container {
  width: 100%;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--border-hairline);
  position: relative;
  background: linear-gradient(135deg, rgba(196, 181, 253, 0.15) 0%, rgba(244, 114, 182, 0.08) 50%, rgba(18, 20, 23, 0.95) 100%);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.4s var(--transition-smooth);
  aspect-ratio: 16 / 9;
  display: block;
  cursor: pointer;
  outline: none;
}

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

.featured-carousel-container:hover {
  border-color: rgba(196, 181, 253, 0.4);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.6), 0 0 30px rgba(196, 181, 253, 0.15);
  transform: scale(1.01);
}

.featured-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateX(20px);
  transition: opacity 0.55s cubic-bezier(0.16, 1, 0.3, 1), transform 0.55s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.55s ease;
  z-index: 1;
}

.featured-slide.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(0);
  z-index: 2;
}

.featured-slide.slide-out-prev {
  opacity: 0;
  transform: translateX(-20px);
  visibility: hidden;
}

.featured-slide.slide-out-next {
  opacity: 0;
  transform: translateX(20px);
  visibility: hidden;
}

.featured-slide-media {
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.featured-carousel-container:hover .featured-slide.active .featured-slide-media {
  transform: scale(1.015);
}

.featured-visual-img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  aspect-ratio: 16 / 9;
}

/* Bottom Dark Gradient for Text Legibility */
.featured-slide-scrim {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 48%;
  background: linear-gradient(to top, rgba(10, 12, 16, 0.85) 0%, rgba(10, 12, 16, 0.45) 50%, rgba(10, 12, 16, 0) 100%);
  pointer-events: none;
  z-index: 2;
}

/* Text Overlay: Bottom-Left */
.featured-slide-content {
  position: absolute;
  bottom: clamp(1.25rem, 3.5vw, 2.5rem);
  left: clamp(1.25rem, 3.5vw, 2.75rem);
  z-index: 3;
  display: flex;
  align-items: baseline;
  gap: clamp(0.6rem, 1.2vw, 1.25rem);
  flex-wrap: wrap;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.45s ease 0.1s, transform 0.45s cubic-bezier(0.16, 1, 0.3, 1) 0.1s;
}

.featured-slide.active .featured-slide-content {
  opacity: 1;
  transform: translateY(0);
}

.featured-project-title {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 2.8vw, 2.35rem);
  font-weight: 400;
  color: #F8F9FA;
  letter-spacing: -0.015em;
  line-height: 1.15;
  margin: 0;
  transition: color 0.25s ease, text-shadow 0.25s ease;
}

.featured-carousel-container:hover .featured-project-title {
  color: #FFFFFF;
  text-shadow: 0 0 16px rgba(255, 255, 255, 0.35);
}

.featured-project-date {
  font-family: var(--font-sans);
  font-size: clamp(0.75rem, 1vw, 0.875rem);
  font-weight: 500;
  color: rgba(255, 255, 255, 0.65);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: color 0.25s ease;
}

.featured-carousel-container:hover .featured-project-date {
  color: rgba(255, 255, 255, 0.95);
}

.carousel-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.5rem;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 9999px;
  background-color: rgba(255, 255, 255, 0.2);
  border: none;
  padding: 0;
  cursor: pointer;
  min-height: 24px;
  min-width: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-clip: content-box;
  padding: 8px;
  transition: all 0.25s var(--transition-smooth);
  outline: none;
}

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

.dot.active {
  width: 32px;
  background-color: var(--accent-lavender);
  box-shadow: 0 0 8px var(--accent-lavender-glow);
}

/* SECTION HEADINGS */
.section-title-serif {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 400;
  letter-spacing: -0.02em;
  color: var(--text-main);
  line-height: 1.2;
}

.section-title-center {
  text-align: center;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

/* SELECTED WORK & PROJECTS LIST */
.selected-work-section {
  padding: var(--section-pad-y) 0;
  border-top: 1px solid var(--border-hairline);
}

.selected-work-header {
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.projects-list {
  display: flex;
  flex-direction: column;
  gap: clamp(4rem, 7vw, 6.5rem);
}

.project-item {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}

.project-item.reverse {
  grid-template-columns: 0.85fr 1.15fr;
}

.project-item.reverse .project-image-col {
  order: 2;
}

.project-item.reverse .project-text-col {
  order: 1;
}

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

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

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

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

.project-text-col {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.project-title-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  border-bottom: 1px solid var(--border-hairline);
  padding-bottom: 0.75rem;
}

.project-title {
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 2.5vw, 2.25rem);
  font-weight: 400;
  letter-spacing: -0.015em;
  color: var(--text-main);
  transition: color 0.25s ease;
}

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

.project-year {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--accent-lavender);
  letter-spacing: 0.05em;
}

.project-desc {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* WHAT I DO */
.what-i-do-section {
  padding: var(--section-pad-y) 0;
  border-top: 1px solid var(--border-hairline);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: clamp(3rem, 5vw, 4.5rem);
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border-hairline);
  border-radius: 16px;
  padding: 2rem 1.75rem;
  display: flex;
  flex-direction: column;
  transition: transform 0.35s var(--transition-smooth), border-color 0.35s ease, background 0.35s ease, box-shadow 0.35s ease;
  position: relative;
}

.service-card:hover {
  transform: translateY(-4px);
  background: var(--bg-card-hover);
  border-color: var(--border-hairline-hover);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.4), 0 0 16px rgba(196, 181, 253, 0.1);
}

.service-num {
  font-family: var(--font-serif);
  font-size: 1.125rem;
  color: var(--accent-lavender);
  margin-bottom: 0.75rem;
  font-style: italic;
}

.service-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 0.875rem;
  letter-spacing: -0.01em;
}

.service-text {
  font-size: 0.90625rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.what-i-do-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 2rem 2.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border-hairline);
  border-radius: 16px;
  transition: border-color 0.3s ease, background 0.3s ease;
}

.what-i-do-cta:hover {
  border-color: var(--border-hairline-hover);
  background: var(--bg-card-hover);
}

.cta-text {
  font-family: var(--font-serif);
  font-size: clamp(1.25rem, 2vw, 1.65rem);
  color: var(--text-main);
  font-weight: 400;
}

/* MODERN TOOLING */
.tooling-section {
  padding: clamp(3.5rem, 5vw, 5rem) 0;
  border-top: 1px solid var(--border-hairline);
  text-align: center;
  overflow: hidden;
}

.tooling-label {
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--text-dim);
  font-weight: 600;
  margin-bottom: 2.25rem;
}

.tool-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  background: var(--bg-card);
  border: 1px solid var(--border-hairline);
  padding: 0.55rem 1rem;
  border-radius: 9999px;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text-muted);
  min-height: 40px;
  opacity: 0.65;
  filter: grayscale(35%);
  transition: opacity 0.3s ease, filter 0.3s ease, color 0.25s ease, border-color 0.25s ease, background 0.25s ease, transform 0.25s var(--transition-smooth), box-shadow 0.25s ease;
  cursor: default;
  white-space: nowrap;
  flex-shrink: 0;
  user-select: none;
}

.tool-chip:hover {
  opacity: 1;
  filter: grayscale(0%);
  border-color: var(--accent-lavender);
  color: var(--text-main);
  background: var(--bg-card-hover);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(196, 181, 253, 0.2);
}

.tool-chip .tool-icon,
.tool-chip svg {
  width: 15px;
  height: 15px;
  fill: currentColor;
  opacity: 0.85;
  flex-shrink: 0;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.tool-chip:hover .tool-icon,
.tool-chip:hover svg {
  opacity: 1;
  transform: scale(1.1);
}

/* KIND WORDS CAROUSEL */
.kind-words-section {
  padding: var(--section-pad-y) 0;
  border-top: 1px solid var(--border-hairline);
  position: relative;
}

.testimonial-carousel-wrapper {
  position: relative;
  max-width: var(--container-narrow);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.testimonial-slider-track {
  width: 100%;
  position: relative;
  min-height: 240px;
}

.testimonial-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  visibility: hidden;
  transform: translateX(20px);
  transition: opacity 0.45s ease, transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.45s;
  pointer-events: none;
  text-align: center;
}

.testimonial-slide.active {
  position: relative;
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
  pointer-events: auto;
}

.testimonial-slide.slide-out-left {
  opacity: 0;
  transform: translateX(-24px);
}

.testimonial-slide.slide-out-right {
  opacity: 0;
  transform: translateX(24px);
}

.testimonial-quote {
  font-family: var(--font-serif);
  font-size: clamp(1.15rem, 1.9vw, 1.45rem);
  line-height: 1.7;
  color: #E2E4E9;
  font-weight: 400;
  margin-bottom: 2.25rem;
  position: relative;
}

.testimonial-quote p {
  margin-bottom: 1.25rem;
}

.testimonial-quote p:last-child {
  margin-bottom: 0;
}

.testimonial-author {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
}

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

.author-role {
  font-size: 0.8125rem;
  color: var(--accent-lavender);
  letter-spacing: 0.02em;
}

/* Arrow Nav Buttons (circular outline style consistent with pill buttons) */
.testimonial-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid var(--border-hairline);
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all 0.25s var(--transition-smooth);
}

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

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

.testimonial-nav-btn:hover {
  color: var(--text-main);
  border-color: var(--accent-lavender);
  background: var(--bg-card-hover);
  transform: translateY(-50%) scale(1.08);
  box-shadow: 0 4px 14px rgba(196, 181, 253, 0.22);
}

.testimonial-nav-btn svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.25;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Dots Indicator */
.testimonial-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  margin-top: 2.5rem;
}

.testimonial-dot {
  width: 8px;
  height: 8px;
  border-radius: 9999px;
  background-color: rgba(255, 255, 255, 0.2);
  border: none;
  padding: 0;
  cursor: pointer;
  min-height: 24px;
  min-width: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-clip: content-box;
  padding: 8px;
  transition: all 0.25s var(--transition-smooth);
}

.testimonial-dot:hover {
  background-color: rgba(255, 255, 255, 0.5);
}

.testimonial-dot.active {
  width: 28px;
  background-color: var(--accent-lavender);
  box-shadow: 0 0 10px var(--accent-lavender-glow);
}

/* THINGS WORTH SHARING */
.things-section {
  padding: var(--section-pad-y) 0;
  border-top: 1px solid var(--border-hairline);
}

.sharing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.75rem;
}

.sharing-card {
  background: var(--bg-card);
  border: 1px solid var(--border-hairline);
  border-radius: 16px;
  padding: 2.5rem 2.25rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 220px;
  transition: all 0.3s var(--transition-smooth);
}

.sharing-card:hover {
  border-color: var(--border-hairline-hover);
  background: var(--bg-card-hover);
  transform: translateY(-4px);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.45), 0 0 18px rgba(196, 181, 253, 0.1);
}

.sharing-title {
  font-family: var(--font-serif);
  font-size: clamp(1.35rem, 2vw, 1.75rem);
  font-weight: 400;
  color: var(--text-main);
  margin-bottom: 1rem;
  line-height: 1.3;
}

.sharing-desc {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* =======================================
   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: 0.45rem 1.15rem;
  background: transparent;
  border: 1px solid var(--border-hairline);
  border-radius: 9999px;
  color: var(--text-muted);
  font-size: 0.8125rem;
  font-weight: 500;
  min-height: 40px;
  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: 0.8125rem;
  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: 0.78125rem;
  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: 0.8125rem;
  color: var(--text-dim);
}

.exp-dot-sep {
  color: var(--text-dim);
  font-size: 0.75rem;
  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: 0.75rem;
  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: 0.8125rem;
  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.03);
}

/* =======================================
   FOOTER / CONTACT SECTION
   ======================================= */
.site-footer {
  padding-top: clamp(5.5rem, 9.5vw, 9rem);
  padding-bottom: clamp(3rem, 5vw, 4.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(4.5rem, 8vw, 7rem);
}

.footer-eyebrow {
  font-size: 0.75rem;
  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: 1.1;
  display: block;
  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 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.5rem;
  padding-top: 2rem;
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.footer-bottom-left {
  font-weight: 400;
  color: var(--text-muted);
}

.footer-bottom-center {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  color: var(--text-muted);
}

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

.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;
  gap: 0.75rem;
}

.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-size: 0.8125rem;
  font-weight: 500;
  transition: all 0.25s var(--transition-smooth);
}

.social-pill .social-icon {
  width: 14px;
  height: 14px;
  fill: currentColor;
}

.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);
}

/* 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) {
  .hero-grid {
    grid-template-columns: 1fr 240px;
    gap: 2.5rem;
  }
  
  .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 / Large Mobile (768px and down) */
@media (max-width: 768px) {
  .nav-inner {
    height: 70px;
  }
  
  .brand-title {
    display: none;
  }
  
  .nav-links {
    gap: 1.25rem;
  }
  
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .hero-portrait-wrapper {
    justify-content: flex-start;
  }

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

  .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;
  }

  .nav-inner {
    height: 64px;
  }

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

  .nav-links {
    gap: 0.875rem;
  }

  .nav-link {
    font-size: 0.8125rem;
  }

  .btn-pill-solid {
    padding: 0.5rem 1rem;
    font-size: 0.8125rem;
  }

  .btn-expand-icon {
    font-size: 0.8125rem;
    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: 0.75rem;
    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: 3.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: 0.5rem;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  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: 0.75rem;
  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: 0.75rem;
  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);
  border-top: 1px solid var(--border-hairline);
  border-bottom: 1px solid var(--border-hairline);
  padding: 0.75rem 0;
  margin-bottom: 3rem;
}

.cs-toc-track {
  display: flex;
  align-items: center;
  gap: 1rem;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 0.25rem 0;
}

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

.cs-toc-link {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 600;
  white-space: nowrap;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  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: 0.85rem;
  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: 0.72rem;
  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: 0.72rem;
  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: 0.82rem;
  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: 0.75rem;
  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: 0.72rem;
  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: 0.85rem;
  color: #f1f5f9;
  font-style: italic;
}

.cs-note-text {
  font-size: 0.85rem;
  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: 0.85rem;
  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: 0.78rem;
  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: 0.82rem;
  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: 0.7rem;
  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: 0.85rem;
  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: 0.78rem;
  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: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #ffffff;
}

.cs-tier-desc {
  font-size: 0.75rem;
  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: 0.72rem;
  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: 0.85rem;
  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: 0.84rem;
  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: 0.75rem;
  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: 0.86rem;
  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: 0.72rem;
  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: 0.82rem;
  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: 0.72rem;
  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: 0.85rem;
  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: 0.72rem;
  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: 0.78rem;
  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: 0.75rem;
  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: 0.85rem;
  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: 0.68rem;
  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: 0.75rem;
  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: 0.7rem; 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: 0.72rem;
  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: 0.82rem;
  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: 0.72rem;
  font-weight: 700;
  color: #94a3b8;
  background: #1e293b;
  padding: 0.25rem 0.5rem;
  border-radius: 6px;
}

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

.mockup-success-badge {
  font-size: 0.68rem;
  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: 0.78rem; 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: 0.78rem; 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: 0.78rem;
  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: 0.72rem; 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: 0.72rem;
  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: 0.7rem;
  color: #94a3b8;
  display: block;
  margin-bottom: 0.25rem;
}

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

.m-room-pill {
  font-size: 0.7rem;
  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: 0.78rem;
  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: 0.72rem;
  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: 0.75rem;
  color: #38bdf8;
  font-weight: 700;
}

.ticket-room {
  font-size: 0.82rem;
  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: 0.78rem;
}

.step-dot {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  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: 0.7rem; color: #94a3b8; }

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

.host-alert-title { font-size: 0.85rem; font-weight: 800; color: #fca5a5; }
.host-alert-desc { font-size: 0.72rem; 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: 0.72rem;
  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: 0.75rem;
  font-weight: 600;
  color: #6ee7b7;
  text-align: center;
}

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

.inbox-pill {
  font-size: 0.68rem;
  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: 0.78rem;
  color: #ffffff;
}

.inbox-badge {
  font-size: 0.6rem;
  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: 0.68rem; 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: 0.72rem; 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: 0.72rem;
  color: #38bdf8;
}

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

.issue-stepper-mini {
  font-size: 0.7rem;
  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: 0.65rem; color: #94a3b8; display: block; }
.t-row strong { font-size: 0.85rem; 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: 0.72rem;
  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: 0.75rem;
  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;
  }
}


