/* ================================================================
   VOID Studio — style.css
   Fonts loaded via <link> in HTML for non-blocking render.
   ================================================================ */

/* ─── Design Tokens ──────────────────────────────────────────── */
:root {
  /* Palette */
  --bg: #050508;
  --accent: #63b3ed;
  --accent-alt: #a78bfa;
  --accent-glow: rgba(99, 179, 237, 0.18);

  /* Surfaces */
  --surface: rgba(255, 255, 255, 0.04);
  --surface-hover: rgba(255, 255, 255, 0.07);

  /* Borders */
  --border: rgba(255, 255, 255, 0.08);
  --border-hover: rgba(99, 179, 237, 0.28);

  /* Text */
  --text: #f0f0f5;
  --text-dim: rgba(240, 240, 245, 0.65);
  --text-muted: rgba(240, 240, 245, 0.40);

  /* Typography */
  --font-display: 'Syne', sans-serif;
  --font-mono: 'DM Mono', monospace;

  /* Spacing scale */
  --space-xs: 8px;
  --space-sm: 16px;
  --space-md: 32px;
  --space-lg: 60px;
  --space-xl: 120px;

  /* Radii */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-pill: 100px;

  /* Transitions */
  --ease: 0.35s ease;
  --ease-fast: 0.2s ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg);
  color: var(--text);
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.65;
  overflow-x: hidden;
  width: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ─── Scrollbar ──────────────────────────────────────────────── */
::-webkit-scrollbar {
  width: 5px;
}

::-webkit-scrollbar-track {
  background: var(--bg);
}

::-webkit-scrollbar-thumb {
  background: rgba(99, 179, 237, 0.25);
  border-radius: 3px;
}

/* ─── Grid Background ────────────────────────────────────────── */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    repeating-linear-gradient(0deg,
      transparent, transparent 58px,
      rgba(255, 255, 255, 0.02) 58px, rgba(255, 255, 255, 0.02) 60px),
    repeating-linear-gradient(90deg,
      transparent, transparent 58px,
      rgba(255, 255, 255, 0.02) 58px, rgba(255, 255, 255, 0.02) 60px);
}

/* ─── Animated Orbs ──────────────────────────────────────────── */
.orbs {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.55;
  will-change: transform;
}

.orb-blue {
  width: clamp(360px, 50vw, 700px);
  height: clamp(360px, 50vw, 700px);
  background: radial-gradient(circle, rgba(99, 179, 237, 0.20) 0%, transparent 70%);
  top: -200px;
  left: -100px;
  animation: driftBlue 22s ease-in-out infinite alternate;
}

.orb-violet {
  width: clamp(300px, 45vw, 600px);
  height: clamp(300px, 45vw, 600px);
  background: radial-gradient(circle, rgba(167, 139, 250, 0.16) 0%, transparent 70%);
  bottom: -80px;
  right: -80px;
  animation: driftViolet 28s ease-in-out infinite alternate;
}

@keyframes driftBlue {
  0% {
    transform: translate(0, 0) scale(1.00);
  }

  33% {
    transform: translate(100px, 70px) scale(1.06);
  }

  66% {
    transform: translate(50px, 160px) scale(0.97);
  }

  100% {
    transform: translate(180px, 90px) scale(1.09);
  }
}

@keyframes driftViolet {
  0% {
    transform: translate(0, 0) scale(1.00);
  }

  33% {
    transform: translate(-90px, -50px) scale(1.06);
  }

  66% {
    transform: translate(-160px, -110px) scale(0.94);
  }

  100% {
    transform: translate(-70px, -180px) scale(1.10);
  }
}

/* ─── Custom Cursor ──────────────────────────────────────────── */
#cursor-dot {
  position: fixed;
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
  pointer-events: none;
  z-index: 10000;
  transform: translate(-50%, -50%);
  mix-blend-mode: screen;
  transition: width 0.2s ease, height 0.2s ease, opacity 0.2s ease;
}

#cursor-ring {
  position: fixed;
  width: 32px;
  height: 32px;
  border: 1px solid rgba(99, 179, 237, 0.50);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: width 0.3s ease, height 0.3s ease, border-color 0.3s ease;
}

#cursor-ring.hovered {
  width: 52px;
  height: 52px;
  border-color: rgba(99, 179, 237, 0.85);
}

/* Hide cursor elements on touch devices */
@media (hover: none) {

  #cursor-dot,
  #cursor-ring {
    display: none;
  }

  body {
    cursor: auto;
  }

  a,
  button {
    cursor: pointer;
  }
}

/* ─── Layout Utility ─────────────────────────────────────────── */
.container {
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  z-index: 1;
  box-sizing: border-box;
}

/* Mobile: < 768px */
@media (max-width: 768px) {
  .container {
    max-width: 100vw;
    padding-left: 16px;
    padding-right: 16px;
  }

  section {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }

  /* Ensure grids stack and center */
  .services-grid {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
}

/* Tablet: 769px - 1024px */
@media (min-width: 769px) and (max-width: 1024px) {
  .container {
    max-width: 960px;
    padding-left: 24px;
    padding-right: 24px;
  }
}

/* Desktop: ≥ 1025px */
@media (min-width: 1025px) {
  .container {
    max-width: 1280px;
    padding-left: 40px;
    padding-right: 40px;
  }

  body {
    text-align: left;
  }
}

/* Consolidated Responsive Logic */

/* ── Tablets (≤ 1024px) ────────────────────────────────── */
@media (max-width: 1024px) {
  .container {
    max-width: 960px;
    padding-left: 24px;
    padding-right: 24px;
    margin-left: auto;
    margin-right: auto;
  }




  /* Hero section stays left-aligned */
  #hero,
  #hero * {
    text-align: left;
  }

  #hero .hero-buttons {
    justify-content: flex-start;
  }

  #hero .hero-stats {
    justify-content: flex-start;
  }


}

/* ── Mobile (≤ 768px) ────────────────────────────────── */
@media (max-width: 768px) {

  /* Nav items to hide */
  .nav-links,
  .nav-inner .btn-primary {
    display: none !important;
  }

  .hamburger {
    display: flex !important;
  }

  .container {
    max-width: 100vw;
    padding-left: 16px;
    padding-right: 16px;
  }

  .nav-inner {
    flex-direction: row;
    height: auto;
    padding-block: 16px;
    align-items: center;
    justify-content: space-between;
  }

  .hero-headline {
    font-size: clamp(28px, 8vw, 54px);
    text-align: left;
  }

  .hero-sub {
    max-width: 100%;
    text-align: left;
  }

  .hero-buttons {
    justify-content: flex-start;
  }

  .hero-stats {
    justify-content: flex-start;
    gap: 24px;
  }

  .cta-card::before {
    width: 100%;
    height: 200px;
    top: -40px;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: stretch;
  }

  .cta-buttons .btn {
    width: 100%;
  }

  .property-content {
    padding: 16px;
  }

  .property-title {
    font-size: 16px;
  }

  .property-price {
    font-size: 12px;
  }

  .footer-inner {
    flex-direction: column;
    gap: 24px;
    text-align: left;
  }

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

/* ── Desktop (≥ 1025px) ─────────────────────────────── */
@media (min-width: 1025px) {
  .container {
    max-width: 1280px;
    padding-left: 40px;
    padding-right: 40px;
  }

  body {
    text-align: left;
    font-size: 16px;
  }
}

/* ── Small Mobile (≤ 540px) ───────────────────────────── */
@media (max-width: 540px) {
  :root {
    --space-xl: 60px;
  }

  .hero-badge {
    font-size: 9px;
    padding: 7px 14px;
  }

  .process-item {
    grid-template-columns: 1fr;
    text-align: left;
    gap: 8px;
  }

  .process-step {
    margin-bottom: 4px;
  }

  .process-desc {
    display: none;
  }

  .property-card {
    padding: 0;
    /* Ensures full width */
  }
}

/* Global Image Responsiveness */
img {
  max-width: 100%;
  height: auto;
  display: block;
}

section {
  padding-block: var(--space-xl);
}

/* ─── Typography Utilities ───────────────────────────────────── */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}

.section-label::before {
  content: '';
  display: block;
  width: 24px;
  height: 1px;
  background: var(--accent);
  flex-shrink: 0;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 4.5vw, 54px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: clamp(32px, 4vw, 56px);
}

.stroke-text {
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(99, 179, 237, 0.65);
}

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

/* ─── Button System ──────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: var(--radius-sm);
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-decoration: none;
  cursor: none;
  transition: all var(--ease-fast);
  border: 1px solid transparent;
  white-space: nowrap;
  user-select: none;
}

.btn-primary {
  background: var(--accent);
  color: var(--bg);
  border-color: var(--accent);
  font-weight: 600;
}

.btn-primary:hover {
  background: #86c8f5;
  border-color: #86c8f5;
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(99, 179, 237, 0.28);
}

.btn-ghost {
  background: transparent;
  color: var(--text-dim);
  border-color: var(--border);
}

.btn-ghost:hover {
  color: var(--text);
  border-color: var(--border-hover);
}

.btn-text {
  background: transparent;
  color: var(--text-muted);
  border: none;
  padding-inline: 0;
}

.btn-text:hover {
  color: var(--text);
}

/* ─── Scroll Reveal ──────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

/* ================================================================
   NAVIGATION
   ================================================================ */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(5, 5, 8, 0.70);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border);
  transform: translateY(-100%);
  animation: slideDown 0.65s ease 0.15s forwards;
}

@keyframes slideDown {
  to {
    transform: translateY(0);
  }
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: var(--space-md);
}

/* Logo */
.logo {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.10em;
  color: var(--text);
  text-decoration: none;
  flex-shrink: 0;
}

.logo span {
  color: var(--accent);
}

/* Nav links */
.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(20px, 3vw, 40px);
  list-style: none;
}

.nav-links a {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  text-decoration: none;
  transition: color var(--ease-fast);
}

.nav-links a:hover {
  color: var(--text);
}

/* Menu Overlay */
.menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 1000;
}

.menu-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  cursor: pointer;
  flex-shrink: 0;
  z-index: 1002;
  position: relative;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: background 0.3s ease, border-color 0.3s ease;
}

.hamburger:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.15);
}

.hamburger span {
  display: block;
  width: 20px;
  height: 2px;
  background: #FFFFFF;
  border-radius: 2px;
  transition: all 0.3s ease;
  transform-origin: center;
}

.hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile drawer (Slide-in Panel) */
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: 75%;
  max-width: 320px;
  height: 100vh;
  background: #050508e1;
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-left: 1px solid var(--border);
  z-index: 1001;
  display: flex;
  flex-direction: column;
  padding: 80px 30px 40px;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
  text-align: left;
}

.mobile-menu.open {
  transform: translateX(0);
}

.mobile-menu-header {
  margin-bottom: 60px;
}

.mobile-menu-links {
  display: flex;
  flex-direction: column;
  gap: 20px;
  flex-grow: 1;
}

.mobile-menu-links a {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: lowercase;
  color: var(--text-dim);
  text-decoration: none;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.3s ease, transform 0.3s ease, color 0.2s ease;
}

.mobile-menu.open .mobile-menu-links a {
  opacity: 1;
  transform: translateY(0);
  transition-delay: calc(var(--i) * 0.05s);
}

.mobile-menu.open .mobile-menu-links a:hover {
  transform: translateX(8px);
  color: var(--text);
  transition-delay: 0s;
}

.mobile-menu-footer {
  margin-top: auto;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.mobile-menu.open .mobile-menu-footer {
  opacity: 1;
  transform: translateY(0);
  transition-delay: calc(6 * 0.05s);
}

/* ================================================================
   HERO
   ================================================================ */
#hero {
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  padding-top: clamp(100px, 18vh, 160px);
  padding-bottom: clamp(60px, 8vh, 100px);
  position: relative;
  z-index: 1;
}

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

/* Badge */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  padding: 8px 18px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  color: var(--text-muted);
  margin-bottom: clamp(24px, 4vw, 44px);
  opacity: 0;
  animation: fadeUp 0.7s ease 0.3s forwards;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  flex-shrink: 0;
  position: relative;
}

.pulse-dot::after {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  border: 1px solid rgba(34, 197, 94, 0.45);
  animation: pulse 2.2s ease-in-out infinite;
}

@keyframes pulse {

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

  55% {
    transform: scale(1.7);
    opacity: 0;
  }
}

/* Headline */
.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(36px, 7vw, 84px);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -0.025em;
  margin-bottom: clamp(20px, 3vw, 36px);
  opacity: 0;
  animation: fadeUp 0.7s ease 0.5s forwards;
}

.hero-headline .outline-line {
  display: block;
  color: transparent;
  -webkit-text-stroke: 1px rgba(99, 179, 237, 0.65);
}

/* Sub-text */
.hero-sub {
  max-width: 520px;
  font-size: clamp(14px, 1.5vw, 18px);
  line-height: 1.75;
  color: var(--text-dim);
  margin-bottom: clamp(28px, 4vw, 44px);
  opacity: 0;
  animation: fadeUp 0.7s ease 0.7s forwards;
}

/* Buttons row */
.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-bottom: clamp(36px, 5vw, 60px);
  opacity: 0;
  animation: fadeUp 0.7s ease 0.9s forwards;
}

/* Stats */
.hero-stats {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: clamp(24px, 5vw, 60px);
  border-top: 1px solid var(--border);
  padding-top: clamp(24px, 4vw, 44px);
  opacity: 0;
  animation: fadeUp 0.7s ease 1.1s forwards;
}

.stat-num {
  font-family: var(--font-display);
  font-size: clamp(20px, 2.5vw, 30px);
  font-weight: 700;
  line-height: 1;
  color: var(--text);
}

.stat-label {
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 5px;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(28px);
  }

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

/* ================================================================
   MARQUEE
   ================================================================ */
.marquee-section {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
  position: relative;
  z-index: 1;
  padding-block: 16px;
  /* Edge fade */
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marqueeScroll 26s linear infinite;
}

.marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 24px;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding-inline: 24px;
  white-space: nowrap;
}

.marquee-dot {
  color: var(--accent);
}

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

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

/* Pause on hover */
.marquee-section:hover .marquee-track {
  animation-play-state: paused;
}

/* ================================================================
   SERVICES
   ================================================================ */
#services {
  padding-block: var(--space-xl);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: clamp(16px, 2.5vw, 32px);
}

.service-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: clamp(28px, 4vw, 52px) clamp(24px, 3.5vw, 44px);
  position: relative;
  overflow: hidden;
  cursor: none;
  transition: transform var(--ease), border-color var(--ease);
}

/* Gradient overlay on hover */
.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(99, 179, 237, 0.06), rgba(167, 139, 250, 0.04));
  opacity: 0;
  transition: opacity var(--ease);
}

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

.service-card:hover::before {
  opacity: 1;
}

.service-number {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  color: var(--text-muted);
  margin-bottom: 22px;
}

.service-icon {
  width: 42px;
  height: 42px;
  color: var(--accent);
  margin-bottom: 26px;
  opacity: 0.85;
}

.service-name {
  font-family: var(--font-display);
  font-size: clamp(16px, 1.8vw, 22px);
  font-weight: 700;
  color: var(--text);
  margin-bottom: 12px;
}

.service-desc {
  font-size: 14px;
  line-height: 1.72;
  color: var(--text-dim);
  margin-bottom: 26px;
}

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border);
  color: var(--text-muted);
  transition: all var(--ease-fast);
}

.service-card:hover .tag {
  border-color: rgba(99, 179, 237, 0.22);
  color: var(--accent);
  background: rgba(99, 179, 237, 0.07);
}

/* ================================================================
   PROCESS
   ================================================================ */
#process {
  padding-block: var(--space-xl);
}

.process-item {
  display: grid;
  grid-template-columns: 110px 1fr auto;
  align-items: center;
  gap: clamp(20px, 3vw, 48px);
  border-top: 1px solid var(--border);
  padding-block: clamp(28px, 4vw, 44px);
  cursor: none;
  transition: padding-left var(--ease);
  position: relative;
}

.process-item:last-child {
  border-bottom: 1px solid var(--border);
}

.process-item:hover {
  padding-left: 18px;
}

.process-step {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
  flex-shrink: 0;
}

.process-name {
  font-family: var(--font-display);
  font-size: clamp(20px, 2.5vw, 28px);
  font-weight: 700;
  color: var(--text);
  transition: color var(--ease-fast);
}

.process-item:hover .process-name {
  color: var(--accent);
}

.process-desc {
  font-size: 14px;
  line-height: 1.72;
  color: var(--text-dim);
  text-align: right;
  opacity: 0;
  transition: opacity var(--ease);
}

.process-item:hover .process-desc {
  opacity: 1;
}

/* ================================================================
   WORK / PORTFOLIO
   ================================================================ */
#work {
  padding-block: var(--space-xl);
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  align-items: stretch;
}

.work-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  min-height: 420px;
  box-sizing: border-box;
  text-decoration: none;
  color: inherit;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: none;
  transition: transform var(--ease), border-color var(--ease);
  background: var(--surface);
}

.work-card:hover {
  transform: scale(1.015);
  border-color: rgba(99, 179, 237, 0.30);
}

.work-right-col {
  display: flex;
  flex-direction: column;
  gap: clamp(16px, 2.5vw, 32px);
}

/* Thumbnail */
.work-thumb {
  position: relative;
  overflow: hidden;
  width: 100%;
}

.work-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.work-card:hover .work-img {
  transform: scale(1.08);
}

.thumb-fade {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 80px;
  background: linear-gradient(to bottom, transparent, rgba(5, 5, 8, 0.85));
}

/* Info area */
.work-info {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(18px, 2.5vw, 28px);
}

.work-category {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 7px;
}

.work-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(16px, 1.8vw, 22px);
  margin-bottom: 6px;
}

.work-card.large .work-title {
  font-size: clamp(18px, 2.2vw, 24px);
}

.work-desc {
  font-size: 14px;
  color: var(--text-dim);
  line-height: 1.65;
  margin-bottom: 14px;
}

/* View Project link indicator */
.work-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--accent);
  opacity: 0;
  transform: translateY(4px);
  transition: opacity var(--ease), transform var(--ease);
}

.work-arrow {
  display: inline-block;
  transition: transform var(--ease-fast);
}

.work-card:hover .work-link {
  opacity: 1;
  transform: translateY(0);
}

.work-card:hover .work-arrow {
  transform: translateX(4px);
}

/* ================================================================
   CTA
   ================================================================ */
#cta {
  padding-block: clamp(60px, 8vw, 100px);
}

.cta-card {
  background: var(--surface);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(44px, 7vw, 88px) clamp(28px, 6vw, 88px);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-card::before {
  content: '';
  position: absolute;
  top: -80px;
  left: 50%;
  transform: translateX(-50%);
  width: 500px;
  height: 280px;
  background: radial-gradient(ellipse, rgba(99, 179, 237, 0.12) 0%, transparent 68%);
  pointer-events: none;
}

.cta-headline {
  font-family: var(--font-display);
  font-size: clamp(32px, 5vw, 54px);
  font-weight: 800;
  line-height: 1.02;
  margin-bottom: 18px;
}

.cta-card .section-label {
  justify-content: center;
}

.cta-sub {
  font-size: clamp(14px, 1.5vw, 18px);
  color: var(--text-dim);
  max-width: 440px;
  margin: 0 auto 40px;
  line-height: 1.74;
}

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

.cta-card .btn-primary {
  background: var(--accent);
  color: var(--bg);
  border-color: var(--accent);
}

.cta-card .btn-primary:hover {
  background: #fff;
  color: var(--bg);
  border-color: #fff;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.4);
}

.cta-card .btn-ghost {
  background: rgba(255, 255, 255, 0.03);
  border-color: rgba(255, 255, 255, 0.08);
  color: var(--text);
}

.cta-card .btn-ghost:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.15);
}

/* ================================================================
   FOOTER
   ================================================================ */
footer {
  border-top: 1px solid var(--border);
  padding-block: clamp(24px, 3vw, 36px);
  position: relative;
  z-index: 1;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-socials {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: clamp(16px, 2.5vw, 28px);
  list-style: none;
}

.footer-socials a {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  text-decoration: none;
  transition: color var(--ease-fast);
}

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

.footer-copy {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--text-muted);
}

/* ================================================================
   RESPONSIVE — Fluid breakpoints
   ================================================================ */

/* (Responsive logic now consolidated above in Layout Utilities) */

/* (Responsive logic now consolidated above in Layout Utilities) */
@media (max-width: 380px) {
  .hero-headline {
    line-height: 1.0;
  }

  .nav-inner {
    height: auto;
  }
}

/* ┌─────────────────────────────────────────────────────────────┐
   │  ACCESSIBILITY — reduced motion                            │
   └─────────────────────────────────────────────────────────────┘ */
@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .marquee-track {
    animation: none;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* ================================================================
   STAGGER DELAYS — replaces all transition-delay inline styles
   ================================================================ */

/* Services */
.service-card--d1 {
  transition-delay: 0.10s;
}

.service-card--d2 {
  transition-delay: 0.20s;
}

/* Process items */
.process-item--d1 {
  transition-delay: 0.08s;
}

.process-item--d2 {
  transition-delay: 0.16s;
}

.process-item--d3 {
  transition-delay: 0.24s;
}

/* Work cards */
.work-card--d1 {
  transition-delay: 0.10s;
}

.work-card--d2 {
  transition-delay: 0.20s;
}

/* ================================================================
   WORK THUMB BACKGROUNDS — replaces inline gradient styles
   ================================================================ */

/* NovaDash — blue/violet */
.thumb-novadash {
  background: linear-gradient(135deg,
      rgba(99, 179, 237, 0.08),
      rgba(167, 139, 250, 0.06));
}

/* Forma Store — violet/blue */
.thumb-forma {
  background: linear-gradient(135deg,
      rgba(167, 139, 250, 0.09),
      rgba(99, 179, 237, 0.04));
}

/* Lune Agency — blue/violet deep */
.thumb-lune {
  background: linear-gradient(135deg,
      rgba(99, 179, 237, 0.05),
      rgba(167, 139, 250, 0.11));
}

/* ================================================================
   MOCK UI SHAPES — replaces all anonymous inline-styled divs
   ================================================================ */

/* Mock bar widths (used in NovaDash) */
.mock-bar--60 {
  width: 60%;
}

.mock-bar--40 {
  width: 40%;
}

.mock-bar--80 {
  width: 80%;
}

/* Forma Store — product card silhouette */
.mock-product-frame {
  width: 72%;
  border: 1px solid rgba(167, 139, 250, 0.22);
  border-radius: 8px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mock-product-thumb {
  width: 46%;
  height: 46%;
  border-radius: 6px;
  background: rgba(167, 139, 250, 0.18);
}

/* Lune Agency — bar chart */
.mock-chart {
  display: flex;
  gap: 7px;
  align-items: flex-end;
  width: 72%;
  height: 80px;
  padding-bottom: 6px;
}

.mock-chart-bar {
  flex: 1;
  border-radius: 5px 5px 0 0;
}

.mock-chart-bar--1 {
  background: rgba(99, 179, 237, 0.20);
  height: 60%;
}

.mock-chart-bar--2 {
  background: rgba(167, 139, 250, 0.26);
  height: 100%;
}

.mock-chart-bar--3 {
  background: rgba(99, 179, 237, 0.14);
  height: 42%;
}

.mock-chart-bar--4 {
  background: rgba(167, 139, 250, 0.20);
  height: 72%;
}

/* ================================================================
   CTA SECTION LABEL — centred variant
   ================================================================ */
.section-label--center {
  justify-content: center;
  margin-bottom: 22px;
}