/* ============================================================
   Prabind Budhathoki — Portfolio Stylesheet
   Premium · Personal · Dark-first with Light mode
   ============================================================ */

/* ── Base tokens ────────────────────────────────────────────── */
:root {
  /* Palette — dark (default) */
  --clr-bg:        #0d0c14;
  --clr-bg-2:      #13111e;
  --clr-bg-3:      #1a1828;
  --clr-border:    rgba(255,255,255,0.07);
  --clr-accent:    #F8A824;
  --clr-accent-2:  #fbb93c;
  --clr-accent-dim:rgba(248,168,36,0.10);
  --clr-accent-glow:rgba(248,168,36,0.22);
  --clr-heading:   #f2f0fc;
  --clr-text:      #b8c4d8;
  --clr-muted:     #55677e;
  --clr-tag-bg:    rgba(255,255,255,0.06);
  --clr-tag-text:  #8898b0;

  /* Spacing */
  --section-pad:   clamp(72px, 10vw, 120px);
  --radius:        10px;
  --radius-lg:     18px;
  --radius-xl:     26px;
  --radius-pill:   100px;

  /* Typography */
  --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;

  /* Motion */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --transition: 0.25s var(--ease-out);
}

/* ── Light mode overrides ────────────────────────────────────── */
html.light {
  --clr-bg:        #f4f3f8;
  --clr-bg-2:      #eceaf4;
  --clr-bg-3:      #e2e0ee;
  --clr-border:    rgba(0,0,0,0.08);
  --clr-accent:    #d4870a;
  --clr-accent-2:  #e69a1a;
  --clr-accent-dim:rgba(212,135,10,0.10);
  --clr-accent-glow:rgba(212,135,10,0.18);
  --clr-heading:   #100f1d;
  --clr-text:      #3d3a50;
  --clr-muted:     #7a7590;
  --clr-tag-bg:    rgba(0,0,0,0.05);
  --clr-tag-text:  #6a6580;
}

html.theme-transitioning,
html.theme-transitioning * {
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease !important;
}

/* ── Reset ───────────────────────────────────────────────────── */
*,*::before,*::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  background: var(--clr-bg);
  color: var(--clr-text);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  position: relative;
}

/* ── Subtle grain texture ────────────────────────────────────── */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.028;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  mix-blend-mode: screen;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, select, textarea { font-family: inherit; }
::selection { background: var(--clr-accent); color: #000; }

/* ── Scrollbar ───────────────────────────────────────────────── */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--clr-bg); }
::-webkit-scrollbar-thumb { background: rgba(248,168,36,0.25); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: rgba(248,168,36,0.45); }

/* ── Container ───────────────────────────────────────────────── */
.container {
  width: min(1200px, 100% - 48px);
  margin-inline: auto;
}

/* ── Section ─────────────────────────────────────────────────── */
.section {
  padding-block: var(--section-pad);
  position: relative;
}
.section--alt { background: var(--clr-bg-2); }

/* ── Accent ──────────────────────────────────────────────────── */
.accent, em { font-style: normal; color: var(--clr-accent); }

/* ── Section labels ──────────────────────────────────────────── */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--clr-accent);
  margin-bottom: 16px;
}
.section-label::before {
  content: '';
  display: block;
  width: 24px;
  height: 2px;
  background: var(--clr-accent);
  border-radius: 2px;
  flex-shrink: 0;
}

/* ── Section titles ──────────────────────────────────────────── */
.section-title {
  font-size: clamp(1.9rem, 4vw, 2.75rem);
  font-weight: 800;
  color: var(--clr-heading);
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--clr-muted);
  max-width: 560px;
  line-height: 1.75;
  margin-bottom: 48px;
}

/* ── Reveal animations ───────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}
.reveal.visible { 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; }

/* Page banners, compact headers, and hero are always immediately visible */
.page-banner .reveal,
.section--hero-compact .reveal,
.hero .reveal {
  opacity: 1 !important;
  transform: none !important;
}

/* ── Page loader ─────────────────────────────────────────────── */
.page-loader {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: var(--clr-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.15s ease, visibility 0.15s ease;
  pointer-events: none;
}
.page-loader.done {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.loader-logo-img {
  width: 60px;
  height: 60px;
  object-fit: contain;
  animation: pulse 1.4s ease-in-out infinite;
}
@keyframes pulse {
  0%,100% { transform: scale(1); opacity: 0.8; }
  50%      { transform: scale(1.08); opacity: 1; }
}

/* ══ HEADER / NAV ═══════════════════════════════════════════════ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(13, 12, 20, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease, padding 0.3s ease;
  padding: 14px 0;
}
.header.scrolled {
  background: rgba(13, 12, 20, 0.96);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
  padding: 10px 0;
}
html.light .header {
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}
html.light .header.scrolled {
  background: rgba(255, 255, 255, 0.98);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

/* ── 3-Column Navigation Grid ── */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: 100%;
}

/* ── Left: Brand & Availability Badge ── */
.nav-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.nav-logo-box {
  width: 38px;
  height: 38px;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: grid;
  place-items: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  flex-shrink: 0;
}
html.light .nav-logo-box {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.1);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}
.nav-logo-img {
  width: 26px;
  height: 26px;
  object-fit: contain;
}
.nav-logo-name {
  font-size: 0.98rem;
  font-weight: 800;
  color: var(--clr-heading);
  letter-spacing: -0.02em;
  white-space: nowrap;
}

/* ── Center: Segmented Navigation Capsule ── */
.nav-center {
  display: flex;
  align-items: center;
}
.nav-menu {
  display: flex;
  align-items: center;
  gap: 3px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: var(--radius-pill);
  padding: 4px 6px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}
html.light .nav-menu {
  background: rgba(0, 0, 0, 0.03);
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}
.nav-link {
  display: inline-flex;
  align-items: center;
  padding: 7px 16px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--clr-muted);
  border-radius: var(--radius-pill);
  transition: color 0.2s ease, background 0.2s ease;
  text-decoration: none;
  white-space: nowrap;
}
.nav-link:hover {
  color: var(--clr-heading);
  background: rgba(255, 255, 255, 0.06);
}
html.light .nav-link:hover {
  background: rgba(0, 0, 0, 0.05);
}
.nav-link.active {
  color: #000 !important;
  background: var(--clr-accent) !important;
  font-weight: 700;
  box-shadow: 0 4px 14px rgba(248, 168, 36, 0.35);
}
html.light .nav-link.active {
  color: #000 !important;
  background: #F8A824 !important;
}

/* ── Right: Controls & CTA Dock ── */
.nav-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Theme Toggle Button */
.theme-toggle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--clr-border);
  background: rgba(255, 255, 255, 0.04);
  display: grid;
  place-items: center;
  color: var(--clr-muted);
  cursor: pointer;
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
  flex-shrink: 0;
}
html.light .theme-toggle {
  background: rgba(0, 0, 0, 0.03);
  border-color: rgba(0, 0, 0, 0.1);
  color: #555;
}
.theme-toggle:hover {
  border-color: var(--clr-accent);
  color: var(--clr-accent);
  background: var(--clr-accent-dim);
}
.icon-sun { display: none; }
.icon-moon { display: block; }
html.light .icon-sun  { display: block; }
html.light .icon-moon { display: none; }

/* ── Admin Edit Pill Button ──────────────────────────────────── */
.admin-edit-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 15px;
  border-radius: var(--radius-pill);
  background: rgba(248, 168, 36, 0.15);
  border: 1.5px solid var(--clr-accent);
  color: var(--clr-accent);
  font-size: 0.8rem;
  font-weight: 800;
  text-decoration: none;
  transition: all 0.2s ease;
  box-shadow: 0 2px 10px rgba(248, 168, 36, 0.18);
  letter-spacing: -0.01em;
}
.admin-edit-pill:hover {
  background: var(--clr-accent) !important;
  color: #000000 !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(248, 168, 36, 0.38);
}
.admin-edit-pill svg {
  stroke: currentColor;
  flex-shrink: 0;
}
html.light .admin-edit-pill {
  background: rgba(248, 168, 36, 0.12);
  color: #d98200;
  border-color: #F8A824;
}
html.light .admin-edit-pill:hover {
  background: #F8A824 !important;
  color: #000000 !important;
}

/* ── Admin User Profile & Dropdown ───────────────────────────── */
.nav-admin-profile {
  position: relative;
  display: inline-flex;
  align-items: center;
}
.nav-admin-avatar-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--clr-accent-dim);
  border: 1.5px solid var(--clr-accent);
  padding: 4px 10px 4px 5px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  color: var(--clr-heading);
  transition: all 0.2s ease;
}
.nav-admin-avatar-btn:hover {
  background: var(--clr-accent);
  color: #000000;
}
.nav-admin-avatar-initial {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--clr-accent);
  color: #000000;
  font-weight: 900;
  font-size: 0.78rem;
  display: grid;
  place-items: center;
}
.nav-admin-avatar-img {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--clr-accent);
  display: block;
}
.nav-admin-avatar-btn:hover .nav-admin-avatar-initial {
  background: #000000;
  color: var(--clr-accent);
}
.nav-admin-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: 210px;
  background: var(--clr-bg-2);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-md);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.4);
  padding: 8px 0;
  z-index: 1000;
  flex-direction: column;
  animation: fadeInDown 0.2s ease;
}
html.light .nav-admin-dropdown {
  background: #ffffff;
  border-color: rgba(0, 0, 0, 0.1);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.12);
}
.nav-admin-dropdown.show {
  display: flex;
}
@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}
.nav-admin-dropdown-header {
  padding: 10px 16px;
  border-bottom: 1px solid var(--clr-border);
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.nav-admin-dropdown-header strong {
  font-size: 0.85rem;
  color: var(--clr-heading);
}
.nav-admin-dropdown-header span {
  font-size: 0.7rem;
  color: var(--clr-accent);
  font-weight: 700;
  text-transform: uppercase;
}
.nav-admin-dropdown-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 16px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--clr-heading);
  text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease;
}
.nav-admin-dropdown-item:hover {
  background: var(--clr-accent-dim);
  color: var(--clr-accent);
}
.nav-admin-dropdown-item svg {
  color: var(--clr-accent);
  flex-shrink: 0;
}
.nav-admin-dropdown-divider {
  height: 1px;
  background: var(--clr-border);
  margin: 6px 0;
}
.nav-admin-dropdown-item.nav-admin-logout {
  color: #ff5c5c;
}
.nav-admin-dropdown-item.nav-admin-logout svg {
  color: #ff5c5c;
}
.nav-admin-dropdown-item.nav-admin-logout:hover {
  background: rgba(255, 92, 92, 0.1);
  color: #ff5c5c;
}

/* ── Global Buttons ──────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 24px;
  border-radius: var(--radius-pill);
  font-size: 0.875rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  transition: all 0.2s ease;
  white-space: nowrap;
  cursor: pointer;
  border: none;
  text-decoration: none;
}
.btn-primary {
  background: var(--clr-accent) !important;
  color: #000000 !important;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 2px 10px rgba(248, 168, 36, 0.25);
}
.btn-primary * {
  color: #000000 !important;
  stroke: #000000 !important;
}
.btn-primary:hover {
  background: var(--clr-accent-2) !important;
  box-shadow: 0 4px 16px rgba(248, 168, 36, 0.38);
}
html.light .btn-primary {
  background: #F8A824 !important;
  color: #000000 !important;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 2px 8px rgba(248, 168, 36, 0.22);
}
.btn-outline {
  background: transparent;
  border: 1.5px solid var(--clr-border);
  color: var(--clr-text);
}
.btn-outline:hover {
  border-color: var(--clr-accent);
  color: var(--clr-accent);
}
.btn svg { flex-shrink: 0; transition: transform 0.2s ease; }
.btn:hover svg { transform: translateX(3px); }

/* Nav CTA Button */
.nav-cta {
  background: var(--clr-accent) !important;
  color: #000000 !important;
  padding: 8px 20px;
  font-size: 0.86rem;
  font-weight: 800;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 2px 10px rgba(248, 168, 36, 0.22);
  letter-spacing: -0.01em;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: background 0.2s ease, box-shadow 0.2s ease;
}
.nav-cta span {
  color: #000000 !important;
  font-weight: 800;
}
.nav-cta svg {
  color: #000000 !important;
  stroke: #000000 !important;
  transition: transform 0.2s ease;
}
.nav-cta:hover {
  background: var(--clr-accent-2) !important;
  box-shadow: 0 4px 14px rgba(248, 168, 36, 0.35);
  transform: none !important;
}
.nav-cta:hover svg {
  transform: translateX(3px);
}
html.light .nav-cta {
  background: #F8A824 !important;
  color: #000000 !important;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 2px 8px rgba(248, 168, 36, 0.2);
}

/* Hamburger */
.hamburger {
  width: 40px;
  height: 40px;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  border-radius: 9px;
  border: 1px solid var(--clr-border);
  background: rgba(255, 255, 255, 0.04);
  cursor: pointer;
  transition: var(--transition);
}
html.light .hamburger {
  background: rgba(0, 0, 0, 0.03);
  border-color: rgba(0, 0, 0, 0.1);
}
.hamburger span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--clr-heading);
  border-radius: 2px;
  transition: var(--transition);
}
.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav */
.mobile-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 990;
  background: rgba(13, 12, 20, 0.96);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease, transform 0.35s ease;
  transform: translateY(-10px);
}
html.light .mobile-nav {
  background: rgba(244, 243, 248, 0.98);
}
.mobile-nav.open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.mobile-nav-inner {
  width: 100%;
  max-width: 360px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.mobile-nav-status {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  color: #27ae60;
  font-weight: 700;
  padding: 8px 16px;
  background: rgba(46,204,113,0.1);
  border: 1px solid rgba(46,204,113,0.25);
  border-radius: var(--radius-pill);
  align-self: center;
}
.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-align: center;
}
.mobile-nav-links a {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--clr-heading);
  padding: 10px 16px;
  border-radius: var(--radius);
  transition: color 0.2s ease, background 0.2s ease;
}
.mobile-nav-links a:hover,
.mobile-nav-links a.active {
  color: var(--clr-accent);
  background: var(--clr-accent-dim);
}
.mobile-nav-footer {
  margin-top: 12px;
  border-top: 1px solid var(--clr-border);
  padding-top: 24px;
}

/* ══ HERO (Refined, Minimal, Editorial Personal Portfolio) ════ */
.hero {
  min-height: 92dvh;
  display: flex;
  align-items: center;
  padding-top: clamp(120px, 14vh, 160px);
  padding-bottom: clamp(60px, 8vh, 100px);
  overflow: hidden;
  position: relative;
  z-index: 1;
}

.hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

.hero .container {
  position: relative;
  z-index: 2;
}

/* Hero section is always immediately visible without delay */
.hero .reveal {
  opacity: 1 !important;
  transform: none !important;
}

/* Subtle ambient backdrop aura */
.hero::before {
  content: '';
  position: absolute;
  top: -12%;
  right: -8%;
  width: 55vw;
  height: 55vw;
  max-width: 750px;
  max-height: 750px;
  background: radial-gradient(ellipse at center, rgba(248, 168, 36, 0.07) 0%, transparent 65%);
  pointer-events: none;
  z-index: 0;
}

/* Hero 2-Column Balanced Grid */
.hero-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.95fr;
  gap: clamp(40px, 5vw, 72px);
  align-items: center;
  position: relative;
  z-index: 2;
}

/* Left: Editorial Typographic Copy */
.hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

/* Status / Availability Badge */
.hero-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--clr-muted);
  background: var(--clr-bg-2);
  border: 1px solid var(--clr-border);
  padding: 7px 16px;
  border-radius: var(--radius-pill);
  margin-bottom: 26px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}
html.light .hero-status-badge {
  background: #ffffff;
  border-color: rgba(0, 0, 0, 0.08);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.hero-live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 8px #22c55e;
  display: inline-block;
  animation: pulseBeacon 2s infinite;
}

/* Main Headline */
.hero-title {
  font-size: clamp(2.35rem, 4.8vw, 4.1rem);
  font-weight: 800;
  color: var(--clr-heading);
  line-height: 1.08;
  letter-spacing: -0.035em;
  margin-bottom: 22px;
}
.hero-title-accent {
  color: var(--clr-accent);
  display: inline-block;
  position: relative;
}

/* Supporting Paragraph */
.hero-summary {
  font-size: clamp(1rem, 1.15vw, 1.12rem);
  color: var(--clr-text);
  line-height: 1.78;
  max-width: 540px;
  margin-bottom: 34px;
  font-weight: 400;
}
.hero-summary strong {
  color: var(--clr-heading);
  font-weight: 600;
}

/* Action CTA Buttons */
.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 42px;
}
.hero-btn-main {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  font-weight: 700;
  font-size: 0.92rem;
  border-radius: var(--radius-pill);
  letter-spacing: 0.01em;
}
.hero-btn-sub {
  display: inline-flex;
  align-items: center;
  padding: 14px 26px;
  font-weight: 600;
  font-size: 0.92rem;
  border-radius: var(--radius-pill);
}

/* Discipline / Capabilities Highlights Bar */
.hero-capabilities {
  display: flex;
  align-items: center;
  gap: 20px;
  padding-top: 28px;
  border-top: 1px solid var(--clr-border);
  width: 100%;
  max-width: 580px;
  flex-wrap: wrap;
}
.hero-cap-item {
  display: flex;
  align-items: center;
  gap: 12px;
}
.hero-cap-num {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--clr-accent);
  opacity: 0.9;
}
.hero-cap-info strong {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--clr-heading);
  line-height: 1.25;
}
.hero-cap-info small {
  display: block;
  font-size: 0.72rem;
  color: var(--clr-muted);
  font-weight: 500;
}
.hero-cap-divider {
  width: 1px;
  height: 26px;
  background: var(--clr-border);
}

/* Right: Bespoke Identity Showcase Frame */
.hero-showcase {
  display: flex;
  justify-content: center;
  position: relative;
  width: 100%;
}

.hero-portrait-frame {
  position: relative;
  width: 100%;
  max-width: 410px;
  aspect-ratio: 4 / 4.8;
  border-radius: 24px;
  padding: 10px;
  background: var(--clr-bg-2);
  border: 1.5px solid rgba(248, 168, 36, 0.35);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(255, 255, 255, 0.04);
  transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.3s ease;
}
.hero-portrait-frame:hover {
  transform: translateY(-6px);
  border-color: var(--clr-accent);
  box-shadow: 0 28px 60px rgba(248, 168, 36, 0.22);
}
html.light .hero-portrait-frame {
  background: #ffffff;
  border-color: rgba(248, 168, 36, 0.4);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.08), 0 0 0 1px rgba(0, 0, 0, 0.04);
}
html.light .hero-portrait-frame:hover {
  box-shadow: 0 24px 54px rgba(248, 168, 36, 0.2);
}

.hero-portrait-media {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 16px;
  overflow: hidden;
  background: var(--clr-bg-3);
}
.hero-portrait-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}
.hero-portrait-frame:hover .hero-portrait-img {
  transform: scale(1.03);
}

.hero-portrait-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(13, 12, 20, 0.72) 0%, rgba(13, 12, 20, 0.1) 45%, transparent 100%);
  pointer-events: none;
}
html.light .hero-portrait-overlay {
  background: linear-gradient(to top, rgba(255, 255, 255, 0.8) 0%, rgba(255, 255, 255, 0.1) 45%, transparent 100%);
}

/* Floating Identity Pill */
.hero-identity-card {
  position: absolute;
  bottom: 22px;
  left: 22px;
  right: 22px;
  background: rgba(18, 18, 26, 0.88);
  border: 1px solid rgba(248, 168, 36, 0.35);
  border-radius: 14px;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.4);
}
html.light .hero-identity-card {
  background: rgba(255, 255, 255, 0.94);
  border-color: rgba(248, 168, 36, 0.4);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.hero-identity-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--clr-accent);
  color: #000000;
  font-weight: 900;
  font-size: 0.82rem;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.hero-identity-meta strong {
  display: block;
  font-size: 0.84rem;
  font-weight: 800;
  color: var(--clr-heading);
  line-height: 1.2;
}
.hero-identity-meta span {
  display: block;
  font-size: 0.7rem;
  color: var(--clr-muted);
  font-weight: 500;
}
.hero-identity-flag {
  font-size: 1.15rem;
  margin-left: auto;
  flex-shrink: 0;
}

/* Experience Badge */
.hero-exp-pill {
  position: absolute;
  top: 22px;
  right: 22px;
  background: rgba(18, 18, 26, 0.88);
  border: 1px solid rgba(248, 168, 36, 0.35);
  border-radius: var(--radius-pill);
  padding: 5px 12px;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--clr-heading);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
html.light .hero-exp-pill {
  background: rgba(255, 255, 255, 0.92);
  border-color: rgba(248, 168, 36, 0.4);
}
.hero-exp-star {
  color: var(--clr-accent);
  font-size: 0.78rem;
}

/* Responsive Media Queries */
@media (max-width: 960px) {
  .hero {
    padding-top: 110px;
    padding-bottom: 60px;
  }
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 48px;
    text-align: center;
  }
  .hero-content {
    align-items: center;
    text-align: center;
  }
  .hero-summary {
    margin-inline: auto;
  }
  .hero-actions {
    justify-content: center;
  }
  .hero-capabilities {
    justify-content: center;
    margin-inline: auto;
    gap: 16px;
  }
  .hero-portrait-frame {
    max-width: 360px;
    margin-inline: auto;
  }
}
@media (max-width: 580px) {
  .hero-cap-divider {
    display: none;
  }
  .hero-capabilities {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }
  .hero-actions {
    flex-direction: column;
    width: 100%;
  }
  .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }
}

.status-pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 8px #22c55e;
  display: inline-block;
  animation: pulseBeacon 2s infinite;
}
@keyframes pulseBeacon {
  0%, 100% { transform: scale(1); opacity: 1; box-shadow: 0 0 6px #22c55e; }
  50%      { transform: scale(1.3); opacity: 0.7; box-shadow: 0 0 14px #22c55e; }
}

/* ══ ABOUT ═══════════════════════════════════════════════════════ */
.about-inner {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 80px;
  align-items: center;
}

.about-visual {
  position: relative;
}

.about-img-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/5;
  background: var(--clr-bg-3);
  border: 1px solid var(--clr-border);
}

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

.about-img-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--clr-muted);
  font-size: 0.85rem;
  text-align: center;
  padding: 24px;
}
.about-img-placeholder .icon { font-size: 3rem; }

.about-corner-badge {
  position: absolute;
  bottom: -16px;
  left: -16px;
  background: var(--clr-accent);
  color: #000;
  font-size: 0.8rem;
  font-weight: 800;
  padding: 10px 18px;
  border-radius: var(--radius);
  letter-spacing: 0.02em;
}

.about-accent-box {
  position: absolute;
  top: -16px;
  right: -16px;
  background: var(--clr-bg-2);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-lg);
  padding: 20px;
  text-align: center;
  min-width: 90px;
}
.aab-num {
  font-size: 2rem;
  font-weight: 900;
  line-height: 1;
  margin-bottom: 4px;
}
.aab-label {
  font-size: 0.7rem;
  color: var(--clr-muted);
  font-weight: 600;
}

.about-text p {
  color: var(--clr-text);
  line-height: 1.85;
  margin-bottom: 16px;
}

.about-pillars {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-block: 28px;
}

.about-pillar {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--clr-text);
}
.dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--clr-accent);
  flex-shrink: 0;
}

/* ══ SERVICES ════════════════════════════════════════════════════ */
.services-header { text-align: center; max-width: 600px; margin-inline: auto; margin-bottom: 56px; }
.services-header .section-label { justify-content: center; }

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.service-card {
  background: var(--clr-bg-2);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  position: relative;
  overflow: hidden;
  transition: var(--transition);
  cursor: default;
}
.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(248,168,36,0.05) 0%, transparent 60%);
  opacity: 0;
  transition: var(--transition);
}
.service-card:hover { border-color: rgba(248,168,36,0.25); transform: translateY(-4px); }
.service-card:hover::before { opacity: 1; }

.service-num {
  font-size: 3.5rem;
  font-weight: 900;
  color: rgba(248,168,36,0.07);
  line-height: 1;
  margin-bottom: 12px;
  letter-spacing: -0.05em;
  font-family: var(--font-mono);
}

.service-icon {
  font-size: 1.8rem;
  margin-bottom: 14px;
}

.service-name {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--clr-heading);
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}

.service-desc {
  font-size: 0.875rem;
  color: var(--clr-muted);
  line-height: 1.7;
  margin-bottom: 18px;
}

.service-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.service-tag {
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--clr-tag-text);
  background: var(--clr-tag-bg);
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--clr-border);
  letter-spacing: 0.02em;
}

/* ══ SKILLS ══════════════════════════════════════════════════════ */
.skills-header { text-align: center; max-width: 600px; margin-inline: auto; margin-bottom: 56px; }
.skills-header .section-label { justify-content: center; }

.skills-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.skill-group {
  background: var(--clr-bg-2);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  transition: var(--transition);
}
.skill-group:hover { border-color: rgba(248,168,36,0.2); }

.skill-group-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
}
.skill-group-icon { font-size: 1.4rem; }
.skill-group-name {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--clr-heading);
}
.skill-tags { display: flex; flex-wrap: wrap; gap: 7px; }
.skill-tag {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--clr-tag-text);
  background: var(--clr-tag-bg);
  border: 1px solid var(--clr-border);
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  transition: var(--transition);
}
.skill-tag:hover { background: var(--clr-accent-dim); color: var(--clr-accent); border-color: rgba(248,168,36,0.3); }

/* ══ PROJECTS ════════════════════════════════════════════════════ */
.projects-header { margin-bottom: 32px; }

.filter-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  margin-block: 20px 40px;
}
.filter-btn {
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--clr-muted);
  border: 1.5px solid var(--clr-border);
  background: transparent;
  cursor: pointer;
  transition: var(--transition);
}
.filter-btn:hover,
.filter-btn.active {
  background: var(--clr-accent);
  border-color: var(--clr-accent);
  color: #000;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.project-card {
  background: var(--clr-bg-2);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}
.project-card:hover { border-color: rgba(248,168,36,0.2); transform: translateY(-4px); }
.project-card.hidden { display: none; }

.project-img {
  aspect-ratio: 16/9;
  width: 100%;
  background: var(--clr-bg-3);
  overflow: hidden;
  position: relative;
}

.project-card-image {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
  transition: transform 0.45s ease;
}

.project-card:hover .project-card-image {
  transform: scale(1.05);
}

.project-img-inner {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--clr-muted);
  font-size: 0.8rem;
}

.project-img-inner .icon {
  font-size: 2.5rem;
}

.project-image-fallback {
  background: var(--clr-bg-3);
}

.project-body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.project-cat {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--clr-accent);
  margin-bottom: 8px;
}
.project-name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--clr-heading);
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}
.project-desc {
  font-size: 0.85rem;
  color: var(--clr-muted);
  line-height: 1.7;
  margin-bottom: 16px;
  flex: 1;
}
.project-tech { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 16px; }
.tech-tag {
  font-size: 0.68rem;
  font-weight: 600;
  background: var(--clr-tag-bg);
  border: 1px solid var(--clr-border);
  color: var(--clr-tag-text);
  padding: 3px 10px;
  border-radius: var(--radius-pill);
}
.project-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--clr-accent);
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
}
.project-link svg {
  transition: transform 0.2s ease;
}
.project-link:hover {
  color: var(--clr-accent-2);
  gap: 8px;
}
.project-link:hover svg {
  transform: translateX(4px);
}

/* ══ GALLERY ════════════════════════════════════════════════════ */
.gallery-header { text-align: center; margin-bottom: 24px; }
.gallery-filter {
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: start;
}
@media (max-width: 900px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .gallery-grid { grid-template-columns: 1fr; }
}

.gallery-item {
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  background: var(--clr-bg-2);
  border: 1px solid var(--clr-border);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  display: flex;
  flex-direction: column;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
}
.gallery-item:hover {
  transform: translateY(-4px);
  border-color: var(--clr-accent);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.12);
}
html.light .gallery-item {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
}
html.light .gallery-item:hover {
  border-color: #F8A824;
  box-shadow: 0 10px 24px rgba(248, 168, 36, 0.18);
}
.gallery-item.hidden { display: none !important; }

.gallery-media {
  width: 100%;
  overflow: hidden;
  display: block;
  position: relative;
  background: transparent;
}
.gallery-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  transition: transform 0.35s ease;
}
.gallery-item:hover .gallery-img {
  transform: scale(1.03);
}

.gallery-placeholder {
  width: 100%;
  min-height: 200px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: var(--clr-bg-3);
  color: var(--clr-muted);
  padding: 32px 20px;
}
html.light .gallery-placeholder {
  background: #f4f5f8;
}
.gallery-icon-box {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--clr-accent-dim);
  border: 1px solid rgba(248, 168, 36, 0.25);
  display: grid;
  place-items: center;
  color: var(--clr-accent);
}
.gallery-placeholder-text {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--clr-heading);
  text-align: center;
  padding: 0 16px;
}

.gallery-caption {
  padding: 14px 18px;
  background: var(--clr-bg-2);
  border-top: 1px solid var(--clr-border);
  display: flex;
  flex-direction: column;
  gap: 4px;
}
html.light .gallery-caption {
  background: #ffffff;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}
.gallery-cat {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--clr-accent);
  font-weight: 800;
}
.gallery-title {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--clr-heading);
  margin: 0;
  line-height: 1.35;
}
html.light .gallery-title {
  color: #0f172a;
}

/* ══ PROCESS ═════════════════════════════════════════════════════ */
.process-header { text-align: center; max-width: 600px; margin-inline: auto; margin-bottom: 56px; }
.process-header .section-label { justify-content: center; }

.process-track {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  position: relative;
}
.process-track::before {
  content: '';
  position: absolute;
  top: 20px;
  left: 10%;
  right: 10%;
  height: 1.5px;
  background: linear-gradient(90deg, transparent, var(--clr-accent), transparent);
  opacity: 0.3;
}

.process-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 12px;
  position: relative;
}
.process-dot {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--clr-bg-2);
  border: 2px solid var(--clr-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}
.process-dot-inner {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--clr-accent);
}
.process-content { flex: 1; }
.process-num {
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--clr-accent);
  letter-spacing: 0.1em;
  margin-bottom: 6px;
  font-family: var(--font-mono);
}
.process-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--clr-heading);
  margin-bottom: 8px;
}
.process-desc {
  font-size: 0.8rem;
  color: var(--clr-muted);
  line-height: 1.6;
}

/* ══ WHY WORK WITH ME ════════════════════════════════════════════ */
.why-header { text-align: center; margin-bottom: 48px; }
.why-header .section-label { justify-content: center; }

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.why-card {
  background: var(--clr-bg-2);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  transition: var(--transition);
}
.why-card:hover { border-color: rgba(248,168,36,0.2); transform: translateY(-3px); }
.why-icon { font-size: 1.8rem; margin-bottom: 14px; }
.why-title { font-size: 0.95rem; font-weight: 700; color: var(--clr-heading); margin-bottom: 10px; }
.why-desc { font-size: 0.85rem; color: var(--clr-muted); line-height: 1.7; }

/* ══ CONTACT ═════════════════════════════════════════════════════ */
.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  align-items: start;
}

.contact-info-title {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  color: var(--clr-heading);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.contact-info-desc {
  font-size: 0.95rem;
  color: var(--clr-muted);
  line-height: 1.75;
  margin-bottom: 32px;
}

.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 20px;
}
.contact-detail-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius);
  background: var(--clr-accent-dim);
  display: grid;
  place-items: center;
  font-size: 1.2rem;
  flex-shrink: 0;
  border: 1px solid rgba(248,168,36,0.15);
}
.contact-detail-label {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--clr-muted);
  margin-bottom: 3px;
}
.contact-detail-value {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--clr-heading);
}

/* ── Contact Form ─────────────────────────────────────────────── */
.contact-form {
  background: var(--clr-bg-2);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-xl);
  padding: 40px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.form-label {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--clr-text);
  letter-spacing: 0.02em;
}
.form-control {
  width: 100%;
  background: rgba(255,255,255,0.04);
  border: 1.5px solid var(--clr-border);
  border-radius: var(--radius);
  padding: 12px 16px;
  font-size: 0.9rem;
  color: var(--clr-heading);
  outline: none;
  transition: var(--transition);
  box-sizing: border-box;
  font-family: inherit;
}
html.light .form-control { background: rgba(0,0,0,0.03); }
.form-control:focus {
  border-color: var(--clr-accent);
  background: var(--clr-accent-dim);
  box-shadow: 0 0 0 3px var(--clr-accent-glow);
}
.form-control::placeholder { color: var(--clr-muted); }
textarea.form-control { resize: vertical; min-height: 130px; }

/* ── Select Dropdown with Brand Golden Theme ────────────────── */
select.form-control {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23F8A824' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 42px;
  cursor: pointer;
  accent-color: var(--clr-accent);
}

select.form-control option {
  background: var(--clr-bg-2);
  color: var(--clr-heading);
  padding: 12px 16px;
  font-size: 0.9rem;
}
html.light select.form-control option {
  background: #ffffff;
  color: #0f172a;
}
select.form-control option:checked,
select.form-control option:hover {
  background-color: var(--clr-accent) !important;
  color: #000000 !important;
}

.form-submit { width: 100%; justify-content: center; padding: 14px; font-size: 0.95rem; border-radius: var(--radius); margin-top: 4px; }
.form-status {
  margin-top: 14px;
  padding: 13px 18px;
  border-radius: var(--radius);
  font-size: 0.875rem;
  display: none;
  line-height: 1.5;
}
.form-status.success {
  display: block;
  background: rgba(46,204,113,0.1);
  border: 1px solid rgba(46,204,113,0.3);
  color: #2ecc71;
}
.form-status.error {
  display: block;
  background: rgba(255,92,92,0.1);
  border: 1px solid rgba(255,92,92,0.3);
  color: #ff6b6b;
}

/* ══ FOOTER ══════════════════════════════════════════════════════ */
.footer {
  background: var(--clr-bg);
  border-top: 1px solid var(--clr-border);
  padding-block: 64px 32px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 48px;
  align-items: start;
}

.footer-brand-name {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--clr-heading);
}
.footer-brand-tagline {
  font-size: 0.72rem;
  color: var(--clr-accent);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-block: 8px;
}
.footer-brand-desc {
  font-size: 0.85rem;
  color: var(--clr-muted);
  line-height: 1.75;
  margin-bottom: 24px;
  max-width: 280px;
}

.footer-col-title {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--clr-muted);
  margin-bottom: 18px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-links a {
  font-size: 0.9rem;
  color: var(--clr-muted);
  transition: var(--transition);
}
.footer-links a:hover { color: var(--clr-accent); }

select.form-control,
select {
  background-color: var(--clr-bg-2) !important;
  color: var(--clr-heading) !important;
  cursor: pointer;
}
select.form-control option,
select option {
  background-color: #12101c !important;
  color: #f0edf6 !important;
  padding: 10px;
}
html.light select.form-control,
html.light select {
  background-color: #ffffff !important;
  color: #0f172a !important;
}
html.light select.form-control option,
html.light select option {
  background-color: #ffffff !important;
  color: #0f172a !important;
}

.footer-socials { display: flex; gap: 10px; flex-wrap: wrap; }
.footer-social {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--clr-bg-2);
  border: 1px solid var(--clr-border);
  display: inline-grid;
  place-items: center;
  color: var(--clr-muted);
  transition: all 0.2s ease;
  text-decoration: none;
}
.footer-social svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  transition: transform 0.2s ease, stroke 0.2s ease;
}
.footer-social:hover {
  background: var(--clr-accent) !important;
  border-color: var(--clr-accent) !important;
  color: #000000 !important;
  box-shadow: 0 4px 14px rgba(248, 168, 36, 0.35);
  transform: translateY(-2px);
}
.footer-social:hover svg {
  stroke: #000000 !important;
  transform: scale(1.1);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 24px;
  border-top: 1px solid var(--clr-border);
  flex-wrap: wrap;
}
.footer-copy {
  font-size: 0.82rem;
  color: var(--clr-muted);
}

/* ══ SCROLL TO TOP ════════════════════════════════════════════════ */
.scroll-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 44px;
  height: 44px;
  border-radius: var(--radius);
  background: var(--clr-accent);
  color: #000;
  display: grid;
  place-items: center;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: var(--transition);
  z-index: 500;
  border: none;
  cursor: pointer;
}
.scroll-top.visible { opacity: 1; pointer-events: all; transform: translateY(0); }
.scroll-top:hover { background: var(--clr-accent-2); }

/* ══ PAGE BANNER (inner pages) ════════════════════════════════════ */
.page-banner {
  padding-block: 148px 64px;
  background: var(--clr-bg);
  position: relative;
  overflow: hidden;
}
.page-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 80% 50%, rgba(248,168,36,0.07) 0%, transparent 60%);
  pointer-events: none;
}
.page-banner-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  color: var(--clr-muted);
  margin-bottom: 20px;
}
.page-banner-breadcrumb a { color: var(--clr-muted); transition: var(--transition); }
.page-banner-breadcrumb a:hover { color: var(--clr-accent); }
.page-banner-breadcrumb span { color: var(--clr-accent); }
.page-banner-title {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 900;
  color: var(--clr-heading);
  line-height: 1.1;
  letter-spacing: -0.04em;
  margin-bottom: 16px;
}
.page-banner-desc {
  font-size: 1.05rem;
  color: var(--clr-muted);
  max-width: 560px;
  line-height: 1.75;
}

/* ══ HOMEPAGE PREVIEW SECTIONS ════════════════════════════════════ */
.preview-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}
.preview-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--clr-accent);
  transition: var(--transition);
  white-space: nowrap;
}
.preview-link:hover { gap: 10px; }

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

/* ══ CTA BLOCK ════════════════════════════════════════════════════ */
.cta-block {
  text-align: center;
  padding: 80px 40px;
  background: linear-gradient(135deg, var(--clr-bg-2), var(--clr-bg-3));
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-xl);
  position: relative;
  overflow: hidden;
}
.cta-block::before {
  content: '';
  position: absolute;
  top: -40%;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 300px;
  background: radial-gradient(ellipse, rgba(248,168,36,0.08) 0%, transparent 65%);
  pointer-events: none;
}
.cta-block-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 900;
  color: var(--clr-heading);
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 16px;
}
.cta-block-desc {
  font-size: 1rem;
  color: var(--clr-muted);
  max-width: 480px;
  margin-inline: auto;
  line-height: 1.75;
  margin-bottom: 36px;
}
.cta-block-btns {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* ══ RESPONSIVE ═══════════════════════════════════════════════════ */
@media (max-width: 1100px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .skills-grid   { grid-template-columns: repeat(2, 1fr); }
  .process-track { grid-template-columns: 1fr; gap: 28px; }
  .process-track::before { display: none; }
}

@media (max-width: 960px) {
  .nav-center         { display: none; }
  .hamburger          { display: flex; }
  .hero-inner         { grid-template-columns: 1fr; text-align: center; }
  .hero-copy          { order: 2; }
  .hero-visual        { order: 1; }
  .hero-pills         { justify-content: center; }
  .hero-btns          { justify-content: center; }
  .hero-scroll        { justify-content: center; }
  .hero-desc          { margin-inline: auto; }
  .hero-visual-inner  { width: 280px; height: 280px; }
  .hero-logo-large    { width: 130px; height: 130px; }
  .about-inner        { grid-template-columns: 1fr; gap: 40px; }
  .contact-inner      { grid-template-columns: 1fr; gap: 48px; }
  .footer-inner       { grid-template-columns: 1fr 1fr; }
  .why-grid           { grid-template-columns: repeat(2, 1fr); }
  .about-preview-inner{ grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 768px) {
  :root { --section-pad: 64px; }
  .nav-status-pill { display: none; }
  .nav-cta { display: none; }
  .services-grid { grid-template-columns: 1fr; }
  .skills-grid   { grid-template-columns: 1fr; }
  .projects-grid { grid-template-columns: 1fr; }
  .gallery-grid  { grid-template-columns: repeat(2, 1fr); }
  .why-grid      { grid-template-columns: 1fr; }
  .form-row      { grid-template-columns: 1fr; }
  .footer-inner  { grid-template-columns: 1fr; gap: 32px; }
  .contact-form  { padding: 28px 20px; }
  .cta-block     { padding: 48px 24px; }
}

@media (max-width: 480px) {
  .container { width: calc(100% - 32px); }
  .hero-name { font-size: 2.5rem; }
  .nav-logo-name { font-size: 0.88rem; }
  .gallery-grid { grid-template-columns: 1fr; }
  .btn { padding: 10px 20px; }
}

/* ══ ADVANCED MOTION GRAPHICS & ANIMATIONS ════════════════════════ */

/* ── 1. Hero Motion Canvas ── */
.hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  opacity: 0.85;
}
.hero .container {
  position: relative;
  z-index: 1;
}

/* ── 2. Ambient Cursor Spotlight ── */
.cursor-spotlight {
  position: fixed;
  top: 0;
  left: 0;
  width: 450px;
  height: 450px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  background: radial-gradient(circle, rgba(248, 168, 36, 0.065) 0%, rgba(248, 168, 36, 0.015) 45%, transparent 70%);
  transform: translate(-50%, -50%);
  transition: opacity 0.4s ease;
  opacity: 0;
  mix-blend-mode: screen;
}
body:hover .cursor-spotlight {
  opacity: 1;
}
html.light .cursor-spotlight {
  background: radial-gradient(circle, rgba(212, 135, 10, 0.05) 0%, transparent 65%);
}
@media (hover: none) or (pointer: coarse) {
  .cursor-spotlight { display: none; }
}

/* ── 3. Animated Text Gradient Shimmer ── */
.hero-name-accent,
.page-banner-title em,
.cta-block-title em {
  background: linear-gradient(135deg, var(--clr-accent) 0%, #fff0c7 40%, var(--clr-accent) 80%);
  background-size: 250% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: textShimmer 6s linear infinite;
  display: inline-block;
}
html.light .hero-name-accent,
html.light .page-banner-title em,
html.light .cta-block-title em {
  background: linear-gradient(135deg, var(--clr-accent) 0%, #7d4900 45%, var(--clr-accent) 90%);
  background-size: 250% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
@keyframes textShimmer {
  to { background-position: 250% center; }
}

/* ── 4. Interactive 3D Card Tilt & Glare ── */
.card-tilt {
  transform-style: preserve-3d;
  perspective: 1000px;
  will-change: transform;
  position: relative;
  transition: transform 0.2s cubic-bezier(0.2, 0.8, 0.4, 1), border-color 0.3s ease, box-shadow 0.3s ease;
}
.card-tilt::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(
    circle 240px at var(--mouse-x, 50%) var(--mouse-y, 50%),
    rgba(248, 168, 36, 0.12),
    transparent 80%
  );
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  z-index: 2;
}
.card-tilt:hover::after {
  opacity: 1;
}

/* ── 5. Border Beam Animated Glow ── */
.border-beam {
  position: relative;
  overflow: hidden;
}
.border-beam::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: conic-gradient(
    transparent,
    rgba(248, 168, 36, 0.25),
    transparent 35%
  );
  animation: rotateBeam 8s linear infinite;
  pointer-events: none;
  z-index: 0;
}
@keyframes rotateBeam {
  100% { transform: rotate(1turn); }
}

/* ── 6. Magnetic Element Class ── */
.magnetic {
  display: inline-flex;
  transition: transform 0.25s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: transform;
}

/* ── 7. Count-Up Stat Numbers ── */
.count-up {
  display: inline-block;
  font-variant-numeric: tabular-nums;
}
