/* ==========================================================================
   MOHAMMAD SHAHZEB IQBAL — LUXURY CINEMATIC PORTFOLIO
   Design System: Black (#000000) • Off-White (#F5F5F2) • Gold Accent (#D4AF37)
   Light & Dark Mode Adaptive Architecture
   ========================================================================== */

:root {
  /* Color System — Dark Mode (Default) */
  --color-black: #000000;
  --color-dark-bg: #050505;
  --color-surface-1: #09090b;
  --color-surface-2: #101014;
  --color-surface-3: #18181e;
  --color-border: #202026;
  --color-border-subtle: #141418;
  
  --color-offwhite: #F5F5F2;
  --color-text-muted: #9c9ca3;
  --color-text-subtle: #5e5e66;
  
  --color-gold: #D4AF37;
  --color-gold-light: #F5E8BA;
  --color-gold-bright: #e7bf45;
  --color-gold-dark: #8C6A20;
  --color-gold-glow: rgba(212, 175, 55, 0.22);
  --color-gold-glow-subtle: rgba(212, 175, 55, 0.08);

  /* Typography */
  --font-display: 'Syne', 'Space Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-heading: 'Space Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-serif: 'Cinzel', serif;

  /* Layout */
  --container-max: 1380px;
  --header-height: 84px;
  --radius-sm: 4px;
  --radius-md: 10px;
  --radius-lg: 18px;
  --radius-full: 9999px;

  /* Transitions */
  --ease-cinematic: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-smooth: cubic-bezier(0.25, 0.1, 0.25, 1);
  --transition-fast: 0.2s var(--ease-smooth);
  --transition-med: 0.4s var(--ease-cinematic);
  --transition-slow: 0.8s var(--ease-cinematic);
}


/* ==========================================================================
   Base & Reset
   ========================================================================== */

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  background-color: var(--color-black);
  color: var(--color-offwhite);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  max-width: 100%;
  width: 100%;
}

body {
  font-family: var(--font-body);
  background-color: var(--color-black);
  color: var(--color-offwhite);
  line-height: 1.65;
  overflow-x: clip;
  position: relative;
  min-height: 100vh;
  max-width: 100%;
  width: 100%;
}

img, picture, video, canvas, svg {
  max-width: 100%;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 6px;
}
::-webkit-scrollbar-track {
  background: var(--color-black);
}
::-webkit-scrollbar-thumb {
  background: #242429;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--color-gold-dark);
}

::selection {
  background: var(--color-gold);
  color: var(--color-black);
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* Film Grain Texture Overlay */
.grain-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 999;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

/* Ambient Radial Glow Elements */
.ambient-glow {
  position: absolute;
  pointer-events: none;
  border-radius: 50%;
  filter: blur(140px);
  z-index: 0;
  opacity: 0.35;
  max-width: 100%;
  overflow: hidden;
}

.ambient-gold-1 {
  width: 550px;
  height: 550px;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.16) 0%, rgba(0,0,0,0) 70%);
  top: 5%;
  right: -8%;
}

.ambient-gold-2 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(140, 106, 32, 0.14) 0%, rgba(0,0,0,0) 70%);
  top: 40%;
  left: -12%;
}

.ambient-gold-3 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.12) 0%, rgba(0,0,0,0) 70%);
  bottom: 10%;
  right: -6%;
}

/* ==========================================================================
   Custom Cursor (Desktop Only) — Hidden by Default to Prevent Top-Left Artifacts
   ========================================================================== */

.custom-cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 7px;
  height: 7px;
  background-color: var(--color-gold);
  border-radius: 50%;
  pointer-events: none;
  z-index: 10000;
  transform: translate(-50%, -50%);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease, width 0.25s ease, height 0.25s ease, background-color 0.25s ease;
  mix-blend-mode: difference;
}

.custom-cursor-follower {
  position: fixed;
  top: 0;
  left: 0;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(212, 175, 55, 0.45);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.08s ease-out, width 0.25s ease, height 0.25s ease, border-color 0.25s ease, background-color 0.25s ease;
}

body.cursor-active .custom-cursor,
body.cursor-active .custom-cursor-follower {
  opacity: 1;
  visibility: visible;
}

.cursor-hover .custom-cursor {
  width: 14px;
  height: 14px;
  background-color: var(--color-gold-light);
}

.cursor-hover .custom-cursor-follower {
  width: 56px;
  height: 56px;
  border-color: var(--color-gold);
  background-color: rgba(212, 175, 55, 0.08);
}

@media (hover: none), (pointer: coarse), (max-width: 1024px) {
  .custom-cursor, .custom-cursor-follower {
    display: none !important;
  }
}

/* ==========================================================================
   Preloader (Fail-safe with Guaranteed Fadeout)
   ========================================================================== */

#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: var(--color-black);
  z-index: 100000;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  overflow: hidden;
  transition: opacity 0.5s var(--ease-cinematic), transform 0.6s var(--ease-cinematic);
}

#preloader.dismissed {
  opacity: 0 !important;
  pointer-events: none !important;
  transform: translateY(-100%);
}

.preloader-content {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 680px;
  padding: 0 24px;
}

.preloader-logo {
  width: 90px;
  height: 90px;
  margin-bottom: 22px;
  opacity: 1;
  filter: drop-shadow(0 0 25px rgba(212, 175, 55, 0.45));
  animation: preloaderPulse 1.5s infinite alternate ease-in-out;
}

@keyframes preloaderPulse {
  0% { transform: scale(0.95); filter: drop-shadow(0 0 15px rgba(212, 175, 55, 0.3)); }
  100% { transform: scale(1.02); filter: drop-shadow(0 0 30px rgba(212, 175, 55, 0.6)); }
}

.preloader-line-wrap {
  width: 240px;
  height: 2px;
  background: rgba(255, 255, 255, 0.08);
  position: relative;
  overflow: hidden;
  margin-bottom: 24px;
  border-radius: 2px;
}

.preloader-line-fill {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--color-gold-dark), var(--color-gold), var(--color-gold-light));
  box-shadow: 0 0 10px var(--color-gold);
  animation: preloaderFill 1.1s ease-in-out forwards;
}

@keyframes preloaderFill {
  0% { width: 0%; }
  100% { width: 100%; }
}

.preloader-name {
  font-family: var(--font-heading);
  font-size: clamp(0.95rem, 3.5vw, 1.85rem);
  font-weight: 700;
  letter-spacing: clamp(0.08em, 1.5vw, 0.22em);
  color: var(--color-offwhite);
  text-transform: uppercase;
  margin-bottom: 8px;
  word-break: break-word;
  max-width: 100%;
}

.preloader-title {
  font-family: var(--font-body);
  font-size: clamp(0.65rem, 2vw, 0.78rem);
  letter-spacing: clamp(0.1em, 1.5vw, 0.28em);
  color: var(--color-gold);
  text-transform: uppercase;
  line-height: 1.4;
  max-width: 100%;
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  z-index: 1000;
  display: flex;
  align-items: center;
  transition: background-color var(--transition-med), backdrop-filter var(--transition-med), border-color var(--transition-med);
  border-bottom: 1px solid transparent;
}

.navbar.scrolled {
  background-color: rgba(4, 4, 5, 0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(212, 175, 55, 0.18);
}

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

.nav-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.nav-logo-mark {
  width: 42px;
  height: 42px;
  object-fit: contain;
  transition: transform var(--transition-fast), filter var(--transition-fast);
}

.nav-brand:hover .nav-logo-mark {
  transform: scale(1.06);
  filter: drop-shadow(0 0 14px rgba(212, 175, 55, 0.5));
}

.nav-brand-text {
  display: flex;
  flex-direction: column;
}

.nav-brand-name {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--color-offwhite);
  text-transform: uppercase;
}

.nav-brand-sub {
  font-size: 0.65rem;
  letter-spacing: 0.22em;
  color: var(--color-gold);
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}

.nav-link {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  position: relative;
  padding: 6px 0;
  transition: color var(--transition-fast);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 1px;
  background-color: var(--color-gold);
  transition: width var(--transition-fast);
}

.nav-link:hover,
.nav-link.active {
  color: var(--color-offwhite);
}

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

.nav-cta {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-heading);
  font-size: 0.70rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-gold);
  padding: 7px 16px;
  border: 1px solid rgba(212, 175, 55, 0.4);
  border-radius: var(--radius-full);
  background: rgba(212, 175, 55, 0.05);
  transition: all var(--transition-med);
}

.nav-cta:hover {
  background: var(--color-gold);
  color: var(--color-black);
  border-color: var(--color-gold);
  box-shadow: 0 0 16px rgba(212, 175, 55, 0.35);
  transform: translateY(-1px);
}

/* Mobile Hamburger Toggle */
.mobile-nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 44px;
  height: 44px;
  gap: 6px;
  z-index: 10001;
  background: transparent;
  border: none;
  cursor: pointer;
}

.mobile-nav-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background-color: var(--color-offwhite);
  transition: transform var(--transition-fast), background-color var(--transition-fast);
}

.mobile-nav-toggle.open span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
  background-color: var(--color-gold);
}

.mobile-nav-toggle.open span:nth-child(2) {
  opacity: 0;
}

.mobile-nav-toggle.open span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
  background-color: var(--color-gold);
}

/* Mobile Fullscreen Menu (Strictly hidden on desktop to prevent any spillover) */
.mobile-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(2, 2, 3, 0.98);
  backdrop-filter: blur(25px);
  z-index: 9999;
  display: none;
  flex-direction: column;
  justify-content: center;
  padding: 40px 32px;
  transform: translateY(-100%);
  transition: transform 0.5s var(--ease-cinematic), visibility 0.5s ease;
  visibility: hidden;
  pointer-events: none;
  overflow: hidden;
}

@media (max-width: 1024px) {
  .mobile-menu-overlay {
    display: flex;
  }
}

.mobile-menu-overlay.open {
  transform: translateY(0);
  visibility: visible;
  pointer-events: auto;
  overflow-y: auto;
}

.mobile-nav-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.mobile-nav-link {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-offwhite);
  display: flex;
  align-items: center;
  gap: 16px;
}

.mobile-nav-link .nav-num {
  font-size: 0.85rem;
  color: var(--color-gold);
  font-weight: 400;
}

/* ==========================================================================
   Continuous Marquee Ticker
   ========================================================================== */

.ticker-strip {
  overflow: hidden;
  white-space: nowrap;
  border-top: 1px solid var(--color-border-subtle);
  border-bottom: 1px solid var(--color-border-subtle);
  background-color: #030303;
  padding: 16px 0;
  position: relative;
  z-index: 2;
}

.ticker-track {
  display: inline-flex;
  gap: 32px;
  animation: tickerSlide 28s linear infinite;
}

.ticker-item {
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  display: inline-flex;
  align-items: center;
  gap: 20px;
}

.ticker-item::after {
  content: '✦';
  color: var(--color-gold);
  font-size: 0.65rem;
}

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

/* ==========================================================================
   Common Section Styles & Typography
   ========================================================================== */

section {
  position: relative;
  padding: 140px 0;
}

.section-container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 32px;
  position: relative;
  z-index: 1;
}

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

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  color: var(--color-gold);
  text-transform: uppercase;
  margin-bottom: 18px;
}

.section-tag::before {
  content: '';
  display: inline-block;
  width: 18px;
  height: 1px;
  background-color: var(--color-gold);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.85rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--color-offwhite);
  text-transform: uppercase;
  max-width: 960px;
}

.section-subtitle {
  font-size: 1.12rem;
  color: var(--color-text-muted);
  max-width: 680px;
  margin-top: 18px;
  line-height: 1.75;
  font-weight: 300;
}

/* Editorial Gold Accent Line */
.gold-divider {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(212, 175, 55, 0.35) 20%, rgba(212, 175, 55, 0.6) 50%, rgba(212, 175, 55, 0.35) 80%, transparent 100%);
  margin: 48px 0;
  opacity: 0.6;
}

/* ==========================================================================
   Hero Section — Cinematic & Proportionate
   ========================================================================== */

.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: calc(var(--header-height) + 30px);
  padding-bottom: 80px;
  position: relative;
  overflow: hidden;
  background-color: #000000;
}

/* Full-Bleed Cinematic Portrait Background */
.hero-backdrop {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}

.hero-backdrop-img {
  position: absolute;
  right: 4%;
  bottom: 0;
  height: 92%;
  max-height: 880px;
  width: auto;
  max-width: 55vw;
  object-fit: contain;
  object-position: right bottom;
  filter: contrast(1.08) brightness(1.02);
  will-change: transform;
  transform: translate3d(0, 0, 0);
  transition: opacity 0.8s ease-out;
}

.hero-backdrop-glow {
  position: absolute;
  top: 20%;
  right: 14%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.22) 0%, rgba(212, 175, 55, 0.05) 50%, transparent 70%);
  filter: blur(60px);
  pointer-events: none;
  z-index: 1;
}

.hero-backdrop-overlay {
  position: absolute;
  inset: 0;
  background: 
    linear-gradient(90deg, #000000 0%, rgba(0, 0, 0, 0.96) 28%, rgba(0, 0, 0, 0.6) 54%, rgba(0, 0, 0, 0.04) 75%, rgba(0, 0, 0, 0.15) 100%),
    linear-gradient(0deg, #000000 0%, rgba(0, 0, 0, 0.4) 14%, transparent 35%);
  pointer-events: none;
  z-index: 2;
}

/* Hero Foreground Content — Full-Width Edge-to-Edge Experience */
.hero-section .hero-container {
  max-width: 100% !important;
  width: 100%;
  padding: 0 clamp(28px, 6vw, 100px);
  margin: 0;
  position: relative;
  z-index: 3;
}

.hero-content {
  max-width: clamp(720px, 58vw, 1050px);
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 5;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: 24px;
}

.hero-badge-pulse {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--color-gold);
  box-shadow: 0 0 10px var(--color-gold);
  animation: pulseDot 2s infinite ease-in-out;
}

@keyframes pulseDot {
  0%, 100% { opacity: 0.4; transform: scale(0.9); }
  50% { opacity: 1; transform: scale(1.3); }
}

.hero-name {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5.0vw, 5.2rem);
  font-weight: 800;
  line-height: 0.96;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  color: var(--color-offwhite);
  margin-bottom: 28px;
}

.hero-name span {
  display: block;
  white-space: nowrap;
}

.hero-title-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  font-family: var(--font-heading);
  font-size: clamp(0.85rem, 1.8vw, 1.15rem);
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--color-gold);
  text-transform: uppercase;
  margin-bottom: 28px;
}

.hero-title-strip span.dot {
  display: inline-block;
  color: var(--color-gold-dark);
}

.hero-statement {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: var(--color-text-muted);
  max-width: 580px;
  line-height: 1.75;
  margin-bottom: 40px;
  font-weight: 300;
  border-left: 2px solid rgba(212, 175, 55, 0.4);
  padding-left: 20px;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  background: linear-gradient(135deg, var(--color-gold), #b38b25);
  color: var(--color-black);
  padding: 16px 36px;
  border-radius: var(--radius-full);
  box-shadow: 0 4px 22px rgba(212, 175, 55, 0.28);
  transition: all var(--transition-med);
  position: relative;
  overflow: hidden;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(212, 175, 55, 0.5);
  background: linear-gradient(135deg, var(--color-gold-bright), var(--color-gold));
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  background: transparent;
  color: var(--color-offwhite);
  padding: 16px 36px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(245, 245, 242, 0.25);
  transition: all var(--transition-med);
}

.btn-secondary:hover {
  border-color: var(--color-gold);
  color: var(--color-gold);
  background: rgba(212, 175, 55, 0.05);
  transform: translateY(-2px);
}

/* ==========================================================================
   01 — IDENTITY STATEMENT SECTION
   ========================================================================== */

.identity-section {
  padding: 160px 0;
  background-color: #030303;
  border-top: 1px solid var(--color-border-subtle);
  border-bottom: 1px solid var(--color-border-subtle);
  position: relative;
  overflow: hidden;
}

.identity-content {
  max-width: 1080px;
  margin: 0 auto;
}

.identity-quote {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.4vw, 2.75rem);
  font-weight: 700;
  line-height: 1.32;
  letter-spacing: -0.015em;
  text-transform: uppercase;
  color: var(--color-offwhite);
  margin-bottom: 32px;
  max-width: 960px;
}

.identity-quote span.gold-word {
  color: var(--color-gold);
  position: relative;
  display: inline-block;
}

.identity-subtext {
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
  line-height: 1.85;
  color: var(--color-text-muted);
  max-width: 920px;
  font-weight: 300;
}

/* ==========================================================================
   02 — ABOUT ME SECTION (Full-Body Portrait Clearly Visible)
   ========================================================================== */

.about-section {
  position: relative;
}

.about-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 72px;
  align-items: flex-start;
}

.about-portrait-wrapper {
  position: -webkit-sticky;
  position: sticky;
  top: 110px;
  align-self: flex-start;
  will-change: transform;
}

.about-portrait-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid rgba(212, 175, 55, 0.3);
  background-color: var(--color-surface-1);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.85);
  cursor: pointer;
  transition: border-color var(--transition-med), box-shadow var(--transition-med);
}

.about-portrait-card:hover {
  border-color: var(--color-gold);
  box-shadow: 0 30px 70px rgba(212, 175, 55, 0.2);
}

/* Full-body view: entire trousers, olive shirt & architectural setting visible */
.about-portrait-img {
  width: 100%;
  height: auto;
  aspect-ratio: 1084 / 1451;
  object-fit: cover;
  object-position: center center;
  display: block;
  filter: contrast(1.02);
  transition: transform 0.6s var(--ease-cinematic);
}

.about-portrait-card:hover .about-portrait-img {
  transform: scale(1.02);
}

.about-portrait-caption {
  padding: 16px 22px;
  background: var(--color-surface-1);
  border-top: 1px solid var(--color-border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.about-caption-name {
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--color-offwhite);
  text-transform: uppercase;
}

.about-caption-status {
  font-size: 0.72rem;
  color: var(--color-gold);
  letter-spacing: 0.1em;
}

.about-text-column {
  display: flex;
  flex-direction: column;
  gap: 56px;
}

.about-block-title {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  color: var(--color-gold);
  text-transform: uppercase;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.about-block-title::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--color-border);
}

.about-bio-text {
  font-size: 1.15rem;
  line-height: 1.85;
  color: var(--color-offwhite);
  font-weight: 300;
  margin-bottom: 18px;
}

.about-capabilities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 16px;
}

.capability-card {
  background-color: var(--color-surface-1);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 22px 24px;
  transition: all var(--transition-med);
  position: relative;
  overflow: hidden;
}

.capability-card:hover {
  border-color: rgba(212, 175, 55, 0.45);
  background-color: var(--color-surface-2);
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.capability-title {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-offwhite);
  margin-bottom: 8px;
  letter-spacing: 0.04em;
}

.capability-desc {
  font-size: 0.82rem;
  color: var(--color-text-muted);
  line-height: 1.5;
}

.about-quote-box {
  border-left: 2px solid var(--color-gold);
  padding: 24px 28px;
  background: rgba(212, 175, 55, 0.03);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.about-quote-text {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--color-offwhite);
  line-height: 1.5;
  margin-bottom: 10px;
}

.about-quote-author {
  font-size: 0.8rem;
  color: var(--color-gold);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* ==========================================================================
   03 — THE JOURNEY (Timeline)
   ========================================================================== */

.journey-section {
  background-color: #040404;
  border-top: 1px solid var(--color-border-subtle);
  border-bottom: 1px solid var(--color-border-subtle);
  position: relative;
}

.journey-timeline-container {
  position: relative;
  max-width: 960px;
  margin: 60px auto 0 auto;
  padding-left: 60px;
}

.journey-line-track {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 24px;
  width: 2px;
  background-color: #1a1a1f;
}

.journey-line-fill {
  position: absolute;
  top: 0;
  left: 24px;
  width: 2px;
  height: 0%;
  background: linear-gradient(180deg, var(--color-gold-dark), var(--color-gold), var(--color-gold-light));
  box-shadow: 0 0 14px var(--color-gold);
  transition: height 0.1s linear;
}

.journey-item {
  position: relative;
  margin-bottom: 56px;
}

.journey-item:last-child {
  margin-bottom: 0;
}

.journey-marker {
  position: absolute;
  left: -60px;
  top: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: var(--color-surface-1);
  border: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-text-muted);
  transition: all var(--transition-med);
  z-index: 2;
}

.journey-item.active .journey-marker,
.journey-item:hover .journey-marker {
  background-color: var(--color-black);
  border-color: var(--color-gold);
  color: var(--color-gold);
  box-shadow: 0 0 20px rgba(212, 175, 55, 0.45);
}

.journey-card {
  background-color: var(--color-surface-1);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 32px 36px;
  transition: all var(--transition-med);
}

.journey-item:hover .journey-card {
  border-color: rgba(212, 175, 55, 0.4);
  background-color: var(--color-surface-2);
  transform: translateX(6px);
}

.journey-badge {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--color-gold);
  text-transform: uppercase;
  margin-bottom: 12px;
}

.journey-title {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--color-offwhite);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 14px;
}

.journey-desc {
  font-size: 1rem;
  color: var(--color-text-muted);
  line-height: 1.7;
}

/* ==========================================================================
   04 — EXPERTISE SECTION
   ========================================================================== */

.expertise-section {
  position: relative;
}

.expertise-domains-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 64px;
}

.domain-pill {
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 14px 24px;
  background-color: var(--color-surface-1);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
  color: var(--color-offwhite);
  transition: all var(--transition-fast);
}

.domain-pill:hover {
  border-color: var(--color-gold);
  color: var(--color-gold);
  transform: translateY(-2px);
  box-shadow: 0 4px 18px rgba(212, 175, 55, 0.2);
}

.skills-matrix {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
}

.skill-row {
  background-color: var(--color-surface-1);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 24px 28px;
  transition: all var(--transition-med);
}

.skill-row:hover {
  border-color: rgba(212, 175, 55, 0.4);
  background-color: var(--color-surface-2);
}

.skill-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.skill-name {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--color-offwhite);
  letter-spacing: 0.04em;
}

.skill-level-badge {
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(212, 175, 55, 0.35);
  color: var(--color-gold);
  background: rgba(212, 175, 55, 0.06);
}

.skill-bar-track {
  width: 100%;
  height: 4px;
  background-color: #1a1a1f;
  border-radius: 2px;
  overflow: hidden;
  position: relative;
}

.skill-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--color-gold-dark), var(--color-gold));
  border-radius: 2px;
  width: 75%;
  transition: width 1.2s var(--ease-cinematic);
}

/* ==========================================================================
   05 — SELECTED WORK (Projects)
   ========================================================================== */

.work-section {
  background-color: #030303;
  border-top: 1px solid var(--color-border-subtle);
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  margin-top: 48px;
}

.project-card {
  background-color: var(--color-surface-1);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 440px;
  transition: all var(--transition-med);
  position: relative;
  overflow: hidden;
}

.project-card.featured {
  grid-column: span 2;
  min-height: 480px;
  background: linear-gradient(135deg, var(--color-surface-1) 0%, #0d0d12 100%);
  border-color: rgba(212, 175, 55, 0.3);
}

.project-card:hover {
  border-color: rgba(212, 175, 55, 0.55);
  transform: translateY(-5px);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.7);
}

.project-card-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 24px;
}

.project-num {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--color-gold);
}

.project-badge {
  font-family: var(--font-heading);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  border: 1px solid var(--color-border);
  padding: 4px 12px;
  border-radius: var(--radius-full);
}

.project-title {
  font-family: var(--font-heading);
  font-size: clamp(1.4rem, 2.5vw, 2.1rem);
  font-weight: 700;
  color: var(--color-offwhite);
  letter-spacing: -0.01em;
  margin-bottom: 12px;
}

.project-category {
  font-size: 0.85rem;
  color: var(--color-gold);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.project-desc {
  font-size: 1rem;
  color: var(--color-text-muted);
  line-height: 1.7;
  margin-bottom: 28px;
}

.project-meta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  padding: 20px 0;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  margin-bottom: 28px;
}

.project-meta-item .meta-label {
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-text-subtle);
  margin-bottom: 4px;
}

.project-meta-item .meta-value {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--color-offwhite);
}

.project-tech-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
}

.tech-tag {
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  color: var(--color-text-muted);
  background: var(--color-surface-2);
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-border-subtle);
}

.project-card-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
}

.project-link-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-gold);
  transition: all var(--transition-fast);
}

.project-link-btn:hover {
  color: var(--color-gold-light);
  transform: translateX(4px);
}

/* ==========================================================================
   06 — BUILDING BUSINESS SYSTEMS (AD's Digital Business Solutions)
   ========================================================================== */

.business-systems-section {
  position: relative;
  background-color: #020202;
  border-top: 1px solid var(--color-border-subtle);
  border-bottom: 1px solid var(--color-border-subtle);
}

.business-hero-card {
  background: linear-gradient(135deg, var(--color-surface-1) 0%, #0d0d12 100%);
  border: 1px solid rgba(212, 175, 55, 0.35);
  border-radius: var(--radius-lg);
  padding: 56px;
  margin-bottom: 64px;
  display: grid;
  grid-template-columns: 1fr 0.8fr;
  gap: 48px;
  align-items: center;
}

.business-brand-row {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 24px;
}

.business-logo {
  width: 72px;
  height: 72px;
  object-fit: contain;
  filter: drop-shadow(0 0 16px rgba(212, 175, 55, 0.3));
}

.business-title {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 700;
  color: var(--color-offwhite);
  line-height: 1.15;
}

.business-tagline {
  font-size: 1.25rem;
  color: var(--color-gold);
  line-height: 1.6;
  margin-bottom: 20px;
  font-weight: 400;
}

.business-desc {
  font-size: 1.05rem;
  color: var(--color-text-muted);
  line-height: 1.8;
  margin-bottom: 32px;
}

.business-core-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
  margin-bottom: 80px;
}

.core-area-card {
  background-color: var(--color-surface-1);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 24px 28px;
  transition: all var(--transition-med);
}

.core-area-card:hover {
  border-color: rgba(212, 175, 55, 0.45);
  background-color: var(--color-surface-2);
  transform: translateY(-2px);
}

.core-area-name {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--color-gold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.core-area-desc {
  font-size: 0.88rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* Dedicated Product Showcases */
.products-stack {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.product-showcase-card {
  background-color: var(--color-surface-1);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 48px;
  transition: all var(--transition-med);
}

.product-showcase-card:hover {
  border-color: rgba(212, 175, 55, 0.4);
}

.product-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 20px;
}

.product-title {
  font-family: var(--font-heading);
  font-size: clamp(1.4rem, 2.5vw, 1.85rem);
  font-weight: 700;
  color: var(--color-offwhite);
  letter-spacing: 0.02em;
}

.product-badge {
  font-family: var(--font-heading);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-gold);
  border: 1px solid rgba(212, 175, 55, 0.35);
  padding: 6px 14px;
  border-radius: var(--radius-full);
}

.product-desc {
  font-size: 1.05rem;
  color: var(--color-text-muted);
  line-height: 1.75;
  margin-bottom: 32px;
  max-width: 840px;
}

.product-capabilities-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
  list-style: none;
}

.product-capability-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.9rem;
  color: var(--color-offwhite);
}

.product-capability-item::before {
  content: '✦';
  color: var(--color-gold);
  font-size: 0.8rem;
}

/* ==========================================================================
   Web Development Progression & Creative AI Sections
   ========================================================================== */

.evolution-section {
  position: relative;
  background-color: var(--color-black);
}

.evolution-chain {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin: 48px 0;
  padding: 32px 0;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.evolution-node {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-offwhite);
  padding: 14px 22px;
  background-color: var(--color-surface-1);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
}

.evolution-node:hover {
  border-color: var(--color-gold);
  color: var(--color-gold);
}

.evolution-node.highlight {
  border-color: var(--color-gold);
  color: var(--color-gold);
  background: rgba(212, 175, 55, 0.06);
}

.evolution-arrow {
  color: var(--color-gold-dark);
  font-size: 1.2rem;
}

/* Creative AI Section */
.ai-creative-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  margin-top: 48px;
}

.ai-card {
  background-color: var(--color-surface-1);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 36px;
  transition: all var(--transition-med);
}

.ai-card:hover {
  border-color: rgba(212, 175, 55, 0.45);
  background-color: var(--color-surface-2);
  transform: translateY(-3px);
}

.ai-card-title {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--color-offwhite);
  letter-spacing: 0.02em;
  margin-bottom: 12px;
}

.ai-card-desc {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  line-height: 1.65;
}

/* ==========================================================================
   Beyond Work (Personal Humanizing Section)
   ========================================================================== */

.beyond-section {
  position: relative;
  background-color: #050505;
  border-top: 1px solid var(--color-border-subtle);
}

.beyond-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 64px;
  align-items: center;
}

.beyond-portrait-frame {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid rgba(212, 175, 55, 0.25);
  box-shadow: 0 16px 40px rgba(0,0,0,0.7);
  cursor: pointer;
  transition: border-color var(--transition-med);
}

.beyond-portrait-frame:hover {
  border-color: var(--color-gold);
}

.beyond-portrait-img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: center;
  display: block;
}

.beyond-themes {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 28px;
}

.beyond-pill {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-gold);
  border: 1px solid rgba(212, 175, 55, 0.3);
  padding: 6px 16px;
  border-radius: var(--radius-full);
}

.beyond-narrative {
  font-size: 1.15rem;
  line-height: 1.85;
  color: var(--color-offwhite);
  font-weight: 300;
  margin-bottom: 20px;
}

/* ==========================================================================
   07 — CONNECT & Final CTA Section
   ========================================================================== */

.connect-section {
  padding: 160px 0 100px 0;
  position: relative;
  background-color: var(--color-black);
}

.connect-cta-box {
  text-align: center;
  max-width: 900px;
  margin: 0 auto 100px auto;
}

.connect-headline {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6.5vw, 5.2rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  color: var(--color-offwhite);
  margin-bottom: 24px;
}

.connect-subtext {
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  color: var(--color-text-muted);
  max-width: 620px;
  margin: 0 auto 40px auto;
  line-height: 1.65;
}

.social-split-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  margin-top: 60px;
}

.social-card-group {
  background-color: var(--color-surface-1);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 40px;
}

.social-group-title {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.social-group-title::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--color-border);
}

.social-links-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.social-item-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  background-color: var(--color-surface-2);
  border: 1px solid var(--color-border-subtle);
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
}

.social-item-link:hover {
  border-color: var(--color-gold);
  background-color: var(--color-surface-3);
  transform: translateX(4px);
}

.social-item-platform {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-offwhite);
}

.social-item-handle {
  font-size: 0.8rem;
  color: var(--color-gold);
  letter-spacing: 0.05em;
}

/* ==========================================================================
   Photo Lightbox Modal (View high-res photos cleanly)
   ========================================================================== */

#photo-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  z-index: 100000;
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 24px;
}

#photo-modal.active {
  display: flex;
}

.modal-close-btn {
  position: absolute;
  top: 28px;
  right: 32px;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--color-gold);
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: 50%;
  transition: all var(--transition-fast);
}

.modal-close-btn:hover {
  background-color: var(--color-gold);
  color: var(--color-black);
  transform: rotate(90deg);
}

.modal-img {
  max-width: 90vw;
  max-height: 80vh;
  object-fit: contain;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(212, 175, 55, 0.3);
  box-shadow: 0 0 50px rgba(0, 0, 0, 0.9);
}

.modal-caption {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  letter-spacing: 0.14em;
  color: var(--color-offwhite);
  text-transform: uppercase;
  margin-top: 18px;
}

/* ==========================================================================
   Footer
   ========================================================================== */

.footer {
  border-top: 1px solid var(--color-border);
  background-color: #020202;
  padding: 80px 0 40px 0;
  position: relative;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 48px;
  align-items: flex-start;
  margin-bottom: 60px;
}

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

.footer-emblem {
  width: 56px;
  height: 56px;
  object-fit: contain;
}

.footer-name {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-offwhite);
}

.footer-titles {
  font-size: 0.82rem;
  letter-spacing: 0.2em;
  color: var(--color-gold);
  text-transform: uppercase;
}

.footer-contact-details {
  display: flex;
  flex-direction: column;
  gap: 12px;
  justify-content: flex-end;
  text-align: right;
}

.footer-email {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--color-offwhite);
  transition: color var(--transition-fast);
}

.footer-email:hover {
  color: var(--color-gold);
}

.footer-motto {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  letter-spacing: 0.28em;
  color: var(--color-text-muted);
  text-transform: uppercase;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 32px;
  border-top: 1px solid var(--color-border-subtle);
  font-size: 0.8rem;
  color: var(--color-text-subtle);
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */

@media (max-width: 1024px) {
  .hero-backdrop-img {
    height: 75%;
    max-height: 600px;
    right: -6%;
    opacity: 0.72;
  }

  .hero-backdrop-overlay {
    background: 
      linear-gradient(90deg, #000000 0%, rgba(0, 0, 0, 0.88) 45%, rgba(0, 0, 0, 0.35) 80%, transparent 100%),
      linear-gradient(0deg, #000000 0%, rgba(0, 0, 0, 0.5) 20%, transparent 40%);
  }

  .hero-content {
    max-width: 100%;
    position: relative;
    z-index: 5;
  }

  .hero-name {
    font-size: clamp(2rem, 5.6vw, 4.2rem);
  }

  .hero-name span {
    display: block;
    white-space: nowrap;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .about-portrait-wrapper {
    position: static;
  }

  .projects-grid {
    grid-template-columns: 1fr;
  }

  .project-card.featured {
    grid-column: span 1;
  }

  .business-hero-card {
    grid-template-columns: 1fr;
    padding: 40px;
  }

  .beyond-grid {
    grid-template-columns: 1fr;
  }

  .social-split-container {
    grid-template-columns: 1fr;
  }

  .footer-top {
    grid-template-columns: 1fr;
  }

  .footer-contact-details {
    text-align: left;
  }
}

@media (max-width: 768px) {
  :root {
    --header-height: 68px;
  }

  section {
    padding: 75px 0;
  }

  .section-container {
    padding: 0 20px;
  }

  .section-header {
    margin-bottom: 40px;
  }

  .section-tag {
    font-size: 0.7rem;
    letter-spacing: 0.18em;
    margin-bottom: 12px;
  }

  .section-title {
    font-size: clamp(1.65rem, 6.2vw, 2.5rem);
    line-height: 1.15;
    word-break: break-word;
    overflow-wrap: break-word;
  }

  .section-subtitle {
    font-size: clamp(0.92rem, 3.4vw, 1.05rem);
    line-height: 1.65;
    margin-top: 12px;
  }

  /* Ambient Glows */
  .ambient-glow {
    max-width: 80vw;
    max-height: 80vw;
    filter: blur(80px);
    opacity: 0.18;
  }
  .ambient-gold-1 {
    right: 0;
    width: 280px;
    height: 280px;
  }
  .ambient-gold-2 {
    left: 0;
    width: 280px;
    height: 280px;
  }
  .ambient-gold-3 {
    right: 0;
    width: 240px;
    height: 240px;
  }

  /* Navbar */
  .navbar-container {
    padding: 0 18px;
  }

  .nav-brand {
    gap: 12px;
    max-width: calc(100% - 50px);
    min-width: 0;
  }

  .nav-logo-mark {
    width: 36px;
    height: 36px;
    flex-shrink: 0;
  }

  .nav-brand-text {
    min-width: 0;
    flex: 1;
    overflow: hidden;
  }

  .nav-brand-name {
    font-size: clamp(0.75rem, 3.2vw, 0.88rem);
    letter-spacing: 0.08em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .nav-brand-sub {
    display: none;
  }

  .nav-links,
  .nav-cta {
    display: none;
  }

  .mobile-nav-toggle {
    display: flex;
    flex-shrink: 0;
    margin-left: auto;
    width: 42px;
    height: 42px;
  }

  .mobile-menu-overlay {
    padding: 85px 24px 36px 24px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    justify-content: flex-start;
  }

  .mobile-nav-links {
    gap: 18px;
  }

  .mobile-nav-link {
    font-size: clamp(1.2rem, 5vw, 1.65rem);
    padding: 6px 0;
  }

  /* Preloader */
  .preloader-logo {
    width: 72px;
    height: 72px;
    margin-bottom: 16px;
  }

  .preloader-line-wrap {
    width: 180px;
    margin-bottom: 18px;
  }

  /* Hero Section */
  .hero-section {
    min-height: 100svh;
    padding-top: calc(var(--header-height) + 16px);
    padding-bottom: 24px;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
  }

  .hero-backdrop-img {
    position: absolute;
    top: calc(var(--header-height) + 10px);
    right: -4%;
    bottom: auto;
    width: auto;
    max-width: 78vw;
    height: 52vh;
    max-height: 420px;
    object-fit: contain;
    object-position: right top;
    opacity: 0.88;
    filter: contrast(1.08) brightness(1.04);
  }

  .hero-backdrop-overlay {
    background: 
      linear-gradient(90deg, 
        #000000 0%, 
        rgba(0, 0, 0, 0.88) 38%, 
        rgba(0, 0, 0, 0.3) 72%, 
        transparent 100%
      ),
      linear-gradient(0deg, 
        #000000 0%, 
        rgba(0, 0, 0, 0.7) 20%, 
        transparent 45%
      );
  }

  .hero-container {
    padding-top: 0;
    margin-top: 0;
    position: relative;
    z-index: 5;
    width: 100%;
  }

  .hero-content {
    max-width: 100%;
    position: relative;
    z-index: 5;
  }

  .hero-badge {
    font-size: 0.65rem;
    letter-spacing: 0.14em;
    margin-bottom: 10px;
  }

  .hero-name {
    font-size: clamp(1.45rem, 6.2vw, 2.1rem);
    line-height: 1.04;
    letter-spacing: -0.02em;
    margin-bottom: 12px;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.95);
  }

  .hero-name span {
    display: block;
    white-space: nowrap;
  }

  .hero-title-strip {
    font-size: clamp(0.70rem, 2.8vw, 0.82rem);
    letter-spacing: 0.10em;
    gap: 6px;
    margin-bottom: 12px;
    line-height: 1.4;
  }

  .hero-statement {
    font-size: clamp(0.86rem, 3.2vw, 0.96rem);
    line-height: 1.55;
    padding-left: 12px;
    margin-bottom: 18px;
    max-width: 100%;
  }

  .hero-cta-group {
    flex-direction: row;
    width: 100%;
    gap: 10px;
  }

  .hero-cta-group .btn-primary,
  .hero-cta-group .btn-secondary {
    flex: 1;
    padding: 12px 14px;
    font-size: 0.72rem;
    letter-spacing: 0.1em;
    white-space: nowrap;
    justify-content: center;
    text-align: center;
  }

  /* Identity Section */
  .identity-section {
    padding: 75px 0;
  }

  .identity-quote {
    font-size: clamp(1.3rem, 4.8vw, 1.95rem);
    line-height: 1.35;
    margin-bottom: 18px;
    word-break: break-word;
  }

  .identity-subtext {
    font-size: clamp(0.92rem, 3.5vw, 1.05rem);
    line-height: 1.7;
  }

  /* About Me */
  .about-grid {
    gap: 36px;
  }

  .about-portrait-card {
    max-width: 380px;
    margin: 0 auto;
    width: 100%;
  }

  .about-portrait-caption {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding: 14px 18px;
  }

  .about-text-column {
    gap: 36px;
  }

  .about-bio-text {
    font-size: 1.02rem;
    line-height: 1.75;
  }

  .about-capabilities-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .capability-card {
    padding: 18px 18px;
  }

  .about-quote-box {
    padding: 18px 18px;
  }

  .about-quote-text {
    font-size: 1.1rem;
    line-height: 1.45;
  }

  /* Expertise / Skills */
  .expertise-domains-strip {
    gap: 8px;
    margin-bottom: 32px;
  }

  .domain-pill {
    font-size: 0.74rem;
    letter-spacing: 0.1em;
    padding: 10px 16px;
  }

  .skills-matrix {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .skill-row {
    padding: 18px 18px;
  }

  /* Journey Timeline */
  .journey-timeline-container {
    padding-left: 36px;
    margin-top: 36px;
  }

  .journey-marker {
    left: -36px;
    width: 30px;
    height: 30px;
    font-size: 0.68rem;
  }

  .journey-line-track,
  .journey-line-fill {
    left: 14px;
  }

  .journey-item {
    margin-bottom: 32px;
  }

  .journey-card {
    padding: 20px 18px;
  }

  .journey-title {
    font-size: 1.15rem;
    margin-bottom: 8px;
    line-height: 1.3;
  }

  .journey-desc {
    font-size: 0.88rem;
    line-height: 1.6;
  }

  /* Projects */
  .projects-grid {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-top: 32px;
  }

  .project-card,
  .project-card.featured {
    padding: 24px 18px;
    min-height: auto;
  }

  .project-title {
    font-size: clamp(1.25rem, 5vw, 1.65rem);
  }

  .project-desc {
    font-size: 0.92rem;
    line-height: 1.65;
    margin-bottom: 20px;
  }

  .project-meta-grid {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 14px 0;
    margin-bottom: 20px;
  }

  .project-card-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .project-link-btn {
    width: 100%;
  }

  /* Business Systems (AD's Digital Business Solutions) */
  .business-hero-card {
    grid-template-columns: 1fr;
    padding: 24px 18px;
    gap: 24px;
    margin-bottom: 36px;
  }

  .business-brand-row {
    gap: 14px;
    margin-bottom: 16px;
  }

  .business-logo {
    width: 52px;
    height: 52px;
  }

  .business-title {
    font-size: clamp(1.35rem, 5vw, 1.85rem);
    line-height: 1.2;
  }

  .business-tagline {
    font-size: 1.02rem;
    line-height: 1.5;
    margin-bottom: 14px;
  }

  .business-desc {
    font-size: 0.92rem;
    line-height: 1.65;
    margin-bottom: 22px;
  }

  .business-statement-card {
    padding: 22px 18px !important;
  }

  .business-core-grid {
    grid-template-columns: 1fr;
    gap: 14px;
    margin-bottom: 40px;
  }

  .core-area-card {
    padding: 18px 18px;
  }

  .product-showcase-card {
    padding: 24px 18px;
  }

  .product-header {
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
    margin-bottom: 14px;
  }

  .product-title {
    font-size: clamp(1.2rem, 4.5vw, 1.55rem);
  }

  .product-desc {
    font-size: 0.92rem;
    line-height: 1.65;
    margin-bottom: 22px;
  }

  .product-capabilities-list {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  /* Evolution & Creative AI */
  .evolution-chain {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    margin: 28px 0;
    padding: 20px 0;
  }

  .evolution-node {
    text-align: center;
    font-size: 0.85rem;
    padding: 12px 14px;
  }

  .evolution-arrow {
    text-align: center;
    transform: rotate(90deg);
    margin: 0 auto;
    display: block;
    font-size: 1rem;
  }

  .evolution-cards-grid {
    display: grid;
    grid-template-columns: 1fr !important;
    gap: 14px !important;
    margin-top: 24px !important;
  }

  .ai-creative-grid {
    grid-template-columns: 1fr;
    gap: 14px;
    margin-top: 28px;
  }

  .ai-card {
    padding: 22px 18px;
  }

  .ai-card-title {
    font-size: 1.1rem;
  }

  .ai-card-desc {
    font-size: 0.9rem;
  }

  /* Beyond Work */
  .beyond-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .beyond-portrait-frame {
    max-width: 320px;
    margin: 0 auto;
    width: 100%;
  }

  .beyond-narrative {
    font-size: 0.98rem;
    line-height: 1.7;
  }

  .beyond-themes {
    gap: 8px;
    margin-bottom: 20px;
  }

  .beyond-pill {
    font-size: 0.72rem;
    padding: 6px 12px;
  }

  /* Connect Section */
  .connect-section {
    padding: 70px 0 50px 0;
  }

  .connect-cta-box {
    margin: 0 auto 40px auto;
  }

  .connect-headline {
    font-size: clamp(1.75rem, 7.5vw, 2.75rem);
    line-height: 1.1;
    margin-bottom: 16px;
    word-break: break-word;
  }

  .connect-subtext {
    font-size: 0.98rem;
    line-height: 1.6;
    margin-bottom: 28px;
  }

  .connect-main-btn {
    padding: 16px 36px;
    font-size: 0.9rem;
  }

  .social-split-container {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 28px;
  }

  .social-card-group {
    padding: 22px 18px;
  }

  .social-item-link {
    padding: 12px 14px;
  }

  .social-item-platform {
    font-size: 0.88rem;
  }

  .social-item-handle {
    font-size: 0.75rem;
  }

  /* Lightbox Modal */
  #photo-modal {
    padding: 16px;
  }

  .modal-close-btn {
    top: 14px;
    right: 14px;
    width: 40px;
    height: 40px;
    font-size: 1.6rem;
  }

  .modal-img {
    max-width: 95vw;
    max-height: 72vh;
  }

  .modal-caption {
    font-size: 0.82rem;
    text-align: center;
    margin-top: 12px;
  }

  /* Footer */
  .footer {
    padding: 48px 0 24px 0;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-bottom: 28px;
  }

  .footer-contact-details {
    text-align: left;
    align-items: flex-start;
    gap: 8px;
  }

  .footer-email {
    font-size: clamp(0.92rem, 4.2vw, 1.1rem);
    word-break: break-all;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
    padding-top: 24px;
  }
}

@media (max-width: 480px) {
  :root {
    --header-height: 64px;
  }

  .section-container {
    padding: 0 16px;
  }

  .navbar-container {
    padding: 0 14px;
  }

  .nav-logo-mark {
    width: 32px;
    height: 32px;
  }

  .nav-brand-name {
    font-size: 0.78rem;
    letter-spacing: 0.06em;
  }

  .mobile-nav-toggle {
    width: 38px;
    height: 38px;
  }

  .hero-name {
    font-size: clamp(1.6rem, 7.2vw, 2.35rem);
    letter-spacing: -0.02em;
  }

  .hero-name span {
    white-space: nowrap;
  }

  .hero-cta-group {
    flex-direction: row;
    width: 100%;
    gap: 8px;
  }

  .hero-cta-group .btn-primary,
  .hero-cta-group .btn-secondary {
    flex: 1;
    width: auto;
    justify-content: center;
    text-align: center;
    padding: 12px 8px;
    font-size: 0.70rem;
    white-space: nowrap;
  }

  .connect-main-btn {
    width: 100%;
    justify-content: center;
    text-align: center;
    padding: 14px 20px;
  }

  .journey-timeline-container {
    padding-left: 32px;
  }

  .journey-marker {
    left: -32px;
    width: 26px;
    height: 26px;
    font-size: 0.65rem;
  }

  .journey-line-track,
  .journey-line-fill {
    left: 12px;
  }

  .journey-card {
    padding: 16px 14px;
  }

  .project-card,
  .project-card.featured,
  .business-hero-card,
  .product-showcase-card,
  .social-card-group {
    padding: 20px 16px;
  }

  .business-brand-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .business-brand-row .btn-primary {
    width: 100%;
    justify-content: center;
  }
/* ==========================================================================
   Premium Cinematic Scroll Animations System
   ========================================================================== */

/* Base Scroll Reveal Element */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1), 
              transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

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

/* Staggered Grids: Children cascade smoothly */
.reveal-stagger-parent > * {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1), 
              transform 0.75s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.4s ease,
              box-shadow 0.4s ease;
  will-change: opacity, transform;
}

.reveal-stagger-parent.revealed > *:nth-child(1) { transition-delay: 0.04s; opacity: 1; transform: translateY(0); }
.reveal-stagger-parent.revealed > *:nth-child(2) { transition-delay: 0.10s; opacity: 1; transform: translateY(0); }
.reveal-stagger-parent.revealed > *:nth-child(3) { transition-delay: 0.16s; opacity: 1; transform: translateY(0); }
.reveal-stagger-parent.revealed > *:nth-child(4) { transition-delay: 0.22s; opacity: 1; transform: translateY(0); }
.reveal-stagger-parent.revealed > *:nth-child(5) { transition-delay: 0.28s; opacity: 1; transform: translateY(0); }
.reveal-stagger-parent.revealed > *:nth-child(6) { transition-delay: 0.34s; opacity: 1; transform: translateY(0); }
.reveal-stagger-parent.revealed > *:nth-child(7) { transition-delay: 0.40s; opacity: 1; transform: translateY(0); }
.reveal-stagger-parent.revealed > *:nth-child(8) { transition-delay: 0.46s; opacity: 1; transform: translateY(0); }
.reveal-stagger-parent.revealed > *:nth-child(9) { transition-delay: 0.52s; opacity: 1; transform: translateY(0); }
.reveal-stagger-parent.revealed > *:nth-child(10) { transition-delay: 0.58s; opacity: 1; transform: translateY(0); }

/* Left & Right directional reveals */
.reveal-from-left {
  opacity: 0;
  transform: translateX(-36px);
  transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1), 
              transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal-from-left.revealed {
  opacity: 1;
  transform: translateX(0);
}

.reveal-from-right {
  opacity: 0;
  transform: translateX(36px);
  transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1), 
              transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal-from-right.revealed {
  opacity: 1;
  transform: translateX(0);
}

/* Gold Word subtle pulse on section reveal */
.revealed .gold-word {
  animation: goldShimmer 1.2s ease-out;
}

@keyframes goldShimmer {
  0% { text-shadow: 0 0 0 rgba(212, 175, 55, 0); }
  50% { text-shadow: 0 0 24px rgba(212, 175, 55, 0.6); }
  100% { text-shadow: 0 0 0 rgba(212, 175, 55, 0); }
}

/* ==========================================================================
   Reduced Motion Preferences
   ========================================================================== */

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

  #preloader {
    display: none !important;
  }
  
  .custom-cursor,
  .custom-cursor-follower {
    display: none !important;
  }
}
