/* =========================================================
   Badsha Faysal — Portfolio (Redesigned)
   Elegant · Polished · Feature-rich · Fully responsive
   ========================================================= */

:root {
  --bg: #070b14;
  --bg-elevated: #0c1220;
  --surface: #111827;
  --surface-2: #1a2332;
  --surface-3: #243044;
  --text: #f1f5f9;
  --text-soft: #e2e8f0;
  --muted: #94a3b8;
  --muted-2: #64748b;
  --gold: #f59e0b;
  --gold-light: #fbbf24;
  --gold-dark: #d97706;
  --gold-glow: rgba(245, 158, 11, 0.18);
  --emerald: #34d399;
  --border: rgba(255, 255, 255, 0.07);
  --border-strong: rgba(255, 255, 255, 0.12);
  --radius: 18px;
  --radius-sm: 12px;
  --radius-xs: 8px;
  --shadow-sm: 0 4px 16px rgba(0, 0, 0, 0.25);
  --shadow-md: 0 12px 40px -12px rgba(0, 0, 0, 0.45);
  --shadow-lg: 0 25px 60px -15px rgba(0, 0, 0, 0.55);
  --nav-h: 72px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --font: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

html:not(.dark) {
  --bg: #f6f5f1;
  --bg-elevated: #ffffff;
  --surface: #ffffff;
  --surface-2: #f1f0ec;
  --surface-3: #e8e6e0;
  --text: #0f172a;
  --text-soft: #1e293b;
  --muted: #64748b;
  --muted-2: #94a3b8;
  --gold: #b45309;
  --gold-light: #d97706;
  --gold-dark: #92400e;
  --gold-glow: rgba(180, 83, 9, 0.12);
  --border: rgba(0, 0, 0, 0.07);
  --border-strong: rgba(0, 0, 0, 0.12);
  --shadow-sm: 0 4px 16px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 12px 40px -12px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 25px 60px -15px rgba(0, 0, 0, 0.12);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }
::selection { background: rgba(245, 158, 11, 0.3); color: var(--text); }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
}

/* ---------- Scroll progress ---------- */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  width: 0%;
  background: linear-gradient(90deg, var(--gold-light), var(--gold), var(--gold-dark));
  z-index: 100;
  transition: width 0.05s linear;
  pointer-events: none;
}

/* ---------- Typography ---------- */
.gold-text {
  background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 45%, var(--gold-dark) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.7rem 1.35rem;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  border: none;
  cursor: pointer;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), filter 0.2s, background 0.2s, border-color 0.2s, color 0.2s;
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}
.btn:active { transform: scale(0.98); }
.btn svg { flex-shrink: 0; }

.btn-primary {
  background: linear-gradient(135deg, var(--gold-light), var(--gold) 40%, var(--gold-dark));
  color: #0a0f1a;
  box-shadow: 0 4px 20px rgba(245, 158, 11, 0.25);
}
.btn-primary:hover {
  filter: brightness(1.08);
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(245, 158, 11, 0.35);
}

.btn-ghost {
  background: transparent;
  border: 1px solid var(--border-strong);
  color: var(--text);
}
.btn-ghost:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: var(--gold-glow);
}

.icon-btn {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: transparent;
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s var(--ease);
  flex-shrink: 0;
}
.icon-btn:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: var(--gold-glow);
}
.icon-btn svg { width: 18px; height: 18px; }

/* ---------- NAV ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  transition: background 0.3s, border-color 0.3s, box-shadow 0.3s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: blur(20px) saturate(1.4);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  border-bottom-color: var(--border);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.15);
}
.nav-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 1.25rem;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--text);
  flex-shrink: 0;
}
.logo-mark {
  width: 40px; height: 40px;
  border-radius: 11px;
  background: linear-gradient(145deg, var(--gold-light), var(--gold-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(245, 158, 11, 0.3);
  transition: transform 0.3s var(--ease);
}
.logo:hover .logo-mark { transform: rotate(-6deg) scale(1.05); }
.logo-mark svg { width: 22px; height: 22px; color: #0a0f1a; }
.logo-text strong {
  display: block;
  font-size: 0.95rem;
  font-weight: 650;
  letter-spacing: -0.025em;
  line-height: 1.2;
}
.logo-text span {
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--muted);
  font-weight: 500;
}

.nav-links {
  display: none;
  gap: 0.15rem;
  align-items: center;
}
@media (min-width: 1024px) {
  .nav-links { display: flex; }
}
.nav-links a {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--muted);
  padding: 0.45rem 0.85rem;
  border-radius: 8px;
  transition: color 0.2s, background 0.2s;
  position: relative;
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--gold);
  background: var(--gold-glow);
}

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

/* Mobile menu overlay */
.mobile-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  z-index: 40;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}
.mobile-overlay.open {
  opacity: 1;
  visibility: visible;
}

.mobile-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: min(320px, 88vw);
  height: 100%;
  background: var(--bg-elevated);
  border-left: 1px solid var(--border);
  z-index: 45;
  padding: 1.5rem;
  transform: translateX(100%);
  transition: transform 0.35s var(--ease);
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  box-shadow: -20px 0 50px rgba(0, 0, 0, 0.3);
}
.mobile-drawer.open { transform: translateX(0); }
.mobile-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}
.mobile-drawer a {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-sm);
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 500;
  transition: all 0.2s;
}
.mobile-drawer a:hover,
.mobile-drawer a.active {
  color: var(--gold);
  background: var(--gold-glow);
}
.mobile-drawer .drawer-cta {
  margin-top: auto;
  padding-top: 1.5rem;
}

/* ---------- HERO ---------- */
.hero {
  min-height: 100svh;
  padding: calc(var(--nav-h) + 2.5rem) 1.25rem 3.5rem;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  top: -20%;
  right: -15%;
  width: 55%;
  height: 70%;
  background: radial-gradient(ellipse, var(--gold-glow) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}
.hero-grid {
  max-width: 1180px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  gap: 2.75rem;
  align-items: center;
  position: relative;
  z-index: 1;
}
@media (min-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 3.5rem;
  }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.95rem;
  border-radius: 999px;
  border: 1px solid rgba(245, 158, 11, 0.28);
  background: rgba(245, 158, 11, 0.07);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.35rem;
}
.hero-badge .dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--emerald);
  box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.5);
  animation: pulse-ring 2s ease-out infinite;
}
@keyframes pulse-ring {
  0% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.45); }
  70% { box-shadow: 0 0 0 8px rgba(52, 211, 153, 0); }
  100% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0); }
}

.hero h1 {
  font-size: clamp(2.15rem, 5.2vw, 3.35rem);
  font-weight: 750;
  line-height: 1.1;
  letter-spacing: -0.035em;
  margin-bottom: 1.15rem;
}
.hero .lead {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 28rem;
  margin-bottom: 1.85rem;
  line-height: 1.7;
}
.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2.25rem;
}
.hero-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem 1.25rem;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted-2);
  font-weight: 500;
}
.hero-meta .sep { opacity: 0.4; }

/* Video card */
.video-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadow-lg);
  transition: transform 0.4s var(--ease), box-shadow 0.4s;
}
.video-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 30px 70px -18px rgba(0, 0, 0, 0.5);
}
.video-card-header {
  padding: 0.8rem 1.2rem;
  border-bottom: 1px solid var(--border);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.video-card-header .live {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--emerald);
  font-size: 0.65rem;
}
.video-card-header .live::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--emerald);
  animation: pulse-ring 1.8s ease-out infinite;
}
.video-wrap {
  position: relative;
  aspect-ratio: 16 / 10;
  background: #000;
}
.video-wrap video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.video-wrap .video-controls {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 0.75rem 1rem;
  background: linear-gradient(transparent, rgba(0,0,0,0.7));
  display: flex;
  align-items: center;
  gap: 0.75rem;
  opacity: 0;
  transition: opacity 0.25s;
}
.video-wrap:hover .video-controls,
.video-wrap:focus-within .video-controls { opacity: 1; }
.video-btn {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(8px);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s;
}
.video-btn:hover { background: rgba(255,255,255,0.28); }
.video-btn svg { width: 16px; height: 16px; }
.video-card-footer {
  padding: 1rem 1.2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.video-card-footer strong {
  font-size: 0.9rem;
  display: block;
  font-weight: 600;
}
.video-card-footer span {
  font-size: 0.75rem;
  color: var(--muted);
}

/* ---------- Skill marquee ---------- */
.skill-bar {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: color-mix(in srgb, var(--surface) 55%, transparent);
  padding: 0.95rem 0;
  overflow: hidden;
  position: relative;
}
.skill-track {
  display: flex;
  width: max-content;
  animation: marquee 28s linear infinite;
}
.skill-track:hover { animation-play-state: paused; }
.skill-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0 1.75rem;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
  white-space: nowrap;
}
.skill-item::after {
  content: "·";
  margin-left: 1.75rem;
  opacity: 0.4;
}
@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ---------- Sections ---------- */
section { padding: 5.5rem 1.25rem; }
.section-inner { max-width: 1180px; margin: 0 auto; }
.section-label {
  font-size: 0.7rem;
  font-weight: 650;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.7rem;
}
.section-title {
  font-size: clamp(1.7rem, 3.4vw, 2.45rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.18;
  margin-bottom: 0.9rem;
}
.section-desc {
  color: var(--muted);
  max-width: 34rem;
  font-size: 1.02rem;
}

/* ---------- Services ---------- */
.services-grid {
  display: grid;
  gap: 1rem;
  margin-top: 2.75rem;
}
@media (min-width: 640px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .services-grid { grid-template-columns: repeat(3, 1fr); } }

.service-card {
  padding: 1.65rem 1.5rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: color-mix(in srgb, var(--surface) 75%, transparent);
  transition: all 0.35s var(--ease);
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--gold-glow), transparent 60%);
  opacity: 0;
  transition: opacity 0.35s;
  pointer-events: none;
}
.service-card:hover {
  border-color: rgba(245, 158, 11, 0.35);
  transform: translateY(-5px);
  background: var(--surface);
  box-shadow: var(--shadow-md);
}
.service-card:hover::before { opacity: 1; }
.service-num {
  font-size: 1.65rem;
  font-weight: 750;
  color: rgba(245, 158, 11, 0.3);
  margin-bottom: 0.9rem;
  transition: color 0.3s;
  letter-spacing: -0.03em;
}
.service-card:hover .service-num { color: rgba(245, 158, 11, 0.65); }
.service-card h3 {
  font-size: 1.05rem;
  font-weight: 650;
  margin-bottom: 0.5rem;
  letter-spacing: -0.015em;
}
.service-card p {
  font-size: 0.875rem;
  color: var(--muted);
  margin-bottom: 1.1rem;
  line-height: 1.6;
}
.service-card a {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: gap 0.2s, color 0.2s;
}
.service-card a:hover {
  color: var(--gold-light);
  gap: 0.55rem;
}

/* ---------- Projects ---------- */
.projects-header {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  background: color-mix(in srgb, var(--surface) 60%, transparent);
  padding: 0.3rem;
  border-radius: 12px;
  border: 1px solid var(--border);
}
.filter-btn {
  padding: 0.45rem 0.95rem;
  border-radius: 9px;
  font-size: 0.75rem;
  font-weight: 550;
  border: none;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  transition: all 0.22s;
}
.filter-btn.active,
.filter-btn:hover {
  background: var(--gold);
  color: #0a0f1a;
  box-shadow: 0 2px 10px rgba(245, 158, 11, 0.3);
}

.projects-grid {
  display: grid;
  gap: 1.2rem;
}
@media (min-width: 640px) { .projects-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .projects-grid { grid-template-columns: repeat(3, 1fr); } }

.project-card {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--surface);
  transition: transform 0.45s var(--ease), box-shadow 0.45s, opacity 0.35s, border-color 0.3s;
  cursor: pointer;
  opacity: 1;
}
.project-card.hidden {
  display: none;
}
.project-card:hover {
  transform: translateY(-7px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(245, 158, 11, 0.25);
}
.project-card .img-wrap {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #0a0f1a;
  position: relative;
}
.project-card .img-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.35), transparent 50%);
  opacity: 0;
  transition: opacity 0.35s;
}
.project-card:hover .img-wrap::after { opacity: 1; }
.project-card img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}
.project-card:hover img { transform: scale(1.07); }
.project-card .body { padding: 1.15rem 1.2rem 1.3rem; }
.project-card .tags {
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.4rem;
  font-weight: 500;
}
.project-card .tags .cat { color: var(--gold); }
.project-card h3 {
  font-size: 0.95rem;
  font-weight: 650;
  margin-bottom: 0.35rem;
  transition: color 0.2s;
  letter-spacing: -0.01em;
}
.project-card:hover h3 { color: var(--gold); }
.project-card p {
  font-size: 0.8rem;
  color: var(--muted);
  line-height: 1.55;
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: rgba(0, 0, 0, 0.88);
  backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}
.lightbox.open {
  opacity: 1;
  visibility: visible;
}
.lightbox-content {
  max-width: 920px;
  width: 100%;
  background: var(--surface);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  overflow: hidden;
  transform: scale(0.94) translateY(12px);
  transition: transform 0.35s var(--ease);
  box-shadow: var(--shadow-lg);
}
.lightbox.open .lightbox-content {
  transform: scale(1) translateY(0);
}
.lightbox-img {
  width: 100%;
  max-height: 62vh;
  object-fit: contain;
  background: #000;
}
.lightbox-body {
  padding: 1.25rem 1.5rem 1.5rem;
}
.lightbox-body .tags {
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.4rem;
}
.lightbox-body .tags .cat { color: var(--gold); }
.lightbox-body h3 {
  font-size: 1.2rem;
  font-weight: 650;
  margin-bottom: 0.4rem;
}
.lightbox-body p {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.6;
}
.lightbox-close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.15);
  background: rgba(0,0,0,0.5);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s;
  z-index: 2;
}
.lightbox-close:hover { background: rgba(255,255,255,0.15); }

/* ---------- Process ---------- */
.process-section {
  background: color-mix(in srgb, var(--surface) 40%, transparent);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.process-grid {
  display: grid;
  gap: 1rem;
  margin-top: 2.75rem;
}
@media (min-width: 768px) { .process-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .process-grid { grid-template-columns: repeat(4, 1fr); } }

.process-step {
  position: relative;
  padding: 1.5rem 1.35rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: color-mix(in srgb, var(--surface) 65%, transparent);
  transition: all 0.3s var(--ease);
  overflow: hidden;
}
.process-step:hover {
  border-color: rgba(245, 158, 11, 0.3);
  transform: translateY(-3px);
  box-shadow: var(--shadow-sm);
}
.process-step .num {
  position: absolute;
  top: 0.6rem; right: 0.9rem;
  font-size: 2.6rem;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.035);
  line-height: 1;
  letter-spacing: -0.04em;
}
html:not(.dark) .process-step .num { color: rgba(0, 0, 0, 0.04); }
.process-step h3 {
  font-size: 1.05rem;
  font-weight: 650;
  margin-bottom: 0.5rem;
  position: relative;
}
.process-step p {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.6;
  position: relative;
}
.process-connector {
  display: none;
}
@media (min-width: 1024px) {
  .process-step:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 50%;
    right: -0.55rem;
    width: 0.55rem;
    height: 1px;
    background: var(--border-strong);
  }
}

/* ---------- About ---------- */
.about-grid {
  display: grid;
  gap: 2.75rem;
  align-items: center;
}
@media (min-width: 1024px) {
  .about-grid { grid-template-columns: 0.85fr 1.15fr; gap: 4rem; }
}
.about-photo {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  position: relative;
}
.about-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.05);
  pointer-events: none;
}
.about-photo img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: top;
  transition: transform 0.7s var(--ease);
}
.about-photo:hover img { transform: scale(1.03); }

.stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin: 1.65rem 0;
}
.stat {
  padding: 1.1rem 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: color-mix(in srgb, var(--surface) 75%, transparent);
  transition: border-color 0.25s, transform 0.25s;
}
.stat:hover {
  border-color: rgba(245, 158, 11, 0.3);
  transform: translateY(-2px);
}
.stat strong {
  display: block;
  font-size: 1.55rem;
  color: var(--gold);
  font-weight: 750;
  letter-spacing: -0.02em;
  line-height: 1.15;
}
.stat span {
  font-size: 0.75rem;
  color: var(--muted);
  font-weight: 500;
}
.meta-list {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  font-size: 0.875rem;
}
.meta-list > div {
  display: flex;
  gap: 1rem;
  align-items: baseline;
}
.meta-list .label {
  width: 5.6rem;
  color: var(--muted);
  flex-shrink: 0;
  font-size: 0.8rem;
  font-weight: 500;
}

/* ---------- Contact ---------- */
.contact-section {
  background: color-mix(in srgb, var(--surface) 40%, transparent);
  border-top: 1px solid var(--border);
}
.contact-grid {
  display: grid;
  gap: 2.5rem;
  max-width: 1000px;
  margin: 0 auto;
}
@media (min-width: 1024px) {
  .contact-grid { grid-template-columns: 0.9fr 1.1fr; }
}

.contact-links { display: flex; flex-direction: column; gap: 0.7rem; }
.contact-link {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.1rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  color: var(--text);
  transition: all 0.25s var(--ease);
}
.contact-link:hover {
  border-color: rgba(245, 158, 11, 0.35);
  background: color-mix(in srgb, var(--surface) 85%, transparent);
  transform: translateX(4px);
}
.contact-link .icon {
  width: 44px; height: 44px;
  border-radius: 11px;
  background: rgba(245, 158, 11, 0.1);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.25s;
}
.contact-link:hover .icon { background: rgba(245, 158, 11, 0.18); }
.contact-link .icon svg { width: 20px; height: 20px; }
.contact-link strong { display: block; font-size: 0.9rem; font-weight: 600; }
.contact-link span { font-size: 0.8rem; color: var(--muted); }

.contact-form {
  padding: 1.75rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: color-mix(in srgb, var(--surface) 75%, transparent);
}
.form-row {
  display: grid;
  gap: 1rem;
  margin-bottom: 1rem;
}
@media (min-width: 640px) { .form-row { grid-template-columns: 1fr 1fr; } }
.form-group label {
  display: block;
  font-size: 0.75rem;
  font-weight: 550;
  color: var(--muted);
  margin-bottom: 0.4rem;
}
.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  border-radius: 11px;
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--text);
  font-size: 0.9rem;
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.form-group input:focus,
.form-group textarea:focus {
  border-color: rgba(245, 158, 11, 0.5);
  box-shadow: 0 0 0 3px var(--gold-glow);
}
.form-group textarea {
  resize: vertical;
  min-height: 120px;
}
.form-note {
  font-size: 0.75rem;
  color: var(--muted);
  margin-top: 0.85rem;
}
.form-note a { color: var(--gold); font-weight: 500; }
.form-note a:hover { text-decoration: underline; }

/* ---------- Footer ---------- */
.footer {
  border-top: 1px solid var(--border);
  padding: 2rem 1.25rem;
}
.footer-inner {
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  font-size: 0.8rem;
  color: var(--muted);
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.35rem;
}
.footer a {
  color: var(--muted);
  transition: color 0.2s;
}
.footer a:hover { color: var(--gold); }

/* ---------- Back to top ---------- */
.back-top {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  width: 46px; height: 46px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--muted);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: all 0.3s var(--ease);
  z-index: 30;
  box-shadow: var(--shadow-sm);
}
.back-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.back-top:hover {
  color: var(--gold);
  border-color: var(--gold);
  background: var(--gold-glow);
}
.back-top svg { width: 18px; height: 18px; }

/* ---------- Reveal animations ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.75s var(--ease), transform 0.75s var(--ease);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Utilities ---------- */
.hidden-sm { display: none; }
@media (min-width: 640px) { .hidden-sm { display: inline-flex; } }
.note {
  text-align: center;
  font-size: 0.75rem;
  color: var(--muted);
  margin-top: 2.5rem;
}

/* Focus visible for a11y */
:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}
button:focus:not(:focus-visible),
a:focus:not(:focus-visible) { outline: none; }

/* Mobile tweaks */
@media (max-width: 639px) {
  .hero { padding-top: calc(var(--nav-h) + 1.75rem); padding-bottom: 2.5rem; }
  section { padding: 4rem 1.15rem; }
  .hero h1 { font-size: clamp(1.9rem, 8vw, 2.4rem); }
  .btn { padding: 0.7rem 1.2rem; }
  .nav-inner { padding: 0 1rem; }
}
