/* ============================================
   COSMOS PORTFOLIO — Static Version
   ============================================ */

@import url('https://fonts.cdnfonts.com/css/gilroy-bold');

@font-face {
  font-family: 'Gilroy Light';
  src: local('Gilroy Light'), local('Gilroy-Light'), local('Gilroy Light 300'),
    url('../public/Gilroy/Gilroy-Light.otf') format('opentype'),
    url('/public/Gilroy/Gilroy-Light.otf') format('opentype');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Gilroy-Light';
  src: local('Gilroy Light'), local('Gilroy-Light'), local('Gilroy Light 300'),
    url('../public/Gilroy/Gilroy-Light.otf') format('opentype'),
    url('/public/Gilroy/Gilroy-Light.otf') format('opentype');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Gilroy';
  src: local('Gilroy Light'), local('Gilroy-Light'), local('Gilroy Light 300'),
    url('../public/Gilroy/Gilroy-Light.otf') format('opentype'),
    url('/public/Gilroy/Gilroy-Light.otf') format('opentype');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Gilroy ExtraBold';
  src: local('Gilroy ExtraBold'), local('Gilroy-ExtraBold'), local('Gilroy Extra Bold'),
    url('../public/Gilroy/Gilroy-ExtraBold.otf') format('opentype'),
    url('/public/Gilroy/Gilroy-ExtraBold.otf') format('opentype');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Gilroy-ExtraBold';
  src: local('Gilroy ExtraBold'), local('Gilroy-ExtraBold'), local('Gilroy Extra Bold'),
    url('../public/Gilroy/Gilroy-ExtraBold.otf') format('opentype'),
    url('/public/Gilroy/Gilroy-ExtraBold.otf') format('opentype');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --nav-h: 70px;
  /* fallback; JS sets this to the nav bar's real measured height */
  --bg-primary: #ffffff;
  --bg-secondary: #f8fafc;
  --bg-surface: #ffffff;
  --bg-surface-elevated: #f1f5f9;
  --bg-glass: rgba(255, 255, 255, 0.94);
  --text-primary: #0f172a;
  --text-secondary: #334155;
  --text-tertiary: #64748b;
  --accent-primary: #0f172a;
  --border: rgba(15, 23, 42, 0.12);
  --border-active: rgba(15, 23, 42, 0.3);
  --font-sans: 'Gilroy-Light', 'Gilroy Light', 'Gilroy', 'Plus Jakarta Sans', system-ui, sans-serif;
  --font-primary: 'Gilroy-Light', 'Gilroy Light', 'Gilroy', 'Plus Jakarta Sans', system-ui, sans-serif;
  --font-heading: 'Gilroy-ExtraBold', 'Gilroy ExtraBold', 'Gilroy-Bold', 'Gilroy', system-ui, sans-serif;
  --font-mono: 'Gilroy-Light', 'Gilroy Light', 'Gilroy', 'SF Mono', monospace;

  /* Global Typography Rules for Gilroy */
  body,
  button,
  input,
  select,
  textarea {
    font-family: 'Gilroy-Light', 'Gilroy Light', 'Gilroy', 'Plus Jakarta Sans', system-ui, sans-serif !important;
  }

  h1,
  h2,
  h3,
  h4,
  h5,
  h6,
  .nav-logo,
  .cs-hero-title,
  .cs-section-title,
  .cs-sec-title,
  .showcase-card-title,
  .projects-headline,
  .abt-block-title,
  .cs-metric-value,
  .loader-brand,
  .loader-pct,
  b,
  strong,
  .cs-prose strong,
  .cs-prose b {
    font-family: 'Gilroy-ExtraBold', 'Gilroy ExtraBold', 'Gilroy-Bold', 'Gilroy', sans-serif !important;
    font-weight: 800 !important;
  }

  --fs-hero: clamp(2.5rem, 8vw, 8.5rem);
  --fs-h1: clamp(3.8rem, 4.5vw, 5rem);
  --fs-h2: clamp(3.4rem, 3vw, 4rem);
  --fs-h3: clamp(1.2rem, 2.5vw, 1.5rem);
  --fs-body: clamp(1rem, 1.5vw, 1.08rem);
  --fs-small: clamp(0.95rem, 1.2vw, 0.95rem);
  --fs-micro: clamp(0.8rem, 0.9vw, 0.75rem);
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 3rem;
  --space-xl: 5.5rem;
  --space-2xl: 8rem;
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--font-primary);
  background: var(--bg-primary);
  color: var(--text-primary);
  cursor: default;
}

h1,
h2,
h3,
h4,
h5,
h6,
.hero-title,
.projects-headline,
.showcase-card-title,
.preview-heading,
.cs-hero h1,
.cs-section h2,
.hero-subtitle,
.showcase-card-subtitle,
.preview-sub,
.disc-group-label,
.preview-label {
  font-family: var(--font-heading);
}

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

button {
  cursor: pointer;
  font-family: inherit;
  border: none;
  background: none;
}

img {
  display: block;
  max-width: 100%;
}

/* ── Modern Premium Loader ── */
#loader {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: var(--bg-primary, #090d16);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.65s cubic-bezier(0.76, 0, 0.24, 1), opacity 0.45s ease;
}

body.light-theme #loader,
body.cs-light-theme #loader {
  background: #f8fafc;
}

#loader.hidden {
  transform: translateY(-100%);
  opacity: 0;
  pointer-events: none;
}

.loader-content-shell {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  text-align: center;
  max-width: 480px;
  width: 90%;
}

.loader-brand {
  font-family: 'Gilroy ExtraBold', 'Plus Jakarta Sans', sans-serif !important;
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text-primary, #ffffff);
  margin-bottom: 0.25rem;
}

body.light-theme .loader-brand,
body.cs-light-theme .loader-brand {
  color: #0f172a !important;
}

.loader-pct-wrap {
  display: flex;
  align-items: baseline;
  justify-content: center;
  font-family: 'Gilroy ExtraBold', 'Plus Jakarta Sans', sans-serif;
  line-height: 1;
}

.loader-pct {
  font-size: clamp(4rem, 9vw, 6.5rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--text-primary, #ffffff);
  font-variant-numeric: tabular-nums;
}

body.light-theme .loader-pct,
body.cs-light-theme .loader-pct {
  color: #0f172a !important;
}

.loader-pct-symbol {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--accent, #e11d48);
  margin-left: 0.2rem;
}

.loader-bar-outer {
  width: 100%;
  max-width: 260px;
  height: 4px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 100px;
  position: relative;
  overflow: hidden;
}

body.light-theme .loader-bar-outer,
body.cs-light-theme .loader-bar-outer {
  background: rgba(15, 23, 42, 0.08);
}

.loader-bar-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #38bdf8, #10b981, #e11d48);
  border-radius: 100px;
  transition: width 0.1s linear;
  box-shadow: 0 0 12px rgba(56, 189, 248, 0.6);
}

.loader-status {
  font-family: var(--font-mono, monospace);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #64748b;
  min-height: 1.5em;
  transition: opacity 0.3s ease;
}

body.dark-theme .loader-status,
body:not(.cs-light-theme):not(.light-theme) .loader-status {
  color: #94a3b8;
}

.loader-logos-stage {
  position: relative;
  width: 180px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 0.5rem;
}

.loader-logo-item {
  position: absolute;
  height: 24px;
  max-width: 120px;
  width: auto;
  object-fit: contain;
  opacity: 0;
  transform: scale(0.92);
  transition: opacity 0.4s ease, transform 0.4s ease;
  pointer-events: none;
  filter: grayscale(100%) opacity(0.7);
}

.loader-logo-item.active {
  opacity: 1;
  transform: scale(1);
  filter: grayscale(0%) opacity(1);
}

/* ── Canvas bg ── */
#cosmic-canvas {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

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

/* ── Nav ── */
nav.nav-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-sm) var(--space-md);
  transition: all 0.5s var(--ease-out-expo);
  transform: translateY(0);
  opacity: 1;
}

nav.nav-bar.nav-visible {
  transform: translateY(0);
  opacity: 1;
}

nav.nav-bar.scrolled {
  background: var(--bg-glass);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  padding: var(--space-xs) var(--space-md);
}

.nav-logo {
  font-family: 'Gilroy ExtraBold', 'Gilroy', 'Plus Jakarta Sans', var(--font-sans, sans-serif), sans-serif !important;
  font-size: clamp(1.35rem, 2.5vw, 1.7rem) !important;
  font-weight: 800 !important;
  letter-spacing: -0.01em !important;
  line-height: 1 !important;
  display: inline-flex !important;
  align-items: center !important;
  cursor: pointer;
  z-index: 1001;
  text-decoration: none !important;
}

.logo-bracket {
  color: #0f172a !important;
  font-weight: 800 !important;
}

body.dark-theme .logo-bracket,
body:not(.cs-light-theme):not(.light-theme) .logo-bracket {
  color: #ffffff !important;
}

.logo-text,
.logo-text-left {
  color: #0f172a !important;
  font-weight: 800 !important;
}

body.dark-theme .logo-text,
body.dark-theme .logo-text-left,
body:not(.cs-light-theme):not(.light-theme) .logo-text,
body:not(.cs-light-theme):not(.light-theme) .logo-text-left {
  color: #ffffff !important;
}

.logo-text-right {
  color: #059669 !important;
  font-weight: 800 !important;
}

body.dark-theme .logo-text-right,
body:not(.cs-light-theme):not(.light-theme) .logo-text-right {
  color: #10b981 !important;
}

.nav-links {
  display: flex;
  gap: var(--space-md);
}

.nav-link {
  font-family: var(--font-mono);
  font-size: var(--fs-micro);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-secondary);
  padding: var(--space-xs) 0;
  transition: color 0.3s;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--accent-primary);
  transform: scaleX(0);
  transition: transform 0.3s var(--ease-out-expo);
}

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

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

.nav-actions {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.nav-download-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 36px;
  padding: 0 14px;
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--text-primary);
  border: 1px solid var(--border);
  transition: border-color 0.3s, color 0.3s;
}

.nav-download-btn:hover {
  border-color: var(--border-active);
  color: #fff;
}

.nav-download-btn svg {
  width: 14px;
  height: 14px;
}

/* Mobile menu toggle */
.nav-menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  padding: 4px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 1001;
}

.menu-bar {
  display: block;
  width: 22px;
  height: 2px;
  background-color: var(--text-primary, #0f172a);
  border-radius: 2px;
  transition: all 0.3s var(--ease-out-expo);
  transform-origin: center;
}

body.light-theme .menu-bar,
html.light-theme .menu-bar,
body.cs-light-theme .menu-bar,
.light-theme .menu-bar {
  background-color: #0f172a !important;
}

body.dark-theme .menu-bar,
html.dark-theme .menu-bar,
.dark-theme .menu-bar {
  background-color: #ffffff !important;
}

.nav-menu-toggle.open .menu-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-menu-toggle.open .menu-bar:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.nav-menu-toggle.open .menu-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile fullscreen menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: var(--bg-primary);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3rem;
  clip-path: circle(0% at calc(100% - 40px) 40px);
  transition: clip-path 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}

.mobile-menu.open {
  clip-path: circle(150% at calc(100% - 40px) 40px);
  pointer-events: all;
}

.mobile-menu-item {
  font-size: clamp(2.5rem, 8vw, 4rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 1.5rem;
  transition: transform 0.3s var(--ease-out-expo);
  opacity: 0;
  transform: translateY(30px);
}

.mobile-menu.open .mobile-menu-item {
  opacity: 1;
  transform: translateY(0);
}

.mobile-menu.open .mobile-menu-item:nth-child(1) {
  transition-delay: 0.1s;
}

.mobile-menu.open .mobile-menu-item:nth-child(2) {
  transition-delay: 0.18s;
}

.mobile-menu.open .mobile-menu-item:nth-child(3) {
  transition-delay: 0.26s;
}

.mobile-menu-item:hover {
  transform: translateX(20px);
}

.mobile-resume-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 48px;
  padding: 0 24px;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-primary);
  border: 1px solid var(--border);
  border-radius: 4px;
  text-decoration: none;
  margin-top: 1rem;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.3s var(--ease-out-expo), transform 0.3s var(--ease-out-expo), border-color 0.3s;
}

.mobile-menu.open .mobile-resume-btn {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.25s;
}

.mobile-resume-btn svg {
  width: 16px;
  height: 16px;
}

.mobile-menu-item .mobile-item-index {
  font-size: var(--fs-small);
  color: var(--text-tertiary);
  font-family: var(--font-mono);
}

/* ── App content ── */
.app-content {
  position: relative;
  z-index: 10;
  padding-top: 0;
}

/* ── Reveal animations ── */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s var(--ease-out-expo), transform 0.8s var(--ease-out-expo);
}

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

.reveal-delay-1 {
  transition-delay: 0.1s;
}

.reveal-delay-2 {
  transition-delay: 0.2s;
}

.reveal-delay-3 {
  transition-delay: 0.3s;
}

.reveal-delay-4 {
  transition-delay: 0.4s;
}

.reveal-delay-5 {
  transition-delay: 0.5s;
}

/* ── Hero Section ── */
.hero-section {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 8rem var(--space-md) 4rem;
  overflow: hidden;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-architecture {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-columns-left,
.hero-columns-right {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 1px;
  background: linear-gradient(to bottom, transparent, var(--border) 20%, var(--border) 80%, transparent);
  opacity: 0.5;
}

.hero-columns-left {
  left: 15%;
}

.hero-columns-right {
  right: 15%;
}

.hero-floor {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--border) 20%, var(--border) 80%, transparent);
}

/* ── Cute Hand-Drawn Doodle Arts in White Space ── */
.hero-doodles-container {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 3;
  overflow: visible;
}

.hero-title-line1 {
  position: relative;
  display: inline-block;
}

.hero-doodle {
  position: absolute;
  pointer-events: none;
  z-index: 5;
}

.hero-doodle--wavy-arrow {
  top: -10px;
  left: -130px;
  transform: rotate(-8deg);
}

.hero-doodle--text-sparkle {
  top: -48px;
  right: -55px;
  transform: rotate(10deg);
}

/* ── Live Hand-Drawn SVG Path Forming Animation ── */
.draw-path {
  stroke-dasharray: 450;
  stroke-dashoffset: 450;
  animation: drawStroke 1.8s cubic-bezier(0.45, 0, 0.15, 1) 0.3s forwards;
}

.draw-head {
  stroke-dasharray: 100;
  stroke-dashoffset: 100;
  animation: drawStroke 0.5s cubic-bezier(0.45, 0, 0.15, 1) 1.5s forwards;
}

.draw-dot {
  opacity: 0;
  transform: scale(0);
  transform-origin: center;
  animation: popDot 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) 1.7s forwards;
}

@keyframes drawStroke {
  to {
    stroke-dashoffset: 0;
  }
}

@keyframes popDot {
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@media (max-width: 1200px) {
  .hero-doodle--wavy-arrow {
    left: -75px;
    transform: scale(0.8) rotate(-6deg);
  }

  .hero-doodle--text-sparkle {
    top: -38px;
    right: -40px;
    transform: scale(0.85);
  }
}

@media (max-width: 992px) {
  .hero-doodle--wavy-arrow {
    display: none;
  }

  .hero-doodle--text-sparkle {
    top: -30px;
    right: -25px;
    transform: scale(0.75);
  }
}

@media (max-width: 600px) {
  .hero-doodle--wavy-arrow {
    display: none;
  }

  .hero-doodle--text-sparkle {
    top: -24px;
    right: -18px;
    transform: scale(0.65);
  }
}

.hero-copy {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
}

.hero-title {
  font-size: var(--fs-hero);
  font-weight: 700;
  line-height: 0.92;
  letter-spacing: -0.03em;
  margin-bottom: 2rem;
  width: 100%;
  word-break: break-word;
  overflow-wrap: break-word;
  hyphens: manual;
}

.hero-title-line1,
.hero-dynamic-text {
  display: inline-block;
  max-width: 100%;
  word-break: break-word;
  overflow-wrap: break-word;
  background-image: linear-gradient(90deg,
      #0f172a 0%,
      #0f172a 20%,
      #2563eb 38%,
      #0284c7 48%,
      #06b6d4 52%,
      #2563eb 62%,
      #0f172a 80%,
      #0f172a 100%) !important;
  background-size: 250% 100% !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  color: transparent !important;
  animation: textShimmerLeftToRight 5s linear infinite !important;
}

body.dark-theme .hero-title-line1,
body.dark-theme .hero-dynamic-text {
  background-image: linear-gradient(90deg,
      rgba(255, 255, 255, 0.7) 0%,
      rgba(255, 255, 255, 0.7) 20%,
      #60a5fa 35%,
      #ffffff 48%,
      #38bdf8 52%,
      #60a5fa 65%,
      rgba(255, 255, 255, 0.7) 80%,
      rgba(255, 255, 255, 0.7) 100%) !important;
  background-size: 250% 100% !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  color: transparent !important;
}

.hero-dynamic-wrapper {
  display: inline-block;
  position: relative;
  vertical-align: bottom;
}

.hero-dynamic-text {
  transition: opacity 0.65s ease, transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.hero-dynamic-text.is-changing {
  opacity: 0;
  transform: translateY(-16px);
}

.hero-dynamic-text.is-entering {
  opacity: 0;
  transform: translateY(16px);
  transition: none !important;
}

@keyframes textShimmerLeftToRight {
  0% {
    background-position: 150% 0;
  }

  100% {
    background-position: -150% 0;
  }
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.35rem);
  color: var(--text-secondary);
  font-weight: 400;
  max-width: 480px;
  line-height: 1.6;
  margin-bottom: 2.5rem;
  margin-left: auto;
  margin-right: auto;
}

.hero-recommend-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 4rem;
}

.hero-recommend-avatars {
  display: flex;
  align-items: center;
}

.hero-recommend-avatar {
  display: block;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2px solid var(--bg-primary);
  margin-left: -8px;
}

.hero-recommend-avatar:first-child {
  margin-left: 0;
}

.hero-recommend-avatar-a {
  background: linear-gradient(135deg, #667eea, #764ba2);
}

.hero-recommend-avatar-b {
  background: linear-gradient(135deg, #f093fb, #f5576c);
}

.hero-recommend-avatar-c {
  background: linear-gradient(135deg, #4facfe, #00f2fe);
}

.hero-recommend-avatar-d {
  background: linear-gradient(135deg, #43e97b, #38f9d7);
}

.hero-recommend-text {
  font-size: var(--fs-small);
  color: var(--text-secondary);
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.hero-recommend-link {
  color: var(--text-primary);
  font-size: var(--fs-micro);
  letter-spacing: 0.1em;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: var(--border);
  transition: text-decoration-color 0.3s;
}

.hero-recommend-link:hover {
  text-decoration-color: var(--text-secondary);
}

/* Logo carousel */
.logo-carousel-wrap {
  position: relative;
  overflow: hidden;
  max-width: 600px;
  margin: 0 auto;
  mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.logo-carousel-track {
  display: flex;
  gap: 2.5rem;
  animation: logoScroll 28s linear infinite;
  width: max-content;
}

.logo-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: var(--fs-small);
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--text-tertiary);
  white-space: nowrap;
  text-transform: uppercase;
  transition: color 0.3s;
  flex-shrink: 0;
}

.logo-item:hover {
  color: var(--text-secondary);
}

.logo-item img {
  max-height: 28px;
  width: auto;
  flex-shrink: 0;
}

.logo-item img[src*="Lufthansa"] {
  max-height: 25px;
}

.logo-item .logo-icon {
  width: 20px;
  height: 20px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 800;
  color: var(--text-secondary);
  flex-shrink: 0;
}

@keyframes logoScroll {
  from {
    transform: translateX(0);
  }

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

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 3rem;
  right: 3rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  opacity: 0.5;
}

.scroll-indicator span {
  font-size: var(--fs-micro);
  letter-spacing: 0.2em;
  color: var(--text-tertiary);
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, transparent, var(--text-tertiary));
  animation: scrollLine 2.2s ease-in-out infinite;
  transform-origin: top;
}

@keyframes scrollLine {
  0% {
    transform: scaleY(0);
    opacity: 0;
  }

  50% {
    transform: scaleY(1);
    opacity: 1;
  }

  100% {
    transform: scaleY(0) translateY(40px);
    opacity: 0;
  }
}

/* ── Projects Section ── */
.projects-section {
  position: relative;
  z-index: 10;
  padding: var(--space-lg) var(--space-md);
}

.projects-top-header {
  padding: 0;
  margin: 0 0 2rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.projects-nav-arrows {
  display: none;
}

.projects-nav-arrows .nav-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--bg-surface-elevated);
  border: none;
  cursor: pointer;
  color: var(--text-primary);
  transition: all 0.3s ease;
}

.projects-nav-arrows .nav-arrow:hover {
  background: var(--border);
  transform: scale(1.05);
}

.projects-nav-arrows .nav-arrow svg {
  width: 18px;
  height: 18px;
}

.projects-headline {
  font-size: clamp(1.5rem, 4vw, 3.5rem);
  font-weight: 700;
  line-height: 0.92;
  letter-spacing: -0.03em;
  color: var(--text-primary);
}

/* Sticky filter/tab bar — shared pattern for any filter or tab row on the
   site (e.g. .proj-filter-bar, .cs-elements-tabs) so switching between
   groups stays reachable without scrolling back up. */
.cs-sticky-filter {
  position: sticky;
  top: var(--nav-h);
  z-index: 20;
  background: var(--bg-glass);
  backdrop-filter: blur(10px);
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}

.proj-filter-bar {
  margin: 0 0 2rem 0;
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.proj-filter-btn {
  padding: 0.5rem 1.25rem;
  font-size: var(--fs-micro);
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-tertiary);
  border: 1px solid transparent;
  background: transparent;
  transition: all 0.3s;
}

.proj-filter-btn:hover {
  color: var(--text-secondary);
  border-color: var(--border);
}

.proj-filter-btn.active {
  color: var(--text-primary);
  border-color: var(--border-active);
}

/* Showcase cards grid */
.showcase-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  padding: 12px 0 16px 0;
  margin-left: 0;
}

.showcase-grid::-webkit-scrollbar {
  height: 0;
  width: 0;
}

.showcase-grid::-webkit-scrollbar-track {
  background: transparent;
}

.showcase-grid::-webkit-scrollbar-thumb {
  background: var(--border-active);
  border-radius: 0;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.showcase-grid::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.35);
}

.showcase-grid.is-scrolling::-webkit-scrollbar {
  height: 6px;
}

.showcase-grid.is-scrolling::-webkit-scrollbar-thumb {
  opacity: 1;
}

.showcase-card {
  position: relative;
  background: var(--bg-surface);
  border: 1px solid transparent;
  border-radius: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  cursor: pointer;
  transition: transform 0.4s var(--ease-out-expo), box-shadow 0.4s ease, border-color 0.35s ease;
  min-width: 0;
  max-width: none;
  height: 100%;
  box-sizing: border-box;
}

/* Container constraints for large screens */
@media (min-width: 1440px) {
  .projects-section {
    margin-left: 6%;
    margin-right: 6%;
  }

  .preview-inner {
    max-width: 80%;
  }
}

@media (min-width: 1680px) {
  .projects-section {
    margin-left: 20%;
    margin-right: 20%;
  }

  .preview-inner {
    max-width: 60%;
  }

  .showcase-card-visual {
    height: 260px;
  }
}

/* Smooth animated gradient border on hover using text highlight colors */
.showcase-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 10;
  pointer-events: none;
  border-radius: inherit;
  padding: 2px;
  background: linear-gradient(90deg, #2563eb 0%, #0284c7 25%, #06b6d4 50%, #38bdf8 75%, #2563eb 100%);
  background-size: 300% 300%;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.showcase-card:hover {
  transform: translateY(-6px);
  border-color: transparent;
  box-shadow: none;
}

.showcase-card:hover::before {
  opacity: 1;
  animation: borderGradientGlow 3.5s linear infinite;
}

@keyframes borderGradientGlow {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

.showcase-card-top {
  padding: 1.25rem .5rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  flex-grow: 1;
}

.showcase-card-label {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--text-tertiary);
  text-transform: uppercase;
  flex-wrap: wrap;
}

.showcase-card-logo {
  height: 24px;
  width: auto;
  object-fit: contain;
  margin-right: auto;
}

.showcase-sector-tag {
  display: none !important;
  align-items: center;
  gap: 0.3rem;
  background: var(--bg-secondary, rgba(255, 255, 255, 0.08));
  color: var(--text-primary);
  font-size: 0.62rem;
  font-weight: 700;
  padding: 0.3rem 0.55rem;

  border: 1px solid var(--border);
  letter-spacing: 0.08em;
  line-height: 1;
  transition: all 0.2s ease;
}

.nutshell-btn {
  display: none !important;
  align-items: center;
  justify-content: center;
  background: var(--bg-surface-elevated);
  color: var(--text-secondary);
  border: 1px solid var(--border);
  width: 24px;
  height: 24px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
  flex-shrink: 0;
  margin-left: 0.25rem;
}

.nutshell-btn:hover {
  background: var(--border);
  color: var(--text-primary);
  transform: translateY(-1px);
}

.showcase-sector-tag svg {
  flex-shrink: 0;
  display: block;
}

/* Sector Color Modifiers */
.showcase-sector-tag.sector-telecom {
  background: rgba(230, 31, 37, 0.12);
  color: #ef4444;
  border-color: rgba(230, 31, 37, 0.25);
}

.showcase-sector-tag.sector-hrtech {
  background: rgba(168, 85, 247, 0.12);
  color: #a855f7;
  border-color: rgba(168, 85, 247, 0.25);
}

.showcase-sector-tag.sector-healthtech {
  background: rgba(14, 165, 233, 0.12);
  color: #0ea5e9;
  border-color: rgba(14, 165, 233, 0.25);
}

.showcase-sector-tag.sector-insurtech {
  background: rgba(249, 115, 22, 0.12);
  color: #f97316;
  border-color: rgba(249, 115, 22, 0.25);
}

.showcase-sector-tag.sector-aviation {
  background: rgba(0, 94, 184, 0.12);
  color: #60a5fa;
  border-color: rgba(96, 165, 250, 0.25);
}

.showcase-sector-tag.sector-ai {
  background: rgba(245, 197, 24, 0.14);
  color: #eab308;
  border-color: rgba(245, 197, 24, 0.35);
  box-shadow: 0 0 10px rgba(245, 197, 24, 0.12);
}

.showcase-card-title {
  font-size: clamp(1.15rem, 2vw, 1.4rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.15;
  color: var(--text-primary);
  margin-top: 0.15rem;
}

/* Stacked info row under title (Pizza Hut style) */
.showcase-card-stacked-sub {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  flex-wrap: wrap;
  margin-top: 0.25rem;
}

.showcase-icon-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  background: #00ff90;
  color: #0b0d14;
  border-radius: 50%;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(0, 255, 144, 0.4);
}

.showcase-dot-separator {
  color: var(--text-secondary);
  font-size: 1.15rem;
  line-height: 1;
  font-weight: 700;
  opacity: 0.9;
  display: inline-block;
  vertical-align: middle;
  margin: 0 0.2rem;
}

.showcase-sub-meta {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-secondary);
  letter-spacing: 0.01em;
}

.showcase-highlight-meta {
  color: var(--text-primary);
  font-weight: 700;
}

.showcase-card-subtitle {
  font-family: var(--font-primary);
  font-weight: 300;
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.45;
  flex: 1;
}

.showcase-meta-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.15rem;
  flex-shrink: 0;
  text-align: right;
}

.showcase-meta-detail {
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--text-primary);
}

.showcase-meta-subdetail {
  font-size: 0.62rem;
  color: var(--text-tertiary);
}

.showcase-card-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: var(--fs-micro);
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-tertiary);
  background: none;
  border: none;
  padding: 0;
  margin-top: 0.75rem;
  transition: color 0.3s, gap 0.3s;
}

.showcase-card:hover .showcase-card-cta {
  color: var(--text-primary);
  gap: 0.75rem;
}

.showcase-card-visual {
  overflow: hidden;
  position: relative;
  min-height: 0;
  width: 100%;
  height: 220px;
  flex-shrink: 0;
}

.showcase-card-visual img,
.showcase-card-visual video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.6s var(--ease-out-expo);
}

.showcase-card:hover .showcase-card-visual img,
.showcase-card:hover .showcase-card-visual video {
  transform: scale(1.04);
}

/* Project groups */
.disc-group {
  margin-bottom: 4rem;

  margin-top: -1rem;
}

.disc-group-label {
  display: block;
  font-size: var(--fs-small);
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-tertiary);
  margin-bottom: 1.5rem;
  margin-left: var(--space-md);
  padding: 0 var(--space-md) 0 0;
}

/* ── Iconic RoastRover-Style Bento Section ── */
#about-preview {
  position: relative;
  z-index: 10;
  padding: clamp(4rem, 6vw, 6rem) var(--space-md);
  border-top: 1px solid var(--border);
  overflow: hidden;
  background: var(--bg-body, #faf9f6);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
}

#about-preview .preview-inner {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.roast-bento-grid {
  display: grid !important;
  grid-template-columns: 1fr 1fr 350px;
  grid-auto-rows: min-content;
  gap: 1.4rem;
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  justify-content: center;
  align-items: stretch;
}

/* Base Card Styling with Tactile SVG Grain Noise Texture & 3D Gyroscope */
.roast-card {
  position: relative;
  overflow: hidden;
  border-radius: 32px;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
  box-shadow: 0 12px 32px -10px rgba(0, 0, 0, 0.1);
  box-sizing: border-box;
  transform-style: preserve-3d;
  will-change: transform;
}

/* Dynamic Cursor Spotlight Sheen */
.roast-card-spotlight {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(circle 350px at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(255, 255, 255, 0.35), transparent 70%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  z-index: 3;
  mix-blend-mode: overlay;
}

.roast-card:hover .roast-card-spotlight {
  opacity: 1;
}

/* Inner 3D Image Parallax Layering */
.roast-card img {
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}

/* Tactile Grain Noise Texture Overlay from Feedback 1 / Airtel Cards */
.roast-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='5' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
  opacity: 0.75;
  mix-blend-mode: overlay;
  pointer-events: none;
  z-index: 1;
}



/* Floating Micro-Animations */
.roast-coffee-img-wrap img {
  animation: floatCoffee 4.5s ease-in-out infinite;
}

@keyframes floatCoffee {

  0%,
  100% {
    transform: translateY(0px) rotate(0deg);
  }

  50% {
    transform: translateY(-8px) rotate(2deg);
  }
}

.roast-tilted-pill {
  animation: floatPill 3.5s ease-in-out infinite;
}

@keyframes floatPill {

  0%,
  100% {
    transform: rotate(-3deg) translateY(0px);
  }

  50% {
    transform: rotate(-1deg) translateY(-5px);
  }
}

.roast-radial-halftone {
  animation: pulseHalftone 4s ease-in-out infinite;
}

@keyframes pulseHalftone {

  0%,
  100% {
    opacity: 0.65;
    transform: scale(1);
  }

  50% {
    opacity: 0.88;
    transform: scale(1.05);
  }
}

.roast-new-annotation {
  animation: pulseAnnotation 2.8s ease-in-out infinite;
}

@keyframes pulseAnnotation {

  0%,
  100% {
    transform: rotate(4deg) scale(1);
  }

  50% {
    transform: rotate(6deg) scale(1.08);
  }
}

.roast-loop-arrow {
  animation: floatArrow 3.2s ease-in-out infinite;
}

@keyframes floatArrow {

  0%,
  100% {
    transform: rotate(-15deg) translateY(0px);
  }

  50% {
    transform: rotate(-12deg) translateY(-4px);
  }
}

.roast-card>* {
  position: relative;
  z-index: 2;
}

.roast-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 26px 52px -12px rgba(0, 0, 0, 0.18);
}

/* Common Typography */
.roast-serif-heading {
  font-family: 'Denton', 'Cooper Black', 'Playfair Display', Georgia, serif;
  font-size: clamp(2.25rem, 3.8vw, 3.25rem);
  font-weight: 900;
  line-height: 1.02;
  letter-spacing: -0.035em;
  color: #000000;
  margin-bottom: 1.25rem;
}

.roast-serif-heading-sm {
  font-family: 'Denton', 'Cooper Black', 'Playfair Display', Georgia, serif;
  font-size: clamp(1.85rem, 3vw, 2.5rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: #000000;
  margin-bottom: 1rem;
}

.roast-serif-subheading {
  font-family: 'Denton', 'Cooper Black', 'Playfair Display', Georgia, serif;
  font-size: clamp(1.75rem, 2.8vw, 2.25rem);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: #000000;
  margin-bottom: 0.85rem;
}

.roast-kicker {
  display: block;
  font-size: 0.725rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(0, 0, 0, 0.6);
  margin-bottom: 0.75rem;
}

.roast-body-text {
  font-family: var(--ff-body, sans-serif);
  font-size: 0.9rem;
  line-height: 1.62;
  color: rgba(0, 0, 0, 0.8);
  font-weight: 450;
  margin: 0;
}

/* ── Row 1 Split: Card 1A (Work - Fresh Matcha Pistachio Lime) & Card 1B (Non-Work - Muted Mineral Petrol Teal) ── */
.roast-card--work {
  grid-column: 1;
  grid-row: 1;
  background: linear-gradient(145deg, #e7fbc8 0%, #cbf587 45%, #a6e855 100%) !important;
  padding: 5.75rem 2.5rem 3rem 2.5rem !important;
  display: flex;
  flex-direction: column;
  justify-content: flex-start !important;
  min-height: 420px !important;
  color: #000000;
  box-shadow: 0 16px 36px -10px rgba(132, 204, 22, 0.28) !important;
}

.roast-card--nonwork {
  grid-column: 2;
  grid-row: 1;
  background: linear-gradient(145deg, #fb7185 0%, #e11d48 48%, #9f1239 100%) !important;
  padding: 5.75rem 2.5rem 3rem 2.5rem !important;
  display: flex;
  flex-direction: column;
  justify-content: flex-start !important;
  min-height: 420px !important;
  color: #ffffff;
  box-shadow: 0 16px 36px -10px rgba(159, 18, 57, 0.45) !important;
}

.bento-vert-card-inner {
  display: flex;
  flex-direction: column;
  justify-content: flex-start !important;
  height: 100%;
  width: 100%;
  gap: 1.25rem;
  position: relative;
  z-index: 2;
}

.bento-card-kicker-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.35rem 0.85rem;
  border-radius: 100px;
  font-family: var(--ff-primary, sans-serif);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  width: fit-content;
  margin-bottom: 0.25rem;
}

.bento-card-kicker-pill--dark {
  background: rgba(0, 0, 0, 0.08);
  color: #0b291b;
  border: 1px solid rgba(0, 0, 0, 0.14);
}

/* Boutique Floral & Sparkle Header Art Just Above Card Titles */
.bento-header-art {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  height: 44px;
  margin-bottom: 0.75rem;
  width: fit-content;
  pointer-events: none;
  z-index: 3;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
}

.bento-header-art--flower {
  animation: spinFlower 20s linear infinite;
  transform-origin: center center;
  filter: drop-shadow(0 4px 12px rgba(11, 41, 27, 0.15));
}

@keyframes spinFlower {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

.roast-card--work:hover .bento-header-art--flower {
  animation: spinFlowerFast 3.5s linear infinite;
}

@keyframes spinFlowerFast {
  0% {
    transform: rotate(0deg) scale(1.15);
  }

  100% {
    transform: rotate(360deg) scale(1.15);
  }
}

.bento-header-art--sparkle-mark {
  animation: floatSparkleMark 4.5s ease-in-out infinite;
  transform-origin: center center;
}

@keyframes floatSparkleMark {

  0%,
  100% {
    transform: rotate(0deg) translateY(0);
  }

  50% {
    transform: rotate(10deg) translateY(-3px) scale(1.06);
  }
}

.roast-card:hover .bento-header-art--sparkle-mark {
  transform: rotate(20deg) scale(1.15);
}

.bento-header-art--dark {
  color: #000000;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.12));
}

.bento-header-art--light {
  color: #ffffff;
  filter: drop-shadow(0 2px 10px rgba(255, 255, 255, 0.3));
}

.bento-two-heading {
  font-family: 'Gilroy-ExtraBold', 'Gilroy ExtraBold', 'Gilroy-Bold', 'Gilroy', 'Denton', sans-serif !important;
  font-size: clamp(2.35rem, 3.4vw, 3rem) !important;
  font-weight: 900 !important;
  line-height: 1.05 !important;
  letter-spacing: -0.045em !important;
  color: #000000;
  -webkit-text-stroke: 0.6px currentColor;
  margin: 0;
  display: block;
}

.bento-two-heading--white,
.roast-card--nonwork .bento-two-heading {
  color: #ffffff !important;
  -webkit-text-stroke: 0.6px #ffffff !important;
}

.roast-card--nonwork .swap-slot-wrap {
  display: inline-flex;
  position: relative;
  overflow: hidden;
  height: 1.15em;
  line-height: 1.05;
  max-width: 100%;
  vertical-align: top;
}

.roast-card--nonwork .swap-slot-pill {
  font-size: clamp(1.75rem, 2.5vw, 2.25rem) !important;
  font-family: inherit !important;
  font-weight: 800 !important;
  line-height: 1.05 !important;
  letter-spacing: -0.03em !important;
  white-space: nowrap;
}

.swap-slot-pill--white,
.roast-card--nonwork .swap-slot-pill,
.swap-slot-text--amber,
.swap-slot-text--emerald,
.swap-slot-text--violet,
.swap-slot-text--rose {
  color: #ffffff !important;
  font-weight: 900 !important;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
  -webkit-text-stroke: 0.7px #ffffff !important;
}

.roast-card-desc {
  font-family: var(--ff-body, sans-serif);
  font-size: 0.965rem;
  line-height: 1.6;
  color: rgba(11, 41, 27, 0.92);
  margin: 0;
  font-weight: 550;
  letter-spacing: -0.01em;
}

.roast-card--work .roast-card-desc {
  color: #0b291b !important;
  font-weight: 550 !important;
}

.roast-card--nonwork .roast-card-desc,
.roast-card-desc--white {
  color: #ffffff !important;
  font-weight: 550 !important;
  opacity: 0.95;
}

.roast-serif-heading {
  font-family: 'Denton', 'Cooper Black', 'Playfair Display', Georgia, serif;
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: #000000;
  margin: 0;
}

.card1-swap-heading {
  margin-bottom: 1.15rem !important;
  line-height: 1.12 !important;
}

.card1-prefix-text {
  display: block;
  font-size: clamp(2.75rem, 4.8vw, 3.85rem) !important;
  font-weight: 900 !important;
  line-height: 1.05 !important;
  letter-spacing: -0.04em !important;
  color: #0f172a;
  margin-bottom: 0.15rem;
}

.swap-slot-wrap {
  display: inline-flex;
  position: relative;
  overflow: hidden;
  vertical-align: top;
  height: 1.35em;
  padding: 0 0.05em;
}

.swap-slot-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.25em;
  font-family: inherit;
  font-size: clamp(1.85rem, 3.2vw, 2.5rem);
  font-weight: 800;
  padding: 0;
  border-radius: 0;
  line-height: 1.25;
  background: transparent !important;
  color: #000000;
  border: none !important;
  box-shadow: none !important;
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.35s ease, color 0.3s ease;
  white-space: nowrap;
}

.swap-slot-text--rose {
  color: #9d174d !important;
}

.swap-slot-text--amber {
  color: #92400e !important;
}

.swap-slot-text--violet {
  color: #4338ca !important;
}

.swap-slot-text--emerald {
  color: #065f46 !important;
}

.roast-card--nonwork .swap-slot-text--rose {
  color: #fbcfe8 !important;
}

.roast-card--nonwork .swap-slot-text--amber {
  color: #fef08a !important;
}

.roast-card--nonwork .swap-slot-text--violet {
  color: #bae6fd !important;
}

.roast-card--nonwork .swap-slot-text--emerald {
  color: #a7f3d0 !important;
}

.card1-sub-line {
  font-size: 0.72em;
  font-weight: 700;
  color: #334155;
  letter-spacing: -0.01em;
}

.roast-card-desc {
  font-family: var(--ff-body, sans-serif);
  font-size: 0.925rem;
  line-height: 1.65;
  color: #111827;
  margin: 0;
  font-weight: 450;
}

.card1-tabs-note {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.25rem;
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(15, 23, 42, 0.12);
  padding: 0.4rem 0.85rem;
  border-radius: 20px;
  font-size: 0.82rem;
  font-weight: 700;
  color: #0f172a;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  transition: all 0.25s ease;
}

.card1-tabs-note:hover {
  background: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
}

.card1-tabs-icon {
  font-size: 0.95rem;
}

/* Card 2: Sky Blue Sky Multistop Gradient Card with 3D Coffee Cup (Column 3, Row 4 now!) */
.roast-card--blue {
  grid-column: 3;
  grid-row: 4;
  background: linear-gradient(145deg, #e0f2fe 0%, #bae6fd 50%, #60a5fa 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 240px;
}

.roast-coffee-img-wrap {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.roast-coffee-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 20px;
}

/* Card 3: Mint Emerald Spec Card for Experience (Column 2, Row 2 - Right of Surbhi Card!) */
.roast-card--spec-mint {
  grid-column: 2;
  grid-row: 2;
  background: linear-gradient(145deg, #d1fae5 0%, #a7f3d0 50%, #34d399 100%);
  padding: 2.25rem 1.75rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  border-radius: 28px;
  box-shadow: 0 12px 32px -10px rgba(16, 185, 129, 0.25);
}

/* Card 4: Sky Cyan Spec Card for Projects Delivered (Column 1, Rows 2-3 - Left Column!) */
.roast-card--spec-cyan {
  grid-column: 1;
  grid-row: 2 / 4;
  height: 100%;
  background: linear-gradient(145deg, #e0f2fe 0%, #bae6fd 50%, #38bdf8 100%);
  padding: 3rem 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  border-radius: 28px;
  box-shadow: 0 12px 32px -10px rgba(56, 189, 248, 0.25);
}

.apple-spec-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  width: 100%;
}

.apple-spec-kicker {
  font-family: var(--ff-primary, sans-serif);
  font-size: 0.75rem;
  font-weight: 800;
  color: rgba(0, 0, 0, 0.6);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.apple-spec-hero {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin: 0.25rem 0;
}

.apple-spec-num {
  font-family: 'Denton', 'Cooper Black', 'Playfair Display', var(--ff-primary, sans-serif);
  font-size: clamp(1.85rem, 2.6vw, 2.35rem);
  font-weight: 900;
  color: #000000;
  letter-spacing: -0.03em;
  line-height: 1;
}

.apple-spec-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  padding: 0.25rem 0.55rem;
  border-radius: 0px !important;
  line-height: 1;
  background: rgba(255, 255, 255, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.roast-card--spec-mint .apple-spec-desc {
  font-family: var(--ff-body, sans-serif);
  font-size: 0.875rem;
  color: #064e3b;
  font-weight: 500;
  margin: 0;
  line-height: 1.4;
}

.roast-card--spec-cyan .apple-spec-desc {
  font-family: var(--ff-body, sans-serif);
  font-size: 0.875rem;
  color: #0c4a6e;
  font-weight: 500;
  margin: 0;
  line-height: 1.4;
}

/* Card 5: Hero Forest Emerald Card with Fading Mandala Background (Spans Columns 1 & 2, Rows 2-3!) */
.roast-card--center-hero {
  grid-column: 1 / span 2;
  grid-row: 2 / 4;
  background: linear-gradient(135deg, #04120a 0%, #0a2315 45%, #0f3325 100%) !important;
  border: 1px solid rgba(52, 211, 153, 0.3) !important;
  box-shadow: 0 20px 48px -10px rgba(4, 18, 10, 0.6) !important;
  padding: 4.5rem 2.5rem !important;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 420px !important;
  height: 100% !important;
  position: relative;
  overflow: hidden;
}

.card5-mandala-bg {
  display: none !important;
  position: absolute;
  inset: -15%;
  background-image: url('../public/bento/mandala.png');
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
  opacity: 0.25;
  pointer-events: none;
  z-index: 1;
  animation: cosmicMandalaSpin 55s linear infinite;
  transform-origin: center center;
  transition: opacity 0.5s ease, filter 0.5s ease;
}

.roast-card--center-hero:hover .card5-mandala-bg {
  opacity: 0.38;
  filter: drop-shadow(0 0 35px rgba(52, 211, 153, 0.45));
}

@keyframes cosmicMandalaSpin {
  0% {
    transform: rotate(0deg) scale(1);
  }

  50% {
    transform: rotate(180deg) scale(1.06);
  }

  100% {
    transform: rotate(360deg) scale(1);
  }
}

.roast-hero-content {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.roast-hero-brand,
.roast-card--center-hero h2,
.roast-card--center-hero .roast-hero-brand {
  font-family: 'Gilroy-ExtraBold', 'Gilroy ExtraBold', 'Gilroy-Bold', 'Gilroy', sans-serif !important;
  font-size: clamp(3.2rem, 5.5vw, 4.8rem);
  font-weight: 900 !important;
  line-height: 0.95;
  letter-spacing: -0.04em;
  color: #ffffff !important;
  text-shadow: 0 2px 15px rgba(0, 0, 0, 0.6), 0 0 35px rgba(52, 211, 153, 0.3) !important;
  margin-bottom: 2.25rem;
}

.roast-tilted-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: #ffffff;
  padding: 0.65rem 1.35rem;
  border-radius: 100px;
  font-size: 0.875rem;
  font-weight: 800;
  color: #000000;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.18);
  transform: rotate(-3deg);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.35s ease;
}

.roast-card--center-hero:hover .roast-tilted-pill {
  transform: rotate(0deg) scale(1.05);
}

.roast-green-pill {
  background: #34d399;
  color: #000000;
  padding: 0.25rem 0.75rem;
  border-radius: 100px;
  font-family: 'Georgia', serif;
  font-style: italic;
}

.pill-slot-wrap {
  display: inline-flex;
  position: relative;
  overflow: hidden;
  vertical-align: middle;
  align-items: center;
  line-height: 1.2;
}

.pill-slot-text {
  display: inline-block;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
  will-change: transform, opacity;
}

/* ── Full Width Standalone Social Pills Row (No Inner Card Wrapper) ── */
.roast-card--socials {
  grid-column: 1 / -1;
  grid-row: 5;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0.5rem 0 !important;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.roast-card--socials .roast-hero-socials {
  margin-top: 0;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  gap: 1.5rem;
}

.roast-card--socials .roast-social-pill {
  flex: 1;
  justify-content: center;
  padding: 0.85rem 1.75rem;
}

.roast-hero-socials {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  width: 100%;
  margin-top: 1.75rem;
}

.roast-social-pill {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  background: transparent !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  padding: 0.55rem 1.15rem;
  border-radius: 100px;
  border: none !important;
  box-shadow: none !important;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.roast-social-pill:hover {
  background: transparent !important;
  transform: translateY(-2px);
  box-shadow: none !important;
}

.roast-social-icons {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.roast-icon-badge {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.12);
  transition: transform 0.25s ease;
}

.roast-social-pill:hover .roast-icon-badge {
  transform: scale(1.08);
}

.roast-icon-badge--x {
  background: #1d9bf0;
}

.roast-icon-badge--insta {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.roast-icon-badge--behance {
  background: #0057ff;
}

.roast-icon-badge--medium {
  background: #000000;
}

.roast-icon-badge--dribbble {
  background: #ea4c89;
}

.roast-icon-badge--linkedin {
  background: #0a66c2;
}

.roast-social-meta {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.roast-social-handle {
  font-family: var(--ff-primary, sans-serif);
  font-size: 0.85rem;
  font-weight: 800;
  color: #000000;
  line-height: 1.15;
}

.roast-social-sub {
  font-family: 'Georgia', serif;
  font-style: italic;
  font-size: 0.725rem;
  color: rgba(0, 0, 0, 0.6);
}

/* Card 6: Unified Dynamic Experience Card (Column 3, Rows 1 to 4!) */
.roast-card--testimonial {
  grid-column: 3;
  grid-row: 1 / 4;
  padding: 1.5rem 1.6rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  transition: background 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.4s ease, box-shadow 0.4s ease;
  height: 100%;
  align-self: stretch;
}

/* Disable animations on About Me section cards */
#about-preview .roast-card,
#about-preview .reveal,
#about-preview [class*="reveal"] {
  opacity: 1 !important;
  transform: none !important;
  transition: none !important;
  animation: none !important;
}

.roast-card--gold {
  background: linear-gradient(145deg, #fde047 0%, #eab308 60%, #d97706 100%);
}

.roast-card--mint {
  background: linear-gradient(145deg, #a7f3d0 0%, #34d399 60%, #10b981 100%);
}

.roast-card--purple {
  background: linear-gradient(145deg, #e9d5ff 0%, #c084fc 60%, #9333ea 100%);
}

.roast-card--blue {
  background: linear-gradient(145deg, #bae6fd 0%, #60a5fa 60%, #3b82f6 100%);
}

.roast-card--rose {
  background: linear-gradient(145deg, #fecdd3 0%, #f472b6 60%, #e11d48 100%);
}

.roast-card--coral {
  background: linear-gradient(145deg, #fed7aa 0%, #fb923c 60%, #f97316 100%);
}

.roast-card--teal {
  background: linear-gradient(145deg, #99f6e4 0%, #2dd4bf 60%, #0d9488 100%);
}

/* ── 50/50 Half-and-Half Bento Row (Card 7 & Card 2) ── */
.roast-bento-row-half {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.4rem;
  width: 100%;
  align-items: stretch;
}

.roast-bento-row-half .roast-card {
  grid-column: auto !important;
  grid-row: auto !important;
  height: 100% !important;
  min-height: 280px;
}

@media (max-width: 900px) {
  .roast-bento-row-half {
    grid-template-columns: 1fr;
  }
}

/* Card 7 Testimonial Hero Card - Warm Sunrise Orange Peach Theme */
.roast-card--testimonial-hero {
  background: linear-gradient(145deg, #ffedd5 0%, #fb923c 50%, #ea580c 100%) !important;
  color: #000000 !important;
  padding: 3.25rem 2.75rem 2.5rem 2.75rem !important;
  border-radius: 28px;
  border: 1px solid rgba(255, 237, 213, 0.4) !important;
  box-shadow: 0 20px 48px -10px rgba(234, 88, 12, 0.35) !important;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  height: 100%;
}

.roast-card--testimonial-hero::before {
  opacity: 0.35 !important;
  mix-blend-mode: overlay !important;
}

.roast-testi-hero-inner {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  margin-top: auto;
  width: 100%;
  position: relative;
  z-index: 5;
}

.roast-testi-hero-slider {
  position: relative;
  min-height: 185px;
}

.card7-testi-item {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  transform: translateY(8px);
  pointer-events: none;
  transition: opacity 0.45s ease, transform 0.45s ease;
}

.card7-testi-item.active {
  position: relative;
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.card7-hero-title {
  font-family: 'Denton', 'Cooper Black', 'Playfair Display', Georgia, serif !important;
  font-size: clamp(3rem, 5.2vw, 4.35rem) !important;
  font-weight: 900 !important;
  line-height: 0.98 !important;
  letter-spacing: -0.045em !important;
  color: #000000 !important;
  margin-bottom: 1.5rem !important;
}

#bento-testimonial-card-7 .card7-quote-title {
  font-family: 'Gilroy-ExtraBold', 'Gilroy ExtraBold', 'Gilroy-Bold', 'Gilroy', sans-serif !important;
  font-size: 1.25rem !important;
  font-weight: 800 !important;
  color: #000000 !important;
  line-height: 1.2 !important;
  margin-bottom: 0.65rem !important;
  letter-spacing: -0.01em !important;
  text-shadow: none !important;
}

#bento-testimonial-card-7 .card7-quote-text {
  font-family: 'Gilroy-Light', 'Gilroy Light', 'Gilroy', 'Plus Jakarta Sans', system-ui, sans-serif !important;
  font-size: 0.95rem !important;
  font-weight: 450 !important;
  color: rgba(0, 0, 0, 0.88) !important;
  line-height: 1.55 !important;
  margin-bottom: 1.15rem !important;
  max-width: 520px !important;
  text-shadow: none !important;
}

.card7-author {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.card7-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  overflow: hidden;
  border: 2.5px solid #000000;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  flex-shrink: 0;
}

.card7-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card7-author-info {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

#bento-testimonial-card-7 .card7-name {
  display: flex !important;
  align-items: center !important;
  gap: 0.45rem !important;
  font-family: 'Gilroy-ExtraBold', 'Gilroy ExtraBold', 'Gilroy-Bold', 'Gilroy', sans-serif !important;
  font-size: 0.975rem !important;
  font-weight: 800 !important;
  color: #000000 !important;
}

#bento-testimonial-card-7 .card7-role {
  font-family: 'Gilroy-Light', 'Gilroy Light', 'Gilroy', sans-serif !important;
  font-size: 0.775rem !important;
  font-weight: 700 !important;
  color: rgba(0, 0, 0, 0.75) !important;
}

.card7-nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 1.2rem;
  padding-top: 0.85rem;
  border-top: 1px solid rgba(0, 0, 0, 0.12);
}

.card7-dots {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.card7-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.25);
  cursor: pointer;
  transition: all 0.3s ease;
}

.card7-dot.active {
  width: 22px;
  border-radius: 100px;
  background: #000000;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}

.card7-arrows {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.card7-btn {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(0, 0, 0, 0.2);
  color: #000000;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.25s ease;
}

.card7-btn:hover {
  background: #000000;
  border-color: #000000;
  color: #ffffff;
  transform: scale(1.08);
}

.roast-testi-hero-right {
  display: flex;
  flex-direction: column;
  align-self: stretch;
  justify-content: center;
  height: 100%;
}

.card7-avatar-stack-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.4) !important;
  border-radius: 24px;
  padding: 3rem 1.5rem;
  min-height: 270px;
  height: 100%;
  text-align: center;
  box-shadow: 0 10px 30px rgba(234, 88, 12, 0.15);
}

.card7-avatar-ring {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.stack-img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 2.5px solid #ea580c;
  object-fit: cover;
  margin-left: -14px;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
}

.stack-img:first-child {
  margin-left: 0;
}

.stack-img:hover {
  transform: translateY(-4px) scale(1.1);
  z-index: 10;
}

.card7-trust-label {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

#bento-testimonial-card-7 .card7-trust-num {
  font-family: 'Gilroy-ExtraBold', 'Gilroy ExtraBold', 'Gilroy-Bold', 'Gilroy', sans-serif !important;
  font-size: 1.25rem !important;
  font-weight: 800 !important;
  color: #000000 !important;
}

#bento-testimonial-card-7 .card7-trust-sub {
  font-family: 'Gilroy-Light', 'Gilroy Light', 'Gilroy', sans-serif !important;
  font-size: 0.75rem !important;
  font-weight: 700 !important;
  color: rgba(0, 0, 0, 0.8) !important;
  letter-spacing: 0.04em !important;
}

.roast-card--white {
  background: linear-gradient(145deg, #f1f5f9 0%, #e2e8f0 50%, #cbd5e1 100%) !important;
  border: 1px solid rgba(0, 0, 0, 0.09) !important;
  box-shadow: 0 12px 32px -10px rgba(0, 0, 0, 0.1) !important;
}

.roast-card--white::before {
  opacity: 0.45 !important;
  mix-blend-mode: multiply !important;
}

.roast-card--white .bento-exp-highlight-pill {
  background: rgba(255, 255, 255, 0.7) !important;
  border: 1px solid rgba(255, 255, 255, 0.85) !important;
}

.roast-card--white .bento-exp-year-pill {
  background: rgba(255, 255, 255, 0.7) !important;
  border: 1px solid rgba(255, 255, 255, 0.85) !important;
}

.bento-testi-header {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 0.15rem;
  margin-bottom: 0.75rem;
  position: relative;
  z-index: 10;
  flex-shrink: 0;
  width: 100%;
}

.bento-exp-sub-heading {
  font-family: var(--ff-body, sans-serif);
  font-size: 0.875rem;
  font-weight: 600;
  color: rgba(0, 0, 0, 0.65);
  margin: 0.15rem 0 0 0;
  letter-spacing: -0.01em;
}

.bento-exp-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.bento-exp-highlight-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 0.35rem 0.85rem;
  border-radius: 100px;
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
}

.bento-exp-stat-hero {
  font-family: 'Denton', 'Cooper Black', var(--ff-primary, sans-serif);
  font-size: 0.95rem;
  font-weight: 900;
  color: #000000;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.bento-exp-stat-sub {
  font-family: var(--ff-body, sans-serif);
  font-size: 0.725rem;
  font-weight: 600;
  color: rgba(0, 0, 0, 0.75);
  white-space: nowrap;
}

.bento-testi-nav {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.bento-testi-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.45);
  color: #000000;
  font-size: 1.45rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.25s ease;
  line-height: 1;
}

.bento-testi-btn:hover {
  background: #000000;
  color: #ffffff;
  border-color: #000000;
  transform: scale(1.1);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
}

.bento-testi-content-stack {
  position: relative;
  width: 100%;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 340px;
}

.bento-testi-single-item {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transform: scale(0.94) translateY(12px);
  filter: blur(8px);
  pointer-events: none;
  transition: opacity 0.55s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.55s cubic-bezier(0.16, 1, 0.3, 1),
    filter 0.55s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.bento-testi-single-item.active {
  position: relative;
  opacity: 1;
  transform: scale(1) translateY(0px);
  filter: blur(0px);
  pointer-events: auto;
}

.bento-testi-single-title {
  font-family: 'Denton', 'Cooper Black', 'Playfair Display', var(--ff-primary, sans-serif);
  font-size: clamp(1.35rem, 2vw, 1.7rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: #000000;
  line-height: 1.15;
  margin-bottom: 1.25rem;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.5s ease;
  transform: translateY(12px);
  opacity: 0;
}

.bento-testi-single-item.active .bento-testi-single-title {
  transform: translateY(0);
  opacity: 1;
  transition-delay: 0.08s;
}

.bento-testi-single-quote {
  font-family: var(--ff-body, sans-serif);
  font-size: clamp(1.025rem, 1.35vw, 1.16rem);
  line-height: 1.65;
  color: #000000;
  font-weight: 500;
  margin: 0;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.5s ease;
  transform: translateY(16px);
  opacity: 0;
}

.bento-testi-single-item.active .bento-testi-single-quote {
  transform: translateY(0);
  opacity: 1;
  transition-delay: 0.16s;
}

.bento-testi-single-author {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-top: auto;
  padding-top: 1.5rem;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.5s ease;
  transform: translateY(20px);
  opacity: 0;
}

.bento-testi-single-item.active .bento-testi-single-author {
  transform: translateY(0);
  opacity: 1;
  transition-delay: 0.24s;
}

.bento-testi-avatar {
  width: 52px !important;
  height: 52px !important;
  border-radius: 50% !important;
  overflow: hidden !important;
  border: 2.5px solid #000000 !important;
  flex-shrink: 0 !important;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25) !important;
  background: #000000 !important;
}

/* ── Full Visual Vertical Experience Timeline Track (Card 6) ── */
.bento-exp-timeline-wrapper {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1.65rem;
  margin-top: 1.15rem;
  padding-left: 0;
  overflow-y: auto;
  flex: 1;
  max-height: 760px;
  scrollbar-width: none;
  /* Firefox */
}

.bento-exp-timeline-wrapper::-webkit-scrollbar {
  display: none;
  /* Chrome/Safari */
}

.bento-exp-timeline-line {
  position: absolute;
  top: 0.5rem;
  bottom: 0.5rem;
  left: 0.4rem;
  width: 2.5px;
  background: linear-gradient(to bottom, #10b981 0%, #38bdf8 25%, #a855f7 50%, #3b82f6 75%, #f472b6 100%);
  border-radius: 2px;
}

.bento-exp-timeline-item {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  padding: 0.35rem 0.25rem;
  border-radius: 0;
  border: none;
  box-shadow: none;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.bento-exp-timeline-item:hover {
  background: transparent;
  transform: translateX(4px);
  box-shadow: none;
}

.bento-exp-timeline-dot {
  position: absolute;
  top: 0.65rem;
  left: -1.35rem;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2.5px solid #ffffff;
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.08);
}

.bento-exp-timeline-dot--green {
  background: #10b981;
}

.bento-exp-timeline-dot--cyan {
  background: #38bdf8;
}

.bento-exp-timeline-dot--purple {
  background: #a855f7;
}

.bento-exp-timeline-dot--blue {
  background: #3b82f6;
}

.bento-exp-timeline-dot--rose {
  background: #f472b6;
}

.bento-exp-company-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.2rem;
}

.bento-exp-logo-box {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  background: transparent !important;
  padding: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  border: none !important;
  height: 20px;
  margin-bottom: 0.25rem;
}

.bento-exp-logo {
  height: 20px;
  width: auto;
  max-width: 75px;
  object-fit: contain;
  display: block;
}

.bento-exp-company-title {
  font-family: 'Denton', 'Cooper Black', var(--ff-primary, sans-serif);
  font-size: 1.08rem;
  font-weight: 900;
  color: #000000;
  margin: 0 0 0.15rem 0;
  letter-spacing: -0.01em;
  line-height: 1.15;
}

.bento-exp-meta-line {
  font-family: var(--ff-primary, sans-serif);
  font-size: 0.825rem;
  font-weight: 700;
  color: #111827;
  margin: 0 0 0.15rem 0;
  line-height: 1.25;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  flex-wrap: wrap;
}

.bento-exp-time-tag {
  font-size: 0.725rem;
  font-weight: 600;
  color: rgba(0, 0, 0, 0.55);
  white-space: nowrap;
}

.bento-exp-company-name {
  font-family: var(--ff-body, sans-serif);
  font-size: 0.775rem;
  font-weight: 500;
  color: rgba(0, 0, 0, 0.65);
  margin: 0;
  line-height: 1.35;
}

.bento-testi-avatar--company {
  background: #ffffff !important;
  border-color: rgba(0, 0, 0, 0.12) !important;
  padding: 6px !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08) !important;
}

.bento-testi-avatar--company img {
  object-fit: contain !important;
  border-radius: 0 !important;
}

.bento-testi-avatar img {
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  max-height: 100% !important;
  object-fit: cover !important;
  display: block !important;
}

.bento-testi-meta {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.bento-testi-name {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.875rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #000000;
}

.bento-testi-role {
  font-size: 0.775rem;
  color: rgba(0, 0, 0, 0.75);
  font-weight: 600;
}

/* Dots Controls */
.bento-testi-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  margin-top: 1.5rem;
}

.bento-testi-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.25);
  cursor: pointer;
  transition: all 0.3s ease;
}

.bento-testi-dot.active {
  width: 24px;
  border-radius: 100px;
  background: #000000;
}

/* Card 7: Bottom Rich Emerald Teal Grain Gradient Card (The Digital Companion) */
.roast-card--yellow {
  grid-column: 1 / 3;
  grid-row: 4;
  background: linear-gradient(145deg, #4ebdb6 0%, #2e8b85 40%, #1b5552 80%, #113937 100%);
  padding: 2.75rem 2.5rem;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 2rem;
  align-items: center;
  box-shadow: 0 16px 40px -12px rgba(27, 85, 82, 0.4);
}

.roast-card--yellow .roast-serif-heading-sm {
  color: #000000;
}

.roast-card--yellow .roast-body-text {
  color: rgba(0, 0, 0, 0.88);
  font-weight: 500;
}

.roast-card--yellow .roast-loop-arrow {
  stroke: #000000;
}

.roast-yellow-left {
  position: relative;
}

.roast-loop-arrow {
  margin-top: 1.25rem;
  display: block;
  transform: rotate(-15deg);
}

.roast-yellow-phone-img {
  width: 100%;
  height: 220px;
  overflow: hidden;
  border-radius: 20px;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.12);
}

/* ── MAIN FOOTER HERO: CELESTIAL DARK NIGHT SKY PROJECT FOLDERS DOSSIER ── */
.desk-mat-card {
  position: relative;
  overflow: hidden;
  background:
    /* Micro Pure White Starlight Constellation Dots */
    radial-gradient(1px 1px at 12% 18%, rgba(255, 255, 255, 0.65) 100%, transparent),
    radial-gradient(1.2px 1.2px at 28% 35%, rgba(255, 255, 255, 0.5) 100%, transparent),
    radial-gradient(1px 1px at 45% 12%, rgba(255, 255, 255, 0.7) 100%, transparent),
    radial-gradient(1.5px 1.5px at 62% 24%, rgba(255, 255, 255, 0.75) 100%, transparent),
    radial-gradient(1px 1px at 78% 15%, rgba(255, 255, 255, 0.6) 100%, transparent),
    radial-gradient(1.2px 1.2px at 89% 42%, rgba(255, 255, 255, 0.55) 100%, transparent),
    radial-gradient(1px 1px at 22% 65%, rgba(255, 255, 255, 0.45) 100%, transparent),
    radial-gradient(1.4px 1.4px at 73% 58%, rgba(255, 255, 255, 0.5) 100%, transparent),
    radial-gradient(1px 1px at 38% 78%, rgba(255, 255, 255, 0.4) 100%, transparent),
    /* Pure Solid Pitch Black Canvas (Zero Blue) */
    #000000 !important;
  border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-left: none !important;
  border-right: none !important;
  border-bottom: none !important;
  border-radius: 0 !important;
  padding: 3.5rem 2vw 0 2vw !important;
  box-shadow: none !important;
  color: #ffffff;
  min-height: 740px !important;
  width: 100% !important;
  transform: none !important;
  transition: none !important;
}

.desk-mat-card:hover,
.roast-card.desk-mat-card:hover {
  transform: none !important;
  box-shadow: none !important;
}

.desk-mat-card:hover .roast-card-spotlight {
  opacity: 0 !important;
  display: none !important;
}

.desk-mat-surface {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 680px;
  padding-top: 1.5rem;
  padding-bottom: 4.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3.2rem;
}

/* ── Constellation Horizon Ticker Ribbon - Ultra Chic Bottom Status Line (Pure Black) ── */
.constellation-horizon-ribbon {
  position: absolute;
  bottom: 0;
  top: auto;
  left: 0;
  right: 0;
  width: 100%;
  overflow: hidden;
  padding: 0.75rem 0;
  background: #000000 !important;
  border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-bottom: none;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  z-index: 50;
  user-select: none;
}

.constellation-ticker-track {
  display: flex;
  width: max-content;
  animation: constellationMarquee 40s linear infinite;
  will-change: transform;
}

.constellation-ticker-track:hover {
  animation-play-state: paused;
}

.constellation-ticker-group {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding-right: 2rem;
  white-space: nowrap;
}

.constellation-star {
  font-size: 0.85rem;
  animation: starTwinklePulse 3s ease-in-out infinite;
}

.star--emerald {
  color: #34d399;
  filter: drop-shadow(0 0 6px #34d399) drop-shadow(0 0 12px rgba(52, 211, 153, 0.8));
}

.star--cyan {
  color: #38bdf8;
  filter: drop-shadow(0 0 6px #38bdf8) drop-shadow(0 0 12px rgba(56, 189, 248, 0.8));
}

.star--violet {
  color: #c084fc;
  filter: drop-shadow(0 0 6px #c084fc) drop-shadow(0 0 12px rgba(192, 132, 252, 0.8));
}

@keyframes starTwinklePulse {

  0%,
  100% {
    opacity: 0.75;
    transform: scale(0.95);
  }

  50% {
    opacity: 1;
    transform: scale(1.25);
  }
}

.constellation-text {
  font-family: var(--ff-primary, sans-serif);
  font-size: clamp(0.74rem, 0.95vw, 0.82rem);
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* Chromatic Harmonized Palette */
.text--cyan {
  color: #38bdf8 !important;
  text-shadow: 0 0 12px rgba(56, 189, 248, 0.45);
}

.text--amber {
  color: #fbbf24 !important;
  text-shadow: 0 0 12px rgba(251, 191, 36, 0.45);
}

.text--emerald {
  color: #34d399 !important;
  text-shadow: 0 0 12px rgba(52, 211, 153, 0.45);
}

.text--violet {
  color: #c084fc !important;
  text-shadow: 0 0 12px rgba(192, 132, 252, 0.45);
}

.text--rose {
  color: #fb7185 !important;
  text-shadow: 0 0 12px rgba(251, 113, 133, 0.45);
}

.text--white {
  color: #ffffff !important;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.4);
}

.constellation-separator {
  color: rgba(255, 255, 255, 0.28);
  font-size: 0.75rem;
}

@keyframes constellationMarquee {
  0% {
    transform: translate3d(0, 0, 0);
  }

  100% {
    transform: translate3d(-50%, 0, 0);
  }
}

/* ── Subtle Delicate Micro Constellation Stars (Soft Glow) ── */
.celestial-stars-field {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;
}

.twinkle-star {
  position: absolute;
  top: var(--top);
  left: var(--left);
  animation: starTwinklePulse var(--dur, 4s) ease-in-out infinite;
  animation-delay: var(--delay, 0s);
  opacity: 0.25;
  line-height: 1;
}

.star-cross {
  font-size: 0.65rem;
  color: rgba(224, 242, 254, 0.6);
  text-shadow: 0 0 3px rgba(56, 189, 248, 0.4);
}

.star-dot {
  width: 2px;
  height: 2px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.7);
  box-shadow: 0 0 2px rgba(56, 189, 248, 0.4);
  display: block;
}

@keyframes starTwinklePulse {

  0%,
  100% {
    opacity: 0.15;
    transform: scale(0.9);
  }

  50% {
    opacity: 0.55;
    transform: scale(1.1);
  }
}

/* Steep Angled Shooting Meteor / Photon Light Streams Canvas */
.desk-mat-grid-lines {
  position: absolute;
  top: -80%;
  bottom: -80%;
  left: -55%;
  right: -55%;
  pointer-events: none;
  transform: rotate(-58deg);
  transform-origin: center center;
  opacity: 1;
  z-index: 1;
  overflow: visible;
}

/* Invisible Base Track (Hidden Static Lines) */
.vert-stream-line {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--left);
  width: 1px;
  height: 100%;
  background: transparent !important;
}

/* Radiant Shooting Photon Light Pulse Flying Along the Steep Angle */
.vert-stream-line::after {
  content: '';
  position: absolute;
  left: 0;
  width: 1.5px;
  height: 130px;
  background: linear-gradient(180deg,
      rgba(255, 255, 255, 0) 0%,
      rgba(255, 255, 255, 0.4) 45%,
      rgba(255, 255, 255, 0.95) 90%,
      #ffffff 100%);
  box-shadow: 0 0 3px rgba(255, 255, 255, 0.7), 0 0 1px #ffffff;
  top: -150px;
  opacity: 0;
  animation: photonPulseShoot var(--dur, 8s) cubic-bezier(0.25, 1, 0.5, 1) infinite;
  animation-delay: var(--delay, 0s);
  will-change: top, opacity;
}

@keyframes photonPulseShoot {
  0% {
    top: -150px;
    opacity: 0;
  }

  4% {
    opacity: 1;
  }

  32% {
    top: 105%;
    opacity: 1;
  }

  35% {
    top: 105%;
    opacity: 0;
  }

  100% {
    top: 105%;
    opacity: 0;
  }
}

/* ── Top Ambient Magnetic Levitation Embroidered Badges Showcase (Extra-Large Hero Badges) ── */
.patches-levitation-row {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: nowrap;
  gap: clamp(0.25rem, 0.95vw, 1.25rem);
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
  margin-top: 1rem;
  margin-bottom: 2.8rem;
  padding: 1.5rem clamp(0.3rem, 1.2vw, 1.5rem);
  position: relative;
  z-index: 25;
  perspective: 1000px;
  overflow: visible;
  box-sizing: border-box;
}

.patches-levitation-row .sticker-item {
  position: relative;
  flex: 0 1 auto;
  width: clamp(130px, 12.2vw, 215px);
  max-width: 215px;
  height: auto;
  cursor: pointer;
  user-select: none;
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), filter 0.4s ease;
  transform: translateY(var(--init-y, 0px)) rotate(var(--init-rot, 0deg));
  will-change: transform;
}

.patches-levitation-row .sticker-item:hover {
  transform: translateY(calc(var(--init-y, 0px) - 20px)) scale(1.2) rotate(0deg) !important;
  z-index: 99;
}

.patches-levitation-row .sticker-item:hover img {
  filter: drop-shadow(0 32px 54px rgba(0, 0, 0, 0.98)) drop-shadow(0 0 22px rgba(255, 255, 255, 0.3)) !important;
  animation: cuteWiggle 0.4s ease-in-out infinite alternate !important;
}

/* Desk Mat Center Stage: Opportunity Headline Section (Above Stickers) */
.desk-mat-center-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 20;
  margin: 1.5rem auto 1rem auto;
  padding: 0.5rem 1rem;
  text-align: center;
}

/* Action CTA Buttons (Directly Below Immediate Joiner - Exact Header Style) */
.opportunity-cta-row {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 22px;
  margin-top: 2.5rem;
  position: relative;
  z-index: 30;
}


.footer-opp-action-btn,
.opportunity-cta-row .footer-opp-action-btn,
body.light-theme .opportunity-cta-row .footer-opp-action-btn,
body.dark-theme .opportunity-cta-row .footer-opp-action-btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 10px !important;
  height: 44px !important;
  padding: 0 22px !important;
  font-family: var(--ff-primary, sans-serif) !important;
  font-size: 0.84rem !important;
  font-weight: 700 !important;
  letter-spacing: 1.6px !important;
  text-transform: uppercase !important;
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.35) !important;
  background: transparent !important;
  background-color: transparent !important;
  border-radius: 0 !important;
  text-decoration: none !important;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
  backdrop-filter: none !important;
  box-shadow: none !important;
  user-select: none;
}

.footer-opp-action-btn:hover,
.opportunity-cta-row .footer-opp-action-btn:hover,
body.light-theme .opportunity-cta-row .footer-opp-action-btn:hover,
body.dark-theme .opportunity-cta-row .footer-opp-action-btn:hover {
  border-color: #ffffff !important;
  color: #ffffff !important;
  background: rgba(255, 255, 255, 0.1) !important;
  background-color: rgba(255, 255, 255, 0.1) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 22px rgba(0, 0, 0, 0.6) !important;
}

.footer-opp-action-btn svg {
  width: 15px !important;
  height: 15px !important;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.footer-opp-action-btn:hover svg {
  transform: translate(2px, -2px);
}

.sticker-item img {
  width: 100%;
  height: auto;
  display: block;
  background: transparent !important;
  border-radius: 0 !important;
  filter: drop-shadow(0 14px 24px rgba(0, 0, 0, 0.75)) drop-shadow(0 4px 8px rgba(0, 0, 0, 0.5));
  pointer-events: none;
  transition: filter 0.35s ease, transform 0.35s ease;
}

/* Individual Cute Floating Animations for All 8 Badges */
.sticker-item--1 img {
  animation: cuteStickerFloat1 4.6s ease-in-out infinite alternate;
}

.sticker-item--2 img {
  animation: cuteStickerFloat2 5.4s ease-in-out infinite alternate;
}

.sticker-item--3 img {
  animation: cuteStickerFloat3 4.9s ease-in-out infinite alternate;
}

.sticker-item--4 img {
  animation: cuteStickerFloat4 5.8s ease-in-out infinite alternate;
}

.sticker-item--5 img {
  animation: cuteStickerFloat1 5.1s ease-in-out infinite alternate-reverse;
}

.sticker-item--6 img {
  animation: cuteStickerFloat2 4.7s ease-in-out infinite alternate-reverse;
}

.sticker-item--7 img {
  animation: cuteStickerFloat3 5.3s ease-in-out infinite alternate-reverse;
}

.sticker-item--8 img {
  animation: cuteStickerFloat4 4.8s ease-in-out infinite alternate-reverse;
}

@keyframes cuteStickerFloat1 {
  0% {
    transform: translateY(0px) rotate(0deg);
  }

  50% {
    transform: translateY(-8px) rotate(2deg) scale(1.02);
  }

  100% {
    transform: translateY(5px) rotate(-1.5deg);
  }
}

@keyframes cuteStickerFloat2 {
  0% {
    transform: translateY(0px) rotate(0deg);
  }

  50% {
    transform: translateY(7px) rotate(-2deg) scale(1.02);
  }

  100% {
    transform: translateY(-6px) rotate(1.5deg);
  }
}

@keyframes cuteStickerFloat3 {
  0% {
    transform: translateY(0px) rotate(0deg);
  }

  50% {
    transform: translateY(-7px) rotate(-1.8deg) scale(1.02);
  }

  100% {
    transform: translateY(6px) rotate(2deg);
  }
}

@keyframes cuteStickerFloat4 {
  0% {
    transform: translateY(0px) rotate(0deg);
  }

  50% {
    transform: translateY(6px) rotate(2.2deg) scale(1.02);
  }

  100% {
    transform: translateY(-7px) rotate(-1.5deg);
  }
}

/* Cute Playful Wiggle on Hover */
.sticker-item:hover {
  transform: translateY(calc(var(--init-y, 0px) - 10px)) scale(1.15) rotate(0deg) !important;
  z-index: 90;
}

.sticker-item:hover img {
  animation: cuteWiggle 0.45s ease-in-out infinite alternate !important;
  filter: drop-shadow(0 24px 38px rgba(0, 0, 0, 0.95)) drop-shadow(0 0 26px rgba(56, 189, 248, 0.6)) !important;
}

@keyframes cuteWiggle {
  0% {
    transform: rotate(-3.5deg) scale(1.04);
  }

  100% {
    transform: rotate(3.5deg) scale(1.06);
  }
}

.sticker-item.is-dragging {
  cursor: grabbing !important;
  transform: translate(var(--dx, 0px), calc(var(--dy, 0px) + var(--init-y, 0px))) scale(1.2) rotate(calc(var(--init-rot, 0deg) + 6deg)) !important;
  z-index: 150 !important;
  transition: none !important;
}

.sticker-item.is-dragging img {
  animation: none !important;
  filter: drop-shadow(0 32px 50px rgba(0, 0, 0, 0.95)) drop-shadow(0 0 35px rgba(56, 189, 248, 0.8)) !important;
}

.sticker-peel-badge {
  position: absolute;
  top: -12px;
  right: -8px;
  background: rgba(255, 255, 255, 0.95);
  color: #0f172a;
  font-family: var(--ff-primary, sans-serif);
  font-size: 0.68rem;
  font-weight: 850;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.22rem 0.6rem;
  border-radius: 100px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.45);
  pointer-events: none;
  animation: badgeWobble 2.4s ease-in-out infinite;
  z-index: 10;
}

@keyframes badgeWobble {

  0%,
  100% {
    transform: rotate(-4deg) scale(1);
  }

  50% {
    transform: rotate(4deg) scale(1.06);
  }
}

/* Center Hero Opportunity Headline */
.sur-center-opportunity {
  display: inline-flex;
  align-items: center;
  gap: clamp(1rem, 2vw, 1.8rem);
  margin: 0 auto;
}

.center-opp-title,
body.light-theme .center-opp-title,
body.dark-theme .center-opp-title,
.desk-mat-card h3.center-opp-title {
  font-family: var(--ff-serif, 'Newsreader', 'Playfair Display', Georgia, serif) !important;
  font-size: clamp(2.2rem, 4vw, 3.6rem) !important;

  font-weight: 600 !important;
  letter-spacing: -0.015em !important;
  color: #ffffff !important;
  opacity: 1 !important;
  margin: 0 !important;
  line-height: 1.18 !important;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.95), 0 0 20px rgba(255, 255, 255, 0.15) !important;
}

.center-opp-star {
  color: #34d399 !important;
  font-size: clamp(1.4rem, 2.4vw, 2rem) !important;
  opacity: 1 !important;
  filter: drop-shadow(0 0 8px #34d399) drop-shadow(0 0 16px rgba(52, 211, 153, 0.8)) !important;
  animation: starTwinklePulse 2.5s ease-in-out infinite !important;
}

.center-opp-sub,
body.light-theme .center-opp-sub,
body.dark-theme .center-opp-sub,
.desk-mat-card p.center-opp-sub {
  font-family: var(--ff-primary, sans-serif) !important;
  font-size: clamp(0.88rem, 1.25vw, 1.12rem) !important;
  font-weight: 800 !important;
  letter-spacing: 0.16em !important;
  text-transform: uppercase !important;
  color: #ffffff !important;
  opacity: 0.95 !important;
  margin: 1.6rem auto 0 auto !important;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8) !important;
}

/* Ribbon Tagline Typography */
.constellation-horizon-ribbon .tagline-phrase {
  font-family: var(--ff-serif, 'Newsreader', 'Playfair Display', Georgia, serif);
  font-style: italic;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.85) !important;
}

.constellation-horizon-ribbon .tagline-tool {
  font-family: var(--ff-serif, 'Newsreader', 'Playfair Display', Georgia, serif);
  font-style: italic;
  font-size: 0.95rem;
  font-weight: 600;
  color: #ffffff !important;
}

.constellation-horizon-ribbon .tagline-punct,
.constellation-horizon-ribbon .tagline-amp {
  font-family: var(--ff-serif, 'Newsreader', 'Playfair Display', Georgia, serif);
  font-style: italic;
  font-size: 0.95rem;
  color: #34d399 !important;
}

.ticker-sentence {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  white-space: nowrap;
}

/* Looking for fulltime opportunity Status Badge */
.footer-opportunity-status {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  margin-top: 0;
  padding: 0.5rem 1.35rem;
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: default;
}

.footer-opportunity-status:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(56, 189, 248, 0.4);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
}

.opp-pulse-dot {
  width: 7.5px;
  height: 7.5px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 10px #10b981, 0 0 18px rgba(16, 185, 129, 0.6);
  animation: oppDotPulse 2.2s ease-in-out infinite;
}

@keyframes oppDotPulse {

  0%,
  100% {
    transform: scale(0.95);
    opacity: 0.85;
  }

  50% {
    transform: scale(1.3);
    opacity: 1;
    box-shadow: 0 0 14px #10b981, 0 0 24px rgba(16, 185, 129, 0.95);
  }
}

.opp-status-text {
  font-family: var(--ff-primary, sans-serif);
  font-size: clamp(0.78rem, 1vw, 0.88rem);
  font-weight: 700;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.92);
  text-transform: uppercase;
}

/* ── Artisanal Animated Signature Tagline ── */
.desk-mat-center-content .sur-footer-tagline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.35rem 0.55rem;
  font-family: Georgia, 'Times New Roman', serif;
  font-style: italic;
  font-size: clamp(1.35rem, 2.5vw, 1.95rem);
  color: #ffffff;
  margin: 0 !important;
  letter-spacing: 0.01em;
  text-shadow: 0 4px 18px rgba(0, 0, 0, 0.75);
  cursor: default;
  user-select: none;
}

/* Luminous Starlight Liquid Shimmer on Phrase */
.tagline-phrase,
.tagline-amp,
.tagline-punct {
  background: linear-gradient(110deg,
      rgba(255, 255, 255, 0.82) 0%,
      rgba(255, 255, 255, 1) 35%,
      rgba(186, 230, 253, 0.95) 50%,
      rgba(255, 255, 255, 1) 65%,
      rgba(255, 255, 255, 0.82) 100%);
  background-size: 220% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: taglineShimmerWave 7s linear infinite;
  display: inline-block;
}

/* Heart Container with Exact Center Anchor */
.tagline-heart-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  vertical-align: middle;
  margin: 0 0.3rem;
}

/* Static Clean Heart Icon */
.tagline-heart {
  display: inline-block;
  font-style: normal;
  filter: drop-shadow(0 0 6px rgba(239, 68, 68, 0.7));
  margin: 0 0.2rem;
  vertical-align: middle;
}

/* 
── Heart Animation & Ripples (Commented out for now) ──
.heart-pulse-halo {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate3d(-50%, -50%, 0);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(239, 68, 68, 0.75) 0%, rgba(244, 63, 94, 0.35) 45%, transparent 70%);
  filter: blur(14px);
  pointer-events: none;
  animation: heartHaloPulse 2.2s cubic-bezier(0.4, 0, 0.2, 1) infinite;
  z-index: 1;
}

.heart-bloom-shade {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate3d(-50%, -50%, 0);
  width: min(190vw, 2400px);
  height: min(190vw, 2400px);
  border-radius: 50%;
  background: radial-gradient(
    circle at center,
    rgba(244, 63, 94, 0.34) 0%,
    rgba(239, 68, 68, 0.2) 14%,
    rgba(217, 70, 239, 0.1) 30%,
    rgba(99, 102, 241, 0.045) 50%,
    rgba(56, 189, 248, 0.015) 70%,
    transparent 88%
  );
  filter: blur(72px);
  pointer-events: none;
  z-index: 0;
  opacity: 0;
  animation: heartBloomOutward 6.6s cubic-bezier(0.16, 0.85, 0.25, 1) infinite;
  will-change: transform, opacity;
}

.shade-1 { animation-delay: 0s; }
.shade-2 { animation-delay: 2.2s; }
.shade-3 { animation-delay: 4.4s; }

@keyframes heartBloomOutward {
  0% { transform: translate3d(-50%, -50%, 0) scale(0.01); opacity: 0; }
  8% { opacity: 0.88; }
  26% { opacity: 0.65; }
  50% { opacity: 0.32; }
  78% { opacity: 0.08; }
  100% { transform: translate3d(-50%, -50%, 0) scale(1); opacity: 0; }
}

@keyframes heartBeatSmooth {
  0% { transform: scale3d(1, 1, 1); filter: drop-shadow(0 0 6px rgba(239, 68, 68, 0.6)); }
  9% { transform: scale3d(1.22, 1.22, 1); filter: drop-shadow(0 0 16px rgba(239, 68, 68, 0.95)) drop-shadow(0 0 24px rgba(244, 63, 94, 0.6)); }
  17% { transform: scale3d(1.05, 1.05, 1); filter: drop-shadow(0 0 8px rgba(239, 68, 68, 0.7)); }
  27% { transform: scale3d(1.3, 1.3, 1); filter: drop-shadow(0 0 20px rgba(239, 68, 68, 1)) drop-shadow(0 0 32px rgba(244, 63, 94, 0.75)); }
  44% { transform: scale3d(1, 1, 1); filter: drop-shadow(0 0 6px rgba(239, 68, 68, 0.6)); }
  100% { transform: scale3d(1, 1, 1); filter: drop-shadow(0 0 6px rgba(239, 68, 68, 0.6)); }
}
*/

/* Tool Brand Names with Interactive Aurora Highlights */
.tagline-tool {
  position: relative;
  display: inline-block;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 0 0.15rem;
}

.tagline-claude,
.tagline-design {
  background: linear-gradient(115deg,
      #ffffff 0%,
      #fed7aa 30%,
      #fb923c 60%,
      #ffffff 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: taglineShimmerWave 6s linear infinite;
}

.tagline-vscode {
  background: linear-gradient(115deg,
      #ffffff 0%,
      #bae6fd 30%,
      #38bdf8 60%,
      #ffffff 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: taglineShimmerWave 6s linear infinite;
}

.tagline-tool:hover {
  transform: translateY(-2px) scale(1.04);
  text-shadow: 0 0 16px rgba(255, 255, 255, 0.8);
}

@keyframes taglineShimmerWave {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

/* Overlapping Stepped Folder Tabs Rack - Full Width End-to-End */
.desk-folders-rack {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  width: 100%;
  position: relative;
  z-index: 20;
  padding: 0.5rem 0 0 0;
  margin-bottom: -90px;
}

.desk-folder {
  position: relative;
  display: flex;
  flex-direction: column;
  flex: 1 1 0;
  min-width: 175px;
  height: 360px;
  text-decoration: none;
  transform: rotate(var(--rot)) translateY(25px);
  z-index: var(--z);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  margin: 0 -1.2vw;
  cursor: pointer;
  filter: drop-shadow(0 -8px 22px rgba(0, 0, 0, 0.55));
}

.desk-folder:hover {
  transform: rotate(0deg) translateY(-60px) scale(1.04) !important;
  z-index: 60 !important;
  filter: drop-shadow(0 -24px 50px rgba(0, 0, 0, 0.8)) !important;
}

.folder-svg-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.folder-content-wrap {
  position: relative;
  z-index: 5;
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 0.6rem 1.35rem 1.35rem 1.35rem;
}

.folder-tab-header {
  display: flex;
  align-items: center;
  height: 38px;
  margin-bottom: 0.75rem;
}

.tab-pos--left {
  justify-content: flex-start;
  padding-left: 0.35rem;
}

.tab-pos--mid-left {
  justify-content: flex-start;
  padding-left: 3.5rem;
}

.tab-pos--center {
  justify-content: center;
}

.tab-pos--mid-right {
  justify-content: flex-end;
  padding-right: 2.75rem;
}

.tab-pos--right {
  justify-content: flex-end;
  padding-right: 0.5rem;
}

.folder-pill-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.22rem 0.75rem;
  border-radius: 6px;
  font-family: var(--ff-primary, sans-serif);
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(0, 0, 0, 0.15);
}

.pill-mint {
  background: #a7f3d0;
  color: #064e3b;
  border-color: #6ee7b7;
}

.pill-yellow {
  background: #fde047;
  color: #713f12;
  border-color: #facc15;
}

.pill-blue {
  background: #bae6fd;
  color: #0369a1;
  border-color: #7dd3fc;
}

.pill-pink {
  background: #fbcfe8;
  color: #831843;
  border-color: #f472b6;
}

.pin-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.35);
}

.folder-tab-eyelets {
  display: flex;
  gap: 8px;
}

.folder-tab-eyelets span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #cbd5e1;
  border: 1.5px solid #64748b;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.6);
}

.folder-body-info {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  padding: 0 0.4rem;
}

.folder-title {
  font-family: 'Gilroy-ExtraBold', 'Gilroy', sans-serif !important;
  font-size: clamp(1.25rem, 1.75vw, 1.55rem);
  font-weight: 900 !important;
  letter-spacing: -0.01em;
  color: #ffffff !important;
  opacity: 1 !important;
  margin: 0;
  line-height: 1.15;
}

.folder-title.font-dark,
.desk-folder--yellow .folder-title {
  color: #000000 !important;
  opacity: 1 !important;
}

.folder-sub {
  font-family: var(--ff-primary, sans-serif) !important;
  font-size: clamp(0.76rem, 1.02vw, 0.88rem) !important;
  font-weight: 800 !important;
  letter-spacing: 0.05em !important;
  color: #ffffff !important;
  opacity: 1 !important;
  margin: 0;
  text-transform: uppercase;
}

.folder-sub.font-dark,
.desk-folder--yellow .folder-sub {
  color: #000000 !important;
  opacity: 1 !important;
  font-weight: 900 !important;
}

.folder-brand-row {
  margin-bottom: 0.2rem;
}

.folder-brand-text {
  font-family: 'Gilroy-ExtraBold', 'Gilroy', sans-serif !important;
  font-size: clamp(1.4rem, 2vw, 1.75rem);
  font-weight: 900 !important;
  color: #ffffff !important;
  opacity: 1 !important;
  letter-spacing: 0.02em;
}

.folder-hand-bubble {
  display: inline-flex;
  padding: 0.2rem 0.65rem;
  border: 1.5px solid rgba(0, 0, 0, 0.7);
  border-radius: 100px;
  font-family: 'Comic Sans MS', 'Denton', cursive, sans-serif;
  font-size: 0.65rem;
  font-weight: 800;
  color: #000000;
  transform: rotate(-4deg);
  width: fit-content;
  background: rgba(255, 255, 255, 0.55);
  margin-bottom: 0.2rem;
}

.folder-crosshair {
  position: absolute;
  top: 48px;
  right: 18px;
  font-size: 0.95rem;
  opacity: 0.55;
  color: #000000;
}

/* Responsiveness for Cutting Mat Rack */
@media (max-width: 1024px) {
  .desk-folder {
    min-width: 160px;
    height: 175px;
    margin: 0 -1.5vw;
  }
}

@media (max-width: 800px) {
  .desk-mat-card {
    padding: 3rem 1.25rem 0 1.25rem !important;
  }

  .desk-folders-rack {
    overflow-x: auto;
    justify-content: flex-start;
    padding-bottom: 1.5rem;
    -webkit-overflow-scrolling: touch;
  }

  .desk-folder {
    flex: 0 0 220px;
    min-width: 220px;
    height: 165px;
    margin: 0 6px;
    transform: none !important;
  }
}

.roast-creative-email-btn:hover .roast-creative-email-badge {
  transform: translateX(2px);
  background: #34d399;
}

.roast-creative-meta-row {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.roast-creative-meta-chip {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.8);
  padding: 0.65rem 1.1rem;
  border-radius: 100px;
  font-family: var(--ff-primary, sans-serif);
  font-size: 0.825rem;
  font-weight: 700;
  color: #000000;
}

.roast-tilted-pill--creative {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(0, 0, 0, 0.08);
  padding: 0.45rem 0.95rem;
  border-radius: 100px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  font-family: var(--ff-primary, sans-serif);
  font-size: 0.8rem;
  font-weight: 700;
  color: #000000;
  transform: rotate(-1.5deg);
  transition: transform 0.3s ease;
  margin-top: 0.25rem;
}

.roast-tilted-pill--creative:hover {
  transform: rotate(0deg) scale(1.02);
}

.roast-tilted-pill--creative .roast-green-pill {
  background: #000000;
  color: #ffffff;
  padding: 0.2rem 0.65rem;
  border-radius: 100px;
  font-weight: 800;
}

/* ── Robust Responsive Rules for About Bento Grid ── */
@media (max-width: 1080px) {
  .roast-bento-grid {
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
    padding: 0 1rem;
  }

  .roast-card--work {
    grid-column: 1;
    grid-row: 1;
    min-height: 380px !important;
  }

  .roast-card--nonwork {
    grid-column: 2;
    grid-row: 1;
    min-height: 380px !important;
  }

  .roast-card--center-hero {
    grid-column: 1 / span 2;
    grid-row: 2;
    min-height: 380px !important;
  }

  .roast-card--testimonial {
    grid-column: 1 / span 2;
    grid-row: 3;
    min-height: auto !important;
    height: auto !important;
  }

  .bento-exp-timeline-wrapper {
    max-height: 480px !important;
  }

  .roast-bento-row-half {
    grid-column: 1 / span 2;
    grid-row: 4;
    grid-template-columns: 1fr 1fr;
  }

  .roast-socials-row {
    grid-column: 1 / span 2;
    grid-row: 5;
    flex-wrap: wrap;
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .roast-bento-grid {
    display: flex !important;
    flex-direction: column;
    gap: 1.15rem;
    padding: 0 0.5rem;
  }

  .roast-card {
    width: 100% !important;
    min-height: auto !important;
    border-radius: 26px !important;
  }

  .roast-card--work,
  .roast-card--nonwork {
    padding: 3rem 1.75rem 2.25rem 1.75rem !important;
    min-height: 340px !important;
  }

  .bento-two-heading {
    font-size: clamp(2rem, 7.5vw, 2.45rem) !important;
  }

  .roast-card--nonwork .swap-slot-pill {
    font-size: clamp(1.35rem, 5.2vw, 1.65rem) !important;
  }

  .roast-card--center-hero {
    padding: 3.5rem 1.5rem !important;
    min-height: 340px !important;
  }

  .roast-hero-brand {
    font-size: clamp(2.85rem, 11vw, 3.85rem) !important;
    margin-bottom: 1.75rem !important;
  }

  .roast-card--testimonial {
    padding: 2.25rem 1.5rem !important;
  }

  .bento-exp-timeline-wrapper {
    max-height: 420px !important;
  }

  .roast-bento-row-half {
    display: flex;
    flex-direction: column;
    gap: 1.15rem;
    width: 100%;
  }

  .roast-card--testimonial-hero {
    padding: 2.75rem 1.75rem 2.25rem 1.75rem !important;
  }

  .card7-hero-title {
    font-size: clamp(2.35rem, 8.5vw, 3.15rem) !important;
    margin-bottom: 1.25rem !important;
  }

  #bento-testimonial-card-7 .card7-quote-title {
    font-size: 1.15rem !important;
  }

  #bento-testimonial-card-7 .card7-quote-text {
    font-size: 0.9rem !important;
  }

  .roast-card--coffee {
    min-height: 260px !important;
    height: 260px !important;
  }

  .roast-socials-row {
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
    width: 100%;
  }

  .roast-social-pill {
    flex: 1 1 calc(50% - 0.75rem);
    min-width: 135px;
    justify-content: center;
  }
}

@media (max-width: 480px) {

  .roast-card--work,
  .roast-card--nonwork {
    padding: 2.5rem 1.35rem 2rem 1.35rem !important;
  }

  .bento-two-heading {
    font-size: 1.85rem !important;
  }

  .roast-card--nonwork .swap-slot-pill {
    font-size: 1.25rem !important;
  }

  .card7-hero-title {
    font-size: 2.15rem !important;
  }

  .roast-social-pill {
    flex: 1 1 100%;
  }
}

.about-preview-signal-label {
  color: var(--text-tertiary);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: var(--fs-micro);
  min-width: 100px;
}

.about-preview-signal-value {
  color: var(--text-secondary);
}

.preview-cta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.5rem;
  color: var(--text-primary);
  transition: gap 0.3s;
  white-space: nowrap;
  flex-shrink: 0;
}

.preview-cta:hover {
  gap: 1rem;
}

.preview-cta-label {
  font-size: var(--fs-small);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.preview-cta-arrow {
  font-size: 1.5rem;
}

/* ── Work Hero ── */
.work-hero {
  padding: 12rem var(--space-md) 4rem;
  position: relative;
  z-index: 10;
}

.work-hero-inner {
  max-width: 1400px;
  margin: 0 auto;
}

.work-hero-kicker {
  font-size: var(--fs-micro);
  font-weight: 700;
  letter-spacing: 0.25em;
  color: var(--text-tertiary);
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.work-hero-kicker::before {
  content: '';
  display: block;
  width: 32px;
  height: 1px;
  background: var(--text-tertiary);
}

.work-hero h1 {
  font-size: clamp(3rem, 8vw, 7rem);
  font-weight: 700;
  line-height: 0.92;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  margin-bottom: 2rem;
}

.work-hero-meta {
  display: flex;
  gap: 3rem;
  margin-top: 3rem;
  flex-wrap: wrap;
}

.work-hero-stat {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.work-hero-stat-value {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 700;
  color: var(--text-primary);
}

.work-hero-stat-label {
  font-size: var(--fs-micro);
  color: var(--text-tertiary);
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

/* ── Testimonials ── */
.testimonials-section {
  position: relative;
  z-index: 10;
  padding: var(--space-2xl) var(--space-md);
  border-top: 1px solid var(--border);
}

.testimonials-inner {
  max-width: 1400px;
  margin: 0 auto;
}

.section-header {
  margin-bottom: 3rem;
}

.section-number {
  display: block;
  font-size: var(--fs-micro);
  color: var(--text-tertiary);
  letter-spacing: 0.2em;
  margin-bottom: 0.5rem;
}

.section-title {
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.0;
}

.title-accent {
  color: var(--text-secondary);
}

.testimonial-featured {
  position: relative;
  padding: 3rem;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  margin-bottom: 1.5rem;
}

.testimonial-featured-mark {
  display: block;
  font-size: 4rem;
  color: var(--text-tertiary);
  line-height: 1;
  margin-bottom: 1rem;
  font-family: Georgia, serif;
}

.testimonial-featured-text {
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  color: var(--text-primary);
  line-height: 1.6;
  font-style: italic;
  margin-bottom: 2rem;
  max-width: 900px;
}

.testimonial-featured-footer {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.testimonial-avatar {
  width: 40px;
  height: 40px;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--fs-micro);
  font-weight: 700;
  color: var(--text-secondary);
  background: var(--bg-surface-elevated);
  flex-shrink: 0;
}

.testimonial-name {
  display: block;
  font-size: var(--fs-small);
  font-weight: 700;
  color: var(--text-primary);
}

.testimonial-role {
  display: block;
  font-size: var(--fs-micro);
  color: var(--text-tertiary);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5px;
}

.testimonial-card {
  padding: 2rem;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  transition: transform 0.3s var(--ease-out-expo), box-shadow 0.3s;
}

.testimonial-card:hover {
  transform: translateY(-8px);
}

.testimonial-quote-mark {
  font-size: 2.5rem;
  color: var(--text-tertiary);
  line-height: 1;
  font-family: Georgia, serif;
  margin-bottom: 0.75rem;
}

.testimonial-text {
  font-size: var(--fs-body);
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 2rem;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* ── About Page ── */
.about-page {
  position: relative;
  z-index: 10;
}

.about-section-v2 {
  padding: 10rem var(--space-md) var(--space-2xl);
}

.about-inner {
  max-width: 1400px;
  margin: 0 auto;
}

.about-hero {
  margin-bottom: 5rem;
}

.about-hero-label {
  display: block;
  font-size: var(--fs-micro);
  font-weight: 700;
  letter-spacing: 0.25em;
  color: var(--text-tertiary);
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.about-headline {
  font-size: clamp(2.5rem, 6vw, 5.5rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.05;
  color: var(--text-primary);
  margin-bottom: 1.5rem;
}

.about-headline em {
  font-style: italic;
  color: var(--text-secondary);
}

.about-hero-sub {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 680px;
}

.about-stats-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin-bottom: 5rem;
}

.about-stat {
  padding: 2.5rem 2rem;
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.about-stat:last-child {
  border-right: none;
}

.about-stat-value {
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.03em;
  line-height: 1;
  display: block;
}

.about-stat-label {
  font-size: var(--fs-micro);
  color: var(--text-tertiary);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  white-space: pre-line;
  line-height: 1.4;
}

.about-beliefs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5px;
  margin-bottom: 5rem;
}

.about-belief-card {
  padding: 2.5rem;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  transition: transform 0.3s var(--ease-out-expo);
}

.about-belief-card:hover {
  transform: translateY(-6px);
}

.about-belief-number {
  display: block;
  font-family: var(--font-mono);
  font-size: var(--fs-micro);
  color: var(--text-tertiary);
  margin-bottom: 1rem;
}

.about-belief-title {
  font-size: var(--fs-h3);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
}

.about-belief-body {
  font-size: var(--fs-small);
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Journey */
.about-journey {
  margin-bottom: 5rem;
}

.about-journey-title {
  font-size: var(--fs-h2);
  font-weight: 700;
  margin-bottom: 2rem;
  letter-spacing: -0.01em;
}

.journey-item {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 2rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--border);
  align-items: center;
}

.journey-year {
  font-size: var(--fs-micro);
  color: var(--text-tertiary);
  font-family: var(--font-mono);
  letter-spacing: 0.1em;
}

.journey-content {}

.journey-company {
  font-size: var(--fs-body);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.25rem;
}

.journey-stage {
  display: inline-block;
  font-size: var(--fs-micro);
  border: 1px solid var(--border);
  padding: 2px 8px;
  color: var(--text-tertiary);
  margin-bottom: 0.5rem;
}

.journey-achievement {
  font-size: var(--fs-small);
  color: var(--text-secondary);
  line-height: 1.5;
}

/* Signals */
.about-signals {
  margin-bottom: 4rem;
}

.signals-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5px;
}

.signal-block {
  padding: 2rem;
  background: var(--bg-surface);
  border: 1px solid var(--border);
}

.signal-label {
  font-size: var(--fs-micro);
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-tertiary);
  margin-bottom: 1.25rem;
}

.signal-items {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.signal-item {
  font-size: var(--fs-small);
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.signal-item::before {
  content: '—';
  color: var(--text-tertiary);
  font-size: var(--fs-micro);
}

/* CTA Section */
.about-cta {
  padding: 4rem;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
  flex-wrap: wrap;
}

.about-cta-text h3 {
  font-size: var(--fs-h2);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
}

.about-cta-text p {
  font-size: var(--fs-body);
  color: var(--text-secondary);
}

.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 2rem;
  background: var(--text-primary);
  color: var(--bg-primary);
  font-size: var(--fs-small);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: opacity 0.3s, gap 0.3s;
  flex-shrink: 0;
}

.cta-btn:hover {
  opacity: 0.9;
  gap: 1.25rem;
}

/* ── Footer ── */
/* ── Iconic Social Pill Cards Footer ── */
.sur-footer {
  position: relative;
  z-index: 10;
  background: transparent !important;
  border-top: none !important;
  color: #ffffff;
  overflow: hidden !important;
  padding: 2.5rem 0 0 0 !important;
  width: 100% !important;
}

/* Film Grain Texture Overlay for Footer */
.sur-footer::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.68' numOctaves='5' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
  opacity: 0.55;
  mix-blend-mode: overlay;
  pointer-events: none;
  z-index: 1;
}

.sur-footer-shell {
  position: relative;
  z-index: 2;
  max-width: 100% !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
}

.sur-footer-contact-wrap {
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
}

.sur-footer-contact-wrap .roast-card--contact-creative {
  grid-column: auto !important;
  grid-row: auto !important;
  width: 100%;
}

.sur-footer-social-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin-bottom: 2.5rem;
}

.sur-footer-social-wrapper .roast-hero-socials {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  width: 100%;
}

.sur-social-pill {
  background: transparent !important;
  border: none !important;
  border-radius: 20px;
  padding: 0.9rem 1.6rem;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: none !important;
}

.sur-social-pill:hover {
  transform: translateY(-3px);
  background: transparent !important;
  border-color: transparent !important;
  box-shadow: none !important;
}

.sur-social-icons {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

/* Individual Social Icon Buttons */
.sur-social-icon-btn {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease;
  flex-shrink: 0;
  font-family: var(--font-sans, sans-serif);
}

.sur-social-icon-btn:hover {
  transform: scale(1.12);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.sur-social-icon--twitter {
  background: #1da1f2;
}

.sur-social-icon--instagram {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.sur-social-icon--behance {
  background: #0057ff;
  color: #ffffff;
  font-weight: 800;
  font-size: 1.1rem;
  letter-spacing: -0.02em;
}

.sur-social-icon--medium {
  background: #121212;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  font-weight: 900;
  font-size: 1.25rem;
  font-family: Georgia, serif;
}

.sur-social-icon--dribbble {
  background: #ea4c89;
}

.sur-social-icon--linkedin {
  background: #0077b5;
  color: #ffffff;
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}

/* Social Handle & Subtitle Text */
.sur-social-info {
  display: flex;
  flex-direction: column;
}

.sur-social-handle {
  font-size: 0.925rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: 0.01em;
}

.sur-social-sub {
  font-family: Georgia, 'Times New Roman', serif;
  font-style: italic;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.55);
  margin-top: 0.15rem;
}

/* Ornamental Center Line Divider */
.sur-footer-ornament {
  color: rgba(255, 255, 255, 0.35);
  text-align: center;
  margin: 2.25rem 0 1.25rem 0;
  display: flex;
  justify-content: center;
}

/* Footer Signature Tagline */
.sur-footer-tagline {
  font-family: Georgia, 'Times New Roman', serif;
  font-style: italic;
  font-size: clamp(1rem, 1.8vw, 1.25rem);
  color: rgba(255, 255, 255, 0.85);
  text-align: center;
  margin: 2.5rem 0 1.5rem 0;
  letter-spacing: 0.01em;
}

@media (max-width: 768px) {
  .sur-social-pill {
    flex-direction: column;
    align-items: flex-start;
    padding: 1rem 1.25rem;
    gap: 0.85rem;
    width: 100%;
    max-width: 360px;
  }
}

.sur-footer-mid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  padding-bottom: 2rem;
  font-size: var(--fs-micro);
  color: var(--text-tertiary);
  border-bottom: 1px solid var(--border);
  margin-bottom: 0;
}

.sur-footer-toplink {
  font-size: var(--fs-micro);
  color: var(--text-tertiary);
  transition: color 0.3s;
  letter-spacing: 0.1em;
}

/* ── Antigravity IDE Footer Badge ── */
.sur-footer-built-with {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: var(--fs-micro, 0.75rem);
  color: var(--text-tertiary, #64748b);
}

.antigravity-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.2rem 0.65rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 99px;
  color: var(--text-primary, #ffffff);
  font-weight: 600;
  font-size: 0.72rem;
  letter-spacing: 0.02em;
  transition: all 0.25s ease;
  text-decoration: none;
}

body.light-theme .antigravity-badge,
body.cs-light-theme .antigravity-badge {
  background: rgba(15, 23, 42, 0.04) !important;
  border: 1px solid rgba(15, 23, 42, 0.12) !important;
  color: #0f172a !important;
}

.antigravity-badge:hover {
  background: rgba(154, 77, 255, 0.12) !important;
  border-color: rgba(154, 77, 255, 0.4) !important;
  transform: translateY(-1px);
}

.antigravity-logo-icon {
  flex-shrink: 0;
  display: inline-block;
  vertical-align: middle;
}

.sur-footer-toplink:hover {
  color: var(--text-primary);
}

.sur-footer-brand {
  font-family: 'Gilroy ExtraBold', 'Gilroy', 'Plus Jakarta Sans', var(--font-sans, sans-serif), sans-serif !important;
  font-size: clamp(8rem, 24vw, 32rem) !important;
  font-weight: 800 !important;
  letter-spacing: -0.04em !important;
  color: rgba(15, 23, 42, 0.08) !important;
  line-height: 0.8 !important;
  margin-top: 1.5rem;
  margin-bottom: -1rem;
  user-select: none;
  text-align: center;
  display: block !important;
  width: 100% !important;
  white-space: nowrap !important;
  pointer-events: none;
}

/* ── Work detail divider ── */
.work-subsection-divider {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 2rem var(--space-md);
  max-width: 1400px;
  margin: 0 auto;
}

.work-subsection-divider::before,
.work-subsection-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

.work-subsection-label {
  font-size: var(--fs-micro);
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-tertiary);
  flex-shrink: 0;
}

/* ── Case Study (simplified) ── */
.cs-shell {
  position: relative;
  z-index: 10;
  max-width: 900px;
  margin: 0 auto;
  padding: 8rem var(--space-md) var(--space-2xl);
}

.cs-hero {
  margin-bottom: 4rem;
}

.cs-hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: var(--fs-micro);
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-tertiary);
  margin-bottom: 1.5rem;
}

.cs-eyebrow-logo {
  height: 22px;
  width: auto;
  max-width: 70px;
  object-fit: contain;
  filter: brightness(1.15);
  display: block;
}

.cs-dot {
  width: 4px;
  height: 4px;
  background: var(--text-tertiary);
  border-radius: 50%;
  display: inline-block;
}

.cs-hero-title {
  font-size: clamp(2.5rem, 7vw, 6.5rem);
  font-weight: 700;
  line-height: 0.92;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
  color: var(--text-primary);
}

.cs-hero-sub {
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  color: var(--text-secondary);
  max-width: 700px;
  line-height: 1.5;
  margin-bottom: 1.5rem;
}

.cs-hero-hook {
  font-size: clamp(1rem, 1.8vw, 1.25rem);
  color: var(--text-tertiary);
  width: 100%;
  max-width: 100%;
  line-height: 1.65;
  font-style: italic;
}

.cs-showcase {
  margin-bottom: 4rem;
}

.cs-showcase img {
  width: 100%;
  max-height: 70vh;
  object-fit: cover;
  object-position: top;
  cursor: zoom-in;
  transition: opacity 0.3s;
}

.cs-showcase img:hover {
  opacity: 0.95;
}

.cs-section {
  margin-bottom: 5rem;
  padding-top: 3rem;
  border-top: 1px solid var(--border);
}

.cs-section-num {
  display: block;
  font-family: var(--font-mono);
  font-size: var(--fs-micro);
  color: var(--text-tertiary);
  margin-bottom: 0.75rem;
  letter-spacing: 0.1em;
}

.cs-section-title {
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 2rem;
}

.cs-narrow {
  max-width: 100%;
}

.cs-brief-meta {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-bottom: 1.5rem;
}

.cs-brief-role {
  font-size: var(--fs-small);
  font-weight: 700;
  color: var(--text-primary);
}

.cs-brief-timeline {
  font-size: var(--fs-small);
  color: var(--text-tertiary);
}

.cs-brief-lede {
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 1.25rem;
}

.cs-brief-detail {
  font-size: var(--fs-body);
  color: var(--text-tertiary);
  line-height: 1.7;
}

.cs-metrics-row {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 1.5rem !important;
  border: none !important;
  background: transparent !important;
  box-shadow: none !important;
  margin-top: 2rem !important;
  margin-bottom: 2.5rem !important;
  padding: 0 !important;
}

@media (max-width: 768px) {
  .cs-metrics-row {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 1.25rem !important;
  }
}

.cs-metric {
  flex: 1 1 auto !important;
  min-width: 0 !important;
  padding: 0 !important;
  border: none !important;
  background: transparent !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  gap: 0 !important;
}

.cs-metric-value {
  font-family: 'Gilroy ExtraBold', 'Plus Jakarta Sans', var(--font-sans, sans-serif), sans-serif !important;
  font-size: clamp(2.4rem, 4.5vw, 3.25rem) !important;
  font-weight: 800 !important;
  color: var(--text-primary, #0f172a) !important;
  letter-spacing: -0.03em !important;
  line-height: 1.05 !important;
  margin: 0 0 0.45rem 0 !important;
}

.cs-metric-label {
  font-family: var(--font-mono, monospace), sans-serif !important;
  font-size: 0.75rem !important;
  font-weight: 600 !important;
  color: var(--text-tertiary, #64748b) !important;
  letter-spacing: 0.14em !important;
  text-transform: uppercase !important;
  margin: 0 0 0.35rem 0 !important;
}

.cs-metric-sub {
  font-family: 'Plus Jakarta Sans', var(--font-sans, sans-serif), sans-serif !important;
  font-size: 0.85rem !important;
  font-weight: 500 !important;
  color: var(--text-secondary, #64748b) !important;
  margin: 0 !important;
}

.cs-pullquote {
  padding: 2rem;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  margin-bottom: 5rem;
}

.cs-pullquote-mark {
  font-size: 4rem;
  color: var(--text-tertiary);
  font-family: Georgia, serif;
  display: block;
  line-height: 1;
  margin-bottom: 1rem;
}

.cs-pullquote-text {
  font-size: clamp(1.2rem, 2.5vw, 1.7rem);
  color: var(--text-primary);
  font-style: italic;
  line-height: 1.5;
  margin-bottom: 1.5rem;
}

.cs-pullquote-source {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.cs-pullquote-who {
  font-size: var(--fs-small);
  font-weight: 700;
  color: var(--text-primary);
}

.cs-pullquote-ctx {
  font-size: var(--fs-micro);
  color: var(--text-tertiary);
  letter-spacing: 0.1em;
}

.cs-outcomes-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 2rem;
  margin-top: 0rem;
}

.cs-col-label {
  font-size: var(--fs-micro);
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-tertiary);
  margin-bottom: 0rem;
}

.cs-outcome-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 0;
  list-style: none;
}

.cs-outcome-list li {
  font-size: var(--fs-small);
  color: var(--text-secondary);
  line-height: 1.6;
  padding-left: 1.25rem;
  position: relative;
}

.cs-outcome-list li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--text-tertiary);
}

.cs-close {
  padding: 5rem 0 2rem;
  border-top: 1px solid var(--border);
  text-align: center;
}

.cs-close-line {
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  color: var(--text-secondary);
  font-style: italic;
  margin-bottom: 2rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.cs-close-tags {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 3rem;
}

.cs-close-tags span {
  padding: 0.3rem 0.75rem;
  border: 1px solid var(--border);
  font-size: var(--fs-micro);
  color: var(--text-tertiary);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.cs-next-project {
  margin-top: 2rem;
}

.cs-next-label {
  display: block;
  font-size: var(--fs-micro);
  color: var(--text-tertiary);
  margin-bottom: 0.5rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.cs-next-cta {
  font-size: var(--fs-body);
  color: var(--text-secondary);
}

.cs-next-link {
  color: var(--text-primary);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.cs-back-nav {
  position: sticky;
  top: 70px;
  z-index: 100;
  padding: 0.75rem var(--space-md);
  background: var(--bg-glass);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 1rem;
}

.cs-back-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: var(--fs-micro);
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-secondary);
  transition: color 0.3s, gap 0.3s;
}

.cs-back-btn:hover {
  color: var(--text-primary);
  gap: 0.75rem;
}

.cs-progress-bar {
  height: 2px;
  background: var(--text-primary);
  position: fixed;
  top: 0;
  left: 0;
  z-index: 10001;
  width: 0%;
  transition: width 0.1s linear;
}

/* Images grid in case studies */
.cs-images-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5px;
  margin-top: 2rem;
}

.cs-image-item {
  position: relative;
  overflow: hidden;
  cursor: zoom-in;
  background: var(--bg-surface);
}

.cs-image-item img {
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: top;
  transition: transform 0.4s var(--ease-out-expo);
  display: block;
}

.cs-image-item:hover img {
  transform: scale(1.04);
}

.cs-image-item figcaption {
  padding: 0.75rem 1rem;
  font-size: var(--fs-micro);
  color: var(--text-tertiary);
  border-top: 1px solid var(--border);
  line-height: 1.4;
}

/* Lightbox */
#lightbox {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: rgba(0, 0, 0, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}

#lightbox.open {
  opacity: 1;
  visibility: visible;
}

#lightbox>img {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
  transform: scale(0.95);
  transition: transform 0.3s var(--ease-out-expo);
}

#lightbox.open>img {
  transform: scale(1);
}

#lightbox-close {
  position: absolute;
  top: 2rem;
  right: 2rem;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.3s, border-color 0.3s;
}

#lightbox-close:hover {
  color: white;
  border-color: rgba(255, 255, 255, 0.5);
}

#lightbox-prev,
#lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  color: rgba(255, 255, 255, 0.7);
  background: rgba(0, 0, 0, 0.3);
  transition: color 0.3s, border-color 0.3s, background 0.3s;
}

#lightbox-prev:hover,
#lightbox-next:hover {
  color: white;
  border-color: rgba(255, 255, 255, 0.5);
  background: rgba(0, 0, 0, 0.55);
}

#lightbox-prev {
  left: 1.5rem;
}

#lightbox-next {
  right: 1.5rem;
}

#lightbox-prev[hidden],
#lightbox-next[hidden] {
  display: none;
}

#lightbox-caption {
  position: absolute;
  bottom: 3.25rem;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.9);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-align: center;
  max-width: 80vw;
}

#lightbox-caption[hidden] {
  display: none;
}

#lightbox-counter {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.55);
  font-size: 13px;
  letter-spacing: 0.02em;
}

#lightbox-counter[hidden] {
  display: none;
}

@media (max-width: 640px) {

  #lightbox-prev,
  #lightbox-next {
    width: 40px;
    height: 40px;
  }

  #lightbox-prev {
    left: 0.5rem;
  }

  #lightbox-next {
    right: 0.5rem;
  }

  #lightbox-close {
    top: 1rem;
    right: 1rem;
    width: 34px;
    height: 34px;
  }

  #lightbox-caption {
    bottom: 2.5rem;
    font-size: 14px;
  }

  #lightbox-counter {
    bottom: 1rem;
    font-size: 12px;
  }

  #lightbox>img {
    max-width: 94vw;
    max-height: 80vh;
  }
}

/* Marquee */
.cs-marquee {
  overflow: hidden;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 0.85rem 0;
  margin: 2rem 0 0 0;
}

.cs-marquee-track {
  display: flex;
  gap: 2rem;
  animation: marquee 30s linear infinite;
  width: max-content;
}

.cs-marquee-item {
  font-size: var(--fs-micro);
  font-weight: 100;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--text-tertiary);
  white-space: nowrap;
}

.cs-marquee-dot {
  margin: 0 1rem;
  color: var(--border-active);
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }

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

/* Comparison grid */
.cs-comparison-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 2rem;
  align-items: start;
  margin-top: 2rem;
}

.cs-comparison-col {}

.cs-comparison-heading {
  font-size: var(--fs-small);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-tertiary);
  margin-bottom: 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border);
}

.cs-comparison-col--after .cs-comparison-heading {
  color: var(--text-primary);
}

.cs-comparison-steps {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.cs-comparison-steps li {
  display: flex;
  gap: 1rem;
  font-size: var(--fs-small);
  color: var(--text-secondary);
  line-height: 1.5;
}

.cs-comparison-step-num {
  font-family: var(--font-mono);
  font-size: var(--fs-micro);
  color: var(--text-tertiary);
  flex-shrink: 0;
}

.cs-comparison-divider {
  display: flex;
  align-items: flex-start;
  padding-top: 3.5rem;
}

.cs-comparison-arrow {
  font-size: 2rem;
  color: var(--text-tertiary);
}

/* Decision list */
.cs-decision-list {
  display: flex;
  flex-direction: column;
}

.cs-decision {
  display: flex;
  gap: 2rem;
  padding: 2rem 0;
  border-bottom: 1px solid var(--border);
  align-items: flex-start;
  min-width: 0;
}

.cs-decision-num {
  font-family: var(--font-mono);
  font-size: var(--fs-micro);
  color: var(--text-tertiary);
  flex-shrink: 0;
  padding-top: 4px;
}

.cs-decision-body {
  min-width: 0;
  flex: 1 1 auto;
}

.cs-decision h3 {
  font-size: var(--fs-body);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
}

.cs-decision p {
  font-size: var(--fs-small);
  color: var(--text-secondary);
  line-height: 1.65;
}

/* Timeline */
.cs-timeline-track {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 2rem;
}

.cs-timeline-node {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 2rem;
  padding-bottom: 3rem;
}

.cs-timeline-marker {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 6px;
}

.cs-timeline-dot {
  width: 8px;
  height: 8px;
  background: var(--text-tertiary);
  border-radius: 50%;
  flex-shrink: 0;
}

.cs-timeline-line {
  flex: 1;
  width: 1px;
  background: var(--border);
  margin-top: 8px;
}

.cs-timeline-week {
  font-family: var(--font-mono);
  font-size: var(--fs-micro);
  color: var(--text-tertiary);
  margin-bottom: 0.5rem;
  display: block;
}

.cs-timeline-phase {
  font-size: var(--fs-body);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.cs-timeline-activity {
  font-size: var(--fs-small);
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 0.75rem;
}

.cs-timeline-output {
  font-size: var(--fs-micro);
  color: var(--text-tertiary);
  border-left: 2px solid var(--border);
  padding-left: 0.75rem;
  display: block;
  line-height: 1.5;
}

/* ── iPhone mockup ── */
.iphone-mockup-wrap {
  display: flex;
  flex-wrap: nowrap;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 2rem;
  margin: 2rem 0;
  overflow-x: auto;
  overflow-y: hidden;
  padding-top: 0.5rem;
  padding-bottom: 1rem;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
  scroll-padding-left: 1.5rem;
  scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
  max-width: 100%;
  box-sizing: border-box;
}

.iphone-mockup-col {
  position: relative;
  flex: 0 0 auto;
}

.iphone-mockup-frame {
  position: relative;
  width: 260px;
  height: 562px;
  background: linear-gradient(145deg, #3a3a3d, #131315 60%, #3a3a3d);
  border-radius: 0;
  padding: 10px;
  box-shadow:
    0 0 0 2px rgba(255, 255, 255, 0.06) inset,
    0 25px 50px rgba(0, 0, 0, 0.5),
    0 8px 16px rgba(0, 0, 0, 0.35);
}

.iphone-mockup-screen {
  position: relative;
  width: 100%;
  height: 100%;
  background: #000;
  border-radius: 0;
  overflow: hidden;
}

.iphone-mockup-screen-scroll {
  width: 100%;
  height: 100%;
  overflow-y: scroll;
  overflow-x: hidden;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.iphone-mockup-screen-scroll::-webkit-scrollbar {
  display: none;
}

.iphone-mockup-screen-scroll img {
  display: block;
  width: 100%;
  min-height: 100%;
  object-fit: cover;
  object-position: top center;
}

.iphone-mockup-island {
  position: absolute;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 24px;
  background: #000;
  border-radius: 0;
  z-index: 10;
  pointer-events: none;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.04);
}

.iphone-mockup-navbar {
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 10px;
  overflow: hidden;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
  z-index: 9;
  pointer-events: none;
}

.iphone-mockup-navbar img {
  display: block;
  width: 100%;
  height: auto;
}

.iphone-mockup-home-indicator {
  position: absolute;
  bottom: 15px;
  left: 50%;
  transform: translateX(-50%);
  width: 90px;
  height: 4px;
  background: rgba(255, 255, 255, 0.85);
  border-radius: 0;
  z-index: 10;
  pointer-events: none;
}

.iphone-mockup-frame .btn {
  position: absolute;
  background: linear-gradient(90deg, #4a4a4e, #222224);
  border-radius: 0;
}

.iphone-mockup-frame .btn-action {
  left: -3px;
  top: 88px;
  width: 3px;
  height: 22px;
}

.iphone-mockup-frame .btn-volume-up {
  left: -3px;
  top: 126px;
  width: 3px;
  height: 38px;
}

.iphone-mockup-frame .btn-volume-down {
  left: -3px;
  top: 170px;
  width: 3px;
  height: 38px;
}

.iphone-mockup-frame .btn-power {
  right: -3px;
  top: 136px;
  width: 3px;
  height: 60px;
}

.iphone-mockup-caption {
  margin-top: 1rem;
  text-align: center;
  font-size: var(--fs-micro);
  color: var(--text-tertiary);
}

/* ── iPad Pro mockup ── */
.ipad-mockup-wrap {
  display: flex;
  flex-wrap: nowrap;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 3.5rem;
  margin: 2rem 0;
  overflow-x: auto;
  overflow-y: hidden;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  padding-left: max(var(--space-md), calc((100vw - 900px) / 2 + var(--space-md)));
  padding-right: max(var(--space-md), calc((100vw - 900px) / 2 + var(--space-md)));
  scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}

.ipad-mockup-col {
  position: relative;
  flex: 0 0 auto;
}

.ipad-mockup-frame {
  position: relative;
  width: 640px;
  background: linear-gradient(155deg, #3a3a3d, #131315 55%, #3a3a3d);
  border-radius: 0;
  padding: 18px;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.06) inset,
    0 35px 70px rgba(0, 0, 0, 0.5),
    0 10px 20px rgba(0, 0, 0, 0.35);
}

.ipad-mockup-camera {
  position: absolute;
  top: 50%;
  left: 5px;
  transform: translateY(-50%);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #050505;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.05);
  z-index: 10;
}

.ipad-mockup-screen {
  position: relative;
  width: 100%;
  height: 400px;
  background: #000;
  border-radius: 0;
  overflow: hidden;
}

.ipad-mockup-screen-scroll {
  width: 100%;
  height: 100%;
  overflow-y: scroll;
  overflow-x: hidden;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.ipad-mockup-screen-scroll::-webkit-scrollbar {
  display: none;
}

.ipad-mockup-screen-scroll img {
  display: block;
  width: 100%;
  min-height: 100%;
  object-fit: cover;
  object-position: top center;
}

.ipad-mockup-caption {
  margin-top: 1.25rem;
  text-align: center;
  font-size: var(--fs-micro);
  color: var(--text-tertiary);
}

@media (max-width: 720px) {
  .ipad-mockup-frame {
    width: 420px;
    padding: 14px;
  }

  .ipad-mockup-screen {
    height: 260px;
  }
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  .about-stats-strip {
    grid-template-columns: repeat(2, 1fr);
  }

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

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

  .cs-outcomes-grid {
    grid-template-columns: 1fr;
  }

  .cs-comparison-grid {
    grid-template-columns: 1fr;
  }

  .cs-comparison-divider {
    display: none;
  }

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

  .cs-metric {
    border-right: none;
    border-bottom: 1px solid var(--border);
  }

  .cs-metric:last-child {
    border-bottom: none;
  }

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

@media (max-width: 768px) {
  :root {
    --space-lg: 2rem;
    --space-xl: 3.5rem;
    --space-2xl: 5rem;
  }

  /* Navigation */
  .nav-links,
  .nav-bar .nav-download-btn,
  .nav-actions .nav-download-btn {
    display: none !important;
  }

  .nav-menu-toggle {
    display: flex !important;
  }

  .nav-bar {
    padding: 0.75rem var(--space-md);
  }

  /* Hero */
  .hero-section {
    padding: 3rem var(--space-md);
    min-height: 70vh;
  }

  .hero-title {
    font-size: clamp(2rem, 8vw, 3.5rem);
    line-height: 1.1;
  }

  .hero-architecture {
    display: none;
  }

  .hero-recommend-avatars {
    margin-bottom: 1rem;
  }

  .logo-carousel-wrap {
    display: block;
    max-width: 100%;
    margin: 2rem auto 0;
    padding: 0 0.5rem;
  }

  .logo-carousel-track {
    gap: 1.25rem;
  }

  .logo-item img {
    max-height: 40px;
    width: auto;
  }

  .scroll-indicator {
    display: none;
  }

  /* Projects */
  .projects-section {
    padding: 3rem var(--space-md);
  }

  .projects-top-header {
    margin-bottom: 1.5rem;
  }

  .projects-headline {
    font-size: clamp(2rem, 8vw, 3.5rem);
    line-height: 1.0;
  }

  .proj-filter-bar {
    flex-wrap: nowrap;
    gap: 0.5rem;
    margin-bottom: 2rem;
    overflow-x: auto;
    padding-bottom: 0.5rem;
  }

  .proj-filter-btn {
    font-size: var(--fs-micro);
    padding: 0.5rem 1rem;
    white-space: nowrap;
  }

  /* Work cards */
  .disc-group {
    margin-bottom: 2.5rem;
  }

  .disc-group-label {
    margin-bottom: 1rem;
    padding: 0;
    font-size: var(--fs-micro);
  }

  .showcase-grid {
    height: auto;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-left: 0;
    margin-right: 0;
    padding: 0;
  }

  .showcase-card {
    min-width: 0;
    max-width: none;
    height: 100%;
  }

  .showcase-card-visual {
    height: 180px;
  }

  .showcase-card-top {
    padding: 0.9rem 1rem;
    gap: 0.3rem;
  }

  .showcase-card-label {
    font-size: 0.6rem;
  }

  .showcase-card-title {
    font-size: 1rem;
    line-height: 1.15;
  }

  .showcase-card-subtitle {
    font-size: 0.65rem;
  }

  .showcase-card-cta {
    font-size: 0.6rem;
    margin-top: 0.3rem;
  }

  .showcase-card-stat-pill {
    padding: 0.5rem 0.5rem;
    gap: 0.4rem;
    margin-top: 0.25rem;
  }

  .stat-pill-num {
    font-size: 0.75rem;
  }

  .stat-pill-text {
    font-size: 0.55rem;
  }

  /* Preview */
  .preview-section {
    padding: 3rem var(--space-md);
  }

  .preview-body {
    grid-template-columns: 1fr;
  }

  .preview-text-col {
    gap: 1rem;
  }

  .preview-cta {
    align-items: flex-start;
  }

  .preview-heading {
    font-size: clamp(2rem, 8vw, 3.5rem);
    line-height: 1.0;
  }

  .about-preview-signals {
    flex-direction: column;
    gap: 1.5rem;
  }

  /* About */
  .about-beliefs {
    grid-template-columns: 1fr;
  }

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

  .about-stats-strip {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .about-cta {
    flex-direction: column;
  }

  /* Footer */
  .sur-footer {
    padding: 2rem var(--space-md);
  }

  .sur-footer-top {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .sur-footer-mid {
    gap: 1rem;
    font-size: var(--fs-micro);
  }

  /* Case Studies */
  .cs-hero {
    padding: 2rem var(--space-md);
  }

  .cs-hero h1 {
    font-size: var(--fs-h2);
  }

  .cs-section {
    padding: 2rem var(--space-md);
  }

  .cs-outcomes-grid {
    grid-template-columns: 1fr;
  }

  .cs-comparison-grid {
    grid-template-columns: 1fr;
  }

  .cs-comparison-divider {
    display: none;
  }

  .cs-metrics-row {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .cs-metric {
    border-right: none;
    border-bottom: 1px solid var(--border);
    padding: 1rem 0;
  }

  .cs-metric:last-child {
    border-bottom: none;
  }

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

  .cs-showcase {
    margin-bottom: 2rem;
  }

  /* Clean Principle & Data Tables */
  .cs-principle-table-wrap,
  .cs-table-wrap {
    width: 100%;
    overflow-x: auto;
    margin-top: 1.5rem;
    margin-bottom: 2rem;
    -webkit-overflow-scrolling: touch;
  }

  .cs-principle-table,
  .cs-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    font-size: var(--fs-body, 0.95rem);
    line-height: 1.6;
  }

  .cs-principle-table th,
  .cs-principle-table td,
  .cs-table th,
  .cs-table td {
    text-align: left !important;
    vertical-align: top;
    padding: 1rem 2.5rem 1rem 0;
    border-bottom: 1px solid var(--border, rgba(0, 0, 0, 0.08));
  }

  .cs-principle-table th,
  .cs-table th {
    font-size: var(--fs-small, 1rem);
    font-weight: 600;
    color: var(--text-primary);
    border-bottom: 2px solid var(--border, rgba(0, 0, 0, 0.15));
    padding-bottom: 0.85rem;
  }

  .cs-principle-table th:last-child,
  .cs-principle-table td:last-child,
  .cs-table th:last-child,
  .cs-table td:last-child {
    padding-right: 0;
  }

  .cs-principle-table tr:hover td,
  .cs-table tr:hover td {
    color: var(--text-primary);
  }

  /* Tables */
  .cs-table-wrap {
    overflow-x: auto;
  }

  .cs-table {
    font-size: var(--fs-micro);
  }

  .cs-table th,
  .cs-table td {
    padding: 0.75rem 1.25rem 0.75rem 0;
  }
}

/* Mobile (480px and below) */
@media (max-width: 480px) {
  :root {
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
  }

  /* Navigation */
  .nav-bar {
    padding: 0.5rem 1rem;
  }

  .nav-logo {
    font-size: 0.75rem;
  }

  /* Hero */
  .hero-section {
    padding: 2rem 1rem;
    min-height: 60vh;
  }

  .hero-copy {
    padding: 0;
  }

  .hero-title {
    font-size: clamp(1.75rem, 9vw, 2.5rem);
    line-height: 1.1;
    letter-spacing: -0.02em;
  }

  .hero-subtitle {
    font-size: var(--fs-body);
    margin-top: 0.75rem;
  }

  .hero-recommend-text {
    font-size: 0.7rem;
  }

  /* Projects section */
  .projects-section {
    padding: 2rem 1rem;
  }

  .projects-headline {
    font-size: clamp(1.75rem, 9vw, 2.5rem);
    line-height: 1.0;
    letter-spacing: -0.02em;
  }

  .proj-filter-bar {
    flex-wrap: nowrap;
    gap: 0.25rem;
    margin-bottom: 1.5rem;
    overflow-x: auto;
    padding-bottom: 0.5rem;
  }

  .proj-filter-btn {
    padding: 0.4rem 0.8rem;
    font-size: 0.6rem;
    white-space: nowrap;
  }

  /* Work cards */
  .disc-group {
    margin-bottom: 2rem;
  }

  .disc-group-label {
    margin-bottom: 0.75rem;
    font-size: 0.6rem;
  }

  .showcase-grid {
    height: auto;
    grid-template-columns: 1fr;
    gap: 12px;
    margin-left: 0;
    margin-right: 0;
    padding: 0;
  }

  .showcase-card {
    min-width: 0;
    max-width: none;
    height: 100%;
  }

  .showcase-card-visual {
    height: clamp(220px, 55vw, 250px);
    min-height: 220px;
  }

  .showcase-card-top {
    padding: 0.75rem;
    gap: 0.25rem;
  }

  .showcase-card-label {
    font-size: 0.55rem;
  }

  .showcase-card-title {
    font-size: 0.95rem;
    line-height: 1.15;
  }

  .showcase-card-subtitle {
    font-size: 0.6rem;
  }

  .showcase-card-cta {
    font-size: 0.55rem;
    margin-top: 0.25rem;
  }

  .showcase-card-stat-pill {
    padding: 0.2rem 0.45rem;
    gap: 0.35rem;
    margin-top: 0.2rem;
  }

  .stat-pill-num {
    font-size: 0.7rem;
  }

  .stat-pill-text {
    font-size: 0.5rem;
  }

  /* Preview */
  .preview-section {
    padding: 2rem 1rem;
  }

  .preview-label {
    font-size: var(--fs-micro);
    margin-bottom: 1rem;
  }

  .preview-heading {
    font-size: clamp(1.75rem, 9vw, 2.5rem);
    line-height: 1.0;
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
  }

  .preview-sub {
    font-size: var(--fs-body);
    line-height: 1.5;
    margin-bottom: 1rem;
  }

  .about-preview-signals {
    gap: 1rem;
  }

  .about-preview-signal {
    flex-direction: row;
    align-items: center;
    gap: 1rem;
  }

  .about-preview-signal-label {
    font-size: 0.6rem;
  }

  .about-preview-signal-value {
    font-size: 0.8rem;
  }

  /* About page */
  .about-hero {
    padding: 2rem 1rem;
    min-height: 50vh;
  }

  .about-hero h1 {
    font-size: var(--fs-h2);
  }

  .about-journey {
    padding: 2rem 1rem;
  }

  .about-beliefs {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .about-stats-strip {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .about-stat {
    padding: 1rem 0;
    border-right: none;
    border-bottom: 1px solid var(--border);
  }

  /* Footer */
  .sur-footer {
    padding: 1.5rem 1rem;
  }

  .sur-footer-col {
    margin-bottom: 1rem;
  }

  .sur-footer-top {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .sur-footer-mid {
    flex-direction: column;
    gap: 0.75rem;
    font-size: 0.65rem;
  }

  /* Case Studies */
  .cs-hero {
    padding: 1.5rem 1rem;
    min-height: auto;
  }

  .cs-hero h1 {
    font-size: var(--fs-h2);
    line-height: 1.2;
  }

  .cs-hero p {
    font-size: var(--fs-body);
  }

  .cs-section {
    padding: 1.5rem 1rem;
  }

  .cs-section h2 {
    font-size: var(--fs-h2);
  }

  .cs-section h3 {
    font-size: var(--fs-body);
  }

  .cs-outcomes-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .cs-outcome {
    padding: 1rem;
  }

  .cs-comparison-grid {
    grid-template-columns: 1fr;
  }

  .cs-comparison-item {
    gap: 1rem;
  }

  .cs-metrics-row {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .cs-metric {
    padding: 1rem 0;
    border-bottom: 1px solid var(--border);
  }

  .cs-metric:last-child {
    border-bottom: none;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .testimonials-item {
    padding: 1.25rem;
  }

  .cs-showcase {
    margin-bottom: 1.5rem;
  }

  .cs-showcase img {
    margin-bottom: 0.75rem;
  }

  /* Tables */
  .cs-table-wrap {
    margin: 0 -1rem;
  }

  .cs-table {
    font-size: 0.6rem;
  }

  .cs-table th,
  .cs-table td {
    padding: 0.5rem;
  }

  /* General fixes */
  main {}

  body {}
}

/* ============================================
   Global Section Navigation Bar
   ============================================ */
html {
  scroll-behavior: smooth;
}

section.cs-section {
  scroll-margin-top: 140px;
}

.cs-section-quicknav-container {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 999;
  width: 100%;
  max-width: 100%;
  margin: 0 0 2rem 0;
  padding: 0;
  min-height: 56px;
  display: flex;
  align-items: center;
  background: var(--bg-glass, rgba(255, 255, 255, 0.95));
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: none !important;

  box-shadow: none !important;
}

nav.nav-bar {
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease, visibility 0.3s ease;
}

nav.nav-bar.header-replaced,
html body nav.nav-bar.header-replaced,
body.cs-light-theme nav.nav-bar.header-replaced,
body.light-theme nav.nav-bar.header-replaced,
body.dark-theme nav.nav-bar.header-replaced {
  transform: translateY(-100%) !important;
  opacity: 0 !important;
  pointer-events: none !important;
  visibility: hidden !important;
  display: none !important;
}

.cs-section-quicknav-container.is-stuck {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  z-index: 10000 !important;
  margin: 0 !important;
  width: 100% !important;
  max-width: 100% !important;
  height: 56px !important;
  min-height: 56px !important;
  background: var(--bg-glass, rgba(255, 255, 255, 0.96)) !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
  border-top: none !important;
  border-bottom: 1px solid var(--border, rgba(15, 23, 42, 0.12)) !important;
  box-shadow: none !important;
  transform: none;
}

@media (min-width: 1025px) {
  .cs-section-quicknav-container.is-stuck {
    height: 80px !important;
    min-height: 80px !important;
  }

  .cs-section-quicknav-container.is-stuck .cs-section-quicknav {
    height: 80px !important;
    min-height: 80px !important;
  }
}

.cs-section-quicknav {
  pointer-events: auto;
  width: 100%;
  max-width: 1200px !important;
  margin: 0 auto !important;
  min-height: 64px;
  height: 64px;

  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.5rem;
  overflow-x: auto !important;
  overflow-y: hidden !important;
  white-space: nowrap !important;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  box-sizing: border-box !important;
}

.cs-section-quicknav::-webkit-scrollbar {
  display: none;
}

.cs-quicknav-link {
  font-family: 'Gilroy Light', var(--font-sans, "Space Grotesk", system-ui, -apple-system, sans-serif) !important;
  font-size: 0.88rem !important;
  font-weight: 300 !important;
  letter-spacing: -0.01em !important;
  text-transform: none !important;
  color: var(--ink-light, rgba(15, 23, 42, 0.65)) !important;
  background: transparent;
  border: 1px solid transparent;
  padding: 0.48rem 1.05rem !important;
  border-radius: 9999px !important;
  text-decoration: none;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  flex-shrink: 0;
  cursor: pointer;
  line-height: 1.2;
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.35rem !important;
}

.cs-quicknav-link svg {
  width: 14px !important;
  height: 14px !important;
  flex-shrink: 0;
  stroke-width: 2px !important;
}

body.dark-theme .cs-quicknav-link,
body.cs-dark-theme .cs-quicknav-link {
  color: rgba(255, 255, 255, 0.65)
}

.cs-quicknav-link:active {
  color: var(--ink, #0f172a) !important;
  background: rgba(15, 23, 42, 0.06) !important;
  border-color: rgba(15, 23, 42, 0.12) !important;
}

.cs-quicknav-link:hover {
  color: var(--ink, #0f172a) !important;
  background: rgba(15, 23, 42, 0.06) !important;
  border-color: rgba(15, 23, 42, 0.12) !important;
}

body.dark-theme .cs-quicknav-link:hover,
body.cs-dark-theme .cs-quicknav-link:hover {
  color: #ffffff !important;
  background: #272727 !important;
  border-color: rgba(70, 70, 70, 0.2) !important;
}

.cs-quicknav-link.active {
  font-family: 'Gilroy Light', var(--font-sans, "Space Grotesk", system-ui, -apple-system, sans-serif) !important;
  color: #0f172a !important;
  background: #f6f6f6 !important;
  border-color: rgba(15, 23, 42, 0.15) !important;
  font-weight: 400 !important;
}

.cs-quicknav-logo-item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.35rem 0.75rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 0;
  margin-right: 0.25rem;
  flex-shrink: 0;
  text-decoration: none;
  transition: background 0.2s ease;
}

.cs-quicknav-logo-item:hover {
  background: rgba(255, 255, 255, 0.12);
}

.cs-quicknav-logo-img {
  height: 20px;
  width: auto;
  max-width: 65px;
  object-fit: contain;
  filter: brightness(1.15);
  display: block;
}

/* ============================================
   Mobile Responsive Typography Optimizations
   ============================================ */
@media (max-width: 768px) {
  .cs-hero-title {
    font-size: clamp(1.8rem, 6.5vw, 2.8rem) !important;
    line-height: 1.18 !important;
    letter-spacing: -0.02em !important;
    margin-bottom: 1rem !important;
  }

  .cs-hero-hook {
    font-size: 0.92rem !important;
    line-height: 1.5 !important;
  }

  .cs-section-title {
    font-size: clamp(1.3rem, 5vw, 1.75rem) !important;
    line-height: 1.25 !important;
    letter-spacing: -0.01em !important;
    margin-bottom: 1.25rem !important;
  }

  section.cs-section h2,
  .cs-section h2 {
    font-size: clamp(1.2rem, 4.5vw, 1.6rem) !important;
    line-height: 1.3 !important;
    letter-spacing: -0.01em !important;
  }

  #sec-problem h2 {
    font-size: 1.25rem !important;
    line-height: 1.35 !important;
    margin-top: 0.5rem !important;
  }

  .cs-brief-lede {
    font-size: 0.9rem !important;
    line-height: 1.55 !important;
  }

  .cs-metric-value {
    font-size: 1.5rem !important;
  }

  .cs-metric-label {
    font-size: 0.65rem !important;
  }

  .cs-quicknav-link {
    font-size: 0.68rem !important;
    padding: 0.35rem 0.65rem !important;
  }

  .cs-section-quicknav {
    min-height: 44px !important;
    padding: 0.35rem 0.75rem !important;
  }

  .cs-decision {
    flex-direction: column !important;
    gap: 0.5rem !important;
    padding: 1.25rem 0 !important;
  }

  .cs-decision-num {
    padding-top: 0 !important;
    margin-bottom: 0.25rem !important;
    width: 100% !important;
  }

  .cs-decision-body {
    width: 100% !important;
  }
}

@media (max-width: 480px) {
  .cs-hero-title {
    font-size: 1.75rem !important;
  }

  .cs-section-title {
    font-size: 1.25rem !important;
  }

  section.cs-section h2,
  .cs-section h2,
  #sec-problem h2 {
    font-size: 1.15rem !important;
    line-height: 1.35 !important;
  }
}

/* ============================================
   GLOBAL THEME TOGGLE & LIGHT THEME SYSTEM
   ============================================ */
:root.light-theme,
body.light-theme,
body.cs-light-theme {
  background-color: #ffffff !important;
  color: #0f172a !important;
  --bg-primary: #ffffff;
  --bg-secondary: #f8fafc;
  --bg-surface: #ffffff;
  --bg-surface-elevated: #f1f5f9;
  --bg-glass: rgba(255, 255, 255, 0.94);
  --text-primary: #0f172a;
  --text-secondary: #334155;
  --text-tertiary: #64748b;
  --accent-primary: #0f172a;
  --border: rgba(15, 23, 42, 0.12);
  --border-active: rgba(15, 23, 42, 0.3);
}

.theme-toggle-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border);
  color: var(--text-primary);
  transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease, transform 0.2s ease;
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
}

.theme-toggle-btn:hover {
  background: rgba(255, 255, 255, 0.16);
  transform: scale(1.06);
}

.theme-toggle-btn svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  fill: none;
  transition: transform 0.3s ease;
}

.theme-toggle-btn .sun-icon {
  display: none;
}

.theme-toggle-btn .moon-icon {
  display: block;
}

body.light-theme .theme-toggle-btn,
body.cs-light-theme .theme-toggle-btn {
  background: #f1f5f9 !important;
  border: 1px solid rgba(15, 23, 42, 0.15) !important;
  color: #0f172a !important;
}

body.light-theme .theme-toggle-btn:hover,
body.cs-light-theme .theme-toggle-btn:hover {
  background: #e2e8f0 !important;
}

body.light-theme .theme-toggle-btn .sun-icon,
body.cs-light-theme .theme-toggle-btn .sun-icon {
  display: block;
}

body.light-theme .theme-toggle-btn .moon-icon,
body.cs-light-theme .theme-toggle-btn .moon-icon {
  display: none;
}

/* Main Pages Light Theme Rules */
body.light-theme {
  background-color: #ffffff !important;
  color: #0f172a !important;
}

body.light-theme #loader {
  background: #ffffff !important;
}

body.light-theme .loader-pct,
body.light-theme .loader-glyphs {
  color: #0f172a !important;
}

body.light-theme .loader-bar-wrap {
  background: rgba(15, 23, 42, 0.08) !important;
}

body.light-theme .loader-bar-fill {
  background: linear-gradient(90deg, #0f172a, #334155) !important;
}

body.light-theme nav.nav-bar {
  background: rgba(255, 255, 255, 0.92) !important;
  border-bottom: 1px solid rgba(15, 23, 42, 0.1) !important;
}

body.light-theme nav.nav-bar.scrolled {
  background: rgba(255, 255, 255, 0.96) !important;
  border-bottom: 1px solid rgba(15, 23, 42, 0.12) !important;
}

body.light-theme .nav-logo {
  color: #0f172a !important;
}

body.light-theme .nav-link {
  color: #475569 !important;
}

body.light-theme .nav-link:hover,
body.light-theme .nav-link.active {
  color: #0f172a !important;
}

body.light-theme .nav-link::after {
  background: #0f172a !important;
}

body.light-theme .nav-download-btn {
  background: #f1f5f9 !important;
  color: #0f172a !important;
  border: 1px solid rgba(15, 23, 42, 0.15) !important;
}

body.light-theme .nav-download-btn:hover {
  background: #e2e8f0 !important;
  color: #000000 !important;
}

body.light-theme .menu-bar {
  background-color: #0f172a !important;
}

body.light-theme .mobile-menu {
  background: #ffffff !important;
}

body.light-theme .mobile-menu-item {
  color: #0f172a !important;
}

body.light-theme h1:not(.hero-title),
body.light-theme h2,
body.light-theme h3,
body.light-theme h4 {
  color: #0f172a !important;
}

body.light-theme .hero-subtitle,
body.light-theme p {
  color: #334155 !important;
}

body.light-theme .hero-trust-link {
  color: #475569 !important;
  border-bottom: 1px solid rgba(15, 23, 42, 0.2) !important;
}

body.light-theme .hero-trust-link:hover {
  color: #0f172a !important;
}

body.light-theme .showcase-card {
  background: #ffffff !important;
  border: 1px solid transparent !important;
  box-shadow: none !important;
}

body.light-theme .showcase-card:hover {
  border-color: rgba(15, 23, 42, 0.25) !important;
  box-shadow: none !important;
}

body.light-theme .showcase-card-label {
  color: #64748b !important;
}

body.light-theme .showcase-card-title {
  color: #0f172a !important;
}

body.light-theme .showcase-card-subtitle {
  color: #475569 !important;
}

/* Light Theme Stat Pill aligned with design system */
body.light-theme .showcase-card-stat-pill {
  background: #f1f5f9 !important;
  border: 1px solid rgba(15, 23, 42, 0.12) !important;
  width: max-content !important;
  max-width: 100% !important;
}

body.light-theme .stat-pill-num {
  color: #d97706 !important;
}

body.light-theme .stat-pill-arrow {
  color: #d97706 !important;
}

body.light-theme .stat-pill-text {
  color: #475569 !important;
}

body.light-theme .filter-tab {
  background: #f1f5f9 !important;
  color: #475569 !important;
  border: 1px solid rgba(15, 23, 42, 0.1) !important;
}

body.light-theme .filter-tab:hover,
body.light-theme .filter-tab.active {
  background: #0f172a !important;
  color: #ffffff !important;
}

body.light-theme .sur-footer {
  background: #f8fafc !important;
  border-top: 1px solid rgba(15, 23, 42, 0.1) !important;
  color: #475569 !important;
}

body.light-theme .sur-footer-mid a,
body.light-theme .sur-footer-mid span {
  color: #475569 !important;
}

body.light-theme .sur-footer-brand {
  color: rgba(15, 23, 42, 0.07) !important;
}

/* Dark Theme Overrides */
body.dark-theme {
  background-color: #0d0d0d !important;
  color: rgba(255, 255, 255, 0.92) !important;
  --bg-primary: #0d0d0d;
  --bg-secondary: #111111;
  --bg-surface: #141414;
  --bg-surface-elevated: #1a1a1a;
  --bg-glass: rgba(13, 13, 13, 0.92);
  --text-primary: rgba(255, 255, 255, 0.92);
  --text-secondary: rgba(255, 255, 255, 0.65);
  --text-tertiary: rgba(255, 255, 255, 0.4);
  --accent-primary: #f3f3f6;
  --border: rgba(255, 255, 255, 0.1);
  --border-active: rgba(255, 255, 255, 0.25);
}

body.dark-theme #loader {
  background: #0d0d0d !important;
}

body.dark-theme .loader-pct,
body.dark-theme .loader-glyphs {
  color: rgba(255, 255, 255, 0.92) !important;
}

body.dark-theme nav.nav-bar {
  background: rgba(13, 13, 13, 0.92) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
}

body.dark-theme .nav-logo {
  color: rgba(255, 255, 255, 0.92) !important;
}

body.dark-theme .nav-link {
  color: rgba(255, 255, 255, 0.65) !important;
}

body.dark-theme .nav-link:hover,
body.dark-theme .nav-link.active {
  color: rgba(255, 255, 255, 0.92) !important;
}

body.dark-theme .nav-download-btn {
  background: transparent !important;
  color: rgba(255, 255, 255, 0.92) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
}

body.dark-theme .menu-bar {
  background-color: rgba(255, 255, 255, 0.92) !important;
}

body.dark-theme .mobile-menu {
  background: #0d0d0d !important;
}

body.dark-theme .mobile-menu-item {
  color: rgba(255, 255, 255, 0.92) !important;
}

body.dark-theme h1:not(.hero-title),
body.dark-theme h2,
body.dark-theme h3,
body.dark-theme h4 {
  color: rgba(255, 255, 255, 0.92) !important;
}

body.dark-theme .hero-subtitle,
body.dark-theme p {
  color: rgba(255, 255, 255, 0.65) !important;
}

body.dark-theme .showcase-card {
  background: #141414 !important;
  border: 1px solid transparent !important;
  box-shadow: none !important;
}

body.dark-theme .showcase-card-title {
  color: rgba(255, 255, 255, 0.92) !important;
}

body.dark-theme .showcase-card-subtitle {
  color: rgba(255, 255, 255, 0.65) !important;
}

body.dark-theme .showcase-card-stat-pill {
  background: #1a1a1e !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  width: max-content !important;
  max-width: 100% !important;
}

body.dark-theme .stat-pill-num {
  color: #f97316 !important;
}

body.dark-theme .stat-pill-arrow {
  color: #f97316 !important;
}

body.dark-theme .sur-footer {
  background: #0d0d0d !important;
  border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
  color: rgba(255, 255, 255, 0.65) !important;
}

/* Bento About-Preview Section in Dark Mode */
body.dark-theme #about-preview,
body.dark-theme .preview-section {
  background: #0d0d0d !important;
  border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
}

body.dark-theme .roast-card--white {
  background: linear-gradient(145deg, #18181b 0%, #121215 50%, #0a0a0c 100%) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  box-shadow: 0 16px 40px -10px rgba(0, 0, 0, 0.6) !important;
}

body.dark-theme .roast-card--white::before {
  opacity: 0.12 !important;
  mix-blend-mode: screen !important;
}

body.dark-theme .roast-card--white .bento-exp-sub-heading {
  color: rgba(255, 255, 255, 0.65) !important;
}

body.dark-theme .roast-card--white .bento-exp-highlight-pill,
body.dark-theme .roast-card--white .bento-exp-year-pill {
  background: rgba(255, 255, 255, 0.08) !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  color: rgba(255, 255, 255, 0.9) !important;
}

body.dark-theme .roast-card--white .bento-exp-role {
  color: rgba(255, 255, 255, 0.88) !important;
}

body.dark-theme .roast-card--white .bento-exp-desc {
  color: rgba(255, 255, 255, 0.6) !important;
}

body.dark-theme .theme-toggle-btn {
  background: rgba(255, 255, 255, 0.08) !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  color: rgba(255, 255, 255, 0.92) !important;
}

body.dark-theme .theme-toggle-btn:hover {
  background: rgba(255, 255, 255, 0.16) !important;
}

body.dark-theme .theme-toggle-btn .sun-icon {
  display: block !important;
}

body.dark-theme .theme-toggle-btn .moon-icon {
  display: none !important;
}

/* ============================================================
   UNIVERSAL LIGHTBOX MODAL SYSTEM (.lb & .lightbox)
   Fixes cross-browser (Chrome/Safari) modal overlay positioning
   ============================================================ */
.lb,
.lightbox,
#lightbox {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  z-index: 999999 !important;
  background: rgba(8, 9, 12, 0.96) !important;
  backdrop-filter: blur(16px) !important;
  -webkit-backdrop-filter: blur(16px) !important;
  transform: translateZ(0) !important;
  -webkit-transform: translateZ(0) !important;
  display: none;
  align-items: center;
  justify-content: center;
  padding: clamp(16px, 4vw, 48px);
  box-sizing: border-box;
}

.lb.open,
.lightbox.open,
#lightbox.open {
  display: flex !important;
}

.lb figure,
.lightbox figure,
#lightbox figure {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  max-width: 92vw;
  max-height: 88vh;
  margin: 0;
}

.lb img,
.lightbox img,
#lightbox img {
  max-width: 90vw !important;
  max-height: 78vh !important;
  width: auto !important;
  height: auto !important;
  object-fit: contain !important;
  border-radius: 8px;
  background: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.7);
}

.lb figcaption,
.lightbox figcaption,
#lightbox figcaption {
  margin-top: 1rem;
  text-align: center;
  font-family: var(--font-mono, monospace);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
  max-width: 70ch;
  line-height: 1.6;
}

.lb-x,
.lightbox__close,
#lbClose {
  position: absolute !important;
  top: clamp(16px, 3vw, 28px) !important;
  right: clamp(16px, 3vw, 28px) !important;
  width: 44px !important;
  height: 44px !important;
  border-radius: 50% !important;
  border: 1px solid rgba(255, 255, 255, 0.25) !important;
  background: rgba(255, 255, 255, 0.08) !important;
  color: #ffffff !important;
  font-size: 1.25rem !important;
  cursor: pointer !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  z-index: 1000000 !important;
  transition: all 0.2s ease !important;
}

.lb-x:hover,
.lightbox__close:hover,
#lbClose:hover {
  background: rgba(255, 255, 255, 0.25) !important;
  border-color: #ffffff !important;
  transform: scale(1.05);
}

/* ============================================================
   FLOATING GO TO TOP BUTTON
   ============================================================ */
.cs-back-to-top {
  position: fixed !important;
  bottom: 2rem !important;
  right: 2rem !important;
  width: 48px !important;
  height: 48px !important;
  border-radius: 50% !important;
  background: rgba(15, 23, 42, 0.88) !important;
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  z-index: 99999 !important;
  opacity: 0 !important;
  visibility: hidden !important;
  transform: translateY(16px) scale(0.9) !important;
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
    visibility 0.3s ease,
    background-color 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease !important;
}

body.light-theme .cs-back-to-top,
body.cs-light-theme .cs-back-to-top {
  background: rgba(255, 255, 255, 0.92) !important;
  color: #0f172a !important;
  border: 1px solid rgba(15, 23, 42, 0.15) !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12) !important;
}

.cs-back-to-top.is-visible {
  opacity: 1 !important;
  visibility: visible !important;
  transform: translateY(0) scale(1) !important;
}

.cs-back-to-top:hover {
  transform: translateY(-3px) scale(1.06) !important;
  background: var(--accent, #e11d48) !important;
  color: #ffffff !important;
  border-color: transparent !important;
  box-shadow: 0 12px 28px rgba(225, 29, 72, 0.45) !important;
}

.cs-back-to-top:hover svg {
  transform: translateY(-2px) !important;
}

/* ── Upcoming Case Studies Section Styling ── */
.upcoming-badge {
  font-family: var(--font-mono, monospace);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #10b981;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.25);
  padding: 0.25rem 0.65rem;
  border-radius: 100px;
  display: inline-flex;
  align-items: center;
}

.upcoming-tag-pill {
  font-family: var(--font-mono, monospace);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--text-tertiary, #64748b);
  background: var(--surface-secondary, rgba(255, 255, 255, 0.06));
  border: 1px solid var(--border-subtle, rgba(255, 255, 255, 0.1));
  padding: 0.2rem 0.55rem;
  border-radius: 6px;
  margin-left: auto;
}

.showcase-card-upcoming {
  opacity: 0.92;
  cursor: default;
}

.showcase-card-upcoming:hover {
  transform: translateY(-3px);
  opacity: 1;
}

.upcoming-overlay {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 5;
  pointer-events: none;
}

.upcoming-status-pill {
  font-family: var(--font-mono, monospace);
  font-size: 0.7rem;
  font-weight: 600;
  color: #ffffff;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 0.35rem 0.75rem;
  border-radius: 100px;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.upcoming-pulse-dot {
  width: 6px;
  height: 6px;
  background: #10b981;
  border-radius: 50%;
  box-shadow: 0 0 8px #10b981;
  animation: pulseDot 2s infinite ease-in-out;
}

@keyframes pulseDot {

  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.4;
    transform: scale(1.3);
  }
}

/* ============================================
   ABOUT PAGE RECONSTRUCTION — Reference Design
   ============================================ */

.abt-main-wrap {
  padding-top: clamp(4rem, 8vw, 6.5rem);
  padding-bottom: 5rem;
  max-width: 1120px;
  margin: 0 auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

/* ── 1. Hero Section ── */
.abt-hero-grid {
  display: grid;
  grid-template-columns: 1fr 240px;
  gap: 3.5rem;
  align-items: start;
  margin-bottom: 4.5rem;
}

@media (max-width: 860px) {
  .abt-hero-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

.abt-hero-bio {
  font-family: 'Gilroy Light', 'Plus Jakarta Sans', var(--font-sans, sans-serif), sans-serif;
  font-size: clamp(1.35rem, 2.7vw, 1.85rem);
  font-weight: 500;
  line-height: 1.48;
  color: #1e293b;
  letter-spacing: -0.02em;
}

body.dark-theme .abt-hero-bio,
body:not(.cs-light-theme):not(.light-theme) .abt-hero-bio {
  color: #f1f5f9;
}

.abt-hero-bio strong {
  font-family: 'Gilroy ExtraBold', 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
}

/* Avatar Card with Red Tilted Backing */
.abt-avatar-container {
  position: relative;
  width: 210px;
  height: 260px;
  margin: 0 auto;
}

.abt-avatar-backing {
  position: absolute;
  inset: 0;
  background: #e11d48;
  border-radius: 20px;
  transform: rotate(5.5deg);
  transition: transform 0.3s ease;
}

.abt-avatar-frame {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 20px;
  overflow: hidden;
  background: #0f172a;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.abt-avatar-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%) contrast(108%);
}

.abt-avatar-container:hover .abt-avatar-backing {
  transform: rotate(7.5deg) scale(1.02);
}

/* ── 2. Prose / Story Section ── */
.abt-story-wrapper {
  max-width: 680px;
  margin: 0 auto 5rem;
}

.abt-section-kicker {
  font-family: var(--font-mono, monospace);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #64748b;
  display: block;
  margin-bottom: 1.25rem;
}

body.dark-theme .abt-section-kicker,
body:not(.cs-light-theme):not(.light-theme) .abt-section-kicker {
  color: rgba(255, 255, 255, 0.5);
}

.abt-story-content p {
  font-family: 'Plus Jakarta Sans', var(--font-sans, sans-serif), sans-serif;
  font-size: 1.02rem;
  line-height: 1.75;
  color: #475569;
  margin-bottom: 1.5rem;
}

body.dark-theme .abt-story-content p,
body:not(.cs-light-theme):not(.light-theme) .abt-story-content p {
  color: #cbd5e1;
}

/* ── 2b. A Little More Me Grid ── */
.abt-more-me-wrapper {
  max-width: 680px;
  margin: 0 auto 5rem;
}

.abt-more-me-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

@media (max-width: 640px) {
  .abt-more-me-grid {
    grid-template-columns: 1fr;
  }
}

.abt-more-me-card {
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 16px;
  padding: 1.25rem 1.35rem;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.25s ease;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

body.dark-theme .abt-more-me-card,
body:not(.cs-light-theme):not(.light-theme) .abt-more-me-card {
  background: rgba(15, 23, 42, 0.55);
  border-color: rgba(255, 255, 255, 0.1);
}

.abt-more-me-card:hover {
  transform: translateY(-2px);
  border-color: rgba(225, 29, 72, 0.35);
  box-shadow: 0 10px 28px -8px rgba(0, 0, 0, 0.08);
}

body.dark-theme .abt-more-me-card:hover,
body:not(.cs-light-theme):not(.light-theme) .abt-more-me-card:hover {
  border-color: rgba(225, 29, 72, 0.45);
  box-shadow: 0 10px 28px -8px rgba(0, 0, 0, 0.4);
}

.abt-more-me-card-full {
  grid-column: span 2;
}

@media (max-width: 640px) {
  .abt-more-me-card-full {
    grid-column: span 1;
  }
}

.abt-more-me-icon {
  font-size: 1.35rem;
  line-height: 1;
  flex-shrink: 0;
  padding-top: 0.15rem;
}

.abt-more-me-details {
  display: flex;
  flex-direction: column;
}

.abt-more-me-label {
  font-family: var(--font-mono, monospace);
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #64748b;
  margin-bottom: 0.35rem;
}

body.dark-theme .abt-more-me-label,
body:not(.cs-light-theme):not(.light-theme) .abt-more-me-label {
  color: #94a3b8;
}

.abt-more-me-val {
  font-family: 'Plus Jakarta Sans', var(--font-sans, sans-serif), sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.5;
  color: #0f172a;
}

body.dark-theme .abt-more-me-val,
body:not(.cs-light-theme):not(.light-theme) .abt-more-me-val {
  color: #f8fafc;
}

/* ── 3. Design Process Section ── */
.abt-process-block {
  margin-bottom: 5.5rem;
}

.abt-block-title {
  font-family: 'Gilroy ExtraBold', 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(1.6rem, 3.2vw, 2.2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #0f172a;
  margin-bottom: 0.6rem;
}

body.dark-theme .abt-block-title,
body:not(.cs-light-theme):not(.light-theme) .abt-block-title {
  color: #ffffff;
}

.abt-block-subtitle {
  font-family: 'Plus Jakarta Sans', var(--font-sans, sans-serif), sans-serif;
  font-size: 1rem;
  color: #64748b;
  margin-bottom: 2rem;
  max-width: 640px;
  line-height: 1.6;
}

body.dark-theme .abt-block-subtitle,
body:not(.cs-light-theme):not(.light-theme) .abt-block-subtitle {
  color: #94a3b8;
}

.abt-process-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

@media (max-width: 640px) {
  .abt-process-grid {
    grid-template-columns: 1fr;
  }
}

.abt-process-card {
  background: #f8fafc;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 16px;
  padding: 1.65rem;
  transition: all 0.25s ease;
}

body.dark-theme .abt-process-card,
body:not(.cs-light-theme):not(.light-theme) .abt-process-card {
  background: rgba(255, 255, 255, 0.03);
  border-color: rgba(255, 255, 255, 0.08);
}

.abt-process-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.04);
}

.abt-process-card h3 {
  font-family: 'Gilroy ExtraBold', 'Plus Jakarta Sans', sans-serif;
  font-size: 1.12rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 0.5rem;
}

body.dark-theme .abt-process-card h3,
body:not(.cs-light-theme):not(.light-theme) .abt-process-card h3 {
  color: #ffffff;
}

.abt-process-card p {
  font-size: 0.92rem;
  color: #64748b;
  line-height: 1.58;
  margin: 0;
}

body.dark-theme .abt-process-card p,
body:not(.cs-light-theme):not(.light-theme) .abt-process-card p {
  color: #94a3b8;
}

/* ── 4. Iceberg Architecture Diagram ── */
.abt-iceberg-wrapper {
  background: #f8fafc;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 20px;
  padding: 2.5rem;
  margin-bottom: 5.5rem;
}

body.dark-theme .abt-iceberg-wrapper,
body:not(.cs-light-theme):not(.light-theme) .abt-iceberg-wrapper {
  background: rgba(255, 255, 255, 0.02);
  border-color: rgba(255, 255, 255, 0.08);
}

.abt-iceberg-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 3rem;
  align-items: center;
  margin-top: 1.5rem;
}

@media (max-width: 768px) {
  .abt-iceberg-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

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

.abt-iceberg-item {
  border-left: 3px solid #38bdf8;
  padding-left: 1rem;
}

.abt-iceberg-item-title {
  font-family: 'Gilroy ExtraBold', 'Plus Jakarta Sans', sans-serif;
  font-size: 1rem;
  font-weight: 800;
  color: #0f172a;
  display: block;
}

body.dark-theme .abt-iceberg-item-title,
body:not(.cs-light-theme):not(.light-theme) .abt-iceberg-item-title {
  color: #ffffff;
}

.abt-iceberg-item-desc {
  font-size: 0.85rem;
  color: #64748b;
}

body.dark-theme .abt-iceberg-item-desc,
body:not(.cs-light-theme):not(.light-theme) .abt-iceberg-item-desc {
  color: #94a3b8;
}

/* ── 5. Beyond Work Grid ── */
.abt-beyond-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.35rem;
  margin-bottom: 5.5rem;
}

@media (max-width: 768px) {
  .abt-beyond-grid {
    grid-template-columns: 1fr;
  }
}

.abt-beyond-card {
  background: #f8fafc;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 20px;
  padding: 1.85rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

body.dark-theme .abt-beyond-card,
body:not(.cs-light-theme):not(.light-theme) .abt-beyond-card {
  background: rgba(255, 255, 255, 0.03);
  border-color: rgba(255, 255, 255, 0.08);
}

.abt-beyond-card h3 {
  font-family: 'Gilroy ExtraBold', 'Plus Jakarta Sans', sans-serif;
  font-size: 1.2rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 0.6rem;
}

body.dark-theme .abt-beyond-card h3,
body:not(.cs-light-theme):not(.light-theme) .abt-beyond-card h3 {
  color: #ffffff;
}

.abt-beyond-card p {
  font-size: 0.92rem;
  color: #64748b;
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

body.dark-theme .abt-beyond-card p,
body:not(.cs-light-theme):not(.light-theme) .abt-beyond-card p {
  color: #94a3b8;
}

.abt-media-thumbs {
  display: flex;
  gap: 0.75rem;
  margin-top: 0.75rem;
}

.abt-media-thumb {
  flex: 1;
  height: 110px;
  border-radius: 12px;
  overflow: hidden;
  background: #0f172a;
}

.abt-media-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.abt-posters-row {
  display: flex;
  gap: 0.75rem;
}

.abt-poster-card {
  flex: 1;
  height: 140px;
  border-radius: 10px;
  overflow: hidden;
  background: #1e293b;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-weight: 800;
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.poster-madmax {
  background: linear-gradient(135deg, #7c2d12, #9a3412);
}

.poster-interstellar {
  background: linear-gradient(135deg, #0c4a6e, #0369a1);
}

.poster-dune {
  background: linear-gradient(135deg, #78350f, #b45309);
}

/* ── 6. Bottom Polaroid Carousel — Full Width Infinite Marquee ── */
.abt-carousel-section {
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  margin-top: 5rem;
  margin-bottom: 5rem;
  overflow: hidden;
}

.abt-carousel-fullwidth {
  width: 100%;
  overflow: hidden;
  position: relative;
  mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
}

.abt-carousel-track.marquee-infinite {
  display: flex;
  align-items: center;
  gap: 2rem;
  width: max-content;
  animation: marqueeRightToLeft 35s linear infinite;
  padding: 3rem 0;
}

.abt-carousel-section:hover .abt-carousel-track.marquee-infinite {
  animation-play-state: paused;
}

@keyframes marqueeRightToLeft {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

.abt-polaroid {
  width: 250px;
  height: 315px;
  flex-shrink: 0;
  background: #ffffff;
  border-radius: 22px;
  padding: 10px 10px 28px 10px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.1);
  transition: all 0.35s ease;
  cursor: pointer;
}

body.dark-theme .abt-polaroid,
body:not(.cs-light-theme):not(.light-theme) .abt-polaroid {
  background: #1e293b;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
}

.abt-polaroid img,
.abt-polaroid video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 14px;
  display: block;
}

.abt-polaroid:hover {
  transform: translateY(-10px) scale(1.08) rotate(0deg) !important;
  box-shadow: 0 24px 55px rgba(0, 0, 0, 0.22);
  z-index: 10;
}

/* ── Case Study Story Prose & Paragraph Spacing ── */
.cs-sec-hdr {
  margin-bottom: 2.25rem !important;
}

.cs-sec-num {
  font-family: var(--font-mono, monospace) !important;
  font-size: 0.85rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.15em !important;
  color: #10b981 !important;
  display: block !important;
  margin-bottom: 0.5rem !important;
}

.cs-sec-title {
  font-family: 'Space Grotesk', 'Gilroy ExtraBold', sans-serif !important;
  font-size: clamp(1.8rem, 3.8vw, 2.75rem) !important;
  font-weight: 800 !important;
  letter-spacing: -0.03em !important;
  line-height: 1.25 !important;
  color: #0f172a !important;
  margin: 0 !important;
}

body.dark-theme .cs-sec-title,
body:not(.cs-light-theme):not(.light-theme) .cs-sec-title {
  color: #ffffff !important;
}

.cs-prose {
  font-family: 'Plus Jakarta Sans', var(--font-sans, sans-serif), sans-serif !important;
  font-size: clamp(1.05rem, 1.8vw, 1.18rem) !important;
  line-height: 1.85 !important;
  color: #334155 !important;
  max-width: 820px !important;
}

body.dark-theme .cs-prose,
body:not(.cs-light-theme):not(.light-theme) .cs-prose {
  color: #cbd5e1 !important;
}

.cs-prose p {
  margin-top: 0 !important;
  margin-bottom: 1.85rem !important;
  line-height: 1.85 !important;
}

.cs-prose p:last-child {
  margin-bottom: 0 !important;
}

.cs-prose p.cs-body-lead {
  font-size: clamp(1.2rem, 2.3vw, 1.4rem) !important;
  font-weight: 600 !important;
  line-height: 1.65 !important;
  color: #0f172a !important;
  margin-bottom: 1.85rem !important;
}

body.dark-theme .cs-prose p.cs-body-lead,
body:not(.cs-light-theme):not(.light-theme) .cs-prose p.cs-body-lead {
  color: #f8fafc !important;
}

.cs-prose p strong,
.cs-prose p b {
  color: #0f172a !important;
  font-weight: 700 !important;
}

body.dark-theme .cs-prose p strong,
body.dark-theme .cs-prose p b,
body:not(.cs-light-theme):not(.light-theme) .cs-prose p strong,
body:not(.cs-light-theme):not(.light-theme) .cs-prose p b {
  color: #ffffff !important;
}

.cs-prose ul,
.cs-prose ol {
  margin-top: 0 !important;
  margin-bottom: 1.85rem !important;
  padding-left: 1.5rem !important;
}

.cs-prose li {
  margin-bottom: 0.85rem !important;
  line-height: 1.8 !important;
}

/* ── Testimonials Section ("What People Say About Me") ── */
.testimonials-section {
  position: relative;
  z-index: 10;
  padding: clamp(4rem, 7vw, 7rem) var(--space-md);
  background: radial-gradient(ellipse 140% 100% at 50% -10%, #0e2e1c 0%, #06190e 55%, #020a05 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  color: #ffffff;
  overflow: hidden;
}

.testimonials-bg-ambient {
  position: absolute;
  top: -50%;
  left: 50%;
  transform: translateX(-50%);
  width: 1000px;
  height: 600px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.15) 0%, rgba(5, 150, 105, 0.05) 50%, transparent 70%);
  pointer-events: none;
  filter: blur(80px);
}

.testimonials-container {
  max-width: 1400px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

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

.testimonials-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: var(--fs-micro);
  font-weight: 700;
  letter-spacing: 0.22em;
  color: #34d399;
  text-transform: uppercase;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(52, 211, 153, 0.25);
  padding: 0.4rem 0.85rem;
  border-radius: 100px;
  margin-bottom: 1.15rem;
}

.testimonials-badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #34d399;
  box-shadow: 0 0 8px #34d399;
}

.testimonials-headline {
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: #ffffff;
}

.testimonials-nav-arrows {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.testimonial-nav-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  cursor: pointer;
  color: #ffffff;
  backdrop-filter: blur(12px);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.testimonial-nav-btn:hover {
  background: #ffffff;
  color: #06190e;
  transform: scale(1.08);
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}

.testimonial-nav-btn svg {
  width: 20px;
  height: 20px;
}

.testimonials-track-wrapper {
  position: relative;
  width: 100%;
  margin: 0 -1rem;
  padding: 0 1rem;
}

.testimonials-track {
  display: flex;
  gap: 1.85rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 1.25rem 0.35rem 2.5rem 0.35rem;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  cursor: grab;
}

.testimonials-track::-webkit-scrollbar {
  display: none;
}

.testimonial-card-item {
  flex: 0 0 clamp(310px, 33vw, 380px);
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.testimonial-card-item:hover {
  transform: translateY(-10px);
}

/* Speech Bubble Box — Increased Height & Airtel Colorful Gradients */
.testimonial-bubble {
  position: relative;
  overflow: hidden;
  width: 100%;
  min-height: 380px;
  border-radius: 24px;
  padding: 2.5rem 2rem 2.25rem 2rem;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  box-shadow: 0 24px 50px -12px rgba(0, 0, 0, 0.45);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  user-select: none;
}

/* Tactile Grain Noise Overlay from Airtel Cards */
.testimonial-bubble::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='5' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
  opacity: 0.75;
  mix-blend-mode: overlay;
  pointer-events: none;
  z-index: 1;
}

.testimonial-bubble>* {
  position: relative;
  z-index: 2;
}

.testimonial-bubble-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.15rem;
}

.testimonial-stars {
  color: #000000;
  font-size: 1rem;
  letter-spacing: 0.15em;
  opacity: 0.85;
}

.testimonial-quote-mark {
  font-family: Georgia, serif;
  font-size: 2.75rem;
  line-height: 0.4;
  color: rgba(0, 0, 0, 0.25);
  font-weight: bold;
}

.testimonial-title {
  font-family: var(--ff-primary, sans-serif);
  font-size: 1.05rem;
  font-weight: 900;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: #000000;
  line-height: 1.3;
  margin-bottom: 1.15rem;
}

.testimonial-quote {
  font-family: var(--ff-body, sans-serif);
  font-size: 0.95rem;
  line-height: 1.7;
  color: #111827;
  font-weight: 500;
  margin: 0;
  flex-grow: 1;
}

/* ── Airtel Color Gradient Schemes ── */
.testimonial-bubble--gold {
  background: linear-gradient(145deg, #fde047 0%, #eab308 60%, #d97706 100%);
}

.testimonial-bubble--mint {
  background: linear-gradient(145deg, #a7f3d0 0%, #34d399 60%, #10b981 100%);
}

.testimonial-bubble--purple {
  background: linear-gradient(145deg, #e9d5ff 0%, #c084fc 60%, #9333ea 100%);
}

.testimonial-bubble--blue {
  background: linear-gradient(145deg, #bae6fd 0%, #60a5fa 60%, #3b82f6 100%);
}

.testimonial-bubble--rose {
  background: linear-gradient(145deg, #fecdd3 0%, #f472b6 60%, #e11d48 100%);
}

.testimonial-bubble--coral {
  background: linear-gradient(145deg, #fed7aa 0%, #fb923c 60%, #f97316 100%);
}

.testimonial-bubble--teal {
  background: linear-gradient(145deg, #99f6e4 0%, #2dd4bf 60%, #0d9488 100%);
}

/* Speech Bubble Downward Arrow Pointer (Color Matched) */
.testimonial-pointer {
  position: absolute;
  bottom: -17px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 15px solid transparent;
  border-right: 15px solid transparent;
  border-top: 18px solid #ffffff;
  z-index: 3;
}

.testimonial-bubble--gold .testimonial-pointer {
  border-top-color: #d97706;
}

.testimonial-bubble--mint .testimonial-pointer {
  border-top-color: #10b981;
}

.testimonial-bubble--purple .testimonial-pointer {
  border-top-color: #9333ea;
}

.testimonial-bubble--blue .testimonial-pointer {
  border-top-color: #3b82f6;
}

.testimonial-bubble--rose .testimonial-pointer {
  border-top-color: #e11d48;
}

.testimonial-bubble--coral .testimonial-pointer {
  border-top-color: #f97316;
}

.testimonial-bubble--teal .testimonial-pointer {
  border-top-color: #0d9488;
}

/* Author Info Below Bubble */
.testimonial-author {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-top: 2.35rem;
  gap: 0.6rem;
}

.testimonial-avatar {
  position: relative;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid #10b981;
  box-shadow: 0 0 20px rgba(16, 185, 129, 0.4);
  background: #0f172a;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card-item:hover .testimonial-avatar {
  transform: scale(1.1);
  border-color: #34d399;
  box-shadow: 0 0 25px rgba(52, 211, 153, 0.6);
}

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

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

.testimonial-name {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.875rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #ffffff;
}

.testimonial-role {
  font-size: 0.775rem;
  color: #94a3b8;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.verified-icon {
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .testimonial-card-item {
    flex: 0 0 clamp(280px, 84vw, 340px);
  }

  .testimonial-bubble {
    padding: 2rem 1.5rem 1.75rem 1.5rem;
    min-height: 340px;
  }

  .testimonial-title {
    font-size: 0.95rem;
    margin-bottom: 0.85rem;
  }

  .testimonial-quote {
    font-size: 0.875rem;
  }
}

/* ── Universal Full Viewport Width Breakout for Mockups/Showcases ── */
.iphone-mockup-row,
.cs-full-bleed-showcase {
  width: 100vw !important;
  max-width: 100vw !important;
  position: relative !important;
  left: calc(50% - 50vw) !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  display: flex !important;
  justify-content: center !important;
  align-items: flex-start !important;
  gap: 2rem !important;
  overflow-x: auto !important;
  padding: 1.5rem 4vw 2.5rem !important;
  box-sizing: border-box !important;
  -webkit-overflow-scrolling: touch;
  scroll-padding-inline: 2vw;
  scroll-snap-type: x mandatory;
}

@media (max-width: 1100px) {

  .iphone-mockup-row,
  .cs-full-bleed-showcase {
    justify-content: flex-start !important;
  }
}

/* ── Bento Card 4: Scrollable Capabilities & Toolstack Card (Yellow Bento Theme) ── */
.roast-card--skills-scrollable {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  text-align: left !important;
  padding: 1.35rem 1.25rem !important;
  background: linear-gradient(145deg, #fef3c7 0%, #fde68a 55%, #f59e0b 100%) !important;
  border: 1px solid rgba(245, 158, 11, 0.45) !important;
  box-shadow: 0 12px 32px -10px rgba(245, 158, 11, 0.3) !important;
  border-radius: var(--radius-card, 28px) !important;
  overflow: hidden;
  min-height: 270px;
  height: 100%;
}

.skills-scroll-header {
  width: 100%;
  padding-bottom: 0.2rem;
  margin-bottom: 0.6rem;
}

.skills-scroll-kicker {
  font-family: var(--font-mono, monospace);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: #92400e !important;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.skills-pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #d97706;
  box-shadow: 0 0 8px rgba(217, 119, 6, 0.6);
}

/* Scrollable Container Body */
.skills-scroll-body {
  width: 100%;
  flex: 1;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
  padding-right: 0.25rem;
  box-sizing: border-box;
  -webkit-overflow-scrolling: touch;
}

/* Custom Scrollbar for Card 4 */
.skills-scroll-body::-webkit-scrollbar {
  width: 4px;
}

.skills-scroll-body::-webkit-scrollbar-track {
  background: rgba(180, 83, 9, 0.08);
  border-radius: 2px;
}

.skills-scroll-body::-webkit-scrollbar-thumb {
  background: rgba(180, 83, 9, 0.3);
  border-radius: 2px;
}

.skills-scroll-body::-webkit-scrollbar-thumb:hover {
  background: #92400e;
}

.skills-sec-group {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.skills-sec-title {
  font-size: 0.8rem !important;
  font-weight: 800 !important;
  color: #0f172a !important;
  margin: 0 0 0.15rem 0 !important;
  letter-spacing: -0.01em;
  text-transform: uppercase;
}

.skills-plain-text {
  font-size: 0.82rem !important;
  font-weight: 600 !important;
  color: #1e293b !important;
  line-height: 1.55 !important;
  margin: 0 !important;
  letter-spacing: -0.01em;
}

.skills-plain-text--tools {
  color: #0f172a !important;
  font-weight: 700 !important;
}

/* ── Vibe-Coded AI Footer Badge ── */
.vibe-coded-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.15rem;
  margin: 1.5rem auto 1rem;
  padding: 0.75rem 1.6rem;
  background: #090d16;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 40px;
  width: fit-content;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.vibe-coded-text {
  font-family: var(--ff-primary, sans-serif);
  font-size: 0.92rem;
  font-weight: 500;
  color: #94a3b8;
  letter-spacing: -0.01em;
}

.vibe-avatar-stack {
  display: flex;
  align-items: center;
}

.vibe-avatar-item {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #000000;
  border: 1px dashed rgba(255, 255, 255, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: -11px;
  transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.6);
  cursor: pointer;
  position: relative;
}

.vibe-avatar-item:first-child {
  margin-left: 0;
}

.vibe-avatar-item:hover {
  transform: translateY(-4px) scale(1.18);
  border-color: rgba(255, 255, 255, 0.85);
  z-index: 10;
}