/* ============================================================================
   DESIGNBOYY — Design System & Stylesheet
   A clean implementation
   ============================================================================ */
@import url('https://fonts.googleapis.com/css2?family=Space+Mono:ital,wght@0,400;0,700;1,400;1,700&display=swap');

/* ── Fonts ─────────────────────────────────────────────────────────────────── */
/* Space Mono is loaded via Google Fonts at the top of this file */

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

html {
  scroll-behavior: smooth;
  -webkit-tap-highlight-color: transparent;
  overflow-x: hidden;
}

body {
  font-family: 'Space Mono', monospace;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

main {
  flex-grow: 1;
}

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

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

ul {
  list-style: none;
}

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

/* ── Design Tokens ─────────────────────────────────────────────────────────── */
:root {
  --bg: #090401;
  --bg-card: #18110D;
  --bg-card-hover: #241A14;
  --bg-surface: #090401;
  --text: #e8e6f0;
  --text-muted: #8a8694;
  --text-dim: #5c586a;
  --accent-1: #fce23a;
  --accent-2: #fd5f21;
  --gradient: linear-gradient(65deg, var(--accent-1), var(--accent-2));
  --gradient-text: linear-gradient(65deg, #FCD83A, #FF672C);
  --border: rgba(255, 255, 255, 0.06);
  --border-hover: rgba(255, 255, 255, 0.12);
  --radius: 16px;
  --radius-sm: 10px;
  --radius-xs: 6px;
  --shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
  --shadow-glow: 0 0 40px rgb(252, 163, 65);
  --container: 1200px;
  --header-h: 72px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── Utilities ─────────────────────────────────────────────────────────────── */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.text-muted {
  color: var(--text-muted);
}

.grad-text {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Gradient-bordered badge / pill — reusable */
.grad-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 14px 20px;
  font-size: 18px;
  font-weight: 500;
  color: var(--text);
  background:
    linear-gradient(#090401, #090401) padding-box,
    linear-gradient(45deg, #FCD83A, #FF672C) border-box;
  border: 2px solid transparent;
  border-radius: 10px 30px 30px 10px;
}

/* ── Fade-in Animation ─────────────────────────────────────────────────────── */
.fade-in {
  opacity: 0;
  filter: blur(8px);
  transform: translateY(30px) scale(0.95);
  transition: opacity 0.8s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1), filter 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
  transition-delay: var(--delay, 0s);
}

.fade-in.visible {
  opacity: 1;
  filter: blur(0px);
  transform: translateY(0) scale(1);
}

.mobile-br {
  display: none;
}

/* ── Tooltip ──────────────────────────────────────────────────────────────── */
[data-tooltip] {
  position: relative;
}

[data-tooltip]::before {
  content: attr(data-tooltip);
  position: absolute;
  bottom: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%) translateY(4px);
  padding: 6px 14px;
  background: rgba(24, 17, 13, 0.92);
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 0.75rem;
  font-weight: 500;
  color: #fff;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 100;
}

[data-tooltip]::after {
  content: '';
  position: absolute;
  bottom: calc(100% + 4px);
  left: 50%;
  transform: translateX(-50%);
  border: 5px solid transparent;
  border-top-color: rgba(24, 17, 13, 0.92);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s ease;
  z-index: 100;
}

[data-tooltip]:hover::before {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

[data-tooltip]:hover::after {
  opacity: 1;
}

/* ── Buttons ───────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all var(--transition);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.btn:active {
  transform: scale(0.96) !important;
}

.btn svg {
  flex-shrink: 0;
  transition: transform var(--transition);
}

.btn:hover svg {
  transform: translateX(4px);
}

.btn-primary {
  background: var(--gradient);
  color: #fff;
  box-shadow: 0 4px 20px rgba(252, 163, 65, 0.25);
}

.btn-primary::after,
.btn-cv::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.25), transparent);
  transform: skewX(-20deg);
  transition: none;
}

.btn-primary:hover::after,
.btn-cv:hover::after {
  animation: shine 0.7s ease-in-out;
}

@keyframes shine {
  0% {
    left: -100%;
  }

  100% {
    left: 200%;
  }
}

.btn-primary:hover {
  box-shadow: 0 6px 30px rgba(252, 163, 65, 0.942);
  transform: translateY(-2px);
}

.btn-outline {
  border: 1px solid var(--border-hover);
  color: var(--text);
  background: #18110D;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.btn-outline:hover {
  border-color: var(--accent-1);
  background: rgba(252, 163, 65, 0.06);
  color: #fff;
}

.btn-cv {
  background: var(--gradient);
  color: #fff;
  border-radius: 60px 0 60px 60px;
  box-shadow: 0 4px 20px rgba(252, 163, 65, 0.25);
}

.btn-cv:hover {
  box-shadow: 0 6px 30px rgba(252, 163, 65, 0.4);
  transform: translateY(-2px);
}

.btn-lg {
  padding: 18px 36px;
  font-size: 1rem;
}

/* ── Section Styles ────────────────────────────────────────────────────────── */
section {
  padding: 100px 0;
}

.section-emoji {
  font-size: 1.8rem;
  margin-bottom: 8px;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 48px;
  gap: 24px;
  flex-wrap: wrap;
}

.section-header h2 {
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  font-weight: 700;
}

.section-title {
  margin-top: 20px;
  line-height: 1.2;
}

.section-subtitle {
  font-size: 1.05rem;
  margin-top: 4px;
}

/* ══════════════════════════════════════════════════════════════════════════════
   HEADER
   ══════════════════════════════════════════════════════════════════════════════ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: transparent;
  border-bottom: 1px solid transparent;
  height: var(--header-h);
  transition: background 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease,
    backdrop-filter 0.4s ease, -webkit-backdrop-filter 0.4s ease;
}

.site-header.scrolled {
  background: rgba(24, 17, 13, 0.72);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.35);
}

.nav-container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo img {
  display: block;
  width: 300px;
  height: auto;
  margin-left: -60px;
}

.nav-links {
  display: flex;
  gap: 4px;
  align-items: center;
}

.nav-links a {
  padding: 10px 16px;
  border-radius: var(--radius-xs);
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color var(--transition), background var(--transition);
}

.nav-links--desktop a {
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.nav-links--desktop>li>a {
  color: #ffffff;
}

.nav-links a:hover,
.nav-links a.active {
  color: #fff;
}

.nav-links a.active {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-links a.active:hover {
  background: none;
  -webkit-text-fill-color: #fff;
  color: #fff;
}

/* Desktop Dropdown */
.nav-links--desktop .has-dropdown {
  position: relative;
}

/* Invisible hover bridge */
.nav-links--desktop .has-dropdown::before {
  content: '';
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  height: 32px;
}

.nav-links--desktop .has-dropdown>a::after {
  content: '';
  display: inline-block;
  width: 8px;
  height: 4px;
  background-color: currentColor;
  clip-path: polygon(0 0, 100% 0, 50% 100%);
  margin-left: 6px;
  vertical-align: middle;
  transition: transform var(--transition), background var(--transition);
}

.nav-links--desktop .has-dropdown>a.active::after {
  background: var(--gradient-text);
}

.nav-links--desktop .has-dropdown>a.active:hover::after {
  background: currentColor;
}

.nav-links--desktop .dropdown {
  position: absolute;
  top: calc(100% + 24px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 240px;
  background: rgba(24, 17, 13, 0.95);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-sm);
  padding: 8px;
  margin-top: 0;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.03) inset;
}

/* Speech bubble tail */
.nav-links--desktop .dropdown::before {
  content: '';
  position: absolute;
  top: -8px;
  left: 50%;
  transform: translateX(-50%);
  border-left: 9px solid transparent;
  border-right: 9px solid transparent;
  border-bottom: 8px solid rgba(255, 255, 255, 0.08);
}

.nav-links--desktop .dropdown::after {
  content: '';
  position: absolute;
  top: -6px;
  left: 50%;
  transform: translateX(-50%);
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-bottom: 7px solid rgba(24, 17, 13, 0.95);
}

.nav-links--desktop .has-dropdown:hover .dropdown,
.nav-links--desktop .has-dropdown.active .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.nav-links--desktop .dropdown a {
  display: block;
  padding: 10px 16px;
  font-size: 0.82rem;
  border-radius: 6px;
  position: relative;
  z-index: 1;
  color: #ffffff;
  background: transparent;
  transition: color 0.2s ease;
}

.nav-links--desktop .dropdown a.active {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 600;
}

.nav-links--desktop .dropdown a:hover {
  color: #fff;
}

.nav-links--desktop .dropdown a.active:hover {
  background: none;
  -webkit-text-fill-color: #fff;
  color: #fff;
}

/* External link indicator inside dropdowns */
.external-link {
  display: flex !important;
  align-items: center;
  gap: 6px;
}

.external-link-icon {
  flex-shrink: 0;
  opacity: 0.45;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

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

.dropdown-hover-pill {
  position: absolute;
  top: 0;
  left: 8px;
  right: 8px;
  border-radius: 6px;
  background: var(--gradient);
  pointer-events: none;
  z-index: 0;
  opacity: 0;
  transition: transform 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55), height 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55), opacity 0.2s ease;
}

.nav-icon {
  display: none;
}

.mobile-nav-panel {
  display: none;
}

.nav-cta {
  font-size: 0.88rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 0 10px 16px;
  transition: opacity var(--transition);
}

.nav-cta:hover {
  opacity: 0.8;
}

.nav-cta svg {
  -webkit-text-fill-color: initial;
  fill: var(--accent-1);
}

/* Mobile panel copyright */
.mobile-panel-copyright {
  margin: auto 24px 40px;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.2);
  font-weight: 400;
  text-align: center;
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  align-items: center;
  gap: 10px;
  padding: 8px;
  z-index: 1001;
  position: relative;
}

.menu-toggle-label {
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text);
  line-height: 1;
  padding-top: 5px;
  transition: opacity 0.3s ease;
}

.menu-toggle-bars {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.menu-toggle-bars span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  transition: transform 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55), opacity 0.3s ease;
  border-radius: 2px;
  transform: translateZ(0);
  backface-visibility: hidden;
  will-change: transform, opacity;
}

.menu-toggle.active .menu-toggle-label {
  opacity: 0;
}

.menu-toggle.active .menu-toggle-bars span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active .menu-toggle-bars span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0) translateZ(0);
}

.menu-toggle.active .menu-toggle-bars span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ══════════════════════════════════════════════════════════════════════════════
   HERO
   ══════════════════════════════════════════════════════════════════════════════ */
.hero {
  min-height: 860px;
  position: relative;
  overflow: hidden;
  padding-bottom: 0;
  background: #090401 url('../images/hero-bg2.png') center / cover no-repeat;
}

.hero-content {
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  max-width: var(--container, 1200px);
  margin: 0 auto;
  padding: calc(var(--header-h) + 20px) 40px 0;
}

.hero-text-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 60px;
  flex: 1;
  z-index: 2;
}

.hero-headline {
  text-align: left;
  z-index: 2;
}

.hero-headline h1 {
  font-size: 72px;
  font-weight: 700;
  line-height: 1.1;
  margin-top: 60px;
  color: #fff;
}

/* Rotating Words */
.rotating-words {
  display: inline-block;
  position: relative;
  vertical-align: bottom;
  height: 1.2em;
  transition: width 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.rotating-words .word {
  display: inline-block;
  position: absolute;
  left: 0;
  right: 0;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  opacity: 0;
  transform: scale(1.3);
  filter: blur(8px);
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1),
    transform 0.8s cubic-bezier(0.4, 0, 0.2, 1),
    filter 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.rotating-words .word.active {
  position: relative;
  opacity: 1;
  transform: scale(1);
  filter: blur(0px);
}

.rotating-words .word.exit {
  opacity: 0;
  transform: scale(0.8);
  filter: blur(8px);
}

/* Hero Visual */
.hero-visual {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  width: 100%;
  max-width: var(--container);
  padding: 0 24px;
  position: relative;
  z-index: 1;
  margin-top: auto;
  margin-bottom: -30px;
}

@property --border-angle {
  syntax: '<angle>';
  initial-value: 0deg;
  inherits: false;
}

.hero-avatar-border {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  z-index: 1;
  /* Outline is pre-baked into hero-outline.png (was a runtime feMorphology SVG
     filter — far too expensive to recompute every animation frame on low-end
     GPUs). Only the conic-gradient mask animates now. */
  -webkit-mask-image: conic-gradient(from 0deg, black var(--border-angle), transparent var(--border-angle));
  mask-image: conic-gradient(from 0deg, black var(--border-angle), transparent var(--border-angle));
  transform: translateZ(0);
}

.hero-avatar-border.draw-animation {
  animation: drawBorder 1.5s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}



@keyframes drawBorder {
  0% {
    --border-angle: 0deg;
  }

  100% {
    --border-angle: 360deg;
  }
}

@keyframes fadeBorder {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

.hero-avatar {
  width: 750px;
  height: auto;
  max-width: 90vw;
  position: relative;
  z-index: 2;
  margin-top: 0;
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.4));
}

.hero-avatar-container {
  position: relative;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  z-index: 2;
  margin-top: 0px;
}

.scan-line-mask {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  -webkit-mask-image: url('../images/hero_img.webp');
  -webkit-mask-size: 100% auto;
  -webkit-mask-repeat: no-repeat;
  mask-image: url('../images/hero_img.webp');
  mask-size: 100% auto;
  mask-repeat: no-repeat;
}

.scan-line-mask::before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(rgba(0, 0, 0, 0.2),
      rgba(0, 0, 0, 0.2) 2px,
      transparent 2px,
      transparent 4px);
  pointer-events: none;
}

.hero-prop {
  width: 234px;
  height: auto;
  object-fit: contain;
  position: relative;
  z-index: 1;
  align-self: flex-start;
}

/* 3D Sticker Container — Three.js handles the animation */
.sticker-3d {
  position: relative;
  display: inline-flex;
  align-self: flex-start;
  z-index: 1;
}

.sticker-glare {
  display: none;
}

.hero-prop-left {
  margin-right: -50px;
}

.hero-prop-right {
  margin-left: -50px;
}

/* ============================================================================
   Tech Stack Carousel
   ============================================================================ */
.stack-carousel {
  padding: 0;
  overflow: hidden;
  position: relative;
  border-bottom: 1px solid var(--border);
}

/* Fade edges */
.stack-carousel::before,
.stack-carousel::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 120px;
  z-index: 2;
  pointer-events: none;
}

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

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

.stack-track {
  display: flex;
  width: 100%;
  padding: 40px 0 50px;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
  /* Firefox */
  -ms-overflow-style: none;
  /* IE/Edge */
  -webkit-overflow-scrolling: touch;
  cursor: grab;
}

.stack-track:active {
  cursor: grabbing;
}

.stack-track::-webkit-scrollbar {
  display: none;
  /* Chrome/Safari */
}

.stack-slide {
  display: flex;
  gap: 32px;
  padding-right: 32px;
  flex-shrink: 0;
}

.stack-item {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 96px;
  height: 96px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  padding: 14px;
  position: relative;
  cursor: default;
  transition: transform 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55), background 0.3s ease, border-color 0.3s ease;
  will-change: transform;
}

.stack-item:hover {
  transform: translateY(-8px) scale(1.15);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.15);
}

.stack-item img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.stack-item[data-label="Vercel"] img,
.stack-item[data-label="GitHub"] img {
  filter: brightness(0) invert(1);
}

/* Tooltip label on hover */
.stack-item::after {
  content: attr(data-label);
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%) translateY(-4px);
  background: var(--card);
  color: var(--text);
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.03em;
  padding: 5px 10px;
  border-radius: 6px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  border: 1px solid var(--border);
}

.stack-item:hover::after {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

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

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

@keyframes float {

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

  50% {
    transform: translateY(-14px);
  }
}

/* Hero Bottom Bar */
.hero-bottom {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  width: 100%;
  padding: 0;
  margin: 0;
  z-index: 3;
  position: relative;
  gap: 40px;
}

.hero-bottom-left {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
}

.hero-tagline {
  max-width: 340px;
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin: 0;
}

.hero-profile-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #a2a2a2;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.2s ease;
}

.hero-cta {
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-size: 0.85rem;
  padding: 16px 28px;
  flex-shrink: 0;
}

.hero-cta-text {
  font-weight: 600;
}



/* ══════════════════════════════════════════════════════════════════════════════
   MY STACKS
   ══════════════════════════════════════════════════════════════════════════════ */
.my-stacks {
  padding: 80px 0;
  background-color: var(--bg);
}

.stacks-container {
  display: flex;
  flex-direction: column;
  gap: 48px;
  margin-top: 40px;
}


.stack-category {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

@media (min-width: 768px) {
  .stack-category {
    flex-direction: row;
    align-items: flex-start;
  }
}

.stack-category-title {
  font-size: 0.75rem;
  /* smaller, more subtle */
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #777;
  /* more muted grey */
  margin-bottom: 12px;
  font-weight: 600;
}

@media (min-width: 768px) {
  .stack-category-title {
    width: 140px;
    /* enough space for the title on the left */
    flex-shrink: 0;
    margin-bottom: 0;
    padding-top: 10px;
    /* nicely aligned with the center of the first row of pills */
  }
}

.stack-items {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  /* slightly tighter gap */
}

.stack-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  /* tighter gap for smaller pill */
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 8px 16px;
  /* smaller padding */
  border-radius: 6px;
  /* slightly smaller radius */
  font-size: 0.875rem;
  /* 14px font, matches screenshot */
  color: #fff;
  font-weight: 500;
  transition: transform 0.3s ease, border-color 0.3s ease, background 0.3s ease;
}

.stack-pill:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.06);
}

.stack-pill img,
.stack-pill svg {
  width: 16px;
  /* smaller icons */
  height: 16px;
  object-fit: contain;
}

/* ══════════════════════════════════════════════════════════════════════════════
   PROJECTS
   ══════════════════════════════════════════════════════════════════════════════ */
.projects {
  background: var(--bg-surface);
}

.projects-hero {
  padding: calc(var(--header-h) + 60px) 0 80px !important;
  position: relative;
}

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

.project-card {
  background: transparent;
  border: none;
  border-radius: 0;
  transition: all var(--transition);
  will-change: transform;
}

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

.project-cover {
  height: 420px;
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
}

.project-cover-img {
  position: absolute;
  top: -2px;
  left: -2px;
  width: calc(100% + 4px);
  height: calc(100% + 4px);
  object-fit: cover;
  object-position: center;
  transition: transform var(--transition);
  z-index: 0;
}

.project-cover::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  opacity: 0;
  transition: opacity var(--transition);
  z-index: 1;
}

.project-cover::before {
  content: '';
  position: absolute;
  top: 0;
  left: -150%;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.15), transparent);
  transform: skewX(-20deg);
  z-index: 2;
  transition: none;
}

.project-card:hover .project-cover::after {
  opacity: 1;
}

.project-card:hover .project-cover::before {
  animation: shineProject 1s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes shineProject {
  0% {
    left: -150%;
  }

  100% {
    left: 150%;
  }
}

.project-link {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) translateY(10px);
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 32px;
  background: rgba(24, 17, 13, 0.7);
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #fff;
  opacity: 0;
  box-shadow: 0 8px 30px rgba(252, 163, 65, 0.4);
  transition: all var(--transition);
  white-space: nowrap;
}

.project-card:hover .project-link {
  opacity: 1;
  transform: translate(-50%, -50%);
}

.project-link:hover {
  background: var(--gradient);
  box-shadow: 0 10px 40px rgba(252, 163, 65, 0.6);
}

.project-info {
  padding: 16px 4px;
}

.project-info h3 {
  font-size: 1.15rem;
  font-weight: 700;
}

.project-info h3 a:hover {
  color: var(--accent-1);
}

.project-type {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #fff;
  background: linear-gradient(90deg, #FCD83A, #FF672C);
  padding: 3px 10px;
  border-radius: 8px;
  display: inline-block;
}

.testi-card-new {
  position: relative;
  width: 100%;
  max-width: 800px;
  margin: 0;
  padding: 32px 0;
  background: transparent;
  border: none;
  border-radius: var(--radius);
  text-align: left;
}

@media (min-width: 768px) {
  .testi-card-new {
    padding: 64px 0;
  }
}

.testi-quote-icon {
  margin: 0 0 32px 0;
  display: block;
}

.testi-text-new {
  font-size: clamp(1.2rem, 3vw, 1.6rem);
  line-height: 1.6;
  color: var(--text-primary);
  margin-bottom: 40px;
  max-width: 850px;
}

.testi-author-row {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 20px;
}

.testi-avatar-new {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
}

.testi-author-info h3 {
  font-size: 1.25rem;
  margin-bottom: 4px;
  color: var(--text-primary);
  font-weight: 700;
}

.testi-author-info p {
  font-size: 1rem;
  color: var(--text-secondary);
  margin: 0;
}

.slider-controls-new {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 32px;
  width: 100%;
  padding-left: 48px;
}

.slider-btn-new {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  background: transparent;
  cursor: pointer;
  transition: all 0.3s ease;
}

.slider-btn-new:hover {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-primary);
  border-color: rgba(255, 255, 255, 0.3);
}

.slider-dots-new {
  display: flex;
  align-items: center;
  gap: 8px;
}

.slider-dots-new .dot-btn {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
}

.slider-dots-new .dot-btn.active {
  width: 28px;
  border-radius: 14px;
  background: var(--gradient);
}

.project-meta {
  margin-top: 12px;
}

.project-meta p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 8px;
  line-height: 1.5;
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  font-weight: 500;
  padding: 0;
  border-radius: 50px;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  display: inline-block;
}

.status-active {
  color: var(--text-muted);
  background: transparent;
}

.status-active .dot {
  background: #62EB1A;
  box-shadow: 0 0 6px #62EB1A;
}

.status-discontinued {
  color: var(--text-muted);
  background: transparent;
}

.status-discontinued .dot {
  background: #EB1A1A;
}

.status-in-progress {
  color: var(--text-muted);
  background: transparent;
}

.status-in-progress .dot {
  background: #F59E0B;
  box-shadow: 0 0 6px #F59E0B;
}

/* ══════════════════════════════════════════════════════════════════════════════
   MY STARTUPS
   ══════════════════════════════════════════════════════════════════════════════ */
.startups {
  background: var(--bg-surface);
}

/* ══════════════════════════════════════════════════════════════════════════════
   TESTIMONIALS
   ══════════════════════════════════════════════════════════════════════════════ */
.testimonials {
  background: var(--bg);
}

.floater-wrap {
  position: relative;
  overflow: visible;
  display: flex;
  justify-content: center;
  pointer-events: none;
  margin-top: -112px;
  margin-bottom: -112px;
  z-index: 1;
}

.testimonial-floater {
  width: 224px;
  opacity: 0.15;
  pointer-events: none;
  z-index: 0;
  transition: none;
  will-change: transform, opacity;
}

.testimonials-layout {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 60px;
  align-items: start;
}

.testimonials-left h2 {
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  font-weight: 700;
  margin-bottom: 24px;
}

.testimonial-deco {
  max-width: 300px;
  margin-top: 24px;
  filter: drop-shadow(0 0 30px rgba(252, 163, 65, 0.1));
}

.quote-icon {
  width: 50px;
  margin-bottom: 24px;
}

.testimonial-slider {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  gap: 0;
  scrollbar-width: none;
  -ms-overflow-style: none;
  position: relative;
  min-height: 200px;
  cursor: grab;
}

.testimonial-slider::-webkit-scrollbar {
  display: none;
}

.testimonial-slide {
  flex: 0 0 100%;
  scroll-snap-align: center;
  position: relative;
  user-select: none;
}

/* Portrait animation */
.testimonial-slide .testi-portrait {
  transition: transform 0.8s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.6s ease;
  transform: scale(1.08);
  opacity: 0.7;
}

.testimonial-slide.active .testi-portrait {
  transform: scale(1);
  opacity: 1;
}

.testimonial-slide blockquote {
  font-size: 1.25rem;
  line-height: 1.8;
  color: var(--text);
  margin-bottom: 28px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 16px;
}

.testimonial-author img {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--border);
}

.testimonial-author strong {
  display: block;
  font-size: 1.1rem;
}

.testimonial-author span {
  font-size: 0.95rem;
  color: var(--text-muted);
}

.slider-controls {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 32px;
}

.slider-btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: var(--text-muted);
  transition: all var(--transition);
}

.slider-btn:hover {
  border-color: var(--accent-1);
  color: #fff;
  background: rgba(252, 163, 65, 0.1);
}

.slider-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  z-index: 10;
}

.slider-dots .dot-btn {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--border);
  border: none;
  cursor: pointer;
  transition: var(--transition);
  padding: 0;
}

.slider-dots .dot-btn:hover,
.slider-dots .dot-btn.active {
  background: var(--text);
  width: 8px;
  /* Override the expanding behavior */
}

/* ══════════════════════════════════════════════════════════════════════════════
   WORK EXPERIENCE
   ══════════════════════════════════════════════════════════════════════════════ */
.experience {
  background: var(--bg-surface);
}

.experience-cta {
  text-align: right;
}

.experience-cta p {
  margin-bottom: 12px;
}

.experience-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  border-top: 1px solid var(--border);
  padding-top: 40px;
}

.experience-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0;
  background: transparent;
  border: none;
  border-radius: 0;
  transition: all var(--transition);
  flex-wrap: wrap;
  gap: 16px;
}

.experience-card:hover {
  background: transparent;
}

.exp-left {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.exp-left img {
  display: block;
  width: 72px;
  height: 72px;
  border-radius: var(--radius-xs);
  object-fit: contain;
  margin-bottom: 8px;
}

.exp-left h3 {
  font-size: 1.5rem;
  font-weight: 600;
}

.exp-company {
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--text);
  margin-top: 2px;
}

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

.exp-right {
  text-align: right;
}

.exp-date {
  font-size: 1.05rem;
  font-weight: 500;
}

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

.experience-card.exp-hidden {
  display: none;
}

.experience-card.exp-reveal {
  display: flex;
  animation: expReveal 0.5s ease forwards;
}

@keyframes expReveal {
  from {
    opacity: 0;
    transform: translateY(16px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ── Featured Experience Card ─────────────────────────────────────────── */
.experience-card--featured {
  border-left: 2px solid var(--accent-1);
}

.exp-featured-badge {
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent-1);
  background: rgba(252, 163, 65, 0.1);
  padding: 2px 8px;
  border-radius: 50px;
}

/* ── Experience Info Button ────────────────────────────────────────────── */
.exp-name-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.exp-info-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-dim);
  cursor: pointer;
  transition: all 0.2s ease;
  flex-shrink: 0;
  overflow: hidden;
}

.exp-info-btn svg {
  transition: transform 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.exp-info-btn:hover {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
}

.exp-info-btn:hover svg {
  animation: iconSlideUp 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55) forwards;
}

@keyframes iconSlideUp {
  0% {
    transform: translateY(0);
  }

  49% {
    transform: translateY(-20px);
  }

  50% {
    transform: translateY(20px);
    opacity: 0;
  }

  51% {
    opacity: 1;
  }

  100% {
    transform: translateY(0);
  }
}

/* ── Company Info Modal ────────────────────────────────────────────────── */
.exp-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.exp-modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.exp-modal {
  position: relative;
  width: 90%;
  max-width: 440px;
  background: rgba(20, 20, 20, 0.7);
  backdrop-filter: blur(24px) saturate(1.4);
  -webkit-backdrop-filter: blur(24px) saturate(1.4);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 0;
  padding: 72px 32px 32px;
  overflow: hidden;
  transform: translateY(20px) scale(0.96);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.exp-modal-overlay.active .exp-modal {
  transform: translateY(0) scale(1);
}

/* Modal window dots */
.exp-modal-dots {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  padding: 12px 14px;
  background: rgba(0, 0, 0, 0.35);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.exp-modal-close,
.exp-modal-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: none;
  padding: 0;
  display: block;
  flex-shrink: 0;
}

.exp-modal-close {
  background: #ff5f57;
  cursor: pointer;
  transition: all 0.15s ease;
}

.exp-modal-close:hover {
  background: #ff3b30;
  box-shadow: 0 0 10px rgba(255, 59, 48, 0.7);
}

.exp-modal-close svg {
  display: none;
}

.exp-modal-dot--yellow {
  background: rgba(254, 188, 46, 0.35);
  cursor: not-allowed;
}

.exp-modal-dot--green {
  background: rgba(39, 201, 63, 0.35);
  cursor: not-allowed;
}

.exp-modal-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

.exp-modal-header img {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  object-fit: contain;
  background: transparent;
  border: none;
}

.exp-modal-header h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.3;
}

.exp-modal-role {
  display: none;
}

.exp-modal-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 24px;
}

.exp-modal-links {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.exp-modal-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.25s ease;
}

.exp-modal-link--website {
  background: var(--gradient);
  color: #fff;
  border: none;
}

.exp-modal-link--website:hover {
  box-shadow: 0 4px 20px rgba(252, 163, 65, 0.4);
  transform: translateY(-1px);
}

.exp-modal-link--social {
  width: 40px;
  height: 40px;
  padding: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-muted);
}

.exp-modal-link--social:hover {
  background: rgba(252, 163, 65, 0.2);
  border-color: rgba(252, 163, 65, 0.4);
  color: #fff;
  transform: translateY(-1px);
}

.load-more-wrap {
  text-align: left;
  margin-top: 32px;
}

.load-more-wrap .btn {
  min-width: 180px;
}

/* ══════════════════════════════════════════════════════════════════════════════
   CTA
   ══════════════════════════════════════════════════════════════════════════════ */
.cta-section {
  text-align: center;
  padding: 120px 0;
}

.cta-section h2 {
  font-size: clamp(1.8rem, 5vw, 3rem);
  font-weight: 600;
  margin-bottom: 12px;
}

.cta-link {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  font-size: 3em;
  font-weight: 800;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  transition: gap 0.3s ease, transform 0.3s ease;
}

.cta-link svg {
  width: 0.85em;
  height: 0.85em;
  -webkit-text-fill-color: initial;
  transition: transform 0.3s ease;
}

.cta-link:hover {
  gap: 24px;
}

.cta-link:hover svg {
  transform: translateX(6px);
}

/* ══════════════════════════════════════════════════════════════════════════════
   FOOTER
   ══════════════════════════════════════════════════════════════════════════════ */
.site-footer {
  padding: 60px 0 40px;
}

.footer-divider {
  height: 1px;
  background: var(--border);
  margin-bottom: 48px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(4, 1fr);
  gap: 40px;
  margin-bottom: 48px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-brand .footer-logo {
  margin: 0;
  width: 200px;
  height: auto;
}

.footer-tagline {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 280px;
}

.footer-social {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.footer-social a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
}

.footer-social a svg {
  width: 16px;
  height: 16px;
  fill: var(--text-muted);
  transition: fill var(--transition);
}

.footer-social a:hover {
  background: var(--gradient);
  transform: scale(1.1);
}

.footer-social a:hover svg {
  fill: #fff;
}

.footer-col-title {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.45);
  font-weight: 600;
  margin-top: 0;
  margin-bottom: 20px;
}

.footer-col-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-col-links li a {
  display: inline-flex;
  align-items: center;
  font-size: 0.9rem;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s ease;
  overflow: hidden;
}

.footer-col-links li a:hover {
  color: #fff;
}

.footer-col-links li a:hover svg {
  animation: diagonalSwoosh 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55) forwards;
}

@keyframes diagonalSwoosh {
  0% {
    transform: translate(0, 0);
  }

  49% {
    transform: translate(15px, -15px);
  }

  50% {
    transform: translate(-15px, 15px);
    opacity: 0;
  }

  51% {
    opacity: 1;
  }

  100% {
    transform: translate(0, 0);
  }
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}

.copyright {
  font-size: 0.82rem;
  color: var(--text-dim);
  margin: 0;
}

.back-to-top {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--gradient);
  color: #fff;
  font-size: 1.2rem;
  transition: all var(--transition);
}

.back-to-top:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-glow);
}

/* ══════════════════════════════════════════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .project-grid {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }

  .project-cover {
    height: 300px;
  }

  .project-grid {
    align-items: start;
  }

  .testimonials-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .testimonial-deco {
    display: none;
  }

  .nav-links--desktop {
    display: none;
  }

  .nav-cta {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  /* Hero tablet */
  .hero {
    min-height: 780px;
  }

  .hero-headline h1 {
    font-size: 56px;
  }

  .hero-avatar {
    width: 550px;
  }

  .hero-prop {
    width: 140px;
  }

  .hero-prop-left {
    margin-right: -40px;
  }

  .hero-prop-right {
    margin-left: -40px;
  }

  .hero-bottom {
    margin-top: -70px;
  }

  /* ── Immersive Mobile Nav ─────────────────────────────────────────────────── */
  .mobile-nav-panel {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, var(--bg-card) 0%, var(--bg) 38%, var(--bg) 100%);
    z-index: 998;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .mobile-nav-panel.open {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
  }

  .mobile-nav-panel .nav-links {
    display: flex;
    flex-direction: column;
    padding: var(--header-h) 24px 40px;
    gap: 0;
    align-items: stretch;
  }

  /* Staggered entry animation */
  .mobile-nav-panel.open .nav-links>li {
    opacity: 0;
    transform: translateX(-20px);
    animation: menuSlideIn 0.4s ease forwards;
  }

  .mobile-nav-panel.open .nav-links>li:nth-child(1) {
    animation-delay: 0.05s;
  }

  .mobile-nav-panel.open .nav-links>li:nth-child(2) {
    animation-delay: 0.1s;
  }

  .mobile-nav-panel.open .nav-links>li:nth-child(3) {
    animation-delay: 0.15s;
  }

  .mobile-nav-panel.open .nav-links>li:nth-child(4) {
    animation-delay: 0.2s;
  }

  .mobile-nav-panel.open .nav-links>li:nth-child(5) {
    animation-delay: 0.25s;
  }

  .mobile-nav-panel.open .nav-links>li:nth-child(6) {
    animation-delay: 0.3s;
  }

  @keyframes menuSlideIn {
    to {
      opacity: 1;
      transform: translateX(0);
    }
  }

  /* Menu links — large, bold */
  .mobile-nav-panel .nav-links>li>a {
    font-size: 1.5rem;
    font-weight: 500;
    text-transform: uppercase;
    padding: 18px 0;
    color: var(--text-muted);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    display: flex;
    align-items: center;
    gap: 14px;
    transition: color 0.3s ease;
  }

  .mobile-nav-panel .nav-icon {
    display: block;
    width: 22px;
    height: 22px;
    flex-shrink: 0;
    opacity: 0.6;
    transition: opacity 0.3s ease;
  }

  .mobile-nav-panel .nav-links>li>a:hover .nav-icon {
    opacity: 1;
  }

  .mobile-nav-panel .nav-links>li>a:hover,
  .mobile-nav-panel .nav-links>li>a.active {
    color: #fff;
  }

  .mobile-nav-panel .nav-links>li>a.active .nav-icon {
    opacity: 1;
  }

  .mobile-nav-panel .nav-links>li>a.active {
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
  }

  .mobile-nav-panel .nav-links>li>a.active .nav-icon {
    stroke: var(--accent-1);
    -webkit-text-fill-color: initial;
  }

  /* Dropdown chevron */
  .mobile-nav-panel .has-dropdown>a::after {
    content: '';
    border: none;
    width: 10px;
    height: 10px;
    border-right: 2px solid var(--text-muted);
    border-bottom: 2px solid var(--text-muted);
    transform: rotate(-45deg);
    margin-left: auto;
    flex-shrink: 0;
    transition: transform 0.3s ease;
    -webkit-text-fill-color: initial;
  }

  .mobile-nav-panel .has-dropdown.expanded>a::after {
    transform: rotate(45deg);
  }

  /* Dropdown panel */
  .mobile-nav-panel .dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0;
    min-width: auto;
    max-height: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 16px;
    transition: max-height 0.35s ease, padding 0.35s ease;
  }

  .mobile-nav-panel .has-dropdown.expanded .dropdown {
    max-height: 300px;
    padding: 24px 0 16px 20px;
  }

  .mobile-nav-panel .dropdown a {
    font-size: 1.15rem;
    font-weight: 400;
    text-transform: uppercase;
    padding: 4px 0;
    color: #ffffff;
    border-bottom: none;
  }

  .mobile-nav-panel .dropdown a.active {
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 600;
  }

  .mobile-nav-panel .dropdown a:hover {
    color: var(--accent-1);
    background: transparent;
  }
}

@media (max-width: 768px) {
  section {
    padding: 60px 0;
  }

  /* Hero mobile */
  .hero {
    min-height: auto;
    padding-bottom: 0;
  }

  .hero-content {
    flex-direction: column;
    padding: calc(var(--header-h) + 20px) 16px 0;
  }

  .hero-text-col {
    align-items: center;
  }

  .hero-headline {
    text-align: center;
    width: 100%;
  }

  .hero-headline h1 {
    font-size: 46.5px;
  }

  .mobile-br {
    display: block;
  }

  /* Hide props, center avatar */
  .hero-prop {
    display: none;
  }

  .hero-visual {
    justify-content: center;
  }

  .hero-avatar-container {
    margin-top: 10px;
  }

  .hero-avatar {
    width: 85vw;
    max-width: 400px;
    margin-top: 0;
  }

  /* CTA sits below hero image, tagline below */
  .hero-visual {
    margin-bottom: 0;
  }

  .hero-bottom-left {
    display: contents;
    /* Unwraps children so they can participate in .hero-bottom flex grid */
  }

  .hero-bottom {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 20px;
    margin-top: 0;
    padding: 16px 16px 30px;
  }

  .hero-cta {
    width: 90vw;
    max-width: 420px;
    justify-content: center;
    order: 1;
    position: relative;
    z-index: 5;
    margin-top: -28px;
  }

  .hero-tagline {
    max-width: 100%;
    order: 2;
  }

  .hero-profile-link {
    order: 3;
    text-align: center;
  }

  /* Other sections */
  .project-grid {
    grid-template-columns: 1fr;
  }

  .section-header {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
  }

  .experience-card {
    flex-direction: column;
    align-items: flex-start;
  }

  .exp-right {
    text-align: left;
  }

  .experience-cta {
    text-align: left;
  }

  .cta-link {
    font-size: 2em;
  }

  /* Floater */
  .testimonial-floater {
    opacity: 0.05 !important;
  }

  .floater-wrap {
    overflow: hidden;
  }

  .testimonial-slide blockquote {
    font-size: 0.95rem;
    line-height: 1.7;
  }

  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-brand {
    text-align: left;
    align-items: flex-start;
  }

  .footer-tagline {
    max-width: 100%;
    text-align: left;
  }

  .footer-social {
    justify-content: flex-start;
  }

  .footer-col {
    text-align: left;
  }

  .footer-col-links {
    align-items: flex-start;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: left;
    align-items: flex-start;
  }
}

@media (max-width: 480px) {

  /* Hero small mobile */
  .hero-content {
    padding: calc(var(--header-h) + 10px) 12px 0;
  }

  .hero-headline h1 {
    font-size: 46.5px;
  }

  .hero-avatar {
    width: 90vw;
    max-width: 340px;
  }

  .hero-bottom {
    margin-top: 0;
    gap: 16px;
    padding-bottom: 20px;
  }

  .hero-tagline {
    font-size: 0.85rem;
  }

  .hero-cta {
    padding: 14px 24px;
    font-size: 0.78rem;
  }

  /* Other sections */
  .exp-left h3 {
    font-size: 1.2rem;
  }

  .exp-left img {
    width: 56px;
    height: 56px;
  }

  .cta-link {
    font-size: 1.6em;
  }

  .cta-section {
    padding: 80px 0;
    text-align: left;
  }
  
  .prefooter-cta {
    text-align: left;
    padding: 60px 24px;
  }

  .project-cover {
    height: 280px;
  }

  .testimonial-author img {
    width: 52px;
    height: 52px;
  }

  .slider-btn {
    width: 44px;
    height: 44px;
    font-size: 1.1rem;
  }

  /* Modal → Bottom Sheet on mobile */
  .exp-modal-overlay {
    align-items: flex-end;
  }

  .exp-modal {
    width: 100%;
    max-width: 100%;
    border-radius: 20px 20px 0 0;
    padding: 28px 24px 36px;
    max-height: 85vh;
    overflow-y: auto;
    transform: translateY(100%);
  }

  .exp-modal-overlay.active .exp-modal {
    transform: translateY(0);
  }

  .exp-modal::before {
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    width: 40px;
    height: 4px;
    border-radius: 4px;
    top: 10px;
    background: rgba(255, 255, 255, 0.2);
  }

  .exp-modal-header {
    margin-top: 28px;
  }

  .exp-modal-dots {
    padding: 14px 16px;
    gap: 10px;
  }

  .exp-modal-close,
  .exp-modal-dot {
    width: 18px;
    height: 18px;
    min-width: 44px;
    min-height: 44px;
    background-clip: content-box;
    padding: 13px;
    margin: -13px;
  }
}

/* ============================================================================
   About Page Styles
   ============================================================================ */
.about-hero {
  padding: calc(var(--header-h) + 60px) 0 80px;
  position: relative;
  background: #090401 url('../images/hero-bg2.png') center top / cover no-repeat;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-text h2 {
  font-size: 2.2rem;
  line-height: 1.2;
  margin-bottom: 24px;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.about-bio p {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 16px;
  line-height: 1.7;
}

.about-image-wrapper {
  position: relative;
  z-index: 1;
}

.about-image-wrapper img {
  border-radius: var(--radius);
  width: 100%;
  height: auto;
  position: relative;
  z-index: 2;
}

.about-image-glow {
  position: absolute;
  inset: -20px;
  background: var(--gradient);
  border-radius: var(--radius);
  filter: blur(60px);
  opacity: 0.15;
  z-index: 1;
}

/* ── About Hero Collage ───────────────────────────────────────────────────── */
.about-collage {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 520px;
  perspective: 1200px;
}

.collage-float-wrapper {
  position: absolute;
  z-index: 2;
  perspective: 1000px;
  will-change: transform;
  transform: translateZ(0);
  transition: z-index 0s 0.6s;
}

.collage-float-wrapper:hover {
  z-index: 10;
  transition-delay: 0s;
}

.collage-float-wrapper--back {
  bottom: 10px;
  right: 10px;
  z-index: 2;
}

.collage-float-wrapper--front {
  top: 10px;
  left: 60px;
  z-index: 3;
}

.collage-float-wrapper--mouse {
  bottom: -20px;
  right: -20px;
  z-index: 4;
}

.about-collage:not(.is-visible) .collage-float-wrapper {
  opacity: 0;
}

.about-collage.is-visible .collage-float-wrapper--back {
  animation: wrapper-roll-slide 1.2s cubic-bezier(0.34, 1.56, 0.64, 1) both, float-back 6s ease-in-out infinite alternate 1.2s;
}

.about-collage.is-visible .collage-float-wrapper--front {
  animation: wrapper-roll-slide 1.2s cubic-bezier(0.34, 1.56, 0.64, 1) 0.15s both, float-front 7s ease-in-out infinite alternate 1.35s;
}

.about-collage.is-visible .collage-float-wrapper--mouse {
  animation: wrapper-slide-right 1.2s cubic-bezier(0.34, 1.56, 0.64, 1) 0.3s both, float-mouse 5.5s ease-in-out infinite alternate 1.5s;
}

.collage-photo {
  border-radius: 20px;
  overflow: hidden;
  box-shadow:
    0 24px 48px -12px rgba(0, 0, 0, 0.4),
    0 12px 24px -8px rgba(0, 0, 0, 0.2),
    0 0 0 1px rgba(255, 255, 255, 0.1);
  transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  will-change: transform, box-shadow;
}

.collage-photo::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 16px;
  box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.15);
  pointer-events: none;
}

.collage-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Back photo */
.collage-photo--back {
  width: 280px;
  height: 220px;
  transform: rotate(-6deg);
}

/* Front photo */
.collage-photo--front {
  width: 320px;
  height: 310px;
  transform: rotate(4deg);
}

.collage-float-wrapper:hover .collage-photo {
  transform: rotate(0deg) scale(1.08) translateY(-10px);
  box-shadow:
    0 40px 80px -15px rgba(0, 0, 0, 0.6),
    0 20px 40px -10px rgba(0, 0, 0, 0.4),
    0 0 0 2px rgba(255, 255, 255, 0.5);
  border-color: rgba(255, 255, 255, 1);
}

.collage-float-wrapper:hover .collage-photo img {
  transform: scale(1.05);
}

.collage-artifact {
  border-radius: 12px;
  transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.collage-artifact img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Logi mouse */
.collage-artifact--mouse {
  width: 220px;
  height: auto;
  border: none;
  box-shadow: none;
  background: transparent;
  overflow: visible;
  filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.35));
  transform: rotate(10deg);
  will-change: transform, filter;
}

.collage-float-wrapper:hover .collage-artifact--mouse {
  transform: rotate(4deg) scale(1.15) translateY(-15px);
  filter: drop-shadow(0 30px 50px rgba(0, 0, 0, 0.5));
}

.collage-artifact--mouse img {
  object-fit: contain;
}

.collage-glow {
  position: absolute;
  inset: -40px;
  background: radial-gradient(circle, var(--accent-1) 0%, var(--accent-2) 100%);
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.15;
  z-index: 1;
  animation: pulse-glow 6s ease-in-out infinite alternate;
  will-change: transform, opacity, filter;
  transform: translateZ(0);
}

@keyframes wrapper-roll-slide {
  0% {
    transform: translate3d(200px, 100px, 0) rotate(75deg);
    opacity: 0;
  }

  100% {
    transform: translate3d(0, 0, 0) rotate(0deg);
    opacity: 1;
  }
}

@keyframes wrapper-slide-right {
  0% {
    transform: translate3d(150px, 0, 0);
    opacity: 0;
  }

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

@keyframes float-back {
  0% {
    transform: translateY(0px) translateX(0px);
  }

  100% {
    transform: translateY(-16px) translateX(-8px);
  }
}

@keyframes float-front {
  0% {
    transform: translateY(0px) translateX(0px);
  }

  100% {
    transform: translateY(-20px) translateX(6px);
  }
}

@keyframes float-mouse {
  0% {
    transform: translateY(0px);
  }

  100% {
    transform: translateY(-18px);
  }
}

@keyframes pulse-glow {
  0% {
    opacity: 0.12;
    transform: scale(1);
    filter: blur(80px);
  }

  100% {
    opacity: 0.22;
    transform: scale(1.1);
    filter: blur(100px);
  }
}

@media (max-width: 768px) {
  .about-collage {
    min-height: 380px;
    margin-top: 50px;
    margin-bottom: 110px;
  }

  .collage-float-wrapper--back {
    right: auto;
    left: 50%;
    margin-left: -45px;
    bottom: -55px;
  }

  .collage-float-wrapper--front {
    right: auto;
    left: 50%;
    margin-left: -160px;
    top: 0;
  }

  .collage-float-wrapper--mouse {
    right: auto;
    left: 50%;
    margin-left: 15px;
    top: 135px;
    bottom: auto;
  }

  .collage-photo--back {
    width: 230px;
    height: 210px;
  }

  .collage-photo--front {
    width: 290px;
    height: 290px;
  }

  .collage-artifact--mouse {
    width: 175px;
  }
}

.about-panoramic {
  width: 100%;
  height: 46vh;
  min-height: 350px;
  max-height: 560px;
  position: relative;
  clip-path: inset(0 0 0 0);
  /* Constrains the fixed pseudo-element */
}

.about-panoramic::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-image: url('../images/panoramic-bg.png');
  background-size: cover;
  background-position: center;
  background-attachment: scroll;
  /* We rely on position: fixed instead of attachment */
  z-index: -1;
  pointer-events: none;
  transform: translateZ(0);
  /* Hardware acceleration */
}

.about-story,
.about-wordpress {
  padding: 80px 0;
  border-top: 1px solid var(--border);
}

.story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

/* Two-column sticky accordion layout */
.about-story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.about-story-accordion {
  position: sticky;
  top: calc(var(--header-h) + 30px);
}

/* ============================================================================
   Case Study Page
   ============================================================================ */

/* ── 1. Back Nav ──────────────────────────────────────────────────────────── */
.cs-nav {
  padding: calc(var(--header-h) + 30px) 0 0;
  position: relative;
  z-index: 1001;
}

.cs-back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.2s ease;
}

.cs-back-link:hover {
  color: var(--accent-1);
}

/* ── 2. Headline + Status ─────────────────────────────────────────────────── */
.cs-headline {
  padding: 40px 0 30px;
}

.cs-title {
  font-size: clamp(1.4rem, 3vw, 2.1rem);
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 8px;
}

.cs-meta-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 24px;
  margin-top: 32px;
  padding: 24px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.cs-meta-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.cs-meta-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: rgba(255, 255, 255, 0.4);
}

.cs-meta-value {
  font-size: 1rem;
  font-weight: 500;
  color: #fff;
}

/* ── 3. Masthead Cover ────────────────────────────────────────────────────── */
.cs-masthead {
  padding: 0 0 60px;
}

.cs-masthead-img img {
  width: 100%;
  max-width: 1440px;
  height: 100%;
  object-fit: contain;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

/* Wrapper naturally fits the content */
.cs-masthead-carousel-wrapper {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.cs-masthead-carousel {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  gap: 0;
  scrollbar-width: none;
  /* Firefox */
  -ms-overflow-style: none;
  /* IE/Edge */
  width: 100%;
  cursor: grab;
}

.cs-masthead-carousel::-webkit-scrollbar {
  display: none;
  /* Chrome/Safari */
}

.cs-masthead-carousel-item {
  flex: 0 0 100%;
  scroll-snap-align: center;
  display: flex;
}

.cs-masthead-img img,
.cs-masthead-carousel-item img {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
}

.cs-carousel-dots {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 6px;
  z-index: 10;
}

.cs-dot {
  width: 8px;
  height: 8px;
  border-radius: 4px;
  background: rgba(252, 163, 65, 0.2);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.cs-dot:hover {
  background: #FCA341;
}

.cs-dot.active {
  width: 24px;
  background: linear-gradient(90deg, #FCD83A, #FF672C);
}

/* ── 4. Summary + Buttons ─────────────────────────────────────────────────── */
.cs-summary {
  padding: 0 0 80px;
  border-bottom: 1px solid var(--border);
}

.cs-summary-layout {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 50px;
  align-items: flex-start;
}

.cs-summary-text {
  max-width: 700px;
}

.cs-summary-text p {
  font-size: 1.1rem;
  color: rgba(233, 233, 233, 0.68);
  line-height: 1.8;
  margin-bottom: 16px;
}

.cs-tech-stack-section {
  margin-top: 32px;
  margin-bottom: 24px;
}

.cs-tech-stack-title {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 16px;
  font-weight: 500;
}

.cs-tech-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.cs-tech-item {
  width: 100%;
  padding: 16px 8px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  justify-content: center;
  transition: all 0.3s ease;
}

.cs-tech-item:hover {
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-2px);
}

.cs-tech-item img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  border: none !important;
  border-radius: 0 !important;
  margin: 0 !important;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.cs-tech-label {
  font-size: 0.85rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
  white-space: nowrap;
  text-align: center;
}

.cs-summary-actions {
  display: flex;
  gap: 16px;
  margin-top: 32px;
  flex-wrap: wrap;
}

.cs-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 18px 32px;
  border-radius: 50px;
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  color: #fff;
  transition: all 0.25s ease;
}

.cs-btn svg {
  flex-shrink: 0;
}

/* Continue Reading — dark purple pill with subtle inset border */
.cs-btn--read {
  border: 1.5px solid transparent;
  background: linear-gradient(rgba(252, 163, 65, 0.25), rgba(252, 163, 65, 0.25)) padding-box, var(--gradient) border-box;
  box-shadow: inset 0 0 20px rgba(252, 163, 65, 0.15);
}

.cs-btn--read:hover {
  border: 1.5px solid transparent;
  background: linear-gradient(rgba(252, 163, 65, 0.4), rgba(252, 163, 65, 0.4)) padding-box, var(--gradient) border-box;
  transform: translateY(-2px);
  box-shadow: inset 0 0 20px rgba(252, 163, 65, 0.2), 0 8px 24px rgba(252, 163, 65, 0.2);
}

/* Visit Website — gradient purple-to-magenta pill */
.cs-btn--visit {
  background: var(--gradient);
  color: #000;
  border: none;
  box-shadow: 0 4px 20px rgba(252, 163, 65, 0.3);
}

.cs-btn--visit:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(252, 163, 65, 0.45);
  filter: brightness(1.1);
}

.cs-summary-deco {
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
}

.cs-deco-img {
  width: 350px;
  height: auto;
  opacity: 0.6;
  will-change: transform, opacity;
  pointer-events: none;
}

.cs-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 24px;
  font-size: 0.85rem;
  font-weight: 600;
  white-space: nowrap;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

/* ── 5. Two-Column Sticky Content ─────────────────────────────────────────── */
.cs-content {
  padding: 80px 0;
}

.cs-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  margin-bottom: 80px;
}

.cs-section.cs-section-full {
  display: block;
}

.cs-section:last-child {
  margin-bottom: 0;
}

.cs-section-heading {
  position: sticky;
  top: calc(var(--header-h) + 20px);
  align-self: start;
}

.cs-section-heading h2 {
  font-size: 2.5rem;
  font-weight: 600;
  line-height: 1.2;
  color: #fff;
}

.cs-section-body>*:first-child {
  margin-top: 0;
}

.cs-section-body p {
  font-size: 1.05rem;
  color: rgba(233, 233, 233, 0.68);
  line-height: 1.8;
  margin-bottom: 16px;
}

/* ── Project Navigation ───────────────────────────────────────────────────── */
.cs-project-nav {
  display: flex;
  justify-content: space-between;
  margin-top: 80px;
  padding-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.cs-nav-link {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  gap: 12px;
  max-width: 40%;
  transition: opacity 0.3s ease;
}

.cs-nav-link:hover {
  opacity: 0.7;
}

.cs-nav-link.next {
  text-align: right;
  align-items: flex-end;
}

.cs-nav-label {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.cs-nav-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: #fff;
  line-height: 1.3;
}

.cs-nav-desc {
  font-size: 0.95rem;
  color: rgba(233, 233, 233, 0.4);
  line-height: 1.5;
}

@media (max-width: 768px) {
  .cs-project-nav {
    flex-direction: column;
    gap: 32px;
  }

  .cs-nav-link {
    max-width: 100%;
  }

  .cs-nav-link.next {
    text-align: left;
    align-items: flex-start;
  }
}

.cs-section-body a {
  color: var(--accent-1);
  text-decoration: underline;
}

.cs-section-body a:hover {
  color: var(--accent-2);
}

.cs-section-body img {
  width: 100%;
  border-radius: var(--radius);
  margin: 24px 0;
  border: 1px solid var(--border);
}

/* ── Stats Grid ───────────────────────────────────────────────────────────── */
.cs-stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin: 32px 0;
}

.stat-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 24px;
  border-radius: 8px;
  background: #161616;
  border: 1px solid #2a2a2a;
}

.stat-trend {
  font-size: 0.85rem;
  font-weight: 500;
}

.trend-up {
  color: #99cc00;
}

.trend-down {
  color: #ff6b6b;
}

.stat-value {
  font-size: 2.8rem;
  font-weight: 600;
  color: #e9e9e9;
  line-height: 1.1;
}

.stat-label {
  font-size: 0.95rem;
  font-weight: 500;
  color: #a2a2a2;
  line-height: 1.3;
}

/* ── Features Accordion ───────────────────────────────────────────────────── */
.cs-accordion {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 32px;
}

.accordion-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  border-radius: 20px;
  border: 1px solid var(--border);
  background: var(--bg-card);
  color: #e9e9e9;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.25s ease;
  text-align: left;
  gap: 16px;
}

.accordion-item.active .accordion-trigger {
  background: var(--gradient);
  color: #fff;
}

.accordion-chevron {
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.accordion-item.active .accordion-chevron {
  transform: rotate(180deg);
}

.accordion-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
  padding: 0 24px;
}

.accordion-item.active .accordion-panel {
  padding: 20px 24px 4px;
}

.accordion-panel p {
  font-size: 0.95rem;
  color: rgba(233, 233, 233, 0.7);
  line-height: 1.7;
}

/* ── Prefooter CTA ────────────────────────────────────────────────────────── */
.prefooter-cta {
  text-align: center;
  padding: 100px 0;
  border-top: 1px solid var(--border);
}

.prefooter-cta h2 {
  font-size: clamp(1.8rem, 5vw, 3rem);
  font-weight: 600;
  margin-bottom: 12px;
}

/* ── Case Study Responsive ────────────────────────────────────────────────── */
@media (max-width: 768px) {
  .cs-section {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 60px;
  }

  .cs-section-heading {
    position: static;
  }

  .cs-section-heading h2 {
    font-size: 1.8rem;
  }

  .cs-summary-layout {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .cs-summary-deco {
    display: none;
  }

  .cs-stats-grid {
    grid-template-columns: 1fr;
  }

  .stat-value {
    font-size: 2.2rem;
  }
}

/* ============================================================================
   Start A Project — Conversational Form
   ============================================================================ */
.sap-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: calc(var(--header-h) + 40px) 0 80px;
}

/* As a flex item the container would shrink-wrap to .sap-convo's fixed width
   and overflow narrow viewports; force it to span the full available width so
   .sap-convo's max-width: 100% resolves against the viewport. */
.sap-page>.container {
  width: 100%;
  min-width: 0;
}

.sap-convo {
  width: 100%;
  max-width: 640px;
  margin: 0 auto;
  position: relative;
}

/* ── Progress ─────────────────────────────────────────────────────────────── */
.sap-progress {
  height: 3px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 100px;
  margin-bottom: 60px;
  overflow: hidden;
}

.sap-progress-bar {
  height: 100%;
  background: var(--gradient);
  border-radius: 100px;
  transition: width 0.5s ease;
  width: 0;
}

/* ── Question cards ───────────────────────────────────────────────────────── */
.sap-q {
  display: none;
  animation: sapFadeIn 0.4s ease;
}

.sap-q.active {
  display: block;
}

@keyframes sapFadeIn {
  from {
    opacity: 0;
    transform: translateY(16px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.sap-greeting {
  font-size: 1rem;
  color: var(--text-dim);
  margin-bottom: 8px;
}

.sap-question {
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  font-weight: 600;
  line-height: 1.25;
  margin-bottom: 16px;
  color: #fff;
}

.sap-hint {
  font-size: 0.88rem;
  color: var(--text-dim);
  margin-bottom: 20px;
  line-height: 1.5;
}

/* ── Input ────────────────────────────────────────────────────────────────── */
.sap-convo-input {
  width: 100%;
  padding: 16px 20px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: #fff;
  font-family: inherit;
  font-size: 1.2rem;
  font-weight: 400;
  outline: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  -webkit-appearance: none;
  appearance: none;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.2) inset;
}

.sap-convo-input::placeholder {
  color: rgba(255, 255, 255, 0.3);
}

.sap-convo-input:focus {
  border-color: rgba(252, 163, 65, 0.6);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 20px rgba(252, 163, 65, 0.2), 0 0 0 1px rgba(252, 163, 65, 0.6);
}

.sap-convo-input.sap-invalid {
  border-color: #EB1A1A;
  box-shadow: 0 0 15px rgba(235, 26, 26, 0.3);
}

.sap-options.sap-invalid .sap-option {
  border-color: #EB1A1A;
  color: #EB1A1A;
  box-shadow: 0 0 10px rgba(235, 26, 26, 0.2);
}

/* Textarea */
.sap-textarea {
  resize: vertical;
  min-height: 120px;
  line-height: 1.6;
  border-radius: 16px;
  padding: 16px 20px;
  margin-top: 4px;
}

.sap-textarea:focus {
  border-color: rgba(252, 163, 65, 0.6);
}

/* Date input */
input[type="date"].sap-convo-input {
  color-scheme: dark;
}

/* ── Option pills (project type) ──────────────────────────────────────────── */
.sap-options {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 12px;
}

.sap-option {
  padding: 12px 24px;
  border-radius: 50px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: var(--text-muted);
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.sap-option:hover {
  border-color: rgba(252, 163, 65, 0.5);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.sap-option.selected {
  background: var(--gradient);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 4px 15px rgba(252, 163, 65, 0.4);
  transform: scale(1.02);
}

/* ── Navigation ───────────────────────────────────────────────────────────── */
.sap-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 48px;
}

.sap-nav-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  border-radius: 50px;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.sap-nav-next {
  background: var(--gradient);
  color: #fff;
  margin-left: auto;
  box-shadow: 0 4px 20px rgba(252, 163, 65, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.sap-nav-next:hover {
  box-shadow: 0 8px 30px rgba(252, 163, 65, 0.5);
  transform: translateY(-2px) scale(1.02);
}

.sap-nav-back {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-muted);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.sap-nav-back:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
}

/* ── Send Method Step ─────────────────────────────────────────────────────── */
.sap-send-step {
  text-align: center;
}

.sap-send-step .sap-question {
  text-align: center;
}

.sap-send-step .sap-hint {
  text-align: center;
  max-width: 420px;
  margin-left: auto;
  margin-right: auto;
}

.sap-send-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 32px;
}

.sap-send-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 32px 24px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-muted);
  font-family: inherit;
  cursor: pointer;
  transition: all 0.25s ease;
}

.sap-send-btn:hover {
  border-color: var(--accent-1);
  background: rgba(252, 163, 65, 0.06);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(252, 163, 65, 0.15);
}

.sap-send-label {
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
}

.sap-send-hint {
  font-size: 0.78rem;
  color: var(--text-dim);
  line-height: 1.4;
}

/* ── Responsive ───────────────────────────────────────────────────────────── */
@media (max-width: 480px) {
  .sap-question {
    font-size: 1.4rem;
  }

  .sap-convo-input {
    font-size: 1rem;
  }

  .sap-nav {
    flex-wrap: wrap;
    gap: 12px;
  }

  .sap-send-options {
    grid-template-columns: 1fr;
  }
}

/* ============================================================================
   Gallery Page
   ============================================================================ */
.gallery {
  padding: calc(var(--header-h) + 60px) 0 80px;
}

.gallery-masonry {
  display: flex;
  gap: 24px;
  margin-top: 40px;
}

.masonry-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.gallery-item {
  display: block;
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.03);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease, filter 0.4s ease;
  will-change: transform;
}

.gallery-item:hover img {
  transform: scale(1.03);
  filter: brightness(1.1);
}

@media (max-width: 992px) {
  .gallery-masonry {
    gap: 16px;
  }

  .masonry-col {
    gap: 16px;
  }
}

/* ============================================================================
   Gallery Custom Cursor
   ============================================================================ */
.gallery-cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  font-weight: 500;
  pointer-events: none;
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.5);
  transition: opacity 0.3s ease, transform 0.3s ease;
  z-index: 9999;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

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

.gallery-item,
.gallery-item img {
  cursor: none;
}

/* ============================================================================
   Preloader
   ============================================================================ */
#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #090401;
  z-index: 999999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

#preloader.loaded {
  opacity: 0;
  visibility: hidden;
}

.preloader-spinner {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: conic-gradient(from 0deg, #090401 0%, #FCD83A 50%, #FF672C 100%);
  position: absolute;
  animation: spin 0.8s linear infinite;
  box-shadow: 0 0 40px rgba(252, 216, 58, 0.4);
}

.preloader-spinner::before {
  content: '';
  position: absolute;
  top: 6px;
  left: 6px;
  right: 6px;
  bottom: 6px;
  background: #090401;
  border-radius: 50%;
}

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

.preloader-icon {
  position: absolute;
  width: 150px;
  height: 150px;
  object-fit: contain;
  z-index: 2;
  animation: pulse-icon 1.2s ease-in-out infinite alternate;
}

@keyframes pulse-icon {
  0% {
    transform: scale(0.9);
    opacity: 0.8;
  }

  100% {
    transform: scale(1.05);
    opacity: 1;
  }
}

/* ============================================================================
   Blog & Writing
   ============================================================================ */
.blog-hero {
  padding: calc(var(--header-h) + 80px) 0 60px;
}

.blog-grid {
  display: block;
  column-count: 1;
  column-gap: 40px;
}

@media (min-width: 768px) {
  .blog-grid {
    column-count: 2;
  }
}

@media (min-width: 1024px) {
  .blog-grid {
    column-count: 3;
  }
}

.blog-card {
  break-inside: avoid-column;
  margin-bottom: 40px;
  background-color: var(--card);
  background-size: cover;
  background-position: center;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
  border-color: rgba(255, 255, 255, 0.1);
}

.blog-card-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to top, rgba(10, 5, 15, 0.95) 0%, rgba(10, 5, 15, 0.8) 50%, rgba(10, 5, 15, 0.7) 100%);
  z-index: 1;
  pointer-events: none;
}

.blog-card-link {
  display: flex;
  flex-direction: column;
  height: 100%;
  text-decoration: none;
  color: inherit;
  z-index: 2;
  position: relative;
  flex-grow: 1;
}

.blog-card-content {
  display: flex;
  flex-direction: column;
  padding: 32px;
  height: 100%;
  flex-grow: 1;
  position: relative;
  z-index: 2;
}

.blog-card-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-dim);
  margin-bottom: 16px;
}

.blog-card-banner {
  width: 100%;
  aspect-ratio: 16 / 9;
  margin-bottom: 22px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  background: var(--bg-card);
}

.blog-card-banner img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
  transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1), filter 0.45s ease;
}

.blog-card:hover .blog-card-banner img {
  transform: scale(1.035);
  filter: saturate(1.08);
}

.blog-card-title {
  font-size: 1.35rem;
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 12px;
  color: rgba(255, 255, 255, 0.8);
  transition: color 0.2s ease;
}

.blog-card:hover .blog-card-title {
  color: var(--accent-1);
}

.blog-card-excerpt {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 24px;
  flex-grow: 1;
}

.blog-read-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--accent-1);
  margin-top: auto;
}

.blog-read-more svg {
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.blog-card:hover .blog-read-more svg {
  transform: translateX(4px);
}

.blog-empty-state {
  grid-column: 1 / -1;
  text-align: center;
  padding: 60px 0;
  color: var(--text-muted);
  font-size: 1.1rem;
}

/* ── Single Post Layout ─────────────────────────────────────────────────── */
.post-layout {
  padding: calc(var(--header-h) + 40px) 0 80px;
}

.post-header {
  max-width: 800px;
  margin: 0 auto 40px;
}

.post-back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  color: var(--text-muted);
  text-decoration: none;
  margin-bottom: 24px;
  transition: color 0.2s ease;
  position: relative;
  z-index: 10;
  pointer-events: auto;
  touch-action: manipulation;
}

.post-back-link:hover {
  color: #fff;
}

.post-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.9rem;
  color: var(--text-dim);
  margin-top: 16px;
  flex-wrap: wrap;
}

.post-title {
  font-size: clamp(2rem, 5vw, 3rem);
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #fff;
}

.post-hero-image {
  max-width: 1000px;
  aspect-ratio: 16 / 9;
  margin: 0 auto 52px;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-card);
}

.post-hero-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}

.post-content {
  max-width: 800px;
  margin: 0 auto;
  font-size: 1.125rem;
  line-height: 1.8;
  color: var(--text-muted);
}

@media (max-width: 768px) {
  .post-header {
    position: relative;
    z-index: 10;
  }

  .post-back-link {
    min-height: 44px;
    padding: 8px 4px;
    margin: -8px -4px 16px;
    z-index: 1001;
    -webkit-tap-highlight-color: rgba(253, 95, 33, 0.18);
  }

  .post-hero-image {
    width: calc(100% - 40px);
    margin-bottom: 36px;
    border-radius: 12px;
  }
}

.post-content h1,
.post-content h2,
.post-content h3,
.post-content h4 {
  color: #fff;
  margin-top: 2em;
  margin-bottom: 1em;
  font-weight: 600;
  line-height: 1.3;
}

.post-content h2 {
  font-size: 1.8rem;
}

.post-content h3 {
  font-size: 1.4rem;
}

.post-content p {
  margin-bottom: 1.5em;
}

.post-content a {
  color: var(--accent-1);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.post-content a:hover {
  color: var(--accent-2);
}

.post-content img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius);
  margin: 2em 0;
}

.post-content blockquote {
  border-left: 4px solid var(--accent-1);
  padding-left: 24px;
  margin: 2em 0;
  font-style: italic;
  color: var(--text);
  background: rgba(255, 255, 255, 0.02);
  padding: 24px;
  border-radius: 0 var(--radius) var(--radius) 0;
}

.post-content ul,
.post-content ol {
  margin-bottom: 2em;
  padding-left: 24px;
}

.post-content ul li::marker {
  color: var(--accent-1);
}

.post-content ol li::marker {
  color: var(--accent-1);
  font-weight: 700;
}

.post-content li {
  margin-bottom: 0.75em;
  padding-left: 8px;
}

.post-content figure {
  margin: 2.5em 0;
}

.post-content figcaption {
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-dim);
  margin-top: 12px;
}

.post-content pre {
  background: #111;
  padding: 20px;
  border-radius: var(--radius);
  overflow-x: auto;
  margin: 2em 0;
  border: 1px solid var(--border);
}

.post-content code {
  background: rgba(255, 255, 255, 0.1);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.9em;
  font-family: monospace;
}

.post-content pre code {
  background: transparent;
  padding: 0;
  color: #e2e2e2;
}

.pills-container {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  flex-wrap: wrap;
  align-content: center;
  justify-content: center;
  gap: 15px;
  padding: 40px;
}

.floating-pill {
  padding: 14px 28px;
  border-radius: 40px;
  font-weight: 700;
  font-size: 1.05rem;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  white-space: nowrap;
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
}

.pill-1 {
  background: linear-gradient(45deg, #fd5f21, #e83e0c);
  z-index: 1;
}

.pill-2 {
  background: linear-gradient(45deg, #fce23a, #e2c210);
  color: #000;
  z-index: 2;
}

.pill-3 {
  background: linear-gradient(45deg, #1fa373, #157e58);
  z-index: 3;
}

.pill-4 {
  background: linear-gradient(45deg, #3772ff, #1d52d1);
  z-index: 4;
}

.pill-5 {
  background: linear-gradient(45deg, #9b51e0, #7a3bbb);
  z-index: 5;
}

.pill-6 {
  background: linear-gradient(45deg, #e0247d, #ba1663);
  z-index: 6;
}

.pill-7 {
  background: linear-gradient(45deg, #242121, #141111);
  z-index: 7;
}

.post-content hr {
  border: 0;
  height: 1px;
  background: var(--border);
  margin: 3em 0;
}

.post-pagination {
  max-width: 800px;
  margin: 64px auto 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.post-pagination-link {
  min-width: 0;
  min-height: 126px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
  color: inherit;
  text-decoration: none;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--card);
  transition: border-color 0.25s ease, transform 0.25s ease, background 0.25s ease;
  touch-action: manipulation;
}

a.post-pagination-link:hover {
  transform: translateY(-3px);
  border-color: rgba(253, 95, 33, 0.6);
  background: rgba(255, 255, 255, 0.045);
}

.post-pagination-link--next {
  text-align: right;
  align-items: flex-end;
}

.post-pagination-direction {
  color: var(--accent-1);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.post-pagination-title {
  max-width: 30ch;
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.4;
}

.post-pagination-link--disabled {
  opacity: 0.42;
  cursor: default;
}

.post-footer {
  max-width: 800px;
  margin: 60px auto 0;
}

.post-footer-divider {
  height: 1px;
  background: var(--border);
  margin-bottom: 40px;
}

.post-author {
  display: flex;
  align-items: center;
  gap: 24px;
  background: var(--card);
  padding: 32px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.post-author-img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.post-author-info {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.post-author-name {
  font-size: 1.1rem;
  font-weight: 600;
  color: #fff;
  margin: 0;
}

.post-author-bio {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.5;
}

.post-substack-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  color: var(--accent-1);
  font-weight: 500;
  text-decoration: none;
  margin-top: 8px;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.post-substack-link:hover {
  transform: translateX(4px);
}

@media (max-width: 768px) {
  .post-pagination {
    grid-template-columns: 1fr;
    width: calc(100% - 40px);
    margin-top: 48px;
  }

  .post-pagination-link {
    min-height: 108px;
    padding: 20px;
  }

  .post-pagination-link--next {
    text-align: left;
    align-items: flex-start;
  }

  .post-author {
    flex-direction: column;
    text-align: center;
    padding: 24px;
  }

  .post-author-info {
    align-items: center;
  }
}

/* --- New Testimonial Layout Styles --- */
.testimonials {
  background-color: var(--bg) !important;
  position: relative;
  overflow: hidden;
}

.testimonial-slider {
  min-height: 450px;
}

.testi-card {
  background-color: var(--bg-card);
  border-radius: 16px;
  display: flex;
  flex-direction: row;
  max-width: 900px;
  margin: 0 auto;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  position: relative;
}

.testi-card-left {
  flex: 1;
  padding: 60px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.testi-card-left h2 {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 8px;
}

.testi-card-left .role {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 30px;
}

.testi-card-left .text {
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--text-muted);
  margin-bottom: 40px;
}

.testi-next-btn {
  width: 48px;
  height: 48px;
  background: var(--gradient);
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  cursor: pointer;
  transition: transform 0.2s ease, opacity 0.2s ease;
  align-self: flex-start;
  color: #fff;
}

.testi-next-btn:hover {
  transform: scale(1.1);
  opacity: 0.9;
}

.testi-card-right {
  flex: 1;
  position: relative;
  border-radius: 0 16px 16px 0;
}

.testi-portrait {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 0 16px 16px 0;
}

.testi-badge {
  position: absolute;
  top: -15px;
  left: -20px;
  background: var(--gradient);
  color: white;
  padding: 8px 16px;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  transform: rotate(-8deg);
  border-radius: 4px;
  z-index: 10;
  box-shadow: 2px 4px 10px rgba(0, 0, 0, 0.2);
}

@media (max-width: 768px) {
  .testi-card {
    flex-direction: column;
  }

  .testi-card-right {
    height: 300px;
  }

  .testi-portrait {
    border-radius: 0 0 16px 16px;
  }

  .testi-card-left {
    padding: 40px 20px;
  }
}

/* ══════════════════════════════════════════════════════════════════════════════
   FLAT PRICING SECTION
   ══════════════════════════════════════════════════════════════════════════════ */
.pricing-flat-container {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.pricing-toggle-wrapper {
  margin-bottom: 40px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 50px;
  padding: 6px;
  display: inline-flex;
  align-items: center;
  position: relative;
  z-index: 2;
}

.pricing-toggle-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  padding: 10px 24px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 40px;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  z-index: 1;
}

.pricing-toggle-btn.active {
  color: #fff;
  background: var(--gradient);
  box-shadow: var(--shadow);
}

.pricing-flat-card {
  width: 100%;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.pricing-flat-left {
  padding: 50px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--bg-surface);
}

.pricing-flat-left h3 {
  font-size: 1.4rem;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.pricing-flat-left .price {
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 20px;
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.pricing-flat-left .price span {
  font-size: 1.2rem;
  color: var(--text-muted);
  font-weight: 400;
}

.pricing-flat-left p {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 30px;
}

.pricing-features-list {
  list-style: none;
  padding: 0;
  margin: 0 0 40px 0;
}

.pricing-features-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 15px;
  color: var(--text);
  font-size: 1.05rem;
}

.pricing-features-list li svg {
  color: var(--accent-1);
  flex-shrink: 0;
}

.pricing-flat-right {
  position: relative;
  background: linear-gradient(135deg, rgba(24, 17, 13, 0.5), rgba(9, 4, 1, 1));
  overflow: hidden;
  min-height: 450px;
}

.pills-container {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.floating-pill {
  position: absolute;
  top: 50%;
  left: 50%;
  padding: 14px 28px;
  border-radius: 40px;
  font-weight: 700;
  font-size: 1.05rem;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  white-space: nowrap;
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Pill specific styling: Interlocking staggered pile (edges touch, text visible) */
.pill-1 {
  background: linear-gradient(45deg, #fd5f21, #e83e0c);
  transform: translate(-50%, -50%) translate(-45px, 120px) rotate(-10deg);
  z-index: 1;
}

.pill-2 {
  background: linear-gradient(45deg, #fce23a, #e2c210);
  color: #000;
  transform: translate(-50%, -50%) translate(45px, 85px) rotate(12deg);
  z-index: 2;
}

.pill-3 {
  background: linear-gradient(45deg, #1fa373, #157e58);
  transform: translate(-50%, -50%) translate(-55px, 45px) rotate(-5deg);
  z-index: 3;
}

.pill-4 {
  background: linear-gradient(45deg, #3772ff, #1d52d1);
  transform: translate(-50%, -50%) translate(50px, 5px) rotate(8deg);
  z-index: 4;
}

.pill-5 {
  background: linear-gradient(45deg, #9b51e0, #7a3bbb);
  transform: translate(-50%, -50%) translate(-40px, -35px) rotate(-8deg);
  z-index: 5;
}

.pill-6 {
  background: linear-gradient(45deg, #e0247d, #ba1663);
  transform: translate(-50%, -50%) translate(60px, -75px) rotate(10deg);
  z-index: 6;
}

.pill-7 {
  background: linear-gradient(45deg, #242121, #141111);
  transform: translate(-50%, -50%) translate(-10px, -115px) rotate(-4deg);
  z-index: 7;
}

@media (max-width: 900px) {
  .pricing-flat-card {
    grid-template-columns: 1fr;
  }

  .pricing-flat-right {
    min-height: 350px;
  }

  .pricing-flat-left {
    padding: 30px;
  }
}

/* Pricing Grid (3 Column) */
.pricing-grid-container {
  width: 100%;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  align-items: stretch;
}

.pricing-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 40px;
  position: relative;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.pricing-card:hover {
  transform: translateY(-10px);
  border-color: var(--primary);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.pricing-card.popular {
  border-color: var(--primary);
  background: rgba(253, 95, 33, 0.05);
}

.popular-badge {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gradient);
  color: #fff;
  padding: 5px 15px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.pricing-card h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
}

.pricing-card .price {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: #fff;
}

.pricing-card .price .currency {
  font-size: 1.5rem;
  vertical-align: super;
  margin-right: 5px;
}

.pricing-card p {
  color: var(--text-muted);
  margin-bottom: 30px;
  font-size: 0.95rem;
  line-height: 1.5;
}

.pricing-card .features {
  list-style: none;
  padding: 0;
  margin: 0 0 30px 0;
  flex-grow: 1;
}

.pricing-card .features li {
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  color: #ddd;
}

.pricing-card .features li svg {
  flex-shrink: 0;
}

.pricing-card .cs-btn {
  width: 100%;
  text-align: center;
  justify-content: center;
}

@media (max-width: 992px) {
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .pricing-grid {
    grid-template-columns: 1fr;
  }
}


/* ══════════════════════════════════════════════════════════════════════════════
   REDESIGNED FOOTER (GRID & NEWSLETTER)
   ══════════════════════════════════════════════════════════════════════════════ */
.footer-newsletter-box {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 48px;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  margin-bottom: 80px;
  align-items: center;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.fn-left h3 {
  font-size: 2.2rem;
  line-height: 1.2;
  margin-bottom: 12px;
  color: var(--text);
  font-weight: 700;
}

.fn-left p {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.6;
}

.fn-right {
  display: flex;
  flex-direction: column;
}

.fn-right label {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 16px;
  font-weight: 600;
}

.fn-form {
  display: flex;
  gap: 12px;
  margin-bottom: 12px;
}

.fn-form input {
  flex-grow: 1;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  padding: 14px 24px;
  border-radius: 40px;
  color: var(--text);
  font-family: inherit;
  font-size: 1rem;
  outline: none;
  transition: border-color var(--transition);
}

.fn-form input:focus {
  border-color: var(--accent-1);
}

.fn-submit {
  background: var(--gradient);
  color: #fff;
  border: none;
  padding: 14px 32px;
  border-radius: 40px;
  font-weight: 700;
  font-size: 1rem;
  transition: transform var(--transition), box-shadow var(--transition);
  cursor: pointer;
}

.fn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(252, 226, 58, 0.2);
}

.fn-disclaimer {
  font-size: 0.8rem;
  color: var(--text-dim);
}

.footer-links-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 30px;
  margin-bottom: 40px;
  align-items: start;
}

.footer-brand-col .footer-logo {
  width: 250px !important;
  height: auto;
  margin-bottom: 20px;
}

.brand-tagline {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-top: 15px;
  margin-bottom: 25px;
  max-width: 300px;
  line-height: 1.6;
}

.footer-social-inline {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.footer-social-inline a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  color: var(--text-muted);
  transition: all var(--transition);
}

.footer-social-inline a:hover {
  background: var(--gradient);
  color: #fff;
  border-color: transparent;
  transform: translateY(-3px);
}

.footer-social-inline svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.footer-nav-cols {
  display: contents;
}

@media (max-width: 992px) {
  .footer-newsletter-box {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 30px;
  }

  .footer-links-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }
}

@media (max-width: 600px) {
  .fn-form {
    flex-direction: column;
  }

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

.footer-cta-box {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 48px 60px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
  margin-bottom: 80px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
  flex-wrap: wrap;
}

.fc-left {
  flex: 1 1 400px;
}

.fc-left h3 {
  font-size: 2.2rem;
  line-height: 1.2;
  margin-bottom: 12px;
  color: var(--text);
  font-weight: 700;
}

.fc-left p {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.6;
}

.fc-right {
  flex-shrink: 0;
  display: flex;
}

.fc-submit {
  background: var(--gradient);
  color: #fff;
  border: none;
  padding: 16px 36px;
  border-radius: 40px;
  font-weight: 700;
  font-size: 1.1rem;
  text-decoration: none;
  transition: transform var(--transition), box-shadow var(--transition);
  cursor: pointer;
  display: inline-block;
  text-align: center;
}

.fc-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(252, 216, 58, 0.3);
  color: #fff;
}

@media (max-width: 768px) {
  .footer-cta-box {
    padding: 32px 24px;
    flex-direction: column;
    text-align: left;
    gap: 24px;
  }

  .fc-submit {
    width: 100%;
  }
}

/* --- Stacked Photo Collage (Custom) --- */
.stacked-photo-collage {
  position: relative;
  width: 100%;
  max-width: 420px;
  aspect-ratio: 1 / 1;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.stacked-frame {
  position: absolute;
  top: 4%;
  bottom: 4%;
  left: 4%;
  right: 4%;
  background: var(--gradient);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
  border-radius: 2px;
  z-index: 1;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.stacked-frame--left {
  transform: rotate(-5deg);
}

.stacked-frame--right {
  transform: rotate(4deg);
}

.stacked-photo {
  position: relative;
  z-index: 2;
  width: 92%;
  height: 92%;
  border: 10px solid #f8f8f8;
  border-radius: 2px;
  overflow: hidden;
  background: #f8f8f8;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.5s ease;
}

.stacked-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: none;
}

.stacked-photo img.active {
  display: block;
  animation: fade-in 0.4s ease;
}

@keyframes fade-in {
  from {
    opacity: 0;
    transform: scale(0.98);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

.stacked-slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #fff;
  border: none;
  color: #0a0a0a;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stacked-slider-btn:hover {
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
}

.stacked-slider-btn svg {
  width: 24px;
  height: 24px;
}

.stacked-slider-btn.prev-btn {
  left: -24px;
}

.stacked-slider-btn.next-btn {
  right: -24px;
}

.stacked-photo-collage:hover .stacked-frame--left {
  transform: rotate(-7deg) scale(1.02);
}

.stacked-photo-collage:hover .stacked-frame--right {
  transform: rotate(6deg) scale(1.02);
}

.stacked-photo-collage:hover .stacked-photo {
  transform: scale(1.02) translateY(-8px);
  box-shadow: 0 25px 45px rgba(0, 0, 0, 0.5);
}

/* --- About.html Responsive Updates --- */
@media (max-width: 992px) {

  .about-grid,
  .about-story-grid,
  .story-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-story-text {
    text-align: left;
  }

  .about-story-accordion {
    position: relative;
    top: 0;
  }

  .about-text {
    text-align: left;
  }

  .stacked-photo-collage {
    max-width: 380px;
  }
}

@media (max-width: 768px) {
  .about-hero {
    padding: calc(var(--header-h) + 40px) 0 60px;
  }

  .about-story,
  .about-wordpress {
    padding: 50px 0;
  }

  .about-panoramic {
    height: 30vh;
    min-height: 250px;
  }

  .stacked-photo-collage {
    max-width: 320px;
  }

  .stacked-slider-btn {
    width: 36px;
    height: 36px;
  }

  .stacked-slider-btn svg {
    width: 18px;
    height: 18px;
  }

  .stacked-slider-btn.prev-btn {
    left: -18px;
  }

  .stacked-slider-btn.next-btn {
    right: -18px;
  }

  .about-text h2.section-title {
    font-size: 1.8rem;
  }
}

/* --- New Hero Section Styles --- */
.hero-visual-new {
  position: relative;
  width: 100%;
  max-width: 500px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 1000px;
}

.tilted-hero-container {
  position: relative;
  width: 100%;
  border-radius: 20px;
  transform: rotate(-3deg) scale(0.95);
  transition: transform 0.4s ease;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
  border: 4px solid #fff;
  background: #fff;
  z-index: 1;
  overflow: hidden;
}

.tilted-hero-container:hover {
  transform: rotate(0deg) scale(1);
}

.tilted-hero-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  aspect-ratio: 4/5;
  border-radius: 16px;
}

.glass-stat-box {
  position: absolute;
  background: rgba(20, 20, 20, 0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 16px 20px;
  color: #fff;
  z-index: 5;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  gap: 16px;
}

.glass-stat-box-1 {
  top: -20px;
  left: -40px;
  animation: float-slow 6s ease-in-out infinite;
}

.glass-stat-box-2 {
  bottom: -30px;
  right: -30px;
  animation: float-slow 7s ease-in-out infinite reverse;
  flex-direction: column;
  align-items: flex-start;
  padding: 24px;
}

.stat-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
}

.stat-icon svg {
  width: 20px;
  height: 20px;
  color: var(--accent-1);
}

.stat-content h4 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 4px;
  color: #fff;
}

.stat-content p {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
  white-space: nowrap;
}

.stat-2-top {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.stat-2-bottom {
  width: 100%;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.stat-2-bottom span {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
}

.stat-2-bottom strong {
  color: var(--accent-1);
  font-weight: 700;
  font-size: 1.1rem;
}

@keyframes float-slow {
  0% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }

  100% {
    transform: translateY(0);
  }
}

@media (max-width: 768px) {
  .glass-stat-box-1 {
    left: -10px;
    top: -10px;
    padding: 12px 16px;
  }

  .glass-stat-box-2 {
    right: -10px;
    bottom: -10px;
    padding: 16px;
  }

  .stat-content h4 {
    font-size: 1.2rem;
  }
}

/* --- Services Pill Marquee --- */
.services-marquee {
  position: relative;
  padding: 60px 0;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 20px;
}

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

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

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

.marquee-row {
  display: flex;
  width: 100%;
  overflow: hidden;
}

.marquee-content {
  display: flex;
  gap: 24px;
  padding-right: 24px;
  animation: marquee-scroll 20s linear infinite;
  width: max-content;
}

.marquee-reverse {
  animation: marquee-scroll-reverse 20s linear infinite;
}

.marquee-content:hover {
  animation-play-state: paused;
}

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

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

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

  100% {
    transform: translateX(0);
  }
}

.service-pill {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 36px;
  border-radius: 50px;
  background: var(--pill-color, var(--bg-card));
  color: #fff;
  font-weight: 700;
  font-size: 1.1rem;
  white-space: nowrap;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, filter 0.3s ease;
  cursor: default;
}

.service-pill:hover {
  transform: translateY(-4px) scale(1.02);
  filter: brightness(1.1);
}

.pill-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.5);
}

@media (max-width: 768px) {
  .service-pill {
    padding: 12px 24px;
    font-size: 0.95rem;
  }

  .services-marquee {
    padding: 40px 0;
    gap: 16px;
  }
}

/* ═══════════════════════════════════════════════ */
/* PROCESS SECTION                                 */
/* ═══════════════════════════════════════════════ */
.process-section {
  padding: 100px 0;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
  margin-top: 48px;
}

.process-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 32px;
  position: relative;
  transition: all 0.3s ease;
  overflow: hidden;
}

.process-card:hover {
  background: var(--bg-card-hover);
  transform: translateY(-5px);
  border-color: var(--accent-1);
}

.process-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--gradient);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.process-card:hover::before {
  opacity: 1;
}

.process-number {
  font-family: 'Space Mono', monospace;
  font-size: 3.5rem;
  font-weight: 700;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  opacity: 0.3;
  margin-bottom: 24px;
  line-height: 1;
}

.process-subtitle {
  display: inline-block;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--accent-1);
  margin-bottom: 12px;
  font-weight: 600;
}

.process-title {
}

  /* ═══════════════════════════════════════════════ */
  /* PROCESS SECTION                                 */
  /* ═══════════════════════════════════════════════ */
  .process-section {
    padding: 100px 0;
  }

  .process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
    margin-top: 48px;
  }

  .process-slider-wrapper {
    position: relative;
    width: 100%;
    margin-top: 48px;
  }

  .process-slider {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 24px;
    scrollbar-width: none;
    -ms-overflow-style: none;
    position: relative;
    cursor: grab;
  }

  .process-slider::-webkit-scrollbar {
    display: none;
  }

  .process-slide {
    flex: 0 0 100%;
    scroll-snap-align: start;
    position: relative;
    user-select: none;
    min-height: 280px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding: 24px !important;
  }

  @media (min-width: 768px) {
    .process-slide {
      flex: 0 0 calc(50% - 12px);
      padding: 32px !important;
    }
  }

  @media (min-width: 1024px) {
    .process-slide {
      flex: 0 0 calc(33.333% - 16px);
      padding: 40px !important;
    }
  }

  .process-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 32px;
    position: relative;
    transition: all 0.3s ease;
    overflow: hidden;
  }

  .process-card:hover {
    background: var(--bg-card-hover);
    transform: translateY(-5px);
    border-color: var(--accent-1);
  }

  .process-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient);
    opacity: 0;
    transition: opacity 0.3s ease;
  }

  .process-card:hover::before {
    opacity: 1;
  }

  .process-number {
    font-family: 'Space Mono', monospace;
    font-size: 3.5rem;
    font-weight: 700;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    opacity: 0.3;
    margin-bottom: 24px;
    line-height: 1;
  }

  .process-subtitle {
    display: inline-block;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent-1);
    margin-bottom: 12px;
    font-weight: 600;
  }

  .process-title {
    font-size: 1.5rem;
    margin-bottom: 16px;
    color: var(--text-primary);
  }

  .process-content p {
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 0.95rem;
  }

  /* ═══════════════════════════════════════════════ */
  /* FAQ SECTION OVERRIDE                            */
  /* ═══════════════════════════════════════════════ */
  .faq-section-wrapper {
    padding: 60px 0 100px;
    background: var(--bg);
  }

  .faq-header-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 48px;
  }

  .faq-header-center h2 {
    font-size: 2.2rem;
    margin-bottom: 16px;
    color: var(--text-primary);
  }

  .faq-header-center p {
    color: var(--text-secondary);
    margin-bottom: 24px;
  }

  .faq-contact-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    color: var(--text-primary);
    font-weight: 600;
    transition: all 0.3s ease;
    background: transparent;
    cursor: pointer;
    text-decoration: none;
  }

  .faq-contact-btn:hover {
    background: var(--bg-card);
    border-color: var(--accent-1);
  }

  .faq-accordion-container {
    max-width: 800px;
    margin: 0 auto;
  }

  \n

  /* --- Skills Section --- */
  .skill-pill {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 24px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    color: #e2e8f0;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    cursor: default;
  }

  .skill-pill:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  }

  .skill-pill img,
  .skill-pill svg {
    width: 20px;
    height: 20px;
    object-fit: contain;
  }

  /* --- Skills Section --- */
  .skills-section {
    padding: 100px 0;
  }

  .skills-list {
    display: flex;
    flex-direction: column;
    gap: 48px;
    max-width: 900px;
    margin: 0 auto;
  }

  .skill-category {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }

  @media(min-width: 768px) {
    .skill-category {
      flex-direction: row;
      align-items: flex-start;
    }

    .skill-category-title {
      width: 220px;
      flex-shrink: 0;
      margin-top: 14px;
    }
  }

  .skill-category-title {
    font-size: 0.9rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #7a7a7a;
    font-weight: 600;
  }

  .skill-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    flex: 1;
  }

  .skill-pill {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 24px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 14px;
    color: #eee;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: default;
  }

  .skill-pill:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--primary);
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(253, 95, 33, 0.15);
  }

  .skill-pill svg {
    width: 20px;
    height: 20px;
    color: var(--primary);
  }

/* ── Skillodemy Coming Soon ─────────────────────────────────────────────── */
.page-skillodemy {
  --skill-purple: #6f35ff;
  --skill-surface: #120d0a;
}

.skillodemy-hero {
  position: relative;
  min-height: 880px;
  padding: calc(var(--header-h) + 100px) 0 110px;
  display: flex;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
}

.skillodemy-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -3;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(to bottom, #000 20%, transparent 92%);
}

.skillodemy-glow {
  position: absolute;
  z-index: -2;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
}

.skillodemy-glow--one {
  width: 480px;
  height: 480px;
  right: 5%;
  top: 12%;
  background: rgba(111, 53, 255, 0.18);
}

.skillodemy-glow--two {
  width: 420px;
  height: 420px;
  left: -12%;
  bottom: 0;
  background: rgba(253, 95, 33, 0.13);
}

.skillodemy-hero-grid {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(500px, 1.15fr);
  align-items: center;
  gap: 70px;
}

.skillodemy-kicker,
.skillodemy-section-number {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text-muted);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.skillodemy-kicker span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-1);
  box-shadow: 0 0 18px rgba(252, 226, 58, 0.65);
}

.skillodemy-hero-copy h1 {
  margin: 24px 0 28px;
  max-width: 720px;
  color: #fff;
  font-size: clamp(3.4rem, 7vw, 6.8rem);
  font-weight: 700;
  letter-spacing: -0.07em;
  line-height: 0.92;
}

.skillodemy-hero-copy h1 span {
  color: transparent;
  background: linear-gradient(90deg, var(--accent-1), var(--accent-2) 52%, #9d70ff);
  -webkit-background-clip: text;
  background-clip: text;
}

.skillodemy-hero-copy > p {
  max-width: 610px;
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.8;
}

.skillodemy-hero-actions,
.skillodemy-coming-actions {
  margin-top: 34px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
}

.skillodemy-status {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid rgba(252, 226, 58, 0.22);
  border-radius: 999px;
  background: rgba(252, 226, 58, 0.06);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.skillodemy-status i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-1);
  box-shadow: 0 0 0 5px rgba(252, 226, 58, 0.1);
  animation: skillodemy-pulse 1.8s ease-in-out infinite;
}

@keyframes skillodemy-pulse {
  50% { opacity: 0.45; transform: scale(0.8); }
}

.skillodemy-text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-size: 0.88rem;
  font-weight: 700;
}

.skillodemy-text-link span {
  color: var(--accent-2);
  transition: transform 0.25s ease;
}

.skillodemy-text-link:hover span {
  transform: translateY(4px);
}

.skillodemy-visual {
  position: relative;
  padding: 60px 12px;
  perspective: 1200px;
}

.skillodemy-window {
  position: relative;
  z-index: 2;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 22px;
  background: rgba(19, 13, 10, 0.92);
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.48), 0 0 0 1px rgba(255, 255, 255, 0.025) inset;
  transform: rotateY(-6deg) rotateX(2deg);
}

.skillodemy-window-bar {
  min-height: 58px;
  padding: 0 18px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  color: var(--text-dim);
  font-size: 0.64rem;
}

.skillodemy-window-dots {
  display: flex;
  gap: 7px;
}

.skillodemy-window-dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #3b312c;
}

.skillodemy-window-dots span:first-child { background: var(--accent-2); }
.skillodemy-window-dots span:nth-child(2) { background: var(--accent-1); }

.skillodemy-live-dot {
  justify-self: end;
  padding: 5px 9px;
  border-radius: 99px;
  color: #bca6ff;
  background: rgba(111, 53, 255, 0.13);
}

.skillodemy-window-body {
  min-height: 430px;
  display: grid;
  grid-template-columns: 70px 1fr;
}

.skillodemy-sidebar {
  padding: 32px 19px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  border-right: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.012);
}

.skillodemy-sidebar span {
  width: 26px;
  height: 26px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.055);
}

.skillodemy-sidebar span.active {
  background: linear-gradient(135deg, var(--accent-1), var(--accent-2));
  box-shadow: 0 8px 22px rgba(253, 95, 33, 0.2);
}

.skillodemy-lesson {
  padding: 44px 36px 34px;
}

.skillodemy-lesson-top {
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

.skillodemy-micro-label,
.skillodemy-progress-label {
  color: var(--text-dim);
  font-size: 0.67rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.skillodemy-lesson h2 {
  margin: 18px 0 24px;
  color: #fff;
  font-size: clamp(1.7rem, 3vw, 2.7rem);
  line-height: 1.06;
  letter-spacing: -0.04em;
}

.skillodemy-progress {
  height: 5px;
  overflow: hidden;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.07);
}

.skillodemy-progress span {
  display: block;
  width: 68%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--accent-1), var(--accent-2));
}

.skillodemy-preview-grid {
  margin-top: 34px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.skillodemy-preview-card {
  position: relative;
  min-height: 145px;
  padding: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.025);
}

.skillodemy-preview-card span {
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.65rem;
}

.skillodemy-preview-card strong {
  position: relative;
  z-index: 1;
  color: #fff;
  font-size: 0.8rem;
}

.skillodemy-preview-card i {
  position: absolute;
  width: 80px;
  height: 80px;
  right: -26px;
  bottom: -26px;
  border-radius: 24px;
  transform: rotate(28deg);
}

.skillodemy-preview-card--yellow i { background: rgba(252, 226, 58, 0.68); }
.skillodemy-preview-card--orange i { background: rgba(253, 95, 33, 0.7); }
.skillodemy-preview-card--purple i { background: rgba(111, 53, 255, 0.72); }

.skillodemy-orbit {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 50%;
  pointer-events: none;
}

.skillodemy-orbit--one { inset: 5% -8%; transform: rotate(-8deg); }
.skillodemy-orbit--two { inset: 18% -18%; transform: rotate(14deg); }

.skillodemy-float-card {
  position: absolute;
  z-index: 3;
  padding: 12px 15px;
  display: flex;
  align-items: center;
  gap: 9px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  background: rgba(20, 13, 10, 0.82);
  backdrop-filter: blur(15px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.32);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
}

.skillodemy-float-card span { color: var(--accent-1); font-size: 1rem; }
.skillodemy-float-card--top { top: 18px; right: 2%; }
.skillodemy-float-card--bottom { bottom: 14px; left: -3%; }

.skillodemy-intro,
.skillodemy-paths {
  padding: 120px 0;
}

.skillodemy-intro {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.012);
}

.skillodemy-intro-grid {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 100px;
}

.skillodemy-intro h2,
.skillodemy-section-heading h2,
.skillodemy-coming-card h2 {
  margin-top: 24px;
  color: #fff;
  font-size: clamp(2.2rem, 5vw, 4.6rem);
  line-height: 1.05;
  letter-spacing: -0.055em;
}

.skillodemy-intro-copy {
  padding-top: 34px;
}

.skillodemy-intro-copy p,
.skillodemy-section-heading > p,
.skillodemy-coming-card > p {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.85;
}

.skillodemy-intro-copy p + p { margin-top: 22px; }

.skillodemy-section-heading {
  max-width: 760px;
}

.skillodemy-section-heading > p {
  max-width: 660px;
  margin-top: 22px;
}

.skillodemy-path-grid {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.skillodemy-path-card {
  position: relative;
  min-height: 350px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: linear-gradient(145deg, rgba(255,255,255,0.035), rgba(255,255,255,0.012));
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.skillodemy-path-card:hover {
  transform: translateY(-6px);
  border-color: rgba(252, 226, 58, 0.25);
}

.skillodemy-path-index {
  position: absolute;
  top: 28px;
  left: 30px;
  color: var(--text-dim);
  font-size: 0.7rem;
}

.skillodemy-path-icon {
  position: absolute;
  top: 30px;
  right: 28px;
  width: 62px;
  height: 62px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(252, 226, 58, 0.14), rgba(253, 95, 33, 0.12));
  color: var(--accent-1);
  font-size: 1.55rem;
}

.skillodemy-path-card h3 {
  margin-bottom: 14px;
  color: #fff;
  font-size: 1.45rem;
}

.skillodemy-path-card p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.7;
}

.skillodemy-coming-soon {
  padding: 30px 0 120px;
}

.skillodemy-coming-card {
  position: relative;
  min-height: 560px;
  padding: 80px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 24px;
  background:
    radial-gradient(circle at 82% 35%, rgba(111, 53, 255, 0.2), transparent 34%),
    radial-gradient(circle at 15% 100%, rgba(253, 95, 33, 0.15), transparent 35%),
    #110b08;
}

.skillodemy-coming-card > *:not(.skillodemy-coming-mark) { position: relative; z-index: 1; }
.skillodemy-coming-card > p { max-width: 540px; margin-top: 22px; }

.skillodemy-coming-mark {
  position: absolute;
  right: 5%;
  width: 330px;
  height: 330px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 38% 62% 55% 45% / 48% 38% 62% 52%;
  background: linear-gradient(145deg, rgba(252, 226, 58, 0.11), rgba(111, 53, 255, 0.16));
  transform: rotate(10deg);
}

.skillodemy-coming-mark::before,
.skillodemy-coming-mark::after {
  content: '';
  position: absolute;
  inset: 34px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: inherit;
}

.skillodemy-coming-mark::after { inset: 68px; }

.skillodemy-coming-mark span {
  color: transparent;
  background: linear-gradient(135deg, var(--accent-1), var(--accent-2), #8d5cff);
  -webkit-background-clip: text;
  background-clip: text;
  font-size: 9rem;
  font-weight: 700;
  line-height: 1;
  transform: rotate(-10deg);
}

@media (max-width: 1024px) {
  .skillodemy-hero { min-height: auto; padding-top: calc(var(--header-h) + 80px); }
  .skillodemy-hero-grid { grid-template-columns: 1fr; gap: 52px; }
  .skillodemy-hero-copy { max-width: 760px; }
  .skillodemy-visual { width: min(100%, 760px); margin: 0 auto; }
  .skillodemy-intro-grid { gap: 60px; }
  .skillodemy-coming-mark { right: -6%; opacity: 0.62; }
}

@media (max-width: 768px) {
  .skillodemy-hero { padding: calc(var(--header-h) + 54px) 0 76px; }
  .skillodemy-hero-grid { gap: 38px; }
  .skillodemy-hero-copy h1 { margin: 20px 0 22px; font-size: clamp(3rem, 15vw, 4.7rem); }
  .skillodemy-hero-copy > p { font-size: 0.94rem; line-height: 1.75; }
  .skillodemy-hero-actions { align-items: flex-start; flex-direction: column; gap: 18px; }
  .skillodemy-visual { padding: 40px 0 48px; }
  .skillodemy-window { border-radius: 16px; transform: none; }
  .skillodemy-window-bar { grid-template-columns: 1fr auto; min-height: 48px; }
  .skillodemy-window-bar > span:nth-child(2) { display: none; }
  .skillodemy-window-body { min-height: 330px; grid-template-columns: 46px 1fr; }
  .skillodemy-sidebar { padding: 24px 10px; gap: 13px; }
  .skillodemy-sidebar span { width: 22px; height: 22px; border-radius: 6px; }
  .skillodemy-lesson { padding: 28px 18px 22px; }
  .skillodemy-lesson h2 { font-size: 1.65rem; margin: 14px 0 20px; }
  .skillodemy-preview-grid { margin-top: 25px; gap: 7px; }
  .skillodemy-preview-card { min-height: 105px; padding: 11px; border-radius: 10px; }
  .skillodemy-preview-card i { width: 55px; height: 55px; }
  .skillodemy-float-card { font-size: 0.62rem; padding: 9px 11px; }
  .skillodemy-float-card--top { top: 6px; right: -5px; }
  .skillodemy-float-card--bottom { bottom: 8px; left: -4px; }
  .skillodemy-intro, .skillodemy-paths { padding: 78px 0; }
  .skillodemy-intro-grid { grid-template-columns: 1fr; gap: 18px; }
  .skillodemy-intro-copy { padding-top: 8px; }
  .skillodemy-intro h2, .skillodemy-section-heading h2, .skillodemy-coming-card h2 { font-size: clamp(2.2rem, 11vw, 3.3rem); }
  .skillodemy-path-grid { grid-template-columns: 1fr; margin-top: 36px; }
  .skillodemy-path-card { min-height: 280px; }
  .skillodemy-coming-soon { padding: 10px 0 80px; }
  .skillodemy-coming-card { min-height: 580px; padding: 44px 24px; justify-content: flex-start; }
  .skillodemy-coming-card > p { max-width: 100%; }
  .skillodemy-coming-mark { right: -70px; bottom: -90px; width: 280px; height: 280px; opacity: 0.5; }
  .skillodemy-coming-mark span { font-size: 7rem; }
  .skillodemy-coming-actions { flex-direction: column; align-items: flex-start; gap: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  .skillodemy-status i { animation: none; }
  .skillodemy-path-card, .skillodemy-text-link span { transition: none; }
}

/* ── Skillodemy Minimal Coming Soon ─────────────────────────────────────── */
.page-skillodemy .site-footer {
  display: none;
}

.skillodemy-soon {
  position: relative;
  min-height: 100svh;
  padding: calc(var(--header-h) + 60px) 24px 48px;
  display: grid;
  place-items: center;
  overflow: hidden;
  isolation: isolate;
  background: #090401;
}

.skillodemy-soon-grid {
  position: absolute;
  inset: 0;
  z-index: -4;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.028) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: radial-gradient(circle at center, #000 5%, transparent 72%);
}

.skillodemy-soon-glow {
  position: absolute;
  z-index: -3;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  filter: blur(110px);
  pointer-events: none;
}

.skillodemy-soon-glow--yellow {
  top: 18%;
  left: 12%;
  background: rgba(252, 226, 58, 0.13);
}

.skillodemy-soon-glow--purple {
  right: 10%;
  bottom: 8%;
  background: rgba(94, 14, 255, 0.18);
}

.skillodemy-soon-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 900px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.skillodemy-soon-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 14px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.025);
  color: var(--text-muted);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.skillodemy-soon-label i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent-1);
  box-shadow: 0 0 16px rgba(252, 226, 58, 0.7);
}

.skillodemy-soon-code {
  margin: 26px 0 -18px;
  display: flex;
  align-items: center;
  gap: 14px;
  color: rgba(255, 255, 255, 0.08);
  font-size: clamp(4.5rem, 13vw, 10rem);
  font-weight: 700;
  letter-spacing: -0.09em;
  line-height: 0.8;
  user-select: none;
}

.skillodemy-soon-code strong {
  color: rgba(253, 95, 33, 0.26);
  font-weight: 400;
}

.skillodemy-soon-eyebrow {
  margin-bottom: 14px;
  color: var(--accent-2);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.skillodemy-soon h1 {
  color: #fff;
  font-size: clamp(4.5rem, 13vw, 10rem);
  font-weight: 700;
  letter-spacing: -0.095em;
  line-height: 0.72;
}

.skillodemy-soon h1 span {
  color: transparent;
  background: linear-gradient(90deg, var(--accent-1), var(--accent-2) 62%, #8f5cff);
  -webkit-background-clip: text;
  background-clip: text;
}

.skillodemy-soon-copy {
  max-width: 590px;
  margin-top: 38px;
  color: var(--text-muted);
  font-size: 0.96rem;
  line-height: 1.75;
}

.skillodemy-soon-actions {
  margin-top: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
}

.skillodemy-soon-status,
.skillodemy-soon-back {
  min-height: 48px;
  padding: 0 18px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  border-radius: 10px;
  font-size: 0.78rem;
  font-weight: 700;
}

.skillodemy-soon-status {
  border: 1px solid rgba(252, 226, 58, 0.17);
  background: rgba(252, 226, 58, 0.055);
  color: var(--text);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.skillodemy-soon-status i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent-1);
  animation: skillodemy-pulse 1.8s ease-in-out infinite;
}

.skillodemy-soon-back {
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.035);
  color: #fff;
  transition: border-color 0.25s ease, transform 0.25s ease, background 0.25s ease;
}

.skillodemy-soon-back:hover {
  transform: translateY(-2px);
  border-color: rgba(253, 95, 33, 0.45);
  background: rgba(253, 95, 33, 0.07);
}

.skillodemy-soon-orbit {
  position: absolute;
  z-index: -1;
  width: min(76vw, 760px);
  aspect-ratio: 1;
  border: 1px solid rgba(255, 255, 255, 0.055);
  border-radius: 50%;
  transform: rotate(-18deg) scaleY(0.42);
  pointer-events: none;
}

.skillodemy-soon-orbit span {
  position: absolute;
  top: 50%;
  left: -6px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--accent-2);
  box-shadow: 0 0 24px rgba(253, 95, 33, 0.72);
}

.skillodemy-soon-footnote {
  position: absolute;
  right: 32px;
  bottom: 24px;
  left: 32px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: rgba(255, 255, 255, 0.2);
  font-size: 0.6rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

@media (max-width: 768px) {
  .skillodemy-soon {
    min-height: 100svh;
    padding: calc(var(--header-h) + 36px) 20px 74px;
  }

  .skillodemy-soon-code {
    margin: 30px 0 -6px;
    font-size: clamp(4.1rem, 22vw, 6.5rem);
  }

  .skillodemy-soon h1 {
    font-size: clamp(4.4rem, 24vw, 7rem);
    line-height: 0.78;
  }

  .skillodemy-soon-copy {
    max-width: 38ch;
    margin-top: 30px;
    font-size: 0.88rem;
  }

  .skillodemy-soon-actions {
    width: 100%;
    flex-direction: column;
  }

  .skillodemy-soon-status,
  .skillodemy-soon-back {
    width: min(100%, 300px);
    justify-content: center;
  }

  .skillodemy-soon-footnote {
    right: 20px;
    bottom: 18px;
    left: 20px;
  }

  .skillodemy-soon-footnote span:last-child {
    display: none;
  }
}

/* ── New Service Hero ── */
.service-hero-new {
  position: relative;
  padding: 160px 24px 100px;
  text-align: center;
  overflow: hidden;
  z-index: 1;
}

.service-hero-new::before {
  content: '';
  position: absolute;
  top: -20%;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(253, 95, 33, 0.15) 0%, rgba(255, 255, 255, 0) 70%);
  z-index: -1;
  pointer-events: none;
}

.service-hero-new h1 {
  font-size: 3.5rem;
  margin: 24px 0 16px;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.service-hero-new p {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 700px;
  margin: 0 auto 32px;
  line-height: 1.6;
}

@media (max-width: 767px) {
  .service-hero-new {
    padding: 120px 24px 60px;
  }
  .service-hero-new h1 {
    font-size: 2.5rem;
  }
  .service-hero-new::before {
    width: 600px;
    height: 600px;
  }
}

/* Align homepage slider navigation with the content edge on mobile. */
@media (max-width: 768px) {
  .home-page #process .slider-controls-new,
  .home-page #testimonials .slider-controls-new {
    justify-content: flex-start;
    padding-left: 0;
  }
}
/* Keep the homepage sections connected without crowding their content. */
.home-page main > section:not(.hero) {
  padding-top: 72px;
  padding-bottom: 72px;
}

@media (max-width: 768px) {
  .home-page main > section:not(.hero) {
    padding-top: 52px;
    padding-bottom: 52px;
  }
}

/* Let mobile process cards grow with their copy without clipping it. */
@media (max-width: 767px) {
  #process .process-slider {
    align-items: stretch;
    overflow-x: auto;
    overflow-y: hidden;
    overscroll-behavior-y: none;
    padding: 2px 0;
  }

  #process .process-slide {
    width: 100%;
    min-width: 100%;
    min-height: 0;
    height: auto;
    max-height: none;
    box-sizing: border-box;
    padding: 24px 22px 28px !important;
    touch-action: pan-x pan-y;
    -webkit-user-drag: none;
  }

  #process .process-slide:hover,
  #process .process-card:hover {
    transform: none;
  }

  #process .process-box-header {
    flex: 0 0 auto;
    align-items: flex-start !important;
    margin-bottom: 18px !important;
  }

  #process .process-box-title {
    line-height: 1.3;
  }

  #process .process-box-body {
    width: 100%;
    min-height: 0;
    overflow: visible;
  }

  #process .process-box-body p {
    width: 100%;
    overflow-wrap: anywhere;
    word-break: normal;
  }
}

/* About page: keep long narratives digestible on smaller screens. */
.about-read-toggle {
  display: none;
}

@media (max-width: 768px) {
  .page-about .about-bio--collapsible {
    position: relative;
    max-height: 205px;
    overflow: hidden;
    transition: max-height 0.45s ease;
  }

  .page-about .about-bio--collapsible::after {
    content: '';
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 76px;
    pointer-events: none;
    background: linear-gradient(to bottom, transparent, var(--bg) 86%);
    transition: opacity 0.25s ease;
  }

  .page-about .about-bio--collapsible.is-expanded {
    max-height: 2400px;
  }

  .page-about .about-bio--collapsible.is-expanded::after {
    opacity: 0;
  }

  .page-about .about-read-toggle {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: 16px;
    padding: 14px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    color: var(--text);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }

  .page-about .about-read-toggle-icon {
    width: 28px;
    height: 28px;
    display: grid;
    place-items: center;
    flex: 0 0 28px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    color: var(--accent-1);
    font-size: 1rem;
    line-height: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-about .about-bio--collapsible {
    transition: none;
  }
}

/* Skillodemy countdown launch page */
.page-skillodemy .site-footer { display: none; }

.skillodemy-launch {
  position: relative;
  min-height: 100svh;
  padding: calc(var(--header-h) + 54px) 24px 54px;
  display: grid;
  place-items: center;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(circle at 15% 18%, rgba(252, 216, 58, 0.13), transparent 28%),
    radial-gradient(circle at 88% 82%, rgba(255, 103, 44, 0.16), transparent 31%),
    #090401;
}

.skillodemy-launch::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -2;
  opacity: 0.35;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(circle at center, #000, transparent 78%);
}

.skillodemy-launch-glow {
  position: absolute;
  z-index: -1;
  width: min(84vw, 950px);
  height: min(70vw, 700px);
  border-radius: 50%;
  background: rgba(253, 95, 33, 0.07);
  filter: blur(100px);
}

.skillodemy-launch-shell {
  position: relative;
  width: min(100%, 1120px);
  min-height: 610px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.72fr);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: 18px;
  background: #160d08;
  box-shadow: 0 42px 100px rgba(0,0,0,0.56), 0 0 0 1px rgba(252,216,58,0.025) inset;
}

.skillodemy-launch-copy {
  position: relative;
  z-index: 2;
  padding: clamp(46px, 7vw, 86px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.skillodemy-launch-brand {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 9px;
  color: rgba(255,255,255,0.72);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.skillodemy-launch-brand i,
.skillodemy-launch-status i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent-1);
  box-shadow: 0 0 16px rgba(252,216,58,0.62);
}

.skillodemy-launch-kicker {
  margin-top: 48px;
  color: var(--accent-2);
  font-size: 0.69rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.skillodemy-launch h1 {
  margin-top: 13px;
  color: #fff;
  font-size: clamp(4rem, 8vw, 7.2rem);
  letter-spacing: -0.09em;
  line-height: 0.77;
}

.skillodemy-launch h1 em {
  color: transparent;
  background: linear-gradient(90deg, var(--accent-1), var(--accent-2));
  -webkit-background-clip: text;
  background-clip: text;
  font-style: normal;
}

.skillodemy-launch-intro {
  max-width: 500px;
  margin-top: 32px;
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.75;
}

.skillodemy-countdown {
  max-width: 520px;
  margin-top: 38px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.skillodemy-countdown div { display: flex; flex-direction: column; gap: 3px; }

.skillodemy-countdown strong {
  color: #fff;
  font-size: clamp(1.65rem, 3vw, 2.45rem);
  line-height: 1;
  letter-spacing: -0.06em;
}

.skillodemy-countdown span {
  color: var(--text-dim);
  font-size: 0.63rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.skillodemy-launch-actions {
  margin-top: 34px;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.skillodemy-launch-status,
.skillodemy-launch-actions a {
  min-height: 44px;
  padding: 0 16px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  border-radius: 9px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.skillodemy-launch-status { border: 1px solid rgba(252,216,58,0.18); background: rgba(252,216,58,0.05); }
.skillodemy-launch-actions a { border: 1px solid rgba(255,255,255,0.1); color: #fff; transition: 0.25s ease; }
.skillodemy-launch-actions a span { color: var(--accent-2); }
.skillodemy-launch-actions a:hover { transform: translateY(-2px); border-color: rgba(253,95,33,0.5); }

.skillodemy-launch-note {
  margin-top: 50px;
  color: rgba(255,255,255,0.2);
  font-size: 0.6rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.skillodemy-clock {
  position: relative;
  min-height: 100%;
  overflow: hidden;
  border-left: 1px solid rgba(255,255,255,0.06);
  background:
    radial-gradient(circle at 25% 50%, rgba(252,216,58,0.07), transparent 30%),
    linear-gradient(145deg, #20120b, #100905);
}

.skillodemy-clock-ring {
  position: absolute;
  width: 650px;
  height: 650px;
  top: 50%;
  left: 4%;
  border: 1px solid rgba(255,255,255,0.045);
  border-radius: 50%;
  transform: translateY(-50%);
}

.skillodemy-clock-ring i {
  --angle: calc(var(--tick) * 15deg);
  position: absolute;
  top: 50%;
  left: 50%;
  width: 24px;
  height: 2px;
  border-radius: 2px;
  background: rgba(255,255,255,0.76);
  transform: translate(-50%, -50%) rotate(var(--angle)) translateX(287px);
}

.skillodemy-clock-ring i:nth-child(3n + 1) { width: 38px; background: var(--accent-1); }

.skillodemy-clock-hand {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 250px;
  height: 4px;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--accent-2), var(--accent-1));
  transform-origin: left center;
  transform: rotate(-18deg);
  animation: skillodemy-clock-sweep 18s linear infinite;
}

.skillodemy-clock-dot {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 15px;
  height: 15px;
  border: 4px solid #160d08;
  border-radius: 50%;
  background: var(--accent-2);
  transform: translate(-50%, -50%);
}

.skillodemy-clock-year {
  position: absolute;
  right: 36px;
  bottom: 34px;
  display: flex;
  color: rgba(255,255,255,0.06);
  font-size: 6rem;
  font-weight: 700;
  letter-spacing: -0.1em;
  line-height: 1;
}

.skillodemy-clock-year strong { color: rgba(252,216,58,0.12); }

@keyframes skillodemy-clock-sweep { to { transform: rotate(342deg); } }

@media (max-width: 850px) {
  .skillodemy-launch-shell { grid-template-columns: 1fr; }
  .skillodemy-launch-copy { min-height: 650px; padding-right: 34%; }
  .skillodemy-clock { position: absolute; inset: 0 0 0 62%; border-left: 1px solid rgba(255,255,255,0.06); opacity: 0.72; }
  .skillodemy-clock-ring { left: -220px; }
  .skillodemy-clock-year { display: none; }
}

@media (max-width: 620px) {
  .skillodemy-launch { padding: calc(var(--header-h) + 24px) 14px 28px; place-items: start center; }
  .skillodemy-launch-shell { min-height: calc(100svh - var(--header-h) - 52px); border-radius: 14px; }
  .skillodemy-launch-copy { min-height: 100%; padding: 38px 24px; justify-content: flex-start; }
  .skillodemy-launch-kicker { margin-top: 48px; }
  .skillodemy-launch h1 { font-size: clamp(3.7rem, 20vw, 5.5rem); }
  .skillodemy-launch-intro { max-width: 32ch; font-size: 0.82rem; }
  .skillodemy-countdown { max-width: 330px; gap: 9px; }
  .skillodemy-countdown strong { font-size: 1.65rem; }
  .skillodemy-countdown span { font-size: 0.54rem; }
  .skillodemy-launch-actions { align-items: flex-start; flex-direction: column; }
  .skillodemy-clock { inset: 0 0 0 72%; opacity: 0.38; }
  .skillodemy-clock-ring { left: -285px; }
  .skillodemy-launch-note { margin-top: auto; padding-top: 44px; }
}

@media (prefers-reduced-motion: reduce) {
  .skillodemy-clock-hand { animation: none; }
}
