/* --------------------------------------------------
   DESIGN TOKENS & RESET
--------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg-main: #000000;
  --bg-glass: rgba(12, 12, 18, 0.58);
  --bg-glass-card: rgba(18, 18, 26, 0.52);
  --bg-glass-hover: rgba(28, 28, 40, 0.72);
  --text-primary: #ffffff;
  --text-secondary: #a1a1aa;
  --text-muted: #71717a;
  --accent-red: #dc2626;
  --accent-red-bright: #ef4444;
  --border-subtle: rgba(255, 255, 255, 0.1);
  --border-medium: rgba(255, 255, 255, 0.18);
  --border-active: rgba(255, 255, 255, 0.38);
  --font-primary: 'Montserrat Alternates', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'Space Grotesk', monospace;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-smooth: cubic-bezier(0.25, 0.1, 0.25, 1);
}

html {
  scroll-behavior: smooth;
}

body {
  width: 100%;
  min-height: 100%;
  background-color: var(--bg-main);
  color: var(--text-primary);
  font-family: var(--font-primary);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  position: relative;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: #000000;
}

::-webkit-scrollbar-thumb {
  background: #27272a;
  border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
  background: #3f3f46;
}

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

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

/* --------------------------------------------------
   CUSTOM MAGNETIC CURSOR
--------------------------------------------------- */
@media (pointer: fine) {
  body.custom-cursor-enabled {
    cursor: none;
  }

  body.custom-cursor-enabled a,
  body.custom-cursor-enabled button,
  body.custom-cursor-enabled input,
  body.custom-cursor-enabled textarea {
    cursor: none;
  }
}

.cursor-dot {
  position: fixed;
  top: 0;
  left: 0;
  width: 7px;
  height: 7px;
  background: #ffffff;
  border-radius: 50%;
  pointer-events: none;
  z-index: 10000;
  transform: translate(-50%, -50%);
  transition: opacity 0.2s ease, transform 0.05s ease-out;
}

.cursor-ring {
  position: fixed;
  top: 0;
  left: 0;
  width: 36px;
  height: 36px;
  border: 1.5px solid rgba(255, 255, 255, 0.45);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: width 0.25s var(--ease-out), height 0.25s var(--ease-out), border-color 0.25s ease, background 0.25s ease;
}

.cursor-ring.active {
  width: 58px;
  height: 58px;
  border-color: var(--accent-red-bright);
  background: rgba(220, 38, 38, 0.15);
  backdrop-filter: blur(2px);
}

/* --------------------------------------------------
   GLOBAL FIXED BACKGROUND CANVAS BACKDROP
--------------------------------------------------- */
.global-canvas-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  background: #000000;
}

#animation-canvas {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.global-canvas-atmosphere {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
  background: radial-gradient(circle at 65% 45%, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.75) 85%, #000000 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0.2) 40%, rgba(0, 0, 0, 0.65) 100%);
}

.global-noise-layer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  opacity: 0.025;
  pointer-events: none;
  background-image: radial-gradient(#ffffff 1px, transparent 1px);
  background-size: 20px 20px;
}

/* --------------------------------------------------
   FIXED TOP NAVIGATION
--------------------------------------------------- */
.top-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 300;
  padding: 1.25rem 3.5rem;
  transition: all 0.3s ease;
}

.top-nav.scrolled {
  /* background: rgba(6, 6, 10, 0.85); */
  backdrop-filter: blur(9px);
  -webkit-backdrop-filter: blur(24px);
  /* border-bottom: 1px solid var(--border-subtle); */
  padding: 0.85rem 3.5rem;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1550px;
  margin: 0 auto;
}

.nav-logo {
  display: flex;
  align-items: center;
  color: #ffffff;
  transition: transform 0.25s var(--ease-out);
}

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

.logo-icon {
  width: 28px;
  height: 28px;
}

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

.nav-link {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-secondary);
  letter-spacing: -0.01em;
  transition: color 0.2s ease;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-red-bright);
  transition: width 0.25s ease;
  border-radius: 2px;
}

.nav-link:hover {
  color: #ffffff;
}

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

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.cv-download-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-subtle);
  color: #ffffff;
  font-size: 0.84rem;
  font-weight: 600;
  padding: 0.5rem 1.1rem;
  border-radius: 100px;
  transition: all 0.25s ease;
}

.cv-download-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: var(--border-active);
  transform: translateY(-2px);
}

.btn-icon {
  width: 14px;
  height: 14px;
}

.book-call-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: #ffffff;
  border-bottom: 1.5px solid rgba(255, 255, 255, 0.4);
  padding-bottom: 2px;
  transition: all 0.2s ease;
}

.book-call-btn:hover {
  border-color: var(--accent-red-bright);
  color: var(--accent-red-bright);
  transform: translateY(-1px);
}

.arrow-icon {
  width: 11px;
  height: 11px;
  transition: transform 0.2s ease;
}

.book-call-btn:hover .arrow-icon {
  transform: translate(2px, -2px);
}

/* --------------------------------------------------
   LEFT VERTICAL RAIL
--------------------------------------------------- */
.left-rail {
  position: fixed;
  left: 2.5rem;
  top: 0;
  bottom: 0;
  z-index: 200;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 7.5rem 0 3rem 0;
  pointer-events: none;
}

.vertical-tag {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.year-tag {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
}

/* --------------------------------------------------
   MAIN CONTENT WRAPPER & GLASSMORPHISM CONTAINERS
--------------------------------------------------- */
.main-content-layer {
  position: relative;
  z-index: 10;
  width: 100%;
}

.glass-panel {
  /* background: var(--bg-glass); */
  /* backdrop-filter: blur(28px) saturate(170%); */
  -webkit-backdrop-filter: blur(28px) saturate(170%);
  /* border: 1px solid var(--border-subtle); */
  border-radius: 30px;
  padding: 3.5rem;
  /* box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5); */
  transition: border-color 0.3s ease;
}

.glass-panel:hover {
  border-color: var(--border-medium);
}

.glass-bento-card {
  background: var(--bg-glass-card);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--border-subtle);
  border-radius: 24px;
  padding: 2.25rem 2rem;
  transition: all 0.35s var(--ease-out);
}

.glass-bento-card:hover {
  background: var(--bg-glass-hover);
  border-color: var(--border-active);
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
}

.section-badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--accent-red-bright);
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.section-heading {
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: #ffffff;
  margin-bottom: 1.5rem;
}

.section-header-block {
  max-width: 820px;
  margin-bottom: 3.5rem;
}

.section-header-block.text-center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.highlight-gradient {
  background: linear-gradient(135deg, #ffffff 30%, #ef4444 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* --------------------------------------------------
   1. HERO SECTION (GLASS OVERLAY)
--------------------------------------------------- */
.section-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 8rem 3.5rem 5rem 7.5rem;
}

.hero-glass-container {
  width: 100%;
  max-width: 780px;
  /* background: rgba(10, 10, 16, 0.45); */
  /* backdrop-filter: blur(28px) saturate(160%); */
  -webkit-backdrop-filter: blur(28px) saturate(160%);
  /* border: 1px solid rgba(255, 255, 255, 0.12); */
  border-radius: 32px;
  padding: 3.5rem 3rem;
  /* box-shadow: 0 25px 60px rgba(0, 0, 0, 0.4); */
}

.hero-stats-row {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.hero-stat-pill {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  border-radius: 100px;
  padding: 0.6rem 1.4rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.hero-stat-pill .stat-number {
  font-family: var(--font-mono);
  font-size: 1.5rem;
  font-weight: 700;
  color: #ffffff;
}

.hero-stat-pill .stat-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.hero-heading-group {
  margin-bottom: 2rem;
}

.hero-title {
  font-size: clamp(4.8rem, 10vw, 8rem);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -0.04em;
  color: #ffffff;
  margin-bottom: 1.25rem;
}

.hero-subtitle {
  font-size: clamp(1.1rem, 1.5vw, 1.35rem);
  font-weight: 500;
  color: #e4e4e7;
  line-height: 1.5;
}

.hero-subtitle strong {
  color: #ffffff;
  font-weight: 700;
}

.hero-cta-wrapper {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 2.25rem;
}

.primary-pill-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  background: #ffffff;
  color: #000000;
  font-size: 0.88rem;
  font-weight: 700;
  padding: 0.8rem 1.6rem;
  border-radius: 100px;
  transition: all 0.25s var(--ease-out);
}

.primary-pill-btn:hover {
  background: #f4f4f5;
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(255, 255, 255, 0.25);
}

.secondary-pill-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-subtle);
  color: #ffffff;
  font-size: 0.88rem;
  font-weight: 600;
  padding: 0.8rem 1.6rem;
  border-radius: 100px;
  transition: all 0.25s var(--ease-out);
}

.secondary-pill-btn:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: var(--border-active);
  transform: translateY(-2px);
}

.glass-pill-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-subtle);
  color: #e4e4e7;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 0.7rem 1.2rem;
  border-radius: 100px;
  transition: all 0.2s ease;
}

.glass-pill-btn:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
  border-color: var(--border-active);
  transform: translateY(-1px);
}

.hero-scroll-indicator {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-secondary);
  animation: floatBounce 2.5s ease-in-out infinite;
}

.scroll-arrow-icon {
  width: 13px;
  height: 13px;
}

@keyframes floatBounce {

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

  50% {
    transform: translateY(6px);
  }
}

/* --------------------------------------------------
   2. INFINITE 2-LINE LOGO MARQUEE (GLASS RIBBON)
--------------------------------------------------- */
.section-marquee {
  width: 100%;
  padding: 3rem 0 0 0;
}

.marquee-glass-ribbon {
  /* background: rgba(10, 10, 16, 0.55); */
  /* backdrop-filter: blur(28px); */
  -webkit-backdrop-filter: blur(28px);
  /* border-top: 1px solid var(--border-subtle); */
  /* border-bottom: 1px solid var(--border-subtle); */
  padding: 2.5rem 0;
  overflow: hidden;
}

.marquee-tag-header {
  text-align: center;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.red-diamond {
  color: var(--accent-red-bright);
}

.marquee-container {
  display: flex;
  overflow: hidden;
  user-select: none;
  width: 100%;
  position: relative;
}

.marquee-container::before,
.marquee-container::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 120px;
  z-index: 2;
  pointer-events: none;
}

.marquee-container::before {
  left: 0;
  background: linear-gradient(to right, rgba(0, 0, 0, 0.8) 0%, transparent 100%);
}

.marquee-container::after {
  right: 0;
  background: linear-gradient(to left, rgba(0, 0, 0, 0.8) 0%, transparent 100%);
}

.marquee-track {
  display: flex;
  align-items: center;
  gap: 4.5rem;
  flex-shrink: 0;
  white-space: nowrap;
}

.track-left-to-right {
  animation: scrollLeftToRight 30s linear infinite;
}

.track-right-to-left {
  animation: scrollRightToLeft 30s linear infinite;
}

@keyframes scrollLeftToRight {
  0% {
    transform: translateX(-50%);
  }

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

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

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

.marquee-container:hover .marquee-track {
  animation-play-state: paused;
}

.brand-text {
  font-size: 1.45rem;
  font-weight: 600;
  color: #71717a;
  letter-spacing: -0.02em;
  transition: all 0.25s ease;
}

.brand-text:hover {
  color: #ffffff;
  transform: scale(1.06);
}

.brand-text b {
  font-weight: 800;
  color: #d4d4d8;
}

.brand-text.telr {
  font-family: serif;
  font-style: italic;
  font-size: 1.7rem;
  color: #34d399;
}

.brand-text.boon {
  font-weight: 800;
  color: #4ade80;
}

.brand-text.merge {
  font-family: var(--font-mono);
  color: #38bdf8;
}

.brand-text.rload {
  font-family: var(--font-mono);
  background: #581c87;
  color: #ffffff;
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  font-size: 1.1rem;
}

.brand-text.rak {
  color: #f97316;
  font-size: 1.2rem;
}

.mt-3 {
  margin-top: 1.25rem;
}

/* --------------------------------------------------
   COMMON CONTENT SECTIONS
--------------------------------------------------- */
.content-section {
  position: relative;
  width: 100%;
  padding: 0rem 3.5rem;
}

.section-container {
  max-width: 1400px;
  margin: 0 auto;
}

/* --------------------------------------------------
   3. ABOUT SECTION
--------------------------------------------------- */
.about-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 4.5rem;
  align-items: center;
}

.section-lead-text {
  font-size: 1.2rem;
  font-weight: 600;
  color: #e4e4e7;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.section-body-text {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 2rem;
}

.about-btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.stats-bento-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.bento-num {
  display: block;
  font-family: var(--font-mono);
  font-size: 2.2rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.35rem;
}

.bento-title {
  display: block;
  font-size: 0.95rem;
  font-weight: 700;
  color: #e4e4e7;
  margin-bottom: 0.35rem;
}

.bento-sub {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.glass-bento-card.highlight-card {
  border-color: rgba(220, 38, 38, 0.4);
  background: linear-gradient(135deg, rgba(220, 38, 38, 0.12) 0%, rgba(18, 18, 26, 0.65) 100%);
}

/* --------------------------------------------------
   4. SERVICES SECTION
--------------------------------------------------- */
.services-4grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.service-card {
  display: flex;
  flex-direction: column;
}

.service-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}

.service-idx {
  font-family: var(--font-mono);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-muted);
}

.service-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  color: #ffffff;
}

.service-icon svg {
  width: 20px;
  height: 20px;
}

.service-title {
  font-size: 1.45rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
}

.service-desc {
  font-size: 0.94rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 1.75rem;
  flex-grow: 1;
}

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.service-tags span {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  color: #d4d4d8;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  padding: 0.3rem 0.75rem;
  border-radius: 100px;
}

/* --------------------------------------------------
   5. TECHNOLOGY STACK
--------------------------------------------------- */
.tech-category-list {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.tech-cat-row {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.tech-cat-label {
  font-size: 1.05rem;
  font-weight: 700;
  color: #ffffff;
}

.tech-tags-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.tech-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: #e4e4e7;
  font-size: 0.88rem;
  font-weight: 600;
  padding: 0.55rem 1.15rem;
  border-radius: 100px;
  transition: all 0.2s ease;
}

.tech-pill:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: var(--border-active);
  transform: translateY(-2px);
}

.dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
}

.dot.green {
  background: #10b981;
}

.dot.blue {
  background: #3b82f6;
}

.dot.cyan {
  background: #06b6d4;
}

.dot.purple {
  background: #a855f7;
}

.dot.yellow {
  background: #eab308;
}

.dot.orange {
  background: #f97316;
}

.dot.red {
  background: #ef4444;
}

/* --------------------------------------------------
   6. FEATURED PROJECTS
--------------------------------------------------- */
.projects-container {
  display: flex;
  flex-direction: column;
  gap: 3.5rem;
}

.project-card-horizontal {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3.5rem;
  align-items: center;
  padding: 2.75rem;
}

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

.project-card-horizontal.reverse .project-media-side {
  order: 2;
}

.project-card-horizontal.reverse .project-info-side {
  order: 1;
}

.project-img-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: 20px;
  overflow: hidden;
  background: #0a0a10;
  border: 1px solid var(--border-subtle);
}

.project-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease-out);
}

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

.project-tag-overlay {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 600;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border-subtle);
  color: #ffffff;
  padding: 0.35rem 0.85rem;
  border-radius: 100px;
}

.project-meta-line {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.project-type-pill {
  font-size: 0.78rem;
  font-weight: 700;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
  padding: 0.3rem 0.8rem;
  border-radius: 100px;
}

.project-year-pill {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--text-muted);
}

.project-title {
  font-size: clamp(1.6rem, 2.5vw, 2.3rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 0.85rem;
}

.project-brief {
  font-size: 0.96rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 1.5rem;
}

.project-spec-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 2rem;
  border-left: 2px solid rgba(255, 255, 255, 0.15);
  padding-left: 1rem;
}

.spec-item {
  font-size: 0.86rem;
  color: #d4d4d8;
}

.spec-item b {
  color: #ffffff;
}

.project-actions-row {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* --------------------------------------------------
   7. TESTIMONIALS SLIDER / CAROUSEL
--------------------------------------------------- */
.testimonials-header-flex {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 2.5rem;
}

.carousel-nav-controls {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.carousel-arrow-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-subtle);
  color: #ffffff;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

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

.testimonials-slider-wrapper {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding: 1rem 0;
  cursor: grab;
}

.testimonials-slider-wrapper:active {
  cursor: grabbing;
}

.testimonials-slider-track {
  display: flex;
  gap: 1.75rem;
  transition: transform 0.45s var(--ease-out);
  will-change: transform;
}

.testimonial-slide-item {
  flex: 0 0 calc(33.333% - 1.2rem);
  min-width: 320px;
  max-width: 420px;
}

.testimonial-card {
  border-radius: 24px;
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 380px;
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.6);
}

/* White Card Style */
.testimonial-card.card-white {
  background: #ffffff;
  color: #09090b;
}

.testimonial-card.card-white .card-stars {
  color: #000000;
  letter-spacing: 0.15em;
  font-size: 1rem;
  margin-bottom: 1.25rem;
}

.testimonial-card.card-white .card-quote {
  font-size: 1.02rem;
  font-weight: 600;
  line-height: 1.55;
  color: #18181b;
  margin-bottom: 2rem;
  font-style: normal;
}

.testimonial-card.card-white .author-name {
  font-size: 1rem;
  font-weight: 700;
  color: #09090b;
}

.testimonial-card.card-white .author-role {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  color: #71717a;
  text-transform: uppercase;
}

/* Red Gradient Card Style */
.testimonial-card.card-red-gradient {
  position: relative;
  background: linear-gradient(180deg, #1c1917 0%, #b91c1c 85%, #991b1b 100%);
  color: #ffffff;
  border: 1px solid rgba(239, 68, 68, 0.35);
  overflow: hidden;
}

.testimonial-card-bg-avatar {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 55%;
  z-index: 1;
  opacity: 0.85;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1) 30%, rgba(0, 0, 0, 0) 100%);
  -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1) 30%, rgba(0, 0, 0, 0) 100%);
}

.testimonial-card-bg-avatar .card-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.testimonial-card.card-red-gradient .card-content-wrap {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.testimonial-card.card-red-gradient .card-stars {
  color: #ffffff;
  letter-spacing: 0.15em;
  font-size: 1rem;
  margin-bottom: 1.25rem;
}

.testimonial-card.card-red-gradient .card-quote {
  font-size: 1.02rem;
  font-weight: 600;
  line-height: 1.55;
  color: #ffffff;
  margin-bottom: 1.75rem;
  font-style: normal;
}

.testimonial-card.card-red-gradient .author-name {
  font-size: 1.05rem;
  font-weight: 700;
  color: #ffffff;
}

.testimonial-card.card-red-gradient .author-role {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  color: #fecaca;
  text-transform: uppercase;
}

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

.avatar-circle {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  overflow: hidden;
  background: #e4e4e7;
  flex-shrink: 0;
}

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

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

.carousel-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
  transition: all 0.25s ease;
  cursor: pointer;
}

.carousel-dot.active {
  width: 26px;
  border-radius: 100px;
  background: var(--accent-red-bright);
}

/* --------------------------------------------------
   8. ASYNC BRIEF & CONTACT FORM
--------------------------------------------------- */
.brief-container-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 4.5rem;
  align-items: start;
}

.brief-tag-block {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.red-square {
  color: var(--accent-red-bright);
  font-size: 0.85rem;
}

.red-square-small {
  color: var(--accent-red-bright);
  font-size: 0.75rem;
}

.tag-title {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #ffffff;
}

.brief-main-title {
  font-size: clamp(2.5rem, 4.5vw, 3.8rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: #ffffff;
  margin-bottom: 1.75rem;
}

.red-comma {
  color: var(--accent-red-bright);
}

.brief-subtext {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 2.5rem;
  max-width: 500px;
}

.founder-brief-card {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  background: rgba(18, 18, 26, 0.7);
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
  padding: 1.75rem;
}

.founder-card-avatar {
  width: 85px;
  height: 85px;
  border-radius: 16px;
  overflow: hidden;
  background: linear-gradient(135deg, #ef4444 0%, #991b1b 100%);
  flex-shrink: 0;
}

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

.founder-name {
  font-size: 1.15rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.2rem;
}

.founder-title {
  font-size: 0.82rem;
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
}

.reply-badge {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #fca5a5;
  margin-bottom: 0.75rem;
}

.founder-direct-contacts {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.direct-badge {
  font-size: 0.8rem;
  font-weight: 600;
  color: #d4d4d8;
  transition: color 0.2s ease;
}

.direct-badge:hover {
  color: #ffffff;
  text-decoration: underline;
}

/* Right Column Form */
.brief-interactive-card {
  position: relative;
  background: #f4f4f5;
  color: #09090b;
  border-radius: 28px;
  padding: 3rem 2.5rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.8);
}

.form-block-label {
  display: block;
  font-size: 0.95rem;
  font-weight: 700;
  color: #18181b;
  margin-bottom: 0.85rem;
}

.interactive-pills-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.form-pill {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #3f3f46;
  background: #ffffff;
  border: 1px solid #d4d4d8;
  padding: 0.55rem 1rem;
  border-radius: 6px;
  transition: all 0.2s ease;
}

.form-pill:hover {
  border-color: #18181b;
  color: #000000;
}

.form-pill.active {
  background: #09090b;
  color: #ffffff;
  border-color: #09090b;
}

.form-inputs-2col {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.input-field-group {
  display: flex;
  flex-direction: column;
}

.input-lbl {
  font-size: 0.85rem;
  font-weight: 700;
  color: #27272a;
  margin-bottom: 0.4rem;
}

.text-input,
.textarea-input {
  width: 100%;
  background: #ffffff;
  border: 1px solid #d4d4d8;
  border-radius: 8px;
  padding: 0.8rem 1rem;
  font-family: var(--font-primary);
  font-size: 0.92rem;
  color: #09090b;
  transition: border-color 0.2s ease;
}

.text-input:focus,
.textarea-input:focus {
  outline: none;
  border-color: #09090b;
}

.textarea-input {
  resize: vertical;
}

.big-red-submit-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  background: var(--accent-red);
  color: #ffffff;
  font-size: 1rem;
  font-weight: 700;
  padding: 1.05rem 2rem;
  border-radius: 12px;
  transition: all 0.25s ease;
}

.big-red-submit-btn:hover {
  background: var(--accent-red-bright);
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(220, 38, 38, 0.35);
}

.form-feedback-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(244, 244, 245, 0.98);
  border-radius: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.form-feedback-overlay.show {
  opacity: 1;
  visibility: visible;
}

.feedback-box {
  text-align: center;
  max-width: 360px;
}

.feedback-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 1.25rem;
  background: #10b981;
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
}

.feedback-box h4 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.feedback-box p {
  font-size: 0.92rem;
  color: #52525b;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.feedback-reset-btn {
  background: #09090b;
  color: #ffffff;
  padding: 0.65rem 1.4rem;
  border-radius: 8px;
  font-size: 0.86rem;
  font-weight: 700;
}

/* --------------------------------------------------
   9. AGENCY FOOTER
--------------------------------------------------- */
.agency-footer {
  background: rgba(6, 6, 10, 0.85);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  border-top: 1px solid var(--border-subtle);
  padding: 5.5rem 3.5rem 2.5rem 3.5rem;
  position: relative;
  z-index: 20;
}

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

.footer-accolades-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 3.5rem;
  margin-bottom: 4rem;
}

.accolade-item {
  display: flex;
  flex-direction: column;
}

.accolade-logo-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.4rem;
}

.stars-gold {
  color: #fbbf24;
  font-size: 0.9rem;
}

.accolade-sub {
  font-size: 0.82rem;
  color: var(--text-secondary);
}

.footer-columns-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 3rem;
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 3.5rem;
  margin-bottom: 3.5rem;
}

.footer-col-heading {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

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

.footer-links-list a {
  font-size: 0.9rem;
  color: var(--text-secondary);
  transition: color 0.2s ease;
}

.footer-links-list a:hover {
  color: #ffffff;
}

.footer-contact-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: #ffffff;
  transition: color 0.2s ease;
}

.footer-contact-link:hover {
  color: var(--accent-red-bright);
}

.footer-locations-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem;
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 3rem;
  margin-bottom: 2.5rem;
}

.location-card {
  display: flex;
  flex-direction: column;
}

.location-header {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.5rem;
}

.location-name {
  font-size: 1rem;
  font-weight: 700;
  color: #ffffff;
}

.location-badge {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: var(--text-muted);
}

.location-details {
  font-family: var(--font-mono);
  font-size: 0.88rem;
  color: #e4e4e7;
  margin-bottom: 0.25rem;
}

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

.footer-bottom-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.copyright-text {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--text-muted);
}

.footer-social-icons {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.social-circle-link {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-secondary);
  transition: all 0.2s ease;
}

.social-circle-link:hover {
  background: #ffffff;
  color: #000000;
  transform: translateY(-2px);
}

.back-to-top-link {
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-left: 1rem;
  transition: color 0.2s ease;
}

.back-to-top-link:hover {
  color: #ffffff;
}

/* --------------------------------------------------
   RESPONSIVE BREAKPOINTS
--------------------------------------------------- */
@media (max-width: 1100px) {
  .left-rail {
    display: none;
  }

  .section-hero {
    padding: 7rem 2rem 4rem 2rem;
  }

  .content-section {
    padding: 5rem 2rem;
  }

  .glass-panel {
    padding: 2.5rem 0;
  }

  .about-grid,
  .project-card-horizontal,
  .project-card-horizontal.reverse,
  .brief-container-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .project-card-horizontal.reverse .project-media-side {
    order: 1;
  }

  .project-card-horizontal.reverse .project-info-side {
    order: 2;
  }

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

  .testimonial-slide-item {
    flex: 0 0 calc(50% - 1rem);
  }
}

@media (max-width: 768px) {
  .top-nav {
    padding: 1rem 1.5rem;
  }

  .nav-links {
    display: none;
  }

  .content-section {
    padding: 4rem 1.25rem;
  }

  .services-4grid,
  .stats-bento-grid,
  .form-inputs-2col,
  .footer-accolades-row,
  .footer-columns-grid,
  .footer-locations-grid {
    grid-template-columns: 1fr;
  }

  .testimonial-slide-item {
    flex: 0 0 100%;
  }

  .brief-interactive-card {
    padding: 2rem 1.5rem;
  }

  .hero-glass-container {
    padding: 2.5rem 1.75rem;
  }
}