/* ===================================================
   MPF WORKS / PARTICLEAR — DESIGN SYSTEM
   Premium Company Profile
   =================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

/* ─── CSS VARIABLES ─────────────────────────────── */
:root {
  --ocean-blue: #1a4a7a;
  --ocean-blue-light: #2a6fc4;
  --ocean-blue-dark: #0d2a4a;
  --black: #080808;
  --black-soft: #111111;
  --black-card: #141414;
  --white: #f5f5f0;
  --white-dim: #c8c8c0;
  --terracotta: #c85a32;
  --terracotta-light: #e07050;
  --gray-dark: #1e1e1e;
  --gray-mid: #3a3a3a;
  --gray-light: #888888;
  --gray-muted: #555555;

  --font: 'Inter', sans-serif;
  --transition: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --transition-fast: 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --transition-slow: 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --border-radius: 2px;
  --border-radius-lg: 4px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font);
  background-color: var(--black);
  color: var(--white);
  overflow-x: hidden;
  cursor: none;
}

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

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

button {
  cursor: none;
  border: none;
  background: none;
  font-family: var(--font);
}

/* ─── CURSOR ─────────────────────────────────────── */
.cursor-dot {
  position: fixed;
  width: 6px;
  height: 6px;
  background: var(--terracotta);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: transform 0.1s ease, width 0.3s ease, height 0.3s ease;
}

.cursor-ring {
  position: fixed;
  width: 36px;
  height: 36px;
  border: 1.5px solid rgba(200, 90, 50, 0.5);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  transition: transform 0.15s ease, width 0.3s ease, height 0.3s ease, border-color 0.3s ease;
}

.cursor-ring.hover {
  width: 60px;
  height: 60px;
  border-color: var(--terracotta);
  background: rgba(200, 90, 50, 0.05);
}

/* ─── LOADING SCREEN ─────────────────────────────── */
#loader {
  position: fixed;
  inset: 0;
  z-index: 9000;
  background: var(--black);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
}

.loader-logo {
  width: 120px;
  opacity: 0;
  animation: loaderFadeIn 0.6s ease 0.3s forwards;
}

.loader-bar-wrap {
  width: 240px;
  height: 1px;
  background: var(--gray-dark);
  position: relative;
  overflow: hidden;
}

.loader-bar {
  position: absolute;
  left: 0; top: 0;
  height: 100%;
  background: var(--terracotta);
  width: 0%;
  animation: loaderProgress 1.8s cubic-bezier(0.4, 0, 0.2, 1) 0.5s forwards;
}

.loader-text {
  font-size: 0.65rem;
  letter-spacing: 0.3em;
  color: var(--gray-light);
  text-transform: uppercase;
  opacity: 0;
  animation: loaderFadeIn 0.6s ease 0.5s forwards;
}

@keyframes loaderFadeIn {
  to { opacity: 1; }
}

@keyframes loaderProgress {
  to { width: 100%; }
}

#loader.hidden {
  animation: loaderOut 0.8s cubic-bezier(0.76, 0, 0.24, 1) forwards;
}

@keyframes loaderOut {
  to {
    opacity: 0;
    transform: translateY(-100%);
    pointer-events: none;
  }
}

/* ─── NOISE GRAIN OVERLAY ────────────────────────── */
.grain {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='1'/%3E%3C/svg%3E");
  background-size: 200px 200px;
  animation: grainShift 0.5s steps(1) infinite;
}

@keyframes grainShift {
  0%   { transform: translate(0, 0); }
  25%  { transform: translate(-4px, 2px); }
  50%  { transform: translate(3px, -3px); }
  75%  { transform: translate(-2px, 4px); }
  100% { transform: translate(2px, -2px); }
}

/* ─── NAVIGATION ─────────────────────────────────── */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 800;
  padding: 24px 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background var(--transition), padding var(--transition);
}

#navbar.scrolled {
  background: rgba(8, 8, 8, 0.92);
  backdrop-filter: blur(20px);
  padding: 16px 60px;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}

.nav-logo {
  height: 32px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.9;
}

.nav-links {
  display: flex;
  gap: 40px;
  list-style: none;
}

.nav-links a {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gray-light);
  transition: color var(--transition-fast);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 1px;
  background: var(--terracotta);
  transition: width var(--transition);
}

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

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

.nav-cta {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--white);
  padding: 10px 22px;
  border: 1px solid rgba(255,255,255,0.2);
  transition: all var(--transition);
}

.nav-cta:hover {
  background: var(--terracotta);
  border-color: var(--terracotta);
  color: var(--white);
}

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: none;
}

.nav-hamburger span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--white);
  transition: all var(--transition);
}

/* ─── MOBILE MENU ─────────────────────────────────── */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 790;
  background: var(--black);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
  transform: translateX(100%);
  transition: transform var(--transition-slow);
}

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

.mobile-menu a {
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--white-dim);
  transition: color var(--transition-fast);
}

.mobile-menu a:hover {
  color: var(--terracotta);
}

/* ─── HERO SECTION ───────────────────────────────── */
#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--black);
}

.hero-bg-grid {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 2px;
  opacity: 0.12;
  transition: opacity 1s ease;
}

.hero-bg-grid.loaded {
  opacity: 0.18;
}

.hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(80%) contrast(1.2);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(8,8,8,0.96) 0%,
    rgba(8,8,8,0.85) 40%,
    rgba(13,42,74,0.4) 100%
  );
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 0 60px;
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
}

.hero-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: 32px;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.8s ease 2.4s forwards;
}

.hero-label::before {
  content: '';
  display: block;
  width: 32px;
  height: 1px;
  background: var(--terracotta);
}

.hero-headline {
  font-size: clamp(2.8rem, 7vw, 6.5rem);
  font-weight: 900;
  line-height: 1.02;
  letter-spacing: -0.03em;
  color: var(--white);
  margin-bottom: 28px;
  opacity: 0;
  transform: translateY(40px);
  animation: fadeUp 1s ease 2.6s forwards;
}

.hero-headline em {
  font-style: italic;
  color: var(--terracotta);
}

.hero-sub {
  font-size: clamp(0.95rem, 1.5vw, 1.15rem);
  font-weight: 400;
  color: var(--white-dim);
  max-width: 520px;
  line-height: 1.7;
  margin-bottom: 48px;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 0.8s ease 2.9s forwards;
}

.hero-cta-group {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.8s ease 3.1s forwards;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 36px;
  background: var(--terracotta);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.1);
  transform: translateX(-100%);
  transition: transform var(--transition);
}

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

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 40px rgba(200, 90, 50, 0.35);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 36px;
  border: 1px solid rgba(255,255,255,0.2);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: all var(--transition);
}

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

.hero-scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  opacity: 0;
  animation: fadeIn 1s ease 3.5s forwards;
}

.hero-scroll-text {
  font-size: 0.6rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gray-light);
}

.scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, var(--gray-light), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.4; transform: scaleY(1); }
  50% { opacity: 1; transform: scaleY(0.7); }
}

.hero-stats {
  position: absolute;
  bottom: 80px;
  right: 60px;
  z-index: 2;
  display: flex;
  gap: 40px;
  opacity: 0;
  animation: fadeUp 0.8s ease 3.3s forwards;
}

.hero-stat {
  text-align: right;
}

.hero-stat-num {
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--white);
  display: block;
}

.hero-stat-label {
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gray-light);
}

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

@keyframes fadeIn {
  to { opacity: 1; }
}

/* ─── SECTION COMMONS ────────────────────────────── */
section {
  position: relative;
  z-index: 2;
}

.section-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 120px 60px;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: 20px;
}

.section-label::before {
  content: '';
  display: block;
  width: 28px;
  height: 1px;
  background: var(--terracotta);
}

.section-title {
  font-size: clamp(2rem, 4.5vw, 3.8rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--white);
  margin-bottom: 20px;
}

.section-subtitle {
  font-size: 1rem;
  color: var(--gray-light);
  line-height: 1.7;
  max-width: 560px;
}

/* ─── REVEAL ANIMATION ───────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(48px);
  transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }
.reveal-delay-6 { transition-delay: 0.6s; }

/* ─── ABOUT SECTION ──────────────────────────────── */
#about {
  background: var(--black);
  border-top: 1px solid rgba(255,255,255,0.04);
}

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

.about-left {}

.about-belief {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--white);
  margin-bottom: 28px;
}

.about-belief span {
  color: var(--terracotta);
  font-style: italic;
}

.about-body {
  font-size: 1rem;
  color: var(--white-dim);
  line-height: 1.85;
  margin-bottom: 40px;
}

.about-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tag {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 8px 16px;
  border: 1px solid rgba(255,255,255,0.12);
  color: var(--gray-light);
  transition: all var(--transition);
}

.tag:hover {
  border-color: var(--terracotta);
  color: var(--terracotta);
}

.about-right {
  position: relative;
}

.about-visual-stack {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 200px 200px;
  gap: 8px;
}

.about-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(40%);
  transition: filter var(--transition);
}

.about-img:hover {
  filter: grayscale(0%);
}

.about-img-large {
  grid-row: 1 / 3;
}

/* ─── SERVICES SECTION ───────────────────────────── */
#services {
  background: var(--black-soft);
  border-top: 1px solid rgba(255,255,255,0.04);
}

.services-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 64px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(255,255,255,0.06);
}

.service-card {
  background: var(--black-soft);
  padding: 40px 36px;
  position: relative;
  overflow: hidden;
  transition: background var(--transition);
  cursor: none;
}

.service-card::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 100%; height: 2px;
  background: var(--terracotta);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}

.service-card:hover {
  background: var(--black-card);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-icon {
  width: 44px;
  height: 44px;
  margin-bottom: 24px;
  color: var(--ocean-blue-light);
  transition: color var(--transition);
}

.service-card:hover .service-icon {
  color: var(--terracotta);
}

.service-num {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--gray-muted);
  margin-bottom: 12px;
  display: block;
}

.service-name {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
  letter-spacing: -0.01em;
  transition: color var(--transition);
}

.service-card:hover .service-name {
  color: var(--white);
}

.service-desc {
  font-size: 0.85rem;
  color: var(--gray-light);
  line-height: 1.65;
}

/* ─── PORTFOLIO SECTION ──────────────────────────── */
#portfolio {
  background: var(--black);
  border-top: 1px solid rgba(255,255,255,0.04);
}

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

.portfolio-filter {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.filter-btn {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 8px 18px;
  border: 1px solid rgba(255,255,255,0.1);
  color: var(--gray-light);
  transition: all var(--transition);
  cursor: none;
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--terracotta);
  border-color: var(--terracotta);
  color: var(--white);
}

/* Masonry grid */
.portfolio-masonry {
  columns: 3;
  column-gap: 10px;
}

.portfolio-item {
  break-inside: avoid;
  margin-bottom: 10px;
  position: relative;
  overflow: hidden;
  cursor: none;
  display: block;
}

.portfolio-item img {
  width: 100%;
  display: block;
  transition: transform var(--transition-slow), filter var(--transition);
  filter: grayscale(20%);
}

.portfolio-item:hover img {
  transform: scale(1.04);
  filter: grayscale(0%);
}

.portfolio-item-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(8,8,8,0.9) 0%, transparent 60%);
  opacity: 0;
  transition: opacity var(--transition);
  display: flex;
  align-items: flex-end;
  padding: 24px 20px;
}

.portfolio-item:hover .portfolio-item-overlay {
  opacity: 1;
}

.portfolio-item-info {
  transform: translateY(10px);
  transition: transform var(--transition);
}

.portfolio-item:hover .portfolio-item-info {
  transform: translateY(0);
}

.portfolio-item-cat {
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: 4px;
}

.portfolio-item-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--white);
}

.portfolio-item.hidden {
  display: none;
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 8000;
  background: rgba(0,0,0,0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
}

.lightbox.open {
  opacity: 1;
  pointer-events: all;
}

.lightbox-img {
  max-width: 90vw;
  max-height: 88vh;
  object-fit: contain;
  transform: scale(0.95);
  transition: transform var(--transition);
}

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

.lightbox-close {
  position: absolute;
  top: 32px; right: 40px;
  font-size: 1.5rem;
  color: var(--white);
  cursor: none;
  width: 48px; height: 48px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid rgba(255,255,255,0.15);
  transition: all var(--transition);
}

.lightbox-close:hover {
  background: var(--terracotta);
  border-color: var(--terracotta);
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  color: var(--white);
  cursor: none;
  width: 56px; height: 56px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid rgba(255,255,255,0.1);
  transition: all var(--transition);
}

.lightbox-nav:hover {
  background: rgba(255,255,255,0.05);
}

.lightbox-prev { left: 24px; }
.lightbox-next { right: 24px; }

.lightbox-caption {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
}

.lightbox-caption-cat {
  font-size: 0.62rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: 4px;
}

.lightbox-caption-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--white);
}

/* ─── PERFORMANCE SECTION ────────────────────────── */
#performance {
  background: var(--ocean-blue-dark);
  border-top: 1px solid rgba(255,255,255,0.06);
  position: relative;
  overflow: hidden;
}

#performance::before {
  content: '';
  position: absolute;
  top: -50%; left: -20%;
  width: 80%; height: 200%;
  background: radial-gradient(ellipse, rgba(42, 111, 196, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.performance-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  margin-top: 72px;
  background: rgba(255,255,255,0.05);
}

.perf-card {
  background: rgba(13, 42, 74, 0.8);
  padding: 56px 40px;
  position: relative;
  overflow: hidden;
  text-align: center;
}

.perf-card::before {
  content: '';
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 1px; height: 40px;
  background: var(--terracotta);
}

.perf-num {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  color: var(--white);
  display: block;
  margin-top: 40px;
  margin-bottom: 12px;
}

.perf-num span {
  color: var(--terracotta);
}

.perf-label {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(197, 197, 192, 0.7);
  margin-bottom: 8px;
}

.perf-desc {
  font-size: 0.8rem;
  color: rgba(136,136,136,0.6);
  line-height: 1.5;
}

/* ─── PROCESS SECTION ────────────────────────────── */
#process {
  background: var(--black-soft);
  border-top: 1px solid rgba(255,255,255,0.04);
  overflow: hidden;
}

.process-header {
  margin-bottom: 64px;
}

.process-scroll-wrapper {
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  cursor: grab;
}

.process-scroll-wrapper::-webkit-scrollbar {
  display: none;
}

.process-scroll-wrapper:active {
  cursor: grabbing;
}

.process-track {
  display: flex;
  gap: 0;
  width: max-content;
  padding-bottom: 24px;
}

.process-step {
  width: 320px;
  flex-shrink: 0;
  padding: 40px 36px;
  border-right: 1px solid rgba(255,255,255,0.06);
  position: relative;
  transition: background var(--transition);
}

.process-step:first-child {
  border-left: 1px solid rgba(255,255,255,0.06);
}

.process-step:hover {
  background: rgba(255,255,255,0.02);
}

.process-step-num {
  font-size: 3rem;
  font-weight: 900;
  letter-spacing: -0.04em;
  color: rgba(255,255,255,0.04);
  display: block;
  margin-bottom: 16px;
  font-variant-numeric: tabular-nums;
}

.process-step-tag {
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: 12px;
  display: block;
}

.process-step-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.process-step-desc {
  font-size: 0.82rem;
  color: var(--gray-light);
  line-height: 1.7;
}

.process-progress-bar {
  margin-top: 40px;
  height: 1px;
  background: rgba(255,255,255,0.08);
  position: relative;
  overflow: hidden;
}

.process-progress-fill {
  position: absolute;
  left: 0; top: 0;
  height: 100%;
  background: var(--terracotta);
  width: 0%;
  transition: width 0.1s linear;
}

/* ─── TEAM SECTION ───────────────────────────────── */
#team {
  background: var(--black);
  border-top: 1px solid rgba(255,255,255,0.04);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 2px;
  margin-top: 64px;
}

.team-card {
  position: relative;
  overflow: hidden;
  background: var(--black-card);
  cursor: none;
}

.team-card-img-wrap {
  aspect-ratio: 3/4;
  overflow: hidden;
  position: relative;
}

.team-card-avatar {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%) contrast(1.1);
  transition: filter var(--transition), transform var(--transition-slow);
}

.team-card:hover .team-card-avatar {
  filter: grayscale(0%) contrast(1.05);
  transform: scale(1.05);
}

.team-card-initials {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  font-weight: 900;
  letter-spacing: -0.05em;
  color: rgba(255,255,255,0.08);
  background: linear-gradient(135deg, var(--ocean-blue-dark), var(--black-card));
  transition: all var(--transition);
}

.team-card:hover .team-card-initials {
  color: rgba(255,255,255,0.12);
}

.team-card-info {
  padding: 20px 18px;
  border-top: 1px solid rgba(255,255,255,0.05);
}

.team-name {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 4px;
  letter-spacing: -0.01em;
}

.team-role {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--terracotta);
}

/* ─── TRUSTED BY ─────────────────────────────────── */
#trusted {
  background: var(--black-soft);
  border-top: 1px solid rgba(255,255,255,0.04);
  padding: 80px 0;
}

.trusted-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 60px;
}

.trusted-label {
  text-align: center;
  margin-bottom: 56px;
}

.trusted-scroll {
  overflow: hidden;
  position: relative;
}

.trusted-scroll::before,
.trusted-scroll::after {
  content: '';
  position: absolute;
  top: 0;
  width: 120px;
  height: 100%;
  z-index: 2;
}

.trusted-scroll::before {
  left: 0;
  background: linear-gradient(to right, var(--black-soft), transparent);
}

.trusted-scroll::after {
  right: 0;
  background: linear-gradient(to left, var(--black-soft), transparent);
}

.trusted-track {
  display: flex;
  gap: 0;
  animation: marquee 20s linear infinite;
  width: max-content;
}

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

.brand-logo-item {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 52px;
  border-right: 1px solid rgba(255,255,255,0.06);
  height: 72px;
  min-width: 180px;
  opacity: 0.5;
  transition: opacity var(--transition);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gray-light);
}

.brand-logo-item:hover {
  opacity: 1;
  color: var(--white);
}

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

/* ─── CONTACT SECTION ────────────────────────────── */
#contact {
  background: var(--black);
  border-top: 1px solid rgba(255,255,255,0.04);
  position: relative;
  overflow: hidden;
}

#contact::before {
  content: '';
  position: absolute;
  bottom: -30%; right: -10%;
  width: 60%; height: 150%;
  background: radial-gradient(ellipse, rgba(26, 74, 122, 0.1) 0%, transparent 70%);
  pointer-events: none;
}

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

.contact-left {}

.contact-headline {
  font-size: clamp(2.2rem, 4.5vw, 3.8rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--white);
  margin-bottom: 28px;
}

.contact-headline em {
  color: var(--terracotta);
  font-style: italic;
}

.contact-sub {
  font-size: 1rem;
  color: var(--white-dim);
  line-height: 1.7;
  margin-bottom: 48px;
  max-width: 440px;
}

.contact-right {}

.contact-info-list {
  list-style: none;
  margin-bottom: 40px;
}

.contact-info-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.contact-info-icon {
  width: 40px; height: 40px;
  border: 1px solid rgba(255,255,255,0.1);
  display: flex; align-items: center; justify-content: center;
  color: var(--terracotta);
  flex-shrink: 0;
}

.contact-info-label {
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gray-light);
  margin-bottom: 4px;
  display: block;
}

.contact-info-value {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--white);
  transition: color var(--transition);
}

.contact-info-item:hover .contact-info-value {
  color: var(--terracotta);
}

.contact-social {
  display: flex;
  gap: 12px;
}

.social-link {
  width: 44px; height: 44px;
  border: 1px solid rgba(255,255,255,0.12);
  display: flex; align-items: center; justify-content: center;
  color: var(--gray-light);
  font-size: 0.9rem;
  transition: all var(--transition);
  font-weight: 700;
  font-size: 0.7rem;
  letter-spacing: 0.05em;
}

.social-link:hover {
  background: var(--terracotta);
  border-color: var(--terracotta);
  color: var(--white);
}

/* ─── FOOTER ─────────────────────────────────────── */
#footer {
  background: var(--black);
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 40px 60px;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-logo {
  height: 24px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.5;
}

.footer-copy {
  font-size: 0.72rem;
  color: var(--gray-muted);
  letter-spacing: 0.05em;
}

.footer-links {
  display: flex;
  gap: 28px;
}

.footer-links a {
  font-size: 0.68rem;
  color: var(--gray-muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: color var(--transition-fast);
}

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

/* ─── DIVIDER LINE ────────────────────────────────── */
.divider {
  width: 100%;
  height: 1px;
  background: rgba(255,255,255,0.06);
}

/* ─── SCROLL PROGRESS BAR ────────────────────────── */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  width: 0%;
  height: 2px;
  background: var(--terracotta);
  z-index: 9500;
  transition: width 0.1s linear;
}

/* ─── RESPONSIVE ─────────────────────────────────── */
@media (max-width: 1100px) {
  .section-inner { padding: 100px 40px; }
  .team-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 900px) {
  #navbar { padding: 20px 32px; }
  #navbar.scrolled { padding: 14px 32px; }
  .nav-links, .nav-cta { display: none; }
  .nav-hamburger { display: flex; }
  
  .section-inner { padding: 80px 32px; }
  .hero-content { padding: 0 32px; }
  
  .about-grid { grid-template-columns: 1fr; gap: 48px; }
  .about-visual-stack { grid-template-rows: 160px 160px; }
  
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .services-header { flex-direction: column; align-items: flex-start; }
  
  .portfolio-masonry { columns: 2; }
  
  .performance-grid { grid-template-columns: 1fr; }
  
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  
  .hero-stats { display: none; }
  .footer-inner { flex-direction: column; gap: 20px; text-align: center; }
  .footer-links { flex-wrap: wrap; justify-content: center; }
}

@media (max-width: 600px) {
  .services-grid { grid-template-columns: 1fr; }
  .portfolio-masonry { columns: 1; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-headline { font-size: 2.4rem; }
  .section-inner { padding: 64px 24px; }
  #navbar { padding: 18px 24px; }
  #footer { padding: 32px 24px; }
}
