/* ==========================================================================
   SHAURYA THAKUR - WEB DEVELOPER
   Design System & Core Styles
   Minimalist Dark Theme with Signature Yellow Accent
   ========================================================================== */

/* --- CSS Variables & Design Tokens --- */
:root {
  /* Color Palette - Minimalist Dark Theme */
  --bg-main: #0a0a0a;
  --bg-surface: #111111;
  --bg-surface-elevated: #161616;
  --bg-surface-hover: #1c1c1c;
  --bg-input: #141414;

  /* Borders */
  --border-subtle: #222222;
  --border-card: #27272a;
  --border-hover: #3f3f46;
  --border-focus: #fdd238;

  /* Signature Accent */
  --accent-yellow: #fdd238;
  --accent-yellow-hover: #facc15;
  --accent-yellow-muted: rgba(253, 210, 56, 0.12);
  --accent-yellow-border: rgba(253, 210, 56, 0.35);

  /* Text Colors */
  --text-primary: #ffffff;
  --text-secondary: #a1a1aa;
  --text-muted: #71717a;
  --text-dark: #0a0a0a;

  /* Typography */
  --font-main: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Spacing */
  --container-max: 1200px;
  --container-narrow: 840px;
  --section-spacing: clamp(5rem, 8vw, 7.5rem);

  /* Shadows & Glows */
  --shadow-card: 0 10px 30px -10px rgba(0, 0, 0, 0.7);
  --shadow-hover: 0 20px 40px -12px rgba(0, 0, 0, 0.95);
  --shadow-accent: 0 4px 25px rgba(253, 210, 56, 0.35);
  --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.3);
  --glow-gold: 0 0 25px rgba(253, 210, 56, 0.25);

  /* Gradients */
  --gradient-gold: linear-gradient(135deg, #ffe066 0%, #fdd238 50%, #d4a310 100%);
  --gradient-gold-hover: linear-gradient(135deg, #fff085 0%, #fed84d 50%, #e5b312 100%);
  --gradient-card: linear-gradient(160deg, rgba(20, 20, 24, 0.85) 0%, rgba(12, 12, 14, 0.95) 100%);
  --gradient-card-elevated: linear-gradient(160deg, rgba(26, 26, 32, 0.9) 0%, rgba(16, 16, 20, 0.98) 100%);

  /* Transitions */
  --transition-smooth: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: all 0.15s ease;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
  color-scheme: dark;
  overflow-x: hidden;
  max-width: 100%;
}

body {
  font-family: var(--font-main);
  background-color: var(--bg-main);
  background-image: 
    radial-gradient(circle at 85% 10%, rgba(253, 210, 56, 0.055) 0%, transparent 45%),
    radial-gradient(circle at 10% 40%, rgba(138, 75, 255, 0.035) 0%, transparent 40%),
    radial-gradient(circle at 75% 70%, rgba(253, 210, 56, 0.04) 0%, transparent 45%),
    linear-gradient(rgba(255, 255, 255, 0.012) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.012) 1px, transparent 1px);
  background-size: 100% 100%, 100% 100%, 100% 100%, 56px 56px, 56px 56px;
  background-attachment: fixed;
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  max-width: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, svg, video, iframe {
  max-width: 100%;
  height: auto;
}

/* Typography Hierarchy */
h1, h2, h3, h4, h5, h6 {
  color: var(--text-primary);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.025em;
}

p {
  color: var(--text-secondary);
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-fast);
}

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

button, input, select, textarea {
  font-family: inherit;
  font-size: 1rem;
}

/* Container */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: clamp(1.25rem, 4vw, 2.5rem);
  padding-right: clamp(1.25rem, 4vw, 2.5rem);
}

.container-narrow {
  max-width: var(--container-narrow);
}

/* Section Header Structure */
.section-header {
  margin-bottom: 3.5rem;
}

.section-header.center {
  text-align: center;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent-yellow);
  background: var(--accent-yellow-muted);
  border: 1px solid var(--accent-yellow-border);
  padding: 0.35rem 0.85rem;
  border-radius: 99px;
  margin-bottom: 1.15rem;
  width: fit-content;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.section-header.center .section-tag {
  margin-left: auto;
  margin-right: auto;
}

.section-title {
  font-size: clamp(2.1rem, 4vw, 3rem);
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.65rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: var(--transition-smooth);
  border: 1px solid transparent;
  white-space: nowrap;
}

.btn-primary {
  background: var(--gradient-gold);
  color: #000000;
  font-weight: 700;
  box-shadow: 0 4px 20px rgba(253, 210, 56, 0.35), inset 0 1px 1px rgba(255, 255, 255, 0.5);
  border: 1px solid rgba(253, 210, 56, 0.6);
  position: relative;
  overflow: hidden;
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: transform 0.6s ease;
}

.btn-primary:hover::before {
  transform: translateX(200%);
}

.btn-primary:hover {
  background: var(--gradient-gold-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(253, 210, 56, 0.55), 0 0 15px rgba(253, 210, 56, 0.3);
}

.btn-secondary {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0.015) 100%);
  color: var(--text-primary);
  border: 1px solid var(--border-card);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.btn-secondary:hover {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0.04) 100%);
  border-color: rgba(253, 210, 56, 0.5);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5), 0 0 20px rgba(253, 210, 56, 0.15);
}

.btn-sm {
  padding: 0.55rem 1.15rem;
  font-size: 0.875rem;
  border-radius: 6px;
}

/* Accent Highlight */
.text-accent {
  color: var(--accent-yellow);
}

/* ==========================================================================
   NAVIGATION
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1.25rem 0;
  background: rgba(10, 10, 10, 0.8);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
  transition: var(--transition-smooth);
}

.site-header.scrolled {
  padding: 0.85rem 0;
  background: rgba(10, 10, 10, 0.95);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

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

.logo-link {
  display: flex;
  flex-direction: column;
}

.logo-text {
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: -0.01em;
  color: var(--text-primary);
}

.logo-sub {
  font-size: 0.725rem;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.nav-menu {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 2.25rem;
}

.nav-link {
  color: var(--text-secondary);
  font-size: 0.95rem;
  font-weight: 500;
  position: relative;
  padding: 0.35rem 0;
}

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

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

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--accent-yellow);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: nowrap;
}

.nav-actions .btn {
  white-space: nowrap;
  flex-shrink: 0;
}

.dynamic-auth-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  flex-shrink: 0;
}


/* Minimalist Buffer / Preloader */
.preloader-mini {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: #08080a;
  background-image: radial-gradient(circle at center, rgba(253, 210, 56, 0.08) 0%, transparent 65%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

.preloader-mini.preloader-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.preloader-box {
  position: relative;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.preloader-glow-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid transparent;
  border-top-color: var(--accent-yellow);
  border-right-color: rgba(253, 210, 56, 0.4);
  animation: preloaderSpin 0.9s cubic-bezier(0.5, 0, 0.5, 1) infinite;
  box-shadow: 0 0 20px rgba(253, 210, 56, 0.25);
}

@keyframes preloaderSpin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.preloader-monogram {
  font-family: var(--font-mono);
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  color: var(--accent-yellow);
  text-shadow: 0 0 12px rgba(253, 210, 56, 0.5);
}

.preloader-track {
  width: 120px;
  height: 3px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 99px;
  overflow: hidden;
  position: relative;
}

.preloader-bar {
  width: 100%;
  height: 100%;
  background: var(--gradient-gold);
  box-shadow: 0 0 10px rgba(253, 210, 56, 0.8);
  animation: preloaderSlide 0.85s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

.preloader-status {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-muted);
  letter-spacing: 0.1em;
}

@media (prefers-reduced-motion: reduce) {
  .preloader-mini {
    display: none !important;
  }
}

.mobile-toggle {
  display: none;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-card);
  border-radius: 8px;
  color: var(--text-primary);
  font-size: 1.35rem;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  transition: var(--transition-fast);
  line-height: 1;
}

.mobile-toggle:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--accent-yellow);
  color: var(--accent-yellow);
}

.nav-menu-mobile-cta {
  display: none;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
  padding-top: calc(90px + 4.5rem);
  padding-bottom: 5.5rem;
  position: relative;
  overflow: hidden;
  background-image: 
    radial-gradient(circle at 85% 25%, rgba(253, 210, 56, 0.04) 0%, transparent 45%),
    radial-gradient(circle at 15% 75%, rgba(255, 255, 255, 0.02) 0%, transparent 40%);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.95fr);
  align-items: center;
  gap: 3.5rem;
}

.hero-content {
  max-width: 620px;
}

.hero-eyebrow {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent-yellow);
  background: var(--accent-yellow-muted);
  border: 1px solid var(--accent-yellow-border);
  padding: 0.35rem 0.85rem;
  border-radius: 99px;
  margin-bottom: 1.25rem;
}

.hero-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.035em;
  margin-bottom: 1.5rem;
}

.hero-desc {
  font-size: clamp(1.05rem, 1.4vw, 1.2rem);
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 2.25rem;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Hero Right: Responsive Mockup Device Switcher & Phone Frame System */
.hero-mockup-wrapper {
  position: relative;
  width: 100%;
  max-width: 530px;
  min-width: 0;
  margin-left: auto;
  transition: max-width 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.mockup-device-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.65rem;
  padding: 0 0.25rem;
}

.mockup-status-indicator {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  letter-spacing: 0.04em;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: #a1a1aa;
}

.device-switcher {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  background: rgba(24, 24, 27, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0.2rem;
  border-radius: 8px;
}

.device-pill-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: transparent;
  border: 1px solid transparent;
  color: #71717a;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  padding: 0.25rem 0.65rem;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  line-height: 1;
}

.device-pill-btn:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.05);
}

.device-pill-btn.active {
  background: rgba(253, 210, 56, 0.12);
  border-color: rgba(253, 210, 56, 0.3);
  color: var(--accent-yellow);
  font-weight: 600;
}

.preview-mode-hint {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  text-transform: uppercase;
}

.browser-frame-link {
  display: block;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

.browser-progress-track {
  width: 100%;
  height: 2px;
  background: rgba(255, 255, 255, 0.06);
  position: relative;
  overflow: hidden;
}

.browser-progress-bar {
  height: 100%;
  width: 0%;
  background: var(--accent-yellow);
}

.slider-badge {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: #71717a;
  padding: 0.15rem 0.5rem;
  background: #1e1e1e;
  border-radius: 4px;
  white-space: nowrap;
}

.browser-frame {
  background: var(--bg-surface);
  border: 1px solid var(--border-card);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: var(--transition-smooth);
}

/* Smartphone Frame Elements */
.phone-header {
  display: none;
  align-items: center;
  justify-content: space-between;
  padding: 0.55rem 1rem 0.35rem;
  background: #0d0d0f;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.phone-status-time {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 600;
  color: #a1a1aa;
}

.phone-status-icons {
  display: flex;
  align-items: center;
  color: #71717a;
}

.mobile-speaker-island {
  width: 70px;
  height: 16px;
  background: #000;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-right: 6px;
}

.island-camera {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #18181b;
  box-shadow: inset 0 0 2px rgba(253, 210, 56, 0.4);
}

.phone-url-bar-wrap {
  display: none;
  padding: 0.35rem 0.75rem;
  background: #0d0d0f;
  text-align: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.phone-url-pill {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: #a1a1aa;
  background: #18181b;
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0.15rem 0.65rem;
  border-radius: 99px;
  max-width: 90%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.phone-bottom-bar {
  display: none;
  padding: 0.5rem 0;
  background: #0d0d0f;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.mobile-home-indicator {
  width: 90px;
  height: 4px;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 99px;
  margin: 0 auto;
}

/* Smartphone Mockup State via data-device="mobile" */
.hero-mockup-wrapper[data-device="mobile"] {
  max-width: 295px;
  margin: 0 auto;
}

.hero-mockup-wrapper[data-device="mobile"] .browser-frame {
  border-radius: 36px;
  border: 2px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.85), inset 0 0 0 2px #18181b;
  background: #000;
}

.hero-mockup-wrapper[data-device="mobile"] .browser-header {
  display: none;
}

.hero-mockup-wrapper[data-device="mobile"] .phone-header {
  display: flex;
}

.hero-mockup-wrapper[data-device="mobile"] .phone-url-bar-wrap {
  display: block;
}

.hero-mockup-wrapper[data-device="mobile"] .phone-bottom-bar {
  display: block;
}

.hero-mockup-wrapper[data-device="mobile"] .browser-body {
  height: 380px;
  min-height: 380px;
  max-height: 380px;
  border-radius: 0;
}

.hero-mockup-wrapper[data-device="mobile"] .browser-img {
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.browser-frame:hover {
  border-color: var(--accent-yellow);
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.7);
}

.browser-header {
  height: 42px;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  padding: 0 0.85rem;
  background: #141414;
  border-bottom: 1px solid var(--border-subtle);
  gap: 0.75rem;
}

.browser-dots {
  display: flex;
  gap: 5px;
}

.browser-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #333333;
}

.browser-dot.red { background: #ff5f56; }
.browser-dot.yellow { background: #ffbd2e; }
.browser-dot.green { background: #27c93f; }

.browser-url-bar {
  flex-grow: 1;
  background: #1c1c1c;
  border-radius: 4px;
  padding: 0.2rem 0.75rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: #a1a1aa;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.browser-body {
  position: relative;
  width: 100%;
  height: 315px;
  min-height: 315px;
  max-height: 315px;
  overflow: hidden;
  background: #09090b;
}

.browser-img {
  width: 100%;
  height: 100%;
  min-height: 100%;
  max-height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1), transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  opacity: 1;
  transform: scale(1);
}

.browser-img.fade-out {
  opacity: 0;
  transform: scale(0.98);
}

.browser-img.fade-in {
  opacity: 1;
  transform: scale(1);
}

.browser-frame:hover .browser-img {
  transform: scale(1.02);
}

.mockup-caption {
  margin-top: 0.85rem;
  height: 30px;
  min-height: 30px;
  max-height: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  box-sizing: border-box;
  overflow: hidden;
}

#hero-caption-title {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  flex: 1 1 auto;
  display: block;
}

.mockup-status {
  white-space: nowrap !important;
  word-break: keep-all !important;
  overflow-wrap: normal !important;
  flex-shrink: 0 !important;
  display: inline-block !important;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--accent-yellow);
  background: rgba(253, 210, 56, 0.08);
  border: 1px solid rgba(253, 210, 56, 0.25);
  padding: 0.22rem 0.65rem;
  border-radius: 6px;
}

/* Slide Indicator Dots */
.hero-slider-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.85rem;
  height: 12px;
}

.hero-slider-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #27272a;
  border: none;
  cursor: pointer;
  transition: all 0.25s ease;
  padding: 0;
}

.hero-slider-dot:hover {
  background: #71717a;
}

.hero-slider-dot.active {
  background: var(--accent-yellow);
  width: 22px;
  border-radius: 4px;
}

/* ==========================================================================
   FEATURED / SELECTED WORK
   ========================================================================== */
.work-section {
  padding: var(--section-spacing) 0;
}

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

.project-card {
  background: var(--gradient-card);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

.project-card:hover {
  border-color: rgba(253, 210, 56, 0.45);
  transform: translateY(-6px);
  box-shadow: 0 20px 45px -12px rgba(0, 0, 0, 0.95), 0 0 30px -5px rgba(253, 210, 56, 0.22);
}

.project-card-thumb {
  position: relative;
  width: 100%;
  height: 250px;
  min-height: 250px;
  max-height: 250px;
  background: #09090b;
  overflow: hidden;
}

.project-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.project-tag-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: rgba(17, 17, 17, 0.9);
  border: 1px solid var(--border-subtle);
  backdrop-filter: blur(8px);
  padding: 0.3rem 0.75rem;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-primary);
}

.project-card-body {
  padding: 1.85rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.project-meta-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
}

.project-card-title {
  font-size: 1.45rem;
  margin-bottom: 0.65rem;
  color: var(--text-primary);
}

.project-card-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.project-card-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border-subtle);
}

.link-action {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--accent-yellow);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: var(--transition-fast);
}

.link-action:hover {
  color: #ffffff;
  transform: translateX(3px);
}

.link-secondary {
  font-size: 0.85rem;
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.link-secondary:hover {
  color: var(--text-primary);
}

/* ==========================================================================
   SERVICES SECTION (WHAT I CAN BUILD)
   ========================================================================== */
.services-section {
  padding: var(--section-spacing) 0;
  background: var(--bg-surface);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

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

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

.focus-services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.service-card {
  background: var(--gradient-card);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 2.25rem 2rem;
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-card:hover {
  border-color: rgba(253, 210, 56, 0.45);
  background: var(--gradient-card-elevated);
  transform: translateY(-5px);
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.9), 0 0 25px -5px rgba(253, 210, 56, 0.18);
}

.service-num {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent-yellow);
  margin-bottom: 1.25rem;
}

.service-title {
  font-size: 1.3rem;
  margin-bottom: 0.75rem;
}

.service-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ==========================================================================
   WHY WORK WITH ME
   ========================================================================== */
.why-section {
  padding: var(--section-spacing) 0;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.why-item {
  background: var(--bg-surface);
  border: 1px solid var(--border-card);
  border-radius: 12px;
  padding: 2rem 1.65rem;
  transition: var(--transition-smooth);
}

.why-item:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
}

.why-icon {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: var(--accent-yellow-muted);
  border: 1px solid var(--accent-yellow-border);
  color: var(--accent-yellow);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  margin-bottom: 1.25rem;
}

.why-title {
  font-size: 1.15rem;
  margin-bottom: 0.65rem;
}

.why-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ==========================================================================
   ABOUT PREVIEW SECTION (HOMEPAGE)
   ========================================================================== */
.about-preview-section {
  padding: var(--section-spacing) 0;
  border-top: 1px solid var(--border-subtle);
}

.about-preview-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-card);
  border-radius: 16px;
  padding: clamp(2.5rem, 5vw, 4rem);
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3rem;
  align-items: center;
}

.about-preview-text h2 {
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  margin-bottom: 1.25rem;
}

.about-preview-text p {
  font-size: 1.05rem;
  line-height: 1.75;
  margin-bottom: 1.25rem;
}

.about-preview-stats {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  border-left: 1px solid var(--border-subtle);
  padding-left: 2.5rem;
}

.preview-stat-item h4 {
  font-size: 1.05rem;
  color: var(--text-primary);
  margin-bottom: 0.25rem;
}

.preview-stat-item p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* ==========================================================================
   FAQ SECTION (CLIENT CONVERSION & SEO SCHEMA TARGET)
   ========================================================================== */
.faq-section {
  padding: var(--section-spacing) 0;
  border-top: 1px solid var(--border-subtle);
}

.faq-grid {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 820px;
  margin: 0 auto;
}

.faq-item {
  background: var(--bg-surface);
  border: 1px solid var(--border-card);
  border-radius: 12px;
  overflow: hidden;
  transition: var(--transition-smooth);
}

.faq-item:hover {
  border-color: var(--border-hover);
}

.faq-item.active {
  border-color: var(--accent-yellow-border);
  background: var(--bg-surface-elevated);
}

.faq-question {
  width: 100%;
  padding: 1.35rem 1.5rem;
  background: transparent;
  border: none;
  color: var(--text-primary);
  font-size: 1.1rem;
  font-weight: 600;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  cursor: pointer;
  transition: var(--transition-fast);
}

.faq-question:hover {
  color: var(--accent-yellow);
}

.faq-icon {
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--accent-yellow);
  transition: transform 0.25s ease;
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--accent-yellow-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
  background: var(--accent-yellow);
  color: #000;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.16, 1, 0.3, 1), padding 0.35s ease;
  padding: 0 1.5rem;
}

.faq-item.active .faq-answer {
  max-height: 350px;
  padding: 0 1.5rem 1.5rem 1.5rem;
}

.faq-answer p {
  color: var(--text-secondary);
  line-height: 1.7;
  font-size: 0.95rem;
}

/* ==========================================================================
   FINAL CTA SECTION
   ========================================================================== */
.cta-section {
  padding: 4.5rem 0 6.5rem 0;
}

.cta-box {
  background: var(--gradient-card);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: clamp(2.5rem, 5vw, 4.5rem) clamp(1.5rem, 4vw, 3.5rem);
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 50px -10px rgba(0, 0, 0, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.cta-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent-yellow), transparent);
}

.cta-box::after {
  content: '';
  position: absolute;
  top: -50%;
  left: 50%;
  transform: translateX(-50%);
  width: 70%;
  height: 120%;
  background: radial-gradient(circle, rgba(253, 210, 56, 0.07) 0%, transparent 70%);
  pointer-events: none;
}

.cta-title {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 1rem;
}

.cta-desc {
  font-size: 1.15rem;
  color: var(--text-secondary);
  max-width: 580px;
  margin: 0 auto 2.25rem auto;
}

.cta-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ==========================================================================
   PAGES: WORK PAGE
   ========================================================================== */
.page-hero {
  position: relative;
  padding-top: calc(90px + 3.75rem);
  padding-bottom: 4.5rem;
  background:
    radial-gradient(circle at 85% 20%, rgba(253, 210, 56, 0.08) 0%, transparent 45%),
    radial-gradient(circle at 12% 80%, rgba(253, 210, 56, 0.04) 0%, transparent 40%),
    var(--bg-black);
  border-bottom: 1px solid var(--border-subtle);
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 0%, rgba(253, 210, 56, 0.04) 0%, transparent 70%);
  pointer-events: none;
}

.page-title {
  font-size: clamp(2.35rem, 5vw, 3.75rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin-bottom: 1.15rem;
}

.page-lead {
  font-size: clamp(1.05rem, 1.3vw, 1.2rem);
  color: var(--text-secondary);
  max-width: 640px;
  line-height: 1.7;
}

.work-page-section {
  padding: var(--section-spacing) 0;
}

/* ==========================================================================
   PAGES: CASE STUDY / PROJECT DETAIL
   ========================================================================== */
.case-study-hero {
  position: relative;
  padding-top: calc(90px + 3.5rem);
  padding-bottom: 3.75rem;
  background:
    radial-gradient(circle at 85% 20%, rgba(253, 210, 56, 0.08) 0%, transparent 45%),
    radial-gradient(circle at 12% 80%, rgba(253, 210, 56, 0.04) 0%, transparent 40%),
    var(--bg-black);
  border-bottom: 1px solid var(--border-subtle);
  overflow: hidden;
}

.case-study-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 0%, rgba(253, 210, 56, 0.04) 0%, transparent 70%);
  pointer-events: none;
}

.case-study-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent-yellow);
  background: var(--accent-yellow-muted);
  border: 1px solid var(--accent-yellow-border);
  padding: 0.35rem 0.85rem;
  border-radius: 99px;
  margin-bottom: 1.25rem;
  width: fit-content;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.case-study-title {
  font-size: clamp(2.35rem, 5vw, 3.75rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin-bottom: 1.25rem;
}

.case-meta-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  padding: 1.75rem 2rem;
  background: var(--gradient-card);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  margin-top: 2.25rem;
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.meta-col span {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin-bottom: 0.35rem;
  font-weight: 600;
}

.meta-col strong {
  font-size: 1rem;
  color: var(--text-primary);
}

/* Case Study: Responsive Preview Controls & Device System */
.case-preview-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
  margin-bottom: 1.25rem;
}

.case-preview-outer {
  width: 100%;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.case-preview-outer[data-device="desktop"] .case-preview-frame {
  max-width: 100%;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--border-card);
  background: #000;
  box-shadow: var(--shadow-card);
}

.case-preview-outer[data-device="mobile"] .case-preview-frame {
  max-width: 320px;
  height: 560px;
  margin: 0 auto;
  border-radius: 36px;
  border: 2px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.85), inset 0 0 0 2px #18181b;
  overflow: hidden;
  background: #000;
}

.case-preview-sandbox {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: #09090b;
  display: flex;
  flex-direction: column;
}

.case-preview-window-header {
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1rem;
  background: #141414;
  border-bottom: 1px solid var(--border-subtle);
  gap: 1rem;
  box-sizing: border-box;
}

.case-preview-dots {
  display: flex;
  gap: 6px;
  align-items: center;
}

.case-preview-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.case-preview-dot.red { background: #ff5f56; }
.case-preview-dot.yellow { background: #ffbd2e; }
.case-preview-dot.green { background: #27c93f; }

.case-preview-url-bar {
  flex: 1;
  max-width: 520px;
  background: #1c1c1c;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 6px;
  padding: 0.25rem 0.75rem;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 0.45rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.case-preview-tab-group {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.case-preview-tab-btn {
  background: transparent;
  border: 1px solid transparent;
  color: var(--text-muted);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.22rem 0.65rem;
  border-radius: 5px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.case-preview-tab-btn.active {
  background: rgba(253, 210, 56, 0.12);
  color: var(--accent-yellow);
  border-color: rgba(253, 210, 56, 0.3);
}

.case-preview-iframe {
  width: 100%;
  height: 72vh;
  min-height: 600px;
  max-height: 820px;
  border: none;
  display: block;
  background: #ffffff;
}

.case-preview-fallback {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: none;
}

.case-preview-outer[data-device="mobile"] .phone-bottom-bar {
  display: block;
}

.case-preview-frame {
  margin: 2.5rem 0;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--border-card);
  background: #000;
  box-shadow: var(--shadow-card);
}

.case-preview-img {
  width: 100%;
  height: auto;
  display: block;
}

.case-content-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.6fr;
  gap: 4rem;
  align-items: flex-start;
  margin-bottom: 5rem;
}

.case-block {
  margin-bottom: 3rem;
}

.case-block h2 {
  font-size: 1.75rem;
  margin-bottom: 1rem;
}

.case-block p {
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 1.25rem;
}

.case-features-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-top: 1.25rem;
}

.case-features-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 1rem;
  color: var(--text-secondary);
}

.case-features-list li::before {
  content: '—';
  color: var(--accent-yellow);
  font-weight: 700;
}

.case-sidebar-card {
  background: var(--gradient-card);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 2.25rem 2rem;
  position: sticky;
  top: 110px;
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.case-sidebar-card h3 {
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

.sidebar-tools-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.tool-badge {
  font-family: var(--font-mono);
  font-size: 0.775rem;
  padding: 0.35rem 0.65rem;
  background: #181818;
  border: 1px solid var(--border-subtle);
  border-radius: 6px;
  color: var(--text-secondary);
}

/* ==========================================================================
   PAGES: ABOUT PAGE
   ========================================================================== */
.about-page-section {
  padding: var(--section-spacing) 0;
}

.about-intro-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 4rem;
  align-items: flex-start;
  margin-bottom: 5.5rem;
}

.about-prose p {
  font-size: 1.15rem;
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.about-sidebar-box {
  background: var(--gradient-card);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 2.25rem 2rem;
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.about-sidebar-box h3 {
  font-size: 1.15rem;
  margin-bottom: 1rem;
}

.about-quick-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.about-quick-list li strong {
  color: var(--text-primary);
}

/* Practical Approach Timeline */
.approach-section {
  margin-bottom: 5.5rem;
}

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

.approach-step {
  background: var(--gradient-card);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 1.75rem 1.25rem;
  text-align: center;
  position: relative;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 8px 24px -8px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.approach-step:hover {
  border-color: rgba(253, 210, 56, 0.4);
  transform: translateY(-5px);
  background: var(--gradient-card-elevated);
  box-shadow: 0 16px 36px -10px rgba(0, 0, 0, 0.85), 0 0 20px -5px rgba(253, 210, 56, 0.15);
}

.approach-step-num {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--accent-yellow);
  margin-bottom: 0.5rem;
}

.approach-step-title {
  font-size: 0.95rem;
  font-weight: 600;
}

/* Factual Skills Grid */
.skills-factual-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
  margin-top: 2.5rem;
}

.skills-factual-card {
  background: var(--gradient-card);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 2.25rem 2rem;
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.skills-factual-card:hover {
  border-color: rgba(253, 210, 56, 0.4);
  transform: translateY(-5px);
  background: var(--gradient-card-elevated);
  box-shadow: 0 16px 36px -10px rgba(0, 0, 0, 0.85), 0 0 20px -5px rgba(253, 210, 56, 0.15);
}

.skills-card-header {
  font-size: 1.15rem;
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.skills-factual-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.skills-factual-list li {
  font-size: 0.95rem;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.skills-factual-list li::before {
  content: '•';
  color: var(--accent-yellow);
  font-size: 1.2rem;
  line-height: 0;
}

/* ==========================================================================
   PAGES: CONTACT PAGE
   ========================================================================== */
.contact-page-section {
  padding: var(--section-spacing) 0;
}

.contact-layout-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.3fr;
  gap: 4rem;
  align-items: flex-start;
}

.contact-info-col h2 {
  font-size: 2.25rem;
  margin-bottom: 1rem;
}

.contact-info-col p {
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 2rem;
}

.contact-links-box {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}

.contact-link-item {
  display: flex;
  align-items: center;
  gap: 1.15rem;
  padding: 1.25rem 1.35rem;
  background: var(--gradient-card);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  box-shadow: 0 8px 24px -8px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.contact-link-item:hover {
  border-color: rgba(253, 210, 56, 0.4);
  background: var(--gradient-card-elevated);
  transform: translateX(4px);
  box-shadow: 0 12px 30px -8px rgba(0, 0, 0, 0.8), 0 0 20px -5px rgba(253, 210, 56, 0.15);
}

.contact-link-icon {
  font-size: 1.25rem;
  color: var(--accent-yellow);
  flex-shrink: 0;
}

.contact-link-text {
  min-width: 0;
  word-break: break-word;
}

.contact-link-text h4 {
  font-size: 0.95rem;
  margin-bottom: 0.15rem;
}

.contact-link-text p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 0;
}

/* Contact Form */
.contact-form-box {
  background: var(--gradient-card);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: clamp(1.75rem, 4vw, 2.75rem);
  box-shadow: 0 15px 40px -10px rgba(0, 0, 0, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.form-grid-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-bottom: 1.25rem;
}

.form-field {
  margin-bottom: 1.25rem;
}

.form-field label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.45rem;
}

.form-field label span.req {
  color: #ef4444;
}

.form-control {
  width: 100%;
  padding: 0.85rem 1.15rem;
  background: var(--bg-input);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  color: var(--text-primary);
  font-size: 0.95rem;
  transition: var(--transition-fast);
}

.form-control:focus {
  outline: none;
  border-color: var(--border-focus);
  box-shadow: 0 0 0 3px var(--accent-yellow-muted);
  background: #181818;
}

select.form-control {
  appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a1a1aa' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 1.1em;
}

select.form-control option {
  background: #111111;
  color: #ffffff;
}

textarea.form-control {
  min-height: 130px;
  resize: vertical;
}

.form-toast {
  display: none;
  padding: 1rem 1.25rem;
  border-radius: 8px;
  margin-bottom: 1.25rem;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: #6ee7b7;
  font-size: 0.9rem;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  background: var(--bg-surface-elevated);
  border-top: 1px solid var(--border-subtle);
  padding: 4.5rem 0 2.5rem 0;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 3rem;
  flex-wrap: wrap;
  padding-bottom: 3.5rem;
  border-bottom: 1px solid var(--border-subtle);
}

.footer-identity {
  max-width: 380px;
}

.footer-logo {
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--text-primary);
  margin-bottom: 0.35rem;
}

.footer-role {
  font-size: 0.85rem;
  color: var(--accent-yellow);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.85rem;
}

.footer-tagline {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.footer-nav-col h4 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links a {
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.footer-links a:hover {
  color: var(--accent-yellow);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 2rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-copyright {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.back-to-top-btn {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  padding: 0.4rem 0.85rem;
  border-radius: 6px;
  font-size: 0.8rem;
  cursor: pointer;
  transition: var(--transition-fast);
}

.back-to-top-btn:hover {
  border-color: var(--border-hover);
  color: #ffffff;
}

/* ==========================================================================
   LEGAL & POLICY PAGES STYLING
   ========================================================================== */
.legal-toc {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-bottom: 2.5rem;
  padding: 1.25rem;
  background: var(--bg-surface);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-card);
  border-radius: 12px;
  box-shadow: 0 6px 18px -4px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.legal-toc-item {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  color: var(--text-secondary);
  padding: 0.4rem 0.85rem;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  text-decoration: none;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.legal-toc-item:hover {
  color: var(--accent-yellow);
  background: rgba(253, 210, 56, 0.1);
  border-color: rgba(253, 210, 56, 0.35);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(253, 210, 56, 0.15);
}

.legal-card {
  background: var(--bg-surface);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-card);
  border-radius: 14px;
  padding: 2.25rem;
  margin-bottom: 2rem;
  box-shadow: 0 8px 24px -6px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.35s ease;
  scroll-margin-top: 6rem;
}

.legal-card:hover {
  transform: translateY(-4px);
  border-color: rgba(253, 210, 56, 0.4);
  box-shadow: 0 20px 45px -10px rgba(0, 0, 0, 0.8),
              0 0 24px rgba(253, 210, 56, 0.12),
              inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.legal-card h2 {
  color: #fff;
  font-size: 1.35rem;
  font-weight: 700;
  margin-top: 0;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.legal-card h2 .legal-icon {
  color: var(--accent-yellow);
  font-size: 1.15rem;
}

.legal-card p {
  color: var(--text-secondary);
  line-height: 1.8;
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.legal-card p:last-child {
  margin-bottom: 0;
}

.legal-card ul {
  margin: 0.75rem 0 1.25rem 1.5rem;
  color: var(--text-secondary);
  line-height: 1.8;
}

.legal-card li {
  margin-bottom: 0.4rem;
}

.legal-card strong {
  color: #fff;
}

.legal-highlight-box {
  background: rgba(253, 210, 56, 0.06);
  border-left: 3px solid var(--accent-yellow);
  padding: 1rem 1.25rem;
  border-radius: 0 8px 8px 0;
  margin: 1.25rem 0;
  font-size: 0.92rem;
  color: #e4e4e7;
  line-height: 1.7;
}

.legal-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.2rem 0.65rem;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: rgba(253, 210, 56, 0.12);
  color: var(--accent-yellow);
  border: 1px solid rgba(253, 210, 56, 0.3);
  margin-bottom: 0.75rem;
}

/* ==========================================================================
   RESPONSIVE MEDIA QUERIES (COMPREHENSIVE MULTI-DEVICE SUITE)
   Supports: 320px, 360px, 375px, 390px, 414px, 480px, 768px, 820px,
             1024px, 1280px, 1366px, 1440px, 1536px, 1920px, 2560px
   ========================================================================== */

/* 1. Large Desktops & Ultrawide (min-width: 1600px, 1920px, 2560px) */
@media (min-width: 1600px) {
  :root {
    --container-max: 1320px;
  }
}

@media (min-width: 2000px) {
  :root {
    --container-max: 1440px;
  }
  .hero-section {
    padding-top: calc(90px + 6rem);
    padding-bottom: 7rem;
  }
  .page-hero,
  .case-study-hero {
    padding-top: calc(90px + 5.5rem);
    padding-bottom: 5.5rem;
  }
}

/* 2. Laptops & Compact Desktops (max-width: 1280px) */
@media (max-width: 1280px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    gap: 3rem;
  }

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

  .approach-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* 3. Tablets & Small Laptops (max-width: 1024px) */
@media (max-width: 1024px) {
  .hero-section {
    padding-top: calc(75px + 3rem);
    padding-bottom: 4.5rem;
  }

  .page-hero,
  .case-study-hero {
    padding-top: calc(75px + 3rem);
    padding-bottom: 3.5rem;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2.75rem;
  }

  .hero-content {
    max-width: 100%;
  }

  .hero-mockup-wrapper {
    max-width: 600px;
    margin: 0 auto;
    width: 100%;
  }

  .browser-body {
    height: 315px;
    min-height: 315px;
    max-height: 315px;
  }

  .about-preview-card {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .about-preview-stats {
    border-left: none;
    padding-left: 0;
    border-top: 1px solid var(--border-subtle);
    padding-top: 1.5rem;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }

  /* Standards editorial grid — stack to single column on tablets */
  .standards-editorial-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .standards-column-left {
    padding: 2rem;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .services-grid-detailed {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .focus-services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }

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

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

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

  .case-content-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .case-sidebar-card {
    position: static;
    top: auto;
  }

  .about-intro-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .contact-layout-grid {
    grid-template-columns: 1fr;
    gap: 2.75rem;
  }
}

/* 4. Tablets & Phablets (max-width: 820px) */
@media (max-width: 820px) {
  .site-header {
    height: 70px;
  }

  .mobile-toggle {
    display: flex;
  }

  .nav-actions .btn {
    display: none;
  }

  .services-grid-detailed {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .hero-section {
    padding-top: calc(70px + 2.5rem);
  }

  .page-hero,
  .case-study-hero {
    padding-top: calc(70px + 2.5rem);
    padding-bottom: 2.75rem;
  }

  .projects-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-top {
    flex-direction: column;
    gap: 2.5rem;
  }

  .footer-identity {
    max-width: 100%;
  }
}

/* 5. Mobile & Small Tablets (max-width: 768px) */
@media (max-width: 768px) {
  .mobile-toggle {
    display: flex;
  }

  /* Compact header on mobile */
  .nav-actions .btn {
    display: none;
  }

  .nav-menu {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    width: 100%;
    max-height: calc(100dvh - 70px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    background: rgba(12, 12, 12, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-card);
    flex-direction: column;
    align-items: stretch;
    padding: 1.5rem 1.25rem 2.25rem;
    gap: 0.5rem;
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.85);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s ease;
    z-index: 999;
  }

  .nav-menu.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-link {
    display: flex;
    align-items: center;
    padding: 0.85rem 1rem;
    font-size: 1.05rem;
    font-weight: 600;
    border-radius: 8px;
    color: var(--text-primary);
    min-height: 48px;
    border: 1px solid transparent;
  }

  .nav-link:hover,
  .nav-link.active {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.08);
  }

  .nav-link.active::after {
    display: none;
  }

  .nav-menu-mobile-cta {
    display: block;
    width: 100%;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-subtle);
  }

  .nav-menu-mobile-cta .btn {
    width: 100%;
    min-height: 48px;
    justify-content: center;
    font-size: 1rem;
  }

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

  .services-grid-detailed {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .focus-services-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .skills-factual-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .approach-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.85rem;
  }

  .form-grid-row {
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
  }

  .form-control,
  input,
  select,
  textarea {
    font-size: 16px !important;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 1.25rem;
  }

  /* Desktop-only preview on mobile */
  .hero-mockup-wrapper {
    max-width: 100%;
  }

  .hero-mockup-wrapper .browser-frame {
    border-radius: 12px;
  }

  .hero-mockup-wrapper .browser-body {
    height: 220px !important;
    min-height: 220px !important;
    max-height: 220px !important;
  }

  /* Case Study Live Preview on mobile */
  .case-preview-outer[data-device="desktop"] .case-preview-frame {
    height: 240px;
  }

  .mockup-caption {
    height: auto;
    min-height: 40px;
    max-height: none;
    flex-wrap: wrap;
  }

  .project-card-thumb {
    height: 220px;
    min-height: 220px;
    max-height: 220px;
  }

  /* Standards section mobile adjustments */
  .standards-column-left {
    padding: 1.5rem;
  }

  .standard-step-card {
    padding: 1.25rem;
  }

  .standard-step-title {
    font-size: 1.05rem;
  }

  .bento-interactive-box {
    padding: 1rem;
    font-size: 0.72rem;
  }

  .bento-metrics-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
}

/* 6. Phablets & Mobile Landscape (max-width: 580px) */
@media (max-width: 580px) {
  :root {
    --section-spacing: clamp(3rem, 5vw, 4.5rem);
  }

  .container {
    padding-left: clamp(1rem, 3.5vw, 1.5rem);
    padding-right: clamp(1rem, 3.5vw, 1.5rem);
  }

  .hero-section {
    padding-top: calc(70px + 2rem);
    padding-bottom: 3.5rem;
  }

  .page-hero,
  .case-study-hero {
    padding-top: calc(70px + 1.85rem);
    padding-bottom: 2.25rem;
  }

  .page-title,
  .case-study-title {
    font-size: clamp(2rem, 7.5vw, 2.75rem);
  }

  .page-lead {
    font-size: 1.05rem;
  }

  .hero-social-pill {
    padding: 0.38rem 0.85rem;
    font-size: 0.78rem;
    gap: 0.5rem;
  }

  .studio-meta-badge {
    font-size: 0.68rem;
    padding: 0.22rem 0.55rem;
    gap: 0.35rem;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
    gap: 0.75rem;
  }

  .hero-actions .btn {
    width: 100%;
    min-height: 48px;
    justify-content: center;
  }

  .why-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .about-preview-stats {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .case-meta-grid {
    grid-template-columns: 1fr;
    gap: 0.85rem;
    padding: 1.25rem;
  }

  .contact-form-box {
    padding: clamp(1.25rem, 3.5vw, 1.85rem);
    border-radius: 12px;
  }

  /* Approach Step Card - sleek mobile list presentation */
  .approach-grid {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .approach-step {
    display: flex;
    align-items: center;
    text-align: left;
    gap: 1rem;
    padding: 0.85rem 1rem;
  }

  .approach-step-num {
    margin-bottom: 0;
    width: 32px;
    height: 32px;
    border-radius: 6px;
    background: rgba(253, 210, 56, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
  }

  .approach-step-title {
    font-size: 0.9rem;
  }

  .browser-body {
    height: 200px;
    min-height: 200px;
    max-height: 200px;
  }

  .mockup-caption {
    height: auto;
    min-height: 40px;
    max-height: none;
  }

  .project-card-thumb {
    height: 200px;
    min-height: 200px;
    max-height: 200px;
  }

  /* Standards editorial on phablet */
  .standards-column-left {
    padding: 1.25rem;
  }

  .standard-step-card {
    padding: 1rem 1.15rem;
  }

  .standard-step-num {
    font-size: 0.7rem;
  }

  .standard-step-title {
    font-size: 0.95rem;
  }

  .standard-step-desc {
    font-size: 0.82rem;
  }

  .bento-interactive-box {
    padding: 0.85rem;
    font-size: 0.68rem;
  }

  .bento-metrics-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.4rem;
  }

  .bento-metric-pill {
    font-size: 0.68rem;
  }
}

/* 7. Extra Small Mobile Devices (max-width: 380px, covering 320px & 360px) */
@media (max-width: 380px) {
  .logo-text {
    font-size: 0.95rem;
  }

  .logo-sub {
    font-size: 0.62rem;
  }

  .hero-title {
    font-size: clamp(1.75rem, 7.5vw, 2.2rem);
  }

  .hero-desc {
    font-size: 0.9rem;
  }

  .page-hero,
  .case-study-hero {
    padding-top: calc(70px + 1.25rem);
    padding-bottom: 1.75rem;
  }

  .page-title,
  .case-study-title {
    font-size: clamp(1.65rem, 7.5vw, 2.1rem);
  }

  .page-lead {
    font-size: 0.92rem;
  }

  .section-tag,
  .case-study-badge {
    font-size: 0.72rem;
    padding: 0.28rem 0.65rem;
    margin-bottom: 0.75rem;
  }

  .case-meta-grid {
    padding: 1rem;
    gap: 0.75rem;
  }

  .meta-col strong {
    font-size: 0.9rem;
  }

  .skills-factual-card,
  .about-sidebar-box,
  .case-sidebar-card {
    padding: 1.25rem;
  }

  .browser-header {
    padding: 0.45rem 0.65rem;
    gap: 0.4rem;
  }

  .browser-dot {
    width: 7px;
    height: 7px;
  }

  .browser-url-bar {
    font-size: 0.68rem;
    padding: 0.18rem 0.45rem;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .slider-badge {
    font-size: 0.62rem;
    padding: 0.1rem 0.35rem;
  }

  .hero-mockup-wrapper .browser-body {
    height: 180px !important;
    min-height: 180px !important;
    max-height: 180px !important;
  }

  .case-preview-frame {
    height: 200px;
  }

  .mockup-caption {
    height: auto;
    min-height: 44px;
    max-height: none;
    font-size: 0.75rem;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.35rem;
  }

  .project-card-thumb {
    height: 170px;
    min-height: 170px;
    max-height: 170px;
  }

  .project-card-body {
    padding: 1.15rem;
  }

  .project-card-title {
    font-size: 1.2rem;
  }

  .project-card-actions {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  .btn {
    padding: 0.75rem 1.25rem;
    font-size: 0.88rem;
    width: 100%;
  }

  .btn-sm {
    padding: 0.6rem 1rem;
    font-size: 0.82rem;
  }

  .form-control {
    padding: 0.75rem 0.9rem;
    font-size: 16px !important;
  }
}

/* ==========================================================================
   HUMAN-CRAFTED DESIGN SYSTEM & LIVE VIDEO STUDIO SUITE
   ========================================================================== */

/* 1. Ambient Background Canvas & Film Grain */
.ambient-canvas {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 0;
  opacity: 0.55;
}

.film-grain {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 1;
  opacity: 0.035;
  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.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

/* 2. Marquee Ticker (Continuous Hardware-Accelerated Desktop & Mobile Motion) */
.marquee-container {
  width: 100%;
  overflow: hidden;
  user-select: none;
  pointer-events: none;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  background: rgba(14, 14, 16, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 0.95rem 0;
  position: relative;
  z-index: 5;
}

.marquee-track {
  display: flex;
  width: max-content;
  will-change: transform;
  animation: marqueeContinuous 26s linear infinite !important;
}

.marquee-group,
.marquee-content {
  display: flex;
  align-items: center;
  justify-content: space-around;
  flex-shrink: 0;
  min-width: 100%;
  gap: 2.5rem;
  padding-right: 2.5rem;
  will-change: transform;
}

.marquee-content {
  animation: marqueeContinuous 26s linear infinite !important;
}

.marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-mono);
  font-size: 0.825rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-secondary);
  white-space: nowrap;
  flex-shrink: 0;
}

.marquee-item .item-bullet {
  color: var(--accent-yellow);
  font-size: 0.85rem;
  line-height: 1;
}

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

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

/* 3. Navigation Socials & Theme-Matched Instagram */
.nav-socials {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.social-icon-btn {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid var(--border-card);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  cursor: pointer;
}

.social-icon-btn:hover {
  background: rgba(253, 210, 56, 0.12);
  border-color: var(--accent-yellow);
  color: var(--accent-yellow);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.45), 0 0 14px rgba(253, 210, 56, 0.3);
}

.social-icon-btn svg {
  width: 17px;
  height: 17px;
  transition: transform 0.25s ease;
}

.social-icon-btn:hover svg {
  transform: scale(1.1);
}

.hero-social-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  background: rgba(17, 17, 20, 0.85);
  border: 1px solid rgba(253, 210, 56, 0.25);
  padding: 0.45rem 1rem;
  border-radius: 99px;
  font-size: 0.825rem;
  font-family: var(--font-mono);
  color: var(--text-primary);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.35);
  text-decoration: none;
  max-width: 100%;
}

.hero-social-pill:hover {
  border-color: var(--accent-yellow);
  color: var(--accent-yellow);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5), 0 0 18px rgba(253, 210, 56, 0.28);
}

.hero-social-pill .status-pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 8px #10b981;
  animation: pulseDot 2s infinite ease-in-out;
}



/* 5. Editorial Engineering Standards (Replaces AI Bento Grid) */
.standards-editorial-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: 2.5rem;
  margin-top: 3rem;
  align-items: stretch;
}

.standards-column-left,
.standards-column-right {
  min-width: 0;
  width: 100%;
}

.standards-headline {
  font-size: clamp(1.25rem, 4vw, 1.6rem);
  font-weight: 700;
  color: #fff;
  margin: 0.5rem 0 1rem 0;
  line-height: 1.3;
}

.bento-status-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.65rem;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.standards-column-left {
  background: #111114;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  box-shadow: 0 12px 32px -10px rgba(0, 0, 0, 0.8);
}

.standards-column-right {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.standard-step-card {
  background: #111114;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 1.6rem 1.75rem;
  transition: border-color 0.25s ease, transform 0.25s ease;
}

.standard-step-card:hover {
  border-color: rgba(253, 210, 56, 0.35);
  transform: translateX(4px);
}

.standard-step-num {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--accent-yellow);
  letter-spacing: 0.1em;
  margin-bottom: 0.4rem;
}

.standard-step-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.45rem;
}

.standard-step-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 0;
}

/* Skeleton Loading State for Projects */
.skeleton-card {
  background: #121215;
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  overflow: hidden;
  position: relative;
  min-height: 380px;
}

.skeleton-shimmer {
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.02) 25%, rgba(255, 255, 255, 0.07) 50%, rgba(255, 255, 255, 0.02) 75%);
  background-size: 200% 100%;
  animation: skeletonShimmer 1.6s infinite ease-in-out;
}

@keyframes skeletonShimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* Backwards compatibility for legacy Bento references */
.bento-why-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.bento-card {
  background: var(--gradient-card);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 2.25rem 2rem;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.7);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
}

.bento-card:hover {
  border-color: rgba(253, 210, 56, 0.45);
  background: var(--gradient-card-elevated);
  transform: translateY(-5px);
}

.bento-col-8 { grid-column: span 8; }
.bento-col-4 { grid-column: span 4; }
.bento-col-6 { grid-column: span 6; }

.bento-eyebrow {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent-yellow);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.85rem;
}

.bento-title {
  font-size: 1.45rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.bento-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 1.5rem;
}

.bento-interactive-box {
  background: #09090c;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 1.15rem 1.25rem;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: #a1a1aa;
  margin-top: auto;
}

.bento-metrics-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  margin-top: 0.75rem;
}

.bento-metric-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  color: #fff;
}

.bento-metric-pill strong {
  color: var(--accent-yellow);
  font-weight: 700;
}

.feature-icon-wrapper {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background: var(--accent-yellow-muted);
  border: 1px solid var(--accent-yellow-border);
  color: var(--accent-yellow);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  box-shadow: 0 4px 15px rgba(253, 210, 56, 0.15);
}

.feature-icon-wrapper svg {
  width: 22px;
  height: 22px;
}

/* 7. Footer Social Strip */
.footer-social-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.footer-social-link {
  width: 38px;
  height: 38px;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-card);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
}

.footer-social-link:hover {
  background: rgba(253, 210, 56, 0.12);
  border-color: var(--accent-yellow);
  color: var(--accent-yellow);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5), 0 0 15px rgba(253, 210, 56, 0.3);
}

.footer-social-link svg {
  width: 18px;
  height: 18px;
}

/* 8. Studio Clock & Coordinates Badge */
.studio-meta-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-mono);
  font-size: 0.725rem;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  padding: 0.3rem 0.75rem;
  border-radius: 6px;
}

.studio-clock-ticker {
  color: var(--accent-yellow);
  font-weight: 600;
}

/* Responsive Overrides for Bento & Video Console */
@media (max-width: 992px) {
  .bento-col-8,
  .bento-col-4,
  .bento-col-6 {
    grid-column: span 12;
  }
}

/* hero-grid single-column handled by 1024px breakpoint above */

/* 9. Ultra-Narrow Small Mobile Devices (max-width: 340px, e.g. 320px) */
@media (max-width: 340px) {
  .hero-mockup-wrapper .browser-body {
    height: 170px !important;
    min-height: 170px !important;
    max-height: 170px !important;
  }

  .hero-social-pill {
    padding: 0.3rem 0.55rem;
    font-size: 0.72rem;
  }

  .hero-social-pill span:last-child {
    display: none;
  }

  .studio-meta-badge {
    font-size: 0.65rem;
    padding: 0.2rem 0.45rem;
    gap: 0.25rem;
  }

  .logo-text {
    font-size: 0.88rem;
  }

  .logo-sub {
    font-size: 0.58rem;
  }

  .hero-title {
    font-size: 1.65rem;
  }
}



